# Packages
Package v20240514 provides primitives to interact with the openapi HTTP API.
Package v20240514 provides primitives to interact with the openapi HTTP API.
Package mocks is a generated GoMock package.
Package v20240514 provides primitives to interact with the openapi HTTP API.
Package v20240514 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.
NewCreateWorkspaceRequestWithApplicationVndAPIPlusJSONBody calls the generic CreateWorkspace builder with application/vnd.api+json body.
NewCreateWorkspaceRequestWithBody generates requests for CreateWorkspace with any type of body.
ParseCreateWorkspaceResponse parses an HTTP response from a CreateWorkspaceWithResponse 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 CreateWorkspaceParamsContentType.
No description provided by the author
# Structs
Client which conforms to the OpenAPI3 specification for this service.
ClientWithResponses builds on ClientInterface to offer response payloads.
CreateWorkspaceParams defines parameters for CreateWorkspace.
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.
go:generate mockgen -destination=mocks/workspace.go -source=workspace.go -package mocks.
# Type aliases
ClientOption allows setting custom parameters during construction.
CreateWorkspaceApplicationVndAPIPlusJSONRequestBody defines body for CreateWorkspace for application/vnd.api+json ContentType.
CreateWorkspaceParamsContentType defines parameters for CreateWorkspace.
RequestEditorFn is the function signature for the RequestEditor callback function.