Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action interface { Apply(*ActionContext) error Pprint() }
type ActionContext ¶ added in v0.5.0
type ActionContext struct {
KeyValueStore *shell.KeyValueStore
}
type Alias ¶
func (Alias) Apply ¶
func (a Alias) Apply(actx *ActionContext) error
TODO: remove code duplication with export.go
type Delete ¶
type Delete struct {
Path string
}
func (Delete) Apply ¶
func (d Delete) Apply(actx *ActionContext) error
type MissingRulesFile ¶
type MissingRulesFile struct{}
func (*MissingRulesFile) Error ¶
func (e *MissingRulesFile) Error() string
type Rule ¶
type RulesConfig ¶
func LoadRulesConfig ¶
func LoadRulesConfig(filepath string) (RulesConfig, error)
TODO: return a pointer to RulesConfig
Source Files ¶
Click to show internal directories.
Click to hide internal directories.