workflowcontext

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CommandApply   = "apply"
	CommandPrepare = "prepare"

	SourceFilesystem = "filesystem"
	SourceServer     = "server"
)

Variables

This section is empty.

Functions

func SourceForWorkflowPath

func SourceForWorkflowPath(workflowPath string) string

Types

type Context

type Context struct {
	Command  string
	Workflow Workflow
	Paths    Paths
}

func (Context) RenderMap

func (c Context) RenderMap() map[string]any

func (Context) StateFingerprint

func (c Context) StateFingerprint() string

type FieldDefinition

type FieldDefinition struct {
	Path                      string
	Type                      string
	Prepare                   bool
	Apply                     bool
	Description               string
	IncludeInStateFingerprint bool
}

func FieldDefinitions

func FieldDefinitions() []FieldDefinition

type Paths

type Paths struct {
	BundleRoot string
	OutputRoot string
	StateFile  string
}

type Workflow

type Workflow struct {
	Source   string
	Path     string
	Scenario string
}

Jump to

Keyboard shortcuts

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