kv

package
v1.7.24 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2020 License: MIT Imports: 21 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) 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