traefik/pkg/provider/provider.go
Ludovic Fernandez f1b085fa36 Move code to pkg
2019-03-15 09:42:03 +01:00

14 lines
386 B
Go

package provider
import (
"github.com/containous/traefik/pkg/config"
"github.com/containous/traefik/pkg/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
}