mirror of
https://github.com/containous/traefik.git
synced 2025-02-15 05:57:34 +03:00
15 lines
378 B
Go
15 lines
378 B
Go
package provider
|
|
|
|
import (
|
|
"github.com/containous/traefik/config"
|
|
"github.com/containous/traefik/safe"
|
|
)
|
|
|
|
// Provider defines methods of a provider.
|
|
type Provider interface {
|
|
// Provide allows the provider to provide configurations to traefik
|
|
// using the given configuration channel.
|
|
Provide(configurationChan chan<- config.Message, pool *safe.Pool) error
|
|
Init() error
|
|
}
|