Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion command/attach/attach.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/hashicorp/nomad/api"
"github.com/mitchellh/colorstring"
"github.com/seatgeek/nomad-helper/helpers"
cli "github.com/urfave/cli"
"github.com/urfave/cli"
)

func Run(c *cli.Context) error {
Expand Down
2 changes: 1 addition & 1 deletion command/namespace/gc.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/hashicorp/nomad/api"
log "github.com/sirupsen/logrus"
cli "github.com/urfave/cli"
"github.com/urfave/cli"
)

func GC(c *cli.Context, logger *log.Logger) error {
Expand Down
2 changes: 1 addition & 1 deletion command/node/breakdown_cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/seatgeek/nomad-helper/helpers"
log "github.com/sirupsen/logrus"
cli "github.com/urfave/cli"
"github.com/urfave/cli"
)

func BreakdownCLI(c *cli.Context, logger *log.Logger) error {
Expand Down
2 changes: 1 addition & 1 deletion command/node/discover_cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/seatgeek/nomad-helper/helpers"
log "github.com/sirupsen/logrus"
cli "github.com/urfave/cli"
"github.com/urfave/cli"
)

var ignoredNodeAttributes = map[string]interface{}{
Expand Down
2 changes: 1 addition & 1 deletion command/node/eligibility.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/hashicorp/nomad/api"
"github.com/seatgeek/nomad-helper/helpers"
log "github.com/sirupsen/logrus"
cli "github.com/urfave/cli"
"github.com/urfave/cli"
)

func Eligibility(c *cli.Context, logger *log.Logger) error {
Expand Down
2 changes: 1 addition & 1 deletion command/node/empty_cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/seatgeek/nomad-helper/helpers"
log "github.com/sirupsen/logrus"
cli "github.com/urfave/cli"
"github.com/urfave/cli"
)

func EmptyCLI(c *cli.Context, logger *log.Logger) error {
Expand Down
2 changes: 1 addition & 1 deletion command/node/empty_shared.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/hashicorp/nomad/api"
"github.com/seatgeek/nomad-helper/helpers"
log "github.com/sirupsen/logrus"
cli "github.com/urfave/cli"
"github.com/urfave/cli"
)

var emptyDefaultFields = []string{"name", "status", "SchedulingEligibility", "drain", "class"}
Expand Down
2 changes: 1 addition & 1 deletion command/node/list_cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/olekukonko/tablewriter"
"github.com/seatgeek/nomad-helper/helpers"
log "github.com/sirupsen/logrus"
cli "github.com/urfave/cli"
"github.com/urfave/cli"
)

func ListCLI(c *cli.Context, logger *log.Logger) error {
Expand Down
2 changes: 1 addition & 1 deletion command/node/shared.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/hashicorp/nomad/api"
"github.com/seatgeek/nomad-helper/helpers"
log "github.com/sirupsen/logrus"
cli "github.com/urfave/cli"
"github.com/urfave/cli"
)

func get(m []*result, name string) (*result, bool) {
Expand Down
2 changes: 1 addition & 1 deletion command/node/stats.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"strings"

log "github.com/sirupsen/logrus"
cli "github.com/urfave/cli"
"github.com/urfave/cli"
)

func Stats(c *cli.Context) error {
Expand Down
2 changes: 1 addition & 1 deletion command/scale/export.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/seatgeek/nomad-helper/nomad"
"github.com/seatgeek/nomad-helper/structs"
log "github.com/sirupsen/logrus"
yaml "gopkg.in/yaml.v2"
"gopkg.in/yaml.v2"
)

func ExportCommand(file string) error {
Expand Down
2 changes: 1 addition & 1 deletion command/scale/import.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/seatgeek/nomad-helper/nomad"
"github.com/seatgeek/nomad-helper/structs"
log "github.com/sirupsen/logrus"
yaml "gopkg.in/yaml.v2"
"gopkg.in/yaml.v2"
)

func ImportCommand(file string) error {
Expand Down
2 changes: 1 addition & 1 deletion command/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"github.com/seatgeek/nomad-helper/command/node"
"github.com/seatgeek/nomad-helper/helpers"
log "github.com/sirupsen/logrus"
cli "github.com/urfave/cli"
"github.com/urfave/cli"
)

func Run(a *cli.App, c *cli.Context, logger *log.Logger) error {
Expand Down
2 changes: 1 addition & 1 deletion command/tail/tail.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"github.com/hashicorp/nomad/api"
"github.com/seatgeek/nomad-helper/helpers"
log "github.com/sirupsen/logrus"
cli "github.com/urfave/cli"
"github.com/urfave/cli"
)

const (
Expand Down
156 changes: 89 additions & 67 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,103 +1,125 @@
module github.com/seatgeek/nomad-helper

go 1.19
go 1.23.3

toolchain go1.23.5

require (
github.com/Jeffail/tunny v0.0.0-20210126202424-1b37d6cb867a
github.com/Jeffail/tunny v0.1.4
github.com/alecthomas/chroma v0.10.0
github.com/buildkite/terminal-to-html v3.2.0+incompatible
github.com/gorilla/mux v1.8.0
github.com/hashicorp/nomad v1.4.2
github.com/hashicorp/nomad/api v0.0.0-20221006174558-2aa7e66bdb52
github.com/gorilla/mux v1.8.1
github.com/hashicorp/nomad v1.7.7
github.com/hashicorp/nomad/api v0.0.0-20250304162145-7a051991bd17
github.com/karlseguin/ccache v2.0.3+incompatible
github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db
github.com/olekukonko/tablewriter v0.0.5
github.com/schollz/progressbar/v2 v2.15.0
github.com/sirupsen/logrus v1.9.0
github.com/urfave/cli v1.22.5
github.com/sirupsen/logrus v1.9.3
github.com/urfave/cli v1.22.16
gopkg.in/workanator/go-ataman.v1 v1.0.0-20201223053604-e3b73d2e8108
gopkg.in/yaml.v2 v2.4.0
)

require (
github.com/Masterminds/semver/v3 v3.2.1 // indirect
github.com/agext/levenshtein v1.2.3 // indirect
github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect
github.com/armon/go-metrics v0.4.1 // indirect
github.com/armon/go-radix v1.0.0 // indirect
github.com/brianvoe/gofakeit/v6 v6.19.0 // indirect
github.com/cenkalti/backoff/v3 v3.2.2 // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/dlclark/regexp2 v1.4.0 // indirect
github.com/fatih/color v1.13.0 // indirect
github.com/frankban/quicktest v1.14.0 // indirect
github.com/go-test/deep v1.0.3 // indirect
github.com/golang-jwt/jwt/v4 v4.4.2 // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/golang/snappy v0.0.4 // indirect
github.com/google/btree v1.0.0 // indirect
github.com/gorilla/websocket v1.5.0 // indirect
github.com/hashicorp/consul/api v1.15.3 // indirect
github.com/hashicorp/cronexpr v1.1.1 // indirect
github.com/brianvoe/gofakeit/v6 v6.28.0 // indirect
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.6 // indirect
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
github.com/dlclark/regexp2 v1.11.5 // indirect
github.com/fatih/color v1.18.0 // indirect
github.com/felixge/httpsnoop v1.0.4 // indirect
github.com/go-jose/go-jose/v3 v3.0.4 // indirect
github.com/go-jose/go-jose/v4 v4.0.5 // indirect
github.com/go-ole/go-ole v1.3.0 // indirect
github.com/go-test/deep v1.1.1 // indirect
github.com/gojuno/minimock/v3 v3.4.5 // indirect
github.com/golang-jwt/jwt/v5 v5.2.1 // indirect
github.com/golang/protobuf v1.5.4 // indirect
github.com/google/btree v1.1.3 // indirect
github.com/google/go-cmp v0.7.0 // indirect
github.com/gorilla/websocket v1.5.3 // indirect
github.com/hashicorp/consul/api v1.31.2 // indirect
github.com/hashicorp/cronexpr v1.1.2 // indirect
github.com/hashicorp/errwrap v1.1.0 // indirect
github.com/hashicorp/go-bexpr v0.1.14 // indirect
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
github.com/hashicorp/go-hclog v1.3.1 // indirect
github.com/hashicorp/go-hclog v1.6.3 // indirect
github.com/hashicorp/go-immutable-radix v1.3.1 // indirect
github.com/hashicorp/go-memdb v1.3.4 // indirect
github.com/hashicorp/go-msgpack v1.1.5 // indirect
github.com/hashicorp/go-immutable-radix/v2 v2.1.0 // indirect
github.com/hashicorp/go-memdb v1.3.5 // indirect
github.com/hashicorp/go-metrics v0.5.4 // indirect
github.com/hashicorp/go-msgpack v1.1.6-0.20240304204939-8824e8ccc35f // indirect
github.com/hashicorp/go-msgpack/v2 v2.1.3 // indirect
github.com/hashicorp/go-multierror v1.1.1 // indirect
github.com/hashicorp/go-plugin v1.4.3 // indirect
github.com/hashicorp/go-retryablehttp v0.7.0 // indirect
github.com/hashicorp/go-plugin v1.6.3 // indirect
github.com/hashicorp/go-retryablehttp v0.7.7 // indirect
github.com/hashicorp/go-rootcerts v1.0.2 // indirect
github.com/hashicorp/go-secure-stdlib/mlock v0.1.2 // indirect
github.com/hashicorp/go-secure-stdlib/parseutil v0.1.6 // indirect
github.com/hashicorp/go-secure-stdlib/parseutil v0.1.9 // indirect
github.com/hashicorp/go-secure-stdlib/strutil v0.1.2 // indirect
github.com/hashicorp/go-set v0.1.6 // indirect
github.com/hashicorp/go-sockaddr v1.0.2 // indirect
github.com/hashicorp/go-secure-stdlib/tlsutil v0.1.3 // indirect
github.com/hashicorp/go-set/v2 v2.1.0 // indirect
github.com/hashicorp/go-sockaddr v1.0.7 // indirect
github.com/hashicorp/go-uuid v1.0.3 // indirect
github.com/hashicorp/go-version v1.6.0 // indirect
github.com/hashicorp/golang-lru v0.5.4 // indirect
github.com/hashicorp/hcl v1.0.1-vault-3 // indirect
github.com/hashicorp/memberlist v0.4.0 // indirect
github.com/hashicorp/raft v1.3.11 // indirect
github.com/hashicorp/raft-autopilot v0.1.6 // indirect
github.com/hashicorp/serf v0.10.0 // indirect
github.com/hashicorp/vault/api v1.8.1 // indirect
github.com/hashicorp/vault/sdk v0.6.0 // indirect
github.com/hashicorp/yamux v0.0.0-20211028200310-0bc27b27de87 // indirect
github.com/hashicorp/go-version v1.7.0 // indirect
github.com/hashicorp/golang-lru v1.0.2 // indirect
github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect
github.com/hashicorp/hcl v1.0.1-vault-7 // indirect
github.com/hashicorp/hcl/v2 v2.23.0 // indirect
github.com/hashicorp/memberlist v0.5.3 // indirect
github.com/hashicorp/raft v1.7.2 // indirect
github.com/hashicorp/raft-autopilot v0.3.0 // indirect
github.com/hashicorp/serf v0.10.2 // indirect
github.com/hashicorp/vault/api v1.16.0 // indirect
github.com/hashicorp/yamux v0.1.2 // indirect
github.com/karlseguin/expect v1.0.1 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.16 // indirect
github.com/mattn/go-runewidth v0.0.12 // indirect
github.com/miekg/dns v1.1.50 // indirect
github.com/lufia/plan9stats v0.0.0-20250303091104-876f3ea5145d // indirect
github.com/mattn/go-colorable v0.1.14 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/mattn/go-runewidth v0.0.16 // indirect
github.com/miekg/dns v1.1.63 // indirect
github.com/mitchellh/copystructure v1.2.0 // indirect
github.com/mitchellh/go-homedir v1.1.0 // indirect
github.com/mitchellh/go-testing-interface v1.14.1 // indirect
github.com/mitchellh/go-testing-interface v1.14.2-0.20210821155943-2d9075ca8770 // indirect
github.com/mitchellh/go-wordwrap v1.0.1 // indirect
github.com/mitchellh/hashstructure v1.1.0 // indirect
github.com/mitchellh/mapstructure v1.5.0 // indirect
github.com/mitchellh/pointerstructure v1.2.1 // indirect
github.com/mitchellh/reflectwalk v1.0.2 // indirect
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e // indirect
github.com/oklog/run v1.1.0 // indirect
github.com/pierrec/lz4 v2.6.1+incompatible // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/rivo/uniseg v0.2.0 // indirect
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55 // indirect
github.com/rivo/uniseg v0.4.7 // indirect
github.com/rogpeppe/go-internal v1.12.0 // indirect
github.com/russross/blackfriday/v2 v2.1.0 // indirect
github.com/ryanuber/go-glob v1.0.0 // indirect
github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 // indirect
github.com/stretchr/testify v1.8.1 // indirect
github.com/shirou/gopsutil/v3 v3.24.5 // indirect
github.com/shoenig/go-m1cpu v0.1.6 // indirect
github.com/shopspring/decimal v1.4.0 // indirect
github.com/stretchr/objx v0.5.2 // indirect
github.com/stretchr/testify v1.10.0 // indirect
github.com/tklauser/go-sysconf v0.3.14 // indirect
github.com/tklauser/numcpus v0.9.0 // indirect
github.com/wsxiaoys/terminal v0.0.0-20160513160801-0940f3fc43a0 // indirect
go.uber.org/atomic v1.9.0 // indirect
golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d // indirect
golang.org/x/exp v0.0.0-20220921164117-439092de6870 // indirect
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4 // indirect
golang.org/x/net v0.0.0-20220906165146-f3363e06e74c // indirect
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4 // indirect
golang.org/x/sys v0.1.0 // indirect
golang.org/x/text v0.3.8 // indirect
golang.org/x/time v0.0.0-20220224211638-0e9765cccd65 // indirect
golang.org/x/tools v0.1.12 // indirect
google.golang.org/genproto v0.0.0-20220314164441-57ef72a4c106 // indirect
google.golang.org/grpc v1.48.0 // indirect
google.golang.org/protobuf v1.28.1 // indirect
gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f // indirect
gopkg.in/square/go-jose.v2 v2.6.0 // indirect
github.com/yusufpapurcu/wmi v1.2.4 // indirect
github.com/zclconf/go-cty v1.16.2 // indirect
golang.org/x/crypto v0.35.0 // indirect
golang.org/x/exp v0.0.0-20250228200357-dead58393ab7 // indirect
golang.org/x/mod v0.24.0 // indirect
golang.org/x/net v0.36.0 // indirect
golang.org/x/sync v0.12.0 // indirect
golang.org/x/sys v0.31.0 // indirect
golang.org/x/text v0.22.0 // indirect
golang.org/x/time v0.11.0 // indirect
golang.org/x/tools v0.30.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20250303144028-a0af3efb3deb // indirect
google.golang.org/grpc v1.71.0 // indirect
google.golang.org/protobuf v1.36.5 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
oss.indeed.com/go/libtime v1.6.0 // indirect
)
Loading