Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateImage(params *CreateImageParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateImageCreated, error)
- func (a *Client) DeleteImage(params *DeleteImageParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteImageOK, error)
- func (a *Client) FindImage(params *FindImageParams, authInfo runtime.ClientAuthInfoWriter, ...) (*FindImageOK, error)
- func (a *Client) FindLatestImage(params *FindLatestImageParams, authInfo runtime.ClientAuthInfoWriter, ...) (*FindLatestImageOK, error)
- func (a *Client) ListImages(params *ListImagesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListImagesOK, error)
- func (a *Client) QueryImagesByID(params *QueryImagesByIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*QueryImagesByIDOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateImage(params *UpdateImageParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateImageOK, error)
- type ClientOption
- type ClientService
- type CreateImageConflict
- func (o *CreateImageConflict) Error() string
- func (o *CreateImageConflict) GetPayload() *httperrors.HTTPErrorResponse
- func (o *CreateImageConflict) IsClientError() bool
- func (o *CreateImageConflict) IsCode(code int) bool
- func (o *CreateImageConflict) IsRedirect() bool
- func (o *CreateImageConflict) IsServerError() bool
- func (o *CreateImageConflict) IsSuccess() bool
- func (o *CreateImageConflict) String() string
- type CreateImageCreated
- func (o *CreateImageCreated) Error() string
- func (o *CreateImageCreated) GetPayload() *models.V1ImageResponse
- func (o *CreateImageCreated) IsClientError() bool
- func (o *CreateImageCreated) IsCode(code int) bool
- func (o *CreateImageCreated) IsRedirect() bool
- func (o *CreateImageCreated) IsServerError() bool
- func (o *CreateImageCreated) IsSuccess() bool
- func (o *CreateImageCreated) String() string
- type CreateImageDefault
- func (o *CreateImageDefault) Code() int
- func (o *CreateImageDefault) Error() string
- func (o *CreateImageDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *CreateImageDefault) IsClientError() bool
- func (o *CreateImageDefault) IsCode(code int) bool
- func (o *CreateImageDefault) IsRedirect() bool
- func (o *CreateImageDefault) IsServerError() bool
- func (o *CreateImageDefault) IsSuccess() bool
- func (o *CreateImageDefault) String() string
- type CreateImageParams
- func (o *CreateImageParams) SetBody(body *models.V1ImageCreateRequest)
- func (o *CreateImageParams) SetContext(ctx context.Context)
- func (o *CreateImageParams) SetDefaults()
- func (o *CreateImageParams) SetHTTPClient(client *http.Client)
- func (o *CreateImageParams) SetTimeout(timeout time.Duration)
- func (o *CreateImageParams) WithBody(body *models.V1ImageCreateRequest) *CreateImageParams
- func (o *CreateImageParams) WithContext(ctx context.Context) *CreateImageParams
- func (o *CreateImageParams) WithDefaults() *CreateImageParams
- func (o *CreateImageParams) WithHTTPClient(client *http.Client) *CreateImageParams
- func (o *CreateImageParams) WithTimeout(timeout time.Duration) *CreateImageParams
- func (o *CreateImageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateImageReader
- type DeleteImageDefault
- func (o *DeleteImageDefault) Code() int
- func (o *DeleteImageDefault) Error() string
- func (o *DeleteImageDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *DeleteImageDefault) IsClientError() bool
- func (o *DeleteImageDefault) IsCode(code int) bool
- func (o *DeleteImageDefault) IsRedirect() bool
- func (o *DeleteImageDefault) IsServerError() bool
- func (o *DeleteImageDefault) IsSuccess() bool
- func (o *DeleteImageDefault) String() string
- type DeleteImageOK
- func (o *DeleteImageOK) Error() string
- func (o *DeleteImageOK) GetPayload() *models.V1ImageResponse
- func (o *DeleteImageOK) IsClientError() bool
- func (o *DeleteImageOK) IsCode(code int) bool
- func (o *DeleteImageOK) IsRedirect() bool
- func (o *DeleteImageOK) IsServerError() bool
- func (o *DeleteImageOK) IsSuccess() bool
- func (o *DeleteImageOK) String() string
- type DeleteImageParams
- func (o *DeleteImageParams) SetContext(ctx context.Context)
- func (o *DeleteImageParams) SetDefaults()
- func (o *DeleteImageParams) SetHTTPClient(client *http.Client)
- func (o *DeleteImageParams) SetID(id string)
- func (o *DeleteImageParams) SetTimeout(timeout time.Duration)
- func (o *DeleteImageParams) WithContext(ctx context.Context) *DeleteImageParams
- func (o *DeleteImageParams) WithDefaults() *DeleteImageParams
- func (o *DeleteImageParams) WithHTTPClient(client *http.Client) *DeleteImageParams
- func (o *DeleteImageParams) WithID(id string) *DeleteImageParams
- func (o *DeleteImageParams) WithTimeout(timeout time.Duration) *DeleteImageParams
- func (o *DeleteImageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteImageReader
- type FindImageDefault
- func (o *FindImageDefault) Code() int
- func (o *FindImageDefault) Error() string
- func (o *FindImageDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *FindImageDefault) IsClientError() bool
- func (o *FindImageDefault) IsCode(code int) bool
- func (o *FindImageDefault) IsRedirect() bool
- func (o *FindImageDefault) IsServerError() bool
- func (o *FindImageDefault) IsSuccess() bool
- func (o *FindImageDefault) String() string
- type FindImageOK
- func (o *FindImageOK) Error() string
- func (o *FindImageOK) GetPayload() *models.V1ImageResponse
- func (o *FindImageOK) IsClientError() bool
- func (o *FindImageOK) IsCode(code int) bool
- func (o *FindImageOK) IsRedirect() bool
- func (o *FindImageOK) IsServerError() bool
- func (o *FindImageOK) IsSuccess() bool
- func (o *FindImageOK) String() string
- type FindImageParams
- func (o *FindImageParams) SetContext(ctx context.Context)
- func (o *FindImageParams) SetDefaults()
- func (o *FindImageParams) SetHTTPClient(client *http.Client)
- func (o *FindImageParams) SetID(id string)
- func (o *FindImageParams) SetTimeout(timeout time.Duration)
- func (o *FindImageParams) WithContext(ctx context.Context) *FindImageParams
- func (o *FindImageParams) WithDefaults() *FindImageParams
- func (o *FindImageParams) WithHTTPClient(client *http.Client) *FindImageParams
- func (o *FindImageParams) WithID(id string) *FindImageParams
- func (o *FindImageParams) WithTimeout(timeout time.Duration) *FindImageParams
- func (o *FindImageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FindImageReader
- type FindLatestImageDefault
- func (o *FindLatestImageDefault) Code() int
- func (o *FindLatestImageDefault) Error() string
- func (o *FindLatestImageDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *FindLatestImageDefault) IsClientError() bool
- func (o *FindLatestImageDefault) IsCode(code int) bool
- func (o *FindLatestImageDefault) IsRedirect() bool
- func (o *FindLatestImageDefault) IsServerError() bool
- func (o *FindLatestImageDefault) IsSuccess() bool
- func (o *FindLatestImageDefault) String() string
- type FindLatestImageOK
- func (o *FindLatestImageOK) Error() string
- func (o *FindLatestImageOK) GetPayload() *models.V1ImageResponse
- func (o *FindLatestImageOK) IsClientError() bool
- func (o *FindLatestImageOK) IsCode(code int) bool
- func (o *FindLatestImageOK) IsRedirect() bool
- func (o *FindLatestImageOK) IsServerError() bool
- func (o *FindLatestImageOK) IsSuccess() bool
- func (o *FindLatestImageOK) String() string
- type FindLatestImageParams
- func NewFindLatestImageParams() *FindLatestImageParams
- func NewFindLatestImageParamsWithContext(ctx context.Context) *FindLatestImageParams
- func NewFindLatestImageParamsWithHTTPClient(client *http.Client) *FindLatestImageParams
- func NewFindLatestImageParamsWithTimeout(timeout time.Duration) *FindLatestImageParams
- func (o *FindLatestImageParams) SetContext(ctx context.Context)
- func (o *FindLatestImageParams) SetDefaults()
- func (o *FindLatestImageParams) SetHTTPClient(client *http.Client)
- func (o *FindLatestImageParams) SetID(id string)
- func (o *FindLatestImageParams) SetTimeout(timeout time.Duration)
- func (o *FindLatestImageParams) WithContext(ctx context.Context) *FindLatestImageParams
- func (o *FindLatestImageParams) WithDefaults() *FindLatestImageParams
- func (o *FindLatestImageParams) WithHTTPClient(client *http.Client) *FindLatestImageParams
- func (o *FindLatestImageParams) WithID(id string) *FindLatestImageParams
- func (o *FindLatestImageParams) WithTimeout(timeout time.Duration) *FindLatestImageParams
- func (o *FindLatestImageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type FindLatestImageReader
- type ListImagesDefault
- func (o *ListImagesDefault) Code() int
- func (o *ListImagesDefault) Error() string
- func (o *ListImagesDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *ListImagesDefault) IsClientError() bool
- func (o *ListImagesDefault) IsCode(code int) bool
- func (o *ListImagesDefault) IsRedirect() bool
- func (o *ListImagesDefault) IsServerError() bool
- func (o *ListImagesDefault) IsSuccess() bool
- func (o *ListImagesDefault) String() string
- type ListImagesOK
- func (o *ListImagesOK) Error() string
- func (o *ListImagesOK) GetPayload() []*models.V1ImageResponse
- func (o *ListImagesOK) IsClientError() bool
- func (o *ListImagesOK) IsCode(code int) bool
- func (o *ListImagesOK) IsRedirect() bool
- func (o *ListImagesOK) IsServerError() bool
- func (o *ListImagesOK) IsSuccess() bool
- func (o *ListImagesOK) String() string
- type ListImagesParams
- func (o *ListImagesParams) SetContext(ctx context.Context)
- func (o *ListImagesParams) SetDefaults()
- func (o *ListImagesParams) SetHTTPClient(client *http.Client)
- func (o *ListImagesParams) SetShowUsage(showUsage *bool)
- func (o *ListImagesParams) SetTimeout(timeout time.Duration)
- func (o *ListImagesParams) WithContext(ctx context.Context) *ListImagesParams
- func (o *ListImagesParams) WithDefaults() *ListImagesParams
- func (o *ListImagesParams) WithHTTPClient(client *http.Client) *ListImagesParams
- func (o *ListImagesParams) WithShowUsage(showUsage *bool) *ListImagesParams
- func (o *ListImagesParams) WithTimeout(timeout time.Duration) *ListImagesParams
- func (o *ListImagesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListImagesReader
- type QueryImagesByIDDefault
- func (o *QueryImagesByIDDefault) Code() int
- func (o *QueryImagesByIDDefault) Error() string
- func (o *QueryImagesByIDDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *QueryImagesByIDDefault) IsClientError() bool
- func (o *QueryImagesByIDDefault) IsCode(code int) bool
- func (o *QueryImagesByIDDefault) IsRedirect() bool
- func (o *QueryImagesByIDDefault) IsServerError() bool
- func (o *QueryImagesByIDDefault) IsSuccess() bool
- func (o *QueryImagesByIDDefault) String() string
- type QueryImagesByIDOK
- func (o *QueryImagesByIDOK) Error() string
- func (o *QueryImagesByIDOK) GetPayload() []*models.V1ImageResponse
- func (o *QueryImagesByIDOK) IsClientError() bool
- func (o *QueryImagesByIDOK) IsCode(code int) bool
- func (o *QueryImagesByIDOK) IsRedirect() bool
- func (o *QueryImagesByIDOK) IsServerError() bool
- func (o *QueryImagesByIDOK) IsSuccess() bool
- func (o *QueryImagesByIDOK) String() string
- type QueryImagesByIDParams
- func NewQueryImagesByIDParams() *QueryImagesByIDParams
- func NewQueryImagesByIDParamsWithContext(ctx context.Context) *QueryImagesByIDParams
- func NewQueryImagesByIDParamsWithHTTPClient(client *http.Client) *QueryImagesByIDParams
- func NewQueryImagesByIDParamsWithTimeout(timeout time.Duration) *QueryImagesByIDParams
- func (o *QueryImagesByIDParams) SetContext(ctx context.Context)
- func (o *QueryImagesByIDParams) SetDefaults()
- func (o *QueryImagesByIDParams) SetHTTPClient(client *http.Client)
- func (o *QueryImagesByIDParams) SetID(id string)
- func (o *QueryImagesByIDParams) SetTimeout(timeout time.Duration)
- func (o *QueryImagesByIDParams) WithContext(ctx context.Context) *QueryImagesByIDParams
- func (o *QueryImagesByIDParams) WithDefaults() *QueryImagesByIDParams
- func (o *QueryImagesByIDParams) WithHTTPClient(client *http.Client) *QueryImagesByIDParams
- func (o *QueryImagesByIDParams) WithID(id string) *QueryImagesByIDParams
- func (o *QueryImagesByIDParams) WithTimeout(timeout time.Duration) *QueryImagesByIDParams
- func (o *QueryImagesByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type QueryImagesByIDReader
- type UpdateImageConflict
- func (o *UpdateImageConflict) Error() string
- func (o *UpdateImageConflict) GetPayload() *httperrors.HTTPErrorResponse
- func (o *UpdateImageConflict) IsClientError() bool
- func (o *UpdateImageConflict) IsCode(code int) bool
- func (o *UpdateImageConflict) IsRedirect() bool
- func (o *UpdateImageConflict) IsServerError() bool
- func (o *UpdateImageConflict) IsSuccess() bool
- func (o *UpdateImageConflict) String() string
- type UpdateImageDefault
- func (o *UpdateImageDefault) Code() int
- func (o *UpdateImageDefault) Error() string
- func (o *UpdateImageDefault) GetPayload() *httperrors.HTTPErrorResponse
- func (o *UpdateImageDefault) IsClientError() bool
- func (o *UpdateImageDefault) IsCode(code int) bool
- func (o *UpdateImageDefault) IsRedirect() bool
- func (o *UpdateImageDefault) IsServerError() bool
- func (o *UpdateImageDefault) IsSuccess() bool
- func (o *UpdateImageDefault) String() string
- type UpdateImageOK
- func (o *UpdateImageOK) Error() string
- func (o *UpdateImageOK) GetPayload() *models.V1ImageResponse
- func (o *UpdateImageOK) IsClientError() bool
- func (o *UpdateImageOK) IsCode(code int) bool
- func (o *UpdateImageOK) IsRedirect() bool
- func (o *UpdateImageOK) IsServerError() bool
- func (o *UpdateImageOK) IsSuccess() bool
- func (o *UpdateImageOK) String() string
- type UpdateImageParams
- func (o *UpdateImageParams) SetBody(body *models.V1ImageUpdateRequest)
- func (o *UpdateImageParams) SetContext(ctx context.Context)
- func (o *UpdateImageParams) SetDefaults()
- func (o *UpdateImageParams) SetHTTPClient(client *http.Client)
- func (o *UpdateImageParams) SetTimeout(timeout time.Duration)
- func (o *UpdateImageParams) WithBody(body *models.V1ImageUpdateRequest) *UpdateImageParams
- func (o *UpdateImageParams) WithContext(ctx context.Context) *UpdateImageParams
- func (o *UpdateImageParams) WithDefaults() *UpdateImageParams
- func (o *UpdateImageParams) WithHTTPClient(client *http.Client) *UpdateImageParams
- func (o *UpdateImageParams) WithTimeout(timeout time.Duration) *UpdateImageParams
- func (o *UpdateImageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateImageReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for image API
func (*Client) CreateImage ¶
func (a *Client) CreateImage(params *CreateImageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateImageCreated, error)
CreateImage creates an image if the given ID already exists a conflict is returned
func (*Client) DeleteImage ¶
func (a *Client) DeleteImage(params *DeleteImageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteImageOK, error)
DeleteImage deletes an image and returns the deleted entity
func (*Client) FindImage ¶
func (a *Client) FindImage(params *FindImageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FindImageOK, error)
FindImage gets image by id
func (*Client) FindLatestImage ¶ added in v0.7.5
func (a *Client) FindLatestImage(params *FindLatestImageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FindLatestImageOK, error)
FindLatestImage finds latest image by id
func (*Client) ListImages ¶
func (a *Client) ListImages(params *ListImagesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListImagesOK, error)
ListImages gets all images
func (*Client) QueryImagesByID ¶ added in v0.15.3
func (a *Client) QueryImagesByID(params *QueryImagesByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*QueryImagesByIDOK, error)
QueryImagesByID queries all images which match at least id
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateImage ¶
func (a *Client) UpdateImage(params *UpdateImageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateImageOK, error)
UpdateImage updates an image if the image was changed since this one was read a conflict is returned
type ClientOption ¶ added in v0.13.1
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶ added in v0.11.0
type ClientService interface { CreateImage(params *CreateImageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateImageCreated, error) DeleteImage(params *DeleteImageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteImageOK, error) FindImage(params *FindImageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FindImageOK, error) FindLatestImage(params *FindLatestImageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FindLatestImageOK, error) ListImages(params *ListImagesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListImagesOK, error) QueryImagesByID(params *QueryImagesByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*QueryImagesByIDOK, error) UpdateImage(params *UpdateImageParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateImageOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new image API client.
type CreateImageConflict ¶
type CreateImageConflict struct {
Payload *httperrors.HTTPErrorResponse
}
CreateImageConflict describes a response with status code 409, with default header values.
Conflict
func NewCreateImageConflict ¶
func NewCreateImageConflict() *CreateImageConflict
NewCreateImageConflict creates a CreateImageConflict with default headers values
func (*CreateImageConflict) Error ¶
func (o *CreateImageConflict) Error() string
func (*CreateImageConflict) GetPayload ¶ added in v0.11.0
func (o *CreateImageConflict) GetPayload() *httperrors.HTTPErrorResponse
func (*CreateImageConflict) IsClientError ¶ added in v0.19.3
func (o *CreateImageConflict) IsClientError() bool
IsClientError returns true when this create image conflict response has a 4xx status code
func (*CreateImageConflict) IsCode ¶ added in v0.19.3
func (o *CreateImageConflict) IsCode(code int) bool
IsCode returns true when this create image conflict response a status code equal to that given
func (*CreateImageConflict) IsRedirect ¶ added in v0.19.3
func (o *CreateImageConflict) IsRedirect() bool
IsRedirect returns true when this create image conflict response has a 3xx status code
func (*CreateImageConflict) IsServerError ¶ added in v0.19.3
func (o *CreateImageConflict) IsServerError() bool
IsServerError returns true when this create image conflict response has a 5xx status code
func (*CreateImageConflict) IsSuccess ¶ added in v0.19.3
func (o *CreateImageConflict) IsSuccess() bool
IsSuccess returns true when this create image conflict response has a 2xx status code
func (*CreateImageConflict) String ¶ added in v0.19.3
func (o *CreateImageConflict) String() string
type CreateImageCreated ¶
type CreateImageCreated struct {
Payload *models.V1ImageResponse
}
CreateImageCreated describes a response with status code 201, with default header values.
Created
func NewCreateImageCreated ¶
func NewCreateImageCreated() *CreateImageCreated
NewCreateImageCreated creates a CreateImageCreated with default headers values
func (*CreateImageCreated) Error ¶
func (o *CreateImageCreated) Error() string
func (*CreateImageCreated) GetPayload ¶ added in v0.11.0
func (o *CreateImageCreated) GetPayload() *models.V1ImageResponse
func (*CreateImageCreated) IsClientError ¶ added in v0.19.3
func (o *CreateImageCreated) IsClientError() bool
IsClientError returns true when this create image created response has a 4xx status code
func (*CreateImageCreated) IsCode ¶ added in v0.19.3
func (o *CreateImageCreated) IsCode(code int) bool
IsCode returns true when this create image created response a status code equal to that given
func (*CreateImageCreated) IsRedirect ¶ added in v0.19.3
func (o *CreateImageCreated) IsRedirect() bool
IsRedirect returns true when this create image created response has a 3xx status code
func (*CreateImageCreated) IsServerError ¶ added in v0.19.3
func (o *CreateImageCreated) IsServerError() bool
IsServerError returns true when this create image created response has a 5xx status code
func (*CreateImageCreated) IsSuccess ¶ added in v0.19.3
func (o *CreateImageCreated) IsSuccess() bool
IsSuccess returns true when this create image created response has a 2xx status code
func (*CreateImageCreated) String ¶ added in v0.19.3
func (o *CreateImageCreated) String() string
type CreateImageDefault ¶
type CreateImageDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
CreateImageDefault describes a response with status code -1, with default header values.
Error
func NewCreateImageDefault ¶
func NewCreateImageDefault(code int) *CreateImageDefault
NewCreateImageDefault creates a CreateImageDefault with default headers values
func (*CreateImageDefault) Code ¶
func (o *CreateImageDefault) Code() int
Code gets the status code for the create image default response
func (*CreateImageDefault) Error ¶
func (o *CreateImageDefault) Error() string
func (*CreateImageDefault) GetPayload ¶ added in v0.11.0
func (o *CreateImageDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*CreateImageDefault) IsClientError ¶ added in v0.19.3
func (o *CreateImageDefault) IsClientError() bool
IsClientError returns true when this create image default response has a 4xx status code
func (*CreateImageDefault) IsCode ¶ added in v0.19.3
func (o *CreateImageDefault) IsCode(code int) bool
IsCode returns true when this create image default response a status code equal to that given
func (*CreateImageDefault) IsRedirect ¶ added in v0.19.3
func (o *CreateImageDefault) IsRedirect() bool
IsRedirect returns true when this create image default response has a 3xx status code
func (*CreateImageDefault) IsServerError ¶ added in v0.19.3
func (o *CreateImageDefault) IsServerError() bool
IsServerError returns true when this create image default response has a 5xx status code
func (*CreateImageDefault) IsSuccess ¶ added in v0.19.3
func (o *CreateImageDefault) IsSuccess() bool
IsSuccess returns true when this create image default response has a 2xx status code
func (*CreateImageDefault) String ¶ added in v0.19.3
func (o *CreateImageDefault) String() string
type CreateImageParams ¶
type CreateImageParams struct { // Body. Body *models.V1ImageCreateRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateImageParams contains all the parameters to send to the API endpoint
for the create image operation. Typically these are written to a http.Request.
func NewCreateImageParams ¶
func NewCreateImageParams() *CreateImageParams
NewCreateImageParams creates a new CreateImageParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateImageParamsWithContext ¶
func NewCreateImageParamsWithContext(ctx context.Context) *CreateImageParams
NewCreateImageParamsWithContext creates a new CreateImageParams object with the ability to set a context for a request.
func NewCreateImageParamsWithHTTPClient ¶
func NewCreateImageParamsWithHTTPClient(client *http.Client) *CreateImageParams
NewCreateImageParamsWithHTTPClient creates a new CreateImageParams object with the ability to set a custom HTTPClient for a request.
func NewCreateImageParamsWithTimeout ¶
func NewCreateImageParamsWithTimeout(timeout time.Duration) *CreateImageParams
NewCreateImageParamsWithTimeout creates a new CreateImageParams object with the ability to set a timeout on a request.
func (*CreateImageParams) SetBody ¶
func (o *CreateImageParams) SetBody(body *models.V1ImageCreateRequest)
SetBody adds the body to the create image params
func (*CreateImageParams) SetContext ¶
func (o *CreateImageParams) SetContext(ctx context.Context)
SetContext adds the context to the create image params
func (*CreateImageParams) SetDefaults ¶ added in v0.12.1
func (o *CreateImageParams) SetDefaults()
SetDefaults hydrates default values in the create image params (not the query body).
All values with no default are reset to their zero value.
func (*CreateImageParams) SetHTTPClient ¶
func (o *CreateImageParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create image params
func (*CreateImageParams) SetTimeout ¶
func (o *CreateImageParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create image params
func (*CreateImageParams) WithBody ¶
func (o *CreateImageParams) WithBody(body *models.V1ImageCreateRequest) *CreateImageParams
WithBody adds the body to the create image params
func (*CreateImageParams) WithContext ¶
func (o *CreateImageParams) WithContext(ctx context.Context) *CreateImageParams
WithContext adds the context to the create image params
func (*CreateImageParams) WithDefaults ¶ added in v0.12.1
func (o *CreateImageParams) WithDefaults() *CreateImageParams
WithDefaults hydrates default values in the create image params (not the query body).
All values with no default are reset to their zero value.
func (*CreateImageParams) WithHTTPClient ¶
func (o *CreateImageParams) WithHTTPClient(client *http.Client) *CreateImageParams
WithHTTPClient adds the HTTPClient to the create image params
func (*CreateImageParams) WithTimeout ¶
func (o *CreateImageParams) WithTimeout(timeout time.Duration) *CreateImageParams
WithTimeout adds the timeout to the create image params
func (*CreateImageParams) WriteToRequest ¶
func (o *CreateImageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateImageReader ¶
type CreateImageReader struct {
// contains filtered or unexported fields
}
CreateImageReader is a Reader for the CreateImage structure.
func (*CreateImageReader) ReadResponse ¶
func (o *CreateImageReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteImageDefault ¶
type DeleteImageDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
DeleteImageDefault describes a response with status code -1, with default header values.
Error
func NewDeleteImageDefault ¶
func NewDeleteImageDefault(code int) *DeleteImageDefault
NewDeleteImageDefault creates a DeleteImageDefault with default headers values
func (*DeleteImageDefault) Code ¶
func (o *DeleteImageDefault) Code() int
Code gets the status code for the delete image default response
func (*DeleteImageDefault) Error ¶
func (o *DeleteImageDefault) Error() string
func (*DeleteImageDefault) GetPayload ¶ added in v0.11.0
func (o *DeleteImageDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*DeleteImageDefault) IsClientError ¶ added in v0.19.3
func (o *DeleteImageDefault) IsClientError() bool
IsClientError returns true when this delete image default response has a 4xx status code
func (*DeleteImageDefault) IsCode ¶ added in v0.19.3
func (o *DeleteImageDefault) IsCode(code int) bool
IsCode returns true when this delete image default response a status code equal to that given
func (*DeleteImageDefault) IsRedirect ¶ added in v0.19.3
func (o *DeleteImageDefault) IsRedirect() bool
IsRedirect returns true when this delete image default response has a 3xx status code
func (*DeleteImageDefault) IsServerError ¶ added in v0.19.3
func (o *DeleteImageDefault) IsServerError() bool
IsServerError returns true when this delete image default response has a 5xx status code
func (*DeleteImageDefault) IsSuccess ¶ added in v0.19.3
func (o *DeleteImageDefault) IsSuccess() bool
IsSuccess returns true when this delete image default response has a 2xx status code
func (*DeleteImageDefault) String ¶ added in v0.19.3
func (o *DeleteImageDefault) String() string
type DeleteImageOK ¶
type DeleteImageOK struct {
Payload *models.V1ImageResponse
}
DeleteImageOK describes a response with status code 200, with default header values.
OK
func NewDeleteImageOK ¶
func NewDeleteImageOK() *DeleteImageOK
NewDeleteImageOK creates a DeleteImageOK with default headers values
func (*DeleteImageOK) Error ¶
func (o *DeleteImageOK) Error() string
func (*DeleteImageOK) GetPayload ¶ added in v0.11.0
func (o *DeleteImageOK) GetPayload() *models.V1ImageResponse
func (*DeleteImageOK) IsClientError ¶ added in v0.19.3
func (o *DeleteImageOK) IsClientError() bool
IsClientError returns true when this delete image o k response has a 4xx status code
func (*DeleteImageOK) IsCode ¶ added in v0.19.3
func (o *DeleteImageOK) IsCode(code int) bool
IsCode returns true when this delete image o k response a status code equal to that given
func (*DeleteImageOK) IsRedirect ¶ added in v0.19.3
func (o *DeleteImageOK) IsRedirect() bool
IsRedirect returns true when this delete image o k response has a 3xx status code
func (*DeleteImageOK) IsServerError ¶ added in v0.19.3
func (o *DeleteImageOK) IsServerError() bool
IsServerError returns true when this delete image o k response has a 5xx status code
func (*DeleteImageOK) IsSuccess ¶ added in v0.19.3
func (o *DeleteImageOK) IsSuccess() bool
IsSuccess returns true when this delete image o k response has a 2xx status code
func (*DeleteImageOK) String ¶ added in v0.19.3
func (o *DeleteImageOK) String() string
type DeleteImageParams ¶
type DeleteImageParams struct { /* ID. identifier of the image */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteImageParams contains all the parameters to send to the API endpoint
for the delete image operation. Typically these are written to a http.Request.
func NewDeleteImageParams ¶
func NewDeleteImageParams() *DeleteImageParams
NewDeleteImageParams creates a new DeleteImageParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteImageParamsWithContext ¶
func NewDeleteImageParamsWithContext(ctx context.Context) *DeleteImageParams
NewDeleteImageParamsWithContext creates a new DeleteImageParams object with the ability to set a context for a request.
func NewDeleteImageParamsWithHTTPClient ¶
func NewDeleteImageParamsWithHTTPClient(client *http.Client) *DeleteImageParams
NewDeleteImageParamsWithHTTPClient creates a new DeleteImageParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteImageParamsWithTimeout ¶
func NewDeleteImageParamsWithTimeout(timeout time.Duration) *DeleteImageParams
NewDeleteImageParamsWithTimeout creates a new DeleteImageParams object with the ability to set a timeout on a request.
func (*DeleteImageParams) SetContext ¶
func (o *DeleteImageParams) SetContext(ctx context.Context)
SetContext adds the context to the delete image params
func (*DeleteImageParams) SetDefaults ¶ added in v0.12.1
func (o *DeleteImageParams) SetDefaults()
SetDefaults hydrates default values in the delete image params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteImageParams) SetHTTPClient ¶
func (o *DeleteImageParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete image params
func (*DeleteImageParams) SetID ¶
func (o *DeleteImageParams) SetID(id string)
SetID adds the id to the delete image params
func (*DeleteImageParams) SetTimeout ¶
func (o *DeleteImageParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete image params
func (*DeleteImageParams) WithContext ¶
func (o *DeleteImageParams) WithContext(ctx context.Context) *DeleteImageParams
WithContext adds the context to the delete image params
func (*DeleteImageParams) WithDefaults ¶ added in v0.12.1
func (o *DeleteImageParams) WithDefaults() *DeleteImageParams
WithDefaults hydrates default values in the delete image params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteImageParams) WithHTTPClient ¶
func (o *DeleteImageParams) WithHTTPClient(client *http.Client) *DeleteImageParams
WithHTTPClient adds the HTTPClient to the delete image params
func (*DeleteImageParams) WithID ¶
func (o *DeleteImageParams) WithID(id string) *DeleteImageParams
WithID adds the id to the delete image params
func (*DeleteImageParams) WithTimeout ¶
func (o *DeleteImageParams) WithTimeout(timeout time.Duration) *DeleteImageParams
WithTimeout adds the timeout to the delete image params
func (*DeleteImageParams) WriteToRequest ¶
func (o *DeleteImageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteImageReader ¶
type DeleteImageReader struct {
// contains filtered or unexported fields
}
DeleteImageReader is a Reader for the DeleteImage structure.
func (*DeleteImageReader) ReadResponse ¶
func (o *DeleteImageReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type FindImageDefault ¶
type FindImageDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
FindImageDefault describes a response with status code -1, with default header values.
Error
func NewFindImageDefault ¶
func NewFindImageDefault(code int) *FindImageDefault
NewFindImageDefault creates a FindImageDefault with default headers values
func (*FindImageDefault) Code ¶
func (o *FindImageDefault) Code() int
Code gets the status code for the find image default response
func (*FindImageDefault) Error ¶
func (o *FindImageDefault) Error() string
func (*FindImageDefault) GetPayload ¶ added in v0.11.0
func (o *FindImageDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*FindImageDefault) IsClientError ¶ added in v0.19.3
func (o *FindImageDefault) IsClientError() bool
IsClientError returns true when this find image default response has a 4xx status code
func (*FindImageDefault) IsCode ¶ added in v0.19.3
func (o *FindImageDefault) IsCode(code int) bool
IsCode returns true when this find image default response a status code equal to that given
func (*FindImageDefault) IsRedirect ¶ added in v0.19.3
func (o *FindImageDefault) IsRedirect() bool
IsRedirect returns true when this find image default response has a 3xx status code
func (*FindImageDefault) IsServerError ¶ added in v0.19.3
func (o *FindImageDefault) IsServerError() bool
IsServerError returns true when this find image default response has a 5xx status code
func (*FindImageDefault) IsSuccess ¶ added in v0.19.3
func (o *FindImageDefault) IsSuccess() bool
IsSuccess returns true when this find image default response has a 2xx status code
func (*FindImageDefault) String ¶ added in v0.19.3
func (o *FindImageDefault) String() string
type FindImageOK ¶
type FindImageOK struct {
Payload *models.V1ImageResponse
}
FindImageOK describes a response with status code 200, with default header values.
OK
func NewFindImageOK ¶
func NewFindImageOK() *FindImageOK
NewFindImageOK creates a FindImageOK with default headers values
func (*FindImageOK) Error ¶
func (o *FindImageOK) Error() string
func (*FindImageOK) GetPayload ¶ added in v0.11.0
func (o *FindImageOK) GetPayload() *models.V1ImageResponse
func (*FindImageOK) IsClientError ¶ added in v0.19.3
func (o *FindImageOK) IsClientError() bool
IsClientError returns true when this find image o k response has a 4xx status code
func (*FindImageOK) IsCode ¶ added in v0.19.3
func (o *FindImageOK) IsCode(code int) bool
IsCode returns true when this find image o k response a status code equal to that given
func (*FindImageOK) IsRedirect ¶ added in v0.19.3
func (o *FindImageOK) IsRedirect() bool
IsRedirect returns true when this find image o k response has a 3xx status code
func (*FindImageOK) IsServerError ¶ added in v0.19.3
func (o *FindImageOK) IsServerError() bool
IsServerError returns true when this find image o k response has a 5xx status code
func (*FindImageOK) IsSuccess ¶ added in v0.19.3
func (o *FindImageOK) IsSuccess() bool
IsSuccess returns true when this find image o k response has a 2xx status code
func (*FindImageOK) String ¶ added in v0.19.3
func (o *FindImageOK) String() string
type FindImageParams ¶
type FindImageParams struct { /* ID. identifier of the image */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
FindImageParams contains all the parameters to send to the API endpoint
for the find image operation. Typically these are written to a http.Request.
func NewFindImageParams ¶
func NewFindImageParams() *FindImageParams
NewFindImageParams creates a new FindImageParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewFindImageParamsWithContext ¶
func NewFindImageParamsWithContext(ctx context.Context) *FindImageParams
NewFindImageParamsWithContext creates a new FindImageParams object with the ability to set a context for a request.
func NewFindImageParamsWithHTTPClient ¶
func NewFindImageParamsWithHTTPClient(client *http.Client) *FindImageParams
NewFindImageParamsWithHTTPClient creates a new FindImageParams object with the ability to set a custom HTTPClient for a request.
func NewFindImageParamsWithTimeout ¶
func NewFindImageParamsWithTimeout(timeout time.Duration) *FindImageParams
NewFindImageParamsWithTimeout creates a new FindImageParams object with the ability to set a timeout on a request.
func (*FindImageParams) SetContext ¶
func (o *FindImageParams) SetContext(ctx context.Context)
SetContext adds the context to the find image params
func (*FindImageParams) SetDefaults ¶ added in v0.12.1
func (o *FindImageParams) SetDefaults()
SetDefaults hydrates default values in the find image params (not the query body).
All values with no default are reset to their zero value.
func (*FindImageParams) SetHTTPClient ¶
func (o *FindImageParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the find image params
func (*FindImageParams) SetID ¶
func (o *FindImageParams) SetID(id string)
SetID adds the id to the find image params
func (*FindImageParams) SetTimeout ¶
func (o *FindImageParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the find image params
func (*FindImageParams) WithContext ¶
func (o *FindImageParams) WithContext(ctx context.Context) *FindImageParams
WithContext adds the context to the find image params
func (*FindImageParams) WithDefaults ¶ added in v0.12.1
func (o *FindImageParams) WithDefaults() *FindImageParams
WithDefaults hydrates default values in the find image params (not the query body).
All values with no default are reset to their zero value.
func (*FindImageParams) WithHTTPClient ¶
func (o *FindImageParams) WithHTTPClient(client *http.Client) *FindImageParams
WithHTTPClient adds the HTTPClient to the find image params
func (*FindImageParams) WithID ¶
func (o *FindImageParams) WithID(id string) *FindImageParams
WithID adds the id to the find image params
func (*FindImageParams) WithTimeout ¶
func (o *FindImageParams) WithTimeout(timeout time.Duration) *FindImageParams
WithTimeout adds the timeout to the find image params
func (*FindImageParams) WriteToRequest ¶
func (o *FindImageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type FindImageReader ¶
type FindImageReader struct {
// contains filtered or unexported fields
}
FindImageReader is a Reader for the FindImage structure.
func (*FindImageReader) ReadResponse ¶
func (o *FindImageReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type FindLatestImageDefault ¶ added in v0.7.5
type FindLatestImageDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
FindLatestImageDefault describes a response with status code -1, with default header values.
Error
func NewFindLatestImageDefault ¶ added in v0.7.5
func NewFindLatestImageDefault(code int) *FindLatestImageDefault
NewFindLatestImageDefault creates a FindLatestImageDefault with default headers values
func (*FindLatestImageDefault) Code ¶ added in v0.7.5
func (o *FindLatestImageDefault) Code() int
Code gets the status code for the find latest image default response
func (*FindLatestImageDefault) Error ¶ added in v0.7.5
func (o *FindLatestImageDefault) Error() string
func (*FindLatestImageDefault) GetPayload ¶ added in v0.11.0
func (o *FindLatestImageDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*FindLatestImageDefault) IsClientError ¶ added in v0.19.3
func (o *FindLatestImageDefault) IsClientError() bool
IsClientError returns true when this find latest image default response has a 4xx status code
func (*FindLatestImageDefault) IsCode ¶ added in v0.19.3
func (o *FindLatestImageDefault) IsCode(code int) bool
IsCode returns true when this find latest image default response a status code equal to that given
func (*FindLatestImageDefault) IsRedirect ¶ added in v0.19.3
func (o *FindLatestImageDefault) IsRedirect() bool
IsRedirect returns true when this find latest image default response has a 3xx status code
func (*FindLatestImageDefault) IsServerError ¶ added in v0.19.3
func (o *FindLatestImageDefault) IsServerError() bool
IsServerError returns true when this find latest image default response has a 5xx status code
func (*FindLatestImageDefault) IsSuccess ¶ added in v0.19.3
func (o *FindLatestImageDefault) IsSuccess() bool
IsSuccess returns true when this find latest image default response has a 2xx status code
func (*FindLatestImageDefault) String ¶ added in v0.19.3
func (o *FindLatestImageDefault) String() string
type FindLatestImageOK ¶ added in v0.7.5
type FindLatestImageOK struct {
Payload *models.V1ImageResponse
}
FindLatestImageOK describes a response with status code 200, with default header values.
OK
func NewFindLatestImageOK ¶ added in v0.7.5
func NewFindLatestImageOK() *FindLatestImageOK
NewFindLatestImageOK creates a FindLatestImageOK with default headers values
func (*FindLatestImageOK) Error ¶ added in v0.7.5
func (o *FindLatestImageOK) Error() string
func (*FindLatestImageOK) GetPayload ¶ added in v0.11.0
func (o *FindLatestImageOK) GetPayload() *models.V1ImageResponse
func (*FindLatestImageOK) IsClientError ¶ added in v0.19.3
func (o *FindLatestImageOK) IsClientError() bool
IsClientError returns true when this find latest image o k response has a 4xx status code
func (*FindLatestImageOK) IsCode ¶ added in v0.19.3
func (o *FindLatestImageOK) IsCode(code int) bool
IsCode returns true when this find latest image o k response a status code equal to that given
func (*FindLatestImageOK) IsRedirect ¶ added in v0.19.3
func (o *FindLatestImageOK) IsRedirect() bool
IsRedirect returns true when this find latest image o k response has a 3xx status code
func (*FindLatestImageOK) IsServerError ¶ added in v0.19.3
func (o *FindLatestImageOK) IsServerError() bool
IsServerError returns true when this find latest image o k response has a 5xx status code
func (*FindLatestImageOK) IsSuccess ¶ added in v0.19.3
func (o *FindLatestImageOK) IsSuccess() bool
IsSuccess returns true when this find latest image o k response has a 2xx status code
func (*FindLatestImageOK) String ¶ added in v0.19.3
func (o *FindLatestImageOK) String() string
type FindLatestImageParams ¶ added in v0.7.5
type FindLatestImageParams struct { /* ID. identifier of the image */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
FindLatestImageParams contains all the parameters to send to the API endpoint
for the find latest image operation. Typically these are written to a http.Request.
func NewFindLatestImageParams ¶ added in v0.7.5
func NewFindLatestImageParams() *FindLatestImageParams
NewFindLatestImageParams creates a new FindLatestImageParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewFindLatestImageParamsWithContext ¶ added in v0.7.5
func NewFindLatestImageParamsWithContext(ctx context.Context) *FindLatestImageParams
NewFindLatestImageParamsWithContext creates a new FindLatestImageParams object with the ability to set a context for a request.
func NewFindLatestImageParamsWithHTTPClient ¶ added in v0.7.5
func NewFindLatestImageParamsWithHTTPClient(client *http.Client) *FindLatestImageParams
NewFindLatestImageParamsWithHTTPClient creates a new FindLatestImageParams object with the ability to set a custom HTTPClient for a request.
func NewFindLatestImageParamsWithTimeout ¶ added in v0.7.5
func NewFindLatestImageParamsWithTimeout(timeout time.Duration) *FindLatestImageParams
NewFindLatestImageParamsWithTimeout creates a new FindLatestImageParams object with the ability to set a timeout on a request.
func (*FindLatestImageParams) SetContext ¶ added in v0.7.5
func (o *FindLatestImageParams) SetContext(ctx context.Context)
SetContext adds the context to the find latest image params
func (*FindLatestImageParams) SetDefaults ¶ added in v0.12.1
func (o *FindLatestImageParams) SetDefaults()
SetDefaults hydrates default values in the find latest image params (not the query body).
All values with no default are reset to their zero value.
func (*FindLatestImageParams) SetHTTPClient ¶ added in v0.7.5
func (o *FindLatestImageParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the find latest image params
func (*FindLatestImageParams) SetID ¶ added in v0.7.5
func (o *FindLatestImageParams) SetID(id string)
SetID adds the id to the find latest image params
func (*FindLatestImageParams) SetTimeout ¶ added in v0.7.5
func (o *FindLatestImageParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the find latest image params
func (*FindLatestImageParams) WithContext ¶ added in v0.7.5
func (o *FindLatestImageParams) WithContext(ctx context.Context) *FindLatestImageParams
WithContext adds the context to the find latest image params
func (*FindLatestImageParams) WithDefaults ¶ added in v0.12.1
func (o *FindLatestImageParams) WithDefaults() *FindLatestImageParams
WithDefaults hydrates default values in the find latest image params (not the query body).
All values with no default are reset to their zero value.
func (*FindLatestImageParams) WithHTTPClient ¶ added in v0.7.5
func (o *FindLatestImageParams) WithHTTPClient(client *http.Client) *FindLatestImageParams
WithHTTPClient adds the HTTPClient to the find latest image params
func (*FindLatestImageParams) WithID ¶ added in v0.7.5
func (o *FindLatestImageParams) WithID(id string) *FindLatestImageParams
WithID adds the id to the find latest image params
func (*FindLatestImageParams) WithTimeout ¶ added in v0.7.5
func (o *FindLatestImageParams) WithTimeout(timeout time.Duration) *FindLatestImageParams
WithTimeout adds the timeout to the find latest image params
func (*FindLatestImageParams) WriteToRequest ¶ added in v0.7.5
func (o *FindLatestImageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type FindLatestImageReader ¶ added in v0.7.5
type FindLatestImageReader struct {
// contains filtered or unexported fields
}
FindLatestImageReader is a Reader for the FindLatestImage structure.
func (*FindLatestImageReader) ReadResponse ¶ added in v0.7.5
func (o *FindLatestImageReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListImagesDefault ¶
type ListImagesDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
ListImagesDefault describes a response with status code -1, with default header values.
Error
func NewListImagesDefault ¶
func NewListImagesDefault(code int) *ListImagesDefault
NewListImagesDefault creates a ListImagesDefault with default headers values
func (*ListImagesDefault) Code ¶
func (o *ListImagesDefault) Code() int
Code gets the status code for the list images default response
func (*ListImagesDefault) Error ¶
func (o *ListImagesDefault) Error() string
func (*ListImagesDefault) GetPayload ¶ added in v0.11.0
func (o *ListImagesDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*ListImagesDefault) IsClientError ¶ added in v0.19.3
func (o *ListImagesDefault) IsClientError() bool
IsClientError returns true when this list images default response has a 4xx status code
func (*ListImagesDefault) IsCode ¶ added in v0.19.3
func (o *ListImagesDefault) IsCode(code int) bool
IsCode returns true when this list images default response a status code equal to that given
func (*ListImagesDefault) IsRedirect ¶ added in v0.19.3
func (o *ListImagesDefault) IsRedirect() bool
IsRedirect returns true when this list images default response has a 3xx status code
func (*ListImagesDefault) IsServerError ¶ added in v0.19.3
func (o *ListImagesDefault) IsServerError() bool
IsServerError returns true when this list images default response has a 5xx status code
func (*ListImagesDefault) IsSuccess ¶ added in v0.19.3
func (o *ListImagesDefault) IsSuccess() bool
IsSuccess returns true when this list images default response has a 2xx status code
func (*ListImagesDefault) String ¶ added in v0.19.3
func (o *ListImagesDefault) String() string
type ListImagesOK ¶
type ListImagesOK struct {
Payload []*models.V1ImageResponse
}
ListImagesOK describes a response with status code 200, with default header values.
OK
func NewListImagesOK ¶
func NewListImagesOK() *ListImagesOK
NewListImagesOK creates a ListImagesOK with default headers values
func (*ListImagesOK) Error ¶
func (o *ListImagesOK) Error() string
func (*ListImagesOK) GetPayload ¶ added in v0.11.0
func (o *ListImagesOK) GetPayload() []*models.V1ImageResponse
func (*ListImagesOK) IsClientError ¶ added in v0.19.3
func (o *ListImagesOK) IsClientError() bool
IsClientError returns true when this list images o k response has a 4xx status code
func (*ListImagesOK) IsCode ¶ added in v0.19.3
func (o *ListImagesOK) IsCode(code int) bool
IsCode returns true when this list images o k response a status code equal to that given
func (*ListImagesOK) IsRedirect ¶ added in v0.19.3
func (o *ListImagesOK) IsRedirect() bool
IsRedirect returns true when this list images o k response has a 3xx status code
func (*ListImagesOK) IsServerError ¶ added in v0.19.3
func (o *ListImagesOK) IsServerError() bool
IsServerError returns true when this list images o k response has a 5xx status code
func (*ListImagesOK) IsSuccess ¶ added in v0.19.3
func (o *ListImagesOK) IsSuccess() bool
IsSuccess returns true when this list images o k response has a 2xx status code
func (*ListImagesOK) String ¶ added in v0.19.3
func (o *ListImagesOK) String() string
type ListImagesParams ¶
type ListImagesParams struct { /* ShowUsage. include image usage into response */ ShowUsage *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListImagesParams contains all the parameters to send to the API endpoint
for the list images operation. Typically these are written to a http.Request.
func NewListImagesParams ¶
func NewListImagesParams() *ListImagesParams
NewListImagesParams creates a new ListImagesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListImagesParamsWithContext ¶
func NewListImagesParamsWithContext(ctx context.Context) *ListImagesParams
NewListImagesParamsWithContext creates a new ListImagesParams object with the ability to set a context for a request.
func NewListImagesParamsWithHTTPClient ¶
func NewListImagesParamsWithHTTPClient(client *http.Client) *ListImagesParams
NewListImagesParamsWithHTTPClient creates a new ListImagesParams object with the ability to set a custom HTTPClient for a request.
func NewListImagesParamsWithTimeout ¶
func NewListImagesParamsWithTimeout(timeout time.Duration) *ListImagesParams
NewListImagesParamsWithTimeout creates a new ListImagesParams object with the ability to set a timeout on a request.
func (*ListImagesParams) SetContext ¶
func (o *ListImagesParams) SetContext(ctx context.Context)
SetContext adds the context to the list images params
func (*ListImagesParams) SetDefaults ¶ added in v0.12.1
func (o *ListImagesParams) SetDefaults()
SetDefaults hydrates default values in the list images params (not the query body).
All values with no default are reset to their zero value.
func (*ListImagesParams) SetHTTPClient ¶
func (o *ListImagesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list images params
func (*ListImagesParams) SetShowUsage ¶ added in v0.16.1
func (o *ListImagesParams) SetShowUsage(showUsage *bool)
SetShowUsage adds the showUsage to the list images params
func (*ListImagesParams) SetTimeout ¶
func (o *ListImagesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list images params
func (*ListImagesParams) WithContext ¶
func (o *ListImagesParams) WithContext(ctx context.Context) *ListImagesParams
WithContext adds the context to the list images params
func (*ListImagesParams) WithDefaults ¶ added in v0.12.1
func (o *ListImagesParams) WithDefaults() *ListImagesParams
WithDefaults hydrates default values in the list images params (not the query body).
All values with no default are reset to their zero value.
func (*ListImagesParams) WithHTTPClient ¶
func (o *ListImagesParams) WithHTTPClient(client *http.Client) *ListImagesParams
WithHTTPClient adds the HTTPClient to the list images params
func (*ListImagesParams) WithShowUsage ¶ added in v0.16.1
func (o *ListImagesParams) WithShowUsage(showUsage *bool) *ListImagesParams
WithShowUsage adds the showUsage to the list images params
func (*ListImagesParams) WithTimeout ¶
func (o *ListImagesParams) WithTimeout(timeout time.Duration) *ListImagesParams
WithTimeout adds the timeout to the list images params
func (*ListImagesParams) WriteToRequest ¶
func (o *ListImagesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListImagesReader ¶
type ListImagesReader struct {
// contains filtered or unexported fields
}
ListImagesReader is a Reader for the ListImages structure.
func (*ListImagesReader) ReadResponse ¶
func (o *ListImagesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type QueryImagesByIDDefault ¶ added in v0.15.3
type QueryImagesByIDDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
QueryImagesByIDDefault describes a response with status code -1, with default header values.
Error
func NewQueryImagesByIDDefault ¶ added in v0.15.3
func NewQueryImagesByIDDefault(code int) *QueryImagesByIDDefault
NewQueryImagesByIDDefault creates a QueryImagesByIDDefault with default headers values
func (*QueryImagesByIDDefault) Code ¶ added in v0.15.3
func (o *QueryImagesByIDDefault) Code() int
Code gets the status code for the query images by id default response
func (*QueryImagesByIDDefault) Error ¶ added in v0.15.3
func (o *QueryImagesByIDDefault) Error() string
func (*QueryImagesByIDDefault) GetPayload ¶ added in v0.15.3
func (o *QueryImagesByIDDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*QueryImagesByIDDefault) IsClientError ¶ added in v0.19.3
func (o *QueryImagesByIDDefault) IsClientError() bool
IsClientError returns true when this query images by id default response has a 4xx status code
func (*QueryImagesByIDDefault) IsCode ¶ added in v0.19.3
func (o *QueryImagesByIDDefault) IsCode(code int) bool
IsCode returns true when this query images by id default response a status code equal to that given
func (*QueryImagesByIDDefault) IsRedirect ¶ added in v0.19.3
func (o *QueryImagesByIDDefault) IsRedirect() bool
IsRedirect returns true when this query images by id default response has a 3xx status code
func (*QueryImagesByIDDefault) IsServerError ¶ added in v0.19.3
func (o *QueryImagesByIDDefault) IsServerError() bool
IsServerError returns true when this query images by id default response has a 5xx status code
func (*QueryImagesByIDDefault) IsSuccess ¶ added in v0.19.3
func (o *QueryImagesByIDDefault) IsSuccess() bool
IsSuccess returns true when this query images by id default response has a 2xx status code
func (*QueryImagesByIDDefault) String ¶ added in v0.19.3
func (o *QueryImagesByIDDefault) String() string
type QueryImagesByIDOK ¶ added in v0.15.3
type QueryImagesByIDOK struct {
Payload []*models.V1ImageResponse
}
QueryImagesByIDOK describes a response with status code 200, with default header values.
OK
func NewQueryImagesByIDOK ¶ added in v0.15.3
func NewQueryImagesByIDOK() *QueryImagesByIDOK
NewQueryImagesByIDOK creates a QueryImagesByIDOK with default headers values
func (*QueryImagesByIDOK) Error ¶ added in v0.15.3
func (o *QueryImagesByIDOK) Error() string
func (*QueryImagesByIDOK) GetPayload ¶ added in v0.15.3
func (o *QueryImagesByIDOK) GetPayload() []*models.V1ImageResponse
func (*QueryImagesByIDOK) IsClientError ¶ added in v0.19.3
func (o *QueryImagesByIDOK) IsClientError() bool
IsClientError returns true when this query images by Id o k response has a 4xx status code
func (*QueryImagesByIDOK) IsCode ¶ added in v0.19.3
func (o *QueryImagesByIDOK) IsCode(code int) bool
IsCode returns true when this query images by Id o k response a status code equal to that given
func (*QueryImagesByIDOK) IsRedirect ¶ added in v0.19.3
func (o *QueryImagesByIDOK) IsRedirect() bool
IsRedirect returns true when this query images by Id o k response has a 3xx status code
func (*QueryImagesByIDOK) IsServerError ¶ added in v0.19.3
func (o *QueryImagesByIDOK) IsServerError() bool
IsServerError returns true when this query images by Id o k response has a 5xx status code
func (*QueryImagesByIDOK) IsSuccess ¶ added in v0.19.3
func (o *QueryImagesByIDOK) IsSuccess() bool
IsSuccess returns true when this query images by Id o k response has a 2xx status code
func (*QueryImagesByIDOK) String ¶ added in v0.19.3
func (o *QueryImagesByIDOK) String() string
type QueryImagesByIDParams ¶ added in v0.15.3
type QueryImagesByIDParams struct { /* ID. identifier of the image */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
QueryImagesByIDParams contains all the parameters to send to the API endpoint
for the query images by id operation. Typically these are written to a http.Request.
func NewQueryImagesByIDParams ¶ added in v0.15.3
func NewQueryImagesByIDParams() *QueryImagesByIDParams
NewQueryImagesByIDParams creates a new QueryImagesByIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewQueryImagesByIDParamsWithContext ¶ added in v0.15.3
func NewQueryImagesByIDParamsWithContext(ctx context.Context) *QueryImagesByIDParams
NewQueryImagesByIDParamsWithContext creates a new QueryImagesByIDParams object with the ability to set a context for a request.
func NewQueryImagesByIDParamsWithHTTPClient ¶ added in v0.15.3
func NewQueryImagesByIDParamsWithHTTPClient(client *http.Client) *QueryImagesByIDParams
NewQueryImagesByIDParamsWithHTTPClient creates a new QueryImagesByIDParams object with the ability to set a custom HTTPClient for a request.
func NewQueryImagesByIDParamsWithTimeout ¶ added in v0.15.3
func NewQueryImagesByIDParamsWithTimeout(timeout time.Duration) *QueryImagesByIDParams
NewQueryImagesByIDParamsWithTimeout creates a new QueryImagesByIDParams object with the ability to set a timeout on a request.
func (*QueryImagesByIDParams) SetContext ¶ added in v0.15.3
func (o *QueryImagesByIDParams) SetContext(ctx context.Context)
SetContext adds the context to the query images by id params
func (*QueryImagesByIDParams) SetDefaults ¶ added in v0.15.3
func (o *QueryImagesByIDParams) SetDefaults()
SetDefaults hydrates default values in the query images by id params (not the query body).
All values with no default are reset to their zero value.
func (*QueryImagesByIDParams) SetHTTPClient ¶ added in v0.15.3
func (o *QueryImagesByIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the query images by id params
func (*QueryImagesByIDParams) SetID ¶ added in v0.15.3
func (o *QueryImagesByIDParams) SetID(id string)
SetID adds the id to the query images by id params
func (*QueryImagesByIDParams) SetTimeout ¶ added in v0.15.3
func (o *QueryImagesByIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the query images by id params
func (*QueryImagesByIDParams) WithContext ¶ added in v0.15.3
func (o *QueryImagesByIDParams) WithContext(ctx context.Context) *QueryImagesByIDParams
WithContext adds the context to the query images by id params
func (*QueryImagesByIDParams) WithDefaults ¶ added in v0.15.3
func (o *QueryImagesByIDParams) WithDefaults() *QueryImagesByIDParams
WithDefaults hydrates default values in the query images by id params (not the query body).
All values with no default are reset to their zero value.
func (*QueryImagesByIDParams) WithHTTPClient ¶ added in v0.15.3
func (o *QueryImagesByIDParams) WithHTTPClient(client *http.Client) *QueryImagesByIDParams
WithHTTPClient adds the HTTPClient to the query images by id params
func (*QueryImagesByIDParams) WithID ¶ added in v0.15.3
func (o *QueryImagesByIDParams) WithID(id string) *QueryImagesByIDParams
WithID adds the id to the query images by id params
func (*QueryImagesByIDParams) WithTimeout ¶ added in v0.15.3
func (o *QueryImagesByIDParams) WithTimeout(timeout time.Duration) *QueryImagesByIDParams
WithTimeout adds the timeout to the query images by id params
func (*QueryImagesByIDParams) WriteToRequest ¶ added in v0.15.3
func (o *QueryImagesByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type QueryImagesByIDReader ¶ added in v0.15.3
type QueryImagesByIDReader struct {
// contains filtered or unexported fields
}
QueryImagesByIDReader is a Reader for the QueryImagesByID structure.
func (*QueryImagesByIDReader) ReadResponse ¶ added in v0.15.3
func (o *QueryImagesByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateImageConflict ¶
type UpdateImageConflict struct {
Payload *httperrors.HTTPErrorResponse
}
UpdateImageConflict describes a response with status code 409, with default header values.
Conflict
func NewUpdateImageConflict ¶
func NewUpdateImageConflict() *UpdateImageConflict
NewUpdateImageConflict creates a UpdateImageConflict with default headers values
func (*UpdateImageConflict) Error ¶
func (o *UpdateImageConflict) Error() string
func (*UpdateImageConflict) GetPayload ¶ added in v0.11.0
func (o *UpdateImageConflict) GetPayload() *httperrors.HTTPErrorResponse
func (*UpdateImageConflict) IsClientError ¶ added in v0.19.3
func (o *UpdateImageConflict) IsClientError() bool
IsClientError returns true when this update image conflict response has a 4xx status code
func (*UpdateImageConflict) IsCode ¶ added in v0.19.3
func (o *UpdateImageConflict) IsCode(code int) bool
IsCode returns true when this update image conflict response a status code equal to that given
func (*UpdateImageConflict) IsRedirect ¶ added in v0.19.3
func (o *UpdateImageConflict) IsRedirect() bool
IsRedirect returns true when this update image conflict response has a 3xx status code
func (*UpdateImageConflict) IsServerError ¶ added in v0.19.3
func (o *UpdateImageConflict) IsServerError() bool
IsServerError returns true when this update image conflict response has a 5xx status code
func (*UpdateImageConflict) IsSuccess ¶ added in v0.19.3
func (o *UpdateImageConflict) IsSuccess() bool
IsSuccess returns true when this update image conflict response has a 2xx status code
func (*UpdateImageConflict) String ¶ added in v0.19.3
func (o *UpdateImageConflict) String() string
type UpdateImageDefault ¶
type UpdateImageDefault struct { Payload *httperrors.HTTPErrorResponse // contains filtered or unexported fields }
UpdateImageDefault describes a response with status code -1, with default header values.
Error
func NewUpdateImageDefault ¶
func NewUpdateImageDefault(code int) *UpdateImageDefault
NewUpdateImageDefault creates a UpdateImageDefault with default headers values
func (*UpdateImageDefault) Code ¶
func (o *UpdateImageDefault) Code() int
Code gets the status code for the update image default response
func (*UpdateImageDefault) Error ¶
func (o *UpdateImageDefault) Error() string
func (*UpdateImageDefault) GetPayload ¶ added in v0.11.0
func (o *UpdateImageDefault) GetPayload() *httperrors.HTTPErrorResponse
func (*UpdateImageDefault) IsClientError ¶ added in v0.19.3
func (o *UpdateImageDefault) IsClientError() bool
IsClientError returns true when this update image default response has a 4xx status code
func (*UpdateImageDefault) IsCode ¶ added in v0.19.3
func (o *UpdateImageDefault) IsCode(code int) bool
IsCode returns true when this update image default response a status code equal to that given
func (*UpdateImageDefault) IsRedirect ¶ added in v0.19.3
func (o *UpdateImageDefault) IsRedirect() bool
IsRedirect returns true when this update image default response has a 3xx status code
func (*UpdateImageDefault) IsServerError ¶ added in v0.19.3
func (o *UpdateImageDefault) IsServerError() bool
IsServerError returns true when this update image default response has a 5xx status code
func (*UpdateImageDefault) IsSuccess ¶ added in v0.19.3
func (o *UpdateImageDefault) IsSuccess() bool
IsSuccess returns true when this update image default response has a 2xx status code
func (*UpdateImageDefault) String ¶ added in v0.19.3
func (o *UpdateImageDefault) String() string
type UpdateImageOK ¶
type UpdateImageOK struct {
Payload *models.V1ImageResponse
}
UpdateImageOK describes a response with status code 200, with default header values.
OK
func NewUpdateImageOK ¶
func NewUpdateImageOK() *UpdateImageOK
NewUpdateImageOK creates a UpdateImageOK with default headers values
func (*UpdateImageOK) Error ¶
func (o *UpdateImageOK) Error() string
func (*UpdateImageOK) GetPayload ¶ added in v0.11.0
func (o *UpdateImageOK) GetPayload() *models.V1ImageResponse
func (*UpdateImageOK) IsClientError ¶ added in v0.19.3
func (o *UpdateImageOK) IsClientError() bool
IsClientError returns true when this update image o k response has a 4xx status code
func (*UpdateImageOK) IsCode ¶ added in v0.19.3
func (o *UpdateImageOK) IsCode(code int) bool
IsCode returns true when this update image o k response a status code equal to that given
func (*UpdateImageOK) IsRedirect ¶ added in v0.19.3
func (o *UpdateImageOK) IsRedirect() bool
IsRedirect returns true when this update image o k response has a 3xx status code
func (*UpdateImageOK) IsServerError ¶ added in v0.19.3
func (o *UpdateImageOK) IsServerError() bool
IsServerError returns true when this update image o k response has a 5xx status code
func (*UpdateImageOK) IsSuccess ¶ added in v0.19.3
func (o *UpdateImageOK) IsSuccess() bool
IsSuccess returns true when this update image o k response has a 2xx status code
func (*UpdateImageOK) String ¶ added in v0.19.3
func (o *UpdateImageOK) String() string
type UpdateImageParams ¶
type UpdateImageParams struct { // Body. Body *models.V1ImageUpdateRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateImageParams contains all the parameters to send to the API endpoint
for the update image operation. Typically these are written to a http.Request.
func NewUpdateImageParams ¶
func NewUpdateImageParams() *UpdateImageParams
NewUpdateImageParams creates a new UpdateImageParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateImageParamsWithContext ¶
func NewUpdateImageParamsWithContext(ctx context.Context) *UpdateImageParams
NewUpdateImageParamsWithContext creates a new UpdateImageParams object with the ability to set a context for a request.
func NewUpdateImageParamsWithHTTPClient ¶
func NewUpdateImageParamsWithHTTPClient(client *http.Client) *UpdateImageParams
NewUpdateImageParamsWithHTTPClient creates a new UpdateImageParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateImageParamsWithTimeout ¶
func NewUpdateImageParamsWithTimeout(timeout time.Duration) *UpdateImageParams
NewUpdateImageParamsWithTimeout creates a new UpdateImageParams object with the ability to set a timeout on a request.
func (*UpdateImageParams) SetBody ¶
func (o *UpdateImageParams) SetBody(body *models.V1ImageUpdateRequest)
SetBody adds the body to the update image params
func (*UpdateImageParams) SetContext ¶
func (o *UpdateImageParams) SetContext(ctx context.Context)
SetContext adds the context to the update image params
func (*UpdateImageParams) SetDefaults ¶ added in v0.12.1
func (o *UpdateImageParams) SetDefaults()
SetDefaults hydrates default values in the update image params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateImageParams) SetHTTPClient ¶
func (o *UpdateImageParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update image params
func (*UpdateImageParams) SetTimeout ¶
func (o *UpdateImageParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update image params
func (*UpdateImageParams) WithBody ¶
func (o *UpdateImageParams) WithBody(body *models.V1ImageUpdateRequest) *UpdateImageParams
WithBody adds the body to the update image params
func (*UpdateImageParams) WithContext ¶
func (o *UpdateImageParams) WithContext(ctx context.Context) *UpdateImageParams
WithContext adds the context to the update image params
func (*UpdateImageParams) WithDefaults ¶ added in v0.12.1
func (o *UpdateImageParams) WithDefaults() *UpdateImageParams
WithDefaults hydrates default values in the update image params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateImageParams) WithHTTPClient ¶
func (o *UpdateImageParams) WithHTTPClient(client *http.Client) *UpdateImageParams
WithHTTPClient adds the HTTPClient to the update image params
func (*UpdateImageParams) WithTimeout ¶
func (o *UpdateImageParams) WithTimeout(timeout time.Duration) *UpdateImageParams
WithTimeout adds the timeout to the update image params
func (*UpdateImageParams) WriteToRequest ¶
func (o *UpdateImageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateImageReader ¶
type UpdateImageReader struct {
// contains filtered or unexported fields
}
UpdateImageReader is a Reader for the UpdateImage structure.
func (*UpdateImageReader) ReadResponse ¶
func (o *UpdateImageReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_image_parameters.go
- create_image_responses.go
- delete_image_parameters.go
- delete_image_responses.go
- find_image_parameters.go
- find_image_responses.go
- find_latest_image_parameters.go
- find_latest_image_responses.go
- image_client.go
- list_images_parameters.go
- list_images_responses.go
- query_images_by_id_parameters.go
- query_images_by_id_responses.go
- update_image_parameters.go
- update_image_responses.go