environment

package
v0.0.0-...-a1f2fe4 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2017 License: Apache-2.0 Imports: 7 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
	EnvID    string
	EndPoint string
}

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 doing setup for AppOnlyEnv

func (*AppOnlyEnv) Cleanup

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

Cleanup clean everything created by AppOnlyEnv, not component level

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 return environment ID

type MixerEnvoyEnv

type MixerEnvoyEnv struct {
	framework.TestEnv
	EnvID string
}

MixerEnvoyEnv is a test environment with envoy, mixer and echo server

func NewMixerEnvoyEnv

func NewMixerEnvoyEnv(id string) *MixerEnvoyEnv

NewMixerEnvoyEnv create a MixerEnvoyEnv with a env ID

func (*MixerEnvoyEnv) Bringup

func (mixerEnvoyEnv *MixerEnvoyEnv) Bringup() (err error)

Bringup doing setup for MixerEnvoyEnv

func (*MixerEnvoyEnv) Cleanup

func (mixerEnvoyEnv *MixerEnvoyEnv) Cleanup() (err error)

Cleanup clean everything created by MixerEnvoyEnv, not component level

func (*MixerEnvoyEnv) GetComponents

func (mixerEnvoyEnv *MixerEnvoyEnv) GetComponents() []framework.Component

GetComponents returns a list of components, including mixer, proxy and fortio server

func (*MixerEnvoyEnv) GetName

func (mixerEnvoyEnv *MixerEnvoyEnv) GetName() string

GetName return environment ID

Jump to

Keyboard shortcuts

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