cluster_image

package
v0.0.0-...-67cd95e Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2022 License: MIT 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 cluster image API

func (*Client) GetClusterImages

func (a *Client) GetClusterImages(params *GetClusterImagesParams, opts ...ClientOption) (*GetClusterImagesOK, error)

GetClusterImages get cluster images API

func (*Client) GetClusterImagesConnection

func (a *Client) GetClusterImagesConnection(params *GetClusterImagesConnectionParams, opts ...ClientOption) (*GetClusterImagesConnectionOK, error)

GetClusterImagesConnection get cluster images connection API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	GetClusterImages(params *GetClusterImagesParams, opts ...ClientOption) (*GetClusterImagesOK, error)

	GetClusterImagesConnection(params *GetClusterImagesConnectionParams, opts ...ClientOption) (*GetClusterImagesConnectionOK, 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 cluster image API client.

type GetClusterImagesBadRequest

type GetClusterImagesBadRequest struct {
	Payload string
}
GetClusterImagesBadRequest describes a response with status code 400, with default header values.

GetClusterImagesBadRequest get cluster images bad request

func NewGetClusterImagesBadRequest

func NewGetClusterImagesBadRequest() *GetClusterImagesBadRequest

NewGetClusterImagesBadRequest creates a GetClusterImagesBadRequest with default headers values

func (*GetClusterImagesBadRequest) Error

func (*GetClusterImagesBadRequest) GetPayload

func (o *GetClusterImagesBadRequest) GetPayload() string

type GetClusterImagesConnectionBadRequest

type GetClusterImagesConnectionBadRequest struct {
	Payload string
}
GetClusterImagesConnectionBadRequest describes a response with status code 400, with default header values.

GetClusterImagesConnectionBadRequest get cluster images connection bad request

func NewGetClusterImagesConnectionBadRequest

func NewGetClusterImagesConnectionBadRequest() *GetClusterImagesConnectionBadRequest

NewGetClusterImagesConnectionBadRequest creates a GetClusterImagesConnectionBadRequest with default headers values

func (*GetClusterImagesConnectionBadRequest) Error

func (*GetClusterImagesConnectionBadRequest) GetPayload

type GetClusterImagesConnectionOK

type GetClusterImagesConnectionOK struct {
	Payload *models.ClusterImageConnection
}
GetClusterImagesConnectionOK describes a response with status code 200, with default header values.

Ok

func NewGetClusterImagesConnectionOK

func NewGetClusterImagesConnectionOK() *GetClusterImagesConnectionOK

NewGetClusterImagesConnectionOK creates a GetClusterImagesConnectionOK with default headers values

func (*GetClusterImagesConnectionOK) Error

func (*GetClusterImagesConnectionOK) GetPayload

type GetClusterImagesConnectionParams

type GetClusterImagesConnectionParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetClusterImagesConnectionRequestBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetClusterImagesConnectionParams contains all the parameters to send to the API endpoint

for the get cluster images connection operation.

Typically these are written to a http.Request.

func NewGetClusterImagesConnectionParams

func NewGetClusterImagesConnectionParams() *GetClusterImagesConnectionParams

NewGetClusterImagesConnectionParams creates a new GetClusterImagesConnectionParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetClusterImagesConnectionParamsWithContext

func NewGetClusterImagesConnectionParamsWithContext(ctx context.Context) *GetClusterImagesConnectionParams

NewGetClusterImagesConnectionParamsWithContext creates a new GetClusterImagesConnectionParams object with the ability to set a context for a request.

func NewGetClusterImagesConnectionParamsWithHTTPClient

func NewGetClusterImagesConnectionParamsWithHTTPClient(client *http.Client) *GetClusterImagesConnectionParams

NewGetClusterImagesConnectionParamsWithHTTPClient creates a new GetClusterImagesConnectionParams object with the ability to set a custom HTTPClient for a request.

func NewGetClusterImagesConnectionParamsWithTimeout

func NewGetClusterImagesConnectionParamsWithTimeout(timeout time.Duration) *GetClusterImagesConnectionParams

NewGetClusterImagesConnectionParamsWithTimeout creates a new GetClusterImagesConnectionParams object with the ability to set a timeout on a request.

func (*GetClusterImagesConnectionParams) SetContentLanguage

func (o *GetClusterImagesConnectionParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get cluster images connection params

func (*GetClusterImagesConnectionParams) SetContext

SetContext adds the context to the get cluster images connection params

func (*GetClusterImagesConnectionParams) SetDefaults

func (o *GetClusterImagesConnectionParams) SetDefaults()

SetDefaults hydrates default values in the get cluster images connection params (not the query body).

All values with no default are reset to their zero value.

func (*GetClusterImagesConnectionParams) SetHTTPClient

func (o *GetClusterImagesConnectionParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get cluster images connection params

func (*GetClusterImagesConnectionParams) SetRequestBody

SetRequestBody adds the requestBody to the get cluster images connection params

func (*GetClusterImagesConnectionParams) SetTimeout

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

SetTimeout adds the timeout to the get cluster images connection params

func (*GetClusterImagesConnectionParams) WithContentLanguage

func (o *GetClusterImagesConnectionParams) WithContentLanguage(contentLanguage *string) *GetClusterImagesConnectionParams

WithContentLanguage adds the contentLanguage to the get cluster images connection params

func (*GetClusterImagesConnectionParams) WithContext

WithContext adds the context to the get cluster images connection params

func (*GetClusterImagesConnectionParams) WithDefaults

WithDefaults hydrates default values in the get cluster images connection params (not the query body).

All values with no default are reset to their zero value.

func (*GetClusterImagesConnectionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get cluster images connection params

func (*GetClusterImagesConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get cluster images connection params

func (*GetClusterImagesConnectionParams) WithTimeout

WithTimeout adds the timeout to the get cluster images connection params

func (*GetClusterImagesConnectionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetClusterImagesConnectionReader

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

GetClusterImagesConnectionReader is a Reader for the GetClusterImagesConnection structure.

func (*GetClusterImagesConnectionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetClusterImagesOK

type GetClusterImagesOK struct {
	Payload []*models.ClusterImage
}
GetClusterImagesOK describes a response with status code 200, with default header values.

Ok

func NewGetClusterImagesOK

func NewGetClusterImagesOK() *GetClusterImagesOK

NewGetClusterImagesOK creates a GetClusterImagesOK with default headers values

func (*GetClusterImagesOK) Error

func (o *GetClusterImagesOK) Error() string

func (*GetClusterImagesOK) GetPayload

func (o *GetClusterImagesOK) GetPayload() []*models.ClusterImage

type GetClusterImagesParams

type GetClusterImagesParams struct {

	// ContentLanguage.
	//
	// Default: "en-US"
	ContentLanguage *string

	// RequestBody.
	RequestBody *models.GetClusterImagesRequestBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetClusterImagesParams contains all the parameters to send to the API endpoint

for the get cluster images operation.

Typically these are written to a http.Request.

func NewGetClusterImagesParams

func NewGetClusterImagesParams() *GetClusterImagesParams

NewGetClusterImagesParams creates a new GetClusterImagesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetClusterImagesParamsWithContext

func NewGetClusterImagesParamsWithContext(ctx context.Context) *GetClusterImagesParams

NewGetClusterImagesParamsWithContext creates a new GetClusterImagesParams object with the ability to set a context for a request.

func NewGetClusterImagesParamsWithHTTPClient

func NewGetClusterImagesParamsWithHTTPClient(client *http.Client) *GetClusterImagesParams

NewGetClusterImagesParamsWithHTTPClient creates a new GetClusterImagesParams object with the ability to set a custom HTTPClient for a request.

func NewGetClusterImagesParamsWithTimeout

func NewGetClusterImagesParamsWithTimeout(timeout time.Duration) *GetClusterImagesParams

NewGetClusterImagesParamsWithTimeout creates a new GetClusterImagesParams object with the ability to set a timeout on a request.

func (*GetClusterImagesParams) SetContentLanguage

func (o *GetClusterImagesParams) SetContentLanguage(contentLanguage *string)

SetContentLanguage adds the contentLanguage to the get cluster images params

func (*GetClusterImagesParams) SetContext

func (o *GetClusterImagesParams) SetContext(ctx context.Context)

SetContext adds the context to the get cluster images params

func (*GetClusterImagesParams) SetDefaults

func (o *GetClusterImagesParams) SetDefaults()

SetDefaults hydrates default values in the get cluster images params (not the query body).

All values with no default are reset to their zero value.

func (*GetClusterImagesParams) SetHTTPClient

func (o *GetClusterImagesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get cluster images params

func (*GetClusterImagesParams) SetRequestBody

func (o *GetClusterImagesParams) SetRequestBody(requestBody *models.GetClusterImagesRequestBody)

SetRequestBody adds the requestBody to the get cluster images params

func (*GetClusterImagesParams) SetTimeout

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

SetTimeout adds the timeout to the get cluster images params

func (*GetClusterImagesParams) WithContentLanguage

func (o *GetClusterImagesParams) WithContentLanguage(contentLanguage *string) *GetClusterImagesParams

WithContentLanguage adds the contentLanguage to the get cluster images params

func (*GetClusterImagesParams) WithContext

WithContext adds the context to the get cluster images params

func (*GetClusterImagesParams) WithDefaults

WithDefaults hydrates default values in the get cluster images params (not the query body).

All values with no default are reset to their zero value.

func (*GetClusterImagesParams) WithHTTPClient

func (o *GetClusterImagesParams) WithHTTPClient(client *http.Client) *GetClusterImagesParams

WithHTTPClient adds the HTTPClient to the get cluster images params

func (*GetClusterImagesParams) WithRequestBody

WithRequestBody adds the requestBody to the get cluster images params

func (*GetClusterImagesParams) WithTimeout

WithTimeout adds the timeout to the get cluster images params

func (*GetClusterImagesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetClusterImagesReader

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

GetClusterImagesReader is a Reader for the GetClusterImages structure.

func (*GetClusterImagesReader) ReadResponse

func (o *GetClusterImagesReader) 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