operatorclient

package
v0.0.0-...-b5bb4af Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const OperandName = "secondary-scheduler"
View Source
const OperatorConfigName = "cluster"
View Source
const OperatorNamespace = "openshift-secondary-scheduler-operator"

Variables

This section is empty.

Functions

This section is empty.

Types

type SecondarySchedulerClient

type SecondarySchedulerClient struct {
	Ctx            context.Context
	SharedInformer cache.SharedIndexInformer
	OperatorClient operatorconfigclientv1.SecondaryschedulersV1Interface
}

func (*SecondarySchedulerClient) ApplyOperatorSpec

func (c *SecondarySchedulerClient) ApplyOperatorSpec(ctx context.Context, fieldManager string, desiredConfiguration *applyconfiguration.OperatorSpecApplyConfiguration) error

func (*SecondarySchedulerClient) ApplyOperatorStatus

func (c *SecondarySchedulerClient) ApplyOperatorStatus(ctx context.Context, fieldManager string, desiredConfiguration *applyconfiguration.OperatorStatusApplyConfiguration) error

func (*SecondarySchedulerClient) GetObjectMeta

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

func (SecondarySchedulerClient) GetOperatorState

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

func (SecondarySchedulerClient) GetOperatorStateWithQuorum

func (SecondarySchedulerClient) Informer

func (*SecondarySchedulerClient) PatchOperatorStatus

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

func (*SecondarySchedulerClient) UpdateOperatorSpec

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

func (*SecondarySchedulerClient) UpdateOperatorStatus

func (c *SecondarySchedulerClient) 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