cmd

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecWrapper

func ExecWrapper(f func(ctx *cli.Context) (int, error)) cli.ActionFunc

ExecWrapper gracefully logs and exits our `run` functions

func Render

func Render(ctx *cli.Context) (int, error)

Render handles the processing of the variables and update of their values on supported providers (tfc or local)

func RunApprove

func RunApprove(ctx *cli.Context) (int, error)

RunApprove approve a run on TFC

func RunCreate

func RunCreate(ctx *cli.Context) (int, error)

RunCreate create a run on TFC

func RunCurrentID

func RunCurrentID(ctx *cli.Context) (int, error)

RunCurrentID return the ID of the current run on TFC

func RunDiscard

func RunDiscard(ctx *cli.Context) (int, error)

RunDiscard discard a run on TFC

func WorkspaceConfigure

func WorkspaceConfigure(ctx *cli.Context) (int, error)

WorkspaceConfigure configures the workspace

func WorkspaceDeleteVariables

func WorkspaceDeleteVariables(ctx *cli.Context) (int, error)

WorkspaceDeleteVariables removes managed or all variables on TFC

func WorkspaceDisableOperations

func WorkspaceDisableOperations(ctx *cli.Context) (int, error)

WorkspaceDisableOperations disable operations on the workspace

func WorkspaceEnableOperations

func WorkspaceEnableOperations(ctx *cli.Context) (int, error)

WorkspaceEnableOperations enable operations on the workspace

func WorkspaceStatus

func WorkspaceStatus(ctx *cli.Context) (int, error)

WorkspaceStatus return status of the workspace on TFC

Types

This section is empty.

Jump to

Keyboard shortcuts

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