Move code to pkg
This commit is contained in:
parent
bd4c822670
commit
f1b085fa36
465 changed files with 656 additions and 680 deletions
14
pkg/provider/provider.go
Normal file
14
pkg/provider/provider.go
Normal 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
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue