apponlyenv

package
v0.0.0-...-1a56975 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppOnlyEnv

type AppOnlyEnv struct {
	framework.TestEnv
	// contains filtered or unexported fields
}

AppOnlyEnv is a test environment with only fortio echo server

func NewAppOnlyEnv

func NewAppOnlyEnv(id string) *AppOnlyEnv

NewAppOnlyEnv create an AppOnlyEnv with a env ID

func (*AppOnlyEnv) Bringup

func (appOnlyEnv *AppOnlyEnv) Bringup() (err error)

Bringup implement the function in TestEnv Create local temp dir. Can be manually overrided if necessary.

func (*AppOnlyEnv) Cleanup

func (appOnlyEnv *AppOnlyEnv) Cleanup() (err error)

Cleanup implement the function in TestEnv Remove the local temp dir. Can be manually overrided if necessary.

func (*AppOnlyEnv) GetComponents

func (appOnlyEnv *AppOnlyEnv) GetComponents() []framework.Component

GetComponents returns a list with a fortio server component

func (*AppOnlyEnv) GetName

func (appOnlyEnv *AppOnlyEnv) GetName() string

GetName implement the function in TestEnv return environment ID

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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