Documentation
¶
Index ¶
- type Board
- func (b *Board) ASCIIDocTable() string
- func (b *Board) AddFeature(label string) *Board
- func (b *Board) AddField(FeatureLabel string, fieldLabel string) *Board
- func (b *Board) AddLane(label string) *Board
- func (b *Board) CountFeatures() int
- func (b *Board) GetFeatureRef(id string) FeatureReference
- func (b *Board) GetLane(index int) Lane
- func (b *Board) GetLaneByLabel(label string) Lane
- func (b *Board) Move(id string, laneLabel string) *Board
- func (b *Board) MoveLane(position int) *Board
- func (b *Board) RemoveFeature(id string)
- func (b *Board) String() string
- func (b *Board) Table() *strfmt.Table
- func (b *Board) Write(w io.Writer) error
- type Feature
- type FeatureReference
- type Field
- type Lane
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Board ¶
type Board struct { Lanes []Lane `yaml:"lanes"` ShowFeatureIDs bool `yaml:"-"` ShowLaneNumbers bool `yaml:"-"` }
func (*Board) ASCIIDocTable ¶
func (*Board) AddFeature ¶
func (*Board) CountFeatures ¶
func (*Board) GetFeatureRef ¶
func (b *Board) GetFeatureRef(id string) FeatureReference
func (*Board) GetLaneByLabel ¶
func (*Board) RemoveFeature ¶
type Feature ¶
type Feature struct { FeatureReference `yaml:"ref"` Fields []Field }
func GetFeature ¶
func (*Feature) RemoveField ¶
type FeatureReference ¶
func (FeatureReference) Feature ¶
func (r FeatureReference) Feature() Feature
type Lane ¶
type Lane struct { Label string `yaml:"label"` Features []FeatureReference `yaml:"features"` }
Click to show internal directories.
Click to hide internal directories.