Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Execute ¶
func Execute()
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func IsJSONOutput ¶ added in v0.3.0
func IsJSONOutput() bool
IsJSONOutput returns true if JSON output is requested
func LoadConfigWithOverrides ¶ added in v0.2.8
LoadConfigWithOverrides loads configuration with command-line overrides
func ShouldShowTips ¶ added in v0.3.0
func ShouldShowTips() bool
ShouldShowTips returns true if tips should be displayed to the user
Types ¶
type HealthCheckResult ¶ added in v0.3.12
type HealthCheckResult struct {
DatabaseName string `json:"database_name"`
DatabaseType string `json:"database_type"`
Healthy bool `json:"healthy"`
Message string `json:"message"`
URL string `json:"url,omitempty"`
Collections []string `json:"collections,omitempty"`
CollectionsCount int `json:"collections_count"`
}
HealthCheckResult represents the result of a health check
Source Files
¶
Click to show internal directories.
Click to hide internal directories.