controllers

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2022 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const (
	APIcastSecretLabelPrefix = "secret.apicast.apps.3scale.net/"
	APIcastSecretLabelValue  = "true"
)
View Source
const (
	APIcastOperatorVersionAnnotation = "apicast.apps.3scale.net/operator-version"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type APIcastLogicReconciler

type APIcastLogicReconciler struct {
	reconcilers.BaseReconciler
	APIcastCR *appsv1alpha1.APIcast
}

func (*APIcastLogicReconciler) Reconcile

type APIcastReconciler

type APIcastReconciler struct {
	reconcilers.BaseControllerReconciler
	Log                 logr.Logger
	SecretLabelSelector apimachinerymetav1.LabelSelector
	WatchedNamespace    string
}

APIcastReconciler reconciles a APIcast object

func (*APIcastReconciler) Reconcile

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

func (*APIcastReconciler) SetupWithManager

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

type SecretToApicastEventMapper added in v0.6.0

type SecretToApicastEventMapper struct {
	K8sClient client.Client
	Logger    logr.Logger
	Namespace string
}

SecretToApicastEventMapper is an EventHandler that maps secret object to apicast CR's

func (*SecretToApicastEventMapper) Map added in v0.6.0

Jump to

Keyboard shortcuts

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