cluster

package
v0.0.0-...-2a28ce9 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2018 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrLostQuorum = errors.New("lost quorum")

ErrLostQuorum indicates that the zookeeper cluster lost its quorum.

Functions

This section is empty.

Types

type Cluster

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

func New

func New(config Config, cl *api.ZookeeperCluster) *Cluster

func (*Cluster) Delete

func (c *Cluster) Delete()

func (*Cluster) ResolvePodServiceAddress

func (c *Cluster) ResolvePodServiceAddress(member *zookeeperutil.Member) (string, error)

func (*Cluster) Update

func (c *Cluster) Update(cl *api.ZookeeperCluster)

type Config

type Config struct {
	ServiceAccount string

	KubeCli        kubernetes.Interface
	ZookeeperCRCli versioned.Interface
}

Jump to

Keyboard shortcuts

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