Vendor integration dependencies.
This commit is contained in:
parent
dd5e3fba01
commit
55b57c736b
2451 changed files with 731611 additions and 0 deletions
19
integration/vendor/github.com/docker/libcompose/project/network.go
generated
vendored
Normal file
19
integration/vendor/github.com/docker/libcompose/project/network.go
generated
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
package project
|
||||
|
||||
import (
|
||||
"golang.org/x/net/context"
|
||||
|
||||
"github.com/docker/libcompose/config"
|
||||
)
|
||||
|
||||
// Networks defines the methods a libcompose network aggregate should define.
|
||||
type Networks interface {
|
||||
Initialize(ctx context.Context) error
|
||||
Remove(ctx context.Context) error
|
||||
}
|
||||
|
||||
// NetworksFactory is an interface factory to create Networks object for the specified
|
||||
// configurations (service, networks, …)
|
||||
type NetworksFactory interface {
|
||||
Create(projectName string, networkConfigs map[string]*config.NetworkConfig, serviceConfigs *config.ServiceConfigs, networkEnabled bool) (Networks, error)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue