Documentation
¶
Overview ¶
Package service provides the runnable service that acts as the root of the overall system. It provides a configuration structure, a way to initialise a primed instance of the service which can then be start via the .Start() func.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
App stores application state
func Initialise ¶
Initialise prepares an instance of the app to run
type Config ¶
type Config struct {
Target task.Repo
Hostname string
SSH bool
Directory string
PassEnvironment bool
CheckInterval time.Duration
VaultAddress string
VaultToken string `json:"-"`
VaultPath string
VaultRenewal time.Duration
VaultConfig string
}
Config specifies static configuration parameters (from CLI or environment)
Click to show internal directories.
Click to hide internal directories.