Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoadAgent ¶
type LoadAgent struct {
// contains filtered or unexported fields
}
LoadAgent is the object acting as a client to the load-test agent HTTP API.
func New ¶
func New(config LoadAgentConfig) (*LoadAgent, error)
New creates and initializes a new LoadAgent for the given config. An error is returned if the initialization fails.
func (*LoadAgent) RemoveUsers ¶
type LoadAgentConfig ¶
type LoadAgentConfig struct { // A sring that identifies the load-test agent instance. Id string // The API URL used to control the specified load-test instance. ApiURL string // The configuration for the load-test to run. LoadTestConfig loadtest.Config }
LoadAgentConfig holds information about the load-test agent instance.
func (LoadAgentConfig) IsValid ¶
func (c LoadAgentConfig) IsValid() error
IsValid checks whether a LoadAgentConfig is valid or not. Returns an error if the validation fails.
Click to show internal directories.
Click to hide internal directories.