diff --git a/go.mod b/go.mod index 7283c9c..d83a21a 100644 --- a/go.mod +++ b/go.mod @@ -1,10 +1,12 @@ -module github.com/schmichael/nomad-nodesim +module github.com/hashicorp-forge/nomad-nodesim go 1.21 require ( github.com/hashicorp/consul/api v1.26.1 github.com/hashicorp/go-hclog v1.5.0 + github.com/hashicorp/go-version v1.6.0 + github.com/hashicorp/hcl/v2 v2.14.1 github.com/hashicorp/nomad v1.7.1 golang.org/x/exp v0.0.0-20231006140011-7918f672742d ) @@ -116,11 +118,9 @@ require ( github.com/hashicorp/go-set/v2 v2.1.0 // indirect github.com/hashicorp/go-sockaddr v1.0.2 // 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/golang-lru/v2 v2.0.1 // indirect github.com/hashicorp/hcl v1.0.1-vault-3 // indirect - github.com/hashicorp/hcl/v2 v2.14.1 // indirect github.com/hashicorp/mdns v1.0.5 // indirect github.com/hashicorp/memberlist v0.5.0 // indirect github.com/hashicorp/net-rpc-msgpackrpc v0.0.0-20151116020338-a14192a58a69 // indirect diff --git a/main.go b/main.go index 2569c21..6cd5678 100644 --- a/main.go +++ b/main.go @@ -13,6 +13,12 @@ import ( "sync" "time" + "github.com/hashicorp-forge/nomad-nodesim/allocrunnersim" + internalConfig "github.com/hashicorp-forge/nomad-nodesim/internal/config" + internalSimnode "github.com/hashicorp-forge/nomad-nodesim/internal/simnode" + "github.com/hashicorp-forge/nomad-nodesim/pluginsim" + "github.com/hashicorp-forge/nomad-nodesim/simconsul" + "github.com/hashicorp-forge/nomad-nodesim/simnode" "github.com/hashicorp/go-hclog" "github.com/hashicorp/nomad/client" "github.com/hashicorp/nomad/client/config" @@ -23,12 +29,6 @@ import ( "github.com/hashicorp/nomad/nomad/structs" structsc "github.com/hashicorp/nomad/nomad/structs/config" "github.com/hashicorp/nomad/version" - "github.com/schmichael/nomad-nodesim/allocrunnersim" - internalConfig "github.com/schmichael/nomad-nodesim/internal/config" - internalSimnode "github.com/schmichael/nomad-nodesim/internal/simnode" - "github.com/schmichael/nomad-nodesim/pluginsim" - "github.com/schmichael/nomad-nodesim/simconsul" - "github.com/schmichael/nomad-nodesim/simnode" "golang.org/x/exp/slog" )