etcd

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct {
	kv.Provider `mapstructure:",squash" export:"true"`
}

Provider holds configurations of the provider.

func (*Provider) CheckVersion

func (p *Provider) CheckVersion(moppiVersion string) (bool, error)

CheckVersion checks the meta version of the moppi repo

func (*Provider) CreateStore

func (p *Provider) CreateStore(bucket string) (store.Store, error)

CreateStore creates the etcd store

func (*Provider) Package

func (p *Provider) Package(req *provider.Request) (*provider.Package, error)

Package gets a package from etcd

func (*Provider) Version

func (p *Provider) Version() (*store.KVPair, error)

Version gets the meta version of the moppi repo

Jump to

Keyboard shortcuts

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