package
0.0.0-20240305134606-e8dcde2161f4
Repository: https://github.com/lf-edge/ics-sdk.git
Documentation: pkg.go.dev

# Functions

Creates a new Client, with reasonable defaults.
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling.
NewDownloadPatchArchiveFileRequest generates requests for DownloadPatchArchiveFile.
NewDownloadPatchArchiveRequest generates requests for DownloadPatchArchive.
NewGetAvailablePatchEnvelopesRequest generates requests for GetAvailablePatchEnvelopes.
NewPostOpaqueStatusRequest calls the generic PostOpaqueStatus builder with application/json body.
NewPostOpaqueStatusRequestWithBody generates requests for PostOpaqueStatus with any type of body.
ParseDownloadPatchArchiveFileResponse parses an HTTP response from a DownloadPatchArchiveFileWithResponse call.
ParseDownloadPatchArchiveResponse parses an HTTP response from a DownloadPatchArchiveWithResponse call.
ParseGetAvailablePatchEnvelopesResponse parses an HTTP response from a GetAvailablePatchEnvelopesWithResponse call.
ParsePostOpaqueStatusResponse parses an HTTP response from a PostOpaqueStatusWithResponse call.
WithBaseURL overrides the baseURL.
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client.
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request.

# Structs

BinaryBlob Binary blobs (or artifacts) are the files exposed to app instance through patch envelope.
Client which conforms to the OpenAPI3 specification for this service.
ClientWithResponses builds on ClientInterface to offer response payloads.
No description provided by the author
No description provided by the author
No description provided by the author
OpaqueStatus Opaque status to send back to controller.
PatchEnvelopeDescription Patch envelope contains of artifacts (binary blobs) which could be anything you want (configuration files, binary executables, dynamic libraries, etc.).
No description provided by the author

# Interfaces

The interface specification for the client above.
ClientWithResponsesInterface is the interface specification for the client with responses above.
Doer performs HTTP requests.

# Type aliases

ClientOption allows setting custom parameters during construction.
PostOpaqueStatusJSONRequestBody defines body for PostOpaqueStatus for application/json ContentType.
RequestEditorFn is the function signature for the RequestEditor callback function.