rest

package
v1.7.19 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2019 License: MIT Imports: 9 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 {
	EntryPoint string `description:"EntryPoint" export:"true"`
	// contains filtered or unexported fields
}

Provider is a provider.Provider implementation that provides a Rest API

func (*Provider) AddRoutes

func (p *Provider) AddRoutes(systemRouter *mux.Router)

AddRoutes add rest provider routes on a router

func (*Provider) Init

func (p *Provider) Init(_ types.Constraints) error

Init the provider

func (*Provider) Provide

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

Provide allows the provider to provide configurations to traefik using the given configuration channel.

Jump to

Keyboard shortcuts

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