etcd

package
v1.16.13 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2026 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	Run(context.Context) error
	Client(context.Context) (*clientv3.Client, error)
}

func New

func New(opts Options) (Interface, error)

type Options

type Options struct {
	Name string

	Embed bool

	InitialCluster             []string
	ClientPort                 uint64
	ClientListenAddress        string
	SpaceQuota                 int64
	CompactionMode             string
	CompactionRetention        string
	SnapshotCount              uint64
	MaxSnapshots               uint
	MaxWALs                    uint
	BackendBatchLimit          int
	BackendBatchInterval       string
	DefragThresholdMB          uint
	InitialElectionTickAdvance bool
	Metrics                    string

	ClientEndpoints []string
	ClientUsername  string
	ClientPassword  string

	Security security.Handler

	DataDir string
	Healthz healthz.Healthz
	Mode    modes.DaprMode
}

Jump to

Keyboard shortcuts

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