endpoint

package
v0.13.4 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: Apache-2.0 Imports: 24 Imported by: 27

Documentation

Index

Constants

View Source
const (
	KineSocket = "unix://kine.sock"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	GRPCServer           *grpc.Server
	Listener             string
	Endpoint             string
	ConnectionPoolConfig generic.ConnectionPoolConfig
	ServerTLSConfig      tls.Config
	BackendTLSConfig     tls.Config
	MetricsRegisterer    prometheus.Registerer
	NotifyInterval       time.Duration
	EmulatedETCDVersion  string
}

type ETCDConfig

type ETCDConfig struct {
	Endpoints   []string
	TLSConfig   tls.Config
	LeaderElect bool
}

func Listen

func Listen(ctx context.Context, config Config) (ETCDConfig, error)

Jump to

Keyboard shortcuts

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