manager

package
v0.68.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2026 License: Apache-2.0 Imports: 56 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDryRunClient added in v0.68.4

func NewDryRunClient(c client.Client, log logr.Logger) client.Client

NewDryRunClient returns a DryRunClient.

func RunDryRunMode added in v0.68.4

func RunDryRunMode(ctx context.Context, mgr ctrl.Manager, baseConfig *config.BaseOperatorConf) error

func RunManager

func RunManager(ctx context.Context) error

Types

type DryRunClient added in v0.68.4

type DryRunClient struct {
	client.Client
	// contains filtered or unexported fields
}

DryRunClient wraps client.Client and logs mutating operations instead of executing them.

func (*DryRunClient) Create added in v0.68.4

func (d *DryRunClient) Create(ctx context.Context, obj client.Object, opts ...client.CreateOption) error

func (*DryRunClient) Delete added in v0.68.4

func (d *DryRunClient) Delete(ctx context.Context, obj client.Object, opts ...client.DeleteOption) error

func (*DryRunClient) DeleteAllOf added in v0.68.4

func (d *DryRunClient) DeleteAllOf(ctx context.Context, obj client.Object, opts ...client.DeleteAllOfOption) error

func (*DryRunClient) Patch added in v0.68.4

func (d *DryRunClient) Patch(ctx context.Context, obj client.Object, patch client.Patch, opts ...client.PatchOption) error

func (*DryRunClient) Status added in v0.68.4

func (*DryRunClient) SubResource added in v0.68.4

func (d *DryRunClient) SubResource(subResource string) client.SubResourceClient

func (*DryRunClient) Update added in v0.68.4

func (d *DryRunClient) Update(ctx context.Context, obj client.Object, opts ...client.UpdateOption) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL