forked from Azure/azure-sdk-for-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
enums.go
143 lines (118 loc) · 4.88 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
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.
// ComplianceStateType enumerates the values for compliance state type.
type ComplianceStateType string
const (
// Compliant ...
Compliant ComplianceStateType = "Compliant"
// Failed ...
Failed ComplianceStateType = "Failed"
// Installed ...
Installed ComplianceStateType = "Installed"
// Noncompliant ...
Noncompliant ComplianceStateType = "Noncompliant"
// Pending ...
Pending ComplianceStateType = "Pending"
)
// PossibleComplianceStateTypeValues returns an array of possible values for the ComplianceStateType const type.
func PossibleComplianceStateTypeValues() []ComplianceStateType {
return []ComplianceStateType{Compliant, Failed, Installed, Noncompliant, Pending}
}
// InstallStateType enumerates the values for install state type.
type InstallStateType string
const (
// InstallStateTypeFailed ...
InstallStateTypeFailed InstallStateType = "Failed"
// InstallStateTypeInstalled ...
InstallStateTypeInstalled InstallStateType = "Installed"
// InstallStateTypePending ...
InstallStateTypePending InstallStateType = "Pending"
)
// PossibleInstallStateTypeValues returns an array of possible values for the InstallStateType const type.
func PossibleInstallStateTypeValues() []InstallStateType {
return []InstallStateType{InstallStateTypeFailed, InstallStateTypeInstalled, InstallStateTypePending}
}
// LevelType enumerates the values for level type.
type LevelType string
const (
// Error ...
Error LevelType = "Error"
// Information ...
Information LevelType = "Information"
// Warning ...
Warning LevelType = "Warning"
)
// PossibleLevelTypeValues returns an array of possible values for the LevelType const type.
func PossibleLevelTypeValues() []LevelType {
return []LevelType{Error, Information, Warning}
}
// 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 (
// Cluster ...
Cluster OperatorScopeType = "cluster"
// Namespace ...
Namespace OperatorScopeType = "namespace"
)
// PossibleOperatorScopeTypeValues returns an array of possible values for the OperatorScopeType const type.
func PossibleOperatorScopeTypeValues() []OperatorScopeType {
return []OperatorScopeType{Cluster, Namespace}
}
// OperatorType enumerates the values for operator type.
type OperatorType string
const (
// Flux ...
Flux OperatorType = "Flux"
)
// PossibleOperatorTypeValues returns an array of possible values for the OperatorType const type.
func PossibleOperatorTypeValues() []OperatorType {
return []OperatorType{Flux}
}
// 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 (
// None ...
None ResourceIdentityType = "None"
// SystemAssigned ...
SystemAssigned ResourceIdentityType = "SystemAssigned"
)
// PossibleResourceIdentityTypeValues returns an array of possible values for the ResourceIdentityType const type.
func PossibleResourceIdentityTypeValues() []ResourceIdentityType {
return []ResourceIdentityType{None, SystemAssigned}
}