sqlserver

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2020 License: MIT Imports: 8 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 struct {
	Container testcontainers.Container
	// contains filtered or unexported fields
}

func CreateContainer added in v0.0.3

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

func (*Container) DotNetConnectionStringForNetwork added in v0.0.2

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

func (*Container) GoConnectionString added in v0.0.2

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

type ContainerRequest

type ContainerRequest struct {
	testcontainers.GenericContainerRequest
	Username string
	Password string
	Image    string
}

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