diff options
author | Mike Crute <mike@crute.us> | 2022-11-23 14:19:26 -0800 |
---|---|---|
committer | Mike Crute <mike@crute.us> | 2022-11-23 14:19:26 -0800 |
commit | 6a24803254758541cd73bbdac3341413b5058345 (patch) | |
tree | 1911c16782d0e1a25a96ea9fa39860e2299a8c80 /clients | |
parent | 6a68e49c503416e6fbe7a6241005ba207f253a0d (diff) | |
download | golib-6a24803254758541cd73bbdac3341413b5058345.tar.bz2 golib-6a24803254758541cd73bbdac3341413b5058345.tar.xz golib-6a24803254758541cd73bbdac3341413b5058345.zip |
clients/netbox: migrate to secrets API for v2clients/netbox/v2.0.0
Diffstat (limited to 'clients')
-rw-r--r-- | clients/netbox/client.go | 20 | ||||
-rw-r--r-- | clients/netbox/go.mod | 18 | ||||
-rw-r--r-- | clients/netbox/go.sum | 34 |
3 files changed, 36 insertions, 36 deletions
diff --git a/clients/netbox/client.go b/clients/netbox/client.go index 541ef60..97949f2 100644 --- a/clients/netbox/client.go +++ b/clients/netbox/client.go | |||
@@ -10,7 +10,7 @@ import ( | |||
10 | "net/url" | 10 | "net/url" |
11 | "strconv" | 11 | "strconv" |
12 | 12 | ||
13 | "code.crute.us/mcrute/golib/vault" | 13 | "code.crute.us/mcrute/golib/secrets" |
14 | ) | 14 | ) |
15 | 15 | ||
16 | type NetboxClient interface { | 16 | type NetboxClient interface { |
@@ -18,25 +18,25 @@ type NetboxClient interface { | |||
18 | GetPrefixesWithTag(ctx context.Context, tag string) ([]*net.IPNet, error) | 18 | GetPrefixesWithTag(ctx context.Context, tag string) ([]*net.IPNet, error) |
19 | } | 19 | } |
20 | 20 | ||
21 | func NewNetboxClient(endpoint string, vault vault.VaultClient, vaultMaterial string) NetboxClient { | 21 | func NewNetboxClient(endpoint string, sc secrets.Client, secretName string) NetboxClient { |
22 | return &netboxClient{ | 22 | return &netboxClient{ |
23 | endpoint: endpoint, | 23 | endpoint: endpoint, |
24 | vault: vault, | 24 | secrets: sc, |
25 | vaultMaterial: vaultMaterial, | 25 | secretName: secretName, |
26 | } | 26 | } |
27 | } | 27 | } |
28 | 28 | ||
29 | type netboxClient struct { | 29 | type netboxClient struct { |
30 | vault vault.VaultClient | 30 | secrets secrets.Client |
31 | endpoint string | 31 | endpoint string |
32 | vaultMaterial string | 32 | secretName string |
33 | } | 33 | } |
34 | 34 | ||
35 | var _ NetboxClient = (*netboxClient)(nil) | 35 | var _ NetboxClient = (*netboxClient)(nil) |
36 | 36 | ||
37 | func (c *netboxClient) makeRequestRaw(ctx context.Context, method, u string, ib io.Reader, o interface{}) error { | 37 | func (c *netboxClient) makeRequestRaw(ctx context.Context, method, u string, ib io.Reader, o interface{}) error { |
38 | apiKey, err := c.vault.KVApiKey(ctx, c.vaultMaterial) | 38 | apiKey := &secrets.ApiKey{} |
39 | if err != nil { | 39 | if _, err := c.secrets.Secret(ctx, c.secretName, apiKey); err != nil { |
40 | return err | 40 | return err |
41 | } | 41 | } |
42 | 42 | ||
diff --git a/clients/netbox/go.mod b/clients/netbox/go.mod index 1fcb337..4f48590 100644 --- a/clients/netbox/go.mod +++ b/clients/netbox/go.mod | |||
@@ -1,11 +1,11 @@ | |||
1 | module code.crute.us/mcrute/golib/clients/netbox | 1 | module code.crute.us/mcrute/golib/clients/netbox/v2 |
2 | 2 | ||
3 | go 1.18 | 3 | go 1.18 |
4 | 4 | ||
5 | require code.crute.us/mcrute/golib/vault v0.2.4 | 5 | require code.crute.us/mcrute/golib/secrets v0.1.0 |
6 | 6 | ||
7 | require ( | 7 | require ( |
8 | code.crute.us/mcrute/golib v0.3.6 // indirect | 8 | code.crute.us/mcrute/golib v0.4.0 // indirect |
9 | github.com/armon/go-metrics v0.3.9 // indirect | 9 | github.com/armon/go-metrics v0.3.9 // indirect |
10 | github.com/armon/go-radix v1.0.0 // indirect | 10 | github.com/armon/go-radix v1.0.0 // indirect |
11 | github.com/cenkalti/backoff/v3 v3.0.0 // indirect | 11 | github.com/cenkalti/backoff/v3 v3.0.0 // indirect |
@@ -21,23 +21,23 @@ require ( | |||
21 | github.com/hashicorp/go-retryablehttp v0.6.6 // indirect | 21 | github.com/hashicorp/go-retryablehttp v0.6.6 // indirect |
22 | github.com/hashicorp/go-rootcerts v1.0.2 // indirect | 22 | github.com/hashicorp/go-rootcerts v1.0.2 // indirect |
23 | github.com/hashicorp/go-secure-stdlib/mlock v0.1.1 // indirect | 23 | github.com/hashicorp/go-secure-stdlib/mlock v0.1.1 // indirect |
24 | github.com/hashicorp/go-secure-stdlib/parseutil v0.1.1 // indirect | 24 | github.com/hashicorp/go-secure-stdlib/parseutil v0.1.6 // indirect |
25 | github.com/hashicorp/go-secure-stdlib/strutil v0.1.1 // indirect | 25 | github.com/hashicorp/go-secure-stdlib/strutil v0.1.2 // indirect |
26 | github.com/hashicorp/go-sockaddr v1.0.2 // indirect | 26 | github.com/hashicorp/go-sockaddr v1.0.2 // indirect |
27 | github.com/hashicorp/go-uuid v1.0.2 // indirect | 27 | github.com/hashicorp/go-uuid v1.0.2 // indirect |
28 | github.com/hashicorp/go-version v1.2.0 // indirect | 28 | github.com/hashicorp/go-version v1.2.0 // indirect |
29 | github.com/hashicorp/golang-lru v0.5.4 // indirect | 29 | github.com/hashicorp/golang-lru v0.5.4 // indirect |
30 | github.com/hashicorp/hcl v1.0.0 // indirect | 30 | github.com/hashicorp/hcl v1.0.0 // indirect |
31 | github.com/hashicorp/vault/api v1.5.0 // indirect | 31 | github.com/hashicorp/vault/api v1.8.0 // indirect |
32 | github.com/hashicorp/vault/api/auth/approle v0.1.1 // indirect | 32 | github.com/hashicorp/vault/api/auth/approle v0.3.0 // indirect |
33 | github.com/hashicorp/vault/sdk v0.4.1 // indirect | 33 | github.com/hashicorp/vault/sdk v0.6.0 // indirect |
34 | github.com/hashicorp/yamux v0.0.0-20180604194846-3520598351bb // indirect | 34 | github.com/hashicorp/yamux v0.0.0-20180604194846-3520598351bb // indirect |
35 | github.com/mattn/go-colorable v0.1.6 // indirect | 35 | github.com/mattn/go-colorable v0.1.6 // indirect |
36 | github.com/mattn/go-isatty v0.0.12 // indirect | 36 | github.com/mattn/go-isatty v0.0.12 // indirect |
37 | github.com/mitchellh/copystructure v1.0.0 // indirect | 37 | github.com/mitchellh/copystructure v1.0.0 // indirect |
38 | github.com/mitchellh/go-homedir v1.1.0 // indirect | 38 | github.com/mitchellh/go-homedir v1.1.0 // indirect |
39 | github.com/mitchellh/go-testing-interface v1.0.0 // indirect | 39 | github.com/mitchellh/go-testing-interface v1.0.0 // indirect |
40 | github.com/mitchellh/mapstructure v1.4.2 // indirect | 40 | github.com/mitchellh/mapstructure v1.5.0 // indirect |
41 | github.com/mitchellh/reflectwalk v1.0.0 // indirect | 41 | github.com/mitchellh/reflectwalk v1.0.0 // indirect |
42 | github.com/oklog/run v1.0.0 // indirect | 42 | github.com/oklog/run v1.0.0 // indirect |
43 | github.com/pierrec/lz4 v2.5.2+incompatible // indirect | 43 | github.com/pierrec/lz4 v2.5.2+incompatible // indirect |
diff --git a/clients/netbox/go.sum b/clients/netbox/go.sum index 3c135bc..80b69d5 100644 --- a/clients/netbox/go.sum +++ b/clients/netbox/go.sum | |||
@@ -1,9 +1,9 @@ | |||
1 | cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= | 1 | cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= |
2 | cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= | 2 | cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= |
3 | code.crute.us/mcrute/golib v0.3.6 h1:fQX3o91E7Q7HxBbMMh6pvhNfCgvY2jMtnly8dDrELvc= | 3 | code.crute.us/mcrute/golib v0.4.0 h1:VWxb7v4gGkqL700zxDwgROweBsfx5RbiB35VW0O0oi0= |
4 | code.crute.us/mcrute/golib v0.3.6/go.mod h1:CuQYhrdRu6MoBngOB6ZdSSr2QFow2yVE/WFzbXQYwYg= | 4 | code.crute.us/mcrute/golib v0.4.0/go.mod h1:dukLPhs1H8dxtkhXtpJZYo/bMzefLRbdRj9Tj67wdaQ= |
5 | code.crute.us/mcrute/golib/vault v0.2.4 h1:lNc1hq26e/UAGBqxQlZiFffOXZSNEcEkKUzU3oRJ8Eg= | 5 | code.crute.us/mcrute/golib/secrets v0.1.0 h1:22W0rLhE5jvIQlsUDQt1soGBEoBn4rl4a883f1yBybI= |
6 | code.crute.us/mcrute/golib/vault v0.2.4/go.mod h1:23C5g8O0zaeFfo7v6sCO0RKgnHIiHM9ku+ASOWHJD9k= | 6 | code.crute.us/mcrute/golib/secrets v0.1.0/go.mod h1:O1ypm8JirXI4SekwNCHwQbfsieDQJxeRNwZYoot6fvw= |
7 | github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= | 7 | github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= |
8 | github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= | 8 | github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= |
9 | github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= | 9 | github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= |
@@ -103,7 +103,7 @@ github.com/hashicorp/go-hclog v0.16.2/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39 | |||
103 | github.com/hashicorp/go-immutable-radix v1.0.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= | 103 | github.com/hashicorp/go-immutable-radix v1.0.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= |
104 | github.com/hashicorp/go-immutable-radix v1.3.1 h1:DKHmCUm2hRBK510BaiZlwvpD40f8bJFeZnpfm2KLowc= | 104 | github.com/hashicorp/go-immutable-radix v1.3.1 h1:DKHmCUm2hRBK510BaiZlwvpD40f8bJFeZnpfm2KLowc= |
105 | github.com/hashicorp/go-immutable-radix v1.3.1/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= | 105 | github.com/hashicorp/go-immutable-radix v1.3.1/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= |
106 | github.com/hashicorp/go-kms-wrapping/entropy v0.1.0/go.mod h1:d1g9WGtAunDNpek8jUIEJnBlbgKS1N2Q61QkHiZyR1g= | 106 | github.com/hashicorp/go-kms-wrapping/entropy/v2 v2.0.0/go.mod h1:xvb32K2keAc+R8DSFG2IwDcydK9DBQE+fGA5fsw6hSk= |
107 | github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk= | 107 | github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk= |
108 | github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo= | 108 | github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo= |
109 | github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM= | 109 | github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM= |
@@ -117,11 +117,13 @@ github.com/hashicorp/go-rootcerts v1.0.2/go.mod h1:pqUvnprVnM5bf7AOirdbb01K4ccR3 | |||
117 | github.com/hashicorp/go-secure-stdlib/base62 v0.1.1/go.mod h1:EdWO6czbmthiwZ3/PUsDV+UD1D5IRU4ActiaWGwt0Yw= | 117 | github.com/hashicorp/go-secure-stdlib/base62 v0.1.1/go.mod h1:EdWO6czbmthiwZ3/PUsDV+UD1D5IRU4ActiaWGwt0Yw= |
118 | github.com/hashicorp/go-secure-stdlib/mlock v0.1.1 h1:cCRo8gK7oq6A2L6LICkUZ+/a5rLiRXFMf1Qd4xSwxTc= | 118 | github.com/hashicorp/go-secure-stdlib/mlock v0.1.1 h1:cCRo8gK7oq6A2L6LICkUZ+/a5rLiRXFMf1Qd4xSwxTc= |
119 | github.com/hashicorp/go-secure-stdlib/mlock v0.1.1/go.mod h1:zq93CJChV6L9QTfGKtfBxKqD7BqqXx5O04A/ns2p5+I= | 119 | github.com/hashicorp/go-secure-stdlib/mlock v0.1.1/go.mod h1:zq93CJChV6L9QTfGKtfBxKqD7BqqXx5O04A/ns2p5+I= |
120 | github.com/hashicorp/go-secure-stdlib/parseutil v0.1.1 h1:78ki3QBevHwYrVxnyVeaEz+7WtifHhauYF23es/0KlI= | ||
121 | github.com/hashicorp/go-secure-stdlib/parseutil v0.1.1/go.mod h1:QmrqtbKuxxSWTN3ETMPuB+VtEiBJ/A9XhoYGv8E1uD8= | 120 | github.com/hashicorp/go-secure-stdlib/parseutil v0.1.1/go.mod h1:QmrqtbKuxxSWTN3ETMPuB+VtEiBJ/A9XhoYGv8E1uD8= |
121 | github.com/hashicorp/go-secure-stdlib/parseutil v0.1.6 h1:om4Al8Oy7kCm/B86rLCLah4Dt5Aa0Fr5rYBG60OzwHQ= | ||
122 | github.com/hashicorp/go-secure-stdlib/parseutil v0.1.6/go.mod h1:QmrqtbKuxxSWTN3ETMPuB+VtEiBJ/A9XhoYGv8E1uD8= | ||
122 | github.com/hashicorp/go-secure-stdlib/password v0.1.1/go.mod h1:9hH302QllNwu1o2TGYtSk8I8kTAN0ca1EHpwhm5Mmzo= | 123 | github.com/hashicorp/go-secure-stdlib/password v0.1.1/go.mod h1:9hH302QllNwu1o2TGYtSk8I8kTAN0ca1EHpwhm5Mmzo= |
123 | github.com/hashicorp/go-secure-stdlib/strutil v0.1.1 h1:nd0HIW15E6FG1MsnArYaHfuw9C2zgzM8LxkG5Ty/788= | ||
124 | github.com/hashicorp/go-secure-stdlib/strutil v0.1.1/go.mod h1:gKOamz3EwoIoJq7mlMIRBpVTAUn8qPCrEclOKKWhD3U= | 124 | github.com/hashicorp/go-secure-stdlib/strutil v0.1.1/go.mod h1:gKOamz3EwoIoJq7mlMIRBpVTAUn8qPCrEclOKKWhD3U= |
125 | github.com/hashicorp/go-secure-stdlib/strutil v0.1.2 h1:kes8mmyCpxJsI7FTwtzRqEy9CdjCtrXrXGuOpxEA7Ts= | ||
126 | github.com/hashicorp/go-secure-stdlib/strutil v0.1.2/go.mod h1:Gou2R9+il93BqX25LAKCLuM+y9U2T4hlwvT1yprcna4= | ||
125 | github.com/hashicorp/go-secure-stdlib/tlsutil v0.1.1/go.mod h1:l8slYwnJA26yBz+ErHpp2IRCLr0vuOMGBORIz4rRiAs= | 127 | github.com/hashicorp/go-secure-stdlib/tlsutil v0.1.1/go.mod h1:l8slYwnJA26yBz+ErHpp2IRCLr0vuOMGBORIz4rRiAs= |
126 | github.com/hashicorp/go-sockaddr v1.0.2 h1:ztczhD1jLxIRjVejw8gFomI1BQZOe2WoVOu0SyteCQc= | 128 | github.com/hashicorp/go-sockaddr v1.0.2 h1:ztczhD1jLxIRjVejw8gFomI1BQZOe2WoVOu0SyteCQc= |
127 | github.com/hashicorp/go-sockaddr v1.0.2/go.mod h1:rB4wwRAUzs07qva3c5SdrY/NEtAUjGlgmH/UkBUC97A= | 129 | github.com/hashicorp/go-sockaddr v1.0.2/go.mod h1:rB4wwRAUzs07qva3c5SdrY/NEtAUjGlgmH/UkBUC97A= |
@@ -135,14 +137,12 @@ github.com/hashicorp/golang-lru v0.5.4 h1:YDjusn29QI/Das2iO9M0BHnIbxPeyuCHsjMW+l | |||
135 | github.com/hashicorp/golang-lru v0.5.4/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= | 137 | github.com/hashicorp/golang-lru v0.5.4/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= |
136 | github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= | 138 | github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= |
137 | github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= | 139 | github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= |
138 | github.com/hashicorp/vault/api v1.3.0/go.mod h1:EabNQLI0VWbWoGlA+oBLC8PXmR9D60aUVgQGvangFWQ= | 140 | github.com/hashicorp/vault/api v1.8.0 h1:7765sW1XBt+qf4XKIYE4ebY9qc/yi9V2/egzGSUNMZU= |
139 | github.com/hashicorp/vault/api v1.5.0 h1:Bp6yc2bn7CWkOrVIzFT/Qurzx528bdavF3nz590eu28= | 141 | github.com/hashicorp/vault/api v1.8.0/go.mod h1:uJrw6D3y9Rv7hhmS17JQC50jbPDAZdjZoTtrCCxxs7E= |
140 | github.com/hashicorp/vault/api v1.5.0/go.mod h1:LkMdrZnWNrFaQyYYazWVn7KshilfDidgVBq6YiTq/bM= | 142 | github.com/hashicorp/vault/api/auth/approle v0.3.0 h1:Ib0oCNXsCq/QZhPYtXPzJEbGS5WR/KoZf8c84QoFdkU= |
141 | github.com/hashicorp/vault/api/auth/approle v0.1.1 h1:R5yA+xcNvw1ix6bDuWOaLOq2L4L77zDCVsethNw97xQ= | 143 | github.com/hashicorp/vault/api/auth/approle v0.3.0/go.mod h1:hm51TbjzUkPO0Y17wkrpwOpvyyMRpXJNueTHiG04t3k= |
142 | github.com/hashicorp/vault/api/auth/approle v0.1.1/go.mod h1:mHOLgh//xDx4dpqXoq6tS8Ob0FoCFWLU2ibJ26Lfmag= | 144 | github.com/hashicorp/vault/sdk v0.6.0 h1:6Z+In5DXHiUfZvIZdMx7e2loL1PPyDjA4bVh9ZTIAhs= |
143 | github.com/hashicorp/vault/sdk v0.3.0/go.mod h1:aZ3fNuL5VNydQk8GcLJ2TV8YCRVvyaakYkhZRoVuhj0= | 145 | github.com/hashicorp/vault/sdk v0.6.0/go.mod h1:+DRpzoXIdMvKc88R4qxr+edwy/RvH5QK8itmxLiDHLc= |
144 | github.com/hashicorp/vault/sdk v0.4.1 h1:3SaHOJY687jY1fnB61PtL0cOkKItphrbLmux7T92HBo= | ||
145 | github.com/hashicorp/vault/sdk v0.4.1/go.mod h1:aZ3fNuL5VNydQk8GcLJ2TV8YCRVvyaakYkhZRoVuhj0= | ||
146 | github.com/hashicorp/yamux v0.0.0-20180604194846-3520598351bb h1:b5rjCoWHc7eqmAS4/qyk21ZsHyb6Mxv/jykxvNTkU4M= | 146 | github.com/hashicorp/yamux v0.0.0-20180604194846-3520598351bb h1:b5rjCoWHc7eqmAS4/qyk21ZsHyb6Mxv/jykxvNTkU4M= |
147 | github.com/hashicorp/yamux v0.0.0-20180604194846-3520598351bb/go.mod h1:+NfK9FKeTrX5uv1uIXGdwYDTeHna2qgaIlx54MXqjAM= | 147 | github.com/hashicorp/yamux v0.0.0-20180604194846-3520598351bb/go.mod h1:+NfK9FKeTrX5uv1uIXGdwYDTeHna2qgaIlx54MXqjAM= |
148 | github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= | 148 | github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= |
@@ -181,8 +181,8 @@ github.com/mitchellh/go-testing-interface v1.0.0 h1:fzU/JVNcaqHQEcVFAKeR41fkiLdI | |||
181 | github.com/mitchellh/go-testing-interface v1.0.0/go.mod h1:kRemZodwjscx+RGhAo8eIhFbs2+BFgRtFPeD/KE+zxI= | 181 | github.com/mitchellh/go-testing-interface v1.0.0/go.mod h1:kRemZodwjscx+RGhAo8eIhFbs2+BFgRtFPeD/KE+zxI= |
182 | github.com/mitchellh/go-wordwrap v1.0.0/go.mod h1:ZXFpozHsX6DPmq2I0TCekCxypsnAUbP2oI0UX1GXzOo= | 182 | github.com/mitchellh/go-wordwrap v1.0.0/go.mod h1:ZXFpozHsX6DPmq2I0TCekCxypsnAUbP2oI0UX1GXzOo= |
183 | github.com/mitchellh/mapstructure v1.4.1/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= | 183 | github.com/mitchellh/mapstructure v1.4.1/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= |
184 | github.com/mitchellh/mapstructure v1.4.2 h1:6h7AQ0yhTcIsmFmnAwQls75jp2Gzs4iB8W7pjMO+rqo= | 184 | github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY= |
185 | github.com/mitchellh/mapstructure v1.4.2/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= | 185 | github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= |
186 | github.com/mitchellh/reflectwalk v1.0.0 h1:9D+8oIskB4VJBN5SFlmc27fSlIBZaov1Wpk/IfikLNY= | 186 | github.com/mitchellh/reflectwalk v1.0.0 h1:9D+8oIskB4VJBN5SFlmc27fSlIBZaov1Wpk/IfikLNY= |
187 | github.com/mitchellh/reflectwalk v1.0.0/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw= | 187 | github.com/mitchellh/reflectwalk v1.0.0/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw= |
188 | github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= | 188 | github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= |