Documentation
¶
Index ¶
- Constants
- func NewRunRegistry(port string) operation.Sequence
- func ParseDigestFromPushOutput(output string) (string, error)
- type ContainerExistsPredicate
- type Docker
- func NewDocker(description string, h ssh.Destination, args []string) *Docker
- func NewDockerPull(host ssh.Destination, image string) *Docker
- func NewDockerRun(host ssh.Destination, image string, container string, dockerArgs []string) *Docker
- func NewDockerStart(host ssh.Destination, container string) *Docker
- type DockerCompose
- func NewDockerCompose(description string, composeFile string, h ssh.Destination, args []string) *DockerCompose
- func NewDockerComposeBuild(composeFile string, h ssh.Destination) *DockerCompose
- func NewDockerComposePull(composeFile string, h ssh.Destination) *DockerCompose
- func NewDockerComposeStop(composeFile string, h ssh.Destination) *DockerCompose
- func NewDockerComposeUp(composeFile string, h ssh.Destination, mode RecreateMode) *DockerCompose
- type DockerComposePipeTransfer
- type RecreateMode
- type RegistryRunWrapper
- type RegistryTransfer
Constants ¶
View Source
const ( RegistryContainerName = "topo-registry" DefaultRegistryPort = "12737" )
Variables ¶
This section is empty.
Functions ¶
func NewRunRegistry ¶
Types ¶
type ContainerExistsPredicate ¶
type ContainerExistsPredicate struct {
// contains filtered or unexported fields
}
func NewContainerExistsPredicate ¶
func NewContainerExistsPredicate(host ssh.Destination, containerName string) *ContainerExistsPredicate
func (*ContainerExistsPredicate) Eval ¶
func (p *ContainerExistsPredicate) Eval() bool
type Docker ¶
type Docker struct {
// contains filtered or unexported fields
}
func NewDockerPull ¶
func NewDockerPull(host ssh.Destination, image string) *Docker
func NewDockerRun ¶
func NewDockerStart ¶
func NewDockerStart(host ssh.Destination, container string) *Docker
func (*Docker) Description ¶
type DockerCompose ¶
type DockerCompose struct {
// contains filtered or unexported fields
}
func NewDockerCompose ¶
func NewDockerCompose(description string, composeFile string, h ssh.Destination, args []string) *DockerCompose
func NewDockerComposeBuild ¶
func NewDockerComposeBuild(composeFile string, h ssh.Destination) *DockerCompose
func NewDockerComposePull ¶
func NewDockerComposePull(composeFile string, h ssh.Destination) *DockerCompose
func NewDockerComposeStop ¶
func NewDockerComposeStop(composeFile string, h ssh.Destination) *DockerCompose
func NewDockerComposeUp ¶
func NewDockerComposeUp(composeFile string, h ssh.Destination, mode RecreateMode) *DockerCompose
func (*DockerCompose) Description ¶
func (dc *DockerCompose) Description() string
type DockerComposePipeTransfer ¶
type DockerComposePipeTransfer struct {
// contains filtered or unexported fields
}
func NewDockerComposePipeTransfer ¶
func NewDockerComposePipeTransfer(composeFile string, source, dest ssh.Destination) *DockerComposePipeTransfer
func (*DockerComposePipeTransfer) Description ¶
func (t *DockerComposePipeTransfer) Description() string
type RecreateMode ¶
type RecreateMode int
const ( RecreateModeDefault RecreateMode = iota RecreateModeForce RecreateModeNone )
type RegistryRunWrapper ¶
type RegistryRunWrapper struct {
*Docker
}
func NewRegistryRunWrapper ¶
func NewRegistryRunWrapper(d *Docker) *RegistryRunWrapper
type RegistryTransfer ¶
type RegistryTransfer struct {
// contains filtered or unexported fields
}
func NewRegistryTransfer ¶
func NewRegistryTransfer(composeFile string, sourceHost, dest ssh.Destination, port string) *RegistryTransfer
func (*RegistryTransfer) Description ¶
func (r *RegistryTransfer) Description() string
Click to show internal directories.
Click to hide internal directories.