Documentation ¶
Overview ¶
Package route implements a kubernetes controller which tracks Route resource and reconcile ClusterIngress as its child resource.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewController ¶
func NewController( opt reconciler.Options, routeInformer servinginformers.RouteInformer, configInformer servinginformers.ConfigurationInformer, revisionInformer servinginformers.RevisionInformer, serviceInformer corev1informers.ServiceInformer, clusterIngressInformer networkinginformers.ClusterIngressInformer, ) *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 reconcileKey - function for mapping queue keys to resource names
func NewControllerWithClock ¶
func NewControllerWithClock( opt reconciler.Options, routeInformer servinginformers.RouteInformer, configInformer servinginformers.ConfigurationInformer, revisionInformer servinginformers.RevisionInformer, serviceInformer corev1informers.ServiceInformer, clusterIngressInformer networkinginformers.ClusterIngressInformer, clock system.Clock, ) *controller.Impl
Types ¶
type Reconciler ¶
type Reconciler struct { *reconciler.Base // contains filtered or unexported fields }
Reconciler implements controller.Reconciler for Route resources.
Directories ¶
Path | Synopsis |
---|---|
+k8s:deepcopy-gen=package Package config holds the typed objects that define the schemas for assorted ConfigMap objects on which the Route controller depends.
|
+k8s:deepcopy-gen=package Package config holds the typed objects that define the schemas for assorted ConfigMap objects on which the Route controller depends. |
Package resources holds simple functions for synthesizing child resources from a Route resource and any relevant Route controller configuration.
|
Package resources holds simple functions for synthesizing child resources from a Route resource and any relevant Route 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.