@@ -237,6 +237,9 @@ func TestService_createOrGetInstance(t *testing.T) {
237
237
DiskType : "zones/us-central1-c/diskTypes/pd-standard" ,
238
238
SourceImage : "projects/my-proj/global/images/family/capi-ubuntu-1804-k8s-v1-19" ,
239
239
ResourceManagerTags : map [string ]string {},
240
+ Labels : map [string ]string {
241
+ "foo" : "bar" ,
242
+ },
240
243
},
241
244
},
242
245
},
@@ -302,6 +305,9 @@ func TestService_createOrGetInstance(t *testing.T) {
302
305
DiskType : "zones/us-central1-c/diskTypes/pd-standard" ,
303
306
SourceImage : "projects/my-proj/global/images/family/capi-ubuntu-1804-k8s-v1-19" ,
304
307
ResourceManagerTags : map [string ]string {},
308
+ Labels : map [string ]string {
309
+ "foo" : "bar" ,
310
+ },
305
311
},
306
312
},
307
313
},
@@ -369,6 +375,9 @@ func TestService_createOrGetInstance(t *testing.T) {
369
375
DiskType : "zones/us-central1-c/diskTypes/pd-standard" ,
370
376
SourceImage : "projects/my-proj/global/images/family/capi-ubuntu-1804-k8s-v1-19" ,
371
377
ResourceManagerTags : map [string ]string {},
378
+ Labels : map [string ]string {
379
+ "foo" : "bar" ,
380
+ },
372
381
},
373
382
},
374
383
},
@@ -436,6 +445,9 @@ func TestService_createOrGetInstance(t *testing.T) {
436
445
DiskType : "zones/us-central1-c/diskTypes/pd-standard" ,
437
446
SourceImage : "projects/my-proj/global/images/family/capi-ubuntu-1804-k8s-v1-19" ,
438
447
ResourceManagerTags : map [string ]string {},
448
+ Labels : map [string ]string {
449
+ "foo" : "bar" ,
450
+ },
439
451
},
440
452
},
441
453
},
@@ -506,6 +518,9 @@ func TestService_createOrGetInstance(t *testing.T) {
506
518
DiskType : "zones/us-central1-c/diskTypes/pd-standard" ,
507
519
SourceImage : "projects/my-proj/global/images/family/capi-ubuntu-1804-k8s-v1-19" ,
508
520
ResourceManagerTags : map [string ]string {},
521
+ Labels : map [string ]string {
522
+ "foo" : "bar" ,
523
+ },
509
524
},
510
525
},
511
526
},
@@ -569,6 +584,9 @@ func TestService_createOrGetInstance(t *testing.T) {
569
584
DiskType : "zones/us-central1-a/diskTypes/pd-standard" ,
570
585
SourceImage : "projects/my-proj/global/images/family/capi-ubuntu-1804-k8s-v1-19" ,
571
586
ResourceManagerTags : map [string ]string {},
587
+ Labels : map [string ]string {
588
+ "foo" : "bar" ,
589
+ },
572
590
},
573
591
},
574
592
},
@@ -639,6 +657,9 @@ func TestService_createOrGetInstance(t *testing.T) {
639
657
DiskType : "zones/us-central1-c/diskTypes/pd-standard" ,
640
658
SourceImage : "projects/my-proj/global/images/family/capi-ubuntu-1804-k8s-v1-19" ,
641
659
ResourceManagerTags : map [string ]string {},
660
+ Labels : map [string ]string {
661
+ "foo" : "bar" ,
662
+ },
642
663
},
643
664
DiskEncryptionKey : & compute.CustomerEncryptionKey {
644
665
KmsKeyName : "projects/my-project/locations/us-central1/keyRings/us-central1/cryptoKeys/some-key" ,
@@ -712,6 +733,9 @@ func TestService_createOrGetInstance(t *testing.T) {
712
733
DiskType : "zones/us-central1-c/diskTypes/pd-standard" ,
713
734
SourceImage : "projects/my-proj/global/images/family/capi-ubuntu-1804-k8s-v1-19" ,
714
735
ResourceManagerTags : map [string ]string {},
736
+ Labels : map [string ]string {
737
+ "foo" : "bar" ,
738
+ },
715
739
},
716
740
DiskEncryptionKey : & compute.CustomerEncryptionKey {
717
741
RawKey : "SGVsbG8gZnJvbSBHb29nbGUgQ2xvdWQgUGxhdGZvcm0=" ,
@@ -785,6 +809,9 @@ func TestService_createOrGetInstance(t *testing.T) {
785
809
DiskType : "zones/us-central1-c/diskTypes/pd-standard" ,
786
810
SourceImage : "projects/my-proj/global/images/family/capi-ubuntu-1804-k8s-v1-19" ,
787
811
ResourceManagerTags : map [string ]string {},
812
+ Labels : map [string ]string {
813
+ "foo" : "bar" ,
814
+ },
788
815
},
789
816
DiskEncryptionKey : & compute.CustomerEncryptionKey {
790
817
RsaEncryptedKey : "ieCx/NcW06PcT7Ep1X6LUTc/hLvUDYyzSZPPVCVPTVEohpeHASqC8uw5TzyO9U+Fka9JFHiz0mBibXUInrC/jEk014kCK/NPjYgEMOyssZ4ZINPKxlUh2zn1bV+MCaTICrdmuSBTWlUUiFoDiD6PYznLwh8ZNdaheCeZ8ewEXgFQ8V+sDroLaN3Xs3MDTXQEMMoNUXMCZEIpg9Vtp9x2oe==" ,
0 commit comments