Documentation ¶
Index ¶
- func BuildClientset()
- func Clientset() *kubernetes.Interface
- func Config() (*rest.Config, error)
- func LoadKubeConfig(config []byte) (*rest.Config, error)
- func NewKubeClientWithConfigPath(configPath string) (kubernetes.Interface, error)
- func NewKubeInClusterClient() (kubernetes.Interface, error)
- func NewKubeOutClusterClient(config []byte) (kubernetes.Interface, error)
- func NewSharedInformerFactory(clientset kubernetes.Interface) (informers.SharedInformerFactory, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewKubeClientWithConfigPath ¶
func NewKubeClientWithConfigPath(configPath string) (kubernetes.Interface, error)
NewKubeClientWithConfigPath creates a out cluster kubernetes clientset interface
func NewKubeInClusterClient ¶
func NewKubeInClusterClient() (kubernetes.Interface, error)
NewKubeInClusterClient creates an in cluster kubernetes clientset interface
func NewKubeOutClusterClient ¶
func NewKubeOutClusterClient(config []byte) (kubernetes.Interface, error)
NewKubeOutClusterClient creates a out cluster kubernetes clientset interface
func NewSharedInformerFactory ¶
func NewSharedInformerFactory(clientset kubernetes.Interface) (informers.SharedInformerFactory, error)
NewSharedInformerFactory creates a new SharedInformerFactory
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.