cluster

package
v0.0.0-...-04b7f26 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2021 License: Apache-2.0 Imports: 28 Imported by: 0

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

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