Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Operator ¶
type Operator interface { // Create creates an etcd cluster. Create(ctx context.Context, name string, spec spec.ClusterSpec) error // Delete deletes the etcd cluster. Delete(ctx context.Context, name string) error // Update updates the etcd cluster with the given spec. Update(ctx context.Context, name string, spec spec.ClusterSpec) error // Get gets the etcd cluster information. Get(ctx context.Context, name string) (*spec.EtcdCluster, error) // List lists all etcd clusters. List(ctx context.Context) (*spec.EtcdClusterList, error) }
NOTE: This is experimental client. We will likely change it in the future Operator operates etcd clusters atop Kubernetes.
func NewOperator ¶
Click to show internal directories.
Click to hide internal directories.