etcd

package
v0.0.0-...-a143e3c Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NodePrivateMask   string = "privateMask"
	NodePublicIP      string = "publicIP"
	NodeDirectRouting string = "directRouting"
	NodeVpcMode       string = "vpcMode"
	NodeVpc           string = "vpc"

	EtcdURLDefault string = "http://127.0.0.1:30901"
)

Variables

View Source
var (
	EtcdURL string
)

Functions

This section is empty.

Types

type Etcd

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

func (*Etcd) GetNode

func (e *Etcd) GetNode(node node.Node) error

func (*Etcd) Init

func (e *Etcd) Init(storage node.NodeStorage) error

func (*Etcd) IsReady

func (e *Etcd) IsReady() bool

func (*Etcd) Loop

func (e *Etcd) Loop() error

func (*Etcd) Put

func (e *Etcd) Put(key string, value string) error

func (*Etcd) SaveNode

func (e *Etcd) SaveNode(node node.Node) error

saves to etcd the fields that are not available on the k8s api server

type KeyValue

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

Jump to

Keyboard shortcuts

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