Help us shape the future of Go! Take the 2026 Go Developer Survey

workflow

package
v0.12.2 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2025 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package workflow contains workflow domain objects. The domain objects will be moved to /internal/workflow at a later date when they are required/we transition to the new codebase.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

type Action struct {
	ID               string            `yaml:"id"`
	Name             string            `yaml:"name"`
	Image            string            `yaml:"image"`
	Cmd              string            `yaml:"cmd"`
	Args             []string          `yaml:"args"`
	Env              map[string]string `yaml:"env"`
	Volumes          []string          `yaml:"volumes"`
	NetworkNamespace string            `yaml:"networkNamespace"`
}

Action represents an individually runnable action.

func (Action) String

func (a Action) String() string

type Workflow

type Workflow struct {
	// Do we need a workflow name? Does that even come down in the proto definition?
	ID      string   `yaml:"id"`
	Actions []Action `yaml:"actions"`
}

Workflow represents a runnable workflow for the Handler.

func (Workflow) String

func (w Workflow) String() string

Jump to

Keyboard shortcuts

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