Documentation ¶
Index ¶
- type Slot
- func (s *Slot) BashCmd(cmd string, remote bool) (exec.Cmd, error)
- func (s *Slot) ExecuteHandlers(e notify.EventInfo, u UnitInterface) error
- func (s Slot) IsDefault() bool
- func (s *Slot) RSync(local string, u UnitInterface) error
- func (s Slot) Resolve(u UnitInterface) (bool, error)
- func (s *Slot) Start(u UnitInterface) error
- func (s *Slot) Stop(u UnitInterface) error
- func (s *Slot) Validate() []*gerrors.ErrWithPath
- type UnitInterface
- Bugs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Slot ¶
type Slot struct { Name string `hcl:"name"` Provider *provider.Provider `hcl:"provider"` Events chan notify.EventInfo Resolver map[string]string `hcl:"resolver"` }
func (*Slot) ExecuteHandlers ¶
func (s *Slot) ExecuteHandlers(e notify.EventInfo, u UnitInterface) error
func (*Slot) Start ¶
func (s *Slot) Start(u UnitInterface) error
func (*Slot) Stop ¶
func (s *Slot) Stop(u UnitInterface) error
func (*Slot) Validate ¶
func (s *Slot) Validate() []*gerrors.ErrWithPath
type UnitInterface ¶
Notes ¶
Bugs ¶
This is wrong - we need to pull thhe path of the config file, not ourself - otherwise we're basing the relative path off of the wrong root.
Click to show internal directories.
Click to hide internal directories.