Documentation ¶
Index ¶
- type Docker
- func (d *Docker) Build() (err error)
- func (d *Docker) Create() (err error)
- func (d *Docker) Exec() (err error)
- func (d *Docker) GetContainer() (container string)
- func (d *Docker) GetImage() (image string)
- func (d *Docker) GetPath() (path string)
- func (d *Docker) List() (err error)
- func (d *Docker) Remove() (err error)
- func (d *Docker) SetArgs(args []string)
- func (d *Docker) SetCommand(command []string)
- func (d *Docker) SetContainer(container string)
- func (d *Docker) SetContext(path string)
- func (d *Docker) SetDockerfile(path string)
- func (d *Docker) SetImage(image string)
- func (d *Docker) SetPath(path string)
- func (d *Docker) SetVerbose(verbose bool)
- func (d *Docker) Start() (err error)
- func (d *Docker) Stop() (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Docker ¶
type Docker struct {
// contains filtered or unexported fields
}
Docker type
func (*Docker) GetContainer ¶
GetContainer get the container ID
func (*Docker) SetCommand ¶
SetCommand set the command
func (*Docker) SetContainer ¶
SetContainer set the latest container ID based on the path
func (*Docker) SetContext ¶
SetContext set the context path
func (*Docker) SetDockerfile ¶
SetDockerfile set the Dockerfile path
func (*Docker) SetVerbose ¶
SetVerbose set the context path
Click to show internal directories.
Click to hide internal directories.