kube

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KubernetesClient

type KubernetesClient struct {
	Clientset     kubernetes.Interface
	CoreClientset v1.CoreV1Interface
	Context       context.Context
	Namespace     string
}

KubernetesClient copied from https://github.com/argoproj-labs/argocd-image-updater/blob/master/pkg/kube/kubernetes.go

func NewKubernetesClient

func NewKubernetesClient(ctx context.Context, client kubernetes.Interface, coreClientset v1.CoreV1Interface, namespace string) *KubernetesClient

func NewKubernetesClientFromConfig

func NewKubernetesClientFromConfig(ctx context.Context, namespace string, kubeconfig string) (*KubernetesClient, error)

Jump to

Keyboard shortcuts

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