nomad

package
v0.0.0-...-a49c774 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NomadClient

type NomadClient struct {
	*api.Client
}

func New

func New() (NomadClient, error)

func (NomadClient) InspectJob

func (client NomadClient) InspectJob(ns string, job string) (string, *api.Job, error)

func (NomadClient) ListJobs

func (client NomadClient) ListJobs(ns string) ([]string, error)

func (NomadClient) ListNs

func (client NomadClient) ListNs() ([]string, error)

Jump to

Keyboard shortcuts

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