Move code to pkg

This commit is contained in:
Ludovic Fernandez 2019-03-15 09:42:03 +01:00 committed by Traefiker Bot
parent bd4c822670
commit f1b085fa36
465 changed files with 656 additions and 680 deletions

14
pkg/provider/provider.go Normal file
View file

@ -0,0 +1,14 @@
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
}