cplus

package
v1.7.2 Latest Latest
Warning

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

Go to latest
Published: May 18, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const ApplicationName = "chaosblade-exec-cplus"
View Source
const RemoveAction = "remove"

Variables

This section is empty.

Functions

func Prepare

func Prepare(ctx context.Context, port, ip string) *spec.Response

启动 spring boot application,需要校验程序是否已启动

func Revoke

func Revoke(ctx context.Context, port string) *spec.Response

停止 spring boot application

Types

type Executor

type Executor struct {
	Uri string
	// contains filtered or unexported fields
}

Executor for jvm experiment

func NewExecutor

func NewExecutor() *Executor

func (*Executor) Exec

func (e *Executor) Exec(uid string, ctx context.Context, model *spec.ExpModel) *spec.Response

func (*Executor) Name

func (e *Executor) Name() string

func (*Executor) SetChannel

func (e *Executor) SetChannel(channel spec.Channel)

Jump to

Keyboard shortcuts

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