Documentation ¶
Index ¶
- Constants
- type Model
- func (m *Model) AddNode(node draft.Node) error
- func (m *Model) AlterNode(atIndex int, node draft.Node) error
- func (m *Model) BuildSpec() (*spec.Spec, error)
- func (m *Model) Draft() *draft.Draft
- func (m *Model) GetNode(index int) (*draft.Node, error)
- func (m *Model) Identity() *crypto.Identity
- func (m *Model) LoadSpec(stage string) (*spec.OptSpec, error)
- func (m *Model) RemoveNode(index int) error
- func (m *Model) Save() error
- func (m *Model) SaveSpec(stage string, s spec.Spec) error
Constants ¶
View Source
const ( StageProposed = "proposed" StageApproved = "approved" )
spec stages
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.