Categorygithub.com/bavix/gripmock-sdk-go
modulepackage
1.0.5
Repository: https://github.com/bavix/gripmock-sdk-go.git
Documentation: pkg.go.dev

# README

gripmock-sdk-go


Supported by

Supported by JetBrains

# Functions

NewAddStubRequest calls the generic AddStub builder with application/json body.
NewAddStubRequestWithBody generates requests for AddStub with any type of body.
NewBatchStubsDeleteRequest calls the generic BatchStubsDelete builder with application/json body.
NewBatchStubsDeleteRequestWithBody generates requests for BatchStubsDelete with any type of body.
Creates a new Client, with reasonable defaults.
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling.
NewDeleteStubByIDRequest generates requests for DeleteStubByID.
NewFindByIDRequest generates requests for FindByID.
NewListStubsRequest generates requests for ListStubs.
NewListUnusedStubsRequest generates requests for ListUnusedStubs.
NewListUsedStubsRequest generates requests for ListUsedStubs.
NewLivenessRequest generates requests for Liveness.
NewPurgeStubsRequest generates requests for PurgeStubs.
NewReadinessRequest generates requests for Readiness.
NewSearchStubsRequest calls the generic SearchStubs builder with application/json body.
NewSearchStubsRequestWithBody generates requests for SearchStubs with any type of body.
NewServiceMethodsListRequest generates requests for ServiceMethodsList.
NewServicesListRequest generates requests for ServicesList.
ParseAddStubResponse parses an HTTP response from a AddStubWithResponse call.
ParseBatchStubsDeleteResponse parses an HTTP response from a BatchStubsDeleteWithResponse call.
ParseDeleteStubByIDResponse parses an HTTP response from a DeleteStubByIDWithResponse call.
ParseFindByIDResponse parses an HTTP response from a FindByIDWithResponse call.
ParseListStubsResponse parses an HTTP response from a ListStubsWithResponse call.
ParseListUnusedStubsResponse parses an HTTP response from a ListUnusedStubsWithResponse call.
ParseListUsedStubsResponse parses an HTTP response from a ListUsedStubsWithResponse call.
ParseLivenessResponse parses an HTTP response from a LivenessWithResponse call.
ParsePurgeStubsResponse parses an HTTP response from a PurgeStubsWithResponse call.
ParseReadinessResponse parses an HTTP response from a ReadinessWithResponse call.
ParseSearchStubsResponse parses an HTTP response from a SearchStubsWithResponse call.
ParseServiceMethodsListResponse parses an HTTP response from a ServiceMethodsListWithResponse call.
ParseServicesListResponse parses an HTTP response from a ServicesListWithResponse 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

AddStubJSONBody defines parameters for AddStub.
No description provided by the author
No description provided by the author
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
MessageOK defines model for MessageOK.
Method defines model for Method.
No description provided by the author
No description provided by the author
SearchRequest defines model for SearchRequest.
SearchResponse defines model for SearchResponse.
No description provided by the author
Service defines model for Service.
No description provided by the author
No description provided by the author
Stub defines model for Stub.
StubHeaders defines model for StubHeaders.
StubInput defines model for StubInput.
StubOutput defines model for StubOutput.

# 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

AddStubJSONRequestBody defines body for AddStub for application/json ContentType.
BatchStubsDeleteJSONRequestBody defines body for BatchStubsDelete for application/json ContentType.
ClientOption allows setting custom parameters during construction.
ID defines model for ID.
ListID defines model for ListID.
RequestEditorFn is the function signature for the RequestEditor callback function.
SearchStubsJSONRequestBody defines body for SearchStubs for application/json ContentType.
StubList defines model for StubList.