Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // FlagPort is a TCP port the service must run on. FlagPort int `json:"port"` // FlagVerbose is used to enable debug logs. FlagVerbose bool `json:"verbose"` // FlagConfig is a path to a config file. FlagConfig string `json:"-"` // FlagUseAuth enables authorization. FlagAuth bool `json:"auth"` // FlagCACertFile is a path to CA certificate. FlagCACertFile string `json:"ca-cert"` // FlagGetRequestTimeout sets a timeout for Get requests used in authorization. FlagGetRequestTimeout string `json:"timeout"` // FlagRole sets a node's role FlagRole string `json:"role"` }
Config is a structure used to store dcos-log config.
Click to show internal directories.
Click to hide internal directories.