Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dcontainer ¶
type Dcontainer struct { ID string Ctx context.Context LogFd *os.File HijackedRes types.HijackedResponse Cli *client.Client }
A Package wrapper for handling docker containers
func (*Dcontainer) Close ¶
func (d *Dcontainer) Close(HijackRes bool)
func (*Dcontainer) Kill ¶
func (d *Dcontainer) Kill() error
func (*Dcontainer) Run ¶
Run will PUll an image if its not available and start a container and attach to it It will also set the max memory limit of the image.
func (*Dcontainer) Wait ¶
func (d *Dcontainer) Wait() int
Click to show internal directories.
Click to hide internal directories.