etcd

package
v0.0.37 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PeerPort   = "2380"
	ClientPort = "2379"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type EtcdConfig

type EtcdConfig struct {
	Endpoints []string
	TLS       *tls.Config
}

func RunEmbeddedEtcd

func RunEmbeddedEtcd(ctx context.Context, path string, certs *certs.CertInfo) (*EtcdConfig, error)

Jump to

Keyboard shortcuts

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