templates

package
v0.8.0-rc Latest Latest
Warning

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

Go to latest
Published: Feb 17, 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 added in v0.8.0

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

SetupStackDefinitions adds a controller that reconciles StackDefinitions.

Types

type StackDefinitionReconciler added in v0.8.0

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 added in v0.8.0

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 added in v0.8.0

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