operatorclient

package
v0.0.0-...-63651a1 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const OperandName = "extended-job-manager"
View Source
const OperatorConfigName = "cluster"
View Source
const OperatorNamespace = "openshift-extended-job-manager-operator"

Variables

This section is empty.

Functions

This section is empty.

Types

type ExtendedJobManagerClient

type ExtendedJobManagerClient struct {
	Ctx            context.Context
	SharedInformer cache.SharedIndexInformer
	OperatorClient operatorconfigclientv1.ExtendedjobmanagerV1Interface
}

func (*ExtendedJobManagerClient) GetObjectMeta

func (c *ExtendedJobManagerClient) GetObjectMeta() (meta *metav1.ObjectMeta, err error)

func (ExtendedJobManagerClient) GetOperatorState

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

func (ExtendedJobManagerClient) Informer

func (*ExtendedJobManagerClient) UpdateOperatorSpec

func (c *ExtendedJobManagerClient) UpdateOperatorSpec(ctx context.Context, resourceVersion string, spec *operatorv1.OperatorSpec) (out *operatorv1.OperatorSpec, newResourceVersion string, err error)

func (*ExtendedJobManagerClient) UpdateOperatorStatus

func (c *ExtendedJobManagerClient) UpdateOperatorStatus(ctx context.Context, resourceVersion string, status *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