2015-11-01 16:35:01 +01:00
|
|
|
package provider
|
|
|
|
|
|
|
|
import "github.com/emilevauge/traefik/types"
|
|
|
|
|
2015-11-01 19:29:47 +01:00
|
|
|
// Provider defines methods of a provider.
|
2015-11-01 16:35:01 +01:00
|
|
|
type Provider interface {
|
2015-11-01 19:29:47 +01:00
|
|
|
// Provide allows the provider to provide configurations to traefik
|
|
|
|
// using the given configuration channel.
|
2015-11-01 16:35:01 +01:00
|
|
|
Provide(configurationChan chan<- types.ConfigMessage) error
|
|
|
|
}
|