mixerenvoyenv

package
v0.0.0-...-fe632b3 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MixerEnvoyEnv

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

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 implement the function in TestEnv Create local temp dir. Can be manually overrided if necessary.

func (*MixerEnvoyEnv) Cleanup

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

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

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 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