k8s

package
v0.1.19 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

This package converts the output of the compiler into a K8s resource for propeller to execute.

Index

Constants

View Source
const ExecutionIDLabel = "execution-id"
View Source
const WorkflowNameLabel = "workflow-name"

Variables

This section is empty.

Functions

func BuildFlyteWorkflow

func BuildFlyteWorkflow(wfClosure *core.CompiledWorkflowClosure, inputs *core.LiteralMap,
	executionID *core.WorkflowExecutionIdentifier, namespace string) (*v1alpha1.FlyteWorkflow, error)

Builds v1alpha1.FlyteWorkflow resource. Returned error, if not nil, is of type errors.CompilerErrors.

func WorkflowIDAsString

func WorkflowIDAsString(id *core.Identifier) string

Note: Update WorkflowNameFromID for any change made to WorkflowIDAsString

func WorkflowNameFromID added in v0.1.16

func WorkflowNameFromID(id string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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