Versions in this module Expand all Collapse all v2 v2.0.0 Apr 23, 2023 Changes in this version + var Module = fx.Provide(NewOption, NewClient, NewClientSet, NewManager, NewAuthCli, NewScheme, ...) + func NewAuthCli(cfg *rest.Config) (*authorizationv1.AuthorizationV1Client, error) + func NewClient(mgr ctrl.Manager, scheme *runtime.Scheme) (client.Client, error) + func NewClientSet(config *rest.Config) (*kubernetes.Clientset, error) + func NewConfig() *rest.Config + func NewControlPlaneCacheReader(logger logr.Logger, cfg *rest.Config) (controlPlaneCacheReader, error) + func NewManager(options *ctrl.Options, cfg *rest.Config) (ctrl.Manager, error) + func NewNoCacheReader(mgr ctrl.Manager) noCacheReader + func NewOption(logger logr.Logger, scheme *runtime.Scheme) *ctrl.Options + func NewScheme() *runtime.Scheme + type UpdatedClient struct + func (c *UpdatedClient) Create(ctx context.Context, obj client.Object, opts ...client.CreateOption) error + func (c *UpdatedClient) Delete(ctx context.Context, obj client.Object, opts ...client.DeleteOption) error + func (c *UpdatedClient) DeleteAllOf(ctx context.Context, obj client.Object, opts ...client.DeleteAllOfOption) error + func (c *UpdatedClient) Get(ctx context.Context, key client.ObjectKey, obj client.Object, ...) error + func (c *UpdatedClient) List(ctx context.Context, list client.ObjectList, opts ...client.ListOption) error + func (c *UpdatedClient) Patch(ctx context.Context, obj client.Object, patch client.Patch, ...) error + func (c *UpdatedClient) RESTMapper() meta.RESTMapper + func (c *UpdatedClient) Scheme() *runtime.Scheme + func (c *UpdatedClient) Status() client.StatusWriter + func (c *UpdatedClient) SubResource(subResource string) client.SubResourceClient + func (c *UpdatedClient) Update(ctx context.Context, obj client.Object, opts ...client.UpdateOption) error + type UpdatedStatusWriter struct + func (c *UpdatedStatusWriter) Create(ctx context.Context, obj client.Object, subResource client.Object, ...) error + func (c *UpdatedStatusWriter) Patch(ctx context.Context, obj client.Object, patch client.Patch, ...) error + func (c *UpdatedStatusWriter) Update(ctx context.Context, obj client.Object, opts ...client.SubResourceUpdateOption) error