Documentation ¶
Index ¶
Constants ¶
View Source
const (
// SuccessSynced is used as part of the Event 'reason' when a ControllersManager is synced
SuccessSynced = "Synced"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct { schema.GroupVersionKind controller.DefaultController // contains filtered or unexported fields }
Controller is the controller implementation for ControllersManager resources
func NewController ¶
func NewController( kubeclientset kubernetes.Interface, carbonclientset clientset.Interface, podInformer coreinformers.PodInformer, workerNodeInformer informers.WorkerNodeInformer, evictionInformer informers.WorkerNodeEvictionInformer, ) *Controller
NewController returns a new ControllersManager controller
func (*Controller) DeleteSubObj ¶
func (c *Controller) DeleteSubObj(namespace, key string) error
DeleteSubObj DeleteSubObj
func (*Controller) GetObj ¶
func (c *Controller) GetObj(namespace, key string) (interface{}, error)
GetObj GetObj
func (*Controller) WaitForCacheSync ¶
func (c *Controller) WaitForCacheSync(stopCh <-chan struct{}) bool
WaitForCacheSync WaitForCacheSync
Click to show internal directories.
Click to hide internal directories.