Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ADD resource is added ADD operationType = "add" // DELETE resource is deleted DELETE operationType = "delete" // UPDATE resource is updated UPDATE operationType = "update" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Factory ¶
type Factory interface { Run(int, <-chan struct{}) error // contains filtered or unexported methods }
Factory interface for controller
func NewControllerFactory ¶
func NewControllerFactory(id string, addFunc, deleteFunc, updateFunc func(string, string), resourceInformer informers.StreamInformer, resourceClientSet clientset.Interface) Factory
NewControllerFactory provides default controller instance
func NewControllerFactoryDefault ¶
func NewControllerFactoryDefault(id string, addFunc, deleteFunc, updateFunc func(string, string), resourceInformer informers.StreamInformer, resourceClientSet clientset.Interface) Factory
NewControllerFactoryDefault default implmentation of controller instance
Click to show internal directories.
Click to hide internal directories.