github.com/r3labs/libcompose@v0.4.1-0.20171123133234-495fe0619cc3/project/container.go (about) 1 package project 2 3 import ( 4 "golang.org/x/net/context" 5 ) 6 7 // Container defines what a libcompose container provides. 8 type Container interface { 9 ID() string 10 Name() string 11 Port(ctx context.Context, port string) (string, error) 12 IsRunning(ctx context.Context) bool 13 }