clients

package
v0.0.0-...-ed0d08f Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: Apache-2.0 Imports: 37 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
	ClusterExtensionClient     *ClusterExtensionClient
	ClusterCatalogClient       *ClusterCatalogClient
	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 ClusterCatalogClient

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

func NewClusterCatalogClient

func NewClusterCatalogClient(dynClient dynamic.Interface) *ClusterCatalogClient

func (*ClusterCatalogClient) Get

func (*ClusterCatalogClient) Informer

type ClusterExtensionClient

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

func NewClusterExtensionClient

func NewClusterExtensionClient(dynClient dynamic.Interface) *ClusterExtensionClient

func (ClusterExtensionClient) Informer

type OperatorClient

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

func (OperatorClient) ApplyOperatorSpec

func (o OperatorClient) ApplyOperatorSpec(ctx context.Context, fieldManager string, applyConfiguration *operatorv1apply.OperatorSpecApplyConfiguration) error

func (OperatorClient) ApplyOperatorStatus

func (o OperatorClient) ApplyOperatorStatus(ctx context.Context, fieldManager string, desiredStatus *operatorv1apply.OperatorStatusApplyConfiguration) error

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) GetOperatorStateWithQuorum

func (o OperatorClient) GetOperatorStateWithQuorum(ctx context.Context) (*operatorv1.OperatorSpec, *operatorv1.OperatorStatus, string, error)

func (OperatorClient) Informer

func (OperatorClient) PatchOperatorStatus

func (o OperatorClient) PatchOperatorStatus(ctx context.Context, jsonPatch *jsonpatch.PatchSet) error

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