templates

package
v0.10.0-rc Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupStackDefinitions

func SetupStackDefinitions(mgr ctrl.Manager, l logging.Logger) error

SetupStackDefinitions adds a controller that reconciles StackDefinitions.

Types

type StackDefinitionReconciler

type StackDefinitionReconciler struct {
	Client client.Client
	Log    logging.Logger
}

StackDefinitionReconciler copies a StackDefinition over to a Stack. The idea is that later, we will reassess the data model and try to unify Stacks and StackDefinitions. At that time, the Stack controller logic will likely just be pointed over at StackDefinitions.

func NewStackDefinitionReconciler

func NewStackDefinitionReconciler(c client.Client, l logging.Logger) *StackDefinitionReconciler

NewStackDefinitionReconciler creates a stack definition reconciler and initializes all of its fields. It mostly exists to make it easier to create a reconciler and check its initialization result at the same time.

func (*StackDefinitionReconciler) Reconcile

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

Reconcile watches for stackdefinition and creates a Stack in response

Jump to

Keyboard shortcuts

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