Documentation ¶
Index ¶
- Constants
- func ConvergeDeployment(context Context, depl *state.DeploymentState, refresh bool) error
- func MarkDeploymentFailed(context Context, err error, errorCode state.StatusCode) error
- func SaveExtraInputsAndProvidersInDeploymentState(context Context, stage string, extraVars map[string]interface{}, ...) error
- func SetExtraProviders(context Context, stage string, extraProviders map[string]string) error
- type BuildController
- type ConfigController
- func (ConfigController) ActiveProfile(context Context) *ControllerResult
- func (ConfigController) CreateProfile(context Context, targetName string) *ControllerResult
- func (ConfigController) ListProfiles(context Context) *ControllerResult
- func (ConfigController) SetProfile(context Context, profile string) *ControllerResult
- func (ConfigController) ShowProfile(context Context, json bool) *ControllerResult
- func (ConfigController) ShowProfileField(context Context, field string) *ControllerResult
- type ControllerResult
- type ConvergeController
- type DeployController
- type DepsController
- type DestroyController
- type ErrandsController
- type FetchController
- type HumanOutput
- type InventoryController
- type LoginController
- type PackageController
- type PlanController
- func (p PlanController) Compile(context Context)
- func (p PlanController) Diff(context Context) error
- func (p PlanController) Format(context Context, outputLocation string) error
- func (p PlanController) Get(context Context, field string) error
- func (p PlanController) Init(context Context, build_id, output_file string, force, minify bool) error
- func (p PlanController) Minify(context Context, outputLocation string) error
- type PromoteController
- type PullController
- type PushController
- type ReleaseController
- type SmokeController
- type StateController
- func (p StateController) CreateState(context Context, stage string, extraVars map[string]interface{}, ...) error
- func (p StateController) ListDeployments(context Context) *ControllerResult
- func (p StateController) ShowDeployment(context Context, dep string) error
- func (p StateController) ShowProviders(context Context) *ControllerResult
- type TestController
Constants ¶
View Source
const BackoffStart = 1
Variables ¶
This section is empty.
Functions ¶
func ConvergeDeployment ¶
func ConvergeDeployment(context Context, depl *state.DeploymentState, refresh bool) error
func MarkDeploymentFailed ¶
func MarkDeploymentFailed(context Context, err error, errorCode state.StatusCode) error
Types ¶
type BuildController ¶
type BuildController struct{}
type ConfigController ¶
type ConfigController struct{}
func (ConfigController) ActiveProfile ¶
func (ConfigController) ActiveProfile(context Context) *ControllerResult
func (ConfigController) CreateProfile ¶
func (ConfigController) CreateProfile(context Context, targetName string) *ControllerResult
func (ConfigController) ListProfiles ¶
func (ConfigController) ListProfiles(context Context) *ControllerResult
func (ConfigController) SetProfile ¶
func (ConfigController) SetProfile(context Context, profile string) *ControllerResult
func (ConfigController) ShowProfile ¶
func (ConfigController) ShowProfile(context Context, json bool) *ControllerResult
func (ConfigController) ShowProfileField ¶
func (ConfigController) ShowProfileField(context Context, field string) *ControllerResult
type ControllerResult ¶
type ControllerResult struct { HumanOutput *HumanOutput MarshalableOutput interface{} Error error }
func NewControllerResult ¶
func NewControllerResult() *ControllerResult
func (ControllerResult) Print ¶
func (r ControllerResult) Print(jsonFlag bool) error
type ConvergeController ¶
type ConvergeController struct{}
func (ConvergeController) Converge ¶
func (ConvergeController) Converge(context Context, refresh bool) error
type DeployController ¶
type DeployController struct{}
func (DeployController) Deploy ¶
func (d DeployController) Deploy(context Context, extraVars map[string]interface{}, extraProviders map[string]string) error
func (DeployController) FetchAndDeploy ¶
type DepsController ¶
type DepsController struct{}
func (DepsController) Fetch ¶
func (DepsController) Fetch(context Context) error
type DestroyController ¶
type DestroyController struct{}
func (DestroyController) Destroy ¶
func (DestroyController) Destroy(context Context, destroyBuild, destroyDeployment bool) error
func (DestroyController) FetchAndDestroy ¶
func (d DestroyController) FetchAndDestroy(context Context, releaseId string, destroyBuild, destroyDeployment bool) error
type ErrandsController ¶
type ErrandsController struct{}
func (ErrandsController) List ¶
func (ErrandsController) List(context Context) *ControllerResult
func (ErrandsController) Run ¶
func (ErrandsController) Run(context Context, errandStr string, extraVars map[string]interface{}) error
func (ErrandsController) RunRemoteErrand ¶
func (e ErrandsController) RunRemoteErrand(context Context, errandStr string, extraVars map[string]interface{}) error
type FetchController ¶
type FetchController struct{}
func (FetchController) Fetch ¶
func (FetchController) Fetch(context Context, releaseIds []string) error
func (FetchController) ResolveFetchAndLoad ¶
func (f FetchController) ResolveFetchAndLoad(context Context, releaseId string) error
type HumanOutput ¶
type HumanOutput struct {
// contains filtered or unexported fields
}
func NewHumanOutput ¶
func NewHumanOutput(format string, a ...interface{}) *HumanOutput
func (*HumanOutput) AddLine ¶
func (h *HumanOutput) AddLine(a string, a1 ...interface{})
func (*HumanOutput) AddList ¶
func (h *HumanOutput) AddList(listToAdd []interface{})
func (*HumanOutput) AddMap ¶
func (h *HumanOutput) AddMap(mapToAdd map[string]interface{})
func (*HumanOutput) AddStringList ¶
func (h *HumanOutput) AddStringList(listToAdd []string)
type InventoryController ¶
type InventoryController struct{}
func (InventoryController) Query ¶
func (r InventoryController) Query(context Context, project, application, appVersion string) *ControllerResult
type LoginController ¶
type LoginController struct{}
type PackageController ¶
type PackageController struct{}
func (PackageController) Package ¶
func (PackageController) Package(context Context, forceOverwrite bool) error
type PlanController ¶
type PlanController struct{}
func (PlanController) Compile ¶
func (p PlanController) Compile(context Context)
func (PlanController) Diff ¶
func (p PlanController) Diff(context Context) error
func (PlanController) Format ¶
func (p PlanController) Format(context Context, outputLocation string) error
func (PlanController) Get ¶
func (p PlanController) Get(context Context, field string) error
func (PlanController) Init ¶
func (p PlanController) Init(context Context, build_id, output_file string, force, minify bool) error
func (PlanController) Minify ¶
func (p PlanController) Minify(context Context, outputLocation string) error
type PromoteController ¶
type PromoteController struct{}
type PullController ¶
type PullController struct{}
func (PullController) PullReleases ¶
func (PullController) PullReleases(context Context, packages []string) error
type PushController ¶
type PushController struct{}
func (PushController) Push ¶
func (p PushController) Push(context Context, buildFatPackage bool) error
type SmokeController ¶
type SmokeController struct{}
func (SmokeController) FetchAndSmoke ¶
func (s SmokeController) FetchAndSmoke(context Context, releaseId string) error
func (SmokeController) Smoke ¶
func (SmokeController) Smoke(context Context) error
type StateController ¶
type StateController struct{}
func (StateController) CreateState ¶
func (StateController) ListDeployments ¶
func (p StateController) ListDeployments(context Context) *ControllerResult
func (StateController) ShowDeployment ¶
func (p StateController) ShowDeployment(context Context, dep string) error
func (StateController) ShowProviders ¶
func (p StateController) ShowProviders(context Context) *ControllerResult
type TestController ¶
type TestController struct{}
func (TestController) Test ¶
func (TestController) Test(context Context) error
Click to show internal directories.
Click to hide internal directories.