lib

package
v0.0.0-...-cb950d2 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const TempTestConfig = "/tmp/mosn_test_config.json"

Variables

This section is empty.

Functions

func Execute

func Execute(describe string, do func() error)

func Scenario

func Scenario(t *testing.T, describe string, setScenario func())

func Setup

func Setup(setup func() error)

func TearDown

func TearDown(teardown func())

func Verify

func Verify(do func() error)

func WriteTestConfig

func WriteTestConfig(str string) error

Types

type MosnOperator

type MosnOperator struct {
	// contains filtered or unexported fields
}

func NewMosnOperator

func NewMosnOperator(binpath, cfgpath string) *MosnOperator

func StartMosn

func StartMosn(cfgStr string) *MosnOperator

func (*MosnOperator) Restart

func (op *MosnOperator) Restart() error

TODO: More MOSN Operation Restart mosn, hot restart

func (*MosnOperator) Start

func (op *MosnOperator) Start() error

func (*MosnOperator) Stop

func (op *MosnOperator) Stop()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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