operatorclient

package
v1.16.0-rc1 Latest Latest
Warning

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

Go to latest
Published: May 20, 2025 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TargetNamespace   = "cert-manager"
	OperatorNamespace = "cert-manager-operator"
)

Variables

This section is empty.

Functions

func GetUnsupportedConfigOverrides

func GetUnsupportedConfigOverrides(operatorSpec *operatorv1.OperatorSpec) (*v1alpha1.UnsupportedConfigOverrides, error)

Types

type OperatorClient

func (OperatorClient) ApplyOperatorSpec

func (c OperatorClient) ApplyOperatorSpec(ctx context.Context, fieldManager string, applyConfiguration *applyoperatorv1.OperatorSpecApplyConfiguration) (err error)

func (OperatorClient) ApplyOperatorStatus

func (c OperatorClient) ApplyOperatorStatus(ctx context.Context, fieldManager string, desiredConfiguration *applyoperatorv1.OperatorStatusApplyConfiguration) (err error)

func (OperatorClient) EnsureFinalizer

func (c OperatorClient) EnsureFinalizer(ctx context.Context, finalizer string) error

func (OperatorClient) GetObjectMeta

func (c OperatorClient) GetObjectMeta() (*metav1.ObjectMeta, error)

func (OperatorClient) GetOperatorState

func (OperatorClient) GetOperatorStateWithQuorum added in v1.13.1

func (c OperatorClient) GetOperatorStateWithQuorum(ctx context.Context) (*operatorv1.OperatorSpec, *operatorv1.OperatorStatus, string, error)

func (OperatorClient) Informer

func (OperatorClient) PatchOperatorStatus

func (c OperatorClient) PatchOperatorStatus(ctx context.Context, jsonPatch *jsonpatch.PatchSet) (err error)

func (OperatorClient) RemoveFinalizer

func (c OperatorClient) RemoveFinalizer(ctx context.Context, finalizer string) error

func (OperatorClient) UpdateOperatorSpec

func (c OperatorClient) UpdateOperatorSpec(ctx context.Context, resourceVersion string, spec *operatorv1.OperatorSpec) (*operatorv1.OperatorSpec, string, error)

func (OperatorClient) UpdateOperatorStatus

func (c OperatorClient) UpdateOperatorStatus(ctx context.Context, resourceVersion string, status *operatorv1.OperatorStatus) (*operatorv1.OperatorStatus, error)

Jump to

Keyboard shortcuts

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