nomad

package
v0.0.0-...-33ab173 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2021 License: LGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDeployer

func NewDeployer(t *testing.T, nomadServerAddress string) (*deployerImpl, error)

NewDeployer creates a new instance of a helper that can deploy nomad jobs

func NewJobDescription

func NewJobDescription(jobName, datacenter, dockerImage string, count int, envVars map[string]string) *nomadApi.Job

NewJobDescription creates a new default job description that can be used to deploy a nomad job. Per default the type of that job is 'service'.

Types

This section is empty.

Jump to

Keyboard shortcuts

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