Documentation ¶
Index ¶
- type Client
- func (a *Client) GetDetailVMInfoByGpuDevices(params *GetDetailVMInfoByGpuDevicesParams, opts ...ClientOption) (*GetDetailVMInfoByGpuDevicesOK, error)
- func (a *Client) GetGpuDevices(params *GetGpuDevicesParams, opts ...ClientOption) (*GetGpuDevicesOK, error)
- func (a *Client) GetGpuDevicesConnection(params *GetGpuDevicesConnectionParams, opts ...ClientOption) (*GetGpuDevicesConnectionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) SwitchGpuDeviceSriov(params *SwitchGpuDeviceSriovParams, opts ...ClientOption) (*SwitchGpuDeviceSriovOK, error)
- func (a *Client) UpdateGpuDeviceDescription(params *UpdateGpuDeviceDescriptionParams, opts ...ClientOption) (*UpdateGpuDeviceDescriptionOK, error)
- func (a *Client) UpdateGpuDeviceUsage(params *UpdateGpuDeviceUsageParams, opts ...ClientOption) (*UpdateGpuDeviceUsageOK, error)
- type ClientOption
- type ClientService
- type GetDetailVMInfoByGpuDevicesBadRequest
- type GetDetailVMInfoByGpuDevicesInternalServerError
- type GetDetailVMInfoByGpuDevicesNotFound
- type GetDetailVMInfoByGpuDevicesNotModified
- type GetDetailVMInfoByGpuDevicesOK
- type GetDetailVMInfoByGpuDevicesParams
- func NewGetDetailVMInfoByGpuDevicesParams() *GetDetailVMInfoByGpuDevicesParams
- func NewGetDetailVMInfoByGpuDevicesParamsWithContext(ctx context.Context) *GetDetailVMInfoByGpuDevicesParams
- func NewGetDetailVMInfoByGpuDevicesParamsWithHTTPClient(client *http.Client) *GetDetailVMInfoByGpuDevicesParams
- func NewGetDetailVMInfoByGpuDevicesParamsWithTimeout(timeout time.Duration) *GetDetailVMInfoByGpuDevicesParams
- func (o *GetDetailVMInfoByGpuDevicesParams) SetContentLanguage(contentLanguage *string)
- func (o *GetDetailVMInfoByGpuDevicesParams) SetContext(ctx context.Context)
- func (o *GetDetailVMInfoByGpuDevicesParams) SetDefaults()
- func (o *GetDetailVMInfoByGpuDevicesParams) SetHTTPClient(client *http.Client)
- func (o *GetDetailVMInfoByGpuDevicesParams) SetRequestBody(requestBody *models.GetGpuDevicesRequestBody)
- func (o *GetDetailVMInfoByGpuDevicesParams) SetTimeout(timeout time.Duration)
- func (o *GetDetailVMInfoByGpuDevicesParams) WithContentLanguage(contentLanguage *string) *GetDetailVMInfoByGpuDevicesParams
- func (o *GetDetailVMInfoByGpuDevicesParams) WithContext(ctx context.Context) *GetDetailVMInfoByGpuDevicesParams
- func (o *GetDetailVMInfoByGpuDevicesParams) WithDefaults() *GetDetailVMInfoByGpuDevicesParams
- func (o *GetDetailVMInfoByGpuDevicesParams) WithHTTPClient(client *http.Client) *GetDetailVMInfoByGpuDevicesParams
- func (o *GetDetailVMInfoByGpuDevicesParams) WithRequestBody(requestBody *models.GetGpuDevicesRequestBody) *GetDetailVMInfoByGpuDevicesParams
- func (o *GetDetailVMInfoByGpuDevicesParams) WithTimeout(timeout time.Duration) *GetDetailVMInfoByGpuDevicesParams
- func (o *GetDetailVMInfoByGpuDevicesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDetailVMInfoByGpuDevicesReader
- type GetGpuDevicesBadRequest
- type GetGpuDevicesConnectionBadRequest
- type GetGpuDevicesConnectionInternalServerError
- type GetGpuDevicesConnectionNotFound
- type GetGpuDevicesConnectionOK
- type GetGpuDevicesConnectionParams
- func NewGetGpuDevicesConnectionParams() *GetGpuDevicesConnectionParams
- func NewGetGpuDevicesConnectionParamsWithContext(ctx context.Context) *GetGpuDevicesConnectionParams
- func NewGetGpuDevicesConnectionParamsWithHTTPClient(client *http.Client) *GetGpuDevicesConnectionParams
- func NewGetGpuDevicesConnectionParamsWithTimeout(timeout time.Duration) *GetGpuDevicesConnectionParams
- func (o *GetGpuDevicesConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetGpuDevicesConnectionParams) SetContext(ctx context.Context)
- func (o *GetGpuDevicesConnectionParams) SetDefaults()
- func (o *GetGpuDevicesConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetGpuDevicesConnectionParams) SetRequestBody(requestBody *models.GetGpuDevicesConnectionRequestBody)
- func (o *GetGpuDevicesConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetGpuDevicesConnectionParams) WithContentLanguage(contentLanguage *string) *GetGpuDevicesConnectionParams
- func (o *GetGpuDevicesConnectionParams) WithContext(ctx context.Context) *GetGpuDevicesConnectionParams
- func (o *GetGpuDevicesConnectionParams) WithDefaults() *GetGpuDevicesConnectionParams
- func (o *GetGpuDevicesConnectionParams) WithHTTPClient(client *http.Client) *GetGpuDevicesConnectionParams
- func (o *GetGpuDevicesConnectionParams) WithRequestBody(requestBody *models.GetGpuDevicesConnectionRequestBody) *GetGpuDevicesConnectionParams
- func (o *GetGpuDevicesConnectionParams) WithTimeout(timeout time.Duration) *GetGpuDevicesConnectionParams
- func (o *GetGpuDevicesConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetGpuDevicesConnectionReader
- type GetGpuDevicesInternalServerError
- type GetGpuDevicesNotFound
- type GetGpuDevicesOK
- type GetGpuDevicesParams
- func (o *GetGpuDevicesParams) SetContentLanguage(contentLanguage *string)
- func (o *GetGpuDevicesParams) SetContext(ctx context.Context)
- func (o *GetGpuDevicesParams) SetDefaults()
- func (o *GetGpuDevicesParams) SetHTTPClient(client *http.Client)
- func (o *GetGpuDevicesParams) SetRequestBody(requestBody *models.GetGpuDevicesRequestBody)
- func (o *GetGpuDevicesParams) SetTimeout(timeout time.Duration)
- func (o *GetGpuDevicesParams) WithContentLanguage(contentLanguage *string) *GetGpuDevicesParams
- func (o *GetGpuDevicesParams) WithContext(ctx context.Context) *GetGpuDevicesParams
- func (o *GetGpuDevicesParams) WithDefaults() *GetGpuDevicesParams
- func (o *GetGpuDevicesParams) WithHTTPClient(client *http.Client) *GetGpuDevicesParams
- func (o *GetGpuDevicesParams) WithRequestBody(requestBody *models.GetGpuDevicesRequestBody) *GetGpuDevicesParams
- func (o *GetGpuDevicesParams) WithTimeout(timeout time.Duration) *GetGpuDevicesParams
- func (o *GetGpuDevicesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetGpuDevicesReader
- type SwitchGpuDeviceSriovBadRequest
- type SwitchGpuDeviceSriovInternalServerError
- type SwitchGpuDeviceSriovNotFound
- type SwitchGpuDeviceSriovNotModified
- type SwitchGpuDeviceSriovOK
- type SwitchGpuDeviceSriovParams
- func NewSwitchGpuDeviceSriovParams() *SwitchGpuDeviceSriovParams
- func NewSwitchGpuDeviceSriovParamsWithContext(ctx context.Context) *SwitchGpuDeviceSriovParams
- func NewSwitchGpuDeviceSriovParamsWithHTTPClient(client *http.Client) *SwitchGpuDeviceSriovParams
- func NewSwitchGpuDeviceSriovParamsWithTimeout(timeout time.Duration) *SwitchGpuDeviceSriovParams
- func (o *SwitchGpuDeviceSriovParams) SetContentLanguage(contentLanguage *string)
- func (o *SwitchGpuDeviceSriovParams) SetContext(ctx context.Context)
- func (o *SwitchGpuDeviceSriovParams) SetDefaults()
- func (o *SwitchGpuDeviceSriovParams) SetHTTPClient(client *http.Client)
- func (o *SwitchGpuDeviceSriovParams) SetRequestBody(requestBody *models.GpuDeviceSriovSwitchParams)
- func (o *SwitchGpuDeviceSriovParams) SetTimeout(timeout time.Duration)
- func (o *SwitchGpuDeviceSriovParams) WithContentLanguage(contentLanguage *string) *SwitchGpuDeviceSriovParams
- func (o *SwitchGpuDeviceSriovParams) WithContext(ctx context.Context) *SwitchGpuDeviceSriovParams
- func (o *SwitchGpuDeviceSriovParams) WithDefaults() *SwitchGpuDeviceSriovParams
- func (o *SwitchGpuDeviceSriovParams) WithHTTPClient(client *http.Client) *SwitchGpuDeviceSriovParams
- func (o *SwitchGpuDeviceSriovParams) WithRequestBody(requestBody *models.GpuDeviceSriovSwitchParams) *SwitchGpuDeviceSriovParams
- func (o *SwitchGpuDeviceSriovParams) WithTimeout(timeout time.Duration) *SwitchGpuDeviceSriovParams
- func (o *SwitchGpuDeviceSriovParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SwitchGpuDeviceSriovReader
- type UpdateGpuDeviceDescriptionBadRequest
- type UpdateGpuDeviceDescriptionInternalServerError
- type UpdateGpuDeviceDescriptionNotFound
- type UpdateGpuDeviceDescriptionNotModified
- type UpdateGpuDeviceDescriptionOK
- type UpdateGpuDeviceDescriptionParams
- func NewUpdateGpuDeviceDescriptionParams() *UpdateGpuDeviceDescriptionParams
- func NewUpdateGpuDeviceDescriptionParamsWithContext(ctx context.Context) *UpdateGpuDeviceDescriptionParams
- func NewUpdateGpuDeviceDescriptionParamsWithHTTPClient(client *http.Client) *UpdateGpuDeviceDescriptionParams
- func NewUpdateGpuDeviceDescriptionParamsWithTimeout(timeout time.Duration) *UpdateGpuDeviceDescriptionParams
- func (o *UpdateGpuDeviceDescriptionParams) SetContentLanguage(contentLanguage *string)
- func (o *UpdateGpuDeviceDescriptionParams) SetContext(ctx context.Context)
- func (o *UpdateGpuDeviceDescriptionParams) SetDefaults()
- func (o *UpdateGpuDeviceDescriptionParams) SetHTTPClient(client *http.Client)
- func (o *UpdateGpuDeviceDescriptionParams) SetRequestBody(requestBody *models.GpuDeviceDescriptionUpdationParams)
- func (o *UpdateGpuDeviceDescriptionParams) SetTimeout(timeout time.Duration)
- func (o *UpdateGpuDeviceDescriptionParams) WithContentLanguage(contentLanguage *string) *UpdateGpuDeviceDescriptionParams
- func (o *UpdateGpuDeviceDescriptionParams) WithContext(ctx context.Context) *UpdateGpuDeviceDescriptionParams
- func (o *UpdateGpuDeviceDescriptionParams) WithDefaults() *UpdateGpuDeviceDescriptionParams
- func (o *UpdateGpuDeviceDescriptionParams) WithHTTPClient(client *http.Client) *UpdateGpuDeviceDescriptionParams
- func (o *UpdateGpuDeviceDescriptionParams) WithRequestBody(requestBody *models.GpuDeviceDescriptionUpdationParams) *UpdateGpuDeviceDescriptionParams
- func (o *UpdateGpuDeviceDescriptionParams) WithTimeout(timeout time.Duration) *UpdateGpuDeviceDescriptionParams
- func (o *UpdateGpuDeviceDescriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateGpuDeviceDescriptionReader
- type UpdateGpuDeviceUsageBadRequest
- type UpdateGpuDeviceUsageInternalServerError
- type UpdateGpuDeviceUsageNotFound
- type UpdateGpuDeviceUsageNotModified
- type UpdateGpuDeviceUsageOK
- type UpdateGpuDeviceUsageParams
- func NewUpdateGpuDeviceUsageParams() *UpdateGpuDeviceUsageParams
- func NewUpdateGpuDeviceUsageParamsWithContext(ctx context.Context) *UpdateGpuDeviceUsageParams
- func NewUpdateGpuDeviceUsageParamsWithHTTPClient(client *http.Client) *UpdateGpuDeviceUsageParams
- func NewUpdateGpuDeviceUsageParamsWithTimeout(timeout time.Duration) *UpdateGpuDeviceUsageParams
- func (o *UpdateGpuDeviceUsageParams) SetContentLanguage(contentLanguage *string)
- func (o *UpdateGpuDeviceUsageParams) SetContext(ctx context.Context)
- func (o *UpdateGpuDeviceUsageParams) SetDefaults()
- func (o *UpdateGpuDeviceUsageParams) SetHTTPClient(client *http.Client)
- func (o *UpdateGpuDeviceUsageParams) SetRequestBody(requestBody *models.GpuDeviceUsageUpdationParams)
- func (o *UpdateGpuDeviceUsageParams) SetTimeout(timeout time.Duration)
- func (o *UpdateGpuDeviceUsageParams) WithContentLanguage(contentLanguage *string) *UpdateGpuDeviceUsageParams
- func (o *UpdateGpuDeviceUsageParams) WithContext(ctx context.Context) *UpdateGpuDeviceUsageParams
- func (o *UpdateGpuDeviceUsageParams) WithDefaults() *UpdateGpuDeviceUsageParams
- func (o *UpdateGpuDeviceUsageParams) WithHTTPClient(client *http.Client) *UpdateGpuDeviceUsageParams
- func (o *UpdateGpuDeviceUsageParams) WithRequestBody(requestBody *models.GpuDeviceUsageUpdationParams) *UpdateGpuDeviceUsageParams
- func (o *UpdateGpuDeviceUsageParams) WithTimeout(timeout time.Duration) *UpdateGpuDeviceUsageParams
- func (o *UpdateGpuDeviceUsageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateGpuDeviceUsageReader
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 gpu device API
func (*Client) GetDetailVMInfoByGpuDevices ¶ added in v2.14.0
func (a *Client) GetDetailVMInfoByGpuDevices(params *GetDetailVMInfoByGpuDevicesParams, opts ...ClientOption) (*GetDetailVMInfoByGpuDevicesOK, error)
GetDetailVMInfoByGpuDevices get detail Vm info by gpu devices API
func (*Client) GetGpuDevices ¶
func (a *Client) GetGpuDevices(params *GetGpuDevicesParams, opts ...ClientOption) (*GetGpuDevicesOK, error)
GetGpuDevices get gpu devices API
func (*Client) GetGpuDevicesConnection ¶
func (a *Client) GetGpuDevicesConnection(params *GetGpuDevicesConnectionParams, opts ...ClientOption) (*GetGpuDevicesConnectionOK, error)
GetGpuDevicesConnection get gpu devices connection API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) SwitchGpuDeviceSriov ¶
func (a *Client) SwitchGpuDeviceSriov(params *SwitchGpuDeviceSriovParams, opts ...ClientOption) (*SwitchGpuDeviceSriovOK, error)
SwitchGpuDeviceSriov switch gpu device sriov API
func (*Client) UpdateGpuDeviceDescription ¶
func (a *Client) UpdateGpuDeviceDescription(params *UpdateGpuDeviceDescriptionParams, opts ...ClientOption) (*UpdateGpuDeviceDescriptionOK, error)
UpdateGpuDeviceDescription update gpu device description API
func (*Client) UpdateGpuDeviceUsage ¶
func (a *Client) UpdateGpuDeviceUsage(params *UpdateGpuDeviceUsageParams, opts ...ClientOption) (*UpdateGpuDeviceUsageOK, error)
UpdateGpuDeviceUsage update gpu device usage API
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { GetDetailVMInfoByGpuDevices(params *GetDetailVMInfoByGpuDevicesParams, opts ...ClientOption) (*GetDetailVMInfoByGpuDevicesOK, error) GetGpuDevices(params *GetGpuDevicesParams, opts ...ClientOption) (*GetGpuDevicesOK, error) GetGpuDevicesConnection(params *GetGpuDevicesConnectionParams, opts ...ClientOption) (*GetGpuDevicesConnectionOK, error) SwitchGpuDeviceSriov(params *SwitchGpuDeviceSriovParams, opts ...ClientOption) (*SwitchGpuDeviceSriovOK, error) UpdateGpuDeviceDescription(params *UpdateGpuDeviceDescriptionParams, opts ...ClientOption) (*UpdateGpuDeviceDescriptionOK, error) UpdateGpuDeviceUsage(params *UpdateGpuDeviceUsageParams, opts ...ClientOption) (*UpdateGpuDeviceUsageOK, 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 gpu device API client.
type GetDetailVMInfoByGpuDevicesBadRequest ¶ added in v2.14.0
type GetDetailVMInfoByGpuDevicesBadRequest struct { XTowerRequestID string Payload *models.ErrorBody }
GetDetailVMInfoByGpuDevicesBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetDetailVMInfoByGpuDevicesBadRequest ¶ added in v2.14.0
func NewGetDetailVMInfoByGpuDevicesBadRequest() *GetDetailVMInfoByGpuDevicesBadRequest
NewGetDetailVMInfoByGpuDevicesBadRequest creates a GetDetailVMInfoByGpuDevicesBadRequest with default headers values
func (*GetDetailVMInfoByGpuDevicesBadRequest) Error ¶ added in v2.14.0
func (o *GetDetailVMInfoByGpuDevicesBadRequest) Error() string
func (*GetDetailVMInfoByGpuDevicesBadRequest) GetPayload ¶ added in v2.14.0
func (o *GetDetailVMInfoByGpuDevicesBadRequest) GetPayload() *models.ErrorBody
type GetDetailVMInfoByGpuDevicesInternalServerError ¶ added in v2.14.0
type GetDetailVMInfoByGpuDevicesInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
GetDetailVMInfoByGpuDevicesInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetDetailVMInfoByGpuDevicesInternalServerError ¶ added in v2.14.0
func NewGetDetailVMInfoByGpuDevicesInternalServerError() *GetDetailVMInfoByGpuDevicesInternalServerError
NewGetDetailVMInfoByGpuDevicesInternalServerError creates a GetDetailVMInfoByGpuDevicesInternalServerError with default headers values
func (*GetDetailVMInfoByGpuDevicesInternalServerError) Error ¶ added in v2.14.0
func (o *GetDetailVMInfoByGpuDevicesInternalServerError) Error() string
func (*GetDetailVMInfoByGpuDevicesInternalServerError) GetPayload ¶ added in v2.14.0
func (o *GetDetailVMInfoByGpuDevicesInternalServerError) GetPayload() *models.ErrorBody
type GetDetailVMInfoByGpuDevicesNotFound ¶ added in v2.14.0
type GetDetailVMInfoByGpuDevicesNotFound struct { XTowerRequestID string Payload *models.ErrorBody }
GetDetailVMInfoByGpuDevicesNotFound describes a response with status code 404, with default header values.
Not found
func NewGetDetailVMInfoByGpuDevicesNotFound ¶ added in v2.14.0
func NewGetDetailVMInfoByGpuDevicesNotFound() *GetDetailVMInfoByGpuDevicesNotFound
NewGetDetailVMInfoByGpuDevicesNotFound creates a GetDetailVMInfoByGpuDevicesNotFound with default headers values
func (*GetDetailVMInfoByGpuDevicesNotFound) Error ¶ added in v2.14.0
func (o *GetDetailVMInfoByGpuDevicesNotFound) Error() string
func (*GetDetailVMInfoByGpuDevicesNotFound) GetPayload ¶ added in v2.14.0
func (o *GetDetailVMInfoByGpuDevicesNotFound) GetPayload() *models.ErrorBody
type GetDetailVMInfoByGpuDevicesNotModified ¶ added in v2.14.0
type GetDetailVMInfoByGpuDevicesNotModified struct { }
GetDetailVMInfoByGpuDevicesNotModified describes a response with status code 304, with default header values.
Not modified
func NewGetDetailVMInfoByGpuDevicesNotModified ¶ added in v2.14.0
func NewGetDetailVMInfoByGpuDevicesNotModified() *GetDetailVMInfoByGpuDevicesNotModified
NewGetDetailVMInfoByGpuDevicesNotModified creates a GetDetailVMInfoByGpuDevicesNotModified with default headers values
func (*GetDetailVMInfoByGpuDevicesNotModified) Error ¶ added in v2.14.0
func (o *GetDetailVMInfoByGpuDevicesNotModified) Error() string
type GetDetailVMInfoByGpuDevicesOK ¶ added in v2.14.0
GetDetailVMInfoByGpuDevicesOK describes a response with status code 200, with default header values.
GetDetailVMInfoByGpuDevicesOK get detail Vm info by gpu devices o k
func NewGetDetailVMInfoByGpuDevicesOK ¶ added in v2.14.0
func NewGetDetailVMInfoByGpuDevicesOK() *GetDetailVMInfoByGpuDevicesOK
NewGetDetailVMInfoByGpuDevicesOK creates a GetDetailVMInfoByGpuDevicesOK with default headers values
func (*GetDetailVMInfoByGpuDevicesOK) Error ¶ added in v2.14.0
func (o *GetDetailVMInfoByGpuDevicesOK) Error() string
func (*GetDetailVMInfoByGpuDevicesOK) GetPayload ¶ added in v2.14.0
func (o *GetDetailVMInfoByGpuDevicesOK) GetPayload() []*models.GpuVMInfo
type GetDetailVMInfoByGpuDevicesParams ¶ added in v2.14.0
type GetDetailVMInfoByGpuDevicesParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetGpuDevicesRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDetailVMInfoByGpuDevicesParams contains all the parameters to send to the API endpoint
for the get detail Vm info by gpu devices operation. Typically these are written to a http.Request.
func NewGetDetailVMInfoByGpuDevicesParams ¶ added in v2.14.0
func NewGetDetailVMInfoByGpuDevicesParams() *GetDetailVMInfoByGpuDevicesParams
NewGetDetailVMInfoByGpuDevicesParams creates a new GetDetailVMInfoByGpuDevicesParams 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 NewGetDetailVMInfoByGpuDevicesParamsWithContext ¶ added in v2.14.0
func NewGetDetailVMInfoByGpuDevicesParamsWithContext(ctx context.Context) *GetDetailVMInfoByGpuDevicesParams
NewGetDetailVMInfoByGpuDevicesParamsWithContext creates a new GetDetailVMInfoByGpuDevicesParams object with the ability to set a context for a request.
func NewGetDetailVMInfoByGpuDevicesParamsWithHTTPClient ¶ added in v2.14.0
func NewGetDetailVMInfoByGpuDevicesParamsWithHTTPClient(client *http.Client) *GetDetailVMInfoByGpuDevicesParams
NewGetDetailVMInfoByGpuDevicesParamsWithHTTPClient creates a new GetDetailVMInfoByGpuDevicesParams object with the ability to set a custom HTTPClient for a request.
func NewGetDetailVMInfoByGpuDevicesParamsWithTimeout ¶ added in v2.14.0
func NewGetDetailVMInfoByGpuDevicesParamsWithTimeout(timeout time.Duration) *GetDetailVMInfoByGpuDevicesParams
NewGetDetailVMInfoByGpuDevicesParamsWithTimeout creates a new GetDetailVMInfoByGpuDevicesParams object with the ability to set a timeout on a request.
func (*GetDetailVMInfoByGpuDevicesParams) SetContentLanguage ¶ added in v2.14.0
func (o *GetDetailVMInfoByGpuDevicesParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get detail Vm info by gpu devices params
func (*GetDetailVMInfoByGpuDevicesParams) SetContext ¶ added in v2.14.0
func (o *GetDetailVMInfoByGpuDevicesParams) SetContext(ctx context.Context)
SetContext adds the context to the get detail Vm info by gpu devices params
func (*GetDetailVMInfoByGpuDevicesParams) SetDefaults ¶ added in v2.14.0
func (o *GetDetailVMInfoByGpuDevicesParams) SetDefaults()
SetDefaults hydrates default values in the get detail Vm info by gpu devices params (not the query body).
All values with no default are reset to their zero value.
func (*GetDetailVMInfoByGpuDevicesParams) SetHTTPClient ¶ added in v2.14.0
func (o *GetDetailVMInfoByGpuDevicesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get detail Vm info by gpu devices params
func (*GetDetailVMInfoByGpuDevicesParams) SetRequestBody ¶ added in v2.14.0
func (o *GetDetailVMInfoByGpuDevicesParams) SetRequestBody(requestBody *models.GetGpuDevicesRequestBody)
SetRequestBody adds the requestBody to the get detail Vm info by gpu devices params
func (*GetDetailVMInfoByGpuDevicesParams) SetTimeout ¶ added in v2.14.0
func (o *GetDetailVMInfoByGpuDevicesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get detail Vm info by gpu devices params
func (*GetDetailVMInfoByGpuDevicesParams) WithContentLanguage ¶ added in v2.14.0
func (o *GetDetailVMInfoByGpuDevicesParams) WithContentLanguage(contentLanguage *string) *GetDetailVMInfoByGpuDevicesParams
WithContentLanguage adds the contentLanguage to the get detail Vm info by gpu devices params
func (*GetDetailVMInfoByGpuDevicesParams) WithContext ¶ added in v2.14.0
func (o *GetDetailVMInfoByGpuDevicesParams) WithContext(ctx context.Context) *GetDetailVMInfoByGpuDevicesParams
WithContext adds the context to the get detail Vm info by gpu devices params
func (*GetDetailVMInfoByGpuDevicesParams) WithDefaults ¶ added in v2.14.0
func (o *GetDetailVMInfoByGpuDevicesParams) WithDefaults() *GetDetailVMInfoByGpuDevicesParams
WithDefaults hydrates default values in the get detail Vm info by gpu devices params (not the query body).
All values with no default are reset to their zero value.
func (*GetDetailVMInfoByGpuDevicesParams) WithHTTPClient ¶ added in v2.14.0
func (o *GetDetailVMInfoByGpuDevicesParams) WithHTTPClient(client *http.Client) *GetDetailVMInfoByGpuDevicesParams
WithHTTPClient adds the HTTPClient to the get detail Vm info by gpu devices params
func (*GetDetailVMInfoByGpuDevicesParams) WithRequestBody ¶ added in v2.14.0
func (o *GetDetailVMInfoByGpuDevicesParams) WithRequestBody(requestBody *models.GetGpuDevicesRequestBody) *GetDetailVMInfoByGpuDevicesParams
WithRequestBody adds the requestBody to the get detail Vm info by gpu devices params
func (*GetDetailVMInfoByGpuDevicesParams) WithTimeout ¶ added in v2.14.0
func (o *GetDetailVMInfoByGpuDevicesParams) WithTimeout(timeout time.Duration) *GetDetailVMInfoByGpuDevicesParams
WithTimeout adds the timeout to the get detail Vm info by gpu devices params
func (*GetDetailVMInfoByGpuDevicesParams) WriteToRequest ¶ added in v2.14.0
func (o *GetDetailVMInfoByGpuDevicesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDetailVMInfoByGpuDevicesReader ¶ added in v2.14.0
type GetDetailVMInfoByGpuDevicesReader struct {
// contains filtered or unexported fields
}
GetDetailVMInfoByGpuDevicesReader is a Reader for the GetDetailVMInfoByGpuDevices structure.
func (*GetDetailVMInfoByGpuDevicesReader) ReadResponse ¶ added in v2.14.0
func (o *GetDetailVMInfoByGpuDevicesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetGpuDevicesBadRequest ¶
GetGpuDevicesBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetGpuDevicesBadRequest ¶
func NewGetGpuDevicesBadRequest() *GetGpuDevicesBadRequest
NewGetGpuDevicesBadRequest creates a GetGpuDevicesBadRequest with default headers values
func (*GetGpuDevicesBadRequest) Error ¶
func (o *GetGpuDevicesBadRequest) Error() string
func (*GetGpuDevicesBadRequest) GetPayload ¶
func (o *GetGpuDevicesBadRequest) GetPayload() *models.ErrorBody
type GetGpuDevicesConnectionBadRequest ¶
GetGpuDevicesConnectionBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetGpuDevicesConnectionBadRequest ¶
func NewGetGpuDevicesConnectionBadRequest() *GetGpuDevicesConnectionBadRequest
NewGetGpuDevicesConnectionBadRequest creates a GetGpuDevicesConnectionBadRequest with default headers values
func (*GetGpuDevicesConnectionBadRequest) Error ¶
func (o *GetGpuDevicesConnectionBadRequest) Error() string
func (*GetGpuDevicesConnectionBadRequest) GetPayload ¶
func (o *GetGpuDevicesConnectionBadRequest) GetPayload() *models.ErrorBody
type GetGpuDevicesConnectionInternalServerError ¶
type GetGpuDevicesConnectionInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
GetGpuDevicesConnectionInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetGpuDevicesConnectionInternalServerError ¶
func NewGetGpuDevicesConnectionInternalServerError() *GetGpuDevicesConnectionInternalServerError
NewGetGpuDevicesConnectionInternalServerError creates a GetGpuDevicesConnectionInternalServerError with default headers values
func (*GetGpuDevicesConnectionInternalServerError) Error ¶
func (o *GetGpuDevicesConnectionInternalServerError) Error() string
func (*GetGpuDevicesConnectionInternalServerError) GetPayload ¶
func (o *GetGpuDevicesConnectionInternalServerError) GetPayload() *models.ErrorBody
type GetGpuDevicesConnectionNotFound ¶
GetGpuDevicesConnectionNotFound describes a response with status code 404, with default header values.
Not found
func NewGetGpuDevicesConnectionNotFound ¶
func NewGetGpuDevicesConnectionNotFound() *GetGpuDevicesConnectionNotFound
NewGetGpuDevicesConnectionNotFound creates a GetGpuDevicesConnectionNotFound with default headers values
func (*GetGpuDevicesConnectionNotFound) Error ¶
func (o *GetGpuDevicesConnectionNotFound) Error() string
func (*GetGpuDevicesConnectionNotFound) GetPayload ¶
func (o *GetGpuDevicesConnectionNotFound) GetPayload() *models.ErrorBody
type GetGpuDevicesConnectionOK ¶
type GetGpuDevicesConnectionOK struct { XTowerRequestID string Payload *models.GpuDeviceConnection }
GetGpuDevicesConnectionOK describes a response with status code 200, with default header values.
GetGpuDevicesConnectionOK get gpu devices connection o k
func NewGetGpuDevicesConnectionOK ¶
func NewGetGpuDevicesConnectionOK() *GetGpuDevicesConnectionOK
NewGetGpuDevicesConnectionOK creates a GetGpuDevicesConnectionOK with default headers values
func (*GetGpuDevicesConnectionOK) Error ¶
func (o *GetGpuDevicesConnectionOK) Error() string
func (*GetGpuDevicesConnectionOK) GetPayload ¶
func (o *GetGpuDevicesConnectionOK) GetPayload() *models.GpuDeviceConnection
type GetGpuDevicesConnectionParams ¶
type GetGpuDevicesConnectionParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetGpuDevicesConnectionRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetGpuDevicesConnectionParams contains all the parameters to send to the API endpoint
for the get gpu devices connection operation. Typically these are written to a http.Request.
func NewGetGpuDevicesConnectionParams ¶
func NewGetGpuDevicesConnectionParams() *GetGpuDevicesConnectionParams
NewGetGpuDevicesConnectionParams creates a new GetGpuDevicesConnectionParams 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 NewGetGpuDevicesConnectionParamsWithContext ¶
func NewGetGpuDevicesConnectionParamsWithContext(ctx context.Context) *GetGpuDevicesConnectionParams
NewGetGpuDevicesConnectionParamsWithContext creates a new GetGpuDevicesConnectionParams object with the ability to set a context for a request.
func NewGetGpuDevicesConnectionParamsWithHTTPClient ¶
func NewGetGpuDevicesConnectionParamsWithHTTPClient(client *http.Client) *GetGpuDevicesConnectionParams
NewGetGpuDevicesConnectionParamsWithHTTPClient creates a new GetGpuDevicesConnectionParams object with the ability to set a custom HTTPClient for a request.
func NewGetGpuDevicesConnectionParamsWithTimeout ¶
func NewGetGpuDevicesConnectionParamsWithTimeout(timeout time.Duration) *GetGpuDevicesConnectionParams
NewGetGpuDevicesConnectionParamsWithTimeout creates a new GetGpuDevicesConnectionParams object with the ability to set a timeout on a request.
func (*GetGpuDevicesConnectionParams) SetContentLanguage ¶
func (o *GetGpuDevicesConnectionParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get gpu devices connection params
func (*GetGpuDevicesConnectionParams) SetContext ¶
func (o *GetGpuDevicesConnectionParams) SetContext(ctx context.Context)
SetContext adds the context to the get gpu devices connection params
func (*GetGpuDevicesConnectionParams) SetDefaults ¶
func (o *GetGpuDevicesConnectionParams) SetDefaults()
SetDefaults hydrates default values in the get gpu devices connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetGpuDevicesConnectionParams) SetHTTPClient ¶
func (o *GetGpuDevicesConnectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get gpu devices connection params
func (*GetGpuDevicesConnectionParams) SetRequestBody ¶
func (o *GetGpuDevicesConnectionParams) SetRequestBody(requestBody *models.GetGpuDevicesConnectionRequestBody)
SetRequestBody adds the requestBody to the get gpu devices connection params
func (*GetGpuDevicesConnectionParams) SetTimeout ¶
func (o *GetGpuDevicesConnectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get gpu devices connection params
func (*GetGpuDevicesConnectionParams) WithContentLanguage ¶
func (o *GetGpuDevicesConnectionParams) WithContentLanguage(contentLanguage *string) *GetGpuDevicesConnectionParams
WithContentLanguage adds the contentLanguage to the get gpu devices connection params
func (*GetGpuDevicesConnectionParams) WithContext ¶
func (o *GetGpuDevicesConnectionParams) WithContext(ctx context.Context) *GetGpuDevicesConnectionParams
WithContext adds the context to the get gpu devices connection params
func (*GetGpuDevicesConnectionParams) WithDefaults ¶
func (o *GetGpuDevicesConnectionParams) WithDefaults() *GetGpuDevicesConnectionParams
WithDefaults hydrates default values in the get gpu devices connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetGpuDevicesConnectionParams) WithHTTPClient ¶
func (o *GetGpuDevicesConnectionParams) WithHTTPClient(client *http.Client) *GetGpuDevicesConnectionParams
WithHTTPClient adds the HTTPClient to the get gpu devices connection params
func (*GetGpuDevicesConnectionParams) WithRequestBody ¶
func (o *GetGpuDevicesConnectionParams) WithRequestBody(requestBody *models.GetGpuDevicesConnectionRequestBody) *GetGpuDevicesConnectionParams
WithRequestBody adds the requestBody to the get gpu devices connection params
func (*GetGpuDevicesConnectionParams) WithTimeout ¶
func (o *GetGpuDevicesConnectionParams) WithTimeout(timeout time.Duration) *GetGpuDevicesConnectionParams
WithTimeout adds the timeout to the get gpu devices connection params
func (*GetGpuDevicesConnectionParams) WriteToRequest ¶
func (o *GetGpuDevicesConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetGpuDevicesConnectionReader ¶
type GetGpuDevicesConnectionReader struct {
// contains filtered or unexported fields
}
GetGpuDevicesConnectionReader is a Reader for the GetGpuDevicesConnection structure.
func (*GetGpuDevicesConnectionReader) ReadResponse ¶
func (o *GetGpuDevicesConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetGpuDevicesInternalServerError ¶
GetGpuDevicesInternalServerError describes a response with status code 500, with default header values.
Server error
func NewGetGpuDevicesInternalServerError ¶
func NewGetGpuDevicesInternalServerError() *GetGpuDevicesInternalServerError
NewGetGpuDevicesInternalServerError creates a GetGpuDevicesInternalServerError with default headers values
func (*GetGpuDevicesInternalServerError) Error ¶
func (o *GetGpuDevicesInternalServerError) Error() string
func (*GetGpuDevicesInternalServerError) GetPayload ¶
func (o *GetGpuDevicesInternalServerError) GetPayload() *models.ErrorBody
type GetGpuDevicesNotFound ¶
GetGpuDevicesNotFound describes a response with status code 404, with default header values.
Not found
func NewGetGpuDevicesNotFound ¶
func NewGetGpuDevicesNotFound() *GetGpuDevicesNotFound
NewGetGpuDevicesNotFound creates a GetGpuDevicesNotFound with default headers values
func (*GetGpuDevicesNotFound) Error ¶
func (o *GetGpuDevicesNotFound) Error() string
func (*GetGpuDevicesNotFound) GetPayload ¶
func (o *GetGpuDevicesNotFound) GetPayload() *models.ErrorBody
type GetGpuDevicesOK ¶
GetGpuDevicesOK describes a response with status code 200, with default header values.
GetGpuDevicesOK get gpu devices o k
func NewGetGpuDevicesOK ¶
func NewGetGpuDevicesOK() *GetGpuDevicesOK
NewGetGpuDevicesOK creates a GetGpuDevicesOK with default headers values
func (*GetGpuDevicesOK) Error ¶
func (o *GetGpuDevicesOK) Error() string
func (*GetGpuDevicesOK) GetPayload ¶
func (o *GetGpuDevicesOK) GetPayload() []*models.GpuDevice
type GetGpuDevicesParams ¶
type GetGpuDevicesParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetGpuDevicesRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetGpuDevicesParams contains all the parameters to send to the API endpoint
for the get gpu devices operation. Typically these are written to a http.Request.
func NewGetGpuDevicesParams ¶
func NewGetGpuDevicesParams() *GetGpuDevicesParams
NewGetGpuDevicesParams creates a new GetGpuDevicesParams 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 NewGetGpuDevicesParamsWithContext ¶
func NewGetGpuDevicesParamsWithContext(ctx context.Context) *GetGpuDevicesParams
NewGetGpuDevicesParamsWithContext creates a new GetGpuDevicesParams object with the ability to set a context for a request.
func NewGetGpuDevicesParamsWithHTTPClient ¶
func NewGetGpuDevicesParamsWithHTTPClient(client *http.Client) *GetGpuDevicesParams
NewGetGpuDevicesParamsWithHTTPClient creates a new GetGpuDevicesParams object with the ability to set a custom HTTPClient for a request.
func NewGetGpuDevicesParamsWithTimeout ¶
func NewGetGpuDevicesParamsWithTimeout(timeout time.Duration) *GetGpuDevicesParams
NewGetGpuDevicesParamsWithTimeout creates a new GetGpuDevicesParams object with the ability to set a timeout on a request.
func (*GetGpuDevicesParams) SetContentLanguage ¶
func (o *GetGpuDevicesParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get gpu devices params
func (*GetGpuDevicesParams) SetContext ¶
func (o *GetGpuDevicesParams) SetContext(ctx context.Context)
SetContext adds the context to the get gpu devices params
func (*GetGpuDevicesParams) SetDefaults ¶
func (o *GetGpuDevicesParams) SetDefaults()
SetDefaults hydrates default values in the get gpu devices params (not the query body).
All values with no default are reset to their zero value.
func (*GetGpuDevicesParams) SetHTTPClient ¶
func (o *GetGpuDevicesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get gpu devices params
func (*GetGpuDevicesParams) SetRequestBody ¶
func (o *GetGpuDevicesParams) SetRequestBody(requestBody *models.GetGpuDevicesRequestBody)
SetRequestBody adds the requestBody to the get gpu devices params
func (*GetGpuDevicesParams) SetTimeout ¶
func (o *GetGpuDevicesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get gpu devices params
func (*GetGpuDevicesParams) WithContentLanguage ¶
func (o *GetGpuDevicesParams) WithContentLanguage(contentLanguage *string) *GetGpuDevicesParams
WithContentLanguage adds the contentLanguage to the get gpu devices params
func (*GetGpuDevicesParams) WithContext ¶
func (o *GetGpuDevicesParams) WithContext(ctx context.Context) *GetGpuDevicesParams
WithContext adds the context to the get gpu devices params
func (*GetGpuDevicesParams) WithDefaults ¶
func (o *GetGpuDevicesParams) WithDefaults() *GetGpuDevicesParams
WithDefaults hydrates default values in the get gpu devices params (not the query body).
All values with no default are reset to their zero value.
func (*GetGpuDevicesParams) WithHTTPClient ¶
func (o *GetGpuDevicesParams) WithHTTPClient(client *http.Client) *GetGpuDevicesParams
WithHTTPClient adds the HTTPClient to the get gpu devices params
func (*GetGpuDevicesParams) WithRequestBody ¶
func (o *GetGpuDevicesParams) WithRequestBody(requestBody *models.GetGpuDevicesRequestBody) *GetGpuDevicesParams
WithRequestBody adds the requestBody to the get gpu devices params
func (*GetGpuDevicesParams) WithTimeout ¶
func (o *GetGpuDevicesParams) WithTimeout(timeout time.Duration) *GetGpuDevicesParams
WithTimeout adds the timeout to the get gpu devices params
func (*GetGpuDevicesParams) WriteToRequest ¶
func (o *GetGpuDevicesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetGpuDevicesReader ¶
type GetGpuDevicesReader struct {
// contains filtered or unexported fields
}
GetGpuDevicesReader is a Reader for the GetGpuDevices structure.
func (*GetGpuDevicesReader) ReadResponse ¶
func (o *GetGpuDevicesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SwitchGpuDeviceSriovBadRequest ¶
SwitchGpuDeviceSriovBadRequest describes a response with status code 400, with default header values.
Bad request
func NewSwitchGpuDeviceSriovBadRequest ¶
func NewSwitchGpuDeviceSriovBadRequest() *SwitchGpuDeviceSriovBadRequest
NewSwitchGpuDeviceSriovBadRequest creates a SwitchGpuDeviceSriovBadRequest with default headers values
func (*SwitchGpuDeviceSriovBadRequest) Error ¶
func (o *SwitchGpuDeviceSriovBadRequest) Error() string
func (*SwitchGpuDeviceSriovBadRequest) GetPayload ¶
func (o *SwitchGpuDeviceSriovBadRequest) GetPayload() *models.ErrorBody
type SwitchGpuDeviceSriovInternalServerError ¶
type SwitchGpuDeviceSriovInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
SwitchGpuDeviceSriovInternalServerError describes a response with status code 500, with default header values.
Server error
func NewSwitchGpuDeviceSriovInternalServerError ¶
func NewSwitchGpuDeviceSriovInternalServerError() *SwitchGpuDeviceSriovInternalServerError
NewSwitchGpuDeviceSriovInternalServerError creates a SwitchGpuDeviceSriovInternalServerError with default headers values
func (*SwitchGpuDeviceSriovInternalServerError) Error ¶
func (o *SwitchGpuDeviceSriovInternalServerError) Error() string
func (*SwitchGpuDeviceSriovInternalServerError) GetPayload ¶
func (o *SwitchGpuDeviceSriovInternalServerError) GetPayload() *models.ErrorBody
type SwitchGpuDeviceSriovNotFound ¶
SwitchGpuDeviceSriovNotFound describes a response with status code 404, with default header values.
Not found
func NewSwitchGpuDeviceSriovNotFound ¶
func NewSwitchGpuDeviceSriovNotFound() *SwitchGpuDeviceSriovNotFound
NewSwitchGpuDeviceSriovNotFound creates a SwitchGpuDeviceSriovNotFound with default headers values
func (*SwitchGpuDeviceSriovNotFound) Error ¶
func (o *SwitchGpuDeviceSriovNotFound) Error() string
func (*SwitchGpuDeviceSriovNotFound) GetPayload ¶
func (o *SwitchGpuDeviceSriovNotFound) GetPayload() *models.ErrorBody
type SwitchGpuDeviceSriovNotModified ¶
type SwitchGpuDeviceSriovNotModified struct { }
SwitchGpuDeviceSriovNotModified describes a response with status code 304, with default header values.
Not modified
func NewSwitchGpuDeviceSriovNotModified ¶
func NewSwitchGpuDeviceSriovNotModified() *SwitchGpuDeviceSriovNotModified
NewSwitchGpuDeviceSriovNotModified creates a SwitchGpuDeviceSriovNotModified with default headers values
func (*SwitchGpuDeviceSriovNotModified) Error ¶
func (o *SwitchGpuDeviceSriovNotModified) Error() string
type SwitchGpuDeviceSriovOK ¶
type SwitchGpuDeviceSriovOK struct { XTowerRequestID string Payload []*models.WithTaskGpuDevice }
SwitchGpuDeviceSriovOK describes a response with status code 200, with default header values.
SwitchGpuDeviceSriovOK switch gpu device sriov o k
func NewSwitchGpuDeviceSriovOK ¶
func NewSwitchGpuDeviceSriovOK() *SwitchGpuDeviceSriovOK
NewSwitchGpuDeviceSriovOK creates a SwitchGpuDeviceSriovOK with default headers values
func (*SwitchGpuDeviceSriovOK) Error ¶
func (o *SwitchGpuDeviceSriovOK) Error() string
func (*SwitchGpuDeviceSriovOK) GetPayload ¶
func (o *SwitchGpuDeviceSriovOK) GetPayload() []*models.WithTaskGpuDevice
type SwitchGpuDeviceSriovParams ¶
type SwitchGpuDeviceSriovParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GpuDeviceSriovSwitchParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SwitchGpuDeviceSriovParams contains all the parameters to send to the API endpoint
for the switch gpu device sriov operation. Typically these are written to a http.Request.
func NewSwitchGpuDeviceSriovParams ¶
func NewSwitchGpuDeviceSriovParams() *SwitchGpuDeviceSriovParams
NewSwitchGpuDeviceSriovParams creates a new SwitchGpuDeviceSriovParams 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 NewSwitchGpuDeviceSriovParamsWithContext ¶
func NewSwitchGpuDeviceSriovParamsWithContext(ctx context.Context) *SwitchGpuDeviceSriovParams
NewSwitchGpuDeviceSriovParamsWithContext creates a new SwitchGpuDeviceSriovParams object with the ability to set a context for a request.
func NewSwitchGpuDeviceSriovParamsWithHTTPClient ¶
func NewSwitchGpuDeviceSriovParamsWithHTTPClient(client *http.Client) *SwitchGpuDeviceSriovParams
NewSwitchGpuDeviceSriovParamsWithHTTPClient creates a new SwitchGpuDeviceSriovParams object with the ability to set a custom HTTPClient for a request.
func NewSwitchGpuDeviceSriovParamsWithTimeout ¶
func NewSwitchGpuDeviceSriovParamsWithTimeout(timeout time.Duration) *SwitchGpuDeviceSriovParams
NewSwitchGpuDeviceSriovParamsWithTimeout creates a new SwitchGpuDeviceSriovParams object with the ability to set a timeout on a request.
func (*SwitchGpuDeviceSriovParams) SetContentLanguage ¶
func (o *SwitchGpuDeviceSriovParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the switch gpu device sriov params
func (*SwitchGpuDeviceSriovParams) SetContext ¶
func (o *SwitchGpuDeviceSriovParams) SetContext(ctx context.Context)
SetContext adds the context to the switch gpu device sriov params
func (*SwitchGpuDeviceSriovParams) SetDefaults ¶
func (o *SwitchGpuDeviceSriovParams) SetDefaults()
SetDefaults hydrates default values in the switch gpu device sriov params (not the query body).
All values with no default are reset to their zero value.
func (*SwitchGpuDeviceSriovParams) SetHTTPClient ¶
func (o *SwitchGpuDeviceSriovParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the switch gpu device sriov params
func (*SwitchGpuDeviceSriovParams) SetRequestBody ¶
func (o *SwitchGpuDeviceSriovParams) SetRequestBody(requestBody *models.GpuDeviceSriovSwitchParams)
SetRequestBody adds the requestBody to the switch gpu device sriov params
func (*SwitchGpuDeviceSriovParams) SetTimeout ¶
func (o *SwitchGpuDeviceSriovParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the switch gpu device sriov params
func (*SwitchGpuDeviceSriovParams) WithContentLanguage ¶
func (o *SwitchGpuDeviceSriovParams) WithContentLanguage(contentLanguage *string) *SwitchGpuDeviceSriovParams
WithContentLanguage adds the contentLanguage to the switch gpu device sriov params
func (*SwitchGpuDeviceSriovParams) WithContext ¶
func (o *SwitchGpuDeviceSriovParams) WithContext(ctx context.Context) *SwitchGpuDeviceSriovParams
WithContext adds the context to the switch gpu device sriov params
func (*SwitchGpuDeviceSriovParams) WithDefaults ¶
func (o *SwitchGpuDeviceSriovParams) WithDefaults() *SwitchGpuDeviceSriovParams
WithDefaults hydrates default values in the switch gpu device sriov params (not the query body).
All values with no default are reset to their zero value.
func (*SwitchGpuDeviceSriovParams) WithHTTPClient ¶
func (o *SwitchGpuDeviceSriovParams) WithHTTPClient(client *http.Client) *SwitchGpuDeviceSriovParams
WithHTTPClient adds the HTTPClient to the switch gpu device sriov params
func (*SwitchGpuDeviceSriovParams) WithRequestBody ¶
func (o *SwitchGpuDeviceSriovParams) WithRequestBody(requestBody *models.GpuDeviceSriovSwitchParams) *SwitchGpuDeviceSriovParams
WithRequestBody adds the requestBody to the switch gpu device sriov params
func (*SwitchGpuDeviceSriovParams) WithTimeout ¶
func (o *SwitchGpuDeviceSriovParams) WithTimeout(timeout time.Duration) *SwitchGpuDeviceSriovParams
WithTimeout adds the timeout to the switch gpu device sriov params
func (*SwitchGpuDeviceSriovParams) WriteToRequest ¶
func (o *SwitchGpuDeviceSriovParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SwitchGpuDeviceSriovReader ¶
type SwitchGpuDeviceSriovReader struct {
// contains filtered or unexported fields
}
SwitchGpuDeviceSriovReader is a Reader for the SwitchGpuDeviceSriov structure.
func (*SwitchGpuDeviceSriovReader) ReadResponse ¶
func (o *SwitchGpuDeviceSriovReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateGpuDeviceDescriptionBadRequest ¶
type UpdateGpuDeviceDescriptionBadRequest struct { XTowerRequestID string Payload *models.ErrorBody }
UpdateGpuDeviceDescriptionBadRequest describes a response with status code 400, with default header values.
Bad request
func NewUpdateGpuDeviceDescriptionBadRequest ¶
func NewUpdateGpuDeviceDescriptionBadRequest() *UpdateGpuDeviceDescriptionBadRequest
NewUpdateGpuDeviceDescriptionBadRequest creates a UpdateGpuDeviceDescriptionBadRequest with default headers values
func (*UpdateGpuDeviceDescriptionBadRequest) Error ¶
func (o *UpdateGpuDeviceDescriptionBadRequest) Error() string
func (*UpdateGpuDeviceDescriptionBadRequest) GetPayload ¶
func (o *UpdateGpuDeviceDescriptionBadRequest) GetPayload() *models.ErrorBody
type UpdateGpuDeviceDescriptionInternalServerError ¶
type UpdateGpuDeviceDescriptionInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
UpdateGpuDeviceDescriptionInternalServerError describes a response with status code 500, with default header values.
Server error
func NewUpdateGpuDeviceDescriptionInternalServerError ¶
func NewUpdateGpuDeviceDescriptionInternalServerError() *UpdateGpuDeviceDescriptionInternalServerError
NewUpdateGpuDeviceDescriptionInternalServerError creates a UpdateGpuDeviceDescriptionInternalServerError with default headers values
func (*UpdateGpuDeviceDescriptionInternalServerError) Error ¶
func (o *UpdateGpuDeviceDescriptionInternalServerError) Error() string
func (*UpdateGpuDeviceDescriptionInternalServerError) GetPayload ¶
func (o *UpdateGpuDeviceDescriptionInternalServerError) GetPayload() *models.ErrorBody
type UpdateGpuDeviceDescriptionNotFound ¶
UpdateGpuDeviceDescriptionNotFound describes a response with status code 404, with default header values.
Not found
func NewUpdateGpuDeviceDescriptionNotFound ¶
func NewUpdateGpuDeviceDescriptionNotFound() *UpdateGpuDeviceDescriptionNotFound
NewUpdateGpuDeviceDescriptionNotFound creates a UpdateGpuDeviceDescriptionNotFound with default headers values
func (*UpdateGpuDeviceDescriptionNotFound) Error ¶
func (o *UpdateGpuDeviceDescriptionNotFound) Error() string
func (*UpdateGpuDeviceDescriptionNotFound) GetPayload ¶
func (o *UpdateGpuDeviceDescriptionNotFound) GetPayload() *models.ErrorBody
type UpdateGpuDeviceDescriptionNotModified ¶
type UpdateGpuDeviceDescriptionNotModified struct { }
UpdateGpuDeviceDescriptionNotModified describes a response with status code 304, with default header values.
Not modified
func NewUpdateGpuDeviceDescriptionNotModified ¶
func NewUpdateGpuDeviceDescriptionNotModified() *UpdateGpuDeviceDescriptionNotModified
NewUpdateGpuDeviceDescriptionNotModified creates a UpdateGpuDeviceDescriptionNotModified with default headers values
func (*UpdateGpuDeviceDescriptionNotModified) Error ¶
func (o *UpdateGpuDeviceDescriptionNotModified) Error() string
type UpdateGpuDeviceDescriptionOK ¶
type UpdateGpuDeviceDescriptionOK struct { XTowerRequestID string Payload []*models.WithTaskGpuDevice }
UpdateGpuDeviceDescriptionOK describes a response with status code 200, with default header values.
UpdateGpuDeviceDescriptionOK update gpu device description o k
func NewUpdateGpuDeviceDescriptionOK ¶
func NewUpdateGpuDeviceDescriptionOK() *UpdateGpuDeviceDescriptionOK
NewUpdateGpuDeviceDescriptionOK creates a UpdateGpuDeviceDescriptionOK with default headers values
func (*UpdateGpuDeviceDescriptionOK) Error ¶
func (o *UpdateGpuDeviceDescriptionOK) Error() string
func (*UpdateGpuDeviceDescriptionOK) GetPayload ¶
func (o *UpdateGpuDeviceDescriptionOK) GetPayload() []*models.WithTaskGpuDevice
type UpdateGpuDeviceDescriptionParams ¶
type UpdateGpuDeviceDescriptionParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GpuDeviceDescriptionUpdationParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateGpuDeviceDescriptionParams contains all the parameters to send to the API endpoint
for the update gpu device description operation. Typically these are written to a http.Request.
func NewUpdateGpuDeviceDescriptionParams ¶
func NewUpdateGpuDeviceDescriptionParams() *UpdateGpuDeviceDescriptionParams
NewUpdateGpuDeviceDescriptionParams creates a new UpdateGpuDeviceDescriptionParams 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 NewUpdateGpuDeviceDescriptionParamsWithContext ¶
func NewUpdateGpuDeviceDescriptionParamsWithContext(ctx context.Context) *UpdateGpuDeviceDescriptionParams
NewUpdateGpuDeviceDescriptionParamsWithContext creates a new UpdateGpuDeviceDescriptionParams object with the ability to set a context for a request.
func NewUpdateGpuDeviceDescriptionParamsWithHTTPClient ¶
func NewUpdateGpuDeviceDescriptionParamsWithHTTPClient(client *http.Client) *UpdateGpuDeviceDescriptionParams
NewUpdateGpuDeviceDescriptionParamsWithHTTPClient creates a new UpdateGpuDeviceDescriptionParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateGpuDeviceDescriptionParamsWithTimeout ¶
func NewUpdateGpuDeviceDescriptionParamsWithTimeout(timeout time.Duration) *UpdateGpuDeviceDescriptionParams
NewUpdateGpuDeviceDescriptionParamsWithTimeout creates a new UpdateGpuDeviceDescriptionParams object with the ability to set a timeout on a request.
func (*UpdateGpuDeviceDescriptionParams) SetContentLanguage ¶
func (o *UpdateGpuDeviceDescriptionParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the update gpu device description params
func (*UpdateGpuDeviceDescriptionParams) SetContext ¶
func (o *UpdateGpuDeviceDescriptionParams) SetContext(ctx context.Context)
SetContext adds the context to the update gpu device description params
func (*UpdateGpuDeviceDescriptionParams) SetDefaults ¶
func (o *UpdateGpuDeviceDescriptionParams) SetDefaults()
SetDefaults hydrates default values in the update gpu device description params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateGpuDeviceDescriptionParams) SetHTTPClient ¶
func (o *UpdateGpuDeviceDescriptionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update gpu device description params
func (*UpdateGpuDeviceDescriptionParams) SetRequestBody ¶
func (o *UpdateGpuDeviceDescriptionParams) SetRequestBody(requestBody *models.GpuDeviceDescriptionUpdationParams)
SetRequestBody adds the requestBody to the update gpu device description params
func (*UpdateGpuDeviceDescriptionParams) SetTimeout ¶
func (o *UpdateGpuDeviceDescriptionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update gpu device description params
func (*UpdateGpuDeviceDescriptionParams) WithContentLanguage ¶
func (o *UpdateGpuDeviceDescriptionParams) WithContentLanguage(contentLanguage *string) *UpdateGpuDeviceDescriptionParams
WithContentLanguage adds the contentLanguage to the update gpu device description params
func (*UpdateGpuDeviceDescriptionParams) WithContext ¶
func (o *UpdateGpuDeviceDescriptionParams) WithContext(ctx context.Context) *UpdateGpuDeviceDescriptionParams
WithContext adds the context to the update gpu device description params
func (*UpdateGpuDeviceDescriptionParams) WithDefaults ¶
func (o *UpdateGpuDeviceDescriptionParams) WithDefaults() *UpdateGpuDeviceDescriptionParams
WithDefaults hydrates default values in the update gpu device description params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateGpuDeviceDescriptionParams) WithHTTPClient ¶
func (o *UpdateGpuDeviceDescriptionParams) WithHTTPClient(client *http.Client) *UpdateGpuDeviceDescriptionParams
WithHTTPClient adds the HTTPClient to the update gpu device description params
func (*UpdateGpuDeviceDescriptionParams) WithRequestBody ¶
func (o *UpdateGpuDeviceDescriptionParams) WithRequestBody(requestBody *models.GpuDeviceDescriptionUpdationParams) *UpdateGpuDeviceDescriptionParams
WithRequestBody adds the requestBody to the update gpu device description params
func (*UpdateGpuDeviceDescriptionParams) WithTimeout ¶
func (o *UpdateGpuDeviceDescriptionParams) WithTimeout(timeout time.Duration) *UpdateGpuDeviceDescriptionParams
WithTimeout adds the timeout to the update gpu device description params
func (*UpdateGpuDeviceDescriptionParams) WriteToRequest ¶
func (o *UpdateGpuDeviceDescriptionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateGpuDeviceDescriptionReader ¶
type UpdateGpuDeviceDescriptionReader struct {
// contains filtered or unexported fields
}
UpdateGpuDeviceDescriptionReader is a Reader for the UpdateGpuDeviceDescription structure.
func (*UpdateGpuDeviceDescriptionReader) ReadResponse ¶
func (o *UpdateGpuDeviceDescriptionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateGpuDeviceUsageBadRequest ¶
UpdateGpuDeviceUsageBadRequest describes a response with status code 400, with default header values.
Bad request
func NewUpdateGpuDeviceUsageBadRequest ¶
func NewUpdateGpuDeviceUsageBadRequest() *UpdateGpuDeviceUsageBadRequest
NewUpdateGpuDeviceUsageBadRequest creates a UpdateGpuDeviceUsageBadRequest with default headers values
func (*UpdateGpuDeviceUsageBadRequest) Error ¶
func (o *UpdateGpuDeviceUsageBadRequest) Error() string
func (*UpdateGpuDeviceUsageBadRequest) GetPayload ¶
func (o *UpdateGpuDeviceUsageBadRequest) GetPayload() *models.ErrorBody
type UpdateGpuDeviceUsageInternalServerError ¶
type UpdateGpuDeviceUsageInternalServerError struct { XTowerRequestID string Payload *models.ErrorBody }
UpdateGpuDeviceUsageInternalServerError describes a response with status code 500, with default header values.
Server error
func NewUpdateGpuDeviceUsageInternalServerError ¶
func NewUpdateGpuDeviceUsageInternalServerError() *UpdateGpuDeviceUsageInternalServerError
NewUpdateGpuDeviceUsageInternalServerError creates a UpdateGpuDeviceUsageInternalServerError with default headers values
func (*UpdateGpuDeviceUsageInternalServerError) Error ¶
func (o *UpdateGpuDeviceUsageInternalServerError) Error() string
func (*UpdateGpuDeviceUsageInternalServerError) GetPayload ¶
func (o *UpdateGpuDeviceUsageInternalServerError) GetPayload() *models.ErrorBody
type UpdateGpuDeviceUsageNotFound ¶
UpdateGpuDeviceUsageNotFound describes a response with status code 404, with default header values.
Not found
func NewUpdateGpuDeviceUsageNotFound ¶
func NewUpdateGpuDeviceUsageNotFound() *UpdateGpuDeviceUsageNotFound
NewUpdateGpuDeviceUsageNotFound creates a UpdateGpuDeviceUsageNotFound with default headers values
func (*UpdateGpuDeviceUsageNotFound) Error ¶
func (o *UpdateGpuDeviceUsageNotFound) Error() string
func (*UpdateGpuDeviceUsageNotFound) GetPayload ¶
func (o *UpdateGpuDeviceUsageNotFound) GetPayload() *models.ErrorBody
type UpdateGpuDeviceUsageNotModified ¶
type UpdateGpuDeviceUsageNotModified struct { }
UpdateGpuDeviceUsageNotModified describes a response with status code 304, with default header values.
Not modified
func NewUpdateGpuDeviceUsageNotModified ¶
func NewUpdateGpuDeviceUsageNotModified() *UpdateGpuDeviceUsageNotModified
NewUpdateGpuDeviceUsageNotModified creates a UpdateGpuDeviceUsageNotModified with default headers values
func (*UpdateGpuDeviceUsageNotModified) Error ¶
func (o *UpdateGpuDeviceUsageNotModified) Error() string
type UpdateGpuDeviceUsageOK ¶
type UpdateGpuDeviceUsageOK struct { XTowerRequestID string Payload []*models.WithTaskGpuDevice }
UpdateGpuDeviceUsageOK describes a response with status code 200, with default header values.
UpdateGpuDeviceUsageOK update gpu device usage o k
func NewUpdateGpuDeviceUsageOK ¶
func NewUpdateGpuDeviceUsageOK() *UpdateGpuDeviceUsageOK
NewUpdateGpuDeviceUsageOK creates a UpdateGpuDeviceUsageOK with default headers values
func (*UpdateGpuDeviceUsageOK) Error ¶
func (o *UpdateGpuDeviceUsageOK) Error() string
func (*UpdateGpuDeviceUsageOK) GetPayload ¶
func (o *UpdateGpuDeviceUsageOK) GetPayload() []*models.WithTaskGpuDevice
type UpdateGpuDeviceUsageParams ¶
type UpdateGpuDeviceUsageParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GpuDeviceUsageUpdationParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateGpuDeviceUsageParams contains all the parameters to send to the API endpoint
for the update gpu device usage operation. Typically these are written to a http.Request.
func NewUpdateGpuDeviceUsageParams ¶
func NewUpdateGpuDeviceUsageParams() *UpdateGpuDeviceUsageParams
NewUpdateGpuDeviceUsageParams creates a new UpdateGpuDeviceUsageParams 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 NewUpdateGpuDeviceUsageParamsWithContext ¶
func NewUpdateGpuDeviceUsageParamsWithContext(ctx context.Context) *UpdateGpuDeviceUsageParams
NewUpdateGpuDeviceUsageParamsWithContext creates a new UpdateGpuDeviceUsageParams object with the ability to set a context for a request.
func NewUpdateGpuDeviceUsageParamsWithHTTPClient ¶
func NewUpdateGpuDeviceUsageParamsWithHTTPClient(client *http.Client) *UpdateGpuDeviceUsageParams
NewUpdateGpuDeviceUsageParamsWithHTTPClient creates a new UpdateGpuDeviceUsageParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateGpuDeviceUsageParamsWithTimeout ¶
func NewUpdateGpuDeviceUsageParamsWithTimeout(timeout time.Duration) *UpdateGpuDeviceUsageParams
NewUpdateGpuDeviceUsageParamsWithTimeout creates a new UpdateGpuDeviceUsageParams object with the ability to set a timeout on a request.
func (*UpdateGpuDeviceUsageParams) SetContentLanguage ¶
func (o *UpdateGpuDeviceUsageParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the update gpu device usage params
func (*UpdateGpuDeviceUsageParams) SetContext ¶
func (o *UpdateGpuDeviceUsageParams) SetContext(ctx context.Context)
SetContext adds the context to the update gpu device usage params
func (*UpdateGpuDeviceUsageParams) SetDefaults ¶
func (o *UpdateGpuDeviceUsageParams) SetDefaults()
SetDefaults hydrates default values in the update gpu device usage params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateGpuDeviceUsageParams) SetHTTPClient ¶
func (o *UpdateGpuDeviceUsageParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update gpu device usage params
func (*UpdateGpuDeviceUsageParams) SetRequestBody ¶
func (o *UpdateGpuDeviceUsageParams) SetRequestBody(requestBody *models.GpuDeviceUsageUpdationParams)
SetRequestBody adds the requestBody to the update gpu device usage params
func (*UpdateGpuDeviceUsageParams) SetTimeout ¶
func (o *UpdateGpuDeviceUsageParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update gpu device usage params
func (*UpdateGpuDeviceUsageParams) WithContentLanguage ¶
func (o *UpdateGpuDeviceUsageParams) WithContentLanguage(contentLanguage *string) *UpdateGpuDeviceUsageParams
WithContentLanguage adds the contentLanguage to the update gpu device usage params
func (*UpdateGpuDeviceUsageParams) WithContext ¶
func (o *UpdateGpuDeviceUsageParams) WithContext(ctx context.Context) *UpdateGpuDeviceUsageParams
WithContext adds the context to the update gpu device usage params
func (*UpdateGpuDeviceUsageParams) WithDefaults ¶
func (o *UpdateGpuDeviceUsageParams) WithDefaults() *UpdateGpuDeviceUsageParams
WithDefaults hydrates default values in the update gpu device usage params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateGpuDeviceUsageParams) WithHTTPClient ¶
func (o *UpdateGpuDeviceUsageParams) WithHTTPClient(client *http.Client) *UpdateGpuDeviceUsageParams
WithHTTPClient adds the HTTPClient to the update gpu device usage params
func (*UpdateGpuDeviceUsageParams) WithRequestBody ¶
func (o *UpdateGpuDeviceUsageParams) WithRequestBody(requestBody *models.GpuDeviceUsageUpdationParams) *UpdateGpuDeviceUsageParams
WithRequestBody adds the requestBody to the update gpu device usage params
func (*UpdateGpuDeviceUsageParams) WithTimeout ¶
func (o *UpdateGpuDeviceUsageParams) WithTimeout(timeout time.Duration) *UpdateGpuDeviceUsageParams
WithTimeout adds the timeout to the update gpu device usage params
func (*UpdateGpuDeviceUsageParams) WriteToRequest ¶
func (o *UpdateGpuDeviceUsageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateGpuDeviceUsageReader ¶
type UpdateGpuDeviceUsageReader struct {
// contains filtered or unexported fields
}
UpdateGpuDeviceUsageReader is a Reader for the UpdateGpuDeviceUsage structure.
func (*UpdateGpuDeviceUsageReader) ReadResponse ¶
func (o *UpdateGpuDeviceUsageReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- get_detail_vm_info_by_gpu_devices_parameters.go
- get_detail_vm_info_by_gpu_devices_responses.go
- get_gpu_devices_connection_parameters.go
- get_gpu_devices_connection_responses.go
- get_gpu_devices_parameters.go
- get_gpu_devices_responses.go
- gpu_device_client.go
- switch_gpu_device_sriov_parameters.go
- switch_gpu_device_sriov_responses.go
- update_gpu_device_description_parameters.go
- update_gpu_device_description_responses.go
- update_gpu_device_usage_parameters.go
- update_gpu_device_usage_responses.go