cluster

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2017 License: Apache-2.0 Imports: 31 Imported by: 30

Documentation

Index

Constants

This section is empty.

Variables

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

ErrLostQuorum indicates that the etcd 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.EtcdCluster) *Cluster

func (*Cluster) Delete

func (c *Cluster) Delete()

func (*Cluster) Update

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

type Config added in v0.2.0

type Config struct {
	ServiceAccount string

	KubeCli   kubernetes.Interface
	EtcdCRCli versioned.Interface
}

Jump to

Keyboard shortcuts

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