plugin_image_controller

package
v0.0.0-...-7b3e9a7 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2022 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 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

type GetPluginImageBadRequest struct {
	Payload *models.APIResult
}

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

type GetPluginImageConflict struct {
	Payload *models.APIResult
}

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

type GetPluginImageForbidden struct {
	Payload *models.APIResult
}

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

type GetPluginImageInternalServerError struct {
	Payload *models.APIResult
}

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 (*GetPluginImageInternalServerError) GetPayload

type GetPluginImageNotFound

type GetPluginImageNotFound struct {
	Payload *models.APIResult
}

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

type GetPluginImageOK struct {
	Payload strfmt.Base64
}

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

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 {
	Payload *models.APIResult
}

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 (*GetPluginImageUnauthorized) GetPayload

func (o *GetPluginImageUnauthorized) GetPayload() *models.APIResult

Jump to

Keyboard shortcuts

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