Documentation
¶
Overview ¶
Package feature provides feature generator
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // RuleDefinition is a marker for defining Feature rules. RuleDefinition = markers.Must(markers.MakeDefinition(markerName, markers.DescribesType, Rule{})) )
Functions ¶
This section is empty.
Types ¶
type Generator ¶
type Generator struct{}
Generator is feature generator that registers feature markers and produces output artifacts
type Rule ¶
type Rule struct {
// Name of the feature.
Name string
// Description of the feature.
Description string `marker:",optional"`
// Stability indicates stability level of this feature.
Stability corev1alpha2.StabilityLevel
}
Rule is the output type of the marker value
Click to show internal directories.
Click to hide internal directories.