Documentation
¶
Index ¶
Constants ¶
View Source
const ( // ControllerName is the unique identifier for this controller and is used // within GatewayClass resources to indicate that this controller should // support connected Gateway resources. ControllerName gatewayv1alpha2.GatewayController = "konghq.com/kic-gateway-controller" )
Variables ¶
View Source
var ( // ManagedGatewaysUnsupported is an error used whenever a failure occurs // due to a Gateway that is not properly configured for unmanaged mode. ManagedGatewaysUnsupported = fmt.Errorf("invalid gateway spec: managed gateways are not currently supported") //nolint:revive )
Functions ¶
This section is empty.
Types ¶
type GatewayReconciler ¶
type GatewayReconciler struct {
client.Client
Log logr.Logger
Scheme *runtime.Scheme
Proxy proxy.Proxy
PublishService string
WatchNamespaces []string
// contains filtered or unexported fields
}
GatewayReconciler reconciles a Gateway object
func (*GatewayReconciler) Reconcile ¶
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
func (*GatewayReconciler) SetupWithManager ¶
func (r *GatewayReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type HTTPRouteReconciler ¶
type HTTPRouteReconciler struct {
client.Client
Log logr.Logger
Scheme *runtime.Scheme
Proxy proxy.Proxy
}
HTTPRouteReconciler reconciles an HTTPRoute object
func (*HTTPRouteReconciler) Reconcile ¶
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
func (*HTTPRouteReconciler) SetupWithManager ¶
func (r *HTTPRouteReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.