Documentation ¶
Index ¶
- type Entry
- type ListStore
- func (s *ListStore) GenerateOutput(stamp *stamp.Stamp, argStore *args.Store) (err error)
- func (s *ListStore) InheritFrom(other ListStore)
- func (s *ListStore) IsValid(paramStore *param.Store, canvasStore *canvas.Store) (err error)
- func (s *ListStore) Resolve(ps preset.Store) (err error)
- func (s *ListStore) UnmarshalYAML(unmarshal func(interface{}) error) (err error)
- type MapStore
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
type Entry interface {
// contains filtered or unexported methods
}
Entry is an interface for the content. D'oh!
type ListStore ¶
type ListStore []Entry
ListStore stores a list of parameter descriptions
func (*ListStore) GenerateOutput ¶
GenerateOutput generates the output for the current content store into the provided stamp
func (*ListStore) InheritFrom ¶
InheritFrom copies over entries from another Store.
func (*ListStore) IsValid ¶
IsValid validates whether all content entries are valid. This means, e.g., that the already contain all required values. Thus this should only be called after the store was resolved.
func (*ListStore) Resolve ¶
Resolve resolves preset requirements for all entries in the ContentStore
func (*ListStore) UnmarshalYAML ¶
UnmarshalYAML unmarshals a Content List Store
type MapStore ¶
MapStore stores a list of parameter descriptions type MapStore map[string]Entry
func (*MapStore) InheritFrom ¶
InheritFrom inherits entries from another param store. An error is returned in case an entry exists in both stores.
func (*MapStore) IsValid ¶
IsValid validates whether all content entries are valid. This means, e.g., that the already contain all required values. Thus this should only be called after the store was resolved.
func (*MapStore) UnmarshalYAML ¶
UnmarshalYAML unmarshals a Content Store