workflows

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2019 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertUnstructuredWorkflowToString

func ConvertUnstructuredWorkflowToString(u unstructured.Unstructured) string

ConvertUnstructuredWorkflowToString converts the unstructured content into a string

Types

type AddonLifecycle

AddonLifecycle represents the following workflows

func NewWorkflowLifecycle

func NewWorkflowLifecycle(client client.Client, dynClient dynamic.Interface, addon *addonmgrv1alpha1.Addon, recorder record.EventRecorder, scheme *runtime.Scheme) AddonLifecycle

NewWorkflowLifecycle returns a AddonLifecycle object

type WorkflowBuilder

type WorkflowBuilder interface {
	Scripts(map[string]string) WorkflowBuilder
	Resources([]string) WorkflowBuilder
	Delete() WorkflowBuilder
	Build() unstructured.Unstructured
}

WorkflowBuilder interface for building an unstructured workflow

func New

func New() WorkflowBuilder

New creates a reference to the workflowBuilder type

Jump to

Keyboard shortcuts

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