You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ibm/acctest/acctest.go
+93-87Lines changed: 93 additions & 87 deletions
Original file line number
Diff line number
Diff line change
@@ -24,123 +24,123 @@ const (
24
24
25
25
var (
26
26
AccountIdstring
27
+
ActionIDstring
28
+
ActivityTrackerInstanceCRNstring
29
+
AgentIDstring
27
30
AppIDTenantIDstring
28
31
AppIDTestUserEmailstring
29
-
BackupPolicyJobIDstring
30
32
BackupPolicyIDstring
33
+
BackupPolicyJobIDstring
34
+
BackupVaultCrnstring
35
+
BackupVaultCrn2string
36
+
BackupVaultNamestring
37
+
BackupVaultName2string
38
+
BucketCRNstring
39
+
BucketNamestring
40
+
CertCRNstring
31
41
CfOrganizationstring
32
42
CfSpacestring
33
43
CisDomainStaticstring
34
44
CisDomainTeststring
35
45
CisInstancestring
36
46
CisResourceGroupstring
37
47
CloudShellAccountIDstring
38
-
CosCRNstring
39
48
CosBackupPolicyIDstring
40
-
BucketCRNstring
41
-
BackupVaultNamestring
42
-
BackupVaultName2string
43
-
BackupVaultCrnstring
44
-
BackupVaultCrn2string
45
-
ActivityTrackerInstanceCRNstring
46
-
MetricsMonitoringCRNstring
47
-
KmsKeyCrnstring
48
-
BucketNamestring
49
+
CosCRNstring
49
50
CosNamestring
50
-
Ibmid1string
51
-
Ibmid2string
52
-
IAMUserstring
53
-
IAMAccountIdstring
54
-
IAMServiceIdstring
55
-
IAMTrustedProfileIDstring
56
-
Datacenterstring
57
-
MachineTypestring
58
-
trustedMachineTypestring
59
-
PublicVlanIDstring
60
-
PrivateVlanIDstring
61
-
PrivateSubnetIDstring
62
-
PublicSubnetIDstring
63
-
SubnetIDstring
64
-
LbaasDatacenterstring
65
-
LbaasSubnetIdstring
66
-
LbListerenerCertificateInstancestring
67
-
IpsecDatacenterstring
68
-
Customersubnetidstring
51
+
CsRegionstring
69
52
Customerpeeripstring
70
-
DedicatedHostNamestring
53
+
Customersubnetidstring
54
+
DNSInstanceCRNstring
55
+
DNSInstanceCRN1string
56
+
DNSZoneIDstring
57
+
DNSZoneID1string
58
+
Datacenterstring
59
+
DedicatedHostGroupClassstring
60
+
DedicatedHostGroupFamilystring
61
+
DedicatedHostGroupIDstring
71
62
DedicatedHostIDstring
72
-
KubeVersionstring
73
-
KubeUpdateVersionstring
74
-
Zonestring
75
-
ZonePrivateVlanstring
76
-
ZonePublicVlanstring
77
-
ZoneUpdatePrivateVlanstring
78
-
ZoneUpdatePublicVlanstring
79
-
WorkerPoolSecondaryStoragestring
80
-
CsRegionstring
81
-
ExtendedHardwareTestingbool
82
-
errerror
83
-
placementGroupNamestring
84
-
CertCRNstring
85
-
UpdatedCertCRNstring
86
-
SecretCRNstring
87
-
SecretCRN2string
63
+
DedicatedHostNamestring
64
+
DedicatedHostProfileNamestring
88
65
EnterpriseCRNstring
89
-
InstanceCRNstring
90
-
SecretGroupIDstring
91
-
RegionNamestring
92
-
ISZoneNamestring
93
-
ISZoneName2string
94
-
ISZoneName3string
95
-
IsResourceGroupIDstring
96
-
IsResourceGroupIDUpdatestring
97
-
ISResourceCrnstring
66
+
ExtendedHardwareTestingbool
67
+
FloatingIpIDstring
68
+
HpcsInstanceIDstring
69
+
HpcsInstanceNamestring
70
+
IAMAccountIdstring
71
+
IAMServiceIdstring
72
+
IAMTrustedProfileIDstring
73
+
IAMUserstring
74
+
ISAddressPrefixCIDRstring
75
+
ISBootSnapshotIDstring
98
76
ISCIDRstring
99
77
ISCIDR2string
78
+
ISCatalogImageNamestring
100
79
ISIPV4Addressstring
101
-
ISPublicSSHKeyFilePathstring
102
80
ISPrivateSSHKeyFilePathstring
103
-
ISAddressPrefixCIDRstring
81
+
ISPublicSSHKeyFilePathstring
82
+
ISResourceCrnstring
83
+
ISRouteDestinationstring
84
+
ISRouteNextHopstring
85
+
ISSnapshotCRNstring
86
+
ISZoneNamestring
87
+
ISZoneName2string
88
+
ISZoneName3string
89
+
Ibmid1string
90
+
Ibmid2string
91
+
InstanceCRNstring
92
+
InstanceDiskProfileNamestring
104
93
InstanceNamestring
105
94
InstanceProfileNamestring
106
95
InstanceProfileNameUpdatestring
107
-
ISCatalogImageNamestring
108
-
ISBootSnapshotIDstring
109
-
IsBareMetalServerProfileNamestring
96
+
IpsecDatacenterstring
97
+
IsAdminConfigstring
110
98
IsBareMetalServerImagestring
111
99
IsBareMetalServerImage2string
112
-
DNSInstanceCRNstring
113
-
DNSZoneIDstring
114
-
DNSInstanceCRN1string
115
-
DNSZoneID1string
116
-
DedicatedHostProfileNamestring
117
-
DedicatedHostGroupIDstring
118
-
InstanceDiskProfileNamestring
119
-
DedicatedHostGroupFamilystring
120
-
DedicatedHostGroupClassstring
100
+
IsBareMetalServerProfileNamestring
101
+
IsResourceGroupIDstring
102
+
IsResourceGroupIDUpdatestring
103
+
JobIDstring
104
+
KmsKeyCrnstring
105
+
KubeUpdateVersionstring
106
+
KubeVersionstring
107
+
LbListerenerCertificateInstancestring
108
+
LbaasDatacenterstring
109
+
LbaasSubnetIdstring
110
+
MachineTypestring
111
+
MetricsMonitoringCRNstring
112
+
PrivateSubnetIDstring
113
+
PrivateVlanIDstring
114
+
PublicSubnetIDstring
115
+
PublicVlanIDstring
116
+
RegionNamestring
117
+
RepoBranchstring
118
+
RepoURLstring
119
+
SecretCRNstring
120
+
SecretCRN2string
121
+
SecretGroupIDstring
122
+
ShareEncryptionKeystring
121
123
ShareProfileNamestring
122
124
SourceShareCRNstring
123
-
ShareEncryptionKeystring
125
+
SubnetIDstring
126
+
TemplateIDstring
127
+
ToolchainIDstring
128
+
UpdatedCertCRNstring
124
129
VNIIdstring
125
-
FloatingIpIDstring
126
-
VolumeProfileNamestring
127
-
VSIUnattachedBootVolumeIDstring
128
130
VSIDataVolumeIDstring
129
-
ISRouteDestinationstring
130
-
ISRouteNextHopstring
131
-
ISSnapshotCRNstring
131
+
VSIUnattachedBootVolumeIDstring
132
+
VolumeProfileNamestring
133
+
WorkerPoolSecondaryStoragestring
132
134
WorkspaceIDstring
133
-
TemplateIDstring
134
-
AgentIDstring
135
-
ActionIDstring
136
-
JobIDstring
137
-
RepoURLstring
138
-
RepoBranchstring
139
-
imageNamestring
135
+
Zonestring
136
+
ZonePrivateVlanstring
137
+
ZonePublicVlanstring
138
+
ZoneUpdatePrivateVlanstring
139
+
ZoneUpdatePublicVlanstring
140
+
errerror
140
141
functionNamespacestring
141
-
HpcsInstanceIDstring
142
-
HpcsInstanceNamestring
143
-
ToolchainIDstring
142
+
placementGroupNamestring
143
+
trustedMachineTypestring
144
144
)
145
145
146
146
// MQ on Cloud
@@ -2175,6 +2175,12 @@ func init() {
2175
2175
ifToolchainID=="" {
2176
2176
fmt.Println("[WARN] Set the environment variable TOOLCHAIN_ID for testing the COS toolchain integration tool else tests will fail if this is not set correctly")
2177
2177
}
2178
+
2179
+
IsAdminConfig=os.Getenv("IBM_IS_ADMIN_CONFIG")
2180
+
ifIsAdminConfig=="" {
2181
+
IsAdminConfig="false"
2182
+
fmt.Println("[WARN] Set the environment variable IBM_IS_ADMIN_CONFIG for testing ibm_container_cluster_config datasource else tests will fail if this is not set correctly")
0 commit comments