image

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2017 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddImageBadRequest

type AddImageBadRequest struct {
	Payload *models.Error
}

AddImageBadRequest handles this case with default header values.

Invalid input

func NewAddImageBadRequest

func NewAddImageBadRequest() *AddImageBadRequest

NewAddImageBadRequest creates a AddImageBadRequest with default headers values

func (*AddImageBadRequest) Error

func (o *AddImageBadRequest) Error() string

type AddImageCreated

type AddImageCreated struct {
	Payload *models.Image
}

AddImageCreated handles this case with default header values.

created

func NewAddImageCreated

func NewAddImageCreated() *AddImageCreated

NewAddImageCreated creates a AddImageCreated with default headers values

func (*AddImageCreated) Error

func (o *AddImageCreated) Error() string

type AddImageDefault

type AddImageDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

AddImageDefault handles this case with default header values.

Generic error response

func NewAddImageDefault

func NewAddImageDefault(code int) *AddImageDefault

NewAddImageDefault creates a AddImageDefault with default headers values

func (*AddImageDefault) Code

func (o *AddImageDefault) Code() int

Code gets the status code for the add image default response

func (*AddImageDefault) Error

func (o *AddImageDefault) Error() string

type AddImageParams

type AddImageParams struct {

	/*Body
	  Image object

	*/
	Body *models.Image

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

AddImageParams contains all the parameters to send to the API endpoint for the add image operation typically these are written to a http.Request

func NewAddImageParams

func NewAddImageParams() *AddImageParams

NewAddImageParams creates a new AddImageParams object with the default values initialized.

func NewAddImageParamsWithContext

func NewAddImageParamsWithContext(ctx context.Context) *AddImageParams

NewAddImageParamsWithContext creates a new AddImageParams object with the default values initialized, and the ability to set a context for a request

func NewAddImageParamsWithHTTPClient

func NewAddImageParamsWithHTTPClient(client *http.Client) *AddImageParams

NewAddImageParamsWithHTTPClient creates a new AddImageParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAddImageParamsWithTimeout

func NewAddImageParamsWithTimeout(timeout time.Duration) *AddImageParams

NewAddImageParamsWithTimeout creates a new AddImageParams object with the default values initialized, and the ability to set a timeout on a request

func (*AddImageParams) SetBody

func (o *AddImageParams) SetBody(body *models.Image)

SetBody adds the body to the add image params

func (*AddImageParams) SetContext

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

SetContext adds the context to the add image params

func (*AddImageParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add image params

func (*AddImageParams) SetTimeout

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

SetTimeout adds the timeout to the add image params

func (*AddImageParams) WithBody

func (o *AddImageParams) WithBody(body *models.Image) *AddImageParams

WithBody adds the body to the add image params

func (*AddImageParams) WithContext

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

WithContext adds the context to the add image params

func (*AddImageParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the add image params

func (*AddImageParams) WithTimeout

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

WithTimeout adds the timeout to the add image params

func (*AddImageParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AddImageReader

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

AddImageReader is a Reader for the AddImage structure.

func (*AddImageReader) ReadResponse

func (o *AddImageReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

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) AddImage

func (a *Client) AddImage(params *AddImageParams, authInfo runtime.ClientAuthInfoWriter) (*AddImageCreated, error)

AddImage adds a new image

func (*Client) DeleteImageByName

func (a *Client) DeleteImageByName(params *DeleteImageByNameParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteImageByNameOK, error)

DeleteImageByName deletes an image

func (*Client) GetImageByName

func (a *Client) GetImageByName(params *GetImageByNameParams, authInfo runtime.ClientAuthInfoWriter) (*GetImageByNameOK, error)

GetImageByName finds image by ID

Returns a single image

func (*Client) GetImages

func (a *Client) GetImages(params *GetImagesParams, authInfo runtime.ClientAuthInfoWriter) (*GetImagesOK, error)

GetImages gets all images

List all images

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateImageByName

func (a *Client) UpdateImageByName(params *UpdateImageByNameParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateImageByNameOK, error)

UpdateImageByName updates an image

type DeleteImageByNameBadRequest

type DeleteImageByNameBadRequest struct {
	Payload *models.Error
}

DeleteImageByNameBadRequest handles this case with default header values.

Invalid ID supplied

func NewDeleteImageByNameBadRequest

func NewDeleteImageByNameBadRequest() *DeleteImageByNameBadRequest

NewDeleteImageByNameBadRequest creates a DeleteImageByNameBadRequest with default headers values

func (*DeleteImageByNameBadRequest) Error

type DeleteImageByNameDefault

type DeleteImageByNameDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

DeleteImageByNameDefault handles this case with default header values.

Generic error response

func NewDeleteImageByNameDefault

func NewDeleteImageByNameDefault(code int) *DeleteImageByNameDefault

NewDeleteImageByNameDefault creates a DeleteImageByNameDefault with default headers values

func (*DeleteImageByNameDefault) Code

func (o *DeleteImageByNameDefault) Code() int

Code gets the status code for the delete image by name default response

func (*DeleteImageByNameDefault) Error

func (o *DeleteImageByNameDefault) Error() string

type DeleteImageByNameNotFound

type DeleteImageByNameNotFound struct {
	Payload *models.Error
}

DeleteImageByNameNotFound handles this case with default header values.

Image not found

func NewDeleteImageByNameNotFound

func NewDeleteImageByNameNotFound() *DeleteImageByNameNotFound

NewDeleteImageByNameNotFound creates a DeleteImageByNameNotFound with default headers values

func (*DeleteImageByNameNotFound) Error

func (o *DeleteImageByNameNotFound) Error() string

type DeleteImageByNameOK

type DeleteImageByNameOK struct {
	Payload *models.Image
}

DeleteImageByNameOK handles this case with default header values.

successful operation

func NewDeleteImageByNameOK

func NewDeleteImageByNameOK() *DeleteImageByNameOK

NewDeleteImageByNameOK creates a DeleteImageByNameOK with default headers values

func (*DeleteImageByNameOK) Error

func (o *DeleteImageByNameOK) Error() string

type DeleteImageByNameParams

type DeleteImageByNameParams struct {

	/*ImageName
	  Name of image to return

	*/
	ImageName string

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

DeleteImageByNameParams contains all the parameters to send to the API endpoint for the delete image by name operation typically these are written to a http.Request

func NewDeleteImageByNameParams

func NewDeleteImageByNameParams() *DeleteImageByNameParams

NewDeleteImageByNameParams creates a new DeleteImageByNameParams object with the default values initialized.

func NewDeleteImageByNameParamsWithContext

func NewDeleteImageByNameParamsWithContext(ctx context.Context) *DeleteImageByNameParams

NewDeleteImageByNameParamsWithContext creates a new DeleteImageByNameParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteImageByNameParamsWithHTTPClient

func NewDeleteImageByNameParamsWithHTTPClient(client *http.Client) *DeleteImageByNameParams

NewDeleteImageByNameParamsWithHTTPClient creates a new DeleteImageByNameParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteImageByNameParamsWithTimeout

func NewDeleteImageByNameParamsWithTimeout(timeout time.Duration) *DeleteImageByNameParams

NewDeleteImageByNameParamsWithTimeout creates a new DeleteImageByNameParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteImageByNameParams) SetContext

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

SetContext adds the context to the delete image by name params

func (*DeleteImageByNameParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete image by name params

func (*DeleteImageByNameParams) SetImageName

func (o *DeleteImageByNameParams) SetImageName(imageName string)

SetImageName adds the imageName to the delete image by name params

func (*DeleteImageByNameParams) SetTimeout

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

SetTimeout adds the timeout to the delete image by name params

func (*DeleteImageByNameParams) WithContext

WithContext adds the context to the delete image by name params

func (*DeleteImageByNameParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete image by name params

func (*DeleteImageByNameParams) WithImageName

func (o *DeleteImageByNameParams) WithImageName(imageName string) *DeleteImageByNameParams

WithImageName adds the imageName to the delete image by name params

func (*DeleteImageByNameParams) WithTimeout

WithTimeout adds the timeout to the delete image by name params

func (*DeleteImageByNameParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteImageByNameReader

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

DeleteImageByNameReader is a Reader for the DeleteImageByName structure.

func (*DeleteImageByNameReader) ReadResponse

func (o *DeleteImageByNameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetImageByNameBadRequest

type GetImageByNameBadRequest struct {
	Payload *models.Error
}

GetImageByNameBadRequest handles this case with default header values.

Invalid ID supplied

func NewGetImageByNameBadRequest

func NewGetImageByNameBadRequest() *GetImageByNameBadRequest

NewGetImageByNameBadRequest creates a GetImageByNameBadRequest with default headers values

func (*GetImageByNameBadRequest) Error

func (o *GetImageByNameBadRequest) Error() string

type GetImageByNameDefault

type GetImageByNameDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

GetImageByNameDefault handles this case with default header values.

Generic error response

func NewGetImageByNameDefault

func NewGetImageByNameDefault(code int) *GetImageByNameDefault

NewGetImageByNameDefault creates a GetImageByNameDefault with default headers values

func (*GetImageByNameDefault) Code

func (o *GetImageByNameDefault) Code() int

Code gets the status code for the get image by name default response

func (*GetImageByNameDefault) Error

func (o *GetImageByNameDefault) Error() string

type GetImageByNameNotFound

type GetImageByNameNotFound struct {
	Payload *models.Error
}

GetImageByNameNotFound handles this case with default header values.

Image not found

func NewGetImageByNameNotFound

func NewGetImageByNameNotFound() *GetImageByNameNotFound

NewGetImageByNameNotFound creates a GetImageByNameNotFound with default headers values

func (*GetImageByNameNotFound) Error

func (o *GetImageByNameNotFound) Error() string

type GetImageByNameOK

type GetImageByNameOK struct {
	Payload *models.Image
}

GetImageByNameOK handles this case with default header values.

successful operation

func NewGetImageByNameOK

func NewGetImageByNameOK() *GetImageByNameOK

NewGetImageByNameOK creates a GetImageByNameOK with default headers values

func (*GetImageByNameOK) Error

func (o *GetImageByNameOK) Error() string

type GetImageByNameParams

type GetImageByNameParams struct {

	/*ImageName
	  Name of image to return

	*/
	ImageName string

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

GetImageByNameParams contains all the parameters to send to the API endpoint for the get image by name operation typically these are written to a http.Request

func NewGetImageByNameParams

func NewGetImageByNameParams() *GetImageByNameParams

NewGetImageByNameParams creates a new GetImageByNameParams object with the default values initialized.

func NewGetImageByNameParamsWithContext

func NewGetImageByNameParamsWithContext(ctx context.Context) *GetImageByNameParams

NewGetImageByNameParamsWithContext creates a new GetImageByNameParams object with the default values initialized, and the ability to set a context for a request

func NewGetImageByNameParamsWithHTTPClient

func NewGetImageByNameParamsWithHTTPClient(client *http.Client) *GetImageByNameParams

NewGetImageByNameParamsWithHTTPClient creates a new GetImageByNameParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetImageByNameParamsWithTimeout

func NewGetImageByNameParamsWithTimeout(timeout time.Duration) *GetImageByNameParams

NewGetImageByNameParamsWithTimeout creates a new GetImageByNameParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetImageByNameParams) SetContext

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

SetContext adds the context to the get image by name params

func (*GetImageByNameParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get image by name params

func (*GetImageByNameParams) SetImageName

func (o *GetImageByNameParams) SetImageName(imageName string)

SetImageName adds the imageName to the get image by name params

func (*GetImageByNameParams) SetTimeout

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

SetTimeout adds the timeout to the get image by name params

func (*GetImageByNameParams) WithContext

WithContext adds the context to the get image by name params

func (*GetImageByNameParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get image by name params

func (*GetImageByNameParams) WithImageName

func (o *GetImageByNameParams) WithImageName(imageName string) *GetImageByNameParams

WithImageName adds the imageName to the get image by name params

func (*GetImageByNameParams) WithTimeout

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

WithTimeout adds the timeout to the get image by name params

func (*GetImageByNameParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetImageByNameReader

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

GetImageByNameReader is a Reader for the GetImageByName structure.

func (*GetImageByNameReader) ReadResponse

func (o *GetImageByNameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetImagesDefault

type GetImagesDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

GetImagesDefault handles this case with default header values.

Generic error response

func NewGetImagesDefault

func NewGetImagesDefault(code int) *GetImagesDefault

NewGetImagesDefault creates a GetImagesDefault with default headers values

func (*GetImagesDefault) Code

func (o *GetImagesDefault) Code() int

Code gets the status code for the get images default response

func (*GetImagesDefault) Error

func (o *GetImagesDefault) Error() string

type GetImagesOK

type GetImagesOK struct {
	Payload models.GetImagesOKBody
}

GetImagesOK handles this case with default header values.

successful operation

func NewGetImagesOK

func NewGetImagesOK() *GetImagesOK

NewGetImagesOK creates a GetImagesOK with default headers values

func (*GetImagesOK) Error

func (o *GetImagesOK) Error() string

type GetImagesParams

type GetImagesParams struct {

	/*Language
	  image runtime language

	*/
	Language *string
	/*Tags
	  Filter on image tags

	*/
	Tags []string

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

GetImagesParams contains all the parameters to send to the API endpoint for the get images operation typically these are written to a http.Request

func NewGetImagesParams

func NewGetImagesParams() *GetImagesParams

NewGetImagesParams creates a new GetImagesParams object with the default values initialized.

func NewGetImagesParamsWithContext

func NewGetImagesParamsWithContext(ctx context.Context) *GetImagesParams

NewGetImagesParamsWithContext creates a new GetImagesParams object with the default values initialized, and the ability to set a context for a request

func NewGetImagesParamsWithHTTPClient

func NewGetImagesParamsWithHTTPClient(client *http.Client) *GetImagesParams

NewGetImagesParamsWithHTTPClient creates a new GetImagesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetImagesParamsWithTimeout

func NewGetImagesParamsWithTimeout(timeout time.Duration) *GetImagesParams

NewGetImagesParamsWithTimeout creates a new GetImagesParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetImagesParams) SetContext

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

SetContext adds the context to the get images params

func (*GetImagesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get images params

func (*GetImagesParams) SetLanguage

func (o *GetImagesParams) SetLanguage(language *string)

SetLanguage adds the language to the get images params

func (*GetImagesParams) SetTags

func (o *GetImagesParams) SetTags(tags []string)

SetTags adds the tags to the get images params

func (*GetImagesParams) SetTimeout

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

SetTimeout adds the timeout to the get images params

func (*GetImagesParams) WithContext

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

WithContext adds the context to the get images params

func (*GetImagesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get images params

func (*GetImagesParams) WithLanguage

func (o *GetImagesParams) WithLanguage(language *string) *GetImagesParams

WithLanguage adds the language to the get images params

func (*GetImagesParams) WithTags

func (o *GetImagesParams) WithTags(tags []string) *GetImagesParams

WithTags adds the tags to the get images params

func (*GetImagesParams) WithTimeout

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

WithTimeout adds the timeout to the get images params

func (*GetImagesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetImagesReader

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

GetImagesReader is a Reader for the GetImages structure.

func (*GetImagesReader) ReadResponse

func (o *GetImagesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateImageByNameBadRequest

type UpdateImageByNameBadRequest struct {
	Payload *models.Error
}

UpdateImageByNameBadRequest handles this case with default header values.

Invalid input

func NewUpdateImageByNameBadRequest

func NewUpdateImageByNameBadRequest() *UpdateImageByNameBadRequest

NewUpdateImageByNameBadRequest creates a UpdateImageByNameBadRequest with default headers values

func (*UpdateImageByNameBadRequest) Error

type UpdateImageByNameDefault

type UpdateImageByNameDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

UpdateImageByNameDefault handles this case with default header values.

Generic error response

func NewUpdateImageByNameDefault

func NewUpdateImageByNameDefault(code int) *UpdateImageByNameDefault

NewUpdateImageByNameDefault creates a UpdateImageByNameDefault with default headers values

func (*UpdateImageByNameDefault) Code

func (o *UpdateImageByNameDefault) Code() int

Code gets the status code for the update image by name default response

func (*UpdateImageByNameDefault) Error

func (o *UpdateImageByNameDefault) Error() string

type UpdateImageByNameNotFound

type UpdateImageByNameNotFound struct {
	Payload *models.Error
}

UpdateImageByNameNotFound handles this case with default header values.

Image not found

func NewUpdateImageByNameNotFound

func NewUpdateImageByNameNotFound() *UpdateImageByNameNotFound

NewUpdateImageByNameNotFound creates a UpdateImageByNameNotFound with default headers values

func (*UpdateImageByNameNotFound) Error

func (o *UpdateImageByNameNotFound) Error() string

type UpdateImageByNameOK

type UpdateImageByNameOK struct {
	Payload *models.BaseImage
}

UpdateImageByNameOK handles this case with default header values.

updated

func NewUpdateImageByNameOK

func NewUpdateImageByNameOK() *UpdateImageByNameOK

NewUpdateImageByNameOK creates a UpdateImageByNameOK with default headers values

func (*UpdateImageByNameOK) Error

func (o *UpdateImageByNameOK) Error() string

type UpdateImageByNameParams

type UpdateImageByNameParams struct {

	/*Body*/
	Body *models.Image
	/*ImageName
	  Name of image to return

	*/
	ImageName string

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

UpdateImageByNameParams contains all the parameters to send to the API endpoint for the update image by name operation typically these are written to a http.Request

func NewUpdateImageByNameParams

func NewUpdateImageByNameParams() *UpdateImageByNameParams

NewUpdateImageByNameParams creates a new UpdateImageByNameParams object with the default values initialized.

func NewUpdateImageByNameParamsWithContext

func NewUpdateImageByNameParamsWithContext(ctx context.Context) *UpdateImageByNameParams

NewUpdateImageByNameParamsWithContext creates a new UpdateImageByNameParams object with the default values initialized, and the ability to set a context for a request

func NewUpdateImageByNameParamsWithHTTPClient

func NewUpdateImageByNameParamsWithHTTPClient(client *http.Client) *UpdateImageByNameParams

NewUpdateImageByNameParamsWithHTTPClient creates a new UpdateImageByNameParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpdateImageByNameParamsWithTimeout

func NewUpdateImageByNameParamsWithTimeout(timeout time.Duration) *UpdateImageByNameParams

NewUpdateImageByNameParamsWithTimeout creates a new UpdateImageByNameParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpdateImageByNameParams) SetBody

func (o *UpdateImageByNameParams) SetBody(body *models.Image)

SetBody adds the body to the update image by name params

func (*UpdateImageByNameParams) SetContext

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

SetContext adds the context to the update image by name params

func (*UpdateImageByNameParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update image by name params

func (*UpdateImageByNameParams) SetImageName

func (o *UpdateImageByNameParams) SetImageName(imageName string)

SetImageName adds the imageName to the update image by name params

func (*UpdateImageByNameParams) SetTimeout

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

SetTimeout adds the timeout to the update image by name params

func (*UpdateImageByNameParams) WithBody

WithBody adds the body to the update image by name params

func (*UpdateImageByNameParams) WithContext

WithContext adds the context to the update image by name params

func (*UpdateImageByNameParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update image by name params

func (*UpdateImageByNameParams) WithImageName

func (o *UpdateImageByNameParams) WithImageName(imageName string) *UpdateImageByNameParams

WithImageName adds the imageName to the update image by name params

func (*UpdateImageByNameParams) WithTimeout

WithTimeout adds the timeout to the update image by name params

func (*UpdateImageByNameParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateImageByNameReader

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

UpdateImageByNameReader is a Reader for the UpdateImageByName structure.

func (*UpdateImageByNameReader) ReadResponse

func (o *UpdateImageByNameReader) 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