forked from Azure/azure-sdk-for-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
enums.go
268 lines (222 loc) · 10.2 KB
/
enums.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
package kubernetesconfiguration
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
// AKSIdentityType enumerates the values for aks identity type.
type AKSIdentityType string
const (
// AKSIdentityTypeSystemAssigned ...
AKSIdentityTypeSystemAssigned AKSIdentityType = "SystemAssigned"
// AKSIdentityTypeUserAssigned ...
AKSIdentityTypeUserAssigned AKSIdentityType = "UserAssigned"
)
// PossibleAKSIdentityTypeValues returns an array of possible values for the AKSIdentityType const type.
func PossibleAKSIdentityTypeValues() []AKSIdentityType {
return []AKSIdentityType{AKSIdentityTypeSystemAssigned, AKSIdentityTypeUserAssigned}
}
// ComplianceStateType enumerates the values for compliance state type.
type ComplianceStateType string
const (
// ComplianceStateTypeCompliant ...
ComplianceStateTypeCompliant ComplianceStateType = "Compliant"
// ComplianceStateTypeFailed ...
ComplianceStateTypeFailed ComplianceStateType = "Failed"
// ComplianceStateTypeInstalled ...
ComplianceStateTypeInstalled ComplianceStateType = "Installed"
// ComplianceStateTypeNoncompliant ...
ComplianceStateTypeNoncompliant ComplianceStateType = "Noncompliant"
// ComplianceStateTypePending ...
ComplianceStateTypePending ComplianceStateType = "Pending"
)
// PossibleComplianceStateTypeValues returns an array of possible values for the ComplianceStateType const type.
func PossibleComplianceStateTypeValues() []ComplianceStateType {
return []ComplianceStateType{ComplianceStateTypeCompliant, ComplianceStateTypeFailed, ComplianceStateTypeInstalled, ComplianceStateTypeNoncompliant, ComplianceStateTypePending}
}
// CreatedByType enumerates the values for created by type.
type CreatedByType string
const (
// CreatedByTypeApplication ...
CreatedByTypeApplication CreatedByType = "Application"
// CreatedByTypeKey ...
CreatedByTypeKey CreatedByType = "Key"
// CreatedByTypeManagedIdentity ...
CreatedByTypeManagedIdentity CreatedByType = "ManagedIdentity"
// CreatedByTypeUser ...
CreatedByTypeUser CreatedByType = "User"
)
// PossibleCreatedByTypeValues returns an array of possible values for the CreatedByType const type.
func PossibleCreatedByTypeValues() []CreatedByType {
return []CreatedByType{CreatedByTypeApplication, CreatedByTypeKey, CreatedByTypeManagedIdentity, CreatedByTypeUser}
}
// FluxComplianceState enumerates the values for flux compliance state.
type FluxComplianceState string
const (
// FluxComplianceStateCompliant ...
FluxComplianceStateCompliant FluxComplianceState = "Compliant"
// FluxComplianceStateNonCompliant ...
FluxComplianceStateNonCompliant FluxComplianceState = "Non-Compliant"
// FluxComplianceStatePending ...
FluxComplianceStatePending FluxComplianceState = "Pending"
// FluxComplianceStateSuspended ...
FluxComplianceStateSuspended FluxComplianceState = "Suspended"
// FluxComplianceStateUnknown ...
FluxComplianceStateUnknown FluxComplianceState = "Unknown"
)
// PossibleFluxComplianceStateValues returns an array of possible values for the FluxComplianceState const type.
func PossibleFluxComplianceStateValues() []FluxComplianceState {
return []FluxComplianceState{FluxComplianceStateCompliant, FluxComplianceStateNonCompliant, FluxComplianceStatePending, FluxComplianceStateSuspended, FluxComplianceStateUnknown}
}
// KustomizationValidationType enumerates the values for kustomization validation type.
type KustomizationValidationType string
const (
// KustomizationValidationTypeClient ...
KustomizationValidationTypeClient KustomizationValidationType = "client"
// KustomizationValidationTypeNone ...
KustomizationValidationTypeNone KustomizationValidationType = "none"
// KustomizationValidationTypeServer ...
KustomizationValidationTypeServer KustomizationValidationType = "server"
)
// PossibleKustomizationValidationTypeValues returns an array of possible values for the KustomizationValidationType const type.
func PossibleKustomizationValidationTypeValues() []KustomizationValidationType {
return []KustomizationValidationType{KustomizationValidationTypeClient, KustomizationValidationTypeNone, KustomizationValidationTypeServer}
}
// LevelType enumerates the values for level type.
type LevelType string
const (
// LevelTypeError ...
LevelTypeError LevelType = "Error"
// LevelTypeInformation ...
LevelTypeInformation LevelType = "Information"
// LevelTypeWarning ...
LevelTypeWarning LevelType = "Warning"
)
// PossibleLevelTypeValues returns an array of possible values for the LevelType const type.
func PossibleLevelTypeValues() []LevelType {
return []LevelType{LevelTypeError, LevelTypeInformation, LevelTypeWarning}
}
// MessageLevelType enumerates the values for message level type.
type MessageLevelType string
const (
// MessageLevelTypeError ...
MessageLevelTypeError MessageLevelType = "Error"
// MessageLevelTypeInformation ...
MessageLevelTypeInformation MessageLevelType = "Information"
// MessageLevelTypeWarning ...
MessageLevelTypeWarning MessageLevelType = "Warning"
)
// PossibleMessageLevelTypeValues returns an array of possible values for the MessageLevelType const type.
func PossibleMessageLevelTypeValues() []MessageLevelType {
return []MessageLevelType{MessageLevelTypeError, MessageLevelTypeInformation, MessageLevelTypeWarning}
}
// OperatorScopeType enumerates the values for operator scope type.
type OperatorScopeType string
const (
// OperatorScopeTypeCluster ...
OperatorScopeTypeCluster OperatorScopeType = "cluster"
// OperatorScopeTypeNamespace ...
OperatorScopeTypeNamespace OperatorScopeType = "namespace"
)
// PossibleOperatorScopeTypeValues returns an array of possible values for the OperatorScopeType const type.
func PossibleOperatorScopeTypeValues() []OperatorScopeType {
return []OperatorScopeType{OperatorScopeTypeCluster, OperatorScopeTypeNamespace}
}
// OperatorType enumerates the values for operator type.
type OperatorType string
const (
// OperatorTypeFlux ...
OperatorTypeFlux OperatorType = "Flux"
)
// PossibleOperatorTypeValues returns an array of possible values for the OperatorType const type.
func PossibleOperatorTypeValues() []OperatorType {
return []OperatorType{OperatorTypeFlux}
}
// ProvisioningState enumerates the values for provisioning state.
type ProvisioningState string
const (
// ProvisioningStateCanceled ...
ProvisioningStateCanceled ProvisioningState = "Canceled"
// ProvisioningStateCreating ...
ProvisioningStateCreating ProvisioningState = "Creating"
// ProvisioningStateDeleting ...
ProvisioningStateDeleting ProvisioningState = "Deleting"
// ProvisioningStateFailed ...
ProvisioningStateFailed ProvisioningState = "Failed"
// ProvisioningStateSucceeded ...
ProvisioningStateSucceeded ProvisioningState = "Succeeded"
// ProvisioningStateUpdating ...
ProvisioningStateUpdating ProvisioningState = "Updating"
)
// PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.
func PossibleProvisioningStateValues() []ProvisioningState {
return []ProvisioningState{ProvisioningStateCanceled, ProvisioningStateCreating, ProvisioningStateDeleting, ProvisioningStateFailed, ProvisioningStateSucceeded, ProvisioningStateUpdating}
}
// ProvisioningStateType enumerates the values for provisioning state type.
type ProvisioningStateType string
const (
// ProvisioningStateTypeAccepted ...
ProvisioningStateTypeAccepted ProvisioningStateType = "Accepted"
// ProvisioningStateTypeDeleting ...
ProvisioningStateTypeDeleting ProvisioningStateType = "Deleting"
// ProvisioningStateTypeFailed ...
ProvisioningStateTypeFailed ProvisioningStateType = "Failed"
// ProvisioningStateTypeRunning ...
ProvisioningStateTypeRunning ProvisioningStateType = "Running"
// ProvisioningStateTypeSucceeded ...
ProvisioningStateTypeSucceeded ProvisioningStateType = "Succeeded"
)
// PossibleProvisioningStateTypeValues returns an array of possible values for the ProvisioningStateType const type.
func PossibleProvisioningStateTypeValues() []ProvisioningStateType {
return []ProvisioningStateType{ProvisioningStateTypeAccepted, ProvisioningStateTypeDeleting, ProvisioningStateTypeFailed, ProvisioningStateTypeRunning, ProvisioningStateTypeSucceeded}
}
// ResourceIdentityType enumerates the values for resource identity type.
type ResourceIdentityType string
const (
// ResourceIdentityTypeSystemAssigned ...
ResourceIdentityTypeSystemAssigned ResourceIdentityType = "SystemAssigned"
)
// PossibleResourceIdentityTypeValues returns an array of possible values for the ResourceIdentityType const type.
func PossibleResourceIdentityTypeValues() []ResourceIdentityType {
return []ResourceIdentityType{ResourceIdentityTypeSystemAssigned}
}
// ScopeType enumerates the values for scope type.
type ScopeType string
const (
// ScopeTypeCluster ...
ScopeTypeCluster ScopeType = "cluster"
// ScopeTypeNamespace ...
ScopeTypeNamespace ScopeType = "namespace"
)
// PossibleScopeTypeValues returns an array of possible values for the ScopeType const type.
func PossibleScopeTypeValues() []ScopeType {
return []ScopeType{ScopeTypeCluster, ScopeTypeNamespace}
}
// SkuTier enumerates the values for sku tier.
type SkuTier string
const (
// SkuTierBasic ...
SkuTierBasic SkuTier = "Basic"
// SkuTierFree ...
SkuTierFree SkuTier = "Free"
// SkuTierPremium ...
SkuTierPremium SkuTier = "Premium"
// SkuTierStandard ...
SkuTierStandard SkuTier = "Standard"
)
// PossibleSkuTierValues returns an array of possible values for the SkuTier const type.
func PossibleSkuTierValues() []SkuTier {
return []SkuTier{SkuTierBasic, SkuTierFree, SkuTierPremium, SkuTierStandard}
}
// SourceKindType enumerates the values for source kind type.
type SourceKindType string
const (
// SourceKindTypeBucket ...
SourceKindTypeBucket SourceKindType = "Bucket"
// SourceKindTypeGitRepository ...
SourceKindTypeGitRepository SourceKindType = "GitRepository"
)
// PossibleSourceKindTypeValues returns an array of possible values for the SourceKindType const type.
func PossibleSourceKindTypeValues() []SourceKindType {
return []SourceKindType{SourceKindTypeBucket, SourceKindTypeGitRepository}
}