Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CliParams ¶
type CliParams struct { ConfigFile *string UnsealKeyCount *int Instances multiValueFlags ResetInstances *bool StatusPath *string UnsealPath *string Interval *int Protocol *string Keys multiValueFlags KeyFile *string }
CliParams - The command line arguments options.
type Service ¶
type Service struct { Vault VaultConf Workers WorkersConf Servers []Instance `toml:"server"` Keys []string }
Service - The overarching configuration type
func LoadConfiguration ¶
func LoadConfiguration() *Service
LoadConfiguration - Load the configuration for the service.
type VaultConf ¶
type VaultConf struct { Protocol string StatusPath string `toml:"status_path"` UnsealPath string `toml:"unseal_path"` UnsealKeyCount int `toml:"unseal_key_count"` CheckInterval int `toml:"seal_check_interval"` }
VaultConf - The Vault configuration How to call, where to call, and how often to call
type WorkersConf ¶
type WorkersConf struct { StatusCheckCount int `toml:"status_check"` UnsealCount int `toml:"unseal"` LoggingCount int `toml:"logging"` }
WorkersConf - The workers configuration
Click to show internal directories.
Click to hide internal directories.