client

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: May 5, 2025 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddToScheme added in v0.3.0

func AddToScheme()

AddToScheme adds the ResourcesConfig types to the scheme

Types

type KubeClients

type KubeClients struct {
	Clientset                *kubernetes.Clientset
	DynamicClient            *dynamic.DynamicClient
	VpaClientset             *vpaclientset.Clientset
	ResourcesConfigClientset *ResourcesConfigClientset
	RestConfig               *rest.Config
}

func NewKubeClients

func NewKubeClients() *KubeClients

type ResourcesConfigClientset added in v0.3.0

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

ResourcesConfigClientset is a clientset for ResourcesConfig CRD

func NewResourcesConfigClientset added in v0.3.0

func NewResourcesConfigClientset(c *rest.Config) (*ResourcesConfigClientset, error)

NewForConfig creates a new ResourcesConfigClientset for the given config

func (*ResourcesConfigClientset) OblikV1 added in v0.3.0

OblikV1 returns the OblikV1Client

type ResourcesConfigInterface added in v0.3.0

type ResourcesConfigInterface interface {
	List(ctx context.Context, namespace string, opts metav1.ListOptions) (*oblikv1.ResourcesConfigList, error)
	Watch(ctx context.Context, namespace string, opts metav1.ListOptions) (watch.Interface, error)
	Get(ctx context.Context, namespace, name string, opts metav1.GetOptions) (*oblikv1.ResourcesConfig, error)
	Create(ctx context.Context, namespace string, resourcesConfig *oblikv1.ResourcesConfig, opts metav1.CreateOptions) (*oblikv1.ResourcesConfig, error)
	Update(ctx context.Context, namespace string, resourcesConfig *oblikv1.ResourcesConfig, opts metav1.UpdateOptions) (*oblikv1.ResourcesConfig, error)
	UpdateStatus(ctx context.Context, namespace string, resourcesConfig *oblikv1.ResourcesConfig, opts metav1.UpdateOptions) (*oblikv1.ResourcesConfig, error)
	Delete(ctx context.Context, namespace, name string, opts metav1.DeleteOptions) error
}

Jump to

Keyboard shortcuts

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