k8s

package
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCurrentContext added in v0.0.19

func GetCurrentContext() (string, error)

func GetKubeClientset

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

func GetKubeConfig

func GetKubeConfig() clientcmd.ClientConfig

Types

type ClientPool

type ClientPool interface {
	GetClientset(k8sContext string) (kubernetes.Interface, error)
}

func NewClientPool

func NewClientPool() ClientPool

Directories

Path Synopsis
Package mock_k8s is a generated GoMock package.
Package mock_k8s is a generated GoMock package.

Jump to

Keyboard shortcuts

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