Documentation ¶
Index ¶
Constants ¶
View Source
const ( Delay = "delay" MaxWait = "max_wait" Cycle = "cycle" EnvDelay = "MINIO_SCANNER_DELAY" EnvCycle = "MINIO_SCANNER_CYCLE" EnvDelayLegacy = "MINIO_CRAWLER_DELAY" EnvMaxWait = "MINIO_SCANNER_MAX_WAIT" EnvMaxWaitLegacy = "MINIO_CRAWLER_MAX_WAIT" )
Compression environment variables
Variables ¶
View Source
var ( // DefaultKVS - default KV config for heal settings DefaultKVS = config.KVS{ config.KV{ Key: Delay, Value: "10", }, config.KV{ Key: MaxWait, Value: "15s", }, config.KV{ Key: Cycle, Value: "1m", }, } // Help provides help for config values Help = config.HelpKVS{ config.HelpKV{ Key: Delay, Description: `scanner delay multiplier, defaults to '10.0'`, Optional: true, Type: "float", }, config.HelpKV{ Key: MaxWait, Description: `maximum wait time between operations, defaults to '15s'`, Optional: true, Type: "duration", }, config.HelpKV{ Key: Cycle, Description: `time duration between scanner cycles, defaults to '1m'`, Optional: true, Type: "duration", }, } )
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.