options

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Port                 int
	HealthzPort          int
	HealthzListenAddress string

	ListenAddress    string
	TLSEnabled       bool
	TrustDomain      string
	TrustAnchorsFile *string
	SentryAddress    string
	PlacementAddress string
	Mode             string

	ID                      string
	ReplicaID               uint32
	ReplicaCount            uint32
	EtcdInitialPeers        []string
	EtcdDataDir             string
	EtcdClientPorts         []string
	EtcdClientHTTPPorts     []string
	EtcdSpaceQuota          int64
	EtcdCompactionMode      string
	EtcdCompactionRetention string

	Logger  logger.Options
	Metrics *metrics.FlagOptions
	// contains filtered or unexported fields
}

func New

func New(origArgs []string) (*Options, error)

Jump to

Keyboard shortcuts

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