Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller handles pod event
func NewDemoController ¶
func NewDemoController(podInformer coreinformers.PodInformer, deployInformer appsinformers.DeploymentInformer, statefulsetInformer appsinformers.StatefulSetInformer) *Controller
NewDemoController creates a new DemoController
func (*Controller) Run ¶
func (dc *Controller) Run(workers int, stopCh <-chan struct{})
Run begins watching and syncing.
Click to show internal directories.
Click to hide internal directories.