image

package
v0.22.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2023 License: MIT Imports: 12 Imported by: 4

Documentation

Index

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) FindImages added in v0.22.2

func (a *Client) FindImages(params *FindImagesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FindImagesOK, error)

FindImages gets all images that match given properties

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)

	FindImages(params *FindImagesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*FindImagesOK, 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) Code added in v0.22.1

func (o *CreateImageConflict) Code() int

Code gets the status code for the create image conflict response

func (*CreateImageConflict) Error

func (o *CreateImageConflict) Error() string

func (*CreateImageConflict) GetPayload added in v0.11.0

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) Code added in v0.22.1

func (o *CreateImageCreated) Code() int

Code gets the status code for the create image created response

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 (*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

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 (*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) Code added in v0.22.1

func (o *DeleteImageOK) Code() int

Code gets the status code for the delete image o k response

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

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 (*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) Code added in v0.22.1

func (o *FindImageOK) Code() int

Code gets the status code for the find image o k response

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 FindImagesDefault added in v0.22.2

type FindImagesDefault struct {
	Payload *httperrors.HTTPErrorResponse
	// contains filtered or unexported fields
}

FindImagesDefault describes a response with status code -1, with default header values.

Error

func NewFindImagesDefault added in v0.22.2

func NewFindImagesDefault(code int) *FindImagesDefault

NewFindImagesDefault creates a FindImagesDefault with default headers values

func (*FindImagesDefault) Code added in v0.22.2

func (o *FindImagesDefault) Code() int

Code gets the status code for the find images default response

func (*FindImagesDefault) Error added in v0.22.2

func (o *FindImagesDefault) Error() string

func (*FindImagesDefault) GetPayload added in v0.22.2

func (*FindImagesDefault) IsClientError added in v0.22.2

func (o *FindImagesDefault) IsClientError() bool

IsClientError returns true when this find images default response has a 4xx status code

func (*FindImagesDefault) IsCode added in v0.22.2

func (o *FindImagesDefault) IsCode(code int) bool

IsCode returns true when this find images default response a status code equal to that given

func (*FindImagesDefault) IsRedirect added in v0.22.2

func (o *FindImagesDefault) IsRedirect() bool

IsRedirect returns true when this find images default response has a 3xx status code

func (*FindImagesDefault) IsServerError added in v0.22.2

func (o *FindImagesDefault) IsServerError() bool

IsServerError returns true when this find images default response has a 5xx status code

func (*FindImagesDefault) IsSuccess added in v0.22.2

func (o *FindImagesDefault) IsSuccess() bool

IsSuccess returns true when this find images default response has a 2xx status code

func (*FindImagesDefault) String added in v0.22.2

func (o *FindImagesDefault) String() string

type FindImagesOK added in v0.22.2

type FindImagesOK struct {
	Payload []*models.V1ImageResponse
}

FindImagesOK describes a response with status code 200, with default header values.

OK

func NewFindImagesOK added in v0.22.2

func NewFindImagesOK() *FindImagesOK

NewFindImagesOK creates a FindImagesOK with default headers values

func (*FindImagesOK) Code added in v0.22.2

func (o *FindImagesOK) Code() int

Code gets the status code for the find images o k response

func (*FindImagesOK) Error added in v0.22.2

func (o *FindImagesOK) Error() string

func (*FindImagesOK) GetPayload added in v0.22.2

func (o *FindImagesOK) GetPayload() []*models.V1ImageResponse

func (*FindImagesOK) IsClientError added in v0.22.2

func (o *FindImagesOK) IsClientError() bool

IsClientError returns true when this find images o k response has a 4xx status code

func (*FindImagesOK) IsCode added in v0.22.2

func (o *FindImagesOK) IsCode(code int) bool

IsCode returns true when this find images o k response a status code equal to that given

func (*FindImagesOK) IsRedirect added in v0.22.2

func (o *FindImagesOK) IsRedirect() bool

IsRedirect returns true when this find images o k response has a 3xx status code

func (*FindImagesOK) IsServerError added in v0.22.2

func (o *FindImagesOK) IsServerError() bool

IsServerError returns true when this find images o k response has a 5xx status code

func (*FindImagesOK) IsSuccess added in v0.22.2

func (o *FindImagesOK) IsSuccess() bool

IsSuccess returns true when this find images o k response has a 2xx status code

func (*FindImagesOK) String added in v0.22.2

func (o *FindImagesOK) String() string

type FindImagesParams added in v0.22.2

type FindImagesParams struct {

	// Body.
	Body *models.V1ImageFindRequest

	/* ShowUsage.

	   include image usage into response
	*/
	ShowUsage *bool

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

FindImagesParams contains all the parameters to send to the API endpoint

for the find images operation.

Typically these are written to a http.Request.

func NewFindImagesParams added in v0.22.2

func NewFindImagesParams() *FindImagesParams

NewFindImagesParams creates a new FindImagesParams 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 NewFindImagesParamsWithContext added in v0.22.2

func NewFindImagesParamsWithContext(ctx context.Context) *FindImagesParams

NewFindImagesParamsWithContext creates a new FindImagesParams object with the ability to set a context for a request.

func NewFindImagesParamsWithHTTPClient added in v0.22.2

func NewFindImagesParamsWithHTTPClient(client *http.Client) *FindImagesParams

NewFindImagesParamsWithHTTPClient creates a new FindImagesParams object with the ability to set a custom HTTPClient for a request.

func NewFindImagesParamsWithTimeout added in v0.22.2

func NewFindImagesParamsWithTimeout(timeout time.Duration) *FindImagesParams

NewFindImagesParamsWithTimeout creates a new FindImagesParams object with the ability to set a timeout on a request.

func (*FindImagesParams) SetBody added in v0.22.2

func (o *FindImagesParams) SetBody(body *models.V1ImageFindRequest)

SetBody adds the body to the find images params

func (*FindImagesParams) SetContext added in v0.22.2

func (o *FindImagesParams) SetContext(ctx context.Context)

SetContext adds the context to the find images params

func (*FindImagesParams) SetDefaults added in v0.22.2

func (o *FindImagesParams) SetDefaults()

SetDefaults hydrates default values in the find images params (not the query body).

All values with no default are reset to their zero value.

func (*FindImagesParams) SetHTTPClient added in v0.22.2

func (o *FindImagesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the find images params

func (*FindImagesParams) SetShowUsage added in v0.22.2

func (o *FindImagesParams) SetShowUsage(showUsage *bool)

SetShowUsage adds the showUsage to the find images params

func (*FindImagesParams) SetTimeout added in v0.22.2

func (o *FindImagesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the find images params

func (*FindImagesParams) WithBody added in v0.22.2

WithBody adds the body to the find images params

func (*FindImagesParams) WithContext added in v0.22.2

func (o *FindImagesParams) WithContext(ctx context.Context) *FindImagesParams

WithContext adds the context to the find images params

func (*FindImagesParams) WithDefaults added in v0.22.2

func (o *FindImagesParams) WithDefaults() *FindImagesParams

WithDefaults hydrates default values in the find images params (not the query body).

All values with no default are reset to their zero value.

func (*FindImagesParams) WithHTTPClient added in v0.22.2

func (o *FindImagesParams) WithHTTPClient(client *http.Client) *FindImagesParams

WithHTTPClient adds the HTTPClient to the find images params

func (*FindImagesParams) WithShowUsage added in v0.22.2

func (o *FindImagesParams) WithShowUsage(showUsage *bool) *FindImagesParams

WithShowUsage adds the showUsage to the find images params

func (*FindImagesParams) WithTimeout added in v0.22.2

func (o *FindImagesParams) WithTimeout(timeout time.Duration) *FindImagesParams

WithTimeout adds the timeout to the find images params

func (*FindImagesParams) WriteToRequest added in v0.22.2

func (o *FindImagesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type FindImagesReader added in v0.22.2

type FindImagesReader struct {
	// contains filtered or unexported fields
}

FindImagesReader is a Reader for the FindImages structure.

func (*FindImagesReader) ReadResponse added in v0.22.2

func (o *FindImagesReader) 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 (*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) Code added in v0.22.1

func (o *FindLatestImageOK) Code() int

Code gets the status code for the find latest image o k response

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

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

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 (*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) Code added in v0.22.1

func (o *ListImagesOK) Code() int

Code gets the status code for the list images o k response

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 (*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) Code added in v0.22.1

func (o *QueryImagesByIDOK) Code() int

Code gets the status code for the query images by Id o k response

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

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

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) Code added in v0.22.1

func (o *UpdateImageConflict) Code() int

Code gets the status code for the update image conflict response

func (*UpdateImageConflict) Error

func (o *UpdateImageConflict) Error() string

func (*UpdateImageConflict) GetPayload added in v0.11.0

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 (*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) Code added in v0.22.1

func (o *UpdateImageOK) Code() int

Code gets the status code for the update image o k response

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL