client

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package client provides K8s client utilities.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClientSet

func GetClientSet(kubeconfigPath string) (*kclient.Clientset, error)

GetClientSet returns a [kubernetes.Clientset] from the given kubeconfig path. If kubeconfigPath is nil, the function assumes that the process is running in a K8s pod, and attempts to create client set based on the convention for in-cluster configuration.

Types

This section is empty.

Jump to

Keyboard shortcuts

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