images

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2019 License: Apache-2.0 Imports: 10 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 images API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new images API client.

func (*Client) GetImages

func (a *Client) GetImages(params *GetImagesParams) (*GetImagesOK, error)

GetImages gets images

Get all images defined in ImageProfile.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type GetImagesForbidden

type GetImagesForbidden struct {
}

GetImagesForbidden handles this case with default header values.

Forbidden

func NewGetImagesForbidden

func NewGetImagesForbidden() *GetImagesForbidden

NewGetImagesForbidden creates a GetImagesForbidden with default headers values

func (*GetImagesForbidden) Error

func (o *GetImagesForbidden) Error() string

type GetImagesOK

type GetImagesOK struct {
	Payload *models.ImageResult
}

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

func (*GetImagesOK) GetPayload

func (o *GetImagesOK) GetPayload() *models.ImageResult

type GetImagesParams

type GetImagesParams struct {

	/*APIVersion
	  The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /iaas/api/about

	*/
	APIVersion *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) SetAPIVersion

func (o *GetImagesParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the get images params

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

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

SetTimeout adds the timeout to the get images params

func (*GetImagesParams) WithAPIVersion

func (o *GetImagesParams) WithAPIVersion(aPIVersion *string) *GetImagesParams

WithAPIVersion adds the aPIVersion 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) WithTimeout

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

WithTimeout adds the timeout to the get images params

func (*GetImagesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetImagesReader

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

GetImagesReader is a Reader for the GetImages structure.

func (*GetImagesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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