Documentation
¶
Index ¶
Constants ¶
View Source
const ( // SuccessSynced is used as part of the Event 'reason' when a PodChaperon is synced SuccessSynced = "Synced" // ErrResourceExists is used as part of the Event 'reason' when a PodChaperon fails // to sync due to a Pod of the same name already existing. ErrResourceExists = "ErrResourceExists" // MessageResourceExists is the message used for Events when a resource // fails to sync due to a Pod already existing MessageResourceExists = "Resource %q already exists and is not managed by PodChaperon" // MessageResourceSynced is the message used for an Event fired when a PodChaperon // is synced successfully MessageResourceSynced = "PodChaperon synced successfully" )
Variables ¶
This section is empty.
Functions ¶
func NewController ¶
func NewController( kubeclientset kubernetes.Interface, customclientset clientset.Interface, podInformer coreinformers.PodInformer, podChaperonInformer informers.PodChaperonInformer) *controller.Controller
NewController returns a new chaperon controller
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.