slomad
import "github.com/ecshreve/slomad/cmd/slomad"
Index
func RunDeploy(j *slomad.Job, confirm, force, verbose bool) error
RunDeploy runs a deploy for the given job.
func RunTraefikDeploy(confirm bool) error
func main()
func newNomadClient() (*nomadApi.Client, error)
func planApiJob(nomadClient *nomadApi.Client, job *nomadApi.Job) error
planApiJob creates a nomad api client, and runs a plan for the given job, printing the output diff.
func submitApiJob(nomadClient *nomadApi.Client, job *nomadApi.Job) error
submitApiJob creates a nomad api client, and submits the job to nomad.
Generated by gomarkdoc