options

package
v0.26.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 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