envtest

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2019 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultImage which will be used if non is provided.
	DefaultImage = "docker.io/library/mariadb:10"
	// InsecurePort assigned to the MySQL instance.
	InsecurePort = "3306"
	// BindAddress assigned to the MySQL instance.
	BindAddress = "0.0.0.0"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type MySQL

type MySQL struct {
	// Image which will be used for spinning up K3s.
	Image string
	// contains filtered or unexported fields
}

MySQL which will back a testsuite.

func (*MySQL) Start

func (e *MySQL) Start() (string, string, string, int, error)

Start the test environment.

func (*MySQL) Stop

func (e *MySQL) Stop() error

Stop the test environment.

Jump to

Keyboard shortcuts

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