Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultKubeConfigPath is /etc/kubernetes/controller-manager.conf DefaultKubeConfigPath = "/etc/kubernetes/controller-manager.conf" // EnvKubeConfig contains the path to the KubeConfig EnvKubeConfig = "VSPHERE_KUBE_CONFIG" )
Variables ¶
This section is empty.
Functions ¶
func NewClientOrDie ¶
NewClientOrDie creates a newk8s client based on a service account
Types ¶
type InformerManager ¶
type InformerManager struct {
// contains filtered or unexported fields
}
InformerManager is a service that notifies subscribers about changes to well-defined information in the Kubernetes API server.
func NewInformer ¶
func NewInformer(client clientset.Interface) *InformerManager
NewInformer creates a newk8s client based on a service account
func (*InformerManager) AddNodeListener ¶
func (im *InformerManager) AddNodeListener(add, remove func(obj interface{}), update func(oldObj, newObj interface{}))
AddNodeListener hooks up add, update, delete callbacks
func (*InformerManager) GetSecretListener ¶
func (im *InformerManager) GetSecretListener() listerv1.SecretLister
GetSecretListener creates a lister to use
Click to show internal directories.
Click to hide internal directories.