Documentation ¶
Index ¶
- Variables
- func Create(cfg api.Config, workspace types.Workspace, isApproved *bool, isDestroy bool) (*types.Run, error)
- func GetBrowserUrl(cfg api.Config, workspace types.Workspace, run types.Run) string
- func SetConfigVars(cfg api.Config, workspace types.Workspace, varFlags []string) error
- func SetModuleVersion(cfg api.Config, workspace types.Workspace, input types.WorkspaceModuleInput) error
- func StreamLogs(ctx context.Context, cfg api.Config, workspace types.Workspace, ...) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrRunDisapproved = errors.New("run was disapproved")
)
Functions ¶
func GetBrowserUrl ¶ added in v0.0.69
func SetConfigVars ¶ added in v0.0.92
SetConfigVars takes the input vars and stores them as workspace_changes via the API TODO: once the api supports it, return any flags that aren't valid for the module version and were skipped
func SetModuleVersion ¶ added in v0.0.92
func SetModuleVersion(cfg api.Config, workspace types.Workspace, input types.WorkspaceModuleInput) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.