controller

package
v0.0.0-...-b9d1cbd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 10, 2024 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AppLabelName        = "app"
	KrakendFinalizer    = "finalizer.krakend.nais.io"
	KrakendConfigMapKey = "endpoints.tmpl"
)
View Source
const DefaultKrakendIngressClass = "nais-ingress-external"

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiEndpointsReconciler

type ApiEndpointsReconciler struct {
	client.Client
	Scheme        *runtime.Scheme
	SyncInterval  time.Duration
	NetpolEnabled bool
	ClusterDomain string
}

ApiEndpointsReconciler reconciles a ApiEndpoints object

func (*ApiEndpointsReconciler) Reconcile

func (r *ApiEndpointsReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*ApiEndpointsReconciler) SetupWithManager

func (r *ApiEndpointsReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type KrakendReconciler

type KrakendReconciler struct {
	client.Client
	Scheme        *runtime.Scheme
	Recorder      record.EventRecorder
	SyncInterval  time.Duration
	KrakendChart  *helm.Chart
	NetpolEnabled bool
}

KrakendReconciler reconciles a Krakend object

func (*KrakendReconciler) Reconcile

func (r *KrakendReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*KrakendReconciler) SetupWithManager

func (r *KrakendReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL