operator

package
v0.0.0-...-d0b8644 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	APIGatewayResourceListDefaultPath = "manifests/controlled_resources_list.yaml"
	ApiGatewayFinalizer               = "gateways.operator.kyma-project.io/api-gateway"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type APIGatewayReconciler

type APIGatewayReconciler struct {
	client.Client
	Scheme *runtime.Scheme
	// contains filtered or unexported fields
}

APIGatewayReconciler reconciles a APIGateway object

func NewAPIGatewayReconciler

func NewAPIGatewayReconciler(mgr manager.Manager, oathkeeperReconciler ReadyVerifyingReconciler) *APIGatewayReconciler

func (*APIGatewayReconciler) Reconcile

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

func (*APIGatewayReconciler) SetupWithManager

SetupWithManager sets up the controller with the Manager.

type ReadyVerifyingReconciler

type ReadyVerifyingReconciler interface {
	// ReconcileAndVerifyReadiness runs the reconciliation and verifies that the resource is ready.
	ReconcileAndVerifyReadiness(ctx context.Context, k8sClient client.Client, apiGatewayCR *v1alpha1.APIGateway) controllers.Status
}

Jump to

Keyboard shortcuts

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