image

package
v0.1.24 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2018 License: Apache-2.0 Imports: 11 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddImageBadRequest

type AddImageBadRequest struct {
	Payload *v1.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 AddImageConflict added in v0.1.13

type AddImageConflict struct {
	Payload *v1.Error
}

AddImageConflict handles this case with default header values.

Already Exists

func NewAddImageConflict added in v0.1.13

func NewAddImageConflict() *AddImageConflict

NewAddImageConflict creates a AddImageConflict with default headers values

func (*AddImageConflict) Error added in v0.1.13

func (o *AddImageConflict) Error() string

type AddImageCreated

type AddImageCreated struct {
	Payload *v1.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 *v1.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 AddImageForbidden added in v0.1.18

type AddImageForbidden struct {
	Payload *v1.Error
}

AddImageForbidden handles this case with default header values.

access to this resource is forbidden

func NewAddImageForbidden added in v0.1.18

func NewAddImageForbidden() *AddImageForbidden

NewAddImageForbidden creates a AddImageForbidden with default headers values

func (*AddImageForbidden) Error added in v0.1.18

func (o *AddImageForbidden) Error() string

type AddImageParams

type AddImageParams struct {

	/*XDispatchOrg*/
	XDispatchOrg string
	/*Body
	  Image object

	*/
	Body *v1.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 *v1.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) SetXDispatchOrg added in v0.1.16

func (o *AddImageParams) SetXDispatchOrg(xDispatchOrg string)

SetXDispatchOrg adds the xDispatchOrg to the add image params

func (*AddImageParams) WithBody

func (o *AddImageParams) WithBody(body *v1.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) WithXDispatchOrg added in v0.1.16

func (o *AddImageParams) WithXDispatchOrg(xDispatchOrg string) *AddImageParams

WithXDispatchOrg adds the xDispatchOrg 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 AddImageUnauthorized added in v0.1.18

type AddImageUnauthorized struct {
	Payload *v1.Error
}

AddImageUnauthorized handles this case with default header values.

Unauthorized Request

func NewAddImageUnauthorized added in v0.1.18

func NewAddImageUnauthorized() *AddImageUnauthorized

NewAddImageUnauthorized creates a AddImageUnauthorized with default headers values

func (*AddImageUnauthorized) Error added in v0.1.18

func (o *AddImageUnauthorized) Error() string

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 *v1.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 *v1.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 DeleteImageByNameForbidden added in v0.1.18

type DeleteImageByNameForbidden struct {
	Payload *v1.Error
}

DeleteImageByNameForbidden handles this case with default header values.

access to this resource is forbidden

func NewDeleteImageByNameForbidden added in v0.1.18

func NewDeleteImageByNameForbidden() *DeleteImageByNameForbidden

NewDeleteImageByNameForbidden creates a DeleteImageByNameForbidden with default headers values

func (*DeleteImageByNameForbidden) Error added in v0.1.18

type DeleteImageByNameNotFound

type DeleteImageByNameNotFound struct {
	Payload *v1.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 *v1.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 {

	/*XDispatchOrg*/
	XDispatchOrg string
	/*ImageName
	  Name of image to return

	*/
	ImageName string
	/*Tags
	  Filter on image tags

	*/
	Tags []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) SetTags added in v0.1.13

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

SetTags adds the tags 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) SetXDispatchOrg added in v0.1.16

func (o *DeleteImageByNameParams) SetXDispatchOrg(xDispatchOrg string)

SetXDispatchOrg adds the xDispatchOrg 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) WithTags added in v0.1.13

WithTags adds the tags to the delete image by name params

func (*DeleteImageByNameParams) WithTimeout

WithTimeout adds the timeout to the delete image by name params

func (*DeleteImageByNameParams) WithXDispatchOrg added in v0.1.16

func (o *DeleteImageByNameParams) WithXDispatchOrg(xDispatchOrg string) *DeleteImageByNameParams

WithXDispatchOrg adds the xDispatchOrg 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 DeleteImageByNameUnauthorized added in v0.1.18

type DeleteImageByNameUnauthorized struct {
	Payload *v1.Error
}

DeleteImageByNameUnauthorized handles this case with default header values.

Unauthorized Request

func NewDeleteImageByNameUnauthorized added in v0.1.18

func NewDeleteImageByNameUnauthorized() *DeleteImageByNameUnauthorized

NewDeleteImageByNameUnauthorized creates a DeleteImageByNameUnauthorized with default headers values

func (*DeleteImageByNameUnauthorized) Error added in v0.1.18

type GetImageByNameBadRequest

type GetImageByNameBadRequest struct {
	Payload *v1.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 *v1.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 GetImageByNameForbidden added in v0.1.18

type GetImageByNameForbidden struct {
	Payload *v1.Error
}

GetImageByNameForbidden handles this case with default header values.

access to this resource is forbidden

func NewGetImageByNameForbidden added in v0.1.18

func NewGetImageByNameForbidden() *GetImageByNameForbidden

NewGetImageByNameForbidden creates a GetImageByNameForbidden with default headers values

func (*GetImageByNameForbidden) Error added in v0.1.18

func (o *GetImageByNameForbidden) Error() string

type GetImageByNameNotFound

type GetImageByNameNotFound struct {
	Payload *v1.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 *v1.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 {

	/*XDispatchOrg*/
	XDispatchOrg string
	/*ImageName
	  Name of image to return

	*/
	ImageName string
	/*Tags
	  Filter on image tags

	*/
	Tags []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) SetTags added in v0.1.13

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

SetTags adds the tags 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) SetXDispatchOrg added in v0.1.16

func (o *GetImageByNameParams) SetXDispatchOrg(xDispatchOrg string)

SetXDispatchOrg adds the xDispatchOrg 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) WithTags added in v0.1.13

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

WithTags adds the tags 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) WithXDispatchOrg added in v0.1.16

func (o *GetImageByNameParams) WithXDispatchOrg(xDispatchOrg string) *GetImageByNameParams

WithXDispatchOrg adds the xDispatchOrg 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 GetImageByNameUnauthorized added in v0.1.18

type GetImageByNameUnauthorized struct {
	Payload *v1.Error
}

GetImageByNameUnauthorized handles this case with default header values.

Unauthorized Request

func NewGetImageByNameUnauthorized added in v0.1.18

func NewGetImageByNameUnauthorized() *GetImageByNameUnauthorized

NewGetImageByNameUnauthorized creates a GetImageByNameUnauthorized with default headers values

func (*GetImageByNameUnauthorized) Error added in v0.1.18

type GetImagesBadRequest added in v0.1.13

type GetImagesBadRequest struct {
	Payload *v1.Error
}

GetImagesBadRequest handles this case with default header values.

Invalid input

func NewGetImagesBadRequest added in v0.1.13

func NewGetImagesBadRequest() *GetImagesBadRequest

NewGetImagesBadRequest creates a GetImagesBadRequest with default headers values

func (*GetImagesBadRequest) Error added in v0.1.13

func (o *GetImagesBadRequest) Error() string

type GetImagesDefault

type GetImagesDefault struct {
	Payload *v1.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 GetImagesForbidden added in v0.1.18

type GetImagesForbidden struct {
	Payload *v1.Error
}

GetImagesForbidden handles this case with default header values.

access to this resource is forbidden

func NewGetImagesForbidden added in v0.1.18

func NewGetImagesForbidden() *GetImagesForbidden

NewGetImagesForbidden creates a GetImagesForbidden with default headers values

func (*GetImagesForbidden) Error added in v0.1.18

func (o *GetImagesForbidden) Error() string

type GetImagesOK

type GetImagesOK struct {
	Payload []*v1.Image
}

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 {

	/*XDispatchOrg*/
	XDispatchOrg string
	/*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) SetXDispatchOrg added in v0.1.16

func (o *GetImagesParams) SetXDispatchOrg(xDispatchOrg string)

SetXDispatchOrg adds the xDispatchOrg 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) WithXDispatchOrg added in v0.1.16

func (o *GetImagesParams) WithXDispatchOrg(xDispatchOrg string) *GetImagesParams

WithXDispatchOrg adds the xDispatchOrg 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 GetImagesUnauthorized added in v0.1.18

type GetImagesUnauthorized struct {
	Payload *v1.Error
}

GetImagesUnauthorized handles this case with default header values.

Unauthorized Request

func NewGetImagesUnauthorized added in v0.1.18

func NewGetImagesUnauthorized() *GetImagesUnauthorized

NewGetImagesUnauthorized creates a GetImagesUnauthorized with default headers values

func (*GetImagesUnauthorized) Error added in v0.1.18

func (o *GetImagesUnauthorized) Error() string

type UpdateImageByNameBadRequest

type UpdateImageByNameBadRequest struct {
	Payload *v1.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 *v1.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 UpdateImageByNameForbidden added in v0.1.18

type UpdateImageByNameForbidden struct {
	Payload *v1.Error
}

UpdateImageByNameForbidden handles this case with default header values.

access to this resource is forbidden

func NewUpdateImageByNameForbidden added in v0.1.18

func NewUpdateImageByNameForbidden() *UpdateImageByNameForbidden

NewUpdateImageByNameForbidden creates a UpdateImageByNameForbidden with default headers values

func (*UpdateImageByNameForbidden) Error added in v0.1.18

type UpdateImageByNameNotFound

type UpdateImageByNameNotFound struct {
	Payload *v1.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 *v1.Image
}

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 {

	/*XDispatchOrg*/
	XDispatchOrg string
	/*Body*/
	Body *v1.Image
	/*ImageName
	  Name of image to return

	*/
	ImageName string
	/*Tags
	  Filter on image tags

	*/
	Tags []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 *v1.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) SetTags added in v0.1.13

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

SetTags adds the tags 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) SetXDispatchOrg added in v0.1.16

func (o *UpdateImageByNameParams) SetXDispatchOrg(xDispatchOrg string)

SetXDispatchOrg adds the xDispatchOrg 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) WithTags added in v0.1.13

WithTags adds the tags to the update image by name params

func (*UpdateImageByNameParams) WithTimeout

WithTimeout adds the timeout to the update image by name params

func (*UpdateImageByNameParams) WithXDispatchOrg added in v0.1.16

func (o *UpdateImageByNameParams) WithXDispatchOrg(xDispatchOrg string) *UpdateImageByNameParams

WithXDispatchOrg adds the xDispatchOrg 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.

type UpdateImageByNameUnauthorized added in v0.1.18

type UpdateImageByNameUnauthorized struct {
	Payload *v1.Error
}

UpdateImageByNameUnauthorized handles this case with default header values.

Unauthorized Request

func NewUpdateImageByNameUnauthorized added in v0.1.18

func NewUpdateImageByNameUnauthorized() *UpdateImageByNameUnauthorized

NewUpdateImageByNameUnauthorized creates a UpdateImageByNameUnauthorized with default headers values

func (*UpdateImageByNameUnauthorized) Error added in v0.1.18

Jump to

Keyboard shortcuts

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