slomad

command
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2023 License: MIT Imports: 7 Imported by: 0

README

slomad

import "github.com/ecshreve/slomad/cmd/slomad"

Index

func RunDeploy

func RunDeploy(j *slomad.Job, confirm, force, verbose bool) error

RunDeploy runs a deploy for the given job.

func RunTraefikDeploy

func RunTraefikDeploy(confirm bool) error

func main

func main()

func newNomadClient

func newNomadClient() (*nomadApi.Client, error)

func planApiJob

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

func submitApiJob(nomadClient *nomadApi.Client, job *nomadApi.Job) error

submitApiJob creates a nomad api client, and submits the job to nomad.

Generated by gomarkdoc

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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