package
0.0.0-20250121192818-15404d13174d
Repository: https://github.com/kubev2v/migration-planner.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.
NewHealthRequest generates requests for Health.
NewReplaceSourceStatusRequest calls the generic ReplaceSourceStatus builder with application/json body.
NewReplaceSourceStatusRequestWithBody generates requests for ReplaceSourceStatus with any type of body.
NewUpdateAgentStatusRequest calls the generic UpdateAgentStatus builder with application/json body.
NewUpdateAgentStatusRequestWithBody generates requests for UpdateAgentStatus with any type of body.
ParseHealthResponse parses an HTTP response from a HealthWithResponse call.
ParseReplaceSourceStatusResponse parses an HTTP response from a ReplaceSourceStatusWithResponse call.
ParseUpdateAgentStatusResponse parses an HTTP response from a UpdateAgentStatusWithResponse 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
# 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.