Documentation ¶
Index ¶
- type Client
- func New() (Client, error)
- func NewFiltered(namespace string, filter resource.Filter) (Client, error)
- func NewFilteredOrDie(namespace string, filter resource.Filter) Client
- func NewForNamespace(namespace string) (Client, error)
- func NewForNamespaceOrDie(namespace string) Client
- func NewOrDie() Client
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { // Namespace returns the client namespace Namespace() string // Config returns the Kubernetes REST client configuration Config() *rest.Config // Clientset returns the client's Clientset Clientset() *kubernetes.Clientset AdmissionregistrationV1() admissionregistrationv1.Client ApiextensionsV1() apiextensionsv1.Client ApiextensionsV1beta1() apiextensionsv1beta1.Client AppsV1() appsv1.Client AppsV1beta1() appsv1beta1.Client BatchV1() batchv1.Client BatchV1beta1() batchv1beta1.Client BatchV2alpha1() batchv2alpha1.Client ExtensionsV1beta1() extensionsv1beta1.Client NetworkingV1beta1() networkingv1beta1.Client PolicyV1beta1() policyv1beta1.Client RbacV1() rbacv1.Client StorageV1() storagev1.Client CoreV1() corev1.Client }
Client is a Kubernetes client
func NewFiltered ¶
NewFiltered returns a new filtered Kubernetes client
func NewFilteredOrDie ¶
NewFilteredOrDie returns a new filtered Kubernetes client
func NewForNamespace ¶
NewForNamespace returns a new Kubernetes client for the given namespace
func NewForNamespaceOrDie ¶
NewForNamespaceOrDie returns a new Kubernetes client for the given namespace
Click to show internal directories.
Click to hide internal directories.