Documentation
      ¶
    
    
  
    
  
    Index ¶
- Constants
 - Variables
 - func GetControllerName() gatewayapi.GatewayController
 - func SetControllerName(name gatewayapi.GatewayController)
 - type GRPCRouteReconciler
 - type GatewayClassReconciler
 - func (r *GatewayClassReconciler) GatewayClassIsUnmanaged(obj client.Object) bool
 - func (r *GatewayClassReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
 - func (r *GatewayClassReconciler) SetLogger(l logr.Logger)
 - func (r *GatewayClassReconciler) SetupWithManager(mgr ctrl.Manager) error
 
- type GatewayReconciler
 - type HTTPRouteReconciler
 - type ReferenceGrantReconciler
 - type TCPRouteReconciler
 - type TLSRouteReconciler
 - type UDPRouteReconciler
 
Constants ¶
const ( ConditionTypeProgrammed = "Programmed" ConditionReasonProgrammedUnknown gatewayapi.RouteConditionReason = "Unknown" ConditionReasonConfiguredInGateway gatewayapi.RouteConditionReason = "ConfiguredInGateway" ConditionReasonTranslationError gatewayapi.RouteConditionReason = "TranslationError" )
Variables ¶
var ErrNoMatchingListenerHostname = fmt.Errorf("no matching hostnames in listener")
    Functions ¶
func GetControllerName ¶
func GetControllerName() gatewayapi.GatewayController
func SetControllerName ¶
func SetControllerName(name gatewayapi.GatewayController)
Types ¶
type GRPCRouteReconciler ¶
type GRPCRouteReconciler struct {
	client.Client
	Log             logr.Logger
	Scheme          *runtime.Scheme
	DataplaneClient controllers.DataPlane
	StatusQueue     *status.Queue
	// If EnableReferenceGrant is true, we will check for ReferenceGrant if backend in another
	// namespace is in backendRefs.
	// If it is false, referencing backend in different namespace will be rejected.
	EnableReferenceGrant bool
	CacheSyncTimeout     time.Duration
}
    GRPCRouteReconciler reconciles an GRPCRoute object.
func (*GRPCRouteReconciler) 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 (*GRPCRouteReconciler) SetupWithManager ¶
func (r *GRPCRouteReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type GatewayClassReconciler ¶
type GatewayClassReconciler struct {
	client.Client
	Log              logr.Logger
	Scheme           *runtime.Scheme
	CacheSyncTimeout time.Duration
}
    GatewayClassReconciler reconciles a GatewayClass object.
func (*GatewayClassReconciler) GatewayClassIsUnmanaged ¶
func (r *GatewayClassReconciler) GatewayClassIsUnmanaged(obj client.Object) bool
GatewayClassIsUnmanaged is a watch predicate which filters out reconciliation events for gateway objects which aren't annotated as unmanaged.
func (*GatewayClassReconciler) Reconcile ¶
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) SetLogger ¶
func (r *GatewayClassReconciler) SetLogger(l logr.Logger)
SetLogger sets the logger.
func (*GatewayClassReconciler) SetupWithManager ¶
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 controllers.DataPlane
	WatchNamespaces  []string
	CacheSyncTimeout time.Duration
	ReferenceIndexers ctrlref.CacheIndexers
	PublishServiceRef    k8stypes.NamespacedName
	PublishServiceUDPRef mo.Option[k8stypes.NamespacedName]
	// 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) SetLogger ¶
func (r *GatewayReconciler) SetLogger(l logr.Logger)
SetLogger sets the logger.
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  controllers.DataPlane
	CacheSyncTimeout time.Duration
	StatusQueue      *status.Queue
	// contains filtered or unexported fields
}
    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) SetLogger ¶
func (r *HTTPRouteReconciler) SetLogger(l logr.Logger)
SetLogger sets the logger.
func (*HTTPRouteReconciler) SetupWithManager ¶
func (r *HTTPRouteReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type ReferenceGrantReconciler ¶
type ReferenceGrantReconciler struct {
	client.Client
	Log             logr.Logger
	Scheme          *runtime.Scheme
	DataplaneClient controllers.DataPlane
	CacheSyncTimeout time.Duration
}
    ReferenceGrantReconciler reconciles a ReferenceGrant object.
func (*ReferenceGrantReconciler) Reconcile ¶
func (r *ReferenceGrantReconciler) 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 (*ReferenceGrantReconciler) SetupWithManager ¶
func (r *ReferenceGrantReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type TCPRouteReconciler ¶
type TCPRouteReconciler struct {
	client.Client
	Log              logr.Logger
	Scheme           *runtime.Scheme
	DataplaneClient  controllers.DataPlane
	CacheSyncTimeout time.Duration
	StatusQueue      *status.Queue
}
    TCPRouteReconciler reconciles an TCPRoute object.
func (*TCPRouteReconciler) 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 (*TCPRouteReconciler) SetupWithManager ¶
func (r *TCPRouteReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type TLSRouteReconciler ¶
type TLSRouteReconciler struct {
	client.Client
	Log              logr.Logger
	Scheme           *runtime.Scheme
	DataplaneClient  controllers.DataPlane
	CacheSyncTimeout time.Duration
	StatusQueue      *status.Queue
}
    TLSRouteReconciler reconciles an TLSRoute object.
func (*TLSRouteReconciler) 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 (*TLSRouteReconciler) SetupWithManager ¶
func (r *TLSRouteReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type UDPRouteReconciler ¶
type UDPRouteReconciler struct {
	client.Client
	Log              logr.Logger
	Scheme           *runtime.Scheme
	DataplaneClient  controllers.DataPlane
	CacheSyncTimeout time.Duration
	StatusQueue      *status.Queue
}
    UDPRouteReconciler reconciles an UDPRoute object.
func (*UDPRouteReconciler) 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 (*UDPRouteReconciler) SetupWithManager ¶
func (r *UDPRouteReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.