client

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClientSet

func GetClientSet() (cclientset *kubernetes.Clientset, err error)

GetClientSet get client set

Types

type KubeClient

type KubeClient struct {
	Client        *kubernetes.Clientset
	Namespace     string
	ConfigmapName string
}

func NewKubeClient

func NewKubeClient(cfg map[string]any) (*KubeClient, error)

Jump to

Keyboard shortcuts

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