imaginator

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 4 Imported by: 18

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildImageRequest

type BuildImageRequest struct {
	DisableRecursiveBuild bool
	ExpiresIn             time.Duration
	GitBranch             string
	MaxSourceAge          time.Duration
	ReturnImage           bool
	StreamBuildLog        bool
	StreamName            string
	Variables             map[string]string
}

type BuildImageResponse

type BuildImageResponse struct {
	Image                     *image.Image
	ImageName                 string
	BuildLog                  []byte
	ErrorString               string
	NeedSourceImage           bool // True if source image missing/too old.
	SourceImage               string
	SourceImageBuildVariables map[string]string
	SourceImageGitCommitId    string
}

type DisableAutoBuildsRequest added in v0.3.4

type DisableAutoBuildsRequest struct {
	DisableFor time.Duration
}

type DisableAutoBuildsResponse added in v0.3.4

type DisableAutoBuildsResponse struct {
	DisabledUntil time.Time
	Error         string
}

type DisableBuildRequestsRequest added in v0.3.4

type DisableBuildRequestsRequest struct {
	DisableFor time.Duration
}

type DisableBuildRequestsResponse added in v0.3.4

type DisableBuildRequestsResponse struct {
	DisabledUntil time.Time
	Error         string
}

type GetDependenciesRequest added in v0.3.2

type GetDependenciesRequest struct {
	MaxAge time.Duration
}

type GetDependenciesResponse added in v0.3.2

type GetDependenciesResponse struct {
	GetDependenciesResult
	Error string
}

type GetDependenciesResult added in v0.3.2

type GetDependenciesResult struct {
	FetchLog           []byte
	GeneratedAt        time.Time
	LastAttemptAt      time.Time
	LastAttemptError   string
	StreamToSource     map[string]string // K: stream name, V: source stream.
	UnbuildableSources map[string]struct{}
}

type GetDirectedGraphRequest added in v0.3.2

type GetDirectedGraphRequest struct {
	Excludes []string
	Includes []string
	MaxAge   time.Duration
}

type GetDirectedGraphResponse added in v0.3.2

type GetDirectedGraphResponse struct {
	GetDirectedGraphResult
	Error string
}

type GetDirectedGraphResult added in v0.3.2

type GetDirectedGraphResult struct {
	FetchLog         []byte
	GeneratedAt      time.Time
	GraphvizDot      []byte
	LastAttemptAt    time.Time
	LastAttemptError string
}

type ReplaceIdleSlavesRequest added in v0.3.3

type ReplaceIdleSlavesRequest struct {
	ImmediateGetNew bool
}

type ReplaceIdleSlavesResponse added in v0.3.3

type ReplaceIdleSlavesResponse struct {
	Error string
}

Jump to

Keyboard shortcuts

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