controllers

package
v0.0.0-...-16baae6 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2021 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppEnvConfigTemplateV2Reconciler

type AppEnvConfigTemplateV2Reconciler struct {
	client.Client

	Dynamic dynamic.Interface
	Log     logr.Logger
	Scheme  *runtime.Scheme
	// contains filtered or unexported fields
}

AppEnvConfigTemplateV2Reconciler reconciles a AppEnvConfigTemplateV2 object.

func (*AppEnvConfigTemplateV2Reconciler) Reconcile

Reconcile takes an instance of an app config and issues create/update/delete requests to a number of resources. Behavior is dependant on whether or not istio auto-inject is enabled for the namespace.

func (*AppEnvConfigTemplateV2Reconciler) SetupWithManager

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

SetupWithManager registers the reconciler with a manager. The behavior is dependant on whether or not istio is installed. This is determined by the presence of istio CRDs.

type Config

type Config struct {
	// PolicyCachingInterval determines how long caches should be valid for
	// istio policy decisions.
	PolicyCachingInterval string
	EgressTypes           map[string][]*istiov1a3.Port
}

Config for the controller. This encompasses all knobs that control controller behavior outside of app configs.

Jump to

Keyboard shortcuts

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