Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Name string `toml:"name"`
WorkerAddr string `toml:"worker-addr"`
AdvertiseAddr string `toml:"advertise-addr"`
// Join is the dm-master client address list (e.g., "host1:8261,host2:8261")
Join string `toml:"join"`
RelayDir string `toml:"relay-dir"`
// SSL fields are top-level in DM worker config (not nested under [security])
SSLCA string `toml:"ssl-ca"`
SSLCert string `toml:"ssl-cert"`
SSLKey string `toml:"ssl-key"`
}
Config is a subset config of dm-worker. Only operator-managed fields are defined here.
Click to show internal directories.
Click to hide internal directories.