options

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CompletedOptions

type CompletedOptions struct {
	// contains filtered or unexported fields
}

type Options

type Options struct {
	Enabled bool

	Directory         string
	PeerPort          string
	ClientPort        string
	ListenMetricsURLs []string
	WalSizeBytes      int64
	QuotaBackendBytes int64
	ForceNewCluster   bool
}

func NewOptions

func NewOptions(rootDir string) *Options

func (*Options) AddFlags

func (e *Options) AddFlags(fs *pflag.FlagSet)

func (*Options) Complete

func (e *Options) Complete(etcdOptions *genericoptions.EtcdOptions) CompletedOptions

func (*Options) Validate

func (e *Options) Validate() []error

Jump to

Keyboard shortcuts

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