docker

package
v2.11.1 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NewExecEnv = newExecEnv
View Source
var NewTask = newTask

Functions

This section is empty.

Types

type ExecEnv

type ExecEnv struct {
	// contains filtered or unexported fields
}

func (ExecEnv) Cleanup

func (e ExecEnv) Cleanup(ctx context.Context, out io.Writer) error

func (ExecEnv) GetContainerID

func (e ExecEnv) GetContainerID(image string) (string, bool)

func (ExecEnv) PrepareActions

func (e ExecEnv) PrepareActions(ctx context.Context, out io.Writer, allbuilds, _ []graph.Artifact, acsNames []string) ([]actions.Action, error)

func (ExecEnv) Stop

func (e ExecEnv) Stop()

func (ExecEnv) TrackContainerFromBuild

func (e ExecEnv) TrackContainerFromBuild(art graph.Artifact, cID string, cName string)

type Task

type Task struct {
	// contains filtered or unexported fields
}

func (Task) Cleanup

func (t Task) Cleanup(ctx context.Context, out io.Writer) error

func (Task) Exec

func (t Task) Exec(ctx context.Context, out io.Writer) error

func (Task) Name

func (t Task) Name() string

Jump to

Keyboard shortcuts

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