Documentation ¶
Index ¶
Constants ¶
View Source
const EndureKey string = "endure"
View Source
const InformerList string = "informer.List"
View Source
const InformerWorkers string = "informer.Workers"
View Source
const List string = "resetter.List"
List is the resetter.List RPC method
View Source
const Reset string = "resetter.Reset"
Reset is the resetter.Reset RPC method
Variables ¶
View Source
var ( // WorkDir is working directory WorkDir string // CfgFile is path to the .rr.yaml CfgFile string // Debug mode Debug bool // Container is the pointer to the Endure container Container *endure.Endure RetryOnFail bool GracePeriod time.Duration = time.Second * 30 )
View Source
var ( // Version - defines build version. Version string = "local" // BuildTime - defined build time. BuildTime string = "development" )
Functions ¶
Types ¶
type EndureConfig ¶ added in v2.0.1
type EndureConfig struct { GracePeriod time.Duration `mapstructure:"grace_period"` PrintGraph bool `mapstructure:"print_graph"` RetryOnFail bool `mapstructure:"retry_on_fail"` //TODO check for races, disabled at the moment LogLevel string `mapstructure:"log_level"` }
EndureConfig represents container configuration
Click to show internal directories.
Click to hide internal directories.