etcd

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Etcd

type Etcd struct {
	Client   *clientv3.Client
	Hosts    []string
	Username *string
	Password *string
	Key      string
	Limit    *int64
	// TLS
	EnableTLS   *bool
	TLSInsecure *bool
	TLSCert     *string
	TLSKey      *string
	TLSCA       *string
}

func (*Etcd) Cleanup

func (d *Etcd) Cleanup() error

func (*Etcd) Init

func (d *Etcd) Init() error

func (*Etcd) LoadEnv

func (d *Etcd) LoadEnv(prefix string) error

func (*Etcd) LoadFlags

func (d *Etcd) LoadFlags() error

func (*Etcd) Push

func (d *Etcd) Push(r io.Reader) error

Jump to

Keyboard shortcuts

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