ringpop

package
v1.20.5 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	IPV4Localhost = net.IPv4(127, 0, 0, 1)
)

Functions

func NewRingpopFactory

func NewRingpopFactory(
	rpConfig *config.Membership,
	serviceName primitives.ServiceName,
	servicePortMap map[primitives.ServiceName]int,
	logger log.Logger,
	metadataManager persistence.ClusterMetadataManager,
	rpcConfig *config.RPC,
	tlsProvider encryption.TLSConfigProvider,
	dc *dynamicconfig.Collection,
) (*ringpopFactory, error)

NewRingpopFactory builds a ringpop factory conforming to the underlying configuration

func ValidateRingpopConfig

func ValidateRingpopConfig(rpConfig *config.Membership) error

ValidateRingpopConfig validates that ringpop config is parseable and valid

Types

This section is empty.

Jump to

Keyboard shortcuts

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