mirror of
https://github.com/traefik/traefik.git
synced 2025-08-17 12:07:07 +02:00
14 lines
284 B
Go
14 lines
284 B
Go
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)
|
|
}
|