Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigureManagement ¶
ConfigureManagement Load configuration and setup the mananagement database
func LoadConfig ¶
LoadConfig Load a configuration from URL and fallback to filepath if URL is not supplied. If the URL fails to return a valid configration an error is returned.
func SetConfigFile ¶
func SetConfigFile(cFile string)
SetConfigFile Set the file used for local configuration
func SetConfigURL ¶
func SetConfigURL(cURL string)
SetConfigURL Set the URL used for remote configuration
Types ¶
type Health ¶
type Health struct { Checks []HealthCheck // contains filtered or unexported fields }
Health Stores the result of all checks
func CheckConfig ¶
CheckConfig Check the current configuration for issues
func (*Health) AddFailValue ¶
AddFailValue Helper function for adding a failing check with a fail value
type HealthCheck ¶
HealthCheck Stores basic information about a check
Click to show internal directories.
Click to hide internal directories.