-
Notifications
You must be signed in to change notification settings - Fork 821
/
enums.go
113 lines (94 loc) · 3.75 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
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}
}
// CreatedByType enumerates the values for created by type.
type CreatedByType string
const (
// Application ...
Application CreatedByType = "Application"
// Key ...
Key CreatedByType = "Key"
// ManagedIdentity ...
ManagedIdentity CreatedByType = "ManagedIdentity"
// User ...
User CreatedByType = "User"
)
// PossibleCreatedByTypeValues returns an array of possible values for the CreatedByType const type.
func PossibleCreatedByTypeValues() []CreatedByType {
return []CreatedByType{Application, Key, ManagedIdentity, User}
}
// MessageLevelType enumerates the values for message level type.
type MessageLevelType string
const (
// Error ...
Error MessageLevelType = "Error"
// Information ...
Information MessageLevelType = "Information"
// Warning ...
Warning MessageLevelType = "Warning"
)
// PossibleMessageLevelTypeValues returns an array of possible values for the MessageLevelType const type.
func PossibleMessageLevelTypeValues() []MessageLevelType {
return []MessageLevelType{Error, Information, Warning}
}
// 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}
}