run

package
v0.0.0-...-bee9f94 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Artifact

type Artifact struct {
	Path     string
	Checksum map[string]string
	Time     time.Time
}

Artifact abstracts a file with the items we're interested in monitoring

type Run

type Run struct {
	SpecURL    string
	IsSuccess  bool
	IsRunning  bool
	Params     []string
	Steps      []Step
	Artifacts  []Artifact
	StartTime  time.Time
	EndTime    time.Time
	SystemData interface{}
}

type Step

type Step struct {
	Command     string // Command run
	Image       string // Container image used for the step
	IsSuccess   bool
	Params      []string
	StartTime   time.Time // Start time of the step
	EndTime     time.Time
	Environment map[string]string
}

Step is the interface that defines the behaviour of a build step the exec runner can execute

Jump to

Keyboard shortcuts

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