Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadIgnore ¶
Types ¶
type BuildCommand ¶
type BuildCommand struct {
// contains filtered or unexported fields
}
func Build ¶
func Build(image, context string) *BuildCommand
func (*BuildCommand) Exclude ¶
func (d *BuildCommand) Exclude(files []string) *BuildCommand
func (*BuildCommand) Run ¶
func (d *BuildCommand) Run(ctx *pipeline.StageContext) error
func (*BuildCommand) Target ¶
func (d *BuildCommand) Target(t string) *BuildCommand
type Conf ¶
type Conf interface {
// contains filtered or unexported methods
}
func PortBinding ¶ added in v0.3.0
type ErrorDetail ¶ added in v0.3.1
type ErrorDetail struct {
Message string `json:"message"`
}
type ErrorLine ¶ added in v0.3.1
type ErrorLine struct { Error string `json:"error"` ErrorDetail ErrorDetail `json:"errorDetail"` }
type PruneCommand ¶
type PruneCommand struct { }
func Prune ¶
func Prune() *PruneCommand
func (*PruneCommand) Run ¶
func (d *PruneCommand) Run(ctx *pipeline.StageContext) error
type RmContainerCommand ¶
type RmContainerCommand struct {
// contains filtered or unexported fields
}
func RmContainer ¶
func RmContainer(name string, silent bool) *RmContainerCommand
func (*RmContainerCommand) Run ¶
func (d *RmContainerCommand) Run(ctx *pipeline.StageContext) error
type RmImageCommand ¶
type RmImageCommand struct {
// contains filtered or unexported fields
}
func RmImage ¶
func RmImage(name string, silent bool) *RmImageCommand
func (*RmImageCommand) Run ¶
func (d *RmImageCommand) Run(ctx *pipeline.StageContext) error
type RunCommand ¶
type RunCommand struct {
// contains filtered or unexported fields
}
func Run ¶
func Run(cName, image string) *RunCommand
func (*RunCommand) Config ¶
func (d *RunCommand) Config(confs ...Conf) *RunCommand
func (*RunCommand) Run ¶
func (d *RunCommand) Run(ctx *pipeline.StageContext) error
Click to show internal directories.
Click to hide internal directories.