operatorclient

package
v0.0.0-...-481fd8a Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const OperatorConfigName = "cluster"

Variables

This section is empty.

Functions

This section is empty.

Types

type LWSOperatorClient

type LWSOperatorClient struct {
	Ctx               context.Context
	SharedInformer    cache.SharedIndexInformer
	OperatorClient    lwsoperatorinterface.LwsOperatorsV1alpha1Interface
	OperatorNamespace string
}

func (*LWSOperatorClient) ApplyOperatorSpec

func (l *LWSOperatorClient) ApplyOperatorSpec(ctx context.Context, fieldManager string, applyConfiguration *operatorapplyconfigurationv1.OperatorSpecApplyConfiguration) (err error)

func (*LWSOperatorClient) ApplyOperatorStatus

func (l *LWSOperatorClient) ApplyOperatorStatus(ctx context.Context, fieldManager string, applyConfiguration *operatorapplyconfigurationv1.OperatorStatusApplyConfiguration) (err error)

func (*LWSOperatorClient) GetObjectMeta

func (l *LWSOperatorClient) GetObjectMeta() (meta *metav1.ObjectMeta, err error)

func (*LWSOperatorClient) GetOperatorState

func (l *LWSOperatorClient) GetOperatorState() (spec *operatorv1.OperatorSpec, status *operatorv1.OperatorStatus, resourceVersion string, err error)

func (*LWSOperatorClient) GetOperatorStateWithQuorum

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

func (*LWSOperatorClient) Informer

func (*LWSOperatorClient) PatchOperatorStatus

func (l *LWSOperatorClient) PatchOperatorStatus(ctx context.Context, jsonPatch *jsonpatch.PatchSet) (err error)

func (*LWSOperatorClient) UpdateOperatorSpec

func (l *LWSOperatorClient) UpdateOperatorSpec(ctx context.Context, oldResourceVersion string, in *operatorv1.OperatorSpec) (out *operatorv1.OperatorSpec, newResourceVersion string, err error)

func (*LWSOperatorClient) UpdateOperatorStatus

func (l *LWSOperatorClient) UpdateOperatorStatus(ctx context.Context, oldResourceVersion string, in *operatorv1.OperatorStatus) (out *operatorv1.OperatorStatus, err error)

Jump to

Keyboard shortcuts

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