package
0.0.0-20241126132829-27113c21217d
Repository: https://github.com/arangodb-helper/testagent.git
Documentation: pkg.go.dev

# Functions

DefaultHTTPClient creates a new HTTP client configured for accessing a starter.
IsBadRequest returns true if the given error is caused by a BadRequestError.
IsInternalServer returns true if the given error is caused by a InternalServerError.
IsPreconditionFailed returns true if the given error is caused by a PreconditionFailedError.
IsServiceUnavailable returns true if the given error is caused by a ServiceUnavailableError.
IsStatusError returns the status code and true if the given error is caused by a StatusError.
IsStatusErrorWithCode returns true if the given error is caused by a StatusError with given code.
NewArangoStarterClient creates a new client implementation.
ParseResponseError returns an error from given response.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

BadRequestError indicates invalid arguments.
InternalServerError indicates an unspecified error inside the server, perhaps a bug.
PreconditionFailedError indicates that the state of the system is such that the request cannot be executed.
ServiceUnavailableError indicates that right now the service is not available, please retry later.

# Structs

EndpointList is the JSON response of a `/endpoints` request.
No description provided by the author
IDInfo contains the ID of the starter.
ProcessList is the JSON response of a `/process` request.
ServerProcess holds all information of a single server started by the starter.
No description provided by the author
VersionInfo is the JSON response of a `/version` request.

# Interfaces

API is the interface implemented by the starter's HTTP API's.

# Type aliases

ServerType holds a type of (arangod) server.