Documentation ¶
Index ¶
- type FeatureBuilder
- func (b *FeatureBuilder) Build() types.Feature
- func (b *FeatureBuilder) WithAfter(name string, fn types.StepFn) *FeatureBuilder
- func (b *FeatureBuilder) WithAssessment(name string, fn types.StepFn) *FeatureBuilder
- func (b *FeatureBuilder) WithBefore(name string, fn types.StepFn) *FeatureBuilder
- func (b *FeatureBuilder) WithDescription(desc string) *FeatureBuilder
- func (b *FeatureBuilder) WithLabels(labels map[string]string) *FeatureBuilder
- func (b *FeatureBuilder) WithStep(step types.Step) *FeatureBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FeatureBuilder ¶
type FeatureBuilder struct {
// contains filtered or unexported fields
}
func NewBuilder ¶
func NewBuilder(name string) *FeatureBuilder
func (*FeatureBuilder) Build ¶
func (b *FeatureBuilder) Build() types.Feature
Build the feature for the given environment.
func (*FeatureBuilder) WithAfter ¶
func (b *FeatureBuilder) WithAfter(name string, fn types.StepFn) *FeatureBuilder
func (*FeatureBuilder) WithAssessment ¶
func (b *FeatureBuilder) WithAssessment(name string, fn types.StepFn) *FeatureBuilder
func (*FeatureBuilder) WithBefore ¶
func (b *FeatureBuilder) WithBefore(name string, fn types.StepFn) *FeatureBuilder
func (*FeatureBuilder) WithDescription ¶
func (b *FeatureBuilder) WithDescription(desc string) *FeatureBuilder
func (*FeatureBuilder) WithLabels ¶
func (b *FeatureBuilder) WithLabels(labels map[string]string) *FeatureBuilder
func (*FeatureBuilder) WithStep ¶
func (b *FeatureBuilder) WithStep(step types.Step) *FeatureBuilder
Click to show internal directories.
Click to hide internal directories.