Documentation ¶
Overview ¶
Package agent implements functions for injecting faults in a target
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Agent ¶
type Agent struct {
// contains filtered or unexported fields
}
Agent maintains the state required for executing an agent command
func Start ¶ added in v0.3.10
func Start(env runtime.Environment, config *Config) (*Agent, error)
Start creates and starts a new instance of an agent. Returned agent is guaranteed to be unique in the environment it is running, and will handle signals sent to the process. Callers must Stop the returned agent at the end of its lifecycle.
Directories ¶
Path | Synopsis |
---|---|
Package protocol implements the agent that injects disruptors in protocols.
|
Package protocol implements the agent that injects disruptors in protocols. |
grpc
Package grpc implements a proxy that applies disruptions to gRPC requests This package is inspired by and extensively copies code from https://github.com/mwitkow/grpc-proxy
|
Package grpc implements a proxy that applies disruptions to gRPC requests This package is inspired by and extensively copies code from https://github.com/mwitkow/grpc-proxy |
http
Package http implements a proxy that applies disruptions to HTTP requests
|
Package http implements a proxy that applies disruptions to HTTP requests |
Package stressors implements resource stressors for CPU, Memory, I/O and network
|
Package stressors implements resource stressors for CPU, Memory, I/O and network |
Package tcpconn contains a TCP connection disruptor.
|
Package tcpconn contains a TCP connection disruptor. |
Click to show internal directories.
Click to hide internal directories.