clientset

package
v0.0.0-...-31ef7d2 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRestConfigFromKubeconfig

func NewRestConfigFromKubeconfig(kubeconfig []byte) (*rest.Config, error)

Types

type Interface

type Interface interface {
	Namespaces() client.Interface[*corev1.Namespace, *corev1.NamespaceList]
	ConfigMaps(namespace string) client.Interface[*corev1.ConfigMap, *corev1.ConfigMapList]
	Secrets(namespace string) client.Interface[*corev1.Secret, *corev1.SecretList]
	Pods(namespace string) client.Interface[*corev1.Pod, *corev1.PodList]
	Services(namespace string) client.Interface[*corev1.Service, *corev1.ServiceList]
	Endpoints(namespace string) client.Interface[*corev1.Endpoints, *corev1.EndpointsList]
}

func NewForConfig

func NewForConfig(restConfig *rest.Config) (Interface, error)

Jump to

Keyboard shortcuts

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