gpu_device

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2026 License: ISC 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 gpu device API

func (*Client) GetDetailVMInfoByGpuDevices

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

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)

	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

type GetDetailVMInfoByGpuDevicesBadRequest struct {
	XAocRequestID string

	Payload *models.ErrorBody
}

GetDetailVMInfoByGpuDevicesBadRequest describes a response with status code 400, with default header values.

Bad request

func NewGetDetailVMInfoByGpuDevicesBadRequest

func NewGetDetailVMInfoByGpuDevicesBadRequest() *GetDetailVMInfoByGpuDevicesBadRequest

NewGetDetailVMInfoByGpuDevicesBadRequest creates a GetDetailVMInfoByGpuDevicesBadRequest with default headers values

func (*GetDetailVMInfoByGpuDevicesBadRequest) Error

func (*GetDetailVMInfoByGpuDevicesBadRequest) GetPayload

type GetDetailVMInfoByGpuDevicesInternalServerError

type GetDetailVMInfoByGpuDevicesInternalServerError struct {
	XAocRequestID string

	Payload *models.ErrorBody
}

GetDetailVMInfoByGpuDevicesInternalServerError describes a response with status code 500, with default header values.

Server error

func NewGetDetailVMInfoByGpuDevicesInternalServerError

func NewGetDetailVMInfoByGpuDevicesInternalServerError() *GetDetailVMInfoByGpuDevicesInternalServerError

NewGetDetailVMInfoByGpuDevicesInternalServerError creates a GetDetailVMInfoByGpuDevicesInternalServerError with default headers values

func (*GetDetailVMInfoByGpuDevicesInternalServerError) Error

func (*GetDetailVMInfoByGpuDevicesInternalServerError) GetPayload

type GetDetailVMInfoByGpuDevicesNotFound

type GetDetailVMInfoByGpuDevicesNotFound struct {
	XAocRequestID string

	Payload *models.ErrorBody
}

GetDetailVMInfoByGpuDevicesNotFound describes a response with status code 404, with default header values.

Not found

func NewGetDetailVMInfoByGpuDevicesNotFound

func NewGetDetailVMInfoByGpuDevicesNotFound() *GetDetailVMInfoByGpuDevicesNotFound

NewGetDetailVMInfoByGpuDevicesNotFound creates a GetDetailVMInfoByGpuDevicesNotFound with default headers values

func (*GetDetailVMInfoByGpuDevicesNotFound) Error

func (*GetDetailVMInfoByGpuDevicesNotFound) GetPayload

type GetDetailVMInfoByGpuDevicesNotModified

type GetDetailVMInfoByGpuDevicesNotModified struct {
}

GetDetailVMInfoByGpuDevicesNotModified describes a response with status code 304, with default header values.

Not modified

func NewGetDetailVMInfoByGpuDevicesNotModified

func NewGetDetailVMInfoByGpuDevicesNotModified() *GetDetailVMInfoByGpuDevicesNotModified

NewGetDetailVMInfoByGpuDevicesNotModified creates a GetDetailVMInfoByGpuDevicesNotModified with default headers values

func (*GetDetailVMInfoByGpuDevicesNotModified) Error

type GetDetailVMInfoByGpuDevicesOK

type GetDetailVMInfoByGpuDevicesOK struct {
	XAocRequestID string

	Payload []*models.GpuVMInfo
}

GetDetailVMInfoByGpuDevicesOK describes a response with status code 200, with default header values.

GetDetailVMInfoByGpuDevicesOK get detail Vm info by gpu devices o k

func NewGetDetailVMInfoByGpuDevicesOK

func NewGetDetailVMInfoByGpuDevicesOK() *GetDetailVMInfoByGpuDevicesOK

NewGetDetailVMInfoByGpuDevicesOK creates a GetDetailVMInfoByGpuDevicesOK with default headers values

func (*GetDetailVMInfoByGpuDevicesOK) Error

func (*GetDetailVMInfoByGpuDevicesOK) GetPayload

func (o *GetDetailVMInfoByGpuDevicesOK) GetPayload() []*models.GpuVMInfo

type GetDetailVMInfoByGpuDevicesParams

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

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

func NewGetDetailVMInfoByGpuDevicesParamsWithContext(ctx context.Context) *GetDetailVMInfoByGpuDevicesParams

NewGetDetailVMInfoByGpuDevicesParamsWithContext creates a new GetDetailVMInfoByGpuDevicesParams object with the ability to set a context for a request.

func NewGetDetailVMInfoByGpuDevicesParamsWithHTTPClient

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

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

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

SetContentLanguage adds the contentLanguage to the get detail Vm info by gpu devices params

func (*GetDetailVMInfoByGpuDevicesParams) SetContext

SetContext adds the context to the get detail Vm info by gpu devices params

func (*GetDetailVMInfoByGpuDevicesParams) SetDefaults

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

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

SetHTTPClient adds the HTTPClient to the get detail Vm info by gpu devices params

func (*GetDetailVMInfoByGpuDevicesParams) SetRequestBody

func (o *GetDetailVMInfoByGpuDevicesParams) SetRequestBody(requestBody *models.GetGpuDevicesRequestBody)

SetRequestBody adds the requestBody to the get detail Vm info by gpu devices params

func (*GetDetailVMInfoByGpuDevicesParams) SetTimeout

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

SetTimeout adds the timeout to the get detail Vm info by gpu devices params

func (*GetDetailVMInfoByGpuDevicesParams) WithContentLanguage

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

WithContentLanguage adds the contentLanguage to the get detail Vm info by gpu devices params

func (*GetDetailVMInfoByGpuDevicesParams) WithContext

WithContext adds the context to the get detail Vm info by gpu devices params

func (*GetDetailVMInfoByGpuDevicesParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get detail Vm info by gpu devices params

func (*GetDetailVMInfoByGpuDevicesParams) WithRequestBody

WithRequestBody adds the requestBody to the get detail Vm info by gpu devices params

func (*GetDetailVMInfoByGpuDevicesParams) WithTimeout

WithTimeout adds the timeout to the get detail Vm info by gpu devices params

func (*GetDetailVMInfoByGpuDevicesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDetailVMInfoByGpuDevicesReader

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

GetDetailVMInfoByGpuDevicesReader is a Reader for the GetDetailVMInfoByGpuDevices structure.

func (*GetDetailVMInfoByGpuDevicesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetGpuDevicesBadRequest

type GetGpuDevicesBadRequest struct {
	XAocRequestID string

	Payload *models.ErrorBody
}

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

type GetGpuDevicesConnectionBadRequest struct {
	XAocRequestID string

	Payload *models.ErrorBody
}

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

type GetGpuDevicesConnectionInternalServerError

type GetGpuDevicesConnectionInternalServerError struct {
	XAocRequestID 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 (*GetGpuDevicesConnectionInternalServerError) GetPayload

type GetGpuDevicesConnectionNotFound

type GetGpuDevicesConnectionNotFound struct {
	XAocRequestID string

	Payload *models.ErrorBody
}

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

type GetGpuDevicesConnectionOK

type GetGpuDevicesConnectionOK struct {
	XAocRequestID 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

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

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

WithContext adds the context to the get gpu devices connection params

func (*GetGpuDevicesConnectionParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get gpu devices connection params

func (*GetGpuDevicesConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get gpu devices connection params

func (*GetGpuDevicesConnectionParams) WithTimeout

WithTimeout adds the timeout to the get gpu devices connection params

func (*GetGpuDevicesConnectionParams) WriteToRequest

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

type GetGpuDevicesInternalServerError struct {
	XAocRequestID string

	Payload *models.ErrorBody
}

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

type GetGpuDevicesNotFound

type GetGpuDevicesNotFound struct {
	XAocRequestID string

	Payload *models.ErrorBody
}

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

type GetGpuDevicesOK struct {
	XAocRequestID string

	Payload []*models.GpuDevice
}

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

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.

Jump to

Keyboard shortcuts

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