Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCurrentContext ¶ added in v0.0.19
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. |
Click to show internal directories.
Click to hide internal directories.