networks

package
v0.0.13 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Network

type Network struct {
	testcontainers.Network
	Name string
}

Network represents a network

func CreateNetwork

func CreateNetwork(ctx context.Context) (*Network, error)

CreateNetwork creates a new network with a random name

func (*Network) Shutdown

func (n *Network) Shutdown(ctx context.Context) error

Shutdown shuts the network down

Jump to

Keyboard shortcuts

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