clients

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

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

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Clients

type Clients struct {
	KubeClient                 kubernetes.Interface
	APIExtensionsClient        apiextensionsclient.Interface
	DynamicClient              dynamic.Interface
	RESTMapper                 meta.RESTMapper
	OperatorClient             *OperatorClient
	OperatorInformers          operatorinformers.SharedInformerFactory
	ConfigClient               configclient.Interface
	KubeInformerFactory        informers.SharedInformerFactory
	ConfigInformerFactory      configinformer.SharedInformerFactory
	KubeInformersForNamespaces v1helpers.KubeInformersForNamespaces
}

func (*Clients) ClientHolder

func (c *Clients) ClientHolder() *resourceapply.ClientHolder

func (*Clients) StartInformers

func (c *Clients) StartInformers(ctx context.Context)

type OperatorClient

type OperatorClient struct {
	// contains filtered or unexported fields
}

func (OperatorClient) EnsureFinalizer

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

func (OperatorClient) GetObjectMeta

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

func (OperatorClient) GetOperatorState

func (OperatorClient) Informer

func (OperatorClient) RemoveFinalizer

func (o OperatorClient) RemoveFinalizer(ctx context.Context, finalizer string) error

func (OperatorClient) UpdateOperatorSpec

func (o OperatorClient) UpdateOperatorSpec(ctx context.Context, oldResourceVersion string, in *operatorv1.OperatorSpec) (*operatorv1.OperatorSpec, string, error)

func (OperatorClient) UpdateOperatorStatus

func (o OperatorClient) UpdateOperatorStatus(ctx context.Context, oldResourceVersion string, in *operatorv1.OperatorStatus) (*operatorv1.OperatorStatus, error)

Jump to

Keyboard shortcuts

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