deployments

package
v2.13.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 4, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DockerContainer

type DockerContainer struct {
	// contains filtered or unexported fields
}

func NewDockerContainer

func NewDockerContainer(fs ...DockerContainerOptFn) (*DockerContainer, error)

func (*DockerContainer) GetID

func (d *DockerContainer) GetID() string

func (*DockerContainer) GetIP

func (d *DockerContainer) GetIP() (string, error)

func (*DockerContainer) GetLogs added in v2.11.8

func (d *DockerContainer) GetLogs() (string, error)

func (*DockerContainer) GetName

func (d *DockerContainer) GetName() (string, error)

func (*DockerContainer) Run

func (d *DockerContainer) Run() error

func (*DockerContainer) Stop

func (d *DockerContainer) Stop() error

type DockerContainerOptFn

type DockerContainerOptFn func(d *DockerContainer) error

func AllocatePublicPortsFor

func AllocatePublicPortsFor(ports ...uint32) DockerContainerOptFn

func WithCommand added in v2.13.0

func WithCommand(command ...string) DockerContainerOptFn

func WithContainerName

func WithContainerName(name string) DockerContainerOptFn

func WithDockerBackend added in v2.11.8

func WithDockerBackend(backend framework.DockerBackend) DockerContainerOptFn

func WithEnvVar

func WithEnvVar(name, value string) DockerContainerOptFn

func WithImage

func WithImage(image string) DockerContainerOptFn

func WithNetwork

func WithNetwork(network string) DockerContainerOptFn

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL