Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct { *controller.Base // contains filtered or unexported fields }
Controller implements the controller for Configuration resources
func NewController ¶
func NewController( opt controller.Options, configurationInformer servinginformers.ConfigurationInformer, revisionInformer servinginformers.RevisionInformer, ) *Controller
NewController creates a new Configuration controller
func (*Controller) Reconcile ¶
func (c *Controller) Reconcile(key string) error
Reconcile compares the actual state with the desired, and attempts to converge the two. It then updates the Status block of the Configuration resource with the current status of the resource.
func (*Controller) Run ¶
func (c *Controller) Run(threadiness int, stopCh <-chan struct{}) error
Run starts the controller's worker threads, the number of which is threadiness. It then blocks until stopCh is closed, at which point it shuts down its internal work queue and waits for workers to finish processing their current work items.
Directories ¶
Path | Synopsis |
---|---|
Package resources holds simple functions for synthesizing child resources from a Configuration resource and any relevant Configuration controller configuration.
|
Package resources holds simple functions for synthesizing child resources from a Configuration resource and any relevant Configuration controller configuration. |
names
Package names holds simple functions for synthesizing resource names.
|
Package names holds simple functions for synthesizing resource names. |
Click to show internal directories.
Click to hide internal directories.