package
0.0.0-20250302114958-bfab101eddb1
Repository: https://github.com/arduino/arduino-create-agent.git
Documentation: pkg.go.dev

# Functions

AvailableToolsPath returns the URL path to the tools service available HTTP endpoint.
BuildInstallPayload builds the payload for the tools install endpoint from CLI flags.
BuildRemovePayload builds the payload for the tools remove endpoint from CLI flags.
DecodeAvailableResponse returns a decoder for responses returned by the tools available endpoint.
DecodeInstalledheadResponse returns a decoder for responses returned by the tools installedhead endpoint.
DecodeInstalledResponse returns a decoder for responses returned by the tools installed endpoint.
DecodeInstallResponse returns a decoder for responses returned by the tools install endpoint.
DecodeRemoveResponse returns a decoder for responses returned by the tools remove endpoint.
EncodeInstallRequest returns an encoder for requests sent to the tools install server.
EncodeRemoveRequest returns an encoder for requests sent to the tools remove server.
InstalledheadToolsPath returns the URL path to the tools service installedhead HTTP endpoint.
InstalledToolsPath returns the URL path to the tools service installed HTTP endpoint.
InstallToolsPath returns the URL path to the tools service install HTTP endpoint.
NewAvailableToolCollectionOK builds a "tools" service "available" endpoint result from a HTTP "OK" response.
NewClient instantiates HTTP clients for all the tools service servers.
NewInstalledToolCollectionOK builds a "tools" service "installed" endpoint result from a HTTP "OK" response.
NewInstallOperationOK builds a "tools" service "install" endpoint result from a HTTP "OK" response.
NewInstallRequestBody builds the HTTP request body from the payload of the "install" endpoint of the "tools" service.
NewRemoveOperationOK builds a "tools" service "remove" endpoint result from a HTTP "OK" response.
NewRemoveRequestBody builds the HTTP request body from the payload of the "remove" endpoint of the "tools" service.
RemoveToolsPath returns the URL path to the tools service remove HTTP endpoint.
ValidateToolResponse runs the validations defined on ToolResponse.

# Structs

Client lists the tools service endpoint HTTP clients.
InstallRequestBody is the type of the "tools" service "install" endpoint HTTP request body.
InstallResponseBody is the type of the "tools" service "install" endpoint HTTP response body.
RemoveRequestBody is the type of the "tools" service "remove" endpoint HTTP request body.
RemoveResponseBody is the type of the "tools" service "remove" endpoint HTTP response body.
ToolResponse is used to define fields on response body types.

# Type aliases

AvailableResponseBody is the type of the "tools" service "available" endpoint HTTP response body.
InstalledResponseBody is the type of the "tools" service "installed" endpoint HTTP response body.