File tree Expand file tree Collapse file tree 2 files changed +20
-20
lines changed
Expand file tree Collapse file tree 2 files changed +20
-20
lines changed Original file line number Diff line number Diff line change @@ -16,16 +16,7 @@ import (
1616)
1717
1818const (
19- testRegion = "eu01"
20- )
21-
22- type testCtxKey struct {}
23-
24- var (
25- testCtx = context .WithValue (context .Background (), testCtxKey {}, "foo" )
26- testClient = & kms.APIClient {}
27- testProjectId = uuid .NewString ()
28- testKeyRingId = uuid .NewString ()
19+ testRegion = "eu01"
2920 testAlgorithm = "some_rsa_2048"
3021 testDisplayName = "my-key"
3122 testPurpose = "asymmetric_encrypt_decrypt"
3425 testBackend = "notSoftware"
3526)
3627
28+ type testCtxKey struct {}
29+
30+ var (
31+ testCtx = context .WithValue (context .Background (), testCtxKey {}, "foo" )
32+ testClient = & kms.APIClient {}
33+ testProjectId = uuid .NewString ()
34+ testKeyRingId = uuid .NewString ()
35+ )
36+
3737// Flags
3838func fixtureFlagValues (mods ... func (flagValues map [string ]string )) map [string ]string {
3939 flagValues := map [string ]string {
Original file line number Diff line number Diff line change @@ -16,23 +16,23 @@ import (
1616)
1717
1818const (
19- testRegion = "eu01"
20- )
21-
22- type testCtxKey struct {}
23-
24- var (
25- testCtx = context .WithValue (context .Background (), testCtxKey {}, "foo" )
26- testClient = & kms.APIClient {}
27- testProjectId = uuid .NewString ()
28- testKeyRingId = uuid .NewString ()
19+ testRegion = "eu01"
2920 testAlgorithm = "some_rsa_2048"
3021 testDisplayName = "my-key"
3122 testPurpose = "asymmetric_encrypt_decrypt"
3223 testDescription = "my key description"
3324 testBackend = "notSoftware"
3425)
3526
27+ type testCtxKey struct {}
28+
29+ var (
30+ testCtx = context .WithValue (context .Background (), testCtxKey {}, "foo" )
31+ testClient = & kms.APIClient {}
32+ testProjectId = uuid .NewString ()
33+ testKeyRingId = uuid .NewString ()
34+ )
35+
3636// Flags
3737func fixtureFlagValues (mods ... func (flagValues map [string ]string )) map [string ]string {
3838 flagValues := map [string ]string {
You can’t perform that action at this time.
0 commit comments