Shuffle things around out of new modules
This commit is contained in:
1 parent
70a8051974
commit
5cbfcf8eb6
20 files changed
+2
-29
No files matched your search
@@ -13,7 +13,7 @@ CGO_ENABLED?=0
|
||||
export GEN_BASEPATH := $(shell pwd)
|
||||
|
||||
api:
|
||||
$(MAKE) --environment-overrides -C api/internal/genapi api
|
||||
$(MAKE) --environment-overrides -C internal/api/genapi api
|
||||
|
||||
tools:
|
||||
go generate -tags tools tools/tools.go
|
||||
|
||||
@@ -1,28 +0,0 @@
|
||||
package tests
|
||||
|
||||
// TODO: Reenable once we reimplement generation of As functions once static hosts lands
|
||||
/*
|
||||
func TestDetailTemplating(t *testing.T) {
|
||||
lt := time.Now()
|
||||
c := hosts.HostCatalog{
|
||||
Id: "id",
|
||||
CreatedTime: lt,
|
||||
Attributes: map[string]interface{}{
|
||||
"regions": []string{"a", "b"},
|
||||
"access_key": "access",
|
||||
"secret_key": "secret",
|
||||
"rotate": true,
|
||||
},
|
||||
}
|
||||
|
||||
ac, err := c.AsAwsEc2HostCatalog()
|
||||
assert.NoError(t, err)
|
||||
assert.Equal(t, &hosts.AwsEc2HostCatalog{
|
||||
HostCatalog: &c,
|
||||
Regions: []string{"a", "b"},
|
||||
AccessKey: api.String("access"),
|
||||
SecretKey: api.String("secret"),
|
||||
Rotate: api.Bool(true),
|
||||
}, ac)
|
||||
}
|
||||
*/
|
||||
@@ -32,6 +32,7 @@ require (
|
||||
github.com/hashicorp/hcl v1.0.0
|
||||
github.com/hashicorp/shared-secure-libs v0.0.2
|
||||
github.com/hashicorp/vault/sdk v0.1.14-0.20200916184745-5576096032f8
|
||||
github.com/iancoleman/strcase v0.1.2
|
||||
github.com/jackc/pgx/v4 v4.9.0
|
||||
github.com/jinzhu/gorm v1.9.16
|
||||
github.com/kr/pretty v0.2.1
|
||||
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user