template

package
v1.3.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Loader

type Loader interface {
	LoadTaskTemplate(ctx context.Context, name string) (string, error)
}

Loader load task definition template.

func NewViewTemplateLoader added in v1.2.0

func NewViewTemplateLoader(client client.Client, namespace string) Loader

NewViewTemplateLoader create a view task template loader.

func NewWorkflowStepTemplateLoader added in v1.2.0

func NewWorkflowStepTemplateLoader(client client.Client, dm discoverymapper.DiscoveryMapper) Loader

NewWorkflowStepTemplateLoader create a task template loader.

type ViewLoader added in v1.2.0

type ViewLoader struct {
	// contains filtered or unexported fields
}

ViewLoader load view task definition template.

func (*ViewLoader) LoadTaskTemplate added in v1.2.0

func (loader *ViewLoader) LoadTaskTemplate(ctx context.Context, name string) (string, error)

LoadTaskTemplate gets the workflowStep definition.

type WorkflowStepLoader added in v1.2.0

type WorkflowStepLoader struct {
	// contains filtered or unexported fields
}

WorkflowStepLoader load workflowStep task definition template.

func (*WorkflowStepLoader) LoadTaskTemplate added in v1.2.0

func (loader *WorkflowStepLoader) LoadTaskTemplate(ctx context.Context, name string) (string, error)

LoadTaskTemplate gets the workflowStep definition.

Jump to

Keyboard shortcuts

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