Documentation ¶
Index ¶
- type Client
- func (a *Client) GetClusterImages(params *GetClusterImagesParams, opts ...ClientOption) (*GetClusterImagesOK, error)
- func (a *Client) GetClusterImagesConnection(params *GetClusterImagesConnectionParams, opts ...ClientOption) (*GetClusterImagesConnectionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetClusterImagesBadRequest
- type GetClusterImagesConnectionBadRequest
- type GetClusterImagesConnectionInternalServerError
- type GetClusterImagesConnectionNotFound
- type GetClusterImagesConnectionOK
- type GetClusterImagesConnectionParams
- func NewGetClusterImagesConnectionParams() *GetClusterImagesConnectionParams
- func NewGetClusterImagesConnectionParamsWithContext(ctx context.Context) *GetClusterImagesConnectionParams
- func NewGetClusterImagesConnectionParamsWithHTTPClient(client *http.Client) *GetClusterImagesConnectionParams
- func NewGetClusterImagesConnectionParamsWithTimeout(timeout time.Duration) *GetClusterImagesConnectionParams
- func (o *GetClusterImagesConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetClusterImagesConnectionParams) SetContext(ctx context.Context)
- func (o *GetClusterImagesConnectionParams) SetDefaults()
- func (o *GetClusterImagesConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetClusterImagesConnectionParams) SetRequestBody(requestBody *models.GetClusterImagesConnectionRequestBody)
- func (o *GetClusterImagesConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetClusterImagesConnectionParams) WithContentLanguage(contentLanguage *string) *GetClusterImagesConnectionParams
- func (o *GetClusterImagesConnectionParams) WithContext(ctx context.Context) *GetClusterImagesConnectionParams
- func (o *GetClusterImagesConnectionParams) WithDefaults() *GetClusterImagesConnectionParams
- func (o *GetClusterImagesConnectionParams) WithHTTPClient(client *http.Client) *GetClusterImagesConnectionParams
- func (o *GetClusterImagesConnectionParams) WithRequestBody(requestBody *models.GetClusterImagesConnectionRequestBody) *GetClusterImagesConnectionParams
- func (o *GetClusterImagesConnectionParams) WithTimeout(timeout time.Duration) *GetClusterImagesConnectionParams
- func (o *GetClusterImagesConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetClusterImagesConnectionReader
- type GetClusterImagesInternalServerError
- type GetClusterImagesNotFound
- type GetClusterImagesOK
- type GetClusterImagesParams
- func NewGetClusterImagesParams() *GetClusterImagesParams
- func NewGetClusterImagesParamsWithContext(ctx context.Context) *GetClusterImagesParams
- func NewGetClusterImagesParamsWithHTTPClient(client *http.Client) *GetClusterImagesParams
- func NewGetClusterImagesParamsWithTimeout(timeout time.Duration) *GetClusterImagesParams
- func (o *GetClusterImagesParams) SetContentLanguage(contentLanguage *string)
- func (o *GetClusterImagesParams) SetContext(ctx context.Context)
- func (o *GetClusterImagesParams) SetDefaults()
- func (o *GetClusterImagesParams) SetHTTPClient(client *http.Client)
- func (o *GetClusterImagesParams) SetRequestBody(requestBody *models.GetClusterImagesRequestBody)
- func (o *GetClusterImagesParams) SetTimeout(timeout time.Duration)
- func (o *GetClusterImagesParams) WithContentLanguage(contentLanguage *string) *GetClusterImagesParams
- func (o *GetClusterImagesParams) WithContext(ctx context.Context) *GetClusterImagesParams
- func (o *GetClusterImagesParams) WithDefaults() *GetClusterImagesParams
- func (o *GetClusterImagesParams) WithHTTPClient(client *http.Client) *GetClusterImagesParams
- func (o *GetClusterImagesParams) WithRequestBody(requestBody *models.GetClusterImagesRequestBody) *GetClusterImagesParams
- func (o *GetClusterImagesParams) WithTimeout(timeout time.Duration) *GetClusterImagesParams
- func (o *GetClusterImagesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetClusterImagesReader
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 ¶
GetClusterImagesBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetClusterImagesBadRequest ¶
func NewGetClusterImagesBadRequest() *GetClusterImagesBadRequest
NewGetClusterImagesBadRequest creates a GetClusterImagesBadRequest with default headers values
func (*GetClusterImagesBadRequest) Error ¶
func (o *GetClusterImagesBadRequest) Error() string
func (*GetClusterImagesBadRequest) GetPayload ¶
func (o *GetClusterImagesBadRequest) GetPayload() *models.ErrorBody
type GetClusterImagesConnectionBadRequest ¶
type GetClusterImagesConnectionBadRequest struct { XTowerRequestID string Payload *models.ErrorBody }
GetClusterImagesConnectionBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetClusterImagesConnectionBadRequest ¶
func NewGetClusterImagesConnectionBadRequest() *GetClusterImagesConnectionBadRequest
NewGetClusterImagesConnectionBadRequest creates a GetClusterImagesConnectionBadRequest with default headers values
func (*GetClusterImagesConnectionBadRequest) Error ¶
func (o *GetClusterImagesConnectionBadRequest) Error() string
func (*GetClusterImagesConnectionBadRequest) GetPayload ¶
func (o *GetClusterImagesConnectionBadRequest) GetPayload() *models.ErrorBody
type GetClusterImagesConnectionInternalServerError ¶
type GetClusterImagesConnectionInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
GetClusterImagesConnectionInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetClusterImagesConnectionInternalServerError ¶
func NewGetClusterImagesConnectionInternalServerError() *GetClusterImagesConnectionInternalServerError
NewGetClusterImagesConnectionInternalServerError creates a GetClusterImagesConnectionInternalServerError with default headers values
func (*GetClusterImagesConnectionInternalServerError) Error ¶
func (o *GetClusterImagesConnectionInternalServerError) Error() string
func (*GetClusterImagesConnectionInternalServerError) GetPayload ¶
func (o *GetClusterImagesConnectionInternalServerError) GetPayload() *models.ErrorBody
type GetClusterImagesConnectionNotFound ¶
GetClusterImagesConnectionNotFound describes a response with status code 404, with default header values.
Not found
func NewGetClusterImagesConnectionNotFound ¶
func NewGetClusterImagesConnectionNotFound() *GetClusterImagesConnectionNotFound
NewGetClusterImagesConnectionNotFound creates a GetClusterImagesConnectionNotFound with default headers values
func (*GetClusterImagesConnectionNotFound) Error ¶
func (o *GetClusterImagesConnectionNotFound) Error() string
func (*GetClusterImagesConnectionNotFound) GetPayload ¶
func (o *GetClusterImagesConnectionNotFound) GetPayload() *models.ErrorBody
type GetClusterImagesConnectionOK ¶
type GetClusterImagesConnectionOK struct { XTowerRequestID string Payload *models.ClusterImageConnection }
GetClusterImagesConnectionOK describes a response with status code 200, with default header values.
GetClusterImagesConnectionOK get cluster images connection o k
func NewGetClusterImagesConnectionOK ¶
func NewGetClusterImagesConnectionOK() *GetClusterImagesConnectionOK
NewGetClusterImagesConnectionOK creates a GetClusterImagesConnectionOK with default headers values
func (*GetClusterImagesConnectionOK) Error ¶
func (o *GetClusterImagesConnectionOK) Error() string
func (*GetClusterImagesConnectionOK) GetPayload ¶
func (o *GetClusterImagesConnectionOK) GetPayload() *models.ClusterImageConnection
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 ¶
func (o *GetClusterImagesConnectionParams) SetContext(ctx context.Context)
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 ¶
func (o *GetClusterImagesConnectionParams) SetRequestBody(requestBody *models.GetClusterImagesConnectionRequestBody)
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 ¶
func (o *GetClusterImagesConnectionParams) WithContext(ctx context.Context) *GetClusterImagesConnectionParams
WithContext adds the context to the get cluster images connection params
func (*GetClusterImagesConnectionParams) WithDefaults ¶
func (o *GetClusterImagesConnectionParams) WithDefaults() *GetClusterImagesConnectionParams
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 ¶
func (o *GetClusterImagesConnectionParams) WithHTTPClient(client *http.Client) *GetClusterImagesConnectionParams
WithHTTPClient adds the HTTPClient to the get cluster images connection params
func (*GetClusterImagesConnectionParams) WithRequestBody ¶
func (o *GetClusterImagesConnectionParams) WithRequestBody(requestBody *models.GetClusterImagesConnectionRequestBody) *GetClusterImagesConnectionParams
WithRequestBody adds the requestBody to the get cluster images connection params
func (*GetClusterImagesConnectionParams) WithTimeout ¶
func (o *GetClusterImagesConnectionParams) WithTimeout(timeout time.Duration) *GetClusterImagesConnectionParams
WithTimeout adds the timeout to the get cluster images connection params
func (*GetClusterImagesConnectionParams) WriteToRequest ¶
func (o *GetClusterImagesConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 GetClusterImagesInternalServerError ¶
type GetClusterImagesInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
GetClusterImagesInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetClusterImagesInternalServerError ¶
func NewGetClusterImagesInternalServerError() *GetClusterImagesInternalServerError
NewGetClusterImagesInternalServerError creates a GetClusterImagesInternalServerError with default headers values
func (*GetClusterImagesInternalServerError) Error ¶
func (o *GetClusterImagesInternalServerError) Error() string
func (*GetClusterImagesInternalServerError) GetPayload ¶
func (o *GetClusterImagesInternalServerError) GetPayload() *models.ErrorBody
type GetClusterImagesNotFound ¶
GetClusterImagesNotFound describes a response with status code 404, with default header values.
Not found
func NewGetClusterImagesNotFound ¶
func NewGetClusterImagesNotFound() *GetClusterImagesNotFound
NewGetClusterImagesNotFound creates a GetClusterImagesNotFound with default headers values
func (*GetClusterImagesNotFound) Error ¶
func (o *GetClusterImagesNotFound) Error() string
func (*GetClusterImagesNotFound) GetPayload ¶
func (o *GetClusterImagesNotFound) GetPayload() *models.ErrorBody
type GetClusterImagesOK ¶
type GetClusterImagesOK struct { XTowerRequestID string Payload []*models.ClusterImage }
GetClusterImagesOK describes a response with status code 200, with default header values.
GetClusterImagesOK get cluster images o k
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 ¶
func (o *GetClusterImagesParams) WithContext(ctx context.Context) *GetClusterImagesParams
WithContext adds the context to the get cluster images params
func (*GetClusterImagesParams) WithDefaults ¶
func (o *GetClusterImagesParams) WithDefaults() *GetClusterImagesParams
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 ¶
func (o *GetClusterImagesParams) WithRequestBody(requestBody *models.GetClusterImagesRequestBody) *GetClusterImagesParams
WithRequestBody adds the requestBody to the get cluster images params
func (*GetClusterImagesParams) WithTimeout ¶
func (o *GetClusterImagesParams) WithTimeout(timeout time.Duration) *GetClusterImagesParams
WithTimeout adds the timeout to the get cluster images params
func (*GetClusterImagesParams) WriteToRequest ¶
func (o *GetClusterImagesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.