controllers

package
v0.9.0-BETA-1 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2021 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WarningEventType      = "Warning"
	InvalidEnvConfigEvent = "InvalidEnvConfig"

	ValueEnvConfigType            = "Value"
	ConfigMapEnvConfigType        = "ConfigMap"
	SecretEnvConfigType           = "Secret"
	FieldRefEnvConfigType         = "FieldRef"
	ResourceFieldRefEnvConfigType = "ResourceFieldRef"

	AllowTemplateUpdatesAnnotation = "kconfigcontroller.atteg.com/refresh-template"
	GenerationAnnotationPrefix     = "kconfigcontroller.atteg.com/"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ExternalAction

type ExternalAction struct {
	Type  string
	Key   string
	Value string
}

ExternalAction represents update to external resource (e.g. configMap or Secret)

type KconfigBindingReconciler

type KconfigBindingReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
}

KconfigBindingReconciler reconciles a KconfigBinding object

func (*KconfigBindingReconciler) Reconcile

func (r *KconfigBindingReconciler) Reconcile(req ctrl.Request) (ctrl.Result, error)

func (*KconfigBindingReconciler) SetupWithManager

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

type KconfigReconciler

type KconfigReconciler struct {
	client.Client
	Log             logr.Logger
	Scheme          *runtime.Scheme
	Recorder        record.EventRecorder
	ConfigMapPrefix string
	SecretPrefix    string
}

KconfigReconciler reconciles a Kconfig object

func (*KconfigReconciler) Reconcile

func (r *KconfigReconciler) Reconcile(req ctrl.Request) (ctrl.Result, error)

func (*KconfigReconciler) SetupWithManager

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

Jump to

Keyboard shortcuts

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