kubernetes

package
v0.0.0-...-d8aa1a2 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var KubeConfig []byte
View Source
var RestConf *rest.Config
View Source
var ServiceAdapter type_v1.ServiceInterface

Functions

func GetClientSet

func GetClientSet() *kubernetes.Clientset

Get ClientSet

func GetNamespace

func GetNamespace() string

func GetRestConf

func GetRestConf() *rest.Config

Get RestConf

func Init

func Init(restConf *rest.Config, ns string) error

func InitClient

func InitClient(restConf *rest.Config) (*kubernetes.Clientset, error)

Initialize the K8S client

Types

This section is empty.

Jump to

Keyboard shortcuts

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