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 ApplicationsClientset versioned.Interface Context context.Context Namespace string }
func NewKubernetesClient ¶
func NewKubernetesClient(ctx context.Context, client kubernetes.Interface, applicationsClientset versioned.Interface, namespace string) *KubernetesClient
func NewKubernetesClientFromConfig ¶
func NewKubernetesClientFromConfig(ctx context.Context, namespace string, kubeconfig string, kubecontext string) (*KubernetesClient, error)
NewKubernetesClient creates a new Kubernetes client object from given configuration file. If configuration file is the empty string, in-cluster client will be created.
Click to show internal directories.
Click to hide internal directories.