operatorclient

package
v0.0.0-...-117604a Latest Latest
Warning

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

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

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

This section is empty.

Types

type CLIManagerClient

type CLIManagerClient struct {
	Ctx            context.Context
	SharedInformer cache.SharedIndexInformer
	OperatorClient operatorconfigclientv1.ClimanagersV1Interface
}

func (*CLIManagerClient) ApplyOperatorSpec

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

func (*CLIManagerClient) ApplyOperatorStatus

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

func (*CLIManagerClient) GetObjectMeta

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

func (*CLIManagerClient) GetOperatorState

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

func (*CLIManagerClient) GetOperatorStateWithQuorum

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

func (*CLIManagerClient) Informer

func (*CLIManagerClient) UpdateOperatorSpec

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

func (*CLIManagerClient) UpdateOperatorStatus

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