Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EtcdClusterCR ¶
type EtcdClusterCR interface { RESTClient() *rest.RESTClient // Create creates an etcd cluster CR with the desired CR Create(ctx context.Context, cl *api.EtcdCluster) (*api.EtcdCluster, error) // Get returns the specified etcd cluster CR Get(ctx context.Context, namespace, name string) (*api.EtcdCluster, error) // Delete deletes the specified etcd cluster CR Delete(ctx context.Context, namespace, name string) error // Update updates the etcd cluster CR. Update(ctx context.Context, etcdCluster *api.EtcdCluster) (*api.EtcdCluster, error) }
func MustNewCRInCluster ¶
func MustNewCRInCluster() EtcdClusterCR
func NewCRClient ¶
func NewCRClient(cfg *rest.Config) (EtcdClusterCR, error)
Click to show internal directories.
Click to hide internal directories.