etcd

package
v0.0.0-...-4c5efe1 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2021 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCluster

func NewCluster(log logr.Logger) cluster.Cluster

Types

type Cluster

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

func (*Cluster) Delete

func (c *Cluster) Delete(k string) (err error)

func (*Cluster) Fatal

func (c *Cluster) Fatal(err error)

func (*Cluster) Get

func (c *Cluster) Get(k string) (v []byte, err error)

func (*Cluster) GetPrefix

func (c *Cluster) GetPrefix(pk string) (m map[string][]byte, err error)

func (*Cluster) ID

func (c *Cluster) ID() string

func (*Cluster) Logger

func (c *Cluster) Logger() logr.Logger

func (*Cluster) Reset

func (c *Cluster) Reset()

func (*Cluster) Set

func (c *Cluster) Set(k string, v []byte) (err error)

func (*Cluster) SetCallbacks

func (c *Cluster) SetCallbacks(callbacks cluster.Callbacks) error

func (*Cluster) Start

func (c *Cluster) Start(etcdcfg *config.Config) error

func (*Cluster) Stepdown

func (c *Cluster) Stepdown()

func (*Cluster) Stop

func (c *Cluster) Stop()

Jump to

Keyboard shortcuts

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