operatorclient

package
v1.13.1 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 9 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) EnsureFinalizer

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

func (OperatorClient) GetObjectMeta

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

func (OperatorClient) GetOperatorState

GetOperatorState uses a lister from shared informers

func (OperatorClient) GetOperatorStateWithQuorum added in v1.13.1

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

GetOperatorStateWithQuorum performs direct server read

func (OperatorClient) Informer

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