util

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2024 License: Apache-2.0 Imports: 3 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

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

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