Documentation
¶
Index ¶
Constants ¶
View Source
const ( AnnotationPrefix = "httproute.controller" AnnotationExpose = AnnotationPrefix + "/expose" AnnotationHostname = AnnotationPrefix + "/hostname" AnnotationGateway = AnnotationPrefix + "/gateway" AnnotationGatewayNamespace = AnnotationPrefix + "/gateway-namespace" AnnotationSectionName = AnnotationPrefix + "/section-name" AnnotationPort = AnnotationPrefix + "/port" AnnotationSkipReferenceGrant = AnnotationPrefix + "/skip-reference-grant" FinalizerHTTPRoute = AnnotationPrefix + "/httproute-finalizer" )
Fixed annotation prefix - not configurable
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶ added in v0.3.6
type Config struct {
// DefaultGateway is the default gateway name (REQUIRED)
DefaultGateway string
// DefaultGatewayNamespace is the default gateway namespace (REQUIRED)
DefaultGatewayNamespace string
// DefaultSectionName is the default gateway listener section name
DefaultSectionName string
}
Config holds the controller configuration (required values, no defaults)
type ServiceReconciler ¶
type ServiceReconciler struct {
client.Client
Scheme *runtime.Scheme
Config Config
Recorder record.EventRecorder
}
ServiceReconciler reconciles a Service object
func (*ServiceReconciler) SetupWithManager ¶
func (r *ServiceReconciler) SetupWithManager(mgr ctrl.Manager) error
Click to show internal directories.
Click to hide internal directories.