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 ¶ added in v0.8.0
type BaseIngressResources struct {
// contains filtered or unexported fields
}
BaseIngressResources Common base struct for ingress resource
type ClusterIngressResources ¶ added in v0.8.0
type ClusterIngressResources struct { BaseIngressResources // contains filtered or unexported fields }
ClusterIngressResources Cluster Ingress resources
type IngressResourceAccessors ¶ added in v0.8.0
type IngressResourceAccessors interface {
// contains filtered or unexported methods
}
IngressResourceAccessors Interface for accessing ingress resource
type IngressResources ¶ added in v0.8.0
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.
func (*Reconciler) GetCertificateLister ¶ added in v0.9.0
func (c *Reconciler) GetCertificateLister() networkinglisters.CertificateLister
GetCertificateLister returns the lister for Knative Certificate.
func (*Reconciler) GetServingClient ¶ added in v0.9.0
func (c *Reconciler) GetServingClient() clientset.Interface
GetServingClient returns the client to access Knative serving 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. |