features

package
v0.0.17 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2024 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewStep added in v0.0.10

func NewStep(name string, level types.Level, fn types.StepFn, opts ...StepOpt) types.Step

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) WithDescription

func (b *FeatureBuilder) WithDescription(desc string) *FeatureBuilder

func (*FeatureBuilder) WithStep

func (b *FeatureBuilder) WithStep(step types.Step) *FeatureBuilder

type StepOpt added in v0.0.10

type StepOpt func(*step)

func WithStepBackoff added in v0.0.10

func WithStepBackoff(backoff wait.Backoff) StepOpt

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL