Documentation ¶
Overview ¶
Package route implements a kubernetes controller which tracks Route resource and reconcile ClusterIngress as its child resource.
Index ¶
- func NewController(ctx context.Context, cmw configmap.Watcher) *controller.Impl
- func NewControllerWithClock(ctx context.Context, cmw configmap.Watcher, clock system.Clock) *controller.Impl
- type BaseIngressResources
- type ClusterIngressResources
- type IngressResourceAccessors
- type IngressResources
- type Reconciler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewController ¶
NewController initializes the controller and is called by the generated code Registers eventhandlers to enqueue events
func NewControllerWithClock ¶
Types ¶
type BaseIngressResources ¶
type BaseIngressResources struct {
// contains filtered or unexported fields
}
BaseIngressResources Common base struct for ingress resource
type ClusterIngressResources ¶
type ClusterIngressResources struct { BaseIngressResources // contains filtered or unexported fields }
ClusterIngressResources Cluster Ingress resources
type IngressResourceAccessors ¶
type IngressResourceAccessors interface {
// contains filtered or unexported methods
}
IngressResourceAccessors Interface for accessing ingress resource
type IngressResources ¶
type IngressResources struct { BaseIngressResources // contains filtered or unexported fields }
IngressResources Namespaced ingress resources
type Reconciler ¶
type Reconciler struct { *reconciler.Base // contains filtered or unexported fields }
Reconciler implements controller.Reconciler for Route resources.
Source Files ¶
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 domains holds simple functions for generating domains.
|
Package domains holds simple functions for generating domains. |
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. |
labels
Package labels holds simple functions for working with ObjectMeta labels.
|
Package labels holds simple functions for working with ObjectMeta labels. |
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.