containers

package
v0.0.0-...-d1c94df Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RegistryTestContainer

type RegistryTestContainer struct {
	LogLevel string
	// contains filtered or unexported fields
}

The registry test container implementation.

func NewRegistryTestContainer

func NewRegistryTestContainer(t *testing.T) *RegistryTestContainer

Create a new object that can start a test container for a Docker registry server.

func (*RegistryTestContainer) HostVisibleEndpoint

func (registryContainer *RegistryTestContainer) HostVisibleEndpoint(ctx context.Context) string

func (*RegistryTestContainer) Start

func (registryContainer *RegistryTestContainer) Start(ctx context.Context)

Start the internal container.

func (*RegistryTestContainer) Stop

func (registryContainer *RegistryTestContainer) Stop(ctx context.Context)

Stop the internal container.

Jump to

Keyboard shortcuts

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