client

package
v2.0.0-...-ee63433 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DISCONNECT   = 1 << iota
	RPCCONNECT   = 1 << iota
	WATCHCONNECT = 1 << iota
)
View Source
const (
	// CoverAgentsListAPI list all the registered agents
	CoverAgentsListAPI = "/v2/rpcagents"
	//CoverProfileAPI is provided by the covered service to get profiles
	CoverProfileAPI = "/v2/cover/profile"
)

Variables

This section is empty.

Functions

func ClearProfile

func ClearProfile(host string, ids []string, extra string)

func DeleteAgents

func DeleteAgents(host string, ids []string)

func GetProfile

func GetProfile(host string, ids []string, skips []string, extra string, output string)

func ListAgents

func ListAgents(host string, ids []string, wide bool)

Types

type Action

type Action interface {
	ListAgents(bool)
	Profile(string)
}

Action provides methods to contact with the covered agent under test

func NewWorker

func NewWorker(host string) Action

NewWorker creates a worker to contact with host

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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