# Functions
AddAPIVersionToURL will add the version/<version>/ suffix to the given URL, handling trailing slashes.
GetServerError returns the ServerError from the cause of the error if it is a ServerError, and also returns the bool to indicate if it was a ServerError or not.
NewAnonymousClient creates a MAASClient that issues anonymous requests.
NewAuthenticatedMAASClient parses the given maas API key into the individual OAuth tokens and creates an MAASClient that will use these tokens to sign the requests it issues.
No description provided by the author
No description provided by the author
SplitVersionedURL splits a versioned API URL (like http://maas.server/MAAS/api/2.0/) into a base URL (http://maas.server/MAAS/) and API version (2.0).
# Constants
Number of retries performed when the server returns a 503 response with a 'Retry-after' header.
No description provided by the author
# Structs
MAASClient represents a way to communicating with a maas API instance.
No description provided by the author
ServerError is an http error (or at least, a non-2xx result) received from the server.
No description provided by the author
# Interfaces
No description provided by the author
No description provided by the author
No description provided by the author