zookeeper

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2015 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckZkMappingInFleet

func CheckZkMappingInFleet(etcdPath string, etcdClient *etcd.Client, etcdURL []string)

CheckZkMappingInFleet verifies if there is a mapping for each node in the CoreOS cluster using the metadata zookeeper=true to filter wich nodes zookeeper should run

Types

type ZkServer

type ZkServer struct {
	Stdout, Stderr io.Writer
	// contains filtered or unexported fields
}

ZkServer struct to execute zookeeper commands.

func (*ZkServer) Pid

func (srv *ZkServer) Pid() int

Pid returns the process id of the running zookeeper server

func (*ZkServer) Start

func (srv *ZkServer) Start() error

Start starts a zookeeper server

func (*ZkServer) Stop

func (srv *ZkServer) Stop()

Stop stops a running zookeeper server

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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