/
enums.go
87 lines (74 loc) · 2.96 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
// Code generated by smithy-go-codegen DO NOT EDIT.
package types
type ImageFailureCode string
// Enum values for ImageFailureCode
const (
ImageFailureCodeInvalidImageDigest ImageFailureCode = "InvalidImageDigest"
ImageFailureCodeInvalidImageTag ImageFailureCode = "InvalidImageTag"
ImageFailureCodeImageTagDoesNotMatchDigest ImageFailureCode = "ImageTagDoesNotMatchDigest"
ImageFailureCodeImageNotFound ImageFailureCode = "ImageNotFound"
ImageFailureCodeMissingDigestAndTag ImageFailureCode = "MissingDigestAndTag"
ImageFailureCodeImageReferencedByManifestList ImageFailureCode = "ImageReferencedByManifestList"
ImageFailureCodeKmsError ImageFailureCode = "KmsError"
)
// Values returns all known values for ImageFailureCode. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (ImageFailureCode) Values() []ImageFailureCode {
return []ImageFailureCode{
"InvalidImageDigest",
"InvalidImageTag",
"ImageTagDoesNotMatchDigest",
"ImageNotFound",
"MissingDigestAndTag",
"ImageReferencedByManifestList",
"KmsError",
}
}
type LayerAvailability string
// Enum values for LayerAvailability
const (
LayerAvailabilityAvailable LayerAvailability = "AVAILABLE"
LayerAvailabilityUnavailable LayerAvailability = "UNAVAILABLE"
)
// Values returns all known values for LayerAvailability. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (LayerAvailability) Values() []LayerAvailability {
return []LayerAvailability{
"AVAILABLE",
"UNAVAILABLE",
}
}
type LayerFailureCode string
// Enum values for LayerFailureCode
const (
LayerFailureCodeInvalidLayerDigest LayerFailureCode = "InvalidLayerDigest"
LayerFailureCodeMissingLayerDigest LayerFailureCode = "MissingLayerDigest"
)
// Values returns all known values for LayerFailureCode. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (LayerFailureCode) Values() []LayerFailureCode {
return []LayerFailureCode{
"InvalidLayerDigest",
"MissingLayerDigest",
}
}
type RegistryAliasStatus string
// Enum values for RegistryAliasStatus
const (
RegistryAliasStatusActive RegistryAliasStatus = "ACTIVE"
RegistryAliasStatusPending RegistryAliasStatus = "PENDING"
RegistryAliasStatusRejected RegistryAliasStatus = "REJECTED"
)
// Values returns all known values for RegistryAliasStatus. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (RegistryAliasStatus) Values() []RegistryAliasStatus {
return []RegistryAliasStatus{
"ACTIVE",
"PENDING",
"REJECTED",
}
}