Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder interface { For(object client.Object, opts ...builder.ForOption) Builder Owns(object client.Object, opts ...builder.OwnsOption) Builder WithEventFilter(p predicate.Predicate) Builder WithOptions(options controller.Options) Builder WithLogger(log logr.Logger) Builder Named(name string) Builder Complete(r reconcile.Reconciler) error Build(r reconcile.Reconciler) (controller.Controller, error) }
Builder is a controller-runtime interface used internally. It copies function from sigs.k8s.io/controller-runtime/pkg/builder
func NewCtrlBuilder ¶
NewCtrlBuilder returns a self-referencing controlled builder passthrough wrapper implementing the Builder interface above.
type Client ¶
type Client interface { Create(ctx context.Context, obj client.Object, opts ...client.CreateOption) error Get(ctx context.Context, key client.ObjectKey, obj client.Object) error Update(ctx context.Context, obj client.Object, opts ...client.UpdateOption) error Delete(ctx context.Context, obj client.Object, opts ...client.DeleteOption) error DeleteAllOf(ctx context.Context, obj client.Object, opts ...client.DeleteAllOfOption) error List(ctx context.Context, obj client.ObjectList, opts ...client.ListOption) error Patch(ctx context.Context, obj client.Object, patch client.Patch, opts ...client.PatchOption) error RESTMapper() meta.RESTMapper Scheme() *runtime.Scheme Status() client.StatusWriter }
Client is a kubernetes client interface used internally. It copies functions from sigs.k8s.io/controller-runtime/pkg/client
type StatusWriter ¶
type StatusWriter interface { Update(ctx context.Context, obj client.Object, opts ...client.UpdateOption) error Patch(ctx context.Context, obj client.Object, patch client.Patch, opts ...client.PatchOption) error }
StatusWriter is a kubernetes status writer interface used internally. It copies functions from sigs.k8s.io/controller-runtime/pkg/client
Click to show internal directories.
Click to hide internal directories.