Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func KResourceTypedInformerFactory ¶
func KResourceTypedInformerFactory(opt reconciler.Options) duck.InformerFactory
func NewController ¶
func NewController( opt reconciler.Options, revisionInformer servinginformers.RevisionInformer, kpaInformer kpainformers.PodAutoscalerInformer, imageInformer cachinginformers.ImageInformer, deploymentInformer appsv1informers.DeploymentInformer, serviceInformer corev1informers.ServiceInformer, endpointsInformer corev1informers.EndpointsInformer, configMapInformer corev1informers.ConfigMapInformer, buildInformerFactory duck.InformerFactory, ) *controller.Impl
NewController initializes the controller and is called by the generated code Registers eventhandlers to enqueue events config - client configuration for talking to the apiserver si - informer factory shared across all controllers for listening to events and indexing resource properties queue - message queue for handling new events. unique to this controller.
Types ¶
type Reconciler ¶
type Reconciler struct { *reconciler.Base // contains filtered or unexported fields }
Reconciler implements controller.Reconciler for Revision resources.
func (*Reconciler) EnqueueEndpointsRevision ¶
func (c *Reconciler) EnqueueEndpointsRevision(impl *controller.Impl) func(obj interface{})
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package config holds the typed objects that define the schemas for assorted ConfigMap objects on which the Revision controller depends.
|
Package config holds the typed objects that define the schemas for assorted ConfigMap objects on which the Revision controller depends. |
Package resources holds simple functions for synthesizing child resources from a Revision resource and any relevant Revision controller configuration.
|
Package resources holds simple functions for synthesizing child resources from a Revision resource and any relevant Revision 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.