mockserver

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Container

type Container genericapi.Container

func CreateContainer

func CreateContainer(ctx context.Context, req ContainerRequest) (*Container, error)

func (*Container) Shutdown added in v0.0.8

func (c *Container) Shutdown(ctx context.Context) error

Shutdown terminates the container

func (Container) URL added in v0.0.7

func (c Container) URL(ctx context.Context) (string, error)

func (Container) URLForNetwork added in v0.0.7

func (c Container) URLForNetwork(ctx context.Context, network string) (string, error)

type ContainerRequest

type ContainerRequest genericapi.ContainerRequest

func (ContainerRequest) WithNetworkAlias

func (req ContainerRequest) WithNetworkAlias(network, alias string) ContainerRequest

Jump to

Keyboard shortcuts

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