package
2.0.0-beta1+incompatible
Repository: https://github.com/azarc-io/vth-faas-sdk-go.git
Documentation: pkg.go.dev
# README
Install Codegen
go install github.com/deepmap/oapi-codegen/cmd/oapi-codegen@latest
# Functions
GetSwagger returns the Swagger specification corresponding to the generated code in this file.
Creates a new Client, with reasonable defaults.
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling.
NewGetSpecRequest generates requests for GetSpec.
NewPostCompleteNameRequest calls the generic PostCompleteName builder with application/json body.
NewPostCompleteNameRequestWithBody generates requests for PostCompleteName with any type of body.
NewPostInitRequest calls the generic PostInit builder with application/json body.
NewPostInitRequestWithBody generates requests for PostInit with any type of body.
NewPostStagesNameRequest calls the generic PostStagesName builder with application/json body.
NewPostStagesNameRequestWithBody generates requests for PostStagesName with any type of body.
ParseGetSpecResponse parses an HTTP response from a GetSpecWithResponse call.
ParsePostCompleteNameResponse parses an HTTP response from a PostCompleteNameWithResponse call.
ParsePostInitResponse parses an HTTP response from a PostInitWithResponse call.
ParsePostStagesNameResponse parses an HTTP response from a PostStagesNameWithResponse call.
Constructs a synthetic filesystem for resolving external references when loading openapi specifications.
RegisterHandlers adds each server route to the EchoRouter.
Registers handlers, and prepends BaseURL to the paths, so that the paths can be served under a prefix.
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.
# Constants
Defines values for OutputMimetype.
Defines values for OutputMimetype.
Defines values for OutputMimetype.
Defines values for CompleteStageType.
Defines values for LogLevel.
Defines values for LogLevel.
Defines values for LogLevel.
Defines values for StageType.
# Structs
Client which conforms to the OpenAPI3 specification for this service.
ClientWithResponses builds on ClientInterface to offer response payloads.
CompleteStage defines model for completeStage.
CompleteStageResponse defines model for completeStageResponse.
Error defines model for error.
ErrorStage defines model for errorStage.
No description provided by the author
Input defines model for input.
Log defines model for log.
Output defines model for output.
No description provided by the author
PostInitJSONBody defines parameters for PostInit.
No description provided by the author
No description provided by the author
PreviousStageResult defines model for previousStageResult.
RetryStrategy defines model for retryStrategy.
ServerInterfaceWrapper converts echo contexts to parameters.
Spec defines model for spec.
Stage defines model for stage.
StageRequest defines model for stageRequest.
StageResponse defines model for stageResponse.
# Interfaces
The interface specification for the client above.
ClientWithResponsesInterface is the interface specification for the client with responses above.
This is a simple interface which specifies echo.Route addition functions which are present on both echo.Echo and echo.Group, since we want to allow using either of them for path registration.
Doer performs HTTP requests.
ServerInterface represents all server handlers.
# Type aliases
ClientOption allows setting custom parameters during construction.
CompleteStageType defines model for CompleteStage.Type.
LogLevel defines model for Log.Level.
OutputMimetype defines model for Output.Mimetype.
PostCompleteNameJSONRequestBody defines body for PostCompleteName for application/json ContentType.
PostInitJSONRequestBody defines body for PostInit for application/json ContentType.
PostStagesNameJSONRequestBody defines body for PostStagesName for application/json ContentType.
RequestEditorFn is the function signature for the RequestEditor callback function.
StageType defines model for Stage.Type.