Documentation ¶
Overview ¶
Package client implements wrappers for Kubernetes and KUDO interfaces.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Ctx context.Context Kubernetes kubernetes.Interface Kudo kudo.Interface Config rest.Config // may be empty in the "in cluster" case KubeConfigPath string }
Client wraps Kubernetes and KUDO APIs.
func NewForConfig ¶
NewForConfig creates a Client using a kubeconfig path.
func NewInCluster ¶
NewInCluster creates a Client using the service account Kubernetes gives to pods.
Click to show internal directories.
Click to hide internal directories.