Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultLogLevel is the default logging level. DefaultLogLevel = log.InfoLevel // DefaultTermSignal is the signal to term the agent. DefaultTermSignal = syscall.SIGTERM // DefaultReloadSignal is the default signal for reload. DefaultReloadSignal = syscall.SIGHUP // DefaultKillSignal is the default signal for termination. DefaultKillSignal = syscall.SIGINT // DefaultDroneRPCAddress is the default address of the Drone server DefaultDroneRPCAddress = "http://localhost" // DefaultDroneRPCSecret is the default secret of the Drone server DefaultDroneRPCSecret = "magic_secret" // DefaultDroneRPCCapacity ... DefaultDroneRPCCapacity = 1 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // LogLevel is the level with with to log for this config LogLevel log.Level // ReloadSignal ReloadSignal syscall.Signal // TermSignal TermSignal syscall.Signal // KillSignal KillSignal syscall.Signal // Timeout of the runtime Timeout time.Duration // DroneRPCAddress ... DroneRPCAddress string // DroneRPCSecret ... DroneRPCSecret string // DroneRPCCapacity ... DroneRPCCapacity int // Runner ... Runner Runner }
Config contains a configuration for drone-runner-virtualbox
Click to show internal directories.
Click to hide internal directories.