traefik

package
v2.11.2 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: MIT Imports: 12 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct {
	// contains filtered or unexported fields
}

Provider is a provider.Provider implementation that provides the internal routers.

func New

func New(staticCfg static.Configuration) *Provider

New creates a new instance of the internal provider.

func (*Provider) Init

func (i *Provider) Init() error

Init the provider.

func (*Provider) Provide

func (i *Provider) Provide(configurationChan chan<- dynamic.Message, _ *safe.Pool) error

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

func (Provider) ThrottleDuration added in v2.7.0

func (i Provider) ThrottleDuration() time.Duration

ThrottleDuration returns the throttle duration.

Jump to

Keyboard shortcuts

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