util

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package util implements etcd utility functions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MemberEqual added in v0.3.11

func MemberEqual(members1, members2 []*etcd.Member) bool

MemberEqual returns true if the lists of members match.

This function only checks that set of names of each member within the lists is the same.

func MemberForName

func MemberForName(members []*etcd.Member, name string) *etcd.Member

MemberForName returns the etcd member with the matching name.

func MemberNames added in v0.3.11

func MemberNames(members []*etcd.Member) []string

MemberNames returns a list of all the etcd member names.

Types

This section is empty.

Jump to

Keyboard shortcuts

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