File tree Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,8 @@ type PRRApproval struct {
41
41
Beta * PRRMilestone `json:"beta" yaml:"beta,omitempty"`
42
42
Stable * PRRMilestone `json:"stable" yaml:"stable,omitempty"`
43
43
Deprecated * PRRMilestone `json:"deprecated" yaml:"deprecated,omitempty"`
44
- Removed * PRRMilestone `json:"removed", yaml:"removed,omitempty"`
44
+ Removed * PRRMilestone `json:"removed" yaml:"removed,omitempty"`
45
+ Disabled * PRRMilestone `json:"disabled" yaml:"disabled,omitempty"`
45
46
46
47
// TODO(api): Move to separate struct for handling document parsing
47
48
Error error `json:"-" yaml:"-"`
Original file line number Diff line number Diff line change @@ -36,12 +36,18 @@ const (
36
36
AlphaStage Stage = "alpha"
37
37
BetaStage Stage = "beta"
38
38
StableStage Stage = "stable"
39
+ Deprecated Stage = "deprecated"
40
+ Disabled Stage = "disabled"
41
+ Removed Stage = "removed"
39
42
)
40
43
41
44
var ValidStages = []Stage {
42
45
AlphaStage ,
43
46
BetaStage ,
44
47
StableStage ,
48
+ Deprecated ,
49
+ Disabled ,
50
+ Removed ,
45
51
}
46
52
47
53
func (s Stage ) IsValid () error {
@@ -138,6 +144,7 @@ type Milestone struct {
138
144
Stable string `json:"stable" yaml:"stable"`
139
145
Deprecated string `json:"deprecated" yaml:"deprecated,omitempty"`
140
146
Removed string `json:"removed" yaml:"removed,omitempty"`
147
+ Disabled string `json:"disabled" yaml:"disabled,omitempty"`
141
148
}
142
149
143
150
type FeatureGate struct {
Original file line number Diff line number Diff line change @@ -22,6 +22,8 @@ replaces:
22
22
- " /keps/sig-ccc/3456-replaced-kep"
23
23
24
24
# The target maturity stage in the current dev cycle for this KEP.
25
+ # If the purpose of this KEP is to deprecate a user-visible feature
26
+ # and a Deprecated feature gates are added, they should be deprecated|disabled|removed.
25
27
stage : alpha|beta|stable
26
28
27
29
# The most recent milestone for which work toward delivery of this KEP has been
You can’t perform that action at this time.
0 commit comments