kv

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 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" export:"true"`
	Endpoint              string           `description:"Comma separated server endpoints"`
	Prefix                string           `description:"Prefix used for KV store" export:"true"`
	TLS                   *types.ClientTLS `description:"Enable TLS support" export:"true"`
	Username              string           `description:"KV Username"`
	Password              string           `description:"KV Password"`
	// contains filtered or unexported fields
}

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

func (*Provider) SetKVClient

func (p *Provider) SetKVClient(kvClient store.Store)

SetKVClient kvclient setter

func (*Provider) SetStoreType

func (p *Provider) SetStoreType(storeType store.Backend)

SetStoreType storeType setter

Jump to

Keyboard shortcuts

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