Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TriggerDeployment ¶
func TriggerDeployment(config *DeployConfig, nomadClient *nomad.Client) bool
TriggerDeployment provides the main entry point into a Levant deployment and is used to setup the clients before triggering the deployment process.
func TriggerDispatch ¶
TriggerDispatch provides the main entry point into a Levant dispatch and is used to setup the clients before triggering the dispatch process.
func TriggerPlan ¶
func TriggerPlan(config *PlanConfig) (bool, bool)
TriggerPlan initiates a Levant plan run.
Types ¶
type DeployConfig ¶
type DeployConfig struct { Deploy *structs.DeployConfig Client *structs.ClientConfig Plan *structs.PlanConfig Template *structs.TemplateConfig }
DeployConfig is the set of config structs required to run a Levant deploy.
type PlanConfig ¶
type PlanConfig struct { Client *structs.ClientConfig Plan *structs.PlanConfig Template *structs.TemplateConfig }
PlanConfig is the set of config structs required to run a Levant plan.
type TaskCoordinate ¶
TaskCoordinate is a coordinate for an allocation/task combination
Source Files ¶
Click to show internal directories.
Click to hide internal directories.