kv

package
v1.3.0-rc1 Latest Latest
Warning

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

Go to latest
Published: May 5, 2017 License: MIT Imports: 14 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 {
	provider.BaseProvider `mapstructure:",squash"`
	Endpoint              string              `description:"Comma separated server endpoints"`
	Prefix                string              `description:"Prefix used for KV store"`
	TLS                   *provider.ClientTLS `description:"Enable TLS support"`
	Username              string              `description:"KV Username"`
	Password              string              `description:"KV Password"`
	StoreType             store.Backend
	Kvclient              store.Store
}

Provider holds common configurations of key-value providers.

func (*Provider) CreateStore

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

CreateStore create the K/V store

func (*Provider) Provide

func (p *Provider) Provide(configurationChan chan<- types.ConfigMessage, pool *safe.Pool, constraints types.Constraints) error

Provide provides the configuration to traefik via the configuration channel

Jump to

Keyboard shortcuts

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