k8sutils

package module
v0.0.0-...-e520984 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: MIT Imports: 7 Imported by: 0

README

k8sutils

k8s utils

Documentation

Index

Constants

View Source
const Version = "0.1.0"

Variables

This section is empty.

Functions

func NewClientSet

func NewClientSet() (*kubernetes.Clientset, error)

Types

type Clientset

type Clientset struct {
	// contains filtered or unexported fields
}

func GetClientset

func GetClientset() (*Clientset, error)

func (*Clientset) GetClientSet

func (kc *Clientset) GetClientSet() *kubernetes.Clientset

func (*Clientset) GetNamespace

func (kc *Clientset) GetNamespace() string

func (*Clientset) GetServerVersion

func (kc *Clientset) GetServerVersion() (string, error)

Jump to

Keyboard shortcuts

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