Documentation ¶
Index ¶
- func BuildImage(c *ssh.Client, app spec.Application, prog spec.Program, ...) (bool, error)
- func ExecuteContainer(c *ssh.Client, app spec.Application, prog spec.Program, no int, command string, ...) error
- func LogContainer(c *ssh.Client, app spec.Application, prog spec.Program, no int, ...) error
- func RestartContainer(c *ssh.Client, app spec.Application, prog spec.Program, no int, ...) error
- func RunContainer(c *ssh.Client, app spec.Application, prog spec.Program, ...) error
- func ScaleContainer(c *ssh.Client, app spec.Application, prog spec.Program, n int, ...) error
- func SignalContainer(c *ssh.Client, app spec.Application, prog spec.Program, no int, signal string, ...) error
- type BuildImageOptions
- type Container
- type ExecuteContainerOptions
- type GetImageOptions
- type Image
- type ListContainersOptions
- type LogContainerOptions
- type RestartContainerOptions
- type RunContainerOptions
- type ScaleContainerOptions
- type SignalContainerOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildImage ¶
func BuildImage(c *ssh.Client, app spec.Application, prog spec.Program, options BuildImageOptions) (bool, error)
func ExecuteContainer ¶ added in v0.12.0
func ExecuteContainer(c *ssh.Client, app spec.Application, prog spec.Program, no int, command string, options ExecuteContainerOptions) error
func LogContainer ¶ added in v0.9.0
func LogContainer(c *ssh.Client, app spec.Application, prog spec.Program, no int, options LogContainerOptions) error
func RestartContainer ¶
func RestartContainer(c *ssh.Client, app spec.Application, prog spec.Program, no int, options RestartContainerOptions) error
func RunContainer ¶
func RunContainer(c *ssh.Client, app spec.Application, prog spec.Program, options RunContainerOptions) error
func ScaleContainer ¶
func ScaleContainer(c *ssh.Client, app spec.Application, prog spec.Program, n int, options ScaleContainerOptions) error
func SignalContainer ¶ added in v0.12.0
func SignalContainer(c *ssh.Client, app spec.Application, prog spec.Program, no int, signal string, options SignalContainerOptions) error
Types ¶
type BuildImageOptions ¶
type BuildImageOptions struct {
DockerPath string
}
type Container ¶
type Container struct { Application spec.Application Program spec.Program No int ID string Image string Status string }
func ListContainers ¶
func ListContainers(c *ssh.Client, app spec.Application, prog spec.Program, options ListContainersOptions) ([]Container, error)
type ExecuteContainerOptions ¶ added in v0.12.0
type ExecuteContainerOptions struct {
DockerPath string
}
type GetImageOptions ¶
type GetImageOptions struct {
DockerPath string
}
type ListContainersOptions ¶
type ListContainersOptions struct {
DockerPath string
}
type LogContainerOptions ¶ added in v0.9.0
type LogContainerOptions struct {
DockerPath string
}
type RestartContainerOptions ¶
type RestartContainerOptions struct {
DockerPath string
}
type RunContainerOptions ¶
type RunContainerOptions struct {
DockerPath string
}
type ScaleContainerOptions ¶
type ScaleContainerOptions struct {
DockerPath string
}
type SignalContainerOptions ¶ added in v0.12.0
type SignalContainerOptions struct {
DockerPath string
}
Click to show internal directories.
Click to hide internal directories.