Versions in this module Expand all Collapse all v0 v0.1.0 Sep 2, 2025 Changes in this version + func GetSwagger() (swagger *openapi3.T, err error) + func NewBootVMRequest(server string) (*http.Request, error) + func NewCreateVMRequest(server string, body CreateVMJSONRequestBody) (*http.Request, error) + func NewCreateVMRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewDeleteVMRequest(server string) (*http.Request, error) + func NewGetVmCountersRequest(server string) (*http.Request, error) + func NewGetVmInfoRequest(server string) (*http.Request, error) + func NewGetVmmPingRequest(server string) (*http.Request, error) + func NewPauseVMRequest(server string) (*http.Request, error) + func NewPowerButtonVMRequest(server string) (*http.Request, error) + func NewPutVmAddDeviceRequest(server string, body PutVmAddDeviceJSONRequestBody) (*http.Request, error) + func NewPutVmAddDeviceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewPutVmAddDiskRequest(server string, body PutVmAddDiskJSONRequestBody) (*http.Request, error) + func NewPutVmAddDiskRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewPutVmAddFsRequest(server string, body PutVmAddFsJSONRequestBody) (*http.Request, error) + func NewPutVmAddFsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewPutVmAddNetRequest(server string, body PutVmAddNetJSONRequestBody) (*http.Request, error) + func NewPutVmAddNetRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewPutVmAddPmemRequest(server string, body PutVmAddPmemJSONRequestBody) (*http.Request, error) + func NewPutVmAddPmemRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewPutVmAddUserDeviceRequest(server string, body PutVmAddUserDeviceJSONRequestBody) (*http.Request, error) + func NewPutVmAddUserDeviceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewPutVmAddVdpaRequest(server string, body PutVmAddVdpaJSONRequestBody) (*http.Request, error) + func NewPutVmAddVdpaRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewPutVmAddVsockRequest(server string, body PutVmAddVsockJSONRequestBody) (*http.Request, error) + func NewPutVmAddVsockRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewPutVmCoredumpRequest(server string, body PutVmCoredumpJSONRequestBody) (*http.Request, error) + func NewPutVmCoredumpRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewPutVmReceiveMigrationRequest(server string, body PutVmReceiveMigrationJSONRequestBody) (*http.Request, error) + func NewPutVmReceiveMigrationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewPutVmRemoveDeviceRequest(server string, body PutVmRemoveDeviceJSONRequestBody) (*http.Request, error) + func NewPutVmRemoveDeviceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewPutVmResizeRequest(server string, body PutVmResizeJSONRequestBody) (*http.Request, error) + func NewPutVmResizeRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewPutVmResizeZoneRequest(server string, body PutVmResizeZoneJSONRequestBody) (*http.Request, error) + func NewPutVmResizeZoneRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewPutVmRestoreRequest(server string, body PutVmRestoreJSONRequestBody) (*http.Request, error) + func NewPutVmRestoreRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewPutVmSendMigrationRequest(server string, body PutVmSendMigrationJSONRequestBody) (*http.Request, error) + func NewPutVmSendMigrationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewPutVmSnapshotRequest(server string, body PutVmSnapshotJSONRequestBody) (*http.Request, error) + func NewPutVmSnapshotRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewPutVmmNmiRequest(server string) (*http.Request, error) + func NewRebootVMRequest(server string) (*http.Request, error) + func NewResumeVMRequest(server string) (*http.Request, error) + func NewShutdownVMMRequest(server string) (*http.Request, error) + func NewShutdownVMRequest(server string) (*http.Request, error) + func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error) + type BalloonConfig struct + DeflateOnOom *bool + FreePageReporting *bool + Size int64 + type BootVMResponse struct + Body []byte + HTTPResponse *http.Response + func ParseBootVMResponse(rsp *http.Response) (*BootVMResponse, error) + func (r BootVMResponse) Status() string + func (r BootVMResponse) StatusCode() int + type Client struct + Client HttpRequestDoer + RequestEditors []RequestEditorFn + Server string + func NewClient(server string, opts ...ClientOption) (*Client, error) + func (c *Client) BootVM(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + func (c *Client) CreateVM(ctx context.Context, body CreateVMJSONRequestBody, ...) (*http.Response, error) + func (c *Client) CreateVMWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) DeleteVM(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + func (c *Client) GetVmCounters(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + func (c *Client) GetVmInfo(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + func (c *Client) GetVmmPing(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + func (c *Client) PauseVM(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + func (c *Client) PowerButtonVM(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + func (c *Client) PutVmAddDevice(ctx context.Context, body PutVmAddDeviceJSONRequestBody, ...) (*http.Response, error) + func (c *Client) PutVmAddDeviceWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) PutVmAddDisk(ctx context.Context, body PutVmAddDiskJSONRequestBody, ...) (*http.Response, error) + func (c *Client) PutVmAddDiskWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) PutVmAddFs(ctx context.Context, body PutVmAddFsJSONRequestBody, ...) (*http.Response, error) + func (c *Client) PutVmAddFsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) PutVmAddNet(ctx context.Context, body PutVmAddNetJSONRequestBody, ...) (*http.Response, error) + func (c *Client) PutVmAddNetWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) PutVmAddPmem(ctx context.Context, body PutVmAddPmemJSONRequestBody, ...) (*http.Response, error) + func (c *Client) PutVmAddPmemWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) PutVmAddUserDevice(ctx context.Context, body PutVmAddUserDeviceJSONRequestBody, ...) (*http.Response, error) + func (c *Client) PutVmAddUserDeviceWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) PutVmAddVdpa(ctx context.Context, body PutVmAddVdpaJSONRequestBody, ...) (*http.Response, error) + func (c *Client) PutVmAddVdpaWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) PutVmAddVsock(ctx context.Context, body PutVmAddVsockJSONRequestBody, ...) (*http.Response, error) + func (c *Client) PutVmAddVsockWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) PutVmCoredump(ctx context.Context, body PutVmCoredumpJSONRequestBody, ...) (*http.Response, error) + func (c *Client) PutVmCoredumpWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) PutVmReceiveMigration(ctx context.Context, body PutVmReceiveMigrationJSONRequestBody, ...) (*http.Response, error) + func (c *Client) PutVmReceiveMigrationWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) PutVmRemoveDevice(ctx context.Context, body PutVmRemoveDeviceJSONRequestBody, ...) (*http.Response, error) + func (c *Client) PutVmRemoveDeviceWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) PutVmResize(ctx context.Context, body PutVmResizeJSONRequestBody, ...) (*http.Response, error) + func (c *Client) PutVmResizeWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) PutVmResizeZone(ctx context.Context, body PutVmResizeZoneJSONRequestBody, ...) (*http.Response, error) + func (c *Client) PutVmResizeZoneWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) PutVmRestore(ctx context.Context, body PutVmRestoreJSONRequestBody, ...) (*http.Response, error) + func (c *Client) PutVmRestoreWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) PutVmSendMigration(ctx context.Context, body PutVmSendMigrationJSONRequestBody, ...) (*http.Response, error) + func (c *Client) PutVmSendMigrationWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) PutVmSnapshot(ctx context.Context, body PutVmSnapshotJSONRequestBody, ...) (*http.Response, error) + func (c *Client) PutVmSnapshotWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) PutVmmNmi(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + func (c *Client) RebootVM(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + func (c *Client) ResumeVM(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + func (c *Client) ShutdownVM(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + func (c *Client) ShutdownVMM(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + type ClientInterface interface + BootVM func(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + CreateVM func(ctx context.Context, body CreateVMJSONRequestBody, ...) (*http.Response, error) + CreateVMWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + DeleteVM func(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + GetVmCounters func(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + GetVmInfo func(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + GetVmmPing func(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + PauseVM func(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + PowerButtonVM func(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + PutVmAddDevice func(ctx context.Context, body PutVmAddDeviceJSONRequestBody, ...) (*http.Response, error) + PutVmAddDeviceWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + PutVmAddDisk func(ctx context.Context, body PutVmAddDiskJSONRequestBody, ...) (*http.Response, error) + PutVmAddDiskWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + PutVmAddFs func(ctx context.Context, body PutVmAddFsJSONRequestBody, ...) (*http.Response, error) + PutVmAddFsWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + PutVmAddNet func(ctx context.Context, body PutVmAddNetJSONRequestBody, ...) (*http.Response, error) + PutVmAddNetWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + PutVmAddPmem func(ctx context.Context, body PutVmAddPmemJSONRequestBody, ...) (*http.Response, error) + PutVmAddPmemWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + PutVmAddUserDevice func(ctx context.Context, body PutVmAddUserDeviceJSONRequestBody, ...) (*http.Response, error) + PutVmAddUserDeviceWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + PutVmAddVdpa func(ctx context.Context, body PutVmAddVdpaJSONRequestBody, ...) (*http.Response, error) + PutVmAddVdpaWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + PutVmAddVsock func(ctx context.Context, body PutVmAddVsockJSONRequestBody, ...) (*http.Response, error) + PutVmAddVsockWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + PutVmCoredump func(ctx context.Context, body PutVmCoredumpJSONRequestBody, ...) (*http.Response, error) + PutVmCoredumpWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + PutVmReceiveMigration func(ctx context.Context, body PutVmReceiveMigrationJSONRequestBody, ...) (*http.Response, error) + PutVmReceiveMigrationWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + PutVmRemoveDevice func(ctx context.Context, body PutVmRemoveDeviceJSONRequestBody, ...) (*http.Response, error) + PutVmRemoveDeviceWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + PutVmResize func(ctx context.Context, body PutVmResizeJSONRequestBody, ...) (*http.Response, error) + PutVmResizeWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + PutVmResizeZone func(ctx context.Context, body PutVmResizeZoneJSONRequestBody, ...) (*http.Response, error) + PutVmResizeZoneWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + PutVmRestore func(ctx context.Context, body PutVmRestoreJSONRequestBody, ...) (*http.Response, error) + PutVmRestoreWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + PutVmSendMigration func(ctx context.Context, body PutVmSendMigrationJSONRequestBody, ...) (*http.Response, error) + PutVmSendMigrationWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + PutVmSnapshot func(ctx context.Context, body PutVmSnapshotJSONRequestBody, ...) (*http.Response, error) + PutVmSnapshotWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + PutVmmNmi func(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + RebootVM func(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + ResumeVM func(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + ShutdownVM func(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + ShutdownVMM func(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + type ClientOption func(*Client) error + func WithBaseURL(baseURL string) ClientOption + func WithHTTPClient(doer HttpRequestDoer) ClientOption + func WithRequestEditorFn(fn RequestEditorFn) ClientOption + type ClientWithResponses struct + func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error) + func (c *ClientWithResponses) BootVMWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*BootVMResponse, error) + func (c *ClientWithResponses) CreateVMWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateVMResponse, error) + func (c *ClientWithResponses) CreateVMWithResponse(ctx context.Context, body CreateVMJSONRequestBody, ...) (*CreateVMResponse, error) + func (c *ClientWithResponses) DeleteVMWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DeleteVMResponse, error) + func (c *ClientWithResponses) GetVmCountersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetVmCountersResponse, error) + func (c *ClientWithResponses) GetVmInfoWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetVmInfoResponse, error) + func (c *ClientWithResponses) GetVmmPingWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetVmmPingResponse, error) + func (c *ClientWithResponses) PauseVMWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PauseVMResponse, error) + func (c *ClientWithResponses) PowerButtonVMWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PowerButtonVMResponse, error) + func (c *ClientWithResponses) PutVmAddDeviceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PutVmAddDeviceResponse, error) + func (c *ClientWithResponses) PutVmAddDeviceWithResponse(ctx context.Context, body PutVmAddDeviceJSONRequestBody, ...) (*PutVmAddDeviceResponse, error) + func (c *ClientWithResponses) PutVmAddDiskWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PutVmAddDiskResponse, error) + func (c *ClientWithResponses) PutVmAddDiskWithResponse(ctx context.Context, body PutVmAddDiskJSONRequestBody, ...) (*PutVmAddDiskResponse, error) + func (c *ClientWithResponses) PutVmAddFsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PutVmAddFsResponse, error) + func (c *ClientWithResponses) PutVmAddFsWithResponse(ctx context.Context, body PutVmAddFsJSONRequestBody, ...) (*PutVmAddFsResponse, error) + func (c *ClientWithResponses) PutVmAddNetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PutVmAddNetResponse, error) + func (c *ClientWithResponses) PutVmAddNetWithResponse(ctx context.Context, body PutVmAddNetJSONRequestBody, ...) (*PutVmAddNetResponse, error) + func (c *ClientWithResponses) PutVmAddPmemWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PutVmAddPmemResponse, error) + func (c *ClientWithResponses) PutVmAddPmemWithResponse(ctx context.Context, body PutVmAddPmemJSONRequestBody, ...) (*PutVmAddPmemResponse, error) + func (c *ClientWithResponses) PutVmAddUserDeviceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PutVmAddUserDeviceResponse, error) + func (c *ClientWithResponses) PutVmAddUserDeviceWithResponse(ctx context.Context, body PutVmAddUserDeviceJSONRequestBody, ...) (*PutVmAddUserDeviceResponse, error) + func (c *ClientWithResponses) PutVmAddVdpaWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PutVmAddVdpaResponse, error) + func (c *ClientWithResponses) PutVmAddVdpaWithResponse(ctx context.Context, body PutVmAddVdpaJSONRequestBody, ...) (*PutVmAddVdpaResponse, error) + func (c *ClientWithResponses) PutVmAddVsockWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PutVmAddVsockResponse, error) + func (c *ClientWithResponses) PutVmAddVsockWithResponse(ctx context.Context, body PutVmAddVsockJSONRequestBody, ...) (*PutVmAddVsockResponse, error) + func (c *ClientWithResponses) PutVmCoredumpWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PutVmCoredumpResponse, error) + func (c *ClientWithResponses) PutVmCoredumpWithResponse(ctx context.Context, body PutVmCoredumpJSONRequestBody, ...) (*PutVmCoredumpResponse, error) + func (c *ClientWithResponses) PutVmReceiveMigrationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PutVmReceiveMigrationResponse, error) + func (c *ClientWithResponses) PutVmReceiveMigrationWithResponse(ctx context.Context, body PutVmReceiveMigrationJSONRequestBody, ...) (*PutVmReceiveMigrationResponse, error) + func (c *ClientWithResponses) PutVmRemoveDeviceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PutVmRemoveDeviceResponse, error) + func (c *ClientWithResponses) PutVmRemoveDeviceWithResponse(ctx context.Context, body PutVmRemoveDeviceJSONRequestBody, ...) (*PutVmRemoveDeviceResponse, error) + func (c *ClientWithResponses) PutVmResizeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PutVmResizeResponse, error) + func (c *ClientWithResponses) PutVmResizeWithResponse(ctx context.Context, body PutVmResizeJSONRequestBody, ...) (*PutVmResizeResponse, error) + func (c *ClientWithResponses) PutVmResizeZoneWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PutVmResizeZoneResponse, error) + func (c *ClientWithResponses) PutVmResizeZoneWithResponse(ctx context.Context, body PutVmResizeZoneJSONRequestBody, ...) (*PutVmResizeZoneResponse, error) + func (c *ClientWithResponses) PutVmRestoreWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PutVmRestoreResponse, error) + func (c *ClientWithResponses) PutVmRestoreWithResponse(ctx context.Context, body PutVmRestoreJSONRequestBody, ...) (*PutVmRestoreResponse, error) + func (c *ClientWithResponses) PutVmSendMigrationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PutVmSendMigrationResponse, error) + func (c *ClientWithResponses) PutVmSendMigrationWithResponse(ctx context.Context, body PutVmSendMigrationJSONRequestBody, ...) (*PutVmSendMigrationResponse, error) + func (c *ClientWithResponses) PutVmSnapshotWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PutVmSnapshotResponse, error) + func (c *ClientWithResponses) PutVmSnapshotWithResponse(ctx context.Context, body PutVmSnapshotJSONRequestBody, ...) (*PutVmSnapshotResponse, error) + func (c *ClientWithResponses) PutVmmNmiWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*PutVmmNmiResponse, error) + func (c *ClientWithResponses) RebootVMWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RebootVMResponse, error) + func (c *ClientWithResponses) ResumeVMWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ResumeVMResponse, error) + func (c *ClientWithResponses) ShutdownVMMWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ShutdownVMMResponse, error) + func (c *ClientWithResponses) ShutdownVMWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ShutdownVMResponse, error) + type ClientWithResponsesInterface interface + BootVMWithResponse func(ctx context.Context, reqEditors ...RequestEditorFn) (*BootVMResponse, error) + CreateVMWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*CreateVMResponse, error) + CreateVMWithResponse func(ctx context.Context, body CreateVMJSONRequestBody, ...) (*CreateVMResponse, error) + DeleteVMWithResponse func(ctx context.Context, reqEditors ...RequestEditorFn) (*DeleteVMResponse, error) + GetVmCountersWithResponse func(ctx context.Context, reqEditors ...RequestEditorFn) (*GetVmCountersResponse, error) + GetVmInfoWithResponse func(ctx context.Context, reqEditors ...RequestEditorFn) (*GetVmInfoResponse, error) + GetVmmPingWithResponse func(ctx context.Context, reqEditors ...RequestEditorFn) (*GetVmmPingResponse, error) + PauseVMWithResponse func(ctx context.Context, reqEditors ...RequestEditorFn) (*PauseVMResponse, error) + PowerButtonVMWithResponse func(ctx context.Context, reqEditors ...RequestEditorFn) (*PowerButtonVMResponse, error) + PutVmAddDeviceWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*PutVmAddDeviceResponse, error) + PutVmAddDeviceWithResponse func(ctx context.Context, body PutVmAddDeviceJSONRequestBody, ...) (*PutVmAddDeviceResponse, error) + PutVmAddDiskWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*PutVmAddDiskResponse, error) + PutVmAddDiskWithResponse func(ctx context.Context, body PutVmAddDiskJSONRequestBody, ...) (*PutVmAddDiskResponse, error) + PutVmAddFsWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*PutVmAddFsResponse, error) + PutVmAddFsWithResponse func(ctx context.Context, body PutVmAddFsJSONRequestBody, ...) (*PutVmAddFsResponse, error) + PutVmAddNetWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*PutVmAddNetResponse, error) + PutVmAddNetWithResponse func(ctx context.Context, body PutVmAddNetJSONRequestBody, ...) (*PutVmAddNetResponse, error) + PutVmAddPmemWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*PutVmAddPmemResponse, error) + PutVmAddPmemWithResponse func(ctx context.Context, body PutVmAddPmemJSONRequestBody, ...) (*PutVmAddPmemResponse, error) + PutVmAddUserDeviceWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*PutVmAddUserDeviceResponse, error) + PutVmAddUserDeviceWithResponse func(ctx context.Context, body PutVmAddUserDeviceJSONRequestBody, ...) (*PutVmAddUserDeviceResponse, error) + PutVmAddVdpaWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*PutVmAddVdpaResponse, error) + PutVmAddVdpaWithResponse func(ctx context.Context, body PutVmAddVdpaJSONRequestBody, ...) (*PutVmAddVdpaResponse, error) + PutVmAddVsockWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*PutVmAddVsockResponse, error) + PutVmAddVsockWithResponse func(ctx context.Context, body PutVmAddVsockJSONRequestBody, ...) (*PutVmAddVsockResponse, error) + PutVmCoredumpWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*PutVmCoredumpResponse, error) + PutVmCoredumpWithResponse func(ctx context.Context, body PutVmCoredumpJSONRequestBody, ...) (*PutVmCoredumpResponse, error) + PutVmReceiveMigrationWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*PutVmReceiveMigrationResponse, error) + PutVmReceiveMigrationWithResponse func(ctx context.Context, body PutVmReceiveMigrationJSONRequestBody, ...) (*PutVmReceiveMigrationResponse, error) + PutVmRemoveDeviceWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*PutVmRemoveDeviceResponse, error) + PutVmRemoveDeviceWithResponse func(ctx context.Context, body PutVmRemoveDeviceJSONRequestBody, ...) (*PutVmRemoveDeviceResponse, error) + PutVmResizeWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*PutVmResizeResponse, error) + PutVmResizeWithResponse func(ctx context.Context, body PutVmResizeJSONRequestBody, ...) (*PutVmResizeResponse, error) + PutVmResizeZoneWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*PutVmResizeZoneResponse, error) + PutVmResizeZoneWithResponse func(ctx context.Context, body PutVmResizeZoneJSONRequestBody, ...) (*PutVmResizeZoneResponse, error) + PutVmRestoreWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*PutVmRestoreResponse, error) + PutVmRestoreWithResponse func(ctx context.Context, body PutVmRestoreJSONRequestBody, ...) (*PutVmRestoreResponse, error) + PutVmSendMigrationWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*PutVmSendMigrationResponse, error) + PutVmSendMigrationWithResponse func(ctx context.Context, body PutVmSendMigrationJSONRequestBody, ...) (*PutVmSendMigrationResponse, error) + PutVmSnapshotWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*PutVmSnapshotResponse, error) + PutVmSnapshotWithResponse func(ctx context.Context, body PutVmSnapshotJSONRequestBody, ...) (*PutVmSnapshotResponse, error) + PutVmmNmiWithResponse func(ctx context.Context, reqEditors ...RequestEditorFn) (*PutVmmNmiResponse, error) + RebootVMWithResponse func(ctx context.Context, reqEditors ...RequestEditorFn) (*RebootVMResponse, error) + ResumeVMWithResponse func(ctx context.Context, reqEditors ...RequestEditorFn) (*ResumeVMResponse, error) + ShutdownVMMWithResponse func(ctx context.Context, reqEditors ...RequestEditorFn) (*ShutdownVMMResponse, error) + ShutdownVMWithResponse func(ctx context.Context, reqEditors ...RequestEditorFn) (*ShutdownVMResponse, error) + type ConsoleConfig struct + File *string + Iommu *bool + Mode ConsoleConfigMode + Socket *string + type ConsoleConfigMode string + const ConsoleConfigModeFile + const ConsoleConfigModeNull + const ConsoleConfigModeOff + const ConsoleConfigModePty + const ConsoleConfigModeSocket + const ConsoleConfigModeTty + type CpuAffinity struct + HostCpus []int + Vcpu int + type CpuFeatures struct + Amx *bool + type CpuTopology struct + CoresPerDie *int + DiesPerPackage *int + Packages *int + ThreadsPerCore *int + type CpusConfig struct + Affinity *[]CpuAffinity + BootVcpus int + Features *CpuFeatures + KvmHyperv *bool + MaxPhysBits *int + MaxVcpus int + Topology *CpuTopology + type CreateVMJSONRequestBody = VmConfig + type CreateVMResponse struct + Body []byte + HTTPResponse *http.Response + func ParseCreateVMResponse(rsp *http.Response) (*CreateVMResponse, error) + func (r CreateVMResponse) Status() string + func (r CreateVMResponse) StatusCode() int + type DebugConsoleConfig struct + File *string + Iobase *int + Mode DebugConsoleConfigMode + type DebugConsoleConfigMode string + const DebugConsoleConfigModeFile + const DebugConsoleConfigModeNull + const DebugConsoleConfigModeOff + const DebugConsoleConfigModePty + const DebugConsoleConfigModeTty + type DeleteVMResponse struct + Body []byte + HTTPResponse *http.Response + func ParseDeleteVMResponse(rsp *http.Response) (*DeleteVMResponse, error) + func (r DeleteVMResponse) Status() string + func (r DeleteVMResponse) StatusCode() int + type DeviceConfig struct + Id *string + Iommu *bool + Path string + PciSegment *int16 + XNvGpudirectClique *int8 + type DeviceNode struct + Children *[]string + Id *string + PciBdf *string + Resources *[]map[string]interface{} + type DiskConfig struct + Direct *bool + Id *string + Iommu *bool + NumQueues *int + Path *string + PciSegment *int16 + QueueAffinity *[]VirtQueueAffinity + QueueSize *int + RateLimitGroup *string + RateLimiterConfig *RateLimiterConfig + Readonly *bool + Serial *string + VhostSocket *string + VhostUser *bool + type FsConfig struct + Id *string + NumQueues int + PciSegment *int16 + QueueSize int + Socket string + Tag string + type GetVmCountersResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *VmCounters + func ParseGetVmCountersResponse(rsp *http.Response) (*GetVmCountersResponse, error) + func (r GetVmCountersResponse) Status() string + func (r GetVmCountersResponse) StatusCode() int + type GetVmInfoResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *VmInfo + func ParseGetVmInfoResponse(rsp *http.Response) (*GetVmInfoResponse, error) + func (r GetVmInfoResponse) Status() string + func (r GetVmInfoResponse) StatusCode() int + type GetVmmPingResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *VmmPingResponse + func ParseGetVmmPingResponse(rsp *http.Response) (*GetVmmPingResponse, error) + func (r GetVmmPingResponse) Status() string + func (r GetVmmPingResponse) StatusCode() int + type HttpRequestDoer interface + Do func(req *http.Request) (*http.Response, error) + type LandlockConfig struct + Access string + Path string + type MemoryConfig struct + HotplugMethod *string + HotplugSize *int64 + HotpluggedSize *int64 + HugepageSize *int64 + Hugepages *bool + Mergeable *bool + Prefault *bool + Shared *bool + Size int64 + Thp *bool + Zones *[]MemoryZoneConfig + type MemoryZoneConfig struct + File *string + HostNumaNode *int32 + HotplugSize *int64 + HotpluggedSize *int64 + HugepageSize *int64 + Hugepages *bool + Id string + Mergeable *bool + Prefault *bool + Shared *bool + Size int64 + type NetConfig struct + HostMac *string + Id *string + Iommu *bool + Ip *string + Mac *string + Mask *string + Mtu *int + NumQueues *int + PciSegment *int16 + QueueSize *int + RateLimiterConfig *RateLimiterConfig + Tap *string + VhostMode *string + VhostSocket *string + VhostUser *bool + type NumaConfig struct + Cpus *[]int32 + Distances *[]NumaDistance + GuestNumaId int32 + MemoryZones *[]string + PciSegments *[]int32 + SgxEpcSections *[]string + type NumaDistance struct + Destination int32 + Distance int32 + type PauseVMResponse struct + Body []byte + HTTPResponse *http.Response + func ParsePauseVMResponse(rsp *http.Response) (*PauseVMResponse, error) + func (r PauseVMResponse) Status() string + func (r PauseVMResponse) StatusCode() int + type PayloadConfig struct + Cmdline *string + Firmware *string + HostData *string + Igvm *string + Initramfs *string + Kernel *string + type PciDeviceInfo struct + Bdf string + Id string + type PciSegmentConfig struct + Mmio32ApertureWeight *int32 + Mmio64ApertureWeight *int32 + PciSegment int16 + type PlatformConfig struct + IommuAddressWidth *uint8 + IommuSegments *[]int16 + NumPciSegments *int16 + OemStrings *[]string + SerialNumber *string + SevSnp *bool + Tdx *bool + Uuid *string + type PmemConfig struct + DiscardWrites *bool + File string + Id *string + Iommu *bool + PciSegment *int16 + Size *int64 + type PowerButtonVMResponse struct + Body []byte + HTTPResponse *http.Response + func ParsePowerButtonVMResponse(rsp *http.Response) (*PowerButtonVMResponse, error) + func (r PowerButtonVMResponse) Status() string + func (r PowerButtonVMResponse) StatusCode() int + type PutVmAddDeviceJSONRequestBody = DeviceConfig + type PutVmAddDeviceResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *PciDeviceInfo + func ParsePutVmAddDeviceResponse(rsp *http.Response) (*PutVmAddDeviceResponse, error) + func (r PutVmAddDeviceResponse) Status() string + func (r PutVmAddDeviceResponse) StatusCode() int + type PutVmAddDiskJSONRequestBody = DiskConfig + type PutVmAddDiskResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *PciDeviceInfo + func ParsePutVmAddDiskResponse(rsp *http.Response) (*PutVmAddDiskResponse, error) + func (r PutVmAddDiskResponse) Status() string + func (r PutVmAddDiskResponse) StatusCode() int + type PutVmAddFsJSONRequestBody = FsConfig + type PutVmAddFsResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *PciDeviceInfo + func ParsePutVmAddFsResponse(rsp *http.Response) (*PutVmAddFsResponse, error) + func (r PutVmAddFsResponse) Status() string + func (r PutVmAddFsResponse) StatusCode() int + type PutVmAddNetJSONRequestBody = NetConfig + type PutVmAddNetResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *PciDeviceInfo + func ParsePutVmAddNetResponse(rsp *http.Response) (*PutVmAddNetResponse, error) + func (r PutVmAddNetResponse) Status() string + func (r PutVmAddNetResponse) StatusCode() int + type PutVmAddPmemJSONRequestBody = PmemConfig + type PutVmAddPmemResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *PciDeviceInfo + func ParsePutVmAddPmemResponse(rsp *http.Response) (*PutVmAddPmemResponse, error) + func (r PutVmAddPmemResponse) Status() string + func (r PutVmAddPmemResponse) StatusCode() int + type PutVmAddUserDeviceJSONRequestBody = VmAddUserDevice + type PutVmAddUserDeviceResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *PciDeviceInfo + func ParsePutVmAddUserDeviceResponse(rsp *http.Response) (*PutVmAddUserDeviceResponse, error) + func (r PutVmAddUserDeviceResponse) Status() string + func (r PutVmAddUserDeviceResponse) StatusCode() int + type PutVmAddVdpaJSONRequestBody = VdpaConfig + type PutVmAddVdpaResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *PciDeviceInfo + func ParsePutVmAddVdpaResponse(rsp *http.Response) (*PutVmAddVdpaResponse, error) + func (r PutVmAddVdpaResponse) Status() string + func (r PutVmAddVdpaResponse) StatusCode() int + type PutVmAddVsockJSONRequestBody = VsockConfig + type PutVmAddVsockResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *PciDeviceInfo + func ParsePutVmAddVsockResponse(rsp *http.Response) (*PutVmAddVsockResponse, error) + func (r PutVmAddVsockResponse) Status() string + func (r PutVmAddVsockResponse) StatusCode() int + type PutVmCoredumpJSONRequestBody = VmCoredumpData + type PutVmCoredumpResponse struct + Body []byte + HTTPResponse *http.Response + func ParsePutVmCoredumpResponse(rsp *http.Response) (*PutVmCoredumpResponse, error) + func (r PutVmCoredumpResponse) Status() string + func (r PutVmCoredumpResponse) StatusCode() int + type PutVmReceiveMigrationJSONRequestBody = ReceiveMigrationData + type PutVmReceiveMigrationResponse struct + Body []byte + HTTPResponse *http.Response + func ParsePutVmReceiveMigrationResponse(rsp *http.Response) (*PutVmReceiveMigrationResponse, error) + func (r PutVmReceiveMigrationResponse) Status() string + func (r PutVmReceiveMigrationResponse) StatusCode() int + type PutVmRemoveDeviceJSONRequestBody = VmRemoveDevice + type PutVmRemoveDeviceResponse struct + Body []byte + HTTPResponse *http.Response + func ParsePutVmRemoveDeviceResponse(rsp *http.Response) (*PutVmRemoveDeviceResponse, error) + func (r PutVmRemoveDeviceResponse) Status() string + func (r PutVmRemoveDeviceResponse) StatusCode() int + type PutVmResizeJSONRequestBody = VmResize + type PutVmResizeResponse struct + Body []byte + HTTPResponse *http.Response + func ParsePutVmResizeResponse(rsp *http.Response) (*PutVmResizeResponse, error) + func (r PutVmResizeResponse) Status() string + func (r PutVmResizeResponse) StatusCode() int + type PutVmResizeZoneJSONRequestBody = VmResizeZone + type PutVmResizeZoneResponse struct + Body []byte + HTTPResponse *http.Response + func ParsePutVmResizeZoneResponse(rsp *http.Response) (*PutVmResizeZoneResponse, error) + func (r PutVmResizeZoneResponse) Status() string + func (r PutVmResizeZoneResponse) StatusCode() int + type PutVmRestoreJSONRequestBody = RestoreConfig + type PutVmRestoreResponse struct + Body []byte + HTTPResponse *http.Response + func ParsePutVmRestoreResponse(rsp *http.Response) (*PutVmRestoreResponse, error) + func (r PutVmRestoreResponse) Status() string + func (r PutVmRestoreResponse) StatusCode() int + type PutVmSendMigrationJSONRequestBody = SendMigrationData + type PutVmSendMigrationResponse struct + Body []byte + HTTPResponse *http.Response + func ParsePutVmSendMigrationResponse(rsp *http.Response) (*PutVmSendMigrationResponse, error) + func (r PutVmSendMigrationResponse) Status() string + func (r PutVmSendMigrationResponse) StatusCode() int + type PutVmSnapshotJSONRequestBody = VmSnapshotConfig + type PutVmSnapshotResponse struct + Body []byte + HTTPResponse *http.Response + func ParsePutVmSnapshotResponse(rsp *http.Response) (*PutVmSnapshotResponse, error) + func (r PutVmSnapshotResponse) Status() string + func (r PutVmSnapshotResponse) StatusCode() int + type PutVmmNmiResponse struct + Body []byte + HTTPResponse *http.Response + func ParsePutVmmNmiResponse(rsp *http.Response) (*PutVmmNmiResponse, error) + func (r PutVmmNmiResponse) Status() string + func (r PutVmmNmiResponse) StatusCode() int + type RateLimitGroupConfig struct + Id string + RateLimiterConfig RateLimiterConfig + type RateLimiterConfig struct + Bandwidth *TokenBucket + Ops *TokenBucket + type RebootVMResponse struct + Body []byte + HTTPResponse *http.Response + func ParseRebootVMResponse(rsp *http.Response) (*RebootVMResponse, error) + func (r RebootVMResponse) Status() string + func (r RebootVMResponse) StatusCode() int + type ReceiveMigrationData struct + ReceiverUrl string + type RequestEditorFn func(ctx context.Context, req *http.Request) error + type RestoreConfig struct + Prefault *bool + SourceUrl string + type ResumeVMResponse struct + Body []byte + HTTPResponse *http.Response + func ParseResumeVMResponse(rsp *http.Response) (*ResumeVMResponse, error) + func (r ResumeVMResponse) Status() string + func (r ResumeVMResponse) StatusCode() int + type RngConfig struct + Iommu *bool + Src string + type SendMigrationData struct + DestinationUrl string + Local *bool + type SgxEpcConfig struct + Id string + Prefault *bool + Size int64 + type ShutdownVMMResponse struct + Body []byte + HTTPResponse *http.Response + func ParseShutdownVMMResponse(rsp *http.Response) (*ShutdownVMMResponse, error) + func (r ShutdownVMMResponse) Status() string + func (r ShutdownVMMResponse) StatusCode() int + type ShutdownVMResponse struct + Body []byte + HTTPResponse *http.Response + func ParseShutdownVMResponse(rsp *http.Response) (*ShutdownVMResponse, error) + func (r ShutdownVMResponse) Status() string + func (r ShutdownVMResponse) StatusCode() int + type TokenBucket struct + OneTimeBurst *int64 + RefillTime int64 + Size int64 + type TpmConfig struct + Socket string + type VdpaConfig struct + Id *string + Iommu *bool + NumQueues int + Path string + PciSegment *int16 + type VirtQueueAffinity struct + HostCpus []int + QueueIndex int + type VmAddUserDevice struct + Socket string + type VmConfig struct + Balloon *BalloonConfig + Console *ConsoleConfig + Cpus *CpusConfig + DebugConsole *DebugConsoleConfig + Devices *[]DeviceConfig + Disks *[]DiskConfig + Fs *[]FsConfig + Iommu *bool + LandlockEnable *bool + LandlockRules *[]LandlockConfig + Memory *MemoryConfig + Net *[]NetConfig + Numa *[]NumaConfig + Payload PayloadConfig + PciSegments *[]PciSegmentConfig + Platform *PlatformConfig + Pmem *[]PmemConfig + Pvpanic *bool + RateLimitGroups *[]RateLimitGroupConfig + Rng *RngConfig + Serial *ConsoleConfig + SgxEpc *[]SgxEpcConfig + Tpm *TpmConfig + Vdpa *[]VdpaConfig + Vsock *VsockConfig + Watchdog *bool + type VmCoredumpData struct + DestinationUrl *string + type VmCounters map[string]map[string]int64 + type VmInfo struct + Config VmConfig + DeviceTree *map[string]DeviceNode + MemoryActualSize *int64 + State VmInfoState + type VmInfoState string + const Created + const Paused + const Running + const Shutdown + type VmRemoveDevice struct + Id *string + type VmResize struct + DesiredBalloon *int64 + DesiredRam *int64 + DesiredVcpus *int + type VmResizeZone struct + DesiredRam *int64 + Id *string + type VmSnapshotConfig struct + DestinationUrl *string + type VmmPingResponse struct + BuildVersion *string + Features *[]string + Pid *int64 + Version string + type VsockConfig struct + Cid int64 + Id *string + Iommu *bool + PciSegment *int16 + Socket string