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) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateImage(params *UpdateImageParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateImageOK, error)
- type CreateImageConflict
- type CreateImageCreated
- type CreateImageDefault
- type CreateImageParams
- func (o *CreateImageParams) SetBody(body *models.V1ImageCreateRequest)
- func (o *CreateImageParams) SetContext(ctx context.Context)
- 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) 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
- type DeleteImageOK
- type DeleteImageParams
- func (o *DeleteImageParams) SetContext(ctx context.Context)
- 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) 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
- type FindImageOK
- type FindImageParams
- func (o *FindImageParams) SetContext(ctx context.Context)
- 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) 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
- type FindLatestImageOK
- 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) 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) 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
- type ListImagesOK
- type ListImagesParams
- func (o *ListImagesParams) SetContext(ctx context.Context)
- func (o *ListImagesParams) SetHTTPClient(client *http.Client)
- func (o *ListImagesParams) SetTimeout(timeout time.Duration)
- func (o *ListImagesParams) WithContext(ctx context.Context) *ListImagesParams
- func (o *ListImagesParams) WithHTTPClient(client *http.Client) *ListImagesParams
- func (o *ListImagesParams) WithTimeout(timeout time.Duration) *ListImagesParams
- func (o *ListImagesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListImagesReader
- type UpdateImageConflict
- type UpdateImageDefault
- type UpdateImageOK
- type UpdateImageParams
- func (o *UpdateImageParams) SetBody(body *models.V1ImageUpdateRequest)
- func (o *UpdateImageParams) SetContext(ctx context.Context)
- 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) 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 New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new image API client.
func (*Client) CreateImage ¶
func (a *Client) CreateImage(params *CreateImageParams, authInfo runtime.ClientAuthInfoWriter) (*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) (*DeleteImageOK, error)
DeleteImage deletes an image and returns the deleted entity
func (*Client) FindImage ¶
func (a *Client) FindImage(params *FindImageParams, authInfo runtime.ClientAuthInfoWriter) (*FindImageOK, error)
FindImage gets image by id
func (*Client) FindLatestImage ¶ added in v0.7.5
func (a *Client) FindLatestImage(params *FindLatestImageParams, authInfo runtime.ClientAuthInfoWriter) (*FindLatestImageOK, error)
FindLatestImage finds latest image by id
func (*Client) ListImages ¶
func (a *Client) ListImages(params *ListImagesParams, authInfo runtime.ClientAuthInfoWriter) (*ListImagesOK, error)
ListImages gets all images
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) (*UpdateImageOK, error)
UpdateImage updates an image if the image was changed since this one was read a conflict is returned
type CreateImageConflict ¶
type CreateImageConflict struct {
Payload *models.HttperrorsHTTPErrorResponse
}
CreateImageConflict handles this case 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
type CreateImageCreated ¶
type CreateImageCreated struct {
Payload *models.V1ImageResponse
}
CreateImageCreated handles this case 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
type CreateImageDefault ¶
type CreateImageDefault struct { Payload *models.HttperrorsHTTPErrorResponse // contains filtered or unexported fields }
CreateImageDefault handles this case 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
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 values initialized.
func NewCreateImageParamsWithContext ¶
func NewCreateImageParamsWithContext(ctx context.Context) *CreateImageParams
NewCreateImageParamsWithContext creates a new CreateImageParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 *models.HttperrorsHTTPErrorResponse // contains filtered or unexported fields }
DeleteImageDefault handles this case 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
type DeleteImageOK ¶
type DeleteImageOK struct {
Payload *models.V1ImageResponse
}
DeleteImageOK handles this case 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
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 values initialized.
func NewDeleteImageParamsWithContext ¶
func NewDeleteImageParamsWithContext(ctx context.Context) *DeleteImageParams
NewDeleteImageParamsWithContext creates a new DeleteImageParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 *models.HttperrorsHTTPErrorResponse // contains filtered or unexported fields }
FindImageDefault handles this case 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
type FindImageOK ¶
type FindImageOK struct {
Payload *models.V1ImageResponse
}
FindImageOK handles this case 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
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 values initialized.
func NewFindImageParamsWithContext ¶
func NewFindImageParamsWithContext(ctx context.Context) *FindImageParams
NewFindImageParamsWithContext creates a new FindImageParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 *models.HttperrorsHTTPErrorResponse // contains filtered or unexported fields }
FindLatestImageDefault handles this case 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
type FindLatestImageOK ¶ added in v0.7.5
type FindLatestImageOK struct {
Payload *models.V1ImageResponse
}
FindLatestImageOK handles this case 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
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 values initialized.
func NewFindLatestImageParamsWithContext ¶ added in v0.7.5
func NewFindLatestImageParamsWithContext(ctx context.Context) *FindLatestImageParams
NewFindLatestImageParamsWithContext creates a new FindLatestImageParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 *models.HttperrorsHTTPErrorResponse // contains filtered or unexported fields }
ListImagesDefault handles this case 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
type ListImagesOK ¶
type ListImagesOK struct {
Payload []*models.V1ImageResponse
}
ListImagesOK handles this case 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
type ListImagesParams ¶
type ListImagesParams struct { 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 values initialized.
func NewListImagesParamsWithContext ¶
func NewListImagesParamsWithContext(ctx context.Context) *ListImagesParams
NewListImagesParamsWithContext creates a new ListImagesParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) SetHTTPClient ¶
func (o *ListImagesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient 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) WithHTTPClient ¶
func (o *ListImagesParams) WithHTTPClient(client *http.Client) *ListImagesParams
WithHTTPClient adds the HTTPClient 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 UpdateImageConflict ¶
type UpdateImageConflict struct {
Payload *models.HttperrorsHTTPErrorResponse
}
UpdateImageConflict handles this case 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
type UpdateImageDefault ¶
type UpdateImageDefault struct { Payload *models.HttperrorsHTTPErrorResponse // contains filtered or unexported fields }
UpdateImageDefault handles this case 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
type UpdateImageOK ¶
type UpdateImageOK struct {
Payload *models.V1ImageResponse
}
UpdateImageOK handles this case 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
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 values initialized.
func NewUpdateImageParamsWithContext ¶
func NewUpdateImageParamsWithContext(ctx context.Context) *UpdateImageParams
NewUpdateImageParamsWithContext creates a new UpdateImageParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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
- update_image_parameters.go
- update_image_responses.go