template

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2023 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// DefinitionNamespace is context key to define workflow run namespace
	DefinitionNamespace namespaceContextKey = iota
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Loader

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

Loader load task definition template.

func NewWorkflowStepTemplateLoader

func NewWorkflowStepTemplateLoader(client client.Client) Loader

NewWorkflowStepTemplateLoader create a task template loader.

type WorkflowStepLoader

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

WorkflowStepLoader load workflowStep task definition template.

func (*WorkflowStepLoader) LoadTemplate

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

LoadTemplate gets the workflow step definition.

Jump to

Keyboard shortcuts

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