Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KineOptions ¶
type KineOptions struct { BindAddress string `yaml:"bind-address"` SecurePort uint16 `yaml:"secure-port"` CACert string `yaml:"ca-cert"` ServerCertFile string `yaml:"server-cert-file"` ServerkeyFile string `yaml:"server-key-file"` }
var DefaultKO KineOptions = KineOptions{
BindAddress: "127.0.0.1",
SecurePort: 2379,
}
func NewKineOptions ¶
func NewKineOptions() *KineOptions
func (*KineOptions) HelpSection ¶
func (opt *KineOptions) HelpSection() *help.Section
func (*KineOptions) PrintFlags ¶
func (opt *KineOptions) PrintFlags(prefix string, printFunc func(format string, a ...interface{}) error) error
print all flags
Click to show internal directories.
Click to hide internal directories.