runtime

package
v0.0.0-...-7426b64 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: BSD-3-Clause Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRuntimeProgressIndicator

func NewRuntimeProgressIndicator(out output.Outputer) events.Handler

func SolveAndUpdate

func SolveAndUpdate(
	auth *authentication.Auth,
	out output.Outputer,
	an analytics.Dispatcher,
	proj *project.Project,
	customCommitID *strfmt.UUID,
	trigger target.Trigger,
	svcm *model.SvcModel,
	cfg Configurable,
	opts Opts,
) (_ *runtime.Runtime, rerr error)

SolveAndUpdate should be called after runtime mutations.

func UpdateByReference

func UpdateByReference(
	rt *runtime.Runtime,
	buildResult *model.BuildResult,
	commit *bpModel.Commit,
	auth *authentication.Auth,
	proj *project.Project,
	out output.Outputer,
) (rerr error)

UpdateByReference will update the given runtime if necessary. This is functionally the same as SolveAndUpdateByReference except that it does not do its own solve.

Types

type Configurable

type Configurable interface {
	GetString(key string) string
	GetBool(key string) bool
}

type Opts

type Opts int
const (
	OptNone         Opts = 1 << iota
	OptMinimalUI         // Only print progress output, don't decorate the UI in any other way
	OptOrderChanged      // Indicate that the order has changed, and the runtime should be refreshed regardless of internal dirty checking mechanics
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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