Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Start ¶
func Start(kubeClient *kubernetes.Clientset, namespace string, listOptions meta_v1.ListOptions)
Start function starts setting up the informer. This method also find pods with label appType=installer
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller object
func (*Controller) GetPodName ¶
func (c *Controller) GetPodName() string
GetPodName - Retrieve the Pod name associated with this controller
func (*Controller) GetPodNamespace ¶
func (c *Controller) GetPodNamespace() string
GetPodNamespace - Retrieves the Namespace associated with this controller
func (*Controller) HasSynced ¶
func (c *Controller) HasSynced() bool
HasSynced is required for the cache.Controller interface.
func (*Controller) LastSyncResourceVersion ¶
func (c *Controller) LastSyncResourceVersion() string
LastSyncResourceVersion is required for the cache.Controller interface.
func (*Controller) Run ¶
func (c *Controller) Run(stopCh <-chan struct{})
Run starts the pod runner controller
Click to show internal directories.
Click to hide internal directories.