kubernetes/vendor/go.etcd.io/etcd/server/v3/config/config.go

type ServerConfig

// VerifyBootstrap sanity-checks the initial config for bootstrap case
// and returns an error for things that should never happen.
func (c *ServerConfig) VerifyBootstrap() error {}

// VerifyJoinExisting sanity-checks the initial config for join existing cluster
// case and returns an error for things that should never happen.
func (c *ServerConfig) VerifyJoinExisting() error {}

// hasLocalMember checks that the cluster at least contains the local server.
func (c *ServerConfig) hasLocalMember() error {}

// advertiseMatchesCluster confirms peer URLs match those in the cluster peer list.
func (c *ServerConfig) advertiseMatchesCluster() error {}

func (c *ServerConfig) MemberDir() string {}

func (c *ServerConfig) WALDir() string {}

func (c *ServerConfig) SnapDir() string {}

func (c *ServerConfig) ShouldDiscover() bool {}

// ReqTimeout returns timeout for request to finish.
func (c *ServerConfig) ReqTimeout() time.Duration {}

func (c *ServerConfig) ElectionTimeout() time.Duration {}

func (c *ServerConfig) PeerDialTimeout() time.Duration {}

func CheckDuplicateURL(urlsmap types.URLsMap) bool {}

func (c *ServerConfig) BootstrapTimeoutEffective() time.Duration {}

func (c *ServerConfig) BackendPath() string {}