etcd

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2025 License: Apache-2.0 Imports: 20 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
	InitialCluster       []string
	ClientPort           uint64
	SpaceQuota           int64
	CompactionMode       string
	CompactionRetention  string
	SnapshotCount        uint64
	MaxSnapshots         uint
	MaxWALs              uint
	BackendBatchLimit    int
	BackendBatchInterval string
	DefragThresholdMB    uint
	Metrics              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