template

package
v0.0.0-...-8789a92 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

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