experimental

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 11, 2017 License: Apache-2.0 Imports: 9 Imported by: 0

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

func NewOperator(namespace string) (Operator, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL