package
0.0.1
Repository: https://github.com/sadok-f/ssx-client-go.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.
NewCreateNewDeploymentRequest calls the generic CreateNewDeployment builder with application/json body.
NewCreateNewDeploymentRequestWithBody generates requests for CreateNewDeployment with any type of body.
NewDeleteDeploymentRequest generates requests for DeleteDeployment.
NewGenerateNewTokenRequest generates requests for GenerateNewToken.
NewGetDeploymentsListRequest generates requests for GetDeploymentsList.
ParseCreateNewDeploymentResponse parses an HTTP response from a CreateNewDeploymentWithResponse call.
ParseDeleteDeploymentResponse parses an HTTP response from a DeleteDeploymentWithResponse call.
ParseGenerateNewTokenResponse parses an HTTP response from a GenerateNewTokenWithResponse call.
ParseGetDeploymentsListResponse parses an HTTP response from a GetDeploymentsListWithResponse 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.

# Constants

Defines values for DeploymentCreateResponseCloudProviderId.
Defines values for DeploymentCreateResponseCloudProviderId.
Defines values for DeploymentCreateResponseCloudProviderId.

# Structs

AuthTokenResponse defines model for AuthTokenResponse.
Client which conforms to the OpenAPI3 specification for this service.
ClientWithResponses builds on ClientInterface to offer response payloads.
CreateNewDeploymentParams defines parameters for CreateNewDeployment.
No description provided by the author
DeleteDeploymentParams defines parameters for DeleteDeployment.
No description provided by the author
DeploymentCreateRequest defines model for DeploymentCreateRequest.
DeploymentCreateResponse defines model for DeploymentCreateResponse.
DeploymentDeleteResponse defines model for DeploymentDeleteResponse.
DeploymentListResponse defines model for DeploymentListResponse.
GenerateNewTokenParams defines parameters for GenerateNewToken.
No description provided by the author
GetDeploymentsListParams defines parameters for GetDeploymentsList.
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

AuthorizationToken defines model for Authorization-token.
ClientOption allows setting custom parameters during construction.
CreateNewDeploymentJSONRequestBody defines body for CreateNewDeployment for application/json ContentType.
DeploymentCreateResponseCloudProviderId defines model for DeploymentCreateResponse.CloudProviderId.
RequestEditorFn is the function signature for the RequestEditor callback function.