remote

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2019 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Decoder

type Decoder interface {
	Decode(io.Reader) (interface{}, error)
}

type EtcdV3

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

func (*EtcdV3) Get

func (p *EtcdV3) Get(rp lung.RemoteProvider) (io.Reader, error)

func (*EtcdV3) Watch

func (p *EtcdV3) Watch(rp lung.RemoteProvider) (io.Reader, error)

func (*EtcdV3) WatchChannel

func (p *EtcdV3) WatchChannel(rp lung.RemoteProvider) (<-chan *lung.RemoteResponse, chan bool)

type Etcdv2

type Etcdv2 struct {
	Decoder
	lung.RemoteProvider

	Username string
	Password string
}

func (*Etcdv2) Get

func (c *Etcdv2) Get(rp lung.RemoteProvider) (io.Reader, error)

func (*Etcdv2) Watch

func (c *Etcdv2) Watch(rp lung.RemoteProvider) (io.Reader, error)

func (*Etcdv2) WatchChannel

func (c *Etcdv2) WatchChannel(rp lung.RemoteProvider) (<-chan *lung.RemoteResponse, chan bool)

Jump to

Keyboard shortcuts

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