workflow

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2023 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
	Name             string
	Image            string
	Cmd              string
	Args             []string
	Env              map[string]string
	Volumes          []string
	NetworkNamespace string
}

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
	Actions []Action
}

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