Documentation ¶
Index ¶
- Constants
- func LogOutput(runner *Local)
- func RunAll(runner Runner, config *Config) error
- func RunStep(runner Runner, s *ConfigStep) error
- func RunTask(runner Runner, config *Config, taskName string) error
- func StopAllPlugins()
- type Command
- type Config
- type ConfigEvent
- type ConfigInterfaces
- type ConfigServer
- type ConfigStep
- type ConfigTask
- type ConfigWebInterface
- type ConfigWebUsers
- type Local
- type Plugin
- type PluginCache
- type PluginInformation
- type Remote
- type Runner
- type Task
- Bugs
Constants ¶
View Source
const READ_BUFFER_SIZE = 1024
Variables ¶
This section is empty.
Functions ¶
func RunStep ¶
func RunStep(runner Runner, s *ConfigStep) error
func StopAllPlugins ¶
func StopAllPlugins()
BUG(Tobscher) Send signal to gracefully shutdown the plugin BUG(Tobscher) Use lock
Types ¶
type Config ¶
type Config struct { Vars map[string]string ServerGroups map[string][]ConfigServer Tasks map[string]ConfigTask Triggers map[string]ConfigEvent Interfaces ConfigInterfaces }
func (*Config) GetServerGroup ¶
func (c *Config) GetServerGroup(name string) ([]ConfigServer, error)
type ConfigEvent ¶
type ConfigInterfaces ¶
type ConfigInterfaces struct {
Web ConfigWebInterface
}
type ConfigServer ¶
type ConfigStep ¶
type ConfigTask ¶
type ConfigTask struct {
Steps []ConfigStep
}
type ConfigWebInterface ¶
type ConfigWebInterface struct { Settings map[string]string Users []ConfigWebUsers }
type ConfigWebUsers ¶
type Local ¶
func NewLocalRunner ¶
type PluginCache ¶
PluginCache stores loaded plugins
type PluginInformation ¶
func (*PluginInformation) Address ¶
func (p *PluginInformation) Address() string
type Remote ¶
Remote describes a runner which runs task on a remote system via SSH.
func NewRemoteRunner ¶
func NewRemoteRunner(options ConfigServer) (*Remote, error)
NewRemoteRunner creates a new runner which runs tasks on a remote system.
An SSH connection will be establishe.
Notes ¶
Bugs ¶
Send signal to gracefully shutdown the plugin
Use lock
Source Files ¶
Click to show internal directories.
Click to hide internal directories.