mirror of
https://github.com/rancher/types.git
synced 2025-04-27 18:25:05 +00:00
Merge pull request #1120 from rmweir/add-feature-description
Add feature description
This commit is contained in:
commit
ad773344a3
@ -27,6 +27,7 @@ type FeatureSpec struct {
|
||||
}
|
||||
|
||||
type FeatureStatus struct {
|
||||
Dynamic bool `json:"dynamic"`
|
||||
Default bool `json:"default"`
|
||||
Dynamic bool `json:"dynamic"`
|
||||
Default bool `json:"default"`
|
||||
Description string `json:"description"`
|
||||
}
|
||||
|
@ -1,12 +1,14 @@
|
||||
package client
|
||||
|
||||
const (
|
||||
FeatureStatusType = "featureStatus"
|
||||
FeatureStatusFieldDefault = "default"
|
||||
FeatureStatusFieldDynamic = "dynamic"
|
||||
FeatureStatusType = "featureStatus"
|
||||
FeatureStatusFieldDefault = "default"
|
||||
FeatureStatusFieldDescription = "description"
|
||||
FeatureStatusFieldDynamic = "dynamic"
|
||||
)
|
||||
|
||||
type FeatureStatus struct {
|
||||
Default bool `json:"default,omitempty" yaml:"default,omitempty"`
|
||||
Dynamic bool `json:"dynamic,omitempty" yaml:"dynamic,omitempty"`
|
||||
Default bool `json:"default,omitempty" yaml:"default,omitempty"`
|
||||
Description string `json:"description,omitempty" yaml:"description,omitempty"`
|
||||
Dynamic bool `json:"dynamic,omitempty" yaml:"dynamic,omitempty"`
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user