testrunner

package
v0.0.0-...-ef1509a Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(binPath string, args Args) *ginkgomon.Runner

Types

type Args

type Args struct {
	ConfigPath string
	DevMode    bool
	IP         string
}

func NewRoutingAPIArgs

func NewRoutingAPIArgs(
	ip string,
	port int,
	mtlsPort int,
	dbId string,
	dbCACert string,
	locketAddr string,
	mtlsClientCAPath string,
	mtlsServerCertPath string,
	mtlsServerKeyPath string,
) (Args, error)

func (Args) ArgSlice

func (args Args) ArgSlice() []string

func (Args) Port

func (args Args) Port() uint16

type DbAllocator

type DbAllocator interface {
	Create() (*config.SqlDB, error)
	Reset() error
	Delete() error
	// contains filtered or unexported methods
}

func NewDbAllocator

func NewDbAllocator() DbAllocator

func NewMySQLAllocator

func NewMySQLAllocator() DbAllocator

func NewPostgresAllocator

func NewPostgresAllocator() DbAllocator

Jump to

Keyboard shortcuts

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