Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoJS = errors.New("specbuild: no JS code found")
ErrNoJS is returned by Generate when no JS code was found, meaning that the legacy code should be run instead.
Functions ¶
func PerformActions ¶
func PerformActions(ctx context.Context, cli client.CommonAPIClient, containerID string, actions []Action) error
PerformActions performs the given actions on the specified container.
Types ¶
type Action ¶
type Action struct { Action string User string WorkingDir string // Exec action Cmd []string Env []string Stdin *string // Write/append option Contents string ContentsBase64 bool Filename string // Gobuild action SrcPath string Packages []string LDFlags string // Parallel action Subactions []Action }
Action defines an action that can be performed on a running container.
Click to show internal directories.
Click to hide internal directories.