Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DBFlag ¶
type DBFlag struct {
Driver sqlx.DBDriver `long:"driver" description:"Database driver to use for SQL backend (e.g. mysql, postgres, in-memory)" required:"true"`
Host string `long:"host" description:"Host for SQL backend"`
Port int `long:"port" description:"Port for SQL backend"`
Schema string `long:"schema" description:"Database name to use for connecting to SQL backend"`
Username string `long:"username" description:"Username to use for connecting to SQL backend"`
Password string `long:"password" description:"Password to use for connecting to SQL backend"`
TLS SQLTLSFlag `group:"TLS" namespace:"tls"`
Tuning SQLTuningFlag `group:"Tuning" namespace:"tuning"`
}
func (*DBFlag) IsInMemory ¶
type LagerFlag ¶
type LagerFlag struct {
LogLevel LogLevel `` /* 134-byte string literal not displayed */
}
type SQLTLSFlag ¶
type SQLTLSFlag struct {
Required bool `long:"required" description:"Require TLS connections to the SQL backend"`
RootCAs []ioutilx.FileOrString `long:"root-ca" description:"CA certificate(s) for TLS connection to the SQL backend"`
}
type SQLTuningFlag ¶
Click to show internal directories.
Click to hide internal directories.