Documentation ¶
Index ¶
- type Feature
- type Harness
- type Inventory
- func (i *Inventory) AddFeature(ctx context.Context, harness string, feature Feature) error
- func (i *Inventory) AddHarness(ctx context.Context, id string) error
- func (i *Inventory) GetFeatures(ctx context.Context, id string) (map[string]Feature, error)
- func (i *Inventory) RemoveFeature(ctx context.Context, harness string, id string) error
- func (i *Inventory) RemoveHarness(ctx context.Context, id string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Inventory ¶
type Inventory struct {
// contains filtered or unexported fields
}
func NewInventory ¶ added in v0.0.37
func (*Inventory) AddFeature ¶
AddFeature adds a feature to an existing harness. It returns an error if the harness does not exist.
func (*Inventory) AddHarness ¶
AddHarness creates a new harness with the given id. If the harness already exists this is a no-op.
func (*Inventory) GetFeatures ¶
func (*Inventory) RemoveFeature ¶
Click to show internal directories.
Click to hide internal directories.