Documentation ¶
Index ¶
- type Client
- type ClientService
- type GetPluginImageBadRequest
- type GetPluginImageConflict
- type GetPluginImageForbidden
- type GetPluginImageInternalServerError
- type GetPluginImageNotFound
- type GetPluginImageOK
- type GetPluginImageParams
- func NewGetPluginImageParams() *GetPluginImageParams
- func NewGetPluginImageParamsWithContext(ctx context.Context) *GetPluginImageParams
- func NewGetPluginImageParamsWithHTTPClient(client *http.Client) *GetPluginImageParams
- func NewGetPluginImageParamsWithTimeout(timeout time.Duration) *GetPluginImageParams
- func (o *GetPluginImageParams) SetContext(ctx context.Context)
- func (o *GetPluginImageParams) SetHTTPClient(client *http.Client)
- func (o *GetPluginImageParams) SetImageType(imageType string)
- func (o *GetPluginImageParams) SetMetadataID(metadataID int64)
- func (o *GetPluginImageParams) SetTimeout(timeout time.Duration)
- func (o *GetPluginImageParams) WithContext(ctx context.Context) *GetPluginImageParams
- func (o *GetPluginImageParams) WithHTTPClient(client *http.Client) *GetPluginImageParams
- func (o *GetPluginImageParams) WithImageType(imageType string) *GetPluginImageParams
- func (o *GetPluginImageParams) WithMetadataID(metadataID int64) *GetPluginImageParams
- func (o *GetPluginImageParams) WithTimeout(timeout time.Duration) *GetPluginImageParams
- func (o *GetPluginImageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPluginImageReader
- type GetPluginImageUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for plugin image controller API
func (*Client) GetPluginImage ¶
func (a *Client) GetPluginImage(params *GetPluginImageParams, authInfo runtime.ClientAuthInfoWriter) (*GetPluginImageOK, error)
GetPluginImage gets
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { GetPluginImage(params *GetPluginImageParams, authInfo runtime.ClientAuthInfoWriter) (*GetPluginImageOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new plugin image controller API client.
type GetPluginImageBadRequest ¶
GetPluginImageBadRequest handles this case with default header values.
Bad Request
func NewGetPluginImageBadRequest ¶
func NewGetPluginImageBadRequest() *GetPluginImageBadRequest
NewGetPluginImageBadRequest creates a GetPluginImageBadRequest with default headers values
func (*GetPluginImageBadRequest) Error ¶
func (o *GetPluginImageBadRequest) Error() string
func (*GetPluginImageBadRequest) GetPayload ¶
func (o *GetPluginImageBadRequest) GetPayload() *models.APIResult
type GetPluginImageConflict ¶
GetPluginImageConflict handles this case with default header values.
Conflict
func NewGetPluginImageConflict ¶
func NewGetPluginImageConflict() *GetPluginImageConflict
NewGetPluginImageConflict creates a GetPluginImageConflict with default headers values
func (*GetPluginImageConflict) Error ¶
func (o *GetPluginImageConflict) Error() string
func (*GetPluginImageConflict) GetPayload ¶
func (o *GetPluginImageConflict) GetPayload() *models.APIResult
type GetPluginImageForbidden ¶
GetPluginImageForbidden handles this case with default header values.
Forbidden
func NewGetPluginImageForbidden ¶
func NewGetPluginImageForbidden() *GetPluginImageForbidden
NewGetPluginImageForbidden creates a GetPluginImageForbidden with default headers values
func (*GetPluginImageForbidden) Error ¶
func (o *GetPluginImageForbidden) Error() string
func (*GetPluginImageForbidden) GetPayload ¶
func (o *GetPluginImageForbidden) GetPayload() *models.APIResult
type GetPluginImageInternalServerError ¶
GetPluginImageInternalServerError handles this case with default header values.
Internal Server Error
func NewGetPluginImageInternalServerError ¶
func NewGetPluginImageInternalServerError() *GetPluginImageInternalServerError
NewGetPluginImageInternalServerError creates a GetPluginImageInternalServerError with default headers values
func (*GetPluginImageInternalServerError) Error ¶
func (o *GetPluginImageInternalServerError) Error() string
func (*GetPluginImageInternalServerError) GetPayload ¶
func (o *GetPluginImageInternalServerError) GetPayload() *models.APIResult
type GetPluginImageNotFound ¶
GetPluginImageNotFound handles this case with default header values.
Not Found
func NewGetPluginImageNotFound ¶
func NewGetPluginImageNotFound() *GetPluginImageNotFound
NewGetPluginImageNotFound creates a GetPluginImageNotFound with default headers values
func (*GetPluginImageNotFound) Error ¶
func (o *GetPluginImageNotFound) Error() string
func (*GetPluginImageNotFound) GetPayload ¶
func (o *GetPluginImageNotFound) GetPayload() *models.APIResult
type GetPluginImageOK ¶
GetPluginImageOK handles this case with default header values.
OK
func NewGetPluginImageOK ¶
func NewGetPluginImageOK() *GetPluginImageOK
NewGetPluginImageOK creates a GetPluginImageOK with default headers values
func (*GetPluginImageOK) Error ¶
func (o *GetPluginImageOK) Error() string
func (*GetPluginImageOK) GetPayload ¶
func (o *GetPluginImageOK) GetPayload() strfmt.Base64
type GetPluginImageParams ¶
type GetPluginImageParams struct { /*ImageType imageType */ ImageType string /*MetadataID metadataId */ MetadataID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPluginImageParams contains all the parameters to send to the API endpoint for the get plugin image operation typically these are written to a http.Request
func NewGetPluginImageParams ¶
func NewGetPluginImageParams() *GetPluginImageParams
NewGetPluginImageParams creates a new GetPluginImageParams object with the default values initialized.
func NewGetPluginImageParamsWithContext ¶
func NewGetPluginImageParamsWithContext(ctx context.Context) *GetPluginImageParams
NewGetPluginImageParamsWithContext creates a new GetPluginImageParams object with the default values initialized, and the ability to set a context for a request
func NewGetPluginImageParamsWithHTTPClient ¶
func NewGetPluginImageParamsWithHTTPClient(client *http.Client) *GetPluginImageParams
NewGetPluginImageParamsWithHTTPClient creates a new GetPluginImageParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetPluginImageParamsWithTimeout ¶
func NewGetPluginImageParamsWithTimeout(timeout time.Duration) *GetPluginImageParams
NewGetPluginImageParamsWithTimeout creates a new GetPluginImageParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetPluginImageParams) SetContext ¶
func (o *GetPluginImageParams) SetContext(ctx context.Context)
SetContext adds the context to the get plugin image params
func (*GetPluginImageParams) SetHTTPClient ¶
func (o *GetPluginImageParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get plugin image params
func (*GetPluginImageParams) SetImageType ¶
func (o *GetPluginImageParams) SetImageType(imageType string)
SetImageType adds the imageType to the get plugin image params
func (*GetPluginImageParams) SetMetadataID ¶
func (o *GetPluginImageParams) SetMetadataID(metadataID int64)
SetMetadataID adds the metadataId to the get plugin image params
func (*GetPluginImageParams) SetTimeout ¶
func (o *GetPluginImageParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get plugin image params
func (*GetPluginImageParams) WithContext ¶
func (o *GetPluginImageParams) WithContext(ctx context.Context) *GetPluginImageParams
WithContext adds the context to the get plugin image params
func (*GetPluginImageParams) WithHTTPClient ¶
func (o *GetPluginImageParams) WithHTTPClient(client *http.Client) *GetPluginImageParams
WithHTTPClient adds the HTTPClient to the get plugin image params
func (*GetPluginImageParams) WithImageType ¶
func (o *GetPluginImageParams) WithImageType(imageType string) *GetPluginImageParams
WithImageType adds the imageType to the get plugin image params
func (*GetPluginImageParams) WithMetadataID ¶
func (o *GetPluginImageParams) WithMetadataID(metadataID int64) *GetPluginImageParams
WithMetadataID adds the metadataID to the get plugin image params
func (*GetPluginImageParams) WithTimeout ¶
func (o *GetPluginImageParams) WithTimeout(timeout time.Duration) *GetPluginImageParams
WithTimeout adds the timeout to the get plugin image params
func (*GetPluginImageParams) WriteToRequest ¶
func (o *GetPluginImageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPluginImageReader ¶
type GetPluginImageReader struct {
// contains filtered or unexported fields
}
GetPluginImageReader is a Reader for the GetPluginImage structure.
func (*GetPluginImageReader) ReadResponse ¶
func (o *GetPluginImageReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPluginImageUnauthorized ¶
type GetPluginImageUnauthorized struct {
}GetPluginImageUnauthorized handles this case with default header values.
Unauthorized
func NewGetPluginImageUnauthorized ¶
func NewGetPluginImageUnauthorized() *GetPluginImageUnauthorized
NewGetPluginImageUnauthorized creates a GetPluginImageUnauthorized with default headers values
func (*GetPluginImageUnauthorized) Error ¶
func (o *GetPluginImageUnauthorized) Error() string
func (*GetPluginImageUnauthorized) GetPayload ¶
func (o *GetPluginImageUnauthorized) GetPayload() *models.APIResult