mosn

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

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, params ...string) *MosnOperator

func (*MosnOperator) GetMosnConfig added in v0.18.0

func (op *MosnOperator) GetMosnConfig(port int, params string) ([]byte, error)

func (*MosnOperator) GetMosnMetrics added in v0.18.0

func (op *MosnOperator) GetMosnMetrics(port int, key string) ([]byte, error)

func (*MosnOperator) LoadMosnConfig added in v0.18.0

func (op *MosnOperator) LoadMosnConfig() *v2.MOSNConfig

func (*MosnOperator) Restart

func (op *MosnOperator) Restart() error

TODO: More MOSN Operation Restart mosn, hot restart

func (*MosnOperator) Start

func (op *MosnOperator) Start(params ...string) error

func (*MosnOperator) Stop

func (op *MosnOperator) Stop()

func (*MosnOperator) UpdateConfig added in v0.18.0

func (op *MosnOperator) UpdateConfig(port int, typ string, config string) error

Jump to

Keyboard shortcuts

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