template

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EchoLoader added in v1.4.4

type EchoLoader struct {
}

EchoLoader will load data from input as it is.

func (*EchoLoader) LoadTaskTemplate added in v1.4.4

func (ll *EchoLoader) LoadTaskTemplate(_ context.Context, content string) (string, error)

LoadTaskTemplate gets the echo content exactly what it is .

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.

func NewWorkflowStepTemplateRevisionLoader added in v1.3.0

func NewWorkflowStepTemplateRevisionLoader(rev *v1beta1.ApplicationRevision, dm discoverymapper.DiscoveryMapper) Loader

NewWorkflowStepTemplateRevisionLoader create a task template loader from ApplicationRevision.

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