Versions in this module Expand all Collapse all v0 v0.4.0 Jan 10, 2017 Changes in this version + func Get(ctx context.Context, clientInstance client.ContainerAPIClient, id string) (*types.ContainerJSON, error) + func ListByFilter(ctx context.Context, clientInstance client.ContainerAPIClient, ...) ([]types.Container, error) + type Container struct + func Create(ctx context.Context, client client.ContainerAPIClient, name string, ...) (*Container, error) + func New(ctx context.Context, client client.ContainerAPIClient, id string) (*Container, error) + func NewInspected(client client.ContainerAPIClient, container *types.ContainerJSON) *Container + func (c *Container) Hash() string + func (c *Container) ID() (string, error) + func (c *Container) Image() string + func (c *Container) ImageConfig() string + func (c *Container) Info(ctx context.Context) (project.Info, error) + func (c *Container) IsRunning(ctx context.Context) (bool, error) + func (c *Container) Kill(ctx context.Context, signal string) error + func (c *Container) Log(ctx context.Context, l logger.Logger, follow bool) error + func (c *Container) Name() string + func (c *Container) Networks() (map[string]*network.EndpointSettings, error) + func (c *Container) Number() (int, error) + func (c *Container) Pause(ctx context.Context) error + func (c *Container) Port(ctx context.Context, port string) (string, error) + func (c *Container) Remove(ctx context.Context, removeVolume bool) error + func (c *Container) Rename(ctx context.Context, newName string) error + func (c *Container) Restart(ctx context.Context, timeout int) error + func (c *Container) Run(ctx context.Context, configOverride *config.ServiceConfig) (int, error) + func (c *Container) Start(ctx context.Context) error + func (c *Container) Stop(ctx context.Context, timeout int) error + func (c *Container) Unpause(ctx context.Context) error