Documentation ¶
Index ¶
- type AddImageBadRequest
- type AddImageConflict
- type AddImageCreated
- type AddImageDefault
- type AddImageForbidden
- type AddImageParams
- func (o *AddImageParams) SetBody(body *v1.Image)
- func (o *AddImageParams) SetContext(ctx context.Context)
- func (o *AddImageParams) SetHTTPClient(client *http.Client)
- func (o *AddImageParams) SetTimeout(timeout time.Duration)
- func (o *AddImageParams) SetXDispatchOrg(xDispatchOrg string)
- func (o *AddImageParams) WithBody(body *v1.Image) *AddImageParams
- func (o *AddImageParams) WithContext(ctx context.Context) *AddImageParams
- func (o *AddImageParams) WithHTTPClient(client *http.Client) *AddImageParams
- func (o *AddImageParams) WithTimeout(timeout time.Duration) *AddImageParams
- func (o *AddImageParams) WithXDispatchOrg(xDispatchOrg string) *AddImageParams
- func (o *AddImageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddImageReader
- type AddImageUnauthorized
- type Client
- func (a *Client) AddImage(params *AddImageParams, authInfo runtime.ClientAuthInfoWriter) (*AddImageCreated, error)
- func (a *Client) DeleteImageByName(params *DeleteImageByNameParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteImageByNameOK, error)
- func (a *Client) GetImageByName(params *GetImageByNameParams, authInfo runtime.ClientAuthInfoWriter) (*GetImageByNameOK, error)
- func (a *Client) GetImages(params *GetImagesParams, authInfo runtime.ClientAuthInfoWriter) (*GetImagesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateImageByName(params *UpdateImageByNameParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateImageByNameOK, error)
- type DeleteImageByNameBadRequest
- type DeleteImageByNameDefault
- type DeleteImageByNameForbidden
- type DeleteImageByNameNotFound
- type DeleteImageByNameOK
- type DeleteImageByNameParams
- func NewDeleteImageByNameParams() *DeleteImageByNameParams
- func NewDeleteImageByNameParamsWithContext(ctx context.Context) *DeleteImageByNameParams
- func NewDeleteImageByNameParamsWithHTTPClient(client *http.Client) *DeleteImageByNameParams
- func NewDeleteImageByNameParamsWithTimeout(timeout time.Duration) *DeleteImageByNameParams
- func (o *DeleteImageByNameParams) SetContext(ctx context.Context)
- func (o *DeleteImageByNameParams) SetHTTPClient(client *http.Client)
- func (o *DeleteImageByNameParams) SetImageName(imageName string)
- func (o *DeleteImageByNameParams) SetTags(tags []string)
- func (o *DeleteImageByNameParams) SetTimeout(timeout time.Duration)
- func (o *DeleteImageByNameParams) SetXDispatchOrg(xDispatchOrg string)
- func (o *DeleteImageByNameParams) WithContext(ctx context.Context) *DeleteImageByNameParams
- func (o *DeleteImageByNameParams) WithHTTPClient(client *http.Client) *DeleteImageByNameParams
- func (o *DeleteImageByNameParams) WithImageName(imageName string) *DeleteImageByNameParams
- func (o *DeleteImageByNameParams) WithTags(tags []string) *DeleteImageByNameParams
- func (o *DeleteImageByNameParams) WithTimeout(timeout time.Duration) *DeleteImageByNameParams
- func (o *DeleteImageByNameParams) WithXDispatchOrg(xDispatchOrg string) *DeleteImageByNameParams
- func (o *DeleteImageByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteImageByNameReader
- type DeleteImageByNameUnauthorized
- type GetImageByNameBadRequest
- type GetImageByNameDefault
- type GetImageByNameForbidden
- type GetImageByNameNotFound
- type GetImageByNameOK
- type GetImageByNameParams
- func NewGetImageByNameParams() *GetImageByNameParams
- func NewGetImageByNameParamsWithContext(ctx context.Context) *GetImageByNameParams
- func NewGetImageByNameParamsWithHTTPClient(client *http.Client) *GetImageByNameParams
- func NewGetImageByNameParamsWithTimeout(timeout time.Duration) *GetImageByNameParams
- func (o *GetImageByNameParams) SetContext(ctx context.Context)
- func (o *GetImageByNameParams) SetHTTPClient(client *http.Client)
- func (o *GetImageByNameParams) SetImageName(imageName string)
- func (o *GetImageByNameParams) SetTags(tags []string)
- func (o *GetImageByNameParams) SetTimeout(timeout time.Duration)
- func (o *GetImageByNameParams) SetXDispatchOrg(xDispatchOrg string)
- func (o *GetImageByNameParams) WithContext(ctx context.Context) *GetImageByNameParams
- func (o *GetImageByNameParams) WithHTTPClient(client *http.Client) *GetImageByNameParams
- func (o *GetImageByNameParams) WithImageName(imageName string) *GetImageByNameParams
- func (o *GetImageByNameParams) WithTags(tags []string) *GetImageByNameParams
- func (o *GetImageByNameParams) WithTimeout(timeout time.Duration) *GetImageByNameParams
- func (o *GetImageByNameParams) WithXDispatchOrg(xDispatchOrg string) *GetImageByNameParams
- func (o *GetImageByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetImageByNameReader
- type GetImageByNameUnauthorized
- type GetImagesBadRequest
- type GetImagesDefault
- type GetImagesForbidden
- type GetImagesOK
- type GetImagesParams
- func (o *GetImagesParams) SetContext(ctx context.Context)
- func (o *GetImagesParams) SetHTTPClient(client *http.Client)
- func (o *GetImagesParams) SetLanguage(language *string)
- func (o *GetImagesParams) SetTags(tags []string)
- func (o *GetImagesParams) SetTimeout(timeout time.Duration)
- func (o *GetImagesParams) SetXDispatchOrg(xDispatchOrg string)
- func (o *GetImagesParams) WithContext(ctx context.Context) *GetImagesParams
- func (o *GetImagesParams) WithHTTPClient(client *http.Client) *GetImagesParams
- func (o *GetImagesParams) WithLanguage(language *string) *GetImagesParams
- func (o *GetImagesParams) WithTags(tags []string) *GetImagesParams
- func (o *GetImagesParams) WithTimeout(timeout time.Duration) *GetImagesParams
- func (o *GetImagesParams) WithXDispatchOrg(xDispatchOrg string) *GetImagesParams
- func (o *GetImagesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetImagesReader
- type GetImagesUnauthorized
- type UpdateImageByNameBadRequest
- type UpdateImageByNameDefault
- type UpdateImageByNameForbidden
- type UpdateImageByNameNotFound
- type UpdateImageByNameOK
- type UpdateImageByNameParams
- func NewUpdateImageByNameParams() *UpdateImageByNameParams
- func NewUpdateImageByNameParamsWithContext(ctx context.Context) *UpdateImageByNameParams
- func NewUpdateImageByNameParamsWithHTTPClient(client *http.Client) *UpdateImageByNameParams
- func NewUpdateImageByNameParamsWithTimeout(timeout time.Duration) *UpdateImageByNameParams
- func (o *UpdateImageByNameParams) SetBody(body *v1.Image)
- func (o *UpdateImageByNameParams) SetContext(ctx context.Context)
- func (o *UpdateImageByNameParams) SetHTTPClient(client *http.Client)
- func (o *UpdateImageByNameParams) SetImageName(imageName string)
- func (o *UpdateImageByNameParams) SetTags(tags []string)
- func (o *UpdateImageByNameParams) SetTimeout(timeout time.Duration)
- func (o *UpdateImageByNameParams) SetXDispatchOrg(xDispatchOrg string)
- func (o *UpdateImageByNameParams) WithBody(body *v1.Image) *UpdateImageByNameParams
- func (o *UpdateImageByNameParams) WithContext(ctx context.Context) *UpdateImageByNameParams
- func (o *UpdateImageByNameParams) WithHTTPClient(client *http.Client) *UpdateImageByNameParams
- func (o *UpdateImageByNameParams) WithImageName(imageName string) *UpdateImageByNameParams
- func (o *UpdateImageByNameParams) WithTags(tags []string) *UpdateImageByNameParams
- func (o *UpdateImageByNameParams) WithTimeout(timeout time.Duration) *UpdateImageByNameParams
- func (o *UpdateImageByNameParams) WithXDispatchOrg(xDispatchOrg string) *UpdateImageByNameParams
- func (o *UpdateImageByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateImageByNameReader
- type UpdateImageByNameUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddImageBadRequest ¶
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
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 ¶
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 ¶
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
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 {
}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 ¶
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 ¶
func (o *DeleteImageByNameBadRequest) Error() string
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
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
func (o *DeleteImageByNameForbidden) Error() string
type DeleteImageByNameNotFound ¶
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 ¶
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 ¶
func (o *DeleteImageByNameParams) WithContext(ctx context.Context) *DeleteImageByNameParams
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
func (o *DeleteImageByNameParams) WithTags(tags []string) *DeleteImageByNameParams
WithTags adds the tags to the delete image by name params
func (*DeleteImageByNameParams) WithTimeout ¶
func (o *DeleteImageByNameParams) WithTimeout(timeout time.Duration) *DeleteImageByNameParams
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 ¶
func (o *DeleteImageByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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
func (o *DeleteImageByNameUnauthorized) Error() string
type GetImageByNameBadRequest ¶
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 ¶
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
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 ¶
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 ¶
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 ¶
func (o *GetImageByNameParams) WithContext(ctx context.Context) *GetImageByNameParams
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 {
}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
func (o *GetImageByNameUnauthorized) Error() string
type GetImagesBadRequest ¶ added in v0.1.13
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 ¶
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
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 ¶
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 {
}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 ¶
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 ¶
func (o *UpdateImageByNameBadRequest) Error() string
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
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
func (o *UpdateImageByNameForbidden) Error() string
type UpdateImageByNameNotFound ¶
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 ¶
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 ¶
func (o *UpdateImageByNameParams) WithBody(body *v1.Image) *UpdateImageByNameParams
WithBody adds the body to the update image by name params
func (*UpdateImageByNameParams) WithContext ¶
func (o *UpdateImageByNameParams) WithContext(ctx context.Context) *UpdateImageByNameParams
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
func (o *UpdateImageByNameParams) WithTags(tags []string) *UpdateImageByNameParams
WithTags adds the tags to the update image by name params
func (*UpdateImageByNameParams) WithTimeout ¶
func (o *UpdateImageByNameParams) WithTimeout(timeout time.Duration) *UpdateImageByNameParams
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 ¶
func (o *UpdateImageByNameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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
func (o *UpdateImageByNameUnauthorized) Error() string
Source Files ¶
- add_image_parameters.go
- add_image_responses.go
- delete_image_by_name_parameters.go
- delete_image_by_name_responses.go
- get_image_by_name_parameters.go
- get_image_by_name_responses.go
- get_images_parameters.go
- get_images_responses.go
- image_client.go
- update_image_by_name_parameters.go
- update_image_by_name_responses.go