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 NewCreateImageBuildNewVersionRequest(server string, name string, body CreateImageBuildNewVersionJSONRequestBody) (*http.Request, error)
- func NewCreateImageBuildNewVersionRequestWithBody(server string, name string, contentType string, body io.Reader) (*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 NewCreateImagePromotionRequest(server string, body CreateImagePromotionJSONRequestBody) (*http.Request, error)
- func NewCreateImagePromotionRequestWithBody(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 NewDeleteImagePromotionRequest(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 NewGetImagePromotionRequest(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)
- func NewListImagePromotionsRequest(server string, params *ListImagePromotionsParams) (*http.Request, error)
- func NewPatchImagePromotionRequestWithApplicationJSONPatchPlusJSONBody(server string, name string, ...) (*http.Request, error)
- func NewPatchImagePromotionRequestWithBody(server string, name string, contentType string, body io.Reader) (*http.Request, error)
- func NewReplaceImagePromotionRequest(server string, name string, body ReplaceImagePromotionJSONRequestBody) (*http.Request, error)
- func NewReplaceImagePromotionRequestWithBody(server string, name string, contentType string, body io.Reader) (*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) CreateImageBuildNewVersion(ctx context.Context, name string, ...) (*http.Response, error)
- func (c *Client) CreateImageBuildNewVersionWithBody(ctx context.Context, name string, contentType string, body io.Reader, ...) (*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) CreateImagePromotion(ctx context.Context, body CreateImagePromotionJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateImagePromotionWithBody(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) DeleteImagePromotion(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) GetImagePromotion(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*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)
- func (c *Client) ListImagePromotions(ctx context.Context, params *ListImagePromotionsParams, ...) (*http.Response, error)
- func (c *Client) PatchImagePromotionWithApplicationJSONPatchPlusJSONBody(ctx context.Context, name string, ...) (*http.Response, error)
- func (c *Client) PatchImagePromotionWithBody(ctx context.Context, name string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ReplaceImagePromotion(ctx context.Context, name string, body ReplaceImagePromotionJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ReplaceImagePromotionWithBody(ctx context.Context, name string, contentType string, body io.Reader, ...) (*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) CreateImageBuildNewVersionWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, ...) (*CreateImageBuildNewVersionResponse, error)
- func (c *ClientWithResponses) CreateImageBuildNewVersionWithResponse(ctx context.Context, name string, ...) (*CreateImageBuildNewVersionResponse, 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) CreateImagePromotionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateImagePromotionResponse, error)
- func (c *ClientWithResponses) CreateImagePromotionWithResponse(ctx context.Context, body CreateImagePromotionJSONRequestBody, ...) (*CreateImagePromotionResponse, 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) DeleteImagePromotionWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*DeleteImagePromotionResponse, 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) GetImagePromotionWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetImagePromotionResponse, error)
- func (c *ClientWithResponses) ListImageBuildsWithResponse(ctx context.Context, params *ListImageBuildsParams, ...) (*ListImageBuildsResponse, error)
- func (c *ClientWithResponses) ListImageExportsWithResponse(ctx context.Context, params *ListImageExportsParams, ...) (*ListImageExportsResponse, error)
- func (c *ClientWithResponses) ListImagePromotionsWithResponse(ctx context.Context, params *ListImagePromotionsParams, ...) (*ListImagePromotionsResponse, error)
- func (c *ClientWithResponses) PatchImagePromotionWithApplicationJSONPatchPlusJSONBodyWithResponse(ctx context.Context, name string, ...) (*PatchImagePromotionResponse, error)
- func (c *ClientWithResponses) PatchImagePromotionWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, ...) (*PatchImagePromotionResponse, error)
- func (c *ClientWithResponses) ReplaceImagePromotionWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, ...) (*ReplaceImagePromotionResponse, error)
- func (c *ClientWithResponses) ReplaceImagePromotionWithResponse(ctx context.Context, name string, body ReplaceImagePromotionJSONRequestBody, ...) (*ReplaceImagePromotionResponse, error)
- type ClientWithResponsesInterface
- type CreateImageBuildNewVersionResponse
- type CreateImageBuildResponse
- type CreateImageExportResponse
- type CreateImagePromotionResponse
- type DeleteImageBuildResponse
- type DeleteImageExportResponse
- type DeleteImagePromotionResponse
- type DownloadImageExportResponse
- type GetImageBuildLogResponse
- type GetImageBuildResponse
- type GetImageExportLogResponse
- type GetImageExportResponse
- type GetImagePromotionResponse
- type HttpRequestDoer
- type ListImageBuildsResponse
- type ListImageExportsResponse
- type ListImagePromotionsResponse
- type PatchImagePromotionResponse
- type ReplaceImagePromotionResponse
- 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 NewCreateImageBuildNewVersionRequest ¶ added in v1.2.0
func NewCreateImageBuildNewVersionRequest(server string, name string, body CreateImageBuildNewVersionJSONRequestBody) (*http.Request, error)
NewCreateImageBuildNewVersionRequest calls the generic CreateImageBuildNewVersion builder with application/json body
func NewCreateImageBuildNewVersionRequestWithBody ¶ added in v1.2.0
func NewCreateImageBuildNewVersionRequestWithBody(server string, name string, contentType string, body io.Reader) (*http.Request, error)
NewCreateImageBuildNewVersionRequestWithBody generates requests for CreateImageBuildNewVersion with any type of body
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 NewCreateImagePromotionRequest ¶ added in v1.2.0
func NewCreateImagePromotionRequest(server string, body CreateImagePromotionJSONRequestBody) (*http.Request, error)
NewCreateImagePromotionRequest calls the generic CreateImagePromotion builder with application/json body
func NewCreateImagePromotionRequestWithBody ¶ added in v1.2.0
func NewCreateImagePromotionRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateImagePromotionRequestWithBody generates requests for CreateImagePromotion with any type of body
func NewDeleteImageBuildRequest ¶
NewDeleteImageBuildRequest generates requests for DeleteImageBuild
func NewDeleteImageExportRequest ¶
NewDeleteImageExportRequest generates requests for DeleteImageExport
func NewDeleteImagePromotionRequest ¶ added in v1.2.0
NewDeleteImagePromotionRequest generates requests for DeleteImagePromotion
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 NewGetImagePromotionRequest ¶ added in v1.2.0
NewGetImagePromotionRequest generates requests for GetImagePromotion
func NewListImageBuildsRequest ¶
NewListImageBuildsRequest generates requests for ListImageBuilds
func NewListImageExportsRequest ¶
func NewListImageExportsRequest(server string, params *ListImageExportsParams) (*http.Request, error)
NewListImageExportsRequest generates requests for ListImageExports
func NewListImagePromotionsRequest ¶ added in v1.2.0
func NewListImagePromotionsRequest(server string, params *ListImagePromotionsParams) (*http.Request, error)
NewListImagePromotionsRequest generates requests for ListImagePromotions
func NewPatchImagePromotionRequestWithApplicationJSONPatchPlusJSONBody ¶ added in v1.2.0
func NewPatchImagePromotionRequestWithApplicationJSONPatchPlusJSONBody(server string, name string, body PatchImagePromotionApplicationJSONPatchPlusJSONRequestBody) (*http.Request, error)
NewPatchImagePromotionRequestWithApplicationJSONPatchPlusJSONBody calls the generic PatchImagePromotion builder with application/json-patch+json body
func NewPatchImagePromotionRequestWithBody ¶ added in v1.2.0
func NewPatchImagePromotionRequestWithBody(server string, name string, contentType string, body io.Reader) (*http.Request, error)
NewPatchImagePromotionRequestWithBody generates requests for PatchImagePromotion with any type of body
func NewReplaceImagePromotionRequest ¶ added in v1.2.0
func NewReplaceImagePromotionRequest(server string, name string, body ReplaceImagePromotionJSONRequestBody) (*http.Request, error)
NewReplaceImagePromotionRequest calls the generic ReplaceImagePromotion builder with application/json body
func NewReplaceImagePromotionRequestWithBody ¶ added in v1.2.0
func NewReplaceImagePromotionRequestWithBody(server string, name string, contentType string, body io.Reader) (*http.Request, error)
NewReplaceImagePromotionRequestWithBody generates requests for ReplaceImagePromotion with any type of body
Types ¶
type CancelImageBuildResponse ¶
type CancelImageBuildResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ImageBuild
JSON400 *Status
JSON401 *Status
JSON403 *Status
JSON404 *Status
JSON409 *Status
JSON429 *Status
JSON503 *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 *Status
JSON401 *Status
JSON403 *Status
JSON404 *Status
JSON409 *Status
JSON429 *Status
JSON503 *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) CreateImageBuildNewVersion ¶ added in v1.2.0
func (*Client) CreateImageBuildNewVersionWithBody ¶ added in v1.2.0
func (*Client) CreateImageBuildWithBody ¶
func (*Client) CreateImageExport ¶
func (*Client) CreateImageExportWithBody ¶
func (*Client) CreateImagePromotion ¶ added in v1.2.0
func (*Client) CreateImagePromotionWithBody ¶ added in v1.2.0
func (*Client) DeleteImageBuild ¶
func (*Client) DeleteImageExport ¶
func (*Client) DeleteImagePromotion ¶ added in v1.2.0
func (*Client) DownloadImageExport ¶
func (*Client) GetImageBuild ¶
func (*Client) GetImageBuildLog ¶
func (*Client) GetImageExport ¶
func (*Client) GetImageExportLog ¶
func (*Client) GetImagePromotion ¶ added in v1.2.0
func (*Client) ListImageBuilds ¶
func (*Client) ListImageExports ¶
func (*Client) ListImagePromotions ¶ added in v1.2.0
func (*Client) PatchImagePromotionWithApplicationJSONPatchPlusJSONBody ¶ added in v1.2.0
func (*Client) PatchImagePromotionWithBody ¶ added in v1.2.0
func (*Client) ReplaceImagePromotion ¶ added in v1.2.0
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)
// CreateImageBuildNewVersionWithBody request with any body
CreateImageBuildNewVersionWithBody(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateImageBuildNewVersion(ctx context.Context, name string, body CreateImageBuildNewVersionJSONRequestBody, 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)
// ListImagePromotions request
ListImagePromotions(ctx context.Context, params *ListImagePromotionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateImagePromotionWithBody request with any body
CreateImagePromotionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateImagePromotion(ctx context.Context, body CreateImagePromotionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteImagePromotion request
DeleteImagePromotion(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetImagePromotion request
GetImagePromotion(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*http.Response, error)
// PatchImagePromotionWithBody request with any body
PatchImagePromotionWithBody(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PatchImagePromotionWithApplicationJSONPatchPlusJSONBody(ctx context.Context, name string, body PatchImagePromotionApplicationJSONPatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ReplaceImagePromotionWithBody request with any body
ReplaceImagePromotionWithBody(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ReplaceImagePromotion(ctx context.Context, name string, body ReplaceImagePromotionJSONRequestBody, 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) CreateImageBuildNewVersionWithBodyWithResponse ¶ added in v1.2.0
func (c *ClientWithResponses) CreateImageBuildNewVersionWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateImageBuildNewVersionResponse, error)
CreateImageBuildNewVersionWithBodyWithResponse request with arbitrary body returning *CreateImageBuildNewVersionResponse
func (*ClientWithResponses) CreateImageBuildNewVersionWithResponse ¶ added in v1.2.0
func (c *ClientWithResponses) CreateImageBuildNewVersionWithResponse(ctx context.Context, name string, body CreateImageBuildNewVersionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateImageBuildNewVersionResponse, error)
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) CreateImagePromotionWithBodyWithResponse ¶ added in v1.2.0
func (c *ClientWithResponses) CreateImagePromotionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateImagePromotionResponse, error)
CreateImagePromotionWithBodyWithResponse request with arbitrary body returning *CreateImagePromotionResponse
func (*ClientWithResponses) CreateImagePromotionWithResponse ¶ added in v1.2.0
func (c *ClientWithResponses) CreateImagePromotionWithResponse(ctx context.Context, body CreateImagePromotionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateImagePromotionResponse, 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) DeleteImagePromotionWithResponse ¶ added in v1.2.0
func (c *ClientWithResponses) DeleteImagePromotionWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*DeleteImagePromotionResponse, error)
DeleteImagePromotionWithResponse request returning *DeleteImagePromotionResponse
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) GetImagePromotionWithResponse ¶ added in v1.2.0
func (c *ClientWithResponses) GetImagePromotionWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetImagePromotionResponse, error)
GetImagePromotionWithResponse request returning *GetImagePromotionResponse
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
func (*ClientWithResponses) ListImagePromotionsWithResponse ¶ added in v1.2.0
func (c *ClientWithResponses) ListImagePromotionsWithResponse(ctx context.Context, params *ListImagePromotionsParams, reqEditors ...RequestEditorFn) (*ListImagePromotionsResponse, error)
ListImagePromotionsWithResponse request returning *ListImagePromotionsResponse
func (*ClientWithResponses) PatchImagePromotionWithApplicationJSONPatchPlusJSONBodyWithResponse ¶ added in v1.2.0
func (c *ClientWithResponses) PatchImagePromotionWithApplicationJSONPatchPlusJSONBodyWithResponse(ctx context.Context, name string, body PatchImagePromotionApplicationJSONPatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchImagePromotionResponse, error)
func (*ClientWithResponses) PatchImagePromotionWithBodyWithResponse ¶ added in v1.2.0
func (c *ClientWithResponses) PatchImagePromotionWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchImagePromotionResponse, error)
PatchImagePromotionWithBodyWithResponse request with arbitrary body returning *PatchImagePromotionResponse
func (*ClientWithResponses) ReplaceImagePromotionWithBodyWithResponse ¶ added in v1.2.0
func (c *ClientWithResponses) ReplaceImagePromotionWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReplaceImagePromotionResponse, error)
ReplaceImagePromotionWithBodyWithResponse request with arbitrary body returning *ReplaceImagePromotionResponse
func (*ClientWithResponses) ReplaceImagePromotionWithResponse ¶ added in v1.2.0
func (c *ClientWithResponses) ReplaceImagePromotionWithResponse(ctx context.Context, name string, body ReplaceImagePromotionJSONRequestBody, reqEditors ...RequestEditorFn) (*ReplaceImagePromotionResponse, error)
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)
// CreateImageBuildNewVersionWithBodyWithResponse request with any body
CreateImageBuildNewVersionWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateImageBuildNewVersionResponse, error)
CreateImageBuildNewVersionWithResponse(ctx context.Context, name string, body CreateImageBuildNewVersionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateImageBuildNewVersionResponse, 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)
// ListImagePromotionsWithResponse request
ListImagePromotionsWithResponse(ctx context.Context, params *ListImagePromotionsParams, reqEditors ...RequestEditorFn) (*ListImagePromotionsResponse, error)
// CreateImagePromotionWithBodyWithResponse request with any body
CreateImagePromotionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateImagePromotionResponse, error)
CreateImagePromotionWithResponse(ctx context.Context, body CreateImagePromotionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateImagePromotionResponse, error)
// DeleteImagePromotionWithResponse request
DeleteImagePromotionWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*DeleteImagePromotionResponse, error)
// GetImagePromotionWithResponse request
GetImagePromotionWithResponse(ctx context.Context, name string, reqEditors ...RequestEditorFn) (*GetImagePromotionResponse, error)
// PatchImagePromotionWithBodyWithResponse request with any body
PatchImagePromotionWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchImagePromotionResponse, error)
PatchImagePromotionWithApplicationJSONPatchPlusJSONBodyWithResponse(ctx context.Context, name string, body PatchImagePromotionApplicationJSONPatchPlusJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchImagePromotionResponse, error)
// ReplaceImagePromotionWithBodyWithResponse request with any body
ReplaceImagePromotionWithBodyWithResponse(ctx context.Context, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReplaceImagePromotionResponse, error)
ReplaceImagePromotionWithResponse(ctx context.Context, name string, body ReplaceImagePromotionJSONRequestBody, reqEditors ...RequestEditorFn) (*ReplaceImagePromotionResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type CreateImageBuildNewVersionResponse ¶ added in v1.2.0
type CreateImageBuildNewVersionResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *ImageBuild
JSON400 *Status
JSON401 *Status
JSON403 *Status
JSON404 *Status
JSON409 *Status
JSON429 *Status
JSON503 *Status
}
func ParseCreateImageBuildNewVersionResponse ¶ added in v1.2.0
func ParseCreateImageBuildNewVersionResponse(rsp *http.Response) (*CreateImageBuildNewVersionResponse, error)
ParseCreateImageBuildNewVersionResponse parses an HTTP response from a CreateImageBuildNewVersionWithResponse call
func (CreateImageBuildNewVersionResponse) Status ¶ added in v1.2.0
func (r CreateImageBuildNewVersionResponse) Status() string
Status returns HTTPResponse.Status
func (CreateImageBuildNewVersionResponse) StatusCode ¶ added in v1.2.0
func (r CreateImageBuildNewVersionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateImageBuildResponse ¶
type CreateImageBuildResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *ImageBuild
JSON400 *Status
JSON401 *Status
JSON403 *Status
JSON409 *Status
JSON429 *Status
JSON503 *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 *Status
JSON401 *Status
JSON403 *Status
JSON409 *Status
JSON429 *Status
JSON503 *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 CreateImagePromotionResponse ¶ added in v1.2.0
type CreateImagePromotionResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *ImagePromotion
JSON400 *Status
JSON401 *Status
JSON403 *Status
JSON409 *Status
JSON429 *Status
JSON503 *Status
}
func ParseCreateImagePromotionResponse ¶ added in v1.2.0
func ParseCreateImagePromotionResponse(rsp *http.Response) (*CreateImagePromotionResponse, error)
ParseCreateImagePromotionResponse parses an HTTP response from a CreateImagePromotionWithResponse call
func (CreateImagePromotionResponse) Status ¶ added in v1.2.0
func (r CreateImagePromotionResponse) Status() string
Status returns HTTPResponse.Status
func (CreateImagePromotionResponse) StatusCode ¶ added in v1.2.0
func (r CreateImagePromotionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteImageBuildResponse ¶
type DeleteImageBuildResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Status
JSON400 *Status
JSON401 *Status
JSON403 *Status
JSON404 *Status
JSON429 *Status
JSON503 *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 *Status
JSON400 *Status
JSON401 *Status
JSON403 *Status
JSON404 *Status
JSON429 *Status
JSON503 *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 DeleteImagePromotionResponse ¶ added in v1.2.0
type DeleteImagePromotionResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Status
JSON400 *Status
JSON401 *Status
JSON403 *Status
JSON404 *Status
JSON409 *Status
JSON429 *Status
JSON503 *Status
}
func ParseDeleteImagePromotionResponse ¶ added in v1.2.0
func ParseDeleteImagePromotionResponse(rsp *http.Response) (*DeleteImagePromotionResponse, error)
ParseDeleteImagePromotionResponse parses an HTTP response from a DeleteImagePromotionWithResponse call
func (DeleteImagePromotionResponse) Status ¶ added in v1.2.0
func (r DeleteImagePromotionResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteImagePromotionResponse) StatusCode ¶ added in v1.2.0
func (r DeleteImagePromotionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DownloadImageExportResponse ¶
type DownloadImageExportResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *Status
JSON401 *Status
JSON403 *Status
JSON404 *Status
JSON429 *Status
JSON500 *Status
JSON503 *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
JSON400 *Status
JSON401 *Status
JSON403 *Status
JSON404 *Status
JSON429 *Status
JSON503 *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
JSON400 *Status
JSON401 *Status
JSON403 *Status
JSON404 *Status
JSON429 *Status
JSON503 *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
JSON400 *Status
JSON401 *Status
JSON403 *Status
JSON404 *Status
JSON429 *Status
JSON503 *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
JSON400 *Status
JSON401 *Status
JSON403 *Status
JSON404 *Status
JSON429 *Status
JSON503 *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 GetImagePromotionResponse ¶ added in v1.2.0
type GetImagePromotionResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ImagePromotion
JSON400 *Status
JSON401 *Status
JSON403 *Status
JSON404 *Status
JSON429 *Status
JSON503 *Status
}
func ParseGetImagePromotionResponse ¶ added in v1.2.0
func ParseGetImagePromotionResponse(rsp *http.Response) (*GetImagePromotionResponse, error)
ParseGetImagePromotionResponse parses an HTTP response from a GetImagePromotionWithResponse call
func (GetImagePromotionResponse) Status ¶ added in v1.2.0
func (r GetImagePromotionResponse) Status() string
Status returns HTTPResponse.Status
func (GetImagePromotionResponse) StatusCode ¶ added in v1.2.0
func (r GetImagePromotionResponse) 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 *Status
JSON401 *Status
JSON403 *Status
JSON429 *Status
JSON503 *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 *Status
JSON401 *Status
JSON403 *Status
JSON429 *Status
JSON503 *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
type ListImagePromotionsResponse ¶ added in v1.2.0
type ListImagePromotionsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ImagePromotionList
JSON400 *Status
JSON401 *Status
JSON403 *Status
JSON429 *Status
JSON503 *Status
}
func ParseListImagePromotionsResponse ¶ added in v1.2.0
func ParseListImagePromotionsResponse(rsp *http.Response) (*ListImagePromotionsResponse, error)
ParseListImagePromotionsResponse parses an HTTP response from a ListImagePromotionsWithResponse call
func (ListImagePromotionsResponse) Status ¶ added in v1.2.0
func (r ListImagePromotionsResponse) Status() string
Status returns HTTPResponse.Status
func (ListImagePromotionsResponse) StatusCode ¶ added in v1.2.0
func (r ListImagePromotionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PatchImagePromotionResponse ¶ added in v1.2.0
type PatchImagePromotionResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ImagePromotion
JSON400 *Status
JSON401 *Status
JSON403 *Status
JSON404 *Status
JSON409 *Status
JSON429 *Status
JSON503 *Status
}
func ParsePatchImagePromotionResponse ¶ added in v1.2.0
func ParsePatchImagePromotionResponse(rsp *http.Response) (*PatchImagePromotionResponse, error)
ParsePatchImagePromotionResponse parses an HTTP response from a PatchImagePromotionWithResponse call
func (PatchImagePromotionResponse) Status ¶ added in v1.2.0
func (r PatchImagePromotionResponse) Status() string
Status returns HTTPResponse.Status
func (PatchImagePromotionResponse) StatusCode ¶ added in v1.2.0
func (r PatchImagePromotionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ReplaceImagePromotionResponse ¶ added in v1.2.0
type ReplaceImagePromotionResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ImagePromotion
JSON201 *ImagePromotion
JSON400 *Status
JSON401 *Status
JSON403 *Status
JSON404 *Status
JSON409 *Status
JSON429 *Status
JSON503 *Status
}
func ParseReplaceImagePromotionResponse ¶ added in v1.2.0
func ParseReplaceImagePromotionResponse(rsp *http.Response) (*ReplaceImagePromotionResponse, error)
ParseReplaceImagePromotionResponse parses an HTTP response from a ReplaceImagePromotionWithResponse call
func (ReplaceImagePromotionResponse) Status ¶ added in v1.2.0
func (r ReplaceImagePromotionResponse) Status() string
Status returns HTTPResponse.Status
func (ReplaceImagePromotionResponse) StatusCode ¶ added in v1.2.0
func (r ReplaceImagePromotionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode