controllers

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2022 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (
	APIcastSecretLabelPrefix = "secret.apicast.apps.3scale.net/"
	APIcastSecretLabelValue  = "true"
)
View Source
const TMP_DEPLOYMENT_NAME = "tmp-upgrade-apicast"

this name cannot be another apicast deployment which has the pattern "apicast-<CR_NAME>"

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(eventCtx 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