kine

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL