Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EtcdClusterCR ¶
type EtcdClusterCR interface { // Create creates an etcd cluster CR with the desired CR Create(ctx context.Context, cl *spec.EtcdCluster) (*spec.EtcdCluster, error) // Get returns the specified etcd cluster CR Get(ctx context.Context, namespace, name string) (*spec.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 *spec.EtcdCluster) (*spec.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.