Registry / cloud / hashicorp-nomad-api

hashicorp-nomad-api

JSON →
librarygogounverified

Package api provides a Go client for the HashiCorp Nomad HTTP API.

go get github.com/hashicorp/nomad/api
INSTALL
IMPORT
SIG · HASHICORP-NOMAD-AP
H
hashicorp-nomad-api
cloudgo
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

api
github.com/hashicorp/nomad/api

Create a Nomad client and list jobs.

package main import ( "fmt" "github.com/hashicorp/nomad/api" ) func main() { client, _ := api.NewClient(api.DefaultConfig()) jobs, _, _ := client.Jobs().List(nil) fmt.Println(jobs) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
hashicorp-nomad-api — go get hashicorp-nomad-api · libregistry