Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartPodInformer ¶
func StartPodInformer(client *KubernetesClient) error
Types ¶
type KubernetesClient ¶
type KubernetesClient struct { KubeConfig string Client kubernetes.Interface DynClient dynamic.Interface DiscoveryClient discovery.DiscoveryInterface // contains filtered or unexported fields }
KubernetesClient represents the Kubernetes configuration of the project.
func NewClient ¶
func NewClient(kubeconfig string) *KubernetesClient
func (*KubernetesClient) Config ¶
func (kc *KubernetesClient) Config() *rest.Config
Config returns the rest configuration to the Kubernetes API.
func (*KubernetesClient) Init ¶
func (kc *KubernetesClient) Init() error
Init initializes the Kubernetes client-go.
Click to show internal directories.
Click to hide internal directories.