zookeeper

package
v0.0.0-...-af6c984 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewZookeeperMetadataReport

func NewZookeeperMetadataReport(name string, zkAddrs []string) metadata.MetaData

NewZookeeperMetadataReport create a zookeeper metadata reporter

Types

type ZookeeperMetadataReport

type ZookeeperMetadataReport struct {
	// contains filtered or unexported fields
}

ZookeeperMetadataReport is the implementation of MetadataReport based on zookeeper.

func (*ZookeeperMetadataReport) GetChildren

func (z *ZookeeperMetadataReport) GetChildren(path string) ([]string, error)

GetChildren get children node

func (*ZookeeperMetadataReport) ShowChildren

func (z *ZookeeperMetadataReport) ShowChildren() (map[string][]string, error)

ShowChildren shou children list

Jump to

Keyboard shortcuts

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