runs

package
v0.0.71 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(cfg api.Config, workspace types.Workspace, runConfig *types.RunConfig, isApproved *bool, isDestroy bool) (*types.Run, error)

func GetBrowserUrl added in v0.0.69

func GetBrowserUrl(cfg api.Config, workspace types.Workspace, run types.Run) string

func GetPromotion

func GetPromotion(cfg api.Config, workspace types.Workspace, moduleSourceOverride string) (*types.RunConfig, error)

GetPromotion retrieves a run configuration from the previous environment or block configuration moduleSourceOverride allows overriding of the returned run config based on <module-source>@<module-source-version>

func SetRunConfigVars

func SetRunConfigVars(rc *types.RunConfig, varFlags []string) ([]string, error)

func StreamLogs

func StreamLogs(ctx context.Context, cfg api.Config, workspace types.Workspace, newRun *types.Run) error

StreamLogs streams the logs from the server over a websocket The logs are emitted to stdout

Types

This section is empty.

Jump to

Keyboard shortcuts

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