Back to

Package rest

Latest Go to latest

The latest major version is .

Published: Aug 14, 2019 | License: MIT | Module:


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.

Package Files

  • rest.go
Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier