Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewExportCommand ¶
NewExportCommand returns data from export.
func NewPrintConfigCommand ¶
NewPrintConfigCommand print configuration.
func NewValidateCommand ¶
NewValidateCommand sets data from input.
Types ¶
type Etcdtool ¶
type Etcdtool struct { Peers string `json:"peers,omitempty" yaml:"peers,omitempty" toml:"peers,omitempty"` Cert string `json:"cert,omitempty" yaml:"cert,omitempty" toml:"cert,omitempty"` Key string `json:"key,omitempty" yaml:"key,omitempty" toml:"key,omitempty"` CA string `json:"ca,omitempty" yaml:"ca,omitempty" toml:"peers,omitempty"` User string `json:"user,omitempty" yaml:"user,omitempty" toml:"user,omitempty"` Timeout time.Duration `json:"timeout,omitempty" yaml:"timeout,omitempty" toml:"timeout,omitempty"` CommandTimeout time.Duration `json:"commandTimeout,omitempty" yaml:"commandTimeout,omitempty" toml:"commandTimeout,omitempty"` Routes []Route `json:"routes" yaml:"routes" toml:"routes"` PasswordFilePath string }
Etcdtool configuration struct.
Click to show internal directories.
Click to hide internal directories.