const ConfigMapName … const ConfigMapDataKey … const dateFormat … var queueKey … type Controller … // NewController returns a Controller struct. func NewController(cs kubernetes.Interface) *Controller { … } func newController(cs kubernetes.Interface, cl clock.Clock, limiter *rate.Limiter) *Controller { … } func (c *Controller) enqueue() { … } // Run starts the controller sync loop. func (c *Controller) Run(stopCh <-chan struct{ … } func (c *Controller) runWorker() { … } func (c *Controller) processNext() bool { … } func (c *Controller) syncConfigMap() error { … }