template

package
v0.0.0-...-2c539bb Latest Latest
Warning

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

Go to latest
Published: Mar 10, 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

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

NewViewTemplateLoader create a view task template loader.

func NewWorkflowStepTemplateLoader

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

NewWorkflowStepTemplateLoader create a task template loader.

type ViewLoader

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

ViewLoader load view task definition template.

func (*ViewLoader) LoadTaskTemplate

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

LoadTaskTemplate gets the workflowStep definition.

type WorkflowStepLoader

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

WorkflowStepLoader load workflowStep task definition template.

func (*WorkflowStepLoader) LoadTaskTemplate

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