Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { Create(ctx context.Context, object Object) error CreateWithReference(ctx context.Context, parent Object, object Object) error Update(ctx context.Context, object Object) error Get(ctx context.Context, key ctrlclient.ObjectKey, object Object) error ListByLabel(ctx context.Context, namespace string, labels map[string]string, object ctrlclient.ObjectList) error DeleteAllBySelector(ctx context.Context, resourceType Object, namespace string, selector apilabels.Selector) error Delete(ctx context.Context, resourceType Object) error Status() ctrlclient.StatusWriter }
type K8sClient ¶
type K8sClient interface { Create(context.Context, ctrlclient.Object, ...ctrlclient.CreateOption) error Update(ctx context.Context, obj ctrlclient.Object, opts ...ctrlclient.UpdateOption) error Get(ctx context.Context, key ctrlclient.ObjectKey, obj ctrlclient.Object, opts ...ctrlclient.GetOption) error List(context.Context, ctrlclient.ObjectList, ...ctrlclient.ListOption) error DeleteAllOf(context.Context, ctrlclient.Object, ...ctrlclient.DeleteAllOfOption) error Status() ctrlclient.StatusWriter Delete(ctx context.Context, obj ctrlclient.Object, opts ...ctrlclient.DeleteOption) error }
Click to show internal directories.
Click to hide internal directories.