options

package
v0.0.0-...-949823d Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2024 License: Apache-2.0 Imports: 11 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
	KubeConfig       *string

	ID                      string
	ReplicaID               uint32
	ReplicaCount            uint32
	EtcdInitialPeers        []string
	EtcdDataDir             string
	EtcdClientPorts         []string
	EtcdClientHTTPPorts     []string
	EtcdSpaceQuota          int64
	EtcdCompactionMode      string
	EtcdCompactionRetention string
	EtcdSnapshotCount       uint64
	EtcdMaxSnapshots        uint
	EtcdMaxWALs             uint

	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