k8s

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2025 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

func GetKubeConfigForContext added in v0.1.0

func GetKubeConfigForContext(k8sContext string) clientcmd.ClientConfig

Types

type ClientPool

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

func NewClientPool

func NewClientPool() ClientPool

Directories

Path Synopsis
apps
core
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