package
0.0.0-20250121192818-15404d13174d
Repository: https://github.com/kubev2v/migration-planner.git
Documentation: pkg.go.dev
# Packages
Package client provides primitives to interact with the openapi HTTP API.
# Functions
Creates a new Client, with reasonable defaults.
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling.
NewCreateSourceRequest calls the generic CreateSource builder with application/json body.
NewCreateSourceRequestWithBody generates requests for CreateSource with any type of body.
NewDeleteAgentRequest generates requests for DeleteAgent.
NewDeleteSourceRequest generates requests for DeleteSource.
NewDeleteSourcesRequest generates requests for DeleteSources.
NewGetImageRequest generates requests for GetImage.
NewHeadImageRequest generates requests for HeadImage.
NewHealthRequest generates requests for Health.
NewListAgentsRequest generates requests for ListAgents.
NewListSourcesRequest generates requests for ListSources.
NewPushEventsRequest calls the generic PushEvents builder with application/json body.
NewPushEventsRequestWithBody generates requests for PushEvents with any type of body.
NewReadSourceRequest generates requests for ReadSource.
ParseCreateSourceResponse parses an HTTP response from a CreateSourceWithResponse call.
ParseDeleteAgentResponse parses an HTTP response from a DeleteAgentWithResponse call.
ParseDeleteSourceResponse parses an HTTP response from a DeleteSourceWithResponse call.
ParseDeleteSourcesResponse parses an HTTP response from a DeleteSourcesWithResponse call.
ParseGetImageResponse parses an HTTP response from a GetImageWithResponse call.
ParseHeadImageResponse parses an HTTP response from a HeadImageWithResponse call.
ParseHealthResponse parses an HTTP response from a HealthWithResponse call.
ParseListAgentsResponse parses an HTTP response from a ListAgentsWithResponse call.
ParseListSourcesResponse parses an HTTP response from a ListSourcesWithResponse call.
ParsePushEventsResponse parses an HTTP response from a PushEventsWithResponse call.
ParseReadSourceResponse parses an HTTP response from a ReadSourceWithResponse 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
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
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
No description provided by the author
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.
RequestEditorFn is the function signature for the RequestEditor callback function.