traefik/integration/vendor/github.com/docker/libcompose/project/container.go

14 lines
284 B
Go
Raw Normal View History

2017-02-07 21:33:23 +00:00
package project
import (
"golang.org/x/net/context"
)
// Container defines what a libcompose container provides.
type Container interface {
ID() (string, error)
Name() string
Port(ctx context.Context, port string) (string, error)
IsRunning(ctx context.Context) (bool, error)
}