Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Version of dcos-diagnostics code. Version = "dev" Commit = "unset" // APIVer is an API version. APIVer = 1 )
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { SystemdUnits []string // dcos-diagnostics flags FlagCACertFile string `mapstructure:"ca-cert"` FlagPull bool `mapstructure:"pull"` FlagVerbose bool `mapstructure:"verbose"` FlagPort int `mapstructure:"port"` FlagDisableUnixSocket bool `mapstructure:"no-unix-socket"` FlagMasterPort int `mapstructure:"master-port"` FlagAgentPort int `mapstructure:"agent-port"` FlagPullInterval int `mapstructure:"pull-interval"` FlagPullTimeoutSec int `mapstructure:"pull-timeout"` FlagUpdateHealthReportInterval int `mapstructure:"health-update-interval"` FlagExhibitorClusterStatusURL string `mapstructure:"exhibitor-ip"` FlagForceTLS bool `mapstructure:"force-tls"` FlagDebug bool `mapstructure:"debug"` FlagRole string `mapstructure:"role"` FlagIAMConfig string `mapstructure:"iam-config"` FlagHostname string `mapstructure:"hostname"` FlagIPDiscoveryCommandLocation string `mapstructure:"ip-discovery-command-location"` // diagnostics job flags FlagDiagnosticsBundleDir string `mapstructure:"diagnostics-bundle-dir"` FlagDiagnosticsBundleEndpointsConfigFiles []string `mapstructure:"endpoint-config"` FlagDiagnosticsBundleUnitsLogsSinceString string `mapstructure:"diagnostics-units-since"` FlagDiagnosticsJobTimeoutMinutes int `mapstructure:"diagnostics-job-timeout"` FlagDiagnosticsJobGetSingleURLTimeoutMinutes int `mapstructure:"diagnostics-url-timeout"` FlagCommandExecTimeoutSec int `mapstructure:"command-exec-timeout"` FlagDiagnosticsBundleFetchersCount int `mapstructure:"fetchers-count"` }
Config structure is a main config object
func (Config) GetSingleEntryTimeout ¶
Click to show internal directories.
Click to hide internal directories.