Documentation
¶
Index ¶
Constants ¶
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 ¶
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 GatewayClassReconciler ¶ added in v2.3.0
GatewayClassReconciler reconciles a GatewayClass object
func (*GatewayClassReconciler) Reconcile ¶ added in v2.3.0
func (r *GatewayClassReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
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 (*GatewayClassReconciler) SetupWithManager ¶ added in v2.3.0
func (r *GatewayClassReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type GatewayReconciler ¶
type GatewayReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme DataplaneClient *dataplane.KongClient 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 DataplaneClient *dataplane.KongClient }
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.
type UDPRouteReconciler ¶ added in v2.3.0
type UDPRouteReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme DataplaneClient *dataplane.KongClient }
UDPRouteReconciler reconciles an UDPRoute object
func (*UDPRouteReconciler) Reconcile ¶ added in v2.3.0
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 (*UDPRouteReconciler) SetupWithManager ¶ added in v2.3.0
func (r *UDPRouteReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.