그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그 그

  less than a minute  

Using Druid Golang Client

Etcd Druid provides a generated typed Golang client which can be used to invoke CRUD operations on Etcd and EtcdCopyBackupsTask custom resources.

A simple example is provided to demonstrate how an Etcd resource can be created using client package.

To run the example ensure that you have the following setup:

  • Follow the Getting Started Guide to set up a KIND cluster and deploy etcd-druid operator.

  • Run the example:

    go run examples/client/main.go
    

You should see the following output:

INFO Successfully created Etcd cluster Etcd=default/etcd-test

You can further list the resources that are created for an Etcd cluster. See this document for information on all resources created for an Etcd cluster.