docker

package
v2.0.5 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithCmd

func WithCmd(cmd []string) tc.CustomizeRequestOption

func WithEntrypoint

func WithEntrypoint(entrypoint []string) tc.CustomizeRequestOption

func WithEnv

func WithEnv(env map[string]string) tc.CustomizeRequestOption

func WithEnvValue

func WithEnvValue(key, value string) tc.CustomizeRequestOption

func WithExposedPorts

func WithExposedPorts(ports []string) tc.CustomizeRequestOption

func WithImage

func WithImage(image string) tc.CustomizeRequestOption

func WithLifecycleHooks

func WithLifecycleHooks(lifecycleHooks []tc.ContainerLifecycleHooks) tc.CustomizeRequestOption

Types

type ElasticsearchContainer

type ElasticsearchContainer struct {
	tc.Container
	// contains filtered or unexported fields
}

func RunContainer

func RunContainer(opts ...tc.ContainerCustomizer) (*ElasticsearchContainer, error)

func (*ElasticsearchContainer) Cleanup

func (e *ElasticsearchContainer) Cleanup() error

func (*ElasticsearchContainer) Host

func (e *ElasticsearchContainer) Host() string

Jump to

Keyboard shortcuts

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