Documentation
¶
Overview ¶
Package client provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.5.1 DO NOT EDIT.
Index ¶
- func NewCancelImageBuildRequest(server string, name string) (*http.Request, error)
- func NewCancelImageExportRequest(server string, name string) (*http.Request, error)
- func NewCreateImageBuildRequest(server string, body CreateImageBuildJSONRequestBody) (*http.Request, error)
- func NewCreateImageBuildRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateImageExportRequest(server string, body CreateImageExportJSONRequestBody) (*http.Request, error)
- func NewCreateImageExportRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteImageBuildRequest(server string, name string) (*http.Request, error)
- func NewDeleteImageExportRequest(server string, name string) (*http.Request, error)
- func NewDownloadImageExportRequest(server string, name string) (*http.Request, error)
- func NewGetImageBuildLogRequest(server string, name string, params *GetImageBuildLogParams) (*http.Request, error)
- func NewGetImageBuildRequest(server string, name string, params *GetImageBuildParams) (*http.Request, error)
- func NewGetImageExportLogRequest(server string, name string, params *GetImageExportLogParams) (*http.Request, error)
- func NewGetImageExportRequest(server string, name string) (*http.Request, error)
- func NewListImageBuildsRequest(server string, params *ListImageBuildsParams) (*http.Request, error)
- func NewListImageExportsRequest(server string, params *ListImageExportsParams) (*http.Request, error)
- type CancelImageBuildResponse
- type CancelImageExportResponse
- type Client
- func (c *Client) CancelImageBuild(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CancelImageExport(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CreateImageBuild(ctx context.Context, body CreateImageBuildJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateImageBuildWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateImageExport(ctx context.Context, body CreateImageExportJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateImageExportWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeleteImageBuild(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteImageExport(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DownloadImageExport(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetImageBuild(ctx context.Context, name string, params *GetImageBuildParams, ...) (*http.Response, error)
- func (c *Client) GetImageBuildLog(ctx context.Context, name string, params *GetImageBuildLogParams, ...) (*http.Response, error)
- func (c *Client) GetImageExport(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetImageExportLog(ctx context.Context, name string, params *GetImageExportLogParams, ...) (*http.Response, error)
- func (c *Client) ListImageBuilds(ctx context.Context, params *ListImageBuildsParams, ...) (*http.Response, error)
- func (c *Client) ListImageExports(ctx context.Context, params *ListImageExportsParams, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) CancelImageBuildWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*CancelImageBuildResponse, error)
- func (c *ClientWithResponses) CancelImageExportWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*CancelImageExportResponse, error)
- func (c *ClientWithResponses) CreateImageBuildWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateImageBuildResponse, error)
- func (c *ClientWithResponses) CreateImageBuildWithResponse(ctx context.Context, body CreateImageBuildJSONRequestBody, ...) (*CreateImageBuildResponse, error)
- func (c *ClientWithResponses) CreateImageExportWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateImageExportResponse, error)
- func (c *ClientWithResponses) CreateImageExportWithResponse(ctx context.Context, body CreateImageExportJSONRequestBody, ...) (*CreateImageExportResponse, error)
- func (c *ClientWithResponses) DeleteImageBuildWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*DeleteImageBuildResponse, error)
- func (c *ClientWithResponses) DeleteImageExportWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*DeleteImageExportResponse, error)
- func (c *ClientWithResponses) DownloadImageExportWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*DownloadImageExportResponse, error)
- func (c *ClientWithResponses) GetImageBuildLogWithResponse(ctx context.Context, name string, params *GetImageBuildLogParams, ...) (*GetImageBuildLogResponse, error)
- func (c *ClientWithResponses) GetImageBuildWithResponse(ctx context.Context, name string, params *GetImageBuildParams, ...) (*GetImageBuildResponse, error)
- func (c *ClientWithResponses) GetImageExportLogWithResponse(ctx context.Context, name string, params *GetImageExportLogParams, ...) (*GetImageExportLogResponse, error)
- func (c *ClientWithResponses) GetImageExportWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetImageExportResponse, error)
- func (c *ClientWithResponses) ListImageBuildsWithResponse(ctx context.Context, params *ListImageBuildsParams, ...) (*ListImageBuildsResponse, error)
- func (c *ClientWithResponses) ListImageExportsWithResponse(ctx context.Context, params *ListImageExportsParams, ...) (*ListImageExportsResponse, error)
- type ClientWithResponsesInterface
- type CreateImageBuildResponse
- type CreateImageExportResponse
- type DeleteImageBuildResponse
- type DeleteImageExportResponse
- type DownloadImageExportResponse
- type GetImageBuildLogResponse
- type GetImageBuildResponse
- type GetImageExportLogResponse
- type GetImageExportResponse
- type HttpRequestDoer
- type ListImageBuildsResponse
- type ListImageExportsResponse
- type RequestEditorFn
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCancelImageBuildRequest ¶
NewCancelImageBuildRequest generates requests for CancelImageBuild
func NewCancelImageExportRequest ¶
NewCancelImageExportRequest generates requests for CancelImageExport
func NewCreateImageBuildRequest ¶
func NewCreateImageBuildRequest(server string, body CreateImageBuildJSONRequestBody) (*http.Request, error)
NewCreateImageBuildRequest calls the generic CreateImageBuild builder with application/json body
func NewCreateImageBuildRequestWithBody ¶
func NewCreateImageBuildRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateImageBuildRequestWithBody generates requests for CreateImageBuild with any type of body
func NewCreateImageExportRequest ¶
func NewCreateImageExportRequest(server string, body CreateImageExportJSONRequestBody) (*http.Request, error)
NewCreateImageExportRequest calls the generic CreateImageExport builder with application/json body
func NewCreateImageExportRequestWithBody ¶
func NewCreateImageExportRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateImageExportRequestWithBody generates requests for CreateImageExport with any type of body
func NewDeleteImageBuildRequest ¶
NewDeleteImageBuildRequest generates requests for DeleteImageBuild
func NewDeleteImageExportRequest ¶
NewDeleteImageExportRequest generates requests for DeleteImageExport
func NewDownloadImageExportRequest ¶
NewDownloadImageExportRequest generates requests for DownloadImageExport
func NewGetImageBuildLogRequest ¶
func NewGetImageBuildLogRequest(server string, name string, params *GetImageBuildLogParams) (*http.Request, error)
NewGetImageBuildLogRequest generates requests for GetImageBuildLog
func NewGetImageBuildRequest ¶
func NewGetImageBuildRequest(server string, name string, params *GetImageBuildParams) (*http.Request, error)
NewGetImageBuildRequest generates requests for GetImageBuild
func NewGetImageExportLogRequest ¶
func NewGetImageExportLogRequest(server string, name string, params *GetImageExportLogParams) (*http.Request, error)
NewGetImageExportLogRequest generates requests for GetImageExportLog
func NewGetImageExportRequest ¶
NewGetImageExportRequest generates requests for GetImageExport
func NewListImageBuildsRequest ¶
NewListImageBuildsRequest generates requests for ListImageBuilds
Types ¶
type CancelImageBuildResponse ¶
type CancelImageBuildResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ImageBuild
JSON400 *externalRef0.Status
JSON401 *externalRef0.Status
JSON403 *externalRef0.Status
JSON404 *externalRef0.Status
JSON409 *externalRef0.Status
JSON429 *externalRef0.Status
JSON503 *externalRef0.Status
}
func ParseCancelImageBuildResponse ¶
func ParseCancelImageBuildResponse(rsp *http.Response) (*CancelImageBuildResponse, error)
ParseCancelImageBuildResponse parses an HTTP response from a CancelImageBuildWithResponse call
func (CancelImageBuildResponse) Status ¶
func (r CancelImageBuildResponse) Status() string
Status returns HTTPResponse.Status
func (CancelImageBuildResponse) StatusCode ¶
func (r CancelImageBuildResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CancelImageExportResponse ¶
type CancelImageExportResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ImageExport
JSON400 *externalRef0.Status
JSON401 *externalRef0.Status
JSON403 *externalRef0.Status
JSON404 *externalRef0.Status
JSON409 *externalRef0.Status
JSON429 *externalRef0.Status
JSON503 *externalRef0.Status
}
func ParseCancelImageExportResponse ¶
func ParseCancelImageExportResponse(rsp *http.Response) (*CancelImageExportResponse, error)
ParseCancelImageExportResponse parses an HTTP response from a CancelImageExportWithResponse call
func (CancelImageExportResponse) Status ¶
func (r CancelImageExportResponse) Status() string
Status returns HTTPResponse.Status
func (CancelImageExportResponse) StatusCode ¶
func (r CancelImageExportResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Client ¶
type Client struct {
// The endpoint of the server conforming to this interface, with scheme,
// https://api.deepmap.com for example. This can contain a path relative
// to the server, such as https://api.deepmap.com/dev-test, and all the
// paths in the swagger spec will be appended to the server.
Server string
// Doer for performing requests, typically a *http.Client with any
// customized settings, such as certificate chains.
Client HttpRequestDoer
// A list of callbacks for modifying requests which are generated before sending over
// the network.
RequestEditors []RequestEditorFn
}
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) CancelImageBuild ¶
func (*Client) CancelImageExport ¶
func (*Client) CreateImageBuild ¶
func (*Client) CreateImageBuildWithBody ¶
func (*Client) CreateImageExport ¶
func (*Client) CreateImageExportWithBody ¶
func (*Client) DeleteImageBuild ¶
func (*Client) DeleteImageExport ¶
func (*Client) DownloadImageExport ¶
func (*Client) GetImageBuild ¶
func (*Client) GetImageBuildLog ¶
func (*Client) GetImageExport ¶
func (*Client) GetImageExportLog ¶
func (*Client) ListImageBuilds ¶
func (*Client) ListImageExports ¶
type ClientInterface ¶
type ClientInterface interface {
// ListImageBuilds request
ListImageBuilds(ctx context.Context, params *ListImageBuildsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateImageBuildWithBody request with any body
CreateImageBuildWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateImageBuild(ctx context.Context, body CreateImageBuildJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteImageBuild request
DeleteImageBuild(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetImageBuild request
GetImageBuild(ctx context.Context, name string, params *GetImageBuildParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CancelImageBuild request
CancelImageBuild(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetImageBuildLog request
GetImageBuildLog(ctx context.Context, name string, params *GetImageBuildLogParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListImageExports request
ListImageExports(ctx context.Context, params *ListImageExportsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateImageExportWithBody request with any body
CreateImageExportWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateImageExport(ctx context.Context, body CreateImageExportJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteImageExport request
DeleteImageExport(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetImageExport request
GetImageExport(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
// CancelImageExport request
CancelImageExport(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
// DownloadImageExport request
DownloadImageExport(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetImageExportLog request
GetImageExportLog(ctx context.Context, name string, params *GetImageExportLogParams, reqEditors ...RequestEditorFn) (*http.Response, error)
}
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) CancelImageBuildWithResponse ¶
func (c *ClientWithResponses) CancelImageBuildWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*CancelImageBuildResponse, error)
CancelImageBuildWithResponse request returning *CancelImageBuildResponse
func (*ClientWithResponses) CancelImageExportWithResponse ¶
func (c *ClientWithResponses) CancelImageExportWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*CancelImageExportResponse, error)
CancelImageExportWithResponse request returning *CancelImageExportResponse
func (*ClientWithResponses) CreateImageBuildWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateImageBuildWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateImageBuildResponse, error)
CreateImageBuildWithBodyWithResponse request with arbitrary body returning *CreateImageBuildResponse
func (*ClientWithResponses) CreateImageBuildWithResponse ¶
func (c *ClientWithResponses) CreateImageBuildWithResponse(ctx context.Context, body CreateImageBuildJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateImageBuildResponse, error)
func (*ClientWithResponses) CreateImageExportWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateImageExportWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateImageExportResponse, error)
CreateImageExportWithBodyWithResponse request with arbitrary body returning *CreateImageExportResponse
func (*ClientWithResponses) CreateImageExportWithResponse ¶
func (c *ClientWithResponses) CreateImageExportWithResponse(ctx context.Context, body CreateImageExportJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateImageExportResponse, error)
func (*ClientWithResponses) DeleteImageBuildWithResponse ¶
func (c *ClientWithResponses) DeleteImageBuildWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*DeleteImageBuildResponse, error)
DeleteImageBuildWithResponse request returning *DeleteImageBuildResponse
func (*ClientWithResponses) DeleteImageExportWithResponse ¶
func (c *ClientWithResponses) DeleteImageExportWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*DeleteImageExportResponse, error)
DeleteImageExportWithResponse request returning *DeleteImageExportResponse
func (*ClientWithResponses) DownloadImageExportWithResponse ¶
func (c *ClientWithResponses) DownloadImageExportWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*DownloadImageExportResponse, error)
DownloadImageExportWithResponse request returning *DownloadImageExportResponse
func (*ClientWithResponses) GetImageBuildLogWithResponse ¶
func (c *ClientWithResponses) GetImageBuildLogWithResponse(ctx context.Context, name string, params *GetImageBuildLogParams, reqEditors ...RequestEditorFn) (*GetImageBuildLogResponse, error)
GetImageBuildLogWithResponse request returning *GetImageBuildLogResponse
func (*ClientWithResponses) GetImageBuildWithResponse ¶
func (c *ClientWithResponses) GetImageBuildWithResponse(ctx context.Context, name string, params *GetImageBuildParams, reqEditors ...RequestEditorFn) (*GetImageBuildResponse, error)
GetImageBuildWithResponse request returning *GetImageBuildResponse
func (*ClientWithResponses) GetImageExportLogWithResponse ¶
func (c *ClientWithResponses) GetImageExportLogWithResponse(ctx context.Context, name string, params *GetImageExportLogParams, reqEditors ...RequestEditorFn) (*GetImageExportLogResponse, error)
GetImageExportLogWithResponse request returning *GetImageExportLogResponse
func (*ClientWithResponses) GetImageExportWithResponse ¶
func (c *ClientWithResponses) GetImageExportWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetImageExportResponse, error)
GetImageExportWithResponse request returning *GetImageExportResponse
func (*ClientWithResponses) ListImageBuildsWithResponse ¶
func (c *ClientWithResponses) ListImageBuildsWithResponse(ctx context.Context, params *ListImageBuildsParams, reqEditors ...RequestEditorFn) (*ListImageBuildsResponse, error)
ListImageBuildsWithResponse request returning *ListImageBuildsResponse
func (*ClientWithResponses) ListImageExportsWithResponse ¶
func (c *ClientWithResponses) ListImageExportsWithResponse(ctx context.Context, params *ListImageExportsParams, reqEditors ...RequestEditorFn) (*ListImageExportsResponse, error)
ListImageExportsWithResponse request returning *ListImageExportsResponse
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// ListImageBuildsWithResponse request
ListImageBuildsWithResponse(ctx context.Context, params *ListImageBuildsParams, reqEditors ...RequestEditorFn) (*ListImageBuildsResponse, error)
// CreateImageBuildWithBodyWithResponse request with any body
CreateImageBuildWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateImageBuildResponse, error)
CreateImageBuildWithResponse(ctx context.Context, body CreateImageBuildJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateImageBuildResponse, error)
// DeleteImageBuildWithResponse request
DeleteImageBuildWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*DeleteImageBuildResponse, error)
// GetImageBuildWithResponse request
GetImageBuildWithResponse(ctx context.Context, name string, params *GetImageBuildParams, reqEditors ...RequestEditorFn) (*GetImageBuildResponse, error)
// CancelImageBuildWithResponse request
CancelImageBuildWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*CancelImageBuildResponse, error)
// GetImageBuildLogWithResponse request
GetImageBuildLogWithResponse(ctx context.Context, name string, params *GetImageBuildLogParams, reqEditors ...RequestEditorFn) (*GetImageBuildLogResponse, error)
// ListImageExportsWithResponse request
ListImageExportsWithResponse(ctx context.Context, params *ListImageExportsParams, reqEditors ...RequestEditorFn) (*ListImageExportsResponse, error)
// CreateImageExportWithBodyWithResponse request with any body
CreateImageExportWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateImageExportResponse, error)
CreateImageExportWithResponse(ctx context.Context, body CreateImageExportJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateImageExportResponse, error)
// DeleteImageExportWithResponse request
DeleteImageExportWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*DeleteImageExportResponse, error)
// GetImageExportWithResponse request
GetImageExportWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetImageExportResponse, error)
// CancelImageExportWithResponse request
CancelImageExportWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*CancelImageExportResponse, error)
// DownloadImageExportWithResponse request
DownloadImageExportWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*DownloadImageExportResponse, error)
// GetImageExportLogWithResponse request
GetImageExportLogWithResponse(ctx context.Context, name string, params *GetImageExportLogParams, reqEditors ...RequestEditorFn) (*GetImageExportLogResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type CreateImageBuildResponse ¶
type CreateImageBuildResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *ImageBuild
JSON400 *externalRef0.Status
JSON401 *externalRef0.Status
JSON403 *externalRef0.Status
JSON409 *externalRef0.Status
JSON429 *externalRef0.Status
JSON503 *externalRef0.Status
}
func ParseCreateImageBuildResponse ¶
func ParseCreateImageBuildResponse(rsp *http.Response) (*CreateImageBuildResponse, error)
ParseCreateImageBuildResponse parses an HTTP response from a CreateImageBuildWithResponse call
func (CreateImageBuildResponse) Status ¶
func (r CreateImageBuildResponse) Status() string
Status returns HTTPResponse.Status
func (CreateImageBuildResponse) StatusCode ¶
func (r CreateImageBuildResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateImageExportResponse ¶
type CreateImageExportResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *ImageExport
JSON400 *externalRef0.Status
JSON401 *externalRef0.Status
JSON403 *externalRef0.Status
JSON409 *externalRef0.Status
JSON429 *externalRef0.Status
JSON503 *externalRef0.Status
}
func ParseCreateImageExportResponse ¶
func ParseCreateImageExportResponse(rsp *http.Response) (*CreateImageExportResponse, error)
ParseCreateImageExportResponse parses an HTTP response from a CreateImageExportWithResponse call
func (CreateImageExportResponse) Status ¶
func (r CreateImageExportResponse) Status() string
Status returns HTTPResponse.Status
func (CreateImageExportResponse) StatusCode ¶
func (r CreateImageExportResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteImageBuildResponse ¶
type DeleteImageBuildResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ImageBuild
JSON401 *externalRef0.Status
JSON403 *externalRef0.Status
JSON404 *externalRef0.Status
JSON429 *externalRef0.Status
JSON503 *externalRef0.Status
}
func ParseDeleteImageBuildResponse ¶
func ParseDeleteImageBuildResponse(rsp *http.Response) (*DeleteImageBuildResponse, error)
ParseDeleteImageBuildResponse parses an HTTP response from a DeleteImageBuildWithResponse call
func (DeleteImageBuildResponse) Status ¶
func (r DeleteImageBuildResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteImageBuildResponse) StatusCode ¶
func (r DeleteImageBuildResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteImageExportResponse ¶
type DeleteImageExportResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ImageExport
JSON401 *externalRef0.Status
JSON403 *externalRef0.Status
JSON404 *externalRef0.Status
JSON429 *externalRef0.Status
JSON503 *externalRef0.Status
}
func ParseDeleteImageExportResponse ¶
func ParseDeleteImageExportResponse(rsp *http.Response) (*DeleteImageExportResponse, error)
ParseDeleteImageExportResponse parses an HTTP response from a DeleteImageExportWithResponse call
func (DeleteImageExportResponse) Status ¶
func (r DeleteImageExportResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteImageExportResponse) StatusCode ¶
func (r DeleteImageExportResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DownloadImageExportResponse ¶
type DownloadImageExportResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *externalRef0.Status
JSON401 *externalRef0.Status
JSON403 *externalRef0.Status
JSON404 *externalRef0.Status
JSON429 *externalRef0.Status
JSON500 *externalRef0.Status
JSON503 *externalRef0.Status
}
func ParseDownloadImageExportResponse ¶
func ParseDownloadImageExportResponse(rsp *http.Response) (*DownloadImageExportResponse, error)
ParseDownloadImageExportResponse parses an HTTP response from a DownloadImageExportWithResponse call
func (DownloadImageExportResponse) Status ¶
func (r DownloadImageExportResponse) Status() string
Status returns HTTPResponse.Status
func (DownloadImageExportResponse) StatusCode ¶
func (r DownloadImageExportResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetImageBuildLogResponse ¶
type GetImageBuildLogResponse struct {
Body []byte
HTTPResponse *http.Response
JSON401 *externalRef0.Status
JSON403 *externalRef0.Status
JSON404 *externalRef0.Status
JSON429 *externalRef0.Status
JSON503 *externalRef0.Status
}
func ParseGetImageBuildLogResponse ¶
func ParseGetImageBuildLogResponse(rsp *http.Response) (*GetImageBuildLogResponse, error)
ParseGetImageBuildLogResponse parses an HTTP response from a GetImageBuildLogWithResponse call
func (GetImageBuildLogResponse) Status ¶
func (r GetImageBuildLogResponse) Status() string
Status returns HTTPResponse.Status
func (GetImageBuildLogResponse) StatusCode ¶
func (r GetImageBuildLogResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetImageBuildResponse ¶
type GetImageBuildResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ImageBuild
JSON401 *externalRef0.Status
JSON403 *externalRef0.Status
JSON404 *externalRef0.Status
JSON429 *externalRef0.Status
JSON503 *externalRef0.Status
}
func ParseGetImageBuildResponse ¶
func ParseGetImageBuildResponse(rsp *http.Response) (*GetImageBuildResponse, error)
ParseGetImageBuildResponse parses an HTTP response from a GetImageBuildWithResponse call
func (GetImageBuildResponse) Status ¶
func (r GetImageBuildResponse) Status() string
Status returns HTTPResponse.Status
func (GetImageBuildResponse) StatusCode ¶
func (r GetImageBuildResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetImageExportLogResponse ¶
type GetImageExportLogResponse struct {
Body []byte
HTTPResponse *http.Response
JSON401 *externalRef0.Status
JSON403 *externalRef0.Status
JSON404 *externalRef0.Status
JSON429 *externalRef0.Status
JSON503 *externalRef0.Status
}
func ParseGetImageExportLogResponse ¶
func ParseGetImageExportLogResponse(rsp *http.Response) (*GetImageExportLogResponse, error)
ParseGetImageExportLogResponse parses an HTTP response from a GetImageExportLogWithResponse call
func (GetImageExportLogResponse) Status ¶
func (r GetImageExportLogResponse) Status() string
Status returns HTTPResponse.Status
func (GetImageExportLogResponse) StatusCode ¶
func (r GetImageExportLogResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetImageExportResponse ¶
type GetImageExportResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ImageExport
JSON401 *externalRef0.Status
JSON403 *externalRef0.Status
JSON404 *externalRef0.Status
JSON429 *externalRef0.Status
JSON503 *externalRef0.Status
}
func ParseGetImageExportResponse ¶
func ParseGetImageExportResponse(rsp *http.Response) (*GetImageExportResponse, error)
ParseGetImageExportResponse parses an HTTP response from a GetImageExportWithResponse call
func (GetImageExportResponse) Status ¶
func (r GetImageExportResponse) Status() string
Status returns HTTPResponse.Status
func (GetImageExportResponse) StatusCode ¶
func (r GetImageExportResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type ListImageBuildsResponse ¶
type ListImageBuildsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ImageBuildList
JSON400 *externalRef0.Status
JSON401 *externalRef0.Status
JSON403 *externalRef0.Status
JSON429 *externalRef0.Status
JSON503 *externalRef0.Status
}
func ParseListImageBuildsResponse ¶
func ParseListImageBuildsResponse(rsp *http.Response) (*ListImageBuildsResponse, error)
ParseListImageBuildsResponse parses an HTTP response from a ListImageBuildsWithResponse call
func (ListImageBuildsResponse) Status ¶
func (r ListImageBuildsResponse) Status() string
Status returns HTTPResponse.Status
func (ListImageBuildsResponse) StatusCode ¶
func (r ListImageBuildsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListImageExportsResponse ¶
type ListImageExportsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ImageExportList
JSON400 *externalRef0.Status
JSON401 *externalRef0.Status
JSON403 *externalRef0.Status
JSON429 *externalRef0.Status
JSON503 *externalRef0.Status
}
func ParseListImageExportsResponse ¶
func ParseListImageExportsResponse(rsp *http.Response) (*ListImageExportsResponse, error)
ParseListImageExportsResponse parses an HTTP response from a ListImageExportsWithResponse call
func (ListImageExportsResponse) Status ¶
func (r ListImageExportsResponse) Status() string
Status returns HTTPResponse.Status
func (ListImageExportsResponse) StatusCode ¶
func (r ListImageExportsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode