Documentation ¶
Index ¶
Constants ¶
const ( GatewayArchMSE = "mse" GatewayArchKongV1 = "nginx-kong.v1" GatewayArchKongV2 = "nginx-kong.v2" )
Variables ¶
This section is empty.
Functions ¶
func GetListOptions ¶
func GetListOptions(req *http.Request) []client.ListOption
Types ¶
type ConfigZoneReconciler ¶
type ConfigZoneReconciler struct { client.Client Scheme *runtime.Scheme Log logr.Logger Reconciler reconcile.Reconciler EventRecorder record.EventRecorder }
ConfigZoneReconciler reconciles a ConfigZone object
func NewConfigZoneReconciler ¶
func NewConfigZoneReconciler(cli client.Client, scheme *runtime.Scheme, log logr.Logger, eventRecord record.EventRecorder, options ...ReconcilerOption) *ConfigZoneReconciler
func (*ConfigZoneReconciler) Reconcile ¶
func (r *ConfigZoneReconciler) 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. TODO(user): Modify the Reconcile function to compare the state specified by the ConfigZone object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.12.2/pkg/reconcile
func (*ConfigZoneReconciler) ServeHTTP ¶
func (r *ConfigZoneReconciler) ServeHTTP(w http.ResponseWriter, req *http.Request)
func (*ConfigZoneReconciler) SetupWithManager ¶
func (r *ConfigZoneReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type HapiReconciler ¶
type HapiReconciler struct { client.Client Scheme *runtime.Scheme Log logr.Logger EventRecorder record.EventRecorder // contains filtered or unexported fields }
HapiReconciler reconciles a Hapi object
func NewHapiReconciler ¶
func NewHapiReconciler(cli client.Client, scheme *runtime.Scheme, log logr.Logger, recorder record.EventRecorder, options ...ReconcilerOption) *HapiReconciler
func (*HapiReconciler) ServeHTTP ¶
func (r *HapiReconciler) ServeHTTP(w http.ResponseWriter, req *http.Request)
func (*HapiReconciler) SetupWithManager ¶
func (r *HapiReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type KongressReconciler ¶
KongressReconciler reconciles a Kongress object and is not implemented yet.
func (*KongressReconciler) SetupWithManager ¶
func (r *KongressReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type ReconcilerOption ¶
type ReconcilerOption func(r interface{})
func WithGatewayArch ¶
func WithGatewayArch(arch string) ReconcilerOption