forked from LaconicNetwork/kompose
14 lines
266 B
Go
14 lines
266 B
Go
package project
|
|
|
|
import (
|
|
"golang.org/x/net/context"
|
|
)
|
|
|
|
// Container defines what a libcompose container provides.
|
|
type Container interface {
|
|
ID() string
|
|
Name() string
|
|
Port(ctx context.Context, port string) (string, error)
|
|
IsRunning(ctx context.Context) bool
|
|
}
|