Documentation ¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type ApiBootVMRequest
- type ApiCreateVMRequest
- type ApiDeleteVMRequest
- type ApiPauseVMRequest
- type ApiPowerButtonVMRequest
- type ApiRebootVMRequest
- type ApiResumeVMRequest
- type ApiShutdownVMMRequest
- type ApiShutdownVMRequest
- type ApiVmAddDevicePutRequest
- type ApiVmAddDiskPutRequest
- type ApiVmAddFsPutRequest
- type ApiVmAddNetPutRequest
- type ApiVmAddPmemPutRequest
- type ApiVmAddVdpaPutRequest
- type ApiVmAddVsockPutRequest
- type ApiVmCoredumpPutRequest
- type ApiVmCountersGetRequest
- type ApiVmInfoGetRequest
- type ApiVmReceiveMigrationPutRequest
- type ApiVmRemoveDevicePutRequest
- type ApiVmResizePutRequest
- type ApiVmResizeZonePutRequest
- type ApiVmRestorePutRequest
- type ApiVmSendMigrationPutRequest
- type ApiVmSnapshotPutRequest
- type ApiVmmPingGetRequest
- type BalloonConfig
- func (o *BalloonConfig) GetDeflateOnOom() bool
- func (o *BalloonConfig) GetDeflateOnOomOk() (*bool, bool)
- func (o *BalloonConfig) GetFreePageReporting() bool
- func (o *BalloonConfig) GetFreePageReportingOk() (*bool, bool)
- func (o *BalloonConfig) GetSize() int64
- func (o *BalloonConfig) GetSizeOk() (*int64, bool)
- func (o *BalloonConfig) HasDeflateOnOom() bool
- func (o *BalloonConfig) HasFreePageReporting() bool
- func (o BalloonConfig) MarshalJSON() ([]byte, error)
- func (o *BalloonConfig) SetDeflateOnOom(v bool)
- func (o *BalloonConfig) SetFreePageReporting(v bool)
- func (o *BalloonConfig) SetSize(v int64)
- type BasicAuth
- type Configuration
- type ConsoleConfig
- func (o *ConsoleConfig) GetFile() string
- func (o *ConsoleConfig) GetFileOk() (*string, bool)
- func (o *ConsoleConfig) GetIommu() bool
- func (o *ConsoleConfig) GetIommuOk() (*bool, bool)
- func (o *ConsoleConfig) GetMode() string
- func (o *ConsoleConfig) GetModeOk() (*string, bool)
- func (o *ConsoleConfig) GetSocket() string
- func (o *ConsoleConfig) GetSocketOk() (*string, bool)
- func (o *ConsoleConfig) HasFile() bool
- func (o *ConsoleConfig) HasIommu() bool
- func (o *ConsoleConfig) HasSocket() bool
- func (o ConsoleConfig) MarshalJSON() ([]byte, error)
- func (o *ConsoleConfig) SetFile(v string)
- func (o *ConsoleConfig) SetIommu(v bool)
- func (o *ConsoleConfig) SetMode(v string)
- func (o *ConsoleConfig) SetSocket(v string)
- type CpuAffinity
- func (o *CpuAffinity) GetHostCpus() []int32
- func (o *CpuAffinity) GetHostCpusOk() (*[]int32, bool)
- func (o *CpuAffinity) GetVcpu() int32
- func (o *CpuAffinity) GetVcpuOk() (*int32, bool)
- func (o CpuAffinity) MarshalJSON() ([]byte, error)
- func (o *CpuAffinity) SetHostCpus(v []int32)
- func (o *CpuAffinity) SetVcpu(v int32)
- type CpuFeatures
- type CpuTopology
- func (o *CpuTopology) GetCoresPerDie() int32
- func (o *CpuTopology) GetCoresPerDieOk() (*int32, bool)
- func (o *CpuTopology) GetDiesPerPackage() int32
- func (o *CpuTopology) GetDiesPerPackageOk() (*int32, bool)
- func (o *CpuTopology) GetPackages() int32
- func (o *CpuTopology) GetPackagesOk() (*int32, bool)
- func (o *CpuTopology) GetThreadsPerCore() int32
- func (o *CpuTopology) GetThreadsPerCoreOk() (*int32, bool)
- func (o *CpuTopology) HasCoresPerDie() bool
- func (o *CpuTopology) HasDiesPerPackage() bool
- func (o *CpuTopology) HasPackages() bool
- func (o *CpuTopology) HasThreadsPerCore() bool
- func (o CpuTopology) MarshalJSON() ([]byte, error)
- func (o *CpuTopology) SetCoresPerDie(v int32)
- func (o *CpuTopology) SetDiesPerPackage(v int32)
- func (o *CpuTopology) SetPackages(v int32)
- func (o *CpuTopology) SetThreadsPerCore(v int32)
- type CpusConfig
- func (o *CpusConfig) GetAffinity() []CpuAffinity
- func (o *CpusConfig) GetAffinityOk() (*[]CpuAffinity, bool)
- func (o *CpusConfig) GetBootVcpus() int32
- func (o *CpusConfig) GetBootVcpusOk() (*int32, bool)
- func (o *CpusConfig) GetFeatures() CpuFeatures
- func (o *CpusConfig) GetFeaturesOk() (*CpuFeatures, bool)
- func (o *CpusConfig) GetKvmHyperv() bool
- func (o *CpusConfig) GetKvmHypervOk() (*bool, bool)
- func (o *CpusConfig) GetMaxPhysBits() int32
- func (o *CpusConfig) GetMaxPhysBitsOk() (*int32, bool)
- func (o *CpusConfig) GetMaxVcpus() int32
- func (o *CpusConfig) GetMaxVcpusOk() (*int32, bool)
- func (o *CpusConfig) GetTopology() CpuTopology
- func (o *CpusConfig) GetTopologyOk() (*CpuTopology, bool)
- func (o *CpusConfig) HasAffinity() bool
- func (o *CpusConfig) HasFeatures() bool
- func (o *CpusConfig) HasKvmHyperv() bool
- func (o *CpusConfig) HasMaxPhysBits() bool
- func (o *CpusConfig) HasTopology() bool
- func (o CpusConfig) MarshalJSON() ([]byte, error)
- func (o *CpusConfig) SetAffinity(v []CpuAffinity)
- func (o *CpusConfig) SetBootVcpus(v int32)
- func (o *CpusConfig) SetFeatures(v CpuFeatures)
- func (o *CpusConfig) SetKvmHyperv(v bool)
- func (o *CpusConfig) SetMaxPhysBits(v int32)
- func (o *CpusConfig) SetMaxVcpus(v int32)
- func (o *CpusConfig) SetTopology(v CpuTopology)
- type DefaultApiService
- func (a *DefaultApiService) BootVM(ctx _context.Context) ApiBootVMRequest
- func (a *DefaultApiService) BootVMExecute(r ApiBootVMRequest) (*_nethttp.Response, error)
- func (a *DefaultApiService) CreateVM(ctx _context.Context) ApiCreateVMRequest
- func (a *DefaultApiService) CreateVMExecute(r ApiCreateVMRequest) (*_nethttp.Response, error)
- func (a *DefaultApiService) DeleteVM(ctx _context.Context) ApiDeleteVMRequest
- func (a *DefaultApiService) DeleteVMExecute(r ApiDeleteVMRequest) (*_nethttp.Response, error)
- func (a *DefaultApiService) PauseVM(ctx _context.Context) ApiPauseVMRequest
- func (a *DefaultApiService) PauseVMExecute(r ApiPauseVMRequest) (*_nethttp.Response, error)
- func (a *DefaultApiService) PowerButtonVM(ctx _context.Context) ApiPowerButtonVMRequest
- func (a *DefaultApiService) PowerButtonVMExecute(r ApiPowerButtonVMRequest) (*_nethttp.Response, error)
- func (a *DefaultApiService) RebootVM(ctx _context.Context) ApiRebootVMRequest
- func (a *DefaultApiService) RebootVMExecute(r ApiRebootVMRequest) (*_nethttp.Response, error)
- func (a *DefaultApiService) ResumeVM(ctx _context.Context) ApiResumeVMRequest
- func (a *DefaultApiService) ResumeVMExecute(r ApiResumeVMRequest) (*_nethttp.Response, error)
- func (a *DefaultApiService) ShutdownVM(ctx _context.Context) ApiShutdownVMRequest
- func (a *DefaultApiService) ShutdownVMExecute(r ApiShutdownVMRequest) (*_nethttp.Response, error)
- func (a *DefaultApiService) ShutdownVMM(ctx _context.Context) ApiShutdownVMMRequest
- func (a *DefaultApiService) ShutdownVMMExecute(r ApiShutdownVMMRequest) (*_nethttp.Response, error)
- func (a *DefaultApiService) VmAddDevicePut(ctx _context.Context) ApiVmAddDevicePutRequest
- func (a *DefaultApiService) VmAddDevicePutExecute(r ApiVmAddDevicePutRequest) (PciDeviceInfo, *_nethttp.Response, error)
- func (a *DefaultApiService) VmAddDiskPut(ctx _context.Context) ApiVmAddDiskPutRequest
- func (a *DefaultApiService) VmAddDiskPutExecute(r ApiVmAddDiskPutRequest) (PciDeviceInfo, *_nethttp.Response, error)
- func (a *DefaultApiService) VmAddFsPut(ctx _context.Context) ApiVmAddFsPutRequest
- func (a *DefaultApiService) VmAddFsPutExecute(r ApiVmAddFsPutRequest) (PciDeviceInfo, *_nethttp.Response, error)
- func (a *DefaultApiService) VmAddNetPut(ctx _context.Context) ApiVmAddNetPutRequest
- func (a *DefaultApiService) VmAddNetPutExecute(r ApiVmAddNetPutRequest) (PciDeviceInfo, *_nethttp.Response, error)
- func (a *DefaultApiService) VmAddPmemPut(ctx _context.Context) ApiVmAddPmemPutRequest
- func (a *DefaultApiService) VmAddPmemPutExecute(r ApiVmAddPmemPutRequest) (PciDeviceInfo, *_nethttp.Response, error)
- func (a *DefaultApiService) VmAddVdpaPut(ctx _context.Context) ApiVmAddVdpaPutRequest
- func (a *DefaultApiService) VmAddVdpaPutExecute(r ApiVmAddVdpaPutRequest) (PciDeviceInfo, *_nethttp.Response, error)
- func (a *DefaultApiService) VmAddVsockPut(ctx _context.Context) ApiVmAddVsockPutRequest
- func (a *DefaultApiService) VmAddVsockPutExecute(r ApiVmAddVsockPutRequest) (PciDeviceInfo, *_nethttp.Response, error)
- func (a *DefaultApiService) VmCoredumpPut(ctx _context.Context) ApiVmCoredumpPutRequest
- func (a *DefaultApiService) VmCoredumpPutExecute(r ApiVmCoredumpPutRequest) (*_nethttp.Response, error)
- func (a *DefaultApiService) VmCountersGet(ctx _context.Context) ApiVmCountersGetRequest
- func (a *DefaultApiService) VmCountersGetExecute(r ApiVmCountersGetRequest) (map[string]map[string]int64, *_nethttp.Response, error)
- func (a *DefaultApiService) VmInfoGet(ctx _context.Context) ApiVmInfoGetRequest
- func (a *DefaultApiService) VmInfoGetExecute(r ApiVmInfoGetRequest) (VmInfo, *_nethttp.Response, error)
- func (a *DefaultApiService) VmReceiveMigrationPut(ctx _context.Context) ApiVmReceiveMigrationPutRequest
- func (a *DefaultApiService) VmReceiveMigrationPutExecute(r ApiVmReceiveMigrationPutRequest) (*_nethttp.Response, error)
- func (a *DefaultApiService) VmRemoveDevicePut(ctx _context.Context) ApiVmRemoveDevicePutRequest
- func (a *DefaultApiService) VmRemoveDevicePutExecute(r ApiVmRemoveDevicePutRequest) (*_nethttp.Response, error)
- func (a *DefaultApiService) VmResizePut(ctx _context.Context) ApiVmResizePutRequest
- func (a *DefaultApiService) VmResizePutExecute(r ApiVmResizePutRequest) (*_nethttp.Response, error)
- func (a *DefaultApiService) VmResizeZonePut(ctx _context.Context) ApiVmResizeZonePutRequest
- func (a *DefaultApiService) VmResizeZonePutExecute(r ApiVmResizeZonePutRequest) (*_nethttp.Response, error)
- func (a *DefaultApiService) VmRestorePut(ctx _context.Context) ApiVmRestorePutRequest
- func (a *DefaultApiService) VmRestorePutExecute(r ApiVmRestorePutRequest) (*_nethttp.Response, error)
- func (a *DefaultApiService) VmSendMigrationPut(ctx _context.Context) ApiVmSendMigrationPutRequest
- func (a *DefaultApiService) VmSendMigrationPutExecute(r ApiVmSendMigrationPutRequest) (*_nethttp.Response, error)
- func (a *DefaultApiService) VmSnapshotPut(ctx _context.Context) ApiVmSnapshotPutRequest
- func (a *DefaultApiService) VmSnapshotPutExecute(r ApiVmSnapshotPutRequest) (*_nethttp.Response, error)
- func (a *DefaultApiService) VmmPingGet(ctx _context.Context) ApiVmmPingGetRequest
- func (a *DefaultApiService) VmmPingGetExecute(r ApiVmmPingGetRequest) (VmmPingResponse, *_nethttp.Response, error)
- type DeviceConfig
- func (o *DeviceConfig) GetId() string
- func (o *DeviceConfig) GetIdOk() (*string, bool)
- func (o *DeviceConfig) GetIommu() bool
- func (o *DeviceConfig) GetIommuOk() (*bool, bool)
- func (o *DeviceConfig) GetPath() string
- func (o *DeviceConfig) GetPathOk() (*string, bool)
- func (o *DeviceConfig) GetPciSegment() int32
- func (o *DeviceConfig) GetPciSegmentOk() (*int32, bool)
- func (o *DeviceConfig) HasId() bool
- func (o *DeviceConfig) HasIommu() bool
- func (o *DeviceConfig) HasPciSegment() bool
- func (o DeviceConfig) MarshalJSON() ([]byte, error)
- func (o *DeviceConfig) SetId(v string)
- func (o *DeviceConfig) SetIommu(v bool)
- func (o *DeviceConfig) SetPath(v string)
- func (o *DeviceConfig) SetPciSegment(v int32)
- type DeviceNode
- func (o *DeviceNode) GetChildren() []string
- func (o *DeviceNode) GetChildrenOk() (*[]string, bool)
- func (o *DeviceNode) GetId() string
- func (o *DeviceNode) GetIdOk() (*string, bool)
- func (o *DeviceNode) GetPciBdf() string
- func (o *DeviceNode) GetPciBdfOk() (*string, bool)
- func (o *DeviceNode) GetResources() []map[string]interface{}
- func (o *DeviceNode) GetResourcesOk() (*[]map[string]interface{}, bool)
- func (o *DeviceNode) HasChildren() bool
- func (o *DeviceNode) HasId() bool
- func (o *DeviceNode) HasPciBdf() bool
- func (o *DeviceNode) HasResources() bool
- func (o DeviceNode) MarshalJSON() ([]byte, error)
- func (o *DeviceNode) SetChildren(v []string)
- func (o *DeviceNode) SetId(v string)
- func (o *DeviceNode) SetPciBdf(v string)
- func (o *DeviceNode) SetResources(v []map[string]interface{})
- type DiskConfig
- func (o *DiskConfig) GetDirect() bool
- func (o *DiskConfig) GetDirectOk() (*bool, bool)
- func (o *DiskConfig) GetId() string
- func (o *DiskConfig) GetIdOk() (*string, bool)
- func (o *DiskConfig) GetIommu() bool
- func (o *DiskConfig) GetIommuOk() (*bool, bool)
- func (o *DiskConfig) GetNumQueues() int32
- func (o *DiskConfig) GetNumQueuesOk() (*int32, bool)
- func (o *DiskConfig) GetPath() string
- func (o *DiskConfig) GetPathOk() (*string, bool)
- func (o *DiskConfig) GetPciSegment() int32
- func (o *DiskConfig) GetPciSegmentOk() (*int32, bool)
- func (o *DiskConfig) GetQueueSize() int32
- func (o *DiskConfig) GetQueueSizeOk() (*int32, bool)
- func (o *DiskConfig) GetRateLimiterConfig() RateLimiterConfig
- func (o *DiskConfig) GetRateLimiterConfigOk() (*RateLimiterConfig, bool)
- func (o *DiskConfig) GetReadonly() bool
- func (o *DiskConfig) GetReadonlyOk() (*bool, bool)
- func (o *DiskConfig) GetSerial() string
- func (o *DiskConfig) GetSerialOk() (*string, bool)
- func (o *DiskConfig) GetVhostSocket() string
- func (o *DiskConfig) GetVhostSocketOk() (*string, bool)
- func (o *DiskConfig) GetVhostUser() bool
- func (o *DiskConfig) GetVhostUserOk() (*bool, bool)
- func (o *DiskConfig) HasDirect() bool
- func (o *DiskConfig) HasId() bool
- func (o *DiskConfig) HasIommu() bool
- func (o *DiskConfig) HasNumQueues() bool
- func (o *DiskConfig) HasPciSegment() bool
- func (o *DiskConfig) HasQueueSize() bool
- func (o *DiskConfig) HasRateLimiterConfig() bool
- func (o *DiskConfig) HasReadonly() bool
- func (o *DiskConfig) HasSerial() bool
- func (o *DiskConfig) HasVhostSocket() bool
- func (o *DiskConfig) HasVhostUser() bool
- func (o DiskConfig) MarshalJSON() ([]byte, error)
- func (o *DiskConfig) SetDirect(v bool)
- func (o *DiskConfig) SetId(v string)
- func (o *DiskConfig) SetIommu(v bool)
- func (o *DiskConfig) SetNumQueues(v int32)
- func (o *DiskConfig) SetPath(v string)
- func (o *DiskConfig) SetPciSegment(v int32)
- func (o *DiskConfig) SetQueueSize(v int32)
- func (o *DiskConfig) SetRateLimiterConfig(v RateLimiterConfig)
- func (o *DiskConfig) SetReadonly(v bool)
- func (o *DiskConfig) SetSerial(v string)
- func (o *DiskConfig) SetVhostSocket(v string)
- func (o *DiskConfig) SetVhostUser(v bool)
- type FsConfig
- func (o *FsConfig) GetId() string
- func (o *FsConfig) GetIdOk() (*string, bool)
- func (o *FsConfig) GetNumQueues() int32
- func (o *FsConfig) GetNumQueuesOk() (*int32, bool)
- func (o *FsConfig) GetPciSegment() int32
- func (o *FsConfig) GetPciSegmentOk() (*int32, bool)
- func (o *FsConfig) GetQueueSize() int32
- func (o *FsConfig) GetQueueSizeOk() (*int32, bool)
- func (o *FsConfig) GetSocket() string
- func (o *FsConfig) GetSocketOk() (*string, bool)
- func (o *FsConfig) GetTag() string
- func (o *FsConfig) GetTagOk() (*string, bool)
- func (o *FsConfig) HasId() bool
- func (o *FsConfig) HasPciSegment() bool
- func (o FsConfig) MarshalJSON() ([]byte, error)
- func (o *FsConfig) SetId(v string)
- func (o *FsConfig) SetNumQueues(v int32)
- func (o *FsConfig) SetPciSegment(v int32)
- func (o *FsConfig) SetQueueSize(v int32)
- func (o *FsConfig) SetSocket(v string)
- func (o *FsConfig) SetTag(v string)
- type GenericOpenAPIError
- type MemoryConfig
- func (o *MemoryConfig) GetHotplugMethod() string
- func (o *MemoryConfig) GetHotplugMethodOk() (*string, bool)
- func (o *MemoryConfig) GetHotplugSize() int64
- func (o *MemoryConfig) GetHotplugSizeOk() (*int64, bool)
- func (o *MemoryConfig) GetHotpluggedSize() int64
- func (o *MemoryConfig) GetHotpluggedSizeOk() (*int64, bool)
- func (o *MemoryConfig) GetHugepageSize() int64
- func (o *MemoryConfig) GetHugepageSizeOk() (*int64, bool)
- func (o *MemoryConfig) GetHugepages() bool
- func (o *MemoryConfig) GetHugepagesOk() (*bool, bool)
- func (o *MemoryConfig) GetMergeable() bool
- func (o *MemoryConfig) GetMergeableOk() (*bool, bool)
- func (o *MemoryConfig) GetPrefault() bool
- func (o *MemoryConfig) GetPrefaultOk() (*bool, bool)
- func (o *MemoryConfig) GetShared() bool
- func (o *MemoryConfig) GetSharedOk() (*bool, bool)
- func (o *MemoryConfig) GetSize() int64
- func (o *MemoryConfig) GetSizeOk() (*int64, bool)
- func (o *MemoryConfig) GetThp() bool
- func (o *MemoryConfig) GetThpOk() (*bool, bool)
- func (o *MemoryConfig) GetZones() []MemoryZoneConfig
- func (o *MemoryConfig) GetZonesOk() (*[]MemoryZoneConfig, bool)
- func (o *MemoryConfig) HasHotplugMethod() bool
- func (o *MemoryConfig) HasHotplugSize() bool
- func (o *MemoryConfig) HasHotpluggedSize() bool
- func (o *MemoryConfig) HasHugepageSize() bool
- func (o *MemoryConfig) HasHugepages() bool
- func (o *MemoryConfig) HasMergeable() bool
- func (o *MemoryConfig) HasPrefault() bool
- func (o *MemoryConfig) HasShared() bool
- func (o *MemoryConfig) HasThp() bool
- func (o *MemoryConfig) HasZones() bool
- func (o MemoryConfig) MarshalJSON() ([]byte, error)
- func (o *MemoryConfig) SetHotplugMethod(v string)
- func (o *MemoryConfig) SetHotplugSize(v int64)
- func (o *MemoryConfig) SetHotpluggedSize(v int64)
- func (o *MemoryConfig) SetHugepageSize(v int64)
- func (o *MemoryConfig) SetHugepages(v bool)
- func (o *MemoryConfig) SetMergeable(v bool)
- func (o *MemoryConfig) SetPrefault(v bool)
- func (o *MemoryConfig) SetShared(v bool)
- func (o *MemoryConfig) SetSize(v int64)
- func (o *MemoryConfig) SetThp(v bool)
- func (o *MemoryConfig) SetZones(v []MemoryZoneConfig)
- type MemoryZoneConfig
- func (o *MemoryZoneConfig) GetFile() string
- func (o *MemoryZoneConfig) GetFileOk() (*string, bool)
- func (o *MemoryZoneConfig) GetHostNumaNode() int32
- func (o *MemoryZoneConfig) GetHostNumaNodeOk() (*int32, bool)
- func (o *MemoryZoneConfig) GetHotplugSize() int64
- func (o *MemoryZoneConfig) GetHotplugSizeOk() (*int64, bool)
- func (o *MemoryZoneConfig) GetHotpluggedSize() int64
- func (o *MemoryZoneConfig) GetHotpluggedSizeOk() (*int64, bool)
- func (o *MemoryZoneConfig) GetHugepageSize() int64
- func (o *MemoryZoneConfig) GetHugepageSizeOk() (*int64, bool)
- func (o *MemoryZoneConfig) GetHugepages() bool
- func (o *MemoryZoneConfig) GetHugepagesOk() (*bool, bool)
- func (o *MemoryZoneConfig) GetId() string
- func (o *MemoryZoneConfig) GetIdOk() (*string, bool)
- func (o *MemoryZoneConfig) GetMergeable() bool
- func (o *MemoryZoneConfig) GetMergeableOk() (*bool, bool)
- func (o *MemoryZoneConfig) GetPrefault() bool
- func (o *MemoryZoneConfig) GetPrefaultOk() (*bool, bool)
- func (o *MemoryZoneConfig) GetShared() bool
- func (o *MemoryZoneConfig) GetSharedOk() (*bool, bool)
- func (o *MemoryZoneConfig) GetSize() int64
- func (o *MemoryZoneConfig) GetSizeOk() (*int64, bool)
- func (o *MemoryZoneConfig) HasFile() bool
- func (o *MemoryZoneConfig) HasHostNumaNode() bool
- func (o *MemoryZoneConfig) HasHotplugSize() bool
- func (o *MemoryZoneConfig) HasHotpluggedSize() bool
- func (o *MemoryZoneConfig) HasHugepageSize() bool
- func (o *MemoryZoneConfig) HasHugepages() bool
- func (o *MemoryZoneConfig) HasMergeable() bool
- func (o *MemoryZoneConfig) HasPrefault() bool
- func (o *MemoryZoneConfig) HasShared() bool
- func (o MemoryZoneConfig) MarshalJSON() ([]byte, error)
- func (o *MemoryZoneConfig) SetFile(v string)
- func (o *MemoryZoneConfig) SetHostNumaNode(v int32)
- func (o *MemoryZoneConfig) SetHotplugSize(v int64)
- func (o *MemoryZoneConfig) SetHotpluggedSize(v int64)
- func (o *MemoryZoneConfig) SetHugepageSize(v int64)
- func (o *MemoryZoneConfig) SetHugepages(v bool)
- func (o *MemoryZoneConfig) SetId(v string)
- func (o *MemoryZoneConfig) SetMergeable(v bool)
- func (o *MemoryZoneConfig) SetPrefault(v bool)
- func (o *MemoryZoneConfig) SetShared(v bool)
- func (o *MemoryZoneConfig) SetSize(v int64)
- type NetConfig
- func (o *NetConfig) GetHostMac() string
- func (o *NetConfig) GetHostMacOk() (*string, bool)
- func (o *NetConfig) GetId() string
- func (o *NetConfig) GetIdOk() (*string, bool)
- func (o *NetConfig) GetIommu() bool
- func (o *NetConfig) GetIommuOk() (*bool, bool)
- func (o *NetConfig) GetIp() string
- func (o *NetConfig) GetIpOk() (*string, bool)
- func (o *NetConfig) GetMac() string
- func (o *NetConfig) GetMacOk() (*string, bool)
- func (o *NetConfig) GetMask() string
- func (o *NetConfig) GetMaskOk() (*string, bool)
- func (o *NetConfig) GetMtu() int32
- func (o *NetConfig) GetMtuOk() (*int32, bool)
- func (o *NetConfig) GetNumQueues() int32
- func (o *NetConfig) GetNumQueuesOk() (*int32, bool)
- func (o *NetConfig) GetPciSegment() int32
- func (o *NetConfig) GetPciSegmentOk() (*int32, bool)
- func (o *NetConfig) GetQueueSize() int32
- func (o *NetConfig) GetQueueSizeOk() (*int32, bool)
- func (o *NetConfig) GetRateLimiterConfig() RateLimiterConfig
- func (o *NetConfig) GetRateLimiterConfigOk() (*RateLimiterConfig, bool)
- func (o *NetConfig) GetTap() string
- func (o *NetConfig) GetTapOk() (*string, bool)
- func (o *NetConfig) GetVhostMode() string
- func (o *NetConfig) GetVhostModeOk() (*string, bool)
- func (o *NetConfig) GetVhostSocket() string
- func (o *NetConfig) GetVhostSocketOk() (*string, bool)
- func (o *NetConfig) GetVhostUser() bool
- func (o *NetConfig) GetVhostUserOk() (*bool, bool)
- func (o *NetConfig) HasHostMac() bool
- func (o *NetConfig) HasId() bool
- func (o *NetConfig) HasIommu() bool
- func (o *NetConfig) HasIp() bool
- func (o *NetConfig) HasMac() bool
- func (o *NetConfig) HasMask() bool
- func (o *NetConfig) HasMtu() bool
- func (o *NetConfig) HasNumQueues() bool
- func (o *NetConfig) HasPciSegment() bool
- func (o *NetConfig) HasQueueSize() bool
- func (o *NetConfig) HasRateLimiterConfig() bool
- func (o *NetConfig) HasTap() bool
- func (o *NetConfig) HasVhostMode() bool
- func (o *NetConfig) HasVhostSocket() bool
- func (o *NetConfig) HasVhostUser() bool
- func (o NetConfig) MarshalJSON() ([]byte, error)
- func (o *NetConfig) SetHostMac(v string)
- func (o *NetConfig) SetId(v string)
- func (o *NetConfig) SetIommu(v bool)
- func (o *NetConfig) SetIp(v string)
- func (o *NetConfig) SetMac(v string)
- func (o *NetConfig) SetMask(v string)
- func (o *NetConfig) SetMtu(v int32)
- func (o *NetConfig) SetNumQueues(v int32)
- func (o *NetConfig) SetPciSegment(v int32)
- func (o *NetConfig) SetQueueSize(v int32)
- func (o *NetConfig) SetRateLimiterConfig(v RateLimiterConfig)
- func (o *NetConfig) SetTap(v string)
- func (o *NetConfig) SetVhostMode(v string)
- func (o *NetConfig) SetVhostSocket(v string)
- func (o *NetConfig) SetVhostUser(v bool)
- type NullableBalloonConfig
- func (v NullableBalloonConfig) Get() *BalloonConfig
- func (v NullableBalloonConfig) IsSet() bool
- func (v NullableBalloonConfig) MarshalJSON() ([]byte, error)
- func (v *NullableBalloonConfig) Set(val *BalloonConfig)
- func (v *NullableBalloonConfig) UnmarshalJSON(src []byte) error
- func (v *NullableBalloonConfig) Unset()
- type NullableBool
- type NullableConsoleConfig
- func (v NullableConsoleConfig) Get() *ConsoleConfig
- func (v NullableConsoleConfig) IsSet() bool
- func (v NullableConsoleConfig) MarshalJSON() ([]byte, error)
- func (v *NullableConsoleConfig) Set(val *ConsoleConfig)
- func (v *NullableConsoleConfig) UnmarshalJSON(src []byte) error
- func (v *NullableConsoleConfig) Unset()
- type NullableCpuAffinity
- func (v NullableCpuAffinity) Get() *CpuAffinity
- func (v NullableCpuAffinity) IsSet() bool
- func (v NullableCpuAffinity) MarshalJSON() ([]byte, error)
- func (v *NullableCpuAffinity) Set(val *CpuAffinity)
- func (v *NullableCpuAffinity) UnmarshalJSON(src []byte) error
- func (v *NullableCpuAffinity) Unset()
- type NullableCpuFeatures
- func (v NullableCpuFeatures) Get() *CpuFeatures
- func (v NullableCpuFeatures) IsSet() bool
- func (v NullableCpuFeatures) MarshalJSON() ([]byte, error)
- func (v *NullableCpuFeatures) Set(val *CpuFeatures)
- func (v *NullableCpuFeatures) UnmarshalJSON(src []byte) error
- func (v *NullableCpuFeatures) Unset()
- type NullableCpuTopology
- func (v NullableCpuTopology) Get() *CpuTopology
- func (v NullableCpuTopology) IsSet() bool
- func (v NullableCpuTopology) MarshalJSON() ([]byte, error)
- func (v *NullableCpuTopology) Set(val *CpuTopology)
- func (v *NullableCpuTopology) UnmarshalJSON(src []byte) error
- func (v *NullableCpuTopology) Unset()
- type NullableCpusConfig
- type NullableDeviceConfig
- func (v NullableDeviceConfig) Get() *DeviceConfig
- func (v NullableDeviceConfig) IsSet() bool
- func (v NullableDeviceConfig) MarshalJSON() ([]byte, error)
- func (v *NullableDeviceConfig) Set(val *DeviceConfig)
- func (v *NullableDeviceConfig) UnmarshalJSON(src []byte) error
- func (v *NullableDeviceConfig) Unset()
- type NullableDeviceNode
- type NullableDiskConfig
- type NullableFloat32
- type NullableFloat64
- type NullableFsConfig
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableMemoryConfig
- func (v NullableMemoryConfig) Get() *MemoryConfig
- func (v NullableMemoryConfig) IsSet() bool
- func (v NullableMemoryConfig) MarshalJSON() ([]byte, error)
- func (v *NullableMemoryConfig) Set(val *MemoryConfig)
- func (v *NullableMemoryConfig) UnmarshalJSON(src []byte) error
- func (v *NullableMemoryConfig) Unset()
- type NullableMemoryZoneConfig
- func (v NullableMemoryZoneConfig) Get() *MemoryZoneConfig
- func (v NullableMemoryZoneConfig) IsSet() bool
- func (v NullableMemoryZoneConfig) MarshalJSON() ([]byte, error)
- func (v *NullableMemoryZoneConfig) Set(val *MemoryZoneConfig)
- func (v *NullableMemoryZoneConfig) UnmarshalJSON(src []byte) error
- func (v *NullableMemoryZoneConfig) Unset()
- type NullableNetConfig
- type NullableNumaConfig
- type NullableNumaDistance
- func (v NullableNumaDistance) Get() *NumaDistance
- func (v NullableNumaDistance) IsSet() bool
- func (v NullableNumaDistance) MarshalJSON() ([]byte, error)
- func (v *NullableNumaDistance) Set(val *NumaDistance)
- func (v *NullableNumaDistance) UnmarshalJSON(src []byte) error
- func (v *NullableNumaDistance) Unset()
- type NullablePayloadConfig
- func (v NullablePayloadConfig) Get() *PayloadConfig
- func (v NullablePayloadConfig) IsSet() bool
- func (v NullablePayloadConfig) MarshalJSON() ([]byte, error)
- func (v *NullablePayloadConfig) Set(val *PayloadConfig)
- func (v *NullablePayloadConfig) UnmarshalJSON(src []byte) error
- func (v *NullablePayloadConfig) Unset()
- type NullablePciDeviceInfo
- func (v NullablePciDeviceInfo) Get() *PciDeviceInfo
- func (v NullablePciDeviceInfo) IsSet() bool
- func (v NullablePciDeviceInfo) MarshalJSON() ([]byte, error)
- func (v *NullablePciDeviceInfo) Set(val *PciDeviceInfo)
- func (v *NullablePciDeviceInfo) UnmarshalJSON(src []byte) error
- func (v *NullablePciDeviceInfo) Unset()
- type NullablePlatformConfig
- func (v NullablePlatformConfig) Get() *PlatformConfig
- func (v NullablePlatformConfig) IsSet() bool
- func (v NullablePlatformConfig) MarshalJSON() ([]byte, error)
- func (v *NullablePlatformConfig) Set(val *PlatformConfig)
- func (v *NullablePlatformConfig) UnmarshalJSON(src []byte) error
- func (v *NullablePlatformConfig) Unset()
- type NullablePmemConfig
- type NullableRateLimiterConfig
- func (v NullableRateLimiterConfig) Get() *RateLimiterConfig
- func (v NullableRateLimiterConfig) IsSet() bool
- func (v NullableRateLimiterConfig) MarshalJSON() ([]byte, error)
- func (v *NullableRateLimiterConfig) Set(val *RateLimiterConfig)
- func (v *NullableRateLimiterConfig) UnmarshalJSON(src []byte) error
- func (v *NullableRateLimiterConfig) Unset()
- type NullableReceiveMigrationData
- func (v NullableReceiveMigrationData) Get() *ReceiveMigrationData
- func (v NullableReceiveMigrationData) IsSet() bool
- func (v NullableReceiveMigrationData) MarshalJSON() ([]byte, error)
- func (v *NullableReceiveMigrationData) Set(val *ReceiveMigrationData)
- func (v *NullableReceiveMigrationData) UnmarshalJSON(src []byte) error
- func (v *NullableReceiveMigrationData) Unset()
- type NullableRestoreConfig
- func (v NullableRestoreConfig) Get() *RestoreConfig
- func (v NullableRestoreConfig) IsSet() bool
- func (v NullableRestoreConfig) MarshalJSON() ([]byte, error)
- func (v *NullableRestoreConfig) Set(val *RestoreConfig)
- func (v *NullableRestoreConfig) UnmarshalJSON(src []byte) error
- func (v *NullableRestoreConfig) Unset()
- type NullableRngConfig
- type NullableSendMigrationData
- func (v NullableSendMigrationData) Get() *SendMigrationData
- func (v NullableSendMigrationData) IsSet() bool
- func (v NullableSendMigrationData) MarshalJSON() ([]byte, error)
- func (v *NullableSendMigrationData) Set(val *SendMigrationData)
- func (v *NullableSendMigrationData) UnmarshalJSON(src []byte) error
- func (v *NullableSendMigrationData) Unset()
- type NullableSgxEpcConfig
- func (v NullableSgxEpcConfig) Get() *SgxEpcConfig
- func (v NullableSgxEpcConfig) IsSet() bool
- func (v NullableSgxEpcConfig) MarshalJSON() ([]byte, error)
- func (v *NullableSgxEpcConfig) Set(val *SgxEpcConfig)
- func (v *NullableSgxEpcConfig) UnmarshalJSON(src []byte) error
- func (v *NullableSgxEpcConfig) Unset()
- type NullableString
- type NullableTime
- type NullableTokenBucket
- func (v NullableTokenBucket) Get() *TokenBucket
- func (v NullableTokenBucket) IsSet() bool
- func (v NullableTokenBucket) MarshalJSON() ([]byte, error)
- func (v *NullableTokenBucket) Set(val *TokenBucket)
- func (v *NullableTokenBucket) UnmarshalJSON(src []byte) error
- func (v *NullableTokenBucket) Unset()
- type NullableTpmConfig
- type NullableVdpaConfig
- type NullableVmConfig
- type NullableVmCoredumpData
- func (v NullableVmCoredumpData) Get() *VmCoredumpData
- func (v NullableVmCoredumpData) IsSet() bool
- func (v NullableVmCoredumpData) MarshalJSON() ([]byte, error)
- func (v *NullableVmCoredumpData) Set(val *VmCoredumpData)
- func (v *NullableVmCoredumpData) UnmarshalJSON(src []byte) error
- func (v *NullableVmCoredumpData) Unset()
- type NullableVmInfo
- type NullableVmRemoveDevice
- func (v NullableVmRemoveDevice) Get() *VmRemoveDevice
- func (v NullableVmRemoveDevice) IsSet() bool
- func (v NullableVmRemoveDevice) MarshalJSON() ([]byte, error)
- func (v *NullableVmRemoveDevice) Set(val *VmRemoveDevice)
- func (v *NullableVmRemoveDevice) UnmarshalJSON(src []byte) error
- func (v *NullableVmRemoveDevice) Unset()
- type NullableVmResize
- type NullableVmResizeZone
- func (v NullableVmResizeZone) Get() *VmResizeZone
- func (v NullableVmResizeZone) IsSet() bool
- func (v NullableVmResizeZone) MarshalJSON() ([]byte, error)
- func (v *NullableVmResizeZone) Set(val *VmResizeZone)
- func (v *NullableVmResizeZone) UnmarshalJSON(src []byte) error
- func (v *NullableVmResizeZone) Unset()
- type NullableVmSnapshotConfig
- func (v NullableVmSnapshotConfig) Get() *VmSnapshotConfig
- func (v NullableVmSnapshotConfig) IsSet() bool
- func (v NullableVmSnapshotConfig) MarshalJSON() ([]byte, error)
- func (v *NullableVmSnapshotConfig) Set(val *VmSnapshotConfig)
- func (v *NullableVmSnapshotConfig) UnmarshalJSON(src []byte) error
- func (v *NullableVmSnapshotConfig) Unset()
- type NullableVmmPingResponse
- func (v NullableVmmPingResponse) Get() *VmmPingResponse
- func (v NullableVmmPingResponse) IsSet() bool
- func (v NullableVmmPingResponse) MarshalJSON() ([]byte, error)
- func (v *NullableVmmPingResponse) Set(val *VmmPingResponse)
- func (v *NullableVmmPingResponse) UnmarshalJSON(src []byte) error
- func (v *NullableVmmPingResponse) Unset()
- type NullableVsockConfig
- func (v NullableVsockConfig) Get() *VsockConfig
- func (v NullableVsockConfig) IsSet() bool
- func (v NullableVsockConfig) MarshalJSON() ([]byte, error)
- func (v *NullableVsockConfig) Set(val *VsockConfig)
- func (v *NullableVsockConfig) UnmarshalJSON(src []byte) error
- func (v *NullableVsockConfig) Unset()
- type NumaConfig
- func (o *NumaConfig) GetCpus() []int32
- func (o *NumaConfig) GetCpusOk() (*[]int32, bool)
- func (o *NumaConfig) GetDistances() []NumaDistance
- func (o *NumaConfig) GetDistancesOk() (*[]NumaDistance, bool)
- func (o *NumaConfig) GetGuestNumaId() int32
- func (o *NumaConfig) GetGuestNumaIdOk() (*int32, bool)
- func (o *NumaConfig) GetMemoryZones() []string
- func (o *NumaConfig) GetMemoryZonesOk() (*[]string, bool)
- func (o *NumaConfig) GetPciSegments() []int32
- func (o *NumaConfig) GetPciSegmentsOk() (*[]int32, bool)
- func (o *NumaConfig) GetSgxEpcSections() []string
- func (o *NumaConfig) GetSgxEpcSectionsOk() (*[]string, bool)
- func (o *NumaConfig) HasCpus() bool
- func (o *NumaConfig) HasDistances() bool
- func (o *NumaConfig) HasMemoryZones() bool
- func (o *NumaConfig) HasPciSegments() bool
- func (o *NumaConfig) HasSgxEpcSections() bool
- func (o NumaConfig) MarshalJSON() ([]byte, error)
- func (o *NumaConfig) SetCpus(v []int32)
- func (o *NumaConfig) SetDistances(v []NumaDistance)
- func (o *NumaConfig) SetGuestNumaId(v int32)
- func (o *NumaConfig) SetMemoryZones(v []string)
- func (o *NumaConfig) SetPciSegments(v []int32)
- func (o *NumaConfig) SetSgxEpcSections(v []string)
- type NumaDistance
- func (o *NumaDistance) GetDestination() int32
- func (o *NumaDistance) GetDestinationOk() (*int32, bool)
- func (o *NumaDistance) GetDistance() int32
- func (o *NumaDistance) GetDistanceOk() (*int32, bool)
- func (o NumaDistance) MarshalJSON() ([]byte, error)
- func (o *NumaDistance) SetDestination(v int32)
- func (o *NumaDistance) SetDistance(v int32)
- type PayloadConfig
- func (o *PayloadConfig) GetCmdline() string
- func (o *PayloadConfig) GetCmdlineOk() (*string, bool)
- func (o *PayloadConfig) GetFirmware() string
- func (o *PayloadConfig) GetFirmwareOk() (*string, bool)
- func (o *PayloadConfig) GetInitramfs() string
- func (o *PayloadConfig) GetInitramfsOk() (*string, bool)
- func (o *PayloadConfig) GetKernel() string
- func (o *PayloadConfig) GetKernelOk() (*string, bool)
- func (o *PayloadConfig) HasCmdline() bool
- func (o *PayloadConfig) HasFirmware() bool
- func (o *PayloadConfig) HasInitramfs() bool
- func (o *PayloadConfig) HasKernel() bool
- func (o PayloadConfig) MarshalJSON() ([]byte, error)
- func (o *PayloadConfig) SetCmdline(v string)
- func (o *PayloadConfig) SetFirmware(v string)
- func (o *PayloadConfig) SetInitramfs(v string)
- func (o *PayloadConfig) SetKernel(v string)
- type PciDeviceInfo
- func (o *PciDeviceInfo) GetBdf() string
- func (o *PciDeviceInfo) GetBdfOk() (*string, bool)
- func (o *PciDeviceInfo) GetId() string
- func (o *PciDeviceInfo) GetIdOk() (*string, bool)
- func (o PciDeviceInfo) MarshalJSON() ([]byte, error)
- func (o *PciDeviceInfo) SetBdf(v string)
- func (o *PciDeviceInfo) SetId(v string)
- type PlatformConfig
- func (o *PlatformConfig) GetIommuSegments() []int32
- func (o *PlatformConfig) GetIommuSegmentsOk() (*[]int32, bool)
- func (o *PlatformConfig) GetNumPciSegments() int32
- func (o *PlatformConfig) GetNumPciSegmentsOk() (*int32, bool)
- func (o *PlatformConfig) GetOemStrings() []string
- func (o *PlatformConfig) GetOemStringsOk() (*[]string, bool)
- func (o *PlatformConfig) GetSerialNumber() string
- func (o *PlatformConfig) GetSerialNumberOk() (*string, bool)
- func (o *PlatformConfig) GetTdx() bool
- func (o *PlatformConfig) GetTdxOk() (*bool, bool)
- func (o *PlatformConfig) GetUuid() string
- func (o *PlatformConfig) GetUuidOk() (*string, bool)
- func (o *PlatformConfig) HasIommuSegments() bool
- func (o *PlatformConfig) HasNumPciSegments() bool
- func (o *PlatformConfig) HasOemStrings() bool
- func (o *PlatformConfig) HasSerialNumber() bool
- func (o *PlatformConfig) HasTdx() bool
- func (o *PlatformConfig) HasUuid() bool
- func (o PlatformConfig) MarshalJSON() ([]byte, error)
- func (o *PlatformConfig) SetIommuSegments(v []int32)
- func (o *PlatformConfig) SetNumPciSegments(v int32)
- func (o *PlatformConfig) SetOemStrings(v []string)
- func (o *PlatformConfig) SetSerialNumber(v string)
- func (o *PlatformConfig) SetTdx(v bool)
- func (o *PlatformConfig) SetUuid(v string)
- type PmemConfig
- func (o *PmemConfig) GetDiscardWrites() bool
- func (o *PmemConfig) GetDiscardWritesOk() (*bool, bool)
- func (o *PmemConfig) GetFile() string
- func (o *PmemConfig) GetFileOk() (*string, bool)
- func (o *PmemConfig) GetId() string
- func (o *PmemConfig) GetIdOk() (*string, bool)
- func (o *PmemConfig) GetIommu() bool
- func (o *PmemConfig) GetIommuOk() (*bool, bool)
- func (o *PmemConfig) GetPciSegment() int32
- func (o *PmemConfig) GetPciSegmentOk() (*int32, bool)
- func (o *PmemConfig) GetSize() int64
- func (o *PmemConfig) GetSizeOk() (*int64, bool)
- func (o *PmemConfig) HasDiscardWrites() bool
- func (o *PmemConfig) HasId() bool
- func (o *PmemConfig) HasIommu() bool
- func (o *PmemConfig) HasPciSegment() bool
- func (o *PmemConfig) HasSize() bool
- func (o PmemConfig) MarshalJSON() ([]byte, error)
- func (o *PmemConfig) SetDiscardWrites(v bool)
- func (o *PmemConfig) SetFile(v string)
- func (o *PmemConfig) SetId(v string)
- func (o *PmemConfig) SetIommu(v bool)
- func (o *PmemConfig) SetPciSegment(v int32)
- func (o *PmemConfig) SetSize(v int64)
- type RateLimiterConfig
- func (o *RateLimiterConfig) GetBandwidth() TokenBucket
- func (o *RateLimiterConfig) GetBandwidthOk() (*TokenBucket, bool)
- func (o *RateLimiterConfig) GetOps() TokenBucket
- func (o *RateLimiterConfig) GetOpsOk() (*TokenBucket, bool)
- func (o *RateLimiterConfig) HasBandwidth() bool
- func (o *RateLimiterConfig) HasOps() bool
- func (o RateLimiterConfig) MarshalJSON() ([]byte, error)
- func (o *RateLimiterConfig) SetBandwidth(v TokenBucket)
- func (o *RateLimiterConfig) SetOps(v TokenBucket)
- type ReceiveMigrationData
- type RestoreConfig
- func (o *RestoreConfig) GetPrefault() bool
- func (o *RestoreConfig) GetPrefaultOk() (*bool, bool)
- func (o *RestoreConfig) GetSourceUrl() string
- func (o *RestoreConfig) GetSourceUrlOk() (*string, bool)
- func (o *RestoreConfig) HasPrefault() bool
- func (o RestoreConfig) MarshalJSON() ([]byte, error)
- func (o *RestoreConfig) SetPrefault(v bool)
- func (o *RestoreConfig) SetSourceUrl(v string)
- type RngConfig
- func (o *RngConfig) GetIommu() bool
- func (o *RngConfig) GetIommuOk() (*bool, bool)
- func (o *RngConfig) GetSrc() string
- func (o *RngConfig) GetSrcOk() (*string, bool)
- func (o *RngConfig) HasIommu() bool
- func (o RngConfig) MarshalJSON() ([]byte, error)
- func (o *RngConfig) SetIommu(v bool)
- func (o *RngConfig) SetSrc(v string)
- type SendMigrationData
- func (o *SendMigrationData) GetDestinationUrl() string
- func (o *SendMigrationData) GetDestinationUrlOk() (*string, bool)
- func (o *SendMigrationData) GetLocal() bool
- func (o *SendMigrationData) GetLocalOk() (*bool, bool)
- func (o *SendMigrationData) HasLocal() bool
- func (o SendMigrationData) MarshalJSON() ([]byte, error)
- func (o *SendMigrationData) SetDestinationUrl(v string)
- func (o *SendMigrationData) SetLocal(v bool)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type SgxEpcConfig
- func (o *SgxEpcConfig) GetId() string
- func (o *SgxEpcConfig) GetIdOk() (*string, bool)
- func (o *SgxEpcConfig) GetPrefault() bool
- func (o *SgxEpcConfig) GetPrefaultOk() (*bool, bool)
- func (o *SgxEpcConfig) GetSize() int64
- func (o *SgxEpcConfig) GetSizeOk() (*int64, bool)
- func (o *SgxEpcConfig) HasPrefault() bool
- func (o SgxEpcConfig) MarshalJSON() ([]byte, error)
- func (o *SgxEpcConfig) SetId(v string)
- func (o *SgxEpcConfig) SetPrefault(v bool)
- func (o *SgxEpcConfig) SetSize(v int64)
- type TokenBucket
- func (o *TokenBucket) GetOneTimeBurst() int64
- func (o *TokenBucket) GetOneTimeBurstOk() (*int64, bool)
- func (o *TokenBucket) GetRefillTime() int64
- func (o *TokenBucket) GetRefillTimeOk() (*int64, bool)
- func (o *TokenBucket) GetSize() int64
- func (o *TokenBucket) GetSizeOk() (*int64, bool)
- func (o *TokenBucket) HasOneTimeBurst() bool
- func (o TokenBucket) MarshalJSON() ([]byte, error)
- func (o *TokenBucket) SetOneTimeBurst(v int64)
- func (o *TokenBucket) SetRefillTime(v int64)
- func (o *TokenBucket) SetSize(v int64)
- type TpmConfig
- type VdpaConfig
- func (o *VdpaConfig) GetId() string
- func (o *VdpaConfig) GetIdOk() (*string, bool)
- func (o *VdpaConfig) GetIommu() bool
- func (o *VdpaConfig) GetIommuOk() (*bool, bool)
- func (o *VdpaConfig) GetNumQueues() int32
- func (o *VdpaConfig) GetNumQueuesOk() (*int32, bool)
- func (o *VdpaConfig) GetPath() string
- func (o *VdpaConfig) GetPathOk() (*string, bool)
- func (o *VdpaConfig) GetPciSegment() int32
- func (o *VdpaConfig) GetPciSegmentOk() (*int32, bool)
- func (o *VdpaConfig) HasId() bool
- func (o *VdpaConfig) HasIommu() bool
- func (o *VdpaConfig) HasPciSegment() bool
- func (o VdpaConfig) MarshalJSON() ([]byte, error)
- func (o *VdpaConfig) SetId(v string)
- func (o *VdpaConfig) SetIommu(v bool)
- func (o *VdpaConfig) SetNumQueues(v int32)
- func (o *VdpaConfig) SetPath(v string)
- func (o *VdpaConfig) SetPciSegment(v int32)
- type VmConfig
- func (o *VmConfig) GetBalloon() BalloonConfig
- func (o *VmConfig) GetBalloonOk() (*BalloonConfig, bool)
- func (o *VmConfig) GetConsole() ConsoleConfig
- func (o *VmConfig) GetConsoleOk() (*ConsoleConfig, bool)
- func (o *VmConfig) GetCpus() CpusConfig
- func (o *VmConfig) GetCpusOk() (*CpusConfig, bool)
- func (o *VmConfig) GetDevices() []DeviceConfig
- func (o *VmConfig) GetDevicesOk() (*[]DeviceConfig, bool)
- func (o *VmConfig) GetDisks() []DiskConfig
- func (o *VmConfig) GetDisksOk() (*[]DiskConfig, bool)
- func (o *VmConfig) GetFs() []FsConfig
- func (o *VmConfig) GetFsOk() (*[]FsConfig, bool)
- func (o *VmConfig) GetIommu() bool
- func (o *VmConfig) GetIommuOk() (*bool, bool)
- func (o *VmConfig) GetMemory() MemoryConfig
- func (o *VmConfig) GetMemoryOk() (*MemoryConfig, bool)
- func (o *VmConfig) GetNet() []NetConfig
- func (o *VmConfig) GetNetOk() (*[]NetConfig, bool)
- func (o *VmConfig) GetNuma() []NumaConfig
- func (o *VmConfig) GetNumaOk() (*[]NumaConfig, bool)
- func (o *VmConfig) GetPayload() PayloadConfig
- func (o *VmConfig) GetPayloadOk() (*PayloadConfig, bool)
- func (o *VmConfig) GetPlatform() PlatformConfig
- func (o *VmConfig) GetPlatformOk() (*PlatformConfig, bool)
- func (o *VmConfig) GetPmem() []PmemConfig
- func (o *VmConfig) GetPmemOk() (*[]PmemConfig, bool)
- func (o *VmConfig) GetRng() RngConfig
- func (o *VmConfig) GetRngOk() (*RngConfig, bool)
- func (o *VmConfig) GetSerial() ConsoleConfig
- func (o *VmConfig) GetSerialOk() (*ConsoleConfig, bool)
- func (o *VmConfig) GetSgxEpc() []SgxEpcConfig
- func (o *VmConfig) GetSgxEpcOk() (*[]SgxEpcConfig, bool)
- func (o *VmConfig) GetTpm() TpmConfig
- func (o *VmConfig) GetTpmOk() (*TpmConfig, bool)
- func (o *VmConfig) GetVdpa() []VdpaConfig
- func (o *VmConfig) GetVdpaOk() (*[]VdpaConfig, bool)
- func (o *VmConfig) GetVsock() VsockConfig
- func (o *VmConfig) GetVsockOk() (*VsockConfig, bool)
- func (o *VmConfig) GetWatchdog() bool
- func (o *VmConfig) GetWatchdogOk() (*bool, bool)
- func (o *VmConfig) HasBalloon() bool
- func (o *VmConfig) HasConsole() bool
- func (o *VmConfig) HasCpus() bool
- func (o *VmConfig) HasDevices() bool
- func (o *VmConfig) HasDisks() bool
- func (o *VmConfig) HasFs() bool
- func (o *VmConfig) HasIommu() bool
- func (o *VmConfig) HasMemory() bool
- func (o *VmConfig) HasNet() bool
- func (o *VmConfig) HasNuma() bool
- func (o *VmConfig) HasPlatform() bool
- func (o *VmConfig) HasPmem() bool
- func (o *VmConfig) HasRng() bool
- func (o *VmConfig) HasSerial() bool
- func (o *VmConfig) HasSgxEpc() bool
- func (o *VmConfig) HasTpm() bool
- func (o *VmConfig) HasVdpa() bool
- func (o *VmConfig) HasVsock() bool
- func (o *VmConfig) HasWatchdog() bool
- func (o VmConfig) MarshalJSON() ([]byte, error)
- func (o *VmConfig) SetBalloon(v BalloonConfig)
- func (o *VmConfig) SetConsole(v ConsoleConfig)
- func (o *VmConfig) SetCpus(v CpusConfig)
- func (o *VmConfig) SetDevices(v []DeviceConfig)
- func (o *VmConfig) SetDisks(v []DiskConfig)
- func (o *VmConfig) SetFs(v []FsConfig)
- func (o *VmConfig) SetIommu(v bool)
- func (o *VmConfig) SetMemory(v MemoryConfig)
- func (o *VmConfig) SetNet(v []NetConfig)
- func (o *VmConfig) SetNuma(v []NumaConfig)
- func (o *VmConfig) SetPayload(v PayloadConfig)
- func (o *VmConfig) SetPlatform(v PlatformConfig)
- func (o *VmConfig) SetPmem(v []PmemConfig)
- func (o *VmConfig) SetRng(v RngConfig)
- func (o *VmConfig) SetSerial(v ConsoleConfig)
- func (o *VmConfig) SetSgxEpc(v []SgxEpcConfig)
- func (o *VmConfig) SetTpm(v TpmConfig)
- func (o *VmConfig) SetVdpa(v []VdpaConfig)
- func (o *VmConfig) SetVsock(v VsockConfig)
- func (o *VmConfig) SetWatchdog(v bool)
- type VmCoredumpData
- type VmInfo
- func (o *VmInfo) GetConfig() VmConfig
- func (o *VmInfo) GetConfigOk() (*VmConfig, bool)
- func (o *VmInfo) GetDeviceTree() map[string]DeviceNode
- func (o *VmInfo) GetDeviceTreeOk() (*map[string]DeviceNode, bool)
- func (o *VmInfo) GetMemoryActualSize() int64
- func (o *VmInfo) GetMemoryActualSizeOk() (*int64, bool)
- func (o *VmInfo) GetState() string
- func (o *VmInfo) GetStateOk() (*string, bool)
- func (o *VmInfo) HasDeviceTree() bool
- func (o *VmInfo) HasMemoryActualSize() bool
- func (o VmInfo) MarshalJSON() ([]byte, error)
- func (o *VmInfo) SetConfig(v VmConfig)
- func (o *VmInfo) SetDeviceTree(v map[string]DeviceNode)
- func (o *VmInfo) SetMemoryActualSize(v int64)
- func (o *VmInfo) SetState(v string)
- type VmRemoveDevice
- type VmResize
- func (o *VmResize) GetDesiredBalloon() int64
- func (o *VmResize) GetDesiredBalloonOk() (*int64, bool)
- func (o *VmResize) GetDesiredRam() int64
- func (o *VmResize) GetDesiredRamOk() (*int64, bool)
- func (o *VmResize) GetDesiredVcpus() int32
- func (o *VmResize) GetDesiredVcpusOk() (*int32, bool)
- func (o *VmResize) HasDesiredBalloon() bool
- func (o *VmResize) HasDesiredRam() bool
- func (o *VmResize) HasDesiredVcpus() bool
- func (o VmResize) MarshalJSON() ([]byte, error)
- func (o *VmResize) SetDesiredBalloon(v int64)
- func (o *VmResize) SetDesiredRam(v int64)
- func (o *VmResize) SetDesiredVcpus(v int32)
- type VmResizeZone
- func (o *VmResizeZone) GetDesiredRam() int64
- func (o *VmResizeZone) GetDesiredRamOk() (*int64, bool)
- func (o *VmResizeZone) GetId() string
- func (o *VmResizeZone) GetIdOk() (*string, bool)
- func (o *VmResizeZone) HasDesiredRam() bool
- func (o *VmResizeZone) HasId() bool
- func (o VmResizeZone) MarshalJSON() ([]byte, error)
- func (o *VmResizeZone) SetDesiredRam(v int64)
- func (o *VmResizeZone) SetId(v string)
- type VmSnapshotConfig
- type VmmPingResponse
- func (o *VmmPingResponse) GetBuildVersion() string
- func (o *VmmPingResponse) GetBuildVersionOk() (*string, bool)
- func (o *VmmPingResponse) GetFeatures() []string
- func (o *VmmPingResponse) GetFeaturesOk() (*[]string, bool)
- func (o *VmmPingResponse) GetPid() int64
- func (o *VmmPingResponse) GetPidOk() (*int64, bool)
- func (o *VmmPingResponse) GetVersion() string
- func (o *VmmPingResponse) GetVersionOk() (*string, bool)
- func (o *VmmPingResponse) HasBuildVersion() bool
- func (o *VmmPingResponse) HasFeatures() bool
- func (o *VmmPingResponse) HasPid() bool
- func (o VmmPingResponse) MarshalJSON() ([]byte, error)
- func (o *VmmPingResponse) SetBuildVersion(v string)
- func (o *VmmPingResponse) SetFeatures(v []string)
- func (o *VmmPingResponse) SetPid(v int64)
- func (o *VmmPingResponse) SetVersion(v string)
- type VsockConfig
- func (o *VsockConfig) GetCid() int64
- func (o *VsockConfig) GetCidOk() (*int64, bool)
- func (o *VsockConfig) GetId() string
- func (o *VsockConfig) GetIdOk() (*string, bool)
- func (o *VsockConfig) GetIommu() bool
- func (o *VsockConfig) GetIommuOk() (*bool, bool)
- func (o *VsockConfig) GetPciSegment() int32
- func (o *VsockConfig) GetPciSegmentOk() (*int32, bool)
- func (o *VsockConfig) GetSocket() string
- func (o *VsockConfig) GetSocketOk() (*string, bool)
- func (o *VsockConfig) HasId() bool
- func (o *VsockConfig) HasIommu() bool
- func (o *VsockConfig) HasPciSegment() bool
- func (o VsockConfig) MarshalJSON() ([]byte, error)
- func (o *VsockConfig) SetCid(v int64)
- func (o *VsockConfig) SetId(v string)
- func (o *VsockConfig) SetIommu(v bool)
- func (o *VsockConfig) SetPciSegment(v int32)
- func (o *VsockConfig) SetSocket(v string)
Constants ¶
This section is empty.
Variables ¶
var ( // ContextOAuth2 takes an oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextBasicAuth takes BasicAuth as authentication for the request. ContextBasicAuth = contextKey("basic") // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextAPIKeys takes a string apikey as authentication for the request ContextAPIKeys = contextKey("apiKeys") // ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request. ContextHttpSignatureAuth = contextKey("httpsignature") // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct { DefaultApi *DefaultApiService // contains filtered or unexported fields }
APIClient manages communication with the Cloud Hypervisor API API v0.3.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the OpenAPI operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type ApiBootVMRequest ¶
type ApiBootVMRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
type ApiCreateVMRequest ¶
type ApiCreateVMRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
func (ApiCreateVMRequest) Execute ¶
func (r ApiCreateVMRequest) Execute() (*_nethttp.Response, error)
func (ApiCreateVMRequest) VmConfig ¶
func (r ApiCreateVMRequest) VmConfig(vmConfig VmConfig) ApiCreateVMRequest
The VM configuration
type ApiDeleteVMRequest ¶
type ApiDeleteVMRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
type ApiPauseVMRequest ¶
type ApiPauseVMRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
type ApiPowerButtonVMRequest ¶
type ApiPowerButtonVMRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
type ApiRebootVMRequest ¶
type ApiRebootVMRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
type ApiResumeVMRequest ¶
type ApiResumeVMRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
type ApiShutdownVMMRequest ¶
type ApiShutdownVMMRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
type ApiShutdownVMRequest ¶
type ApiShutdownVMRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
type ApiVmAddDevicePutRequest ¶
type ApiVmAddDevicePutRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
func (ApiVmAddDevicePutRequest) DeviceConfig ¶
func (r ApiVmAddDevicePutRequest) DeviceConfig(deviceConfig DeviceConfig) ApiVmAddDevicePutRequest
The path of the new device
func (ApiVmAddDevicePutRequest) Execute ¶
func (r ApiVmAddDevicePutRequest) Execute() (PciDeviceInfo, *_nethttp.Response, error)
type ApiVmAddDiskPutRequest ¶
type ApiVmAddDiskPutRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
func (ApiVmAddDiskPutRequest) DiskConfig ¶
func (r ApiVmAddDiskPutRequest) DiskConfig(diskConfig DiskConfig) ApiVmAddDiskPutRequest
The details of the new disk
func (ApiVmAddDiskPutRequest) Execute ¶
func (r ApiVmAddDiskPutRequest) Execute() (PciDeviceInfo, *_nethttp.Response, error)
type ApiVmAddFsPutRequest ¶
type ApiVmAddFsPutRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
func (ApiVmAddFsPutRequest) Execute ¶
func (r ApiVmAddFsPutRequest) Execute() (PciDeviceInfo, *_nethttp.Response, error)
func (ApiVmAddFsPutRequest) FsConfig ¶
func (r ApiVmAddFsPutRequest) FsConfig(fsConfig FsConfig) ApiVmAddFsPutRequest
The details of the new virtio-fs
type ApiVmAddNetPutRequest ¶
type ApiVmAddNetPutRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
func (ApiVmAddNetPutRequest) Execute ¶
func (r ApiVmAddNetPutRequest) Execute() (PciDeviceInfo, *_nethttp.Response, error)
func (ApiVmAddNetPutRequest) NetConfig ¶
func (r ApiVmAddNetPutRequest) NetConfig(netConfig NetConfig) ApiVmAddNetPutRequest
The details of the new network device
type ApiVmAddPmemPutRequest ¶
type ApiVmAddPmemPutRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
func (ApiVmAddPmemPutRequest) Execute ¶
func (r ApiVmAddPmemPutRequest) Execute() (PciDeviceInfo, *_nethttp.Response, error)
func (ApiVmAddPmemPutRequest) PmemConfig ¶
func (r ApiVmAddPmemPutRequest) PmemConfig(pmemConfig PmemConfig) ApiVmAddPmemPutRequest
The details of the new pmem device
type ApiVmAddVdpaPutRequest ¶
type ApiVmAddVdpaPutRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
func (ApiVmAddVdpaPutRequest) Execute ¶
func (r ApiVmAddVdpaPutRequest) Execute() (PciDeviceInfo, *_nethttp.Response, error)
func (ApiVmAddVdpaPutRequest) VdpaConfig ¶
func (r ApiVmAddVdpaPutRequest) VdpaConfig(vdpaConfig VdpaConfig) ApiVmAddVdpaPutRequest
The details of the new vDPA device
type ApiVmAddVsockPutRequest ¶
type ApiVmAddVsockPutRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
func (ApiVmAddVsockPutRequest) Execute ¶
func (r ApiVmAddVsockPutRequest) Execute() (PciDeviceInfo, *_nethttp.Response, error)
func (ApiVmAddVsockPutRequest) VsockConfig ¶
func (r ApiVmAddVsockPutRequest) VsockConfig(vsockConfig VsockConfig) ApiVmAddVsockPutRequest
The details of the new vsock device
type ApiVmCoredumpPutRequest ¶
type ApiVmCoredumpPutRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
func (ApiVmCoredumpPutRequest) Execute ¶
func (r ApiVmCoredumpPutRequest) Execute() (*_nethttp.Response, error)
func (ApiVmCoredumpPutRequest) VmCoredumpData ¶
func (r ApiVmCoredumpPutRequest) VmCoredumpData(vmCoredumpData VmCoredumpData) ApiVmCoredumpPutRequest
The coredump configuration
type ApiVmCountersGetRequest ¶
type ApiVmCountersGetRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
type ApiVmInfoGetRequest ¶
type ApiVmInfoGetRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
type ApiVmReceiveMigrationPutRequest ¶
type ApiVmReceiveMigrationPutRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
func (ApiVmReceiveMigrationPutRequest) Execute ¶
func (r ApiVmReceiveMigrationPutRequest) Execute() (*_nethttp.Response, error)
func (ApiVmReceiveMigrationPutRequest) ReceiveMigrationData ¶
func (r ApiVmReceiveMigrationPutRequest) ReceiveMigrationData(receiveMigrationData ReceiveMigrationData) ApiVmReceiveMigrationPutRequest
The URL for the reception of migration state
type ApiVmRemoveDevicePutRequest ¶
type ApiVmRemoveDevicePutRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
func (ApiVmRemoveDevicePutRequest) Execute ¶
func (r ApiVmRemoveDevicePutRequest) Execute() (*_nethttp.Response, error)
func (ApiVmRemoveDevicePutRequest) VmRemoveDevice ¶
func (r ApiVmRemoveDevicePutRequest) VmRemoveDevice(vmRemoveDevice VmRemoveDevice) ApiVmRemoveDevicePutRequest
The identifier of the device
type ApiVmResizePutRequest ¶
type ApiVmResizePutRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
func (ApiVmResizePutRequest) Execute ¶
func (r ApiVmResizePutRequest) Execute() (*_nethttp.Response, error)
func (ApiVmResizePutRequest) VmResize ¶
func (r ApiVmResizePutRequest) VmResize(vmResize VmResize) ApiVmResizePutRequest
The target size for the VM
type ApiVmResizeZonePutRequest ¶
type ApiVmResizeZonePutRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
func (ApiVmResizeZonePutRequest) Execute ¶
func (r ApiVmResizeZonePutRequest) Execute() (*_nethttp.Response, error)
func (ApiVmResizeZonePutRequest) VmResizeZone ¶
func (r ApiVmResizeZonePutRequest) VmResizeZone(vmResizeZone VmResizeZone) ApiVmResizeZonePutRequest
The target size for the memory zone
type ApiVmRestorePutRequest ¶
type ApiVmRestorePutRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
func (ApiVmRestorePutRequest) Execute ¶
func (r ApiVmRestorePutRequest) Execute() (*_nethttp.Response, error)
func (ApiVmRestorePutRequest) RestoreConfig ¶
func (r ApiVmRestorePutRequest) RestoreConfig(restoreConfig RestoreConfig) ApiVmRestorePutRequest
The restore configuration
type ApiVmSendMigrationPutRequest ¶
type ApiVmSendMigrationPutRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
func (ApiVmSendMigrationPutRequest) Execute ¶
func (r ApiVmSendMigrationPutRequest) Execute() (*_nethttp.Response, error)
func (ApiVmSendMigrationPutRequest) SendMigrationData ¶
func (r ApiVmSendMigrationPutRequest) SendMigrationData(sendMigrationData SendMigrationData) ApiVmSendMigrationPutRequest
The URL for sending the migration state
type ApiVmSnapshotPutRequest ¶
type ApiVmSnapshotPutRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
func (ApiVmSnapshotPutRequest) Execute ¶
func (r ApiVmSnapshotPutRequest) Execute() (*_nethttp.Response, error)
func (ApiVmSnapshotPutRequest) VmSnapshotConfig ¶
func (r ApiVmSnapshotPutRequest) VmSnapshotConfig(vmSnapshotConfig VmSnapshotConfig) ApiVmSnapshotPutRequest
The snapshot configuration
type ApiVmmPingGetRequest ¶
type ApiVmmPingGetRequest struct { ApiService *DefaultApiService // contains filtered or unexported fields }
func (ApiVmmPingGetRequest) Execute ¶
func (r ApiVmmPingGetRequest) Execute() (VmmPingResponse, *_nethttp.Response, error)
type BalloonConfig ¶
type BalloonConfig struct { Size int64 `json:"size"` // Deflate balloon when the guest is under memory pressure. DeflateOnOom *bool `json:"deflate_on_oom,omitempty"` // Enable guest to report free pages. FreePageReporting *bool `json:"free_page_reporting,omitempty"` }
BalloonConfig struct for BalloonConfig
func NewBalloonConfig ¶
func NewBalloonConfig(size int64) *BalloonConfig
NewBalloonConfig instantiates a new BalloonConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBalloonConfigWithDefaults ¶
func NewBalloonConfigWithDefaults() *BalloonConfig
NewBalloonConfigWithDefaults instantiates a new BalloonConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*BalloonConfig) GetDeflateOnOom ¶
func (o *BalloonConfig) GetDeflateOnOom() bool
GetDeflateOnOom returns the DeflateOnOom field value if set, zero value otherwise.
func (*BalloonConfig) GetDeflateOnOomOk ¶
func (o *BalloonConfig) GetDeflateOnOomOk() (*bool, bool)
GetDeflateOnOomOk returns a tuple with the DeflateOnOom field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BalloonConfig) GetFreePageReporting ¶
func (o *BalloonConfig) GetFreePageReporting() bool
GetFreePageReporting returns the FreePageReporting field value if set, zero value otherwise.
func (*BalloonConfig) GetFreePageReportingOk ¶
func (o *BalloonConfig) GetFreePageReportingOk() (*bool, bool)
GetFreePageReportingOk returns a tuple with the FreePageReporting field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BalloonConfig) GetSize ¶
func (o *BalloonConfig) GetSize() int64
GetSize returns the Size field value
func (*BalloonConfig) GetSizeOk ¶
func (o *BalloonConfig) GetSizeOk() (*int64, bool)
GetSizeOk returns a tuple with the Size field value and a boolean to check if the value has been set.
func (*BalloonConfig) HasDeflateOnOom ¶
func (o *BalloonConfig) HasDeflateOnOom() bool
HasDeflateOnOom returns a boolean if a field has been set.
func (*BalloonConfig) HasFreePageReporting ¶
func (o *BalloonConfig) HasFreePageReporting() bool
HasFreePageReporting returns a boolean if a field has been set.
func (BalloonConfig) MarshalJSON ¶
func (o BalloonConfig) MarshalJSON() ([]byte, error)
func (*BalloonConfig) SetDeflateOnOom ¶
func (o *BalloonConfig) SetDeflateOnOom(v bool)
SetDeflateOnOom gets a reference to the given bool and assigns it to the DeflateOnOom field.
func (*BalloonConfig) SetFreePageReporting ¶
func (o *BalloonConfig) SetFreePageReporting(v bool)
SetFreePageReporting gets a reference to the given bool and assigns it to the FreePageReporting field.
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` Servers ServerConfigurations OperationServers map[string]ServerConfigurations HTTPClient *http.Client }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type ConsoleConfig ¶
type ConsoleConfig struct { File *string `json:"file,omitempty"` Socket *string `json:"socket,omitempty"` Mode string `json:"mode"` Iommu *bool `json:"iommu,omitempty"` }
ConsoleConfig struct for ConsoleConfig
func NewConsoleConfig ¶
func NewConsoleConfig(mode string) *ConsoleConfig
NewConsoleConfig instantiates a new ConsoleConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewConsoleConfigWithDefaults ¶
func NewConsoleConfigWithDefaults() *ConsoleConfig
NewConsoleConfigWithDefaults instantiates a new ConsoleConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ConsoleConfig) GetFile ¶
func (o *ConsoleConfig) GetFile() string
GetFile returns the File field value if set, zero value otherwise.
func (*ConsoleConfig) GetFileOk ¶
func (o *ConsoleConfig) GetFileOk() (*string, bool)
GetFileOk returns a tuple with the File field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConsoleConfig) GetIommu ¶
func (o *ConsoleConfig) GetIommu() bool
GetIommu returns the Iommu field value if set, zero value otherwise.
func (*ConsoleConfig) GetIommuOk ¶
func (o *ConsoleConfig) GetIommuOk() (*bool, bool)
GetIommuOk returns a tuple with the Iommu field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConsoleConfig) GetMode ¶
func (o *ConsoleConfig) GetMode() string
GetMode returns the Mode field value
func (*ConsoleConfig) GetModeOk ¶
func (o *ConsoleConfig) GetModeOk() (*string, bool)
GetModeOk returns a tuple with the Mode field value and a boolean to check if the value has been set.
func (*ConsoleConfig) GetSocket ¶
func (o *ConsoleConfig) GetSocket() string
GetSocket returns the Socket field value if set, zero value otherwise.
func (*ConsoleConfig) GetSocketOk ¶
func (o *ConsoleConfig) GetSocketOk() (*string, bool)
GetSocketOk returns a tuple with the Socket field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ConsoleConfig) HasFile ¶
func (o *ConsoleConfig) HasFile() bool
HasFile returns a boolean if a field has been set.
func (*ConsoleConfig) HasIommu ¶
func (o *ConsoleConfig) HasIommu() bool
HasIommu returns a boolean if a field has been set.
func (*ConsoleConfig) HasSocket ¶
func (o *ConsoleConfig) HasSocket() bool
HasSocket returns a boolean if a field has been set.
func (ConsoleConfig) MarshalJSON ¶
func (o ConsoleConfig) MarshalJSON() ([]byte, error)
func (*ConsoleConfig) SetFile ¶
func (o *ConsoleConfig) SetFile(v string)
SetFile gets a reference to the given string and assigns it to the File field.
func (*ConsoleConfig) SetIommu ¶
func (o *ConsoleConfig) SetIommu(v bool)
SetIommu gets a reference to the given bool and assigns it to the Iommu field.
func (*ConsoleConfig) SetSocket ¶
func (o *ConsoleConfig) SetSocket(v string)
SetSocket gets a reference to the given string and assigns it to the Socket field.
type CpuAffinity ¶
CpuAffinity struct for CpuAffinity
func NewCpuAffinity ¶
func NewCpuAffinity(vcpu int32, hostCpus []int32) *CpuAffinity
NewCpuAffinity instantiates a new CpuAffinity object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCpuAffinityWithDefaults ¶
func NewCpuAffinityWithDefaults() *CpuAffinity
NewCpuAffinityWithDefaults instantiates a new CpuAffinity object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CpuAffinity) GetHostCpus ¶
func (o *CpuAffinity) GetHostCpus() []int32
GetHostCpus returns the HostCpus field value
func (*CpuAffinity) GetHostCpusOk ¶
func (o *CpuAffinity) GetHostCpusOk() (*[]int32, bool)
GetHostCpusOk returns a tuple with the HostCpus field value and a boolean to check if the value has been set.
func (*CpuAffinity) GetVcpu ¶
func (o *CpuAffinity) GetVcpu() int32
GetVcpu returns the Vcpu field value
func (*CpuAffinity) GetVcpuOk ¶
func (o *CpuAffinity) GetVcpuOk() (*int32, bool)
GetVcpuOk returns a tuple with the Vcpu field value and a boolean to check if the value has been set.
func (CpuAffinity) MarshalJSON ¶
func (o CpuAffinity) MarshalJSON() ([]byte, error)
func (*CpuAffinity) SetHostCpus ¶
func (o *CpuAffinity) SetHostCpus(v []int32)
SetHostCpus sets field value
type CpuFeatures ¶
type CpuFeatures struct {
Amx *bool `json:"amx,omitempty"`
}
CpuFeatures struct for CpuFeatures
func NewCpuFeatures ¶
func NewCpuFeatures() *CpuFeatures
NewCpuFeatures instantiates a new CpuFeatures object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCpuFeaturesWithDefaults ¶
func NewCpuFeaturesWithDefaults() *CpuFeatures
NewCpuFeaturesWithDefaults instantiates a new CpuFeatures object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CpuFeatures) GetAmx ¶
func (o *CpuFeatures) GetAmx() bool
GetAmx returns the Amx field value if set, zero value otherwise.
func (*CpuFeatures) GetAmxOk ¶
func (o *CpuFeatures) GetAmxOk() (*bool, bool)
GetAmxOk returns a tuple with the Amx field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CpuFeatures) HasAmx ¶
func (o *CpuFeatures) HasAmx() bool
HasAmx returns a boolean if a field has been set.
func (CpuFeatures) MarshalJSON ¶
func (o CpuFeatures) MarshalJSON() ([]byte, error)
func (*CpuFeatures) SetAmx ¶
func (o *CpuFeatures) SetAmx(v bool)
SetAmx gets a reference to the given bool and assigns it to the Amx field.
type CpuTopology ¶
type CpuTopology struct { ThreadsPerCore *int32 `json:"threads_per_core,omitempty"` CoresPerDie *int32 `json:"cores_per_die,omitempty"` DiesPerPackage *int32 `json:"dies_per_package,omitempty"` Packages *int32 `json:"packages,omitempty"` }
CpuTopology struct for CpuTopology
func NewCpuTopology ¶
func NewCpuTopology() *CpuTopology
NewCpuTopology instantiates a new CpuTopology object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCpuTopologyWithDefaults ¶
func NewCpuTopologyWithDefaults() *CpuTopology
NewCpuTopologyWithDefaults instantiates a new CpuTopology object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CpuTopology) GetCoresPerDie ¶
func (o *CpuTopology) GetCoresPerDie() int32
GetCoresPerDie returns the CoresPerDie field value if set, zero value otherwise.
func (*CpuTopology) GetCoresPerDieOk ¶
func (o *CpuTopology) GetCoresPerDieOk() (*int32, bool)
GetCoresPerDieOk returns a tuple with the CoresPerDie field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CpuTopology) GetDiesPerPackage ¶
func (o *CpuTopology) GetDiesPerPackage() int32
GetDiesPerPackage returns the DiesPerPackage field value if set, zero value otherwise.
func (*CpuTopology) GetDiesPerPackageOk ¶
func (o *CpuTopology) GetDiesPerPackageOk() (*int32, bool)
GetDiesPerPackageOk returns a tuple with the DiesPerPackage field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CpuTopology) GetPackages ¶
func (o *CpuTopology) GetPackages() int32
GetPackages returns the Packages field value if set, zero value otherwise.
func (*CpuTopology) GetPackagesOk ¶
func (o *CpuTopology) GetPackagesOk() (*int32, bool)
GetPackagesOk returns a tuple with the Packages field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CpuTopology) GetThreadsPerCore ¶
func (o *CpuTopology) GetThreadsPerCore() int32
GetThreadsPerCore returns the ThreadsPerCore field value if set, zero value otherwise.
func (*CpuTopology) GetThreadsPerCoreOk ¶
func (o *CpuTopology) GetThreadsPerCoreOk() (*int32, bool)
GetThreadsPerCoreOk returns a tuple with the ThreadsPerCore field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CpuTopology) HasCoresPerDie ¶
func (o *CpuTopology) HasCoresPerDie() bool
HasCoresPerDie returns a boolean if a field has been set.
func (*CpuTopology) HasDiesPerPackage ¶
func (o *CpuTopology) HasDiesPerPackage() bool
HasDiesPerPackage returns a boolean if a field has been set.
func (*CpuTopology) HasPackages ¶
func (o *CpuTopology) HasPackages() bool
HasPackages returns a boolean if a field has been set.
func (*CpuTopology) HasThreadsPerCore ¶
func (o *CpuTopology) HasThreadsPerCore() bool
HasThreadsPerCore returns a boolean if a field has been set.
func (CpuTopology) MarshalJSON ¶
func (o CpuTopology) MarshalJSON() ([]byte, error)
func (*CpuTopology) SetCoresPerDie ¶
func (o *CpuTopology) SetCoresPerDie(v int32)
SetCoresPerDie gets a reference to the given int32 and assigns it to the CoresPerDie field.
func (*CpuTopology) SetDiesPerPackage ¶
func (o *CpuTopology) SetDiesPerPackage(v int32)
SetDiesPerPackage gets a reference to the given int32 and assigns it to the DiesPerPackage field.
func (*CpuTopology) SetPackages ¶
func (o *CpuTopology) SetPackages(v int32)
SetPackages gets a reference to the given int32 and assigns it to the Packages field.
func (*CpuTopology) SetThreadsPerCore ¶
func (o *CpuTopology) SetThreadsPerCore(v int32)
SetThreadsPerCore gets a reference to the given int32 and assigns it to the ThreadsPerCore field.
type CpusConfig ¶
type CpusConfig struct { BootVcpus int32 `json:"boot_vcpus"` MaxVcpus int32 `json:"max_vcpus"` Topology *CpuTopology `json:"topology,omitempty"` KvmHyperv *bool `json:"kvm_hyperv,omitempty"` MaxPhysBits *int32 `json:"max_phys_bits,omitempty"` Affinity *[]CpuAffinity `json:"affinity,omitempty"` Features *CpuFeatures `json:"features,omitempty"` }
CpusConfig struct for CpusConfig
func NewCpusConfig ¶
func NewCpusConfig(bootVcpus int32, maxVcpus int32) *CpusConfig
NewCpusConfig instantiates a new CpusConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCpusConfigWithDefaults ¶
func NewCpusConfigWithDefaults() *CpusConfig
NewCpusConfigWithDefaults instantiates a new CpusConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CpusConfig) GetAffinity ¶
func (o *CpusConfig) GetAffinity() []CpuAffinity
GetAffinity returns the Affinity field value if set, zero value otherwise.
func (*CpusConfig) GetAffinityOk ¶
func (o *CpusConfig) GetAffinityOk() (*[]CpuAffinity, bool)
GetAffinityOk returns a tuple with the Affinity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CpusConfig) GetBootVcpus ¶
func (o *CpusConfig) GetBootVcpus() int32
GetBootVcpus returns the BootVcpus field value
func (*CpusConfig) GetBootVcpusOk ¶
func (o *CpusConfig) GetBootVcpusOk() (*int32, bool)
GetBootVcpusOk returns a tuple with the BootVcpus field value and a boolean to check if the value has been set.
func (*CpusConfig) GetFeatures ¶
func (o *CpusConfig) GetFeatures() CpuFeatures
GetFeatures returns the Features field value if set, zero value otherwise.
func (*CpusConfig) GetFeaturesOk ¶
func (o *CpusConfig) GetFeaturesOk() (*CpuFeatures, bool)
GetFeaturesOk returns a tuple with the Features field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CpusConfig) GetKvmHyperv ¶
func (o *CpusConfig) GetKvmHyperv() bool
GetKvmHyperv returns the KvmHyperv field value if set, zero value otherwise.
func (*CpusConfig) GetKvmHypervOk ¶
func (o *CpusConfig) GetKvmHypervOk() (*bool, bool)
GetKvmHypervOk returns a tuple with the KvmHyperv field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CpusConfig) GetMaxPhysBits ¶
func (o *CpusConfig) GetMaxPhysBits() int32
GetMaxPhysBits returns the MaxPhysBits field value if set, zero value otherwise.
func (*CpusConfig) GetMaxPhysBitsOk ¶
func (o *CpusConfig) GetMaxPhysBitsOk() (*int32, bool)
GetMaxPhysBitsOk returns a tuple with the MaxPhysBits field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CpusConfig) GetMaxVcpus ¶
func (o *CpusConfig) GetMaxVcpus() int32
GetMaxVcpus returns the MaxVcpus field value
func (*CpusConfig) GetMaxVcpusOk ¶
func (o *CpusConfig) GetMaxVcpusOk() (*int32, bool)
GetMaxVcpusOk returns a tuple with the MaxVcpus field value and a boolean to check if the value has been set.
func (*CpusConfig) GetTopology ¶
func (o *CpusConfig) GetTopology() CpuTopology
GetTopology returns the Topology field value if set, zero value otherwise.
func (*CpusConfig) GetTopologyOk ¶
func (o *CpusConfig) GetTopologyOk() (*CpuTopology, bool)
GetTopologyOk returns a tuple with the Topology field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CpusConfig) HasAffinity ¶
func (o *CpusConfig) HasAffinity() bool
HasAffinity returns a boolean if a field has been set.
func (*CpusConfig) HasFeatures ¶
func (o *CpusConfig) HasFeatures() bool
HasFeatures returns a boolean if a field has been set.
func (*CpusConfig) HasKvmHyperv ¶
func (o *CpusConfig) HasKvmHyperv() bool
HasKvmHyperv returns a boolean if a field has been set.
func (*CpusConfig) HasMaxPhysBits ¶
func (o *CpusConfig) HasMaxPhysBits() bool
HasMaxPhysBits returns a boolean if a field has been set.
func (*CpusConfig) HasTopology ¶
func (o *CpusConfig) HasTopology() bool
HasTopology returns a boolean if a field has been set.
func (CpusConfig) MarshalJSON ¶
func (o CpusConfig) MarshalJSON() ([]byte, error)
func (*CpusConfig) SetAffinity ¶
func (o *CpusConfig) SetAffinity(v []CpuAffinity)
SetAffinity gets a reference to the given []CpuAffinity and assigns it to the Affinity field.
func (*CpusConfig) SetBootVcpus ¶
func (o *CpusConfig) SetBootVcpus(v int32)
SetBootVcpus sets field value
func (*CpusConfig) SetFeatures ¶
func (o *CpusConfig) SetFeatures(v CpuFeatures)
SetFeatures gets a reference to the given CpuFeatures and assigns it to the Features field.
func (*CpusConfig) SetKvmHyperv ¶
func (o *CpusConfig) SetKvmHyperv(v bool)
SetKvmHyperv gets a reference to the given bool and assigns it to the KvmHyperv field.
func (*CpusConfig) SetMaxPhysBits ¶
func (o *CpusConfig) SetMaxPhysBits(v int32)
SetMaxPhysBits gets a reference to the given int32 and assigns it to the MaxPhysBits field.
func (*CpusConfig) SetMaxVcpus ¶
func (o *CpusConfig) SetMaxVcpus(v int32)
SetMaxVcpus sets field value
func (*CpusConfig) SetTopology ¶
func (o *CpusConfig) SetTopology(v CpuTopology)
SetTopology gets a reference to the given CpuTopology and assigns it to the Topology field.
type DefaultApiService ¶
type DefaultApiService service
DefaultApiService DefaultApi service
func (*DefaultApiService) BootVM ¶
func (a *DefaultApiService) BootVM(ctx _context.Context) ApiBootVMRequest
BootVM Boot the previously created VM instance.
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiBootVMRequest
func (*DefaultApiService) BootVMExecute ¶
func (a *DefaultApiService) BootVMExecute(r ApiBootVMRequest) (*_nethttp.Response, error)
Execute executes the request
func (*DefaultApiService) CreateVM ¶
func (a *DefaultApiService) CreateVM(ctx _context.Context) ApiCreateVMRequest
CreateVM Create the cloud-hypervisor Virtual Machine (VM) instance. The instance is not booted, only created.
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateVMRequest
func (*DefaultApiService) CreateVMExecute ¶
func (a *DefaultApiService) CreateVMExecute(r ApiCreateVMRequest) (*_nethttp.Response, error)
Execute executes the request
func (*DefaultApiService) DeleteVM ¶
func (a *DefaultApiService) DeleteVM(ctx _context.Context) ApiDeleteVMRequest
DeleteVM Delete the cloud-hypervisor Virtual Machine (VM) instance.
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiDeleteVMRequest
func (*DefaultApiService) DeleteVMExecute ¶
func (a *DefaultApiService) DeleteVMExecute(r ApiDeleteVMRequest) (*_nethttp.Response, error)
Execute executes the request
func (*DefaultApiService) PauseVM ¶
func (a *DefaultApiService) PauseVM(ctx _context.Context) ApiPauseVMRequest
PauseVM Pause a previously booted VM instance.
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPauseVMRequest
func (*DefaultApiService) PauseVMExecute ¶
func (a *DefaultApiService) PauseVMExecute(r ApiPauseVMRequest) (*_nethttp.Response, error)
Execute executes the request
func (*DefaultApiService) PowerButtonVM ¶
func (a *DefaultApiService) PowerButtonVM(ctx _context.Context) ApiPowerButtonVMRequest
PowerButtonVM Trigger a power button in the VM
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiPowerButtonVMRequest
func (*DefaultApiService) PowerButtonVMExecute ¶
func (a *DefaultApiService) PowerButtonVMExecute(r ApiPowerButtonVMRequest) (*_nethttp.Response, error)
Execute executes the request
func (*DefaultApiService) RebootVM ¶
func (a *DefaultApiService) RebootVM(ctx _context.Context) ApiRebootVMRequest
RebootVM Reboot the VM instance.
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiRebootVMRequest
func (*DefaultApiService) RebootVMExecute ¶
func (a *DefaultApiService) RebootVMExecute(r ApiRebootVMRequest) (*_nethttp.Response, error)
Execute executes the request
func (*DefaultApiService) ResumeVM ¶
func (a *DefaultApiService) ResumeVM(ctx _context.Context) ApiResumeVMRequest
ResumeVM Resume a previously paused VM instance.
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiResumeVMRequest
func (*DefaultApiService) ResumeVMExecute ¶
func (a *DefaultApiService) ResumeVMExecute(r ApiResumeVMRequest) (*_nethttp.Response, error)
Execute executes the request
func (*DefaultApiService) ShutdownVM ¶
func (a *DefaultApiService) ShutdownVM(ctx _context.Context) ApiShutdownVMRequest
ShutdownVM Shut the VM instance down.
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiShutdownVMRequest
func (*DefaultApiService) ShutdownVMExecute ¶
func (a *DefaultApiService) ShutdownVMExecute(r ApiShutdownVMRequest) (*_nethttp.Response, error)
Execute executes the request
func (*DefaultApiService) ShutdownVMM ¶
func (a *DefaultApiService) ShutdownVMM(ctx _context.Context) ApiShutdownVMMRequest
ShutdownVMM Shuts the cloud-hypervisor VMM.
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiShutdownVMMRequest
func (*DefaultApiService) ShutdownVMMExecute ¶
func (a *DefaultApiService) ShutdownVMMExecute(r ApiShutdownVMMRequest) (*_nethttp.Response, error)
Execute executes the request
func (*DefaultApiService) VmAddDevicePut ¶
func (a *DefaultApiService) VmAddDevicePut(ctx _context.Context) ApiVmAddDevicePutRequest
VmAddDevicePut Add a new device to the VM
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiVmAddDevicePutRequest
func (*DefaultApiService) VmAddDevicePutExecute ¶
func (a *DefaultApiService) VmAddDevicePutExecute(r ApiVmAddDevicePutRequest) (PciDeviceInfo, *_nethttp.Response, error)
Execute executes the request
@return PciDeviceInfo
func (*DefaultApiService) VmAddDiskPut ¶
func (a *DefaultApiService) VmAddDiskPut(ctx _context.Context) ApiVmAddDiskPutRequest
VmAddDiskPut Add a new disk to the VM
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiVmAddDiskPutRequest
func (*DefaultApiService) VmAddDiskPutExecute ¶
func (a *DefaultApiService) VmAddDiskPutExecute(r ApiVmAddDiskPutRequest) (PciDeviceInfo, *_nethttp.Response, error)
Execute executes the request
@return PciDeviceInfo
func (*DefaultApiService) VmAddFsPut ¶
func (a *DefaultApiService) VmAddFsPut(ctx _context.Context) ApiVmAddFsPutRequest
VmAddFsPut Add a new virtio-fs device to the VM
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiVmAddFsPutRequest
func (*DefaultApiService) VmAddFsPutExecute ¶
func (a *DefaultApiService) VmAddFsPutExecute(r ApiVmAddFsPutRequest) (PciDeviceInfo, *_nethttp.Response, error)
Execute executes the request
@return PciDeviceInfo
func (*DefaultApiService) VmAddNetPut ¶
func (a *DefaultApiService) VmAddNetPut(ctx _context.Context) ApiVmAddNetPutRequest
VmAddNetPut Add a new network device to the VM
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiVmAddNetPutRequest
func (*DefaultApiService) VmAddNetPutExecute ¶
func (a *DefaultApiService) VmAddNetPutExecute(r ApiVmAddNetPutRequest) (PciDeviceInfo, *_nethttp.Response, error)
Execute executes the request
@return PciDeviceInfo
func (*DefaultApiService) VmAddPmemPut ¶
func (a *DefaultApiService) VmAddPmemPut(ctx _context.Context) ApiVmAddPmemPutRequest
VmAddPmemPut Add a new pmem device to the VM
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiVmAddPmemPutRequest
func (*DefaultApiService) VmAddPmemPutExecute ¶
func (a *DefaultApiService) VmAddPmemPutExecute(r ApiVmAddPmemPutRequest) (PciDeviceInfo, *_nethttp.Response, error)
Execute executes the request
@return PciDeviceInfo
func (*DefaultApiService) VmAddVdpaPut ¶
func (a *DefaultApiService) VmAddVdpaPut(ctx _context.Context) ApiVmAddVdpaPutRequest
VmAddVdpaPut Add a new vDPA device to the VM
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiVmAddVdpaPutRequest
func (*DefaultApiService) VmAddVdpaPutExecute ¶
func (a *DefaultApiService) VmAddVdpaPutExecute(r ApiVmAddVdpaPutRequest) (PciDeviceInfo, *_nethttp.Response, error)
Execute executes the request
@return PciDeviceInfo
func (*DefaultApiService) VmAddVsockPut ¶
func (a *DefaultApiService) VmAddVsockPut(ctx _context.Context) ApiVmAddVsockPutRequest
VmAddVsockPut Add a new vsock device to the VM
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiVmAddVsockPutRequest
func (*DefaultApiService) VmAddVsockPutExecute ¶
func (a *DefaultApiService) VmAddVsockPutExecute(r ApiVmAddVsockPutRequest) (PciDeviceInfo, *_nethttp.Response, error)
Execute executes the request
@return PciDeviceInfo
func (*DefaultApiService) VmCoredumpPut ¶
func (a *DefaultApiService) VmCoredumpPut(ctx _context.Context) ApiVmCoredumpPutRequest
VmCoredumpPut Takes a VM coredump.
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiVmCoredumpPutRequest
func (*DefaultApiService) VmCoredumpPutExecute ¶
func (a *DefaultApiService) VmCoredumpPutExecute(r ApiVmCoredumpPutRequest) (*_nethttp.Response, error)
Execute executes the request
func (*DefaultApiService) VmCountersGet ¶
func (a *DefaultApiService) VmCountersGet(ctx _context.Context) ApiVmCountersGetRequest
VmCountersGet Get counters from the VM
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiVmCountersGetRequest
func (*DefaultApiService) VmCountersGetExecute ¶
func (a *DefaultApiService) VmCountersGetExecute(r ApiVmCountersGetRequest) (map[string]map[string]int64, *_nethttp.Response, error)
Execute executes the request
@return map[string]map[string]int64
func (*DefaultApiService) VmInfoGet ¶
func (a *DefaultApiService) VmInfoGet(ctx _context.Context) ApiVmInfoGetRequest
VmInfoGet Returns general information about the cloud-hypervisor Virtual Machine (VM) instance.
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiVmInfoGetRequest
func (*DefaultApiService) VmInfoGetExecute ¶
func (a *DefaultApiService) VmInfoGetExecute(r ApiVmInfoGetRequest) (VmInfo, *_nethttp.Response, error)
Execute executes the request
@return VmInfo
func (*DefaultApiService) VmReceiveMigrationPut ¶
func (a *DefaultApiService) VmReceiveMigrationPut(ctx _context.Context) ApiVmReceiveMigrationPutRequest
VmReceiveMigrationPut Receive a VM migration from URL
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiVmReceiveMigrationPutRequest
func (*DefaultApiService) VmReceiveMigrationPutExecute ¶
func (a *DefaultApiService) VmReceiveMigrationPutExecute(r ApiVmReceiveMigrationPutRequest) (*_nethttp.Response, error)
Execute executes the request
func (*DefaultApiService) VmRemoveDevicePut ¶
func (a *DefaultApiService) VmRemoveDevicePut(ctx _context.Context) ApiVmRemoveDevicePutRequest
VmRemoveDevicePut Remove a device from the VM
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiVmRemoveDevicePutRequest
func (*DefaultApiService) VmRemoveDevicePutExecute ¶
func (a *DefaultApiService) VmRemoveDevicePutExecute(r ApiVmRemoveDevicePutRequest) (*_nethttp.Response, error)
Execute executes the request
func (*DefaultApiService) VmResizePut ¶
func (a *DefaultApiService) VmResizePut(ctx _context.Context) ApiVmResizePutRequest
VmResizePut Resize the VM
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiVmResizePutRequest
func (*DefaultApiService) VmResizePutExecute ¶
func (a *DefaultApiService) VmResizePutExecute(r ApiVmResizePutRequest) (*_nethttp.Response, error)
Execute executes the request
func (*DefaultApiService) VmResizeZonePut ¶
func (a *DefaultApiService) VmResizeZonePut(ctx _context.Context) ApiVmResizeZonePutRequest
VmResizeZonePut Resize a memory zone
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiVmResizeZonePutRequest
func (*DefaultApiService) VmResizeZonePutExecute ¶
func (a *DefaultApiService) VmResizeZonePutExecute(r ApiVmResizeZonePutRequest) (*_nethttp.Response, error)
Execute executes the request
func (*DefaultApiService) VmRestorePut ¶
func (a *DefaultApiService) VmRestorePut(ctx _context.Context) ApiVmRestorePutRequest
VmRestorePut Restore a VM from a snapshot.
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiVmRestorePutRequest
func (*DefaultApiService) VmRestorePutExecute ¶
func (a *DefaultApiService) VmRestorePutExecute(r ApiVmRestorePutRequest) (*_nethttp.Response, error)
Execute executes the request
func (*DefaultApiService) VmSendMigrationPut ¶
func (a *DefaultApiService) VmSendMigrationPut(ctx _context.Context) ApiVmSendMigrationPutRequest
VmSendMigrationPut Send a VM migration to URL
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiVmSendMigrationPutRequest
func (*DefaultApiService) VmSendMigrationPutExecute ¶
func (a *DefaultApiService) VmSendMigrationPutExecute(r ApiVmSendMigrationPutRequest) (*_nethttp.Response, error)
Execute executes the request
func (*DefaultApiService) VmSnapshotPut ¶
func (a *DefaultApiService) VmSnapshotPut(ctx _context.Context) ApiVmSnapshotPutRequest
VmSnapshotPut Returns a VM snapshot.
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiVmSnapshotPutRequest
func (*DefaultApiService) VmSnapshotPutExecute ¶
func (a *DefaultApiService) VmSnapshotPutExecute(r ApiVmSnapshotPutRequest) (*_nethttp.Response, error)
Execute executes the request
func (*DefaultApiService) VmmPingGet ¶
func (a *DefaultApiService) VmmPingGet(ctx _context.Context) ApiVmmPingGetRequest
VmmPingGet Ping the VMM to check for API server availability
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiVmmPingGetRequest
func (*DefaultApiService) VmmPingGetExecute ¶
func (a *DefaultApiService) VmmPingGetExecute(r ApiVmmPingGetRequest) (VmmPingResponse, *_nethttp.Response, error)
Execute executes the request
@return VmmPingResponse
type DeviceConfig ¶
type DeviceConfig struct { Path string `json:"path"` Iommu *bool `json:"iommu,omitempty"` PciSegment *int32 `json:"pci_segment,omitempty"` Id *string `json:"id,omitempty"` }
DeviceConfig struct for DeviceConfig
func NewDeviceConfig ¶
func NewDeviceConfig(path string) *DeviceConfig
NewDeviceConfig instantiates a new DeviceConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDeviceConfigWithDefaults ¶
func NewDeviceConfigWithDefaults() *DeviceConfig
NewDeviceConfigWithDefaults instantiates a new DeviceConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DeviceConfig) GetId ¶
func (o *DeviceConfig) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*DeviceConfig) GetIdOk ¶
func (o *DeviceConfig) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DeviceConfig) GetIommu ¶
func (o *DeviceConfig) GetIommu() bool
GetIommu returns the Iommu field value if set, zero value otherwise.
func (*DeviceConfig) GetIommuOk ¶
func (o *DeviceConfig) GetIommuOk() (*bool, bool)
GetIommuOk returns a tuple with the Iommu field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DeviceConfig) GetPath ¶
func (o *DeviceConfig) GetPath() string
GetPath returns the Path field value
func (*DeviceConfig) GetPathOk ¶
func (o *DeviceConfig) GetPathOk() (*string, bool)
GetPathOk returns a tuple with the Path field value and a boolean to check if the value has been set.
func (*DeviceConfig) GetPciSegment ¶
func (o *DeviceConfig) GetPciSegment() int32
GetPciSegment returns the PciSegment field value if set, zero value otherwise.
func (*DeviceConfig) GetPciSegmentOk ¶
func (o *DeviceConfig) GetPciSegmentOk() (*int32, bool)
GetPciSegmentOk returns a tuple with the PciSegment field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DeviceConfig) HasId ¶
func (o *DeviceConfig) HasId() bool
HasId returns a boolean if a field has been set.
func (*DeviceConfig) HasIommu ¶
func (o *DeviceConfig) HasIommu() bool
HasIommu returns a boolean if a field has been set.
func (*DeviceConfig) HasPciSegment ¶
func (o *DeviceConfig) HasPciSegment() bool
HasPciSegment returns a boolean if a field has been set.
func (DeviceConfig) MarshalJSON ¶
func (o DeviceConfig) MarshalJSON() ([]byte, error)
func (*DeviceConfig) SetId ¶
func (o *DeviceConfig) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*DeviceConfig) SetIommu ¶
func (o *DeviceConfig) SetIommu(v bool)
SetIommu gets a reference to the given bool and assigns it to the Iommu field.
func (*DeviceConfig) SetPciSegment ¶
func (o *DeviceConfig) SetPciSegment(v int32)
SetPciSegment gets a reference to the given int32 and assigns it to the PciSegment field.
type DeviceNode ¶
type DeviceNode struct { Id *string `json:"id,omitempty"` Resources *[]map[string]interface{} `json:"resources,omitempty"` Children *[]string `json:"children,omitempty"` PciBdf *string `json:"pci_bdf,omitempty"` }
DeviceNode struct for DeviceNode
func NewDeviceNode ¶
func NewDeviceNode() *DeviceNode
NewDeviceNode instantiates a new DeviceNode object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDeviceNodeWithDefaults ¶
func NewDeviceNodeWithDefaults() *DeviceNode
NewDeviceNodeWithDefaults instantiates a new DeviceNode object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DeviceNode) GetChildren ¶
func (o *DeviceNode) GetChildren() []string
GetChildren returns the Children field value if set, zero value otherwise.
func (*DeviceNode) GetChildrenOk ¶
func (o *DeviceNode) GetChildrenOk() (*[]string, bool)
GetChildrenOk returns a tuple with the Children field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DeviceNode) GetId ¶
func (o *DeviceNode) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*DeviceNode) GetIdOk ¶
func (o *DeviceNode) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DeviceNode) GetPciBdf ¶
func (o *DeviceNode) GetPciBdf() string
GetPciBdf returns the PciBdf field value if set, zero value otherwise.
func (*DeviceNode) GetPciBdfOk ¶
func (o *DeviceNode) GetPciBdfOk() (*string, bool)
GetPciBdfOk returns a tuple with the PciBdf field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DeviceNode) GetResources ¶
func (o *DeviceNode) GetResources() []map[string]interface{}
GetResources returns the Resources field value if set, zero value otherwise.
func (*DeviceNode) GetResourcesOk ¶
func (o *DeviceNode) GetResourcesOk() (*[]map[string]interface{}, bool)
GetResourcesOk returns a tuple with the Resources field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DeviceNode) HasChildren ¶
func (o *DeviceNode) HasChildren() bool
HasChildren returns a boolean if a field has been set.
func (*DeviceNode) HasId ¶
func (o *DeviceNode) HasId() bool
HasId returns a boolean if a field has been set.
func (*DeviceNode) HasPciBdf ¶
func (o *DeviceNode) HasPciBdf() bool
HasPciBdf returns a boolean if a field has been set.
func (*DeviceNode) HasResources ¶
func (o *DeviceNode) HasResources() bool
HasResources returns a boolean if a field has been set.
func (DeviceNode) MarshalJSON ¶
func (o DeviceNode) MarshalJSON() ([]byte, error)
func (*DeviceNode) SetChildren ¶
func (o *DeviceNode) SetChildren(v []string)
SetChildren gets a reference to the given []string and assigns it to the Children field.
func (*DeviceNode) SetId ¶
func (o *DeviceNode) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*DeviceNode) SetPciBdf ¶
func (o *DeviceNode) SetPciBdf(v string)
SetPciBdf gets a reference to the given string and assigns it to the PciBdf field.
func (*DeviceNode) SetResources ¶
func (o *DeviceNode) SetResources(v []map[string]interface{})
SetResources gets a reference to the given []map[string]interface{} and assigns it to the Resources field.
type DiskConfig ¶
type DiskConfig struct { Path string `json:"path"` Readonly *bool `json:"readonly,omitempty"` Direct *bool `json:"direct,omitempty"` Iommu *bool `json:"iommu,omitempty"` NumQueues *int32 `json:"num_queues,omitempty"` QueueSize *int32 `json:"queue_size,omitempty"` VhostUser *bool `json:"vhost_user,omitempty"` VhostSocket *string `json:"vhost_socket,omitempty"` RateLimiterConfig *RateLimiterConfig `json:"rate_limiter_config,omitempty"` PciSegment *int32 `json:"pci_segment,omitempty"` Id *string `json:"id,omitempty"` Serial *string `json:"serial,omitempty"` }
DiskConfig struct for DiskConfig
func NewDiskConfig ¶
func NewDiskConfig(path string) *DiskConfig
NewDiskConfig instantiates a new DiskConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDiskConfigWithDefaults ¶
func NewDiskConfigWithDefaults() *DiskConfig
NewDiskConfigWithDefaults instantiates a new DiskConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DiskConfig) GetDirect ¶
func (o *DiskConfig) GetDirect() bool
GetDirect returns the Direct field value if set, zero value otherwise.
func (*DiskConfig) GetDirectOk ¶
func (o *DiskConfig) GetDirectOk() (*bool, bool)
GetDirectOk returns a tuple with the Direct field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DiskConfig) GetId ¶
func (o *DiskConfig) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*DiskConfig) GetIdOk ¶
func (o *DiskConfig) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DiskConfig) GetIommu ¶
func (o *DiskConfig) GetIommu() bool
GetIommu returns the Iommu field value if set, zero value otherwise.
func (*DiskConfig) GetIommuOk ¶
func (o *DiskConfig) GetIommuOk() (*bool, bool)
GetIommuOk returns a tuple with the Iommu field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DiskConfig) GetNumQueues ¶
func (o *DiskConfig) GetNumQueues() int32
GetNumQueues returns the NumQueues field value if set, zero value otherwise.
func (*DiskConfig) GetNumQueuesOk ¶
func (o *DiskConfig) GetNumQueuesOk() (*int32, bool)
GetNumQueuesOk returns a tuple with the NumQueues field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DiskConfig) GetPath ¶
func (o *DiskConfig) GetPath() string
GetPath returns the Path field value
func (*DiskConfig) GetPathOk ¶
func (o *DiskConfig) GetPathOk() (*string, bool)
GetPathOk returns a tuple with the Path field value and a boolean to check if the value has been set.
func (*DiskConfig) GetPciSegment ¶
func (o *DiskConfig) GetPciSegment() int32
GetPciSegment returns the PciSegment field value if set, zero value otherwise.
func (*DiskConfig) GetPciSegmentOk ¶
func (o *DiskConfig) GetPciSegmentOk() (*int32, bool)
GetPciSegmentOk returns a tuple with the PciSegment field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DiskConfig) GetQueueSize ¶
func (o *DiskConfig) GetQueueSize() int32
GetQueueSize returns the QueueSize field value if set, zero value otherwise.
func (*DiskConfig) GetQueueSizeOk ¶
func (o *DiskConfig) GetQueueSizeOk() (*int32, bool)
GetQueueSizeOk returns a tuple with the QueueSize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DiskConfig) GetRateLimiterConfig ¶
func (o *DiskConfig) GetRateLimiterConfig() RateLimiterConfig
GetRateLimiterConfig returns the RateLimiterConfig field value if set, zero value otherwise.
func (*DiskConfig) GetRateLimiterConfigOk ¶
func (o *DiskConfig) GetRateLimiterConfigOk() (*RateLimiterConfig, bool)
GetRateLimiterConfigOk returns a tuple with the RateLimiterConfig field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DiskConfig) GetReadonly ¶
func (o *DiskConfig) GetReadonly() bool
GetReadonly returns the Readonly field value if set, zero value otherwise.
func (*DiskConfig) GetReadonlyOk ¶
func (o *DiskConfig) GetReadonlyOk() (*bool, bool)
GetReadonlyOk returns a tuple with the Readonly field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DiskConfig) GetSerial ¶
func (o *DiskConfig) GetSerial() string
GetSerial returns the Serial field value if set, zero value otherwise.
func (*DiskConfig) GetSerialOk ¶
func (o *DiskConfig) GetSerialOk() (*string, bool)
GetSerialOk returns a tuple with the Serial field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DiskConfig) GetVhostSocket ¶
func (o *DiskConfig) GetVhostSocket() string
GetVhostSocket returns the VhostSocket field value if set, zero value otherwise.
func (*DiskConfig) GetVhostSocketOk ¶
func (o *DiskConfig) GetVhostSocketOk() (*string, bool)
GetVhostSocketOk returns a tuple with the VhostSocket field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DiskConfig) GetVhostUser ¶
func (o *DiskConfig) GetVhostUser() bool
GetVhostUser returns the VhostUser field value if set, zero value otherwise.
func (*DiskConfig) GetVhostUserOk ¶
func (o *DiskConfig) GetVhostUserOk() (*bool, bool)
GetVhostUserOk returns a tuple with the VhostUser field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DiskConfig) HasDirect ¶
func (o *DiskConfig) HasDirect() bool
HasDirect returns a boolean if a field has been set.
func (*DiskConfig) HasId ¶
func (o *DiskConfig) HasId() bool
HasId returns a boolean if a field has been set.
func (*DiskConfig) HasIommu ¶
func (o *DiskConfig) HasIommu() bool
HasIommu returns a boolean if a field has been set.
func (*DiskConfig) HasNumQueues ¶
func (o *DiskConfig) HasNumQueues() bool
HasNumQueues returns a boolean if a field has been set.
func (*DiskConfig) HasPciSegment ¶
func (o *DiskConfig) HasPciSegment() bool
HasPciSegment returns a boolean if a field has been set.
func (*DiskConfig) HasQueueSize ¶
func (o *DiskConfig) HasQueueSize() bool
HasQueueSize returns a boolean if a field has been set.
func (*DiskConfig) HasRateLimiterConfig ¶
func (o *DiskConfig) HasRateLimiterConfig() bool
HasRateLimiterConfig returns a boolean if a field has been set.
func (*DiskConfig) HasReadonly ¶
func (o *DiskConfig) HasReadonly() bool
HasReadonly returns a boolean if a field has been set.
func (*DiskConfig) HasSerial ¶
func (o *DiskConfig) HasSerial() bool
HasSerial returns a boolean if a field has been set.
func (*DiskConfig) HasVhostSocket ¶
func (o *DiskConfig) HasVhostSocket() bool
HasVhostSocket returns a boolean if a field has been set.
func (*DiskConfig) HasVhostUser ¶
func (o *DiskConfig) HasVhostUser() bool
HasVhostUser returns a boolean if a field has been set.
func (DiskConfig) MarshalJSON ¶
func (o DiskConfig) MarshalJSON() ([]byte, error)
func (*DiskConfig) SetDirect ¶
func (o *DiskConfig) SetDirect(v bool)
SetDirect gets a reference to the given bool and assigns it to the Direct field.
func (*DiskConfig) SetId ¶
func (o *DiskConfig) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*DiskConfig) SetIommu ¶
func (o *DiskConfig) SetIommu(v bool)
SetIommu gets a reference to the given bool and assigns it to the Iommu field.
func (*DiskConfig) SetNumQueues ¶
func (o *DiskConfig) SetNumQueues(v int32)
SetNumQueues gets a reference to the given int32 and assigns it to the NumQueues field.
func (*DiskConfig) SetPciSegment ¶
func (o *DiskConfig) SetPciSegment(v int32)
SetPciSegment gets a reference to the given int32 and assigns it to the PciSegment field.
func (*DiskConfig) SetQueueSize ¶
func (o *DiskConfig) SetQueueSize(v int32)
SetQueueSize gets a reference to the given int32 and assigns it to the QueueSize field.
func (*DiskConfig) SetRateLimiterConfig ¶
func (o *DiskConfig) SetRateLimiterConfig(v RateLimiterConfig)
SetRateLimiterConfig gets a reference to the given RateLimiterConfig and assigns it to the RateLimiterConfig field.
func (*DiskConfig) SetReadonly ¶
func (o *DiskConfig) SetReadonly(v bool)
SetReadonly gets a reference to the given bool and assigns it to the Readonly field.
func (*DiskConfig) SetSerial ¶
func (o *DiskConfig) SetSerial(v string)
SetSerial gets a reference to the given string and assigns it to the Serial field.
func (*DiskConfig) SetVhostSocket ¶
func (o *DiskConfig) SetVhostSocket(v string)
SetVhostSocket gets a reference to the given string and assigns it to the VhostSocket field.
func (*DiskConfig) SetVhostUser ¶
func (o *DiskConfig) SetVhostUser(v bool)
SetVhostUser gets a reference to the given bool and assigns it to the VhostUser field.
type FsConfig ¶
type FsConfig struct { Tag string `json:"tag"` Socket string `json:"socket"` NumQueues int32 `json:"num_queues"` QueueSize int32 `json:"queue_size"` PciSegment *int32 `json:"pci_segment,omitempty"` Id *string `json:"id,omitempty"` }
FsConfig struct for FsConfig
func NewFsConfig ¶
NewFsConfig instantiates a new FsConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewFsConfigWithDefaults ¶
func NewFsConfigWithDefaults() *FsConfig
NewFsConfigWithDefaults instantiates a new FsConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*FsConfig) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FsConfig) GetNumQueues ¶
GetNumQueues returns the NumQueues field value
func (*FsConfig) GetNumQueuesOk ¶
GetNumQueuesOk returns a tuple with the NumQueues field value and a boolean to check if the value has been set.
func (*FsConfig) GetPciSegment ¶
GetPciSegment returns the PciSegment field value if set, zero value otherwise.
func (*FsConfig) GetPciSegmentOk ¶
GetPciSegmentOk returns a tuple with the PciSegment field value if set, nil otherwise and a boolean to check if the value has been set.
func (*FsConfig) GetQueueSize ¶
GetQueueSize returns the QueueSize field value
func (*FsConfig) GetQueueSizeOk ¶
GetQueueSizeOk returns a tuple with the QueueSize field value and a boolean to check if the value has been set.
func (*FsConfig) GetSocketOk ¶
GetSocketOk returns a tuple with the Socket field value and a boolean to check if the value has been set.
func (*FsConfig) GetTagOk ¶
GetTagOk returns a tuple with the Tag field value and a boolean to check if the value has been set.
func (*FsConfig) HasPciSegment ¶
HasPciSegment returns a boolean if a field has been set.
func (FsConfig) MarshalJSON ¶
func (*FsConfig) SetNumQueues ¶
SetNumQueues sets field value
func (*FsConfig) SetPciSegment ¶
SetPciSegment gets a reference to the given int32 and assigns it to the PciSegment field.
func (*FsConfig) SetQueueSize ¶
SetQueueSize sets field value
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type MemoryConfig ¶
type MemoryConfig struct { Size int64 `json:"size"` HotplugSize *int64 `json:"hotplug_size,omitempty"` HotpluggedSize *int64 `json:"hotplugged_size,omitempty"` Mergeable *bool `json:"mergeable,omitempty"` HotplugMethod *string `json:"hotplug_method,omitempty"` Hugepages *bool `json:"hugepages,omitempty"` HugepageSize *int64 `json:"hugepage_size,omitempty"` Prefault *bool `json:"prefault,omitempty"` Thp *bool `json:"thp,omitempty"` Zones *[]MemoryZoneConfig `json:"zones,omitempty"` }
MemoryConfig struct for MemoryConfig
func NewMemoryConfig ¶
func NewMemoryConfig(size int64) *MemoryConfig
NewMemoryConfig instantiates a new MemoryConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewMemoryConfigWithDefaults ¶
func NewMemoryConfigWithDefaults() *MemoryConfig
NewMemoryConfigWithDefaults instantiates a new MemoryConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*MemoryConfig) GetHotplugMethod ¶
func (o *MemoryConfig) GetHotplugMethod() string
GetHotplugMethod returns the HotplugMethod field value if set, zero value otherwise.
func (*MemoryConfig) GetHotplugMethodOk ¶
func (o *MemoryConfig) GetHotplugMethodOk() (*string, bool)
GetHotplugMethodOk returns a tuple with the HotplugMethod field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MemoryConfig) GetHotplugSize ¶
func (o *MemoryConfig) GetHotplugSize() int64
GetHotplugSize returns the HotplugSize field value if set, zero value otherwise.
func (*MemoryConfig) GetHotplugSizeOk ¶
func (o *MemoryConfig) GetHotplugSizeOk() (*int64, bool)
GetHotplugSizeOk returns a tuple with the HotplugSize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MemoryConfig) GetHotpluggedSize ¶
func (o *MemoryConfig) GetHotpluggedSize() int64
GetHotpluggedSize returns the HotpluggedSize field value if set, zero value otherwise.
func (*MemoryConfig) GetHotpluggedSizeOk ¶
func (o *MemoryConfig) GetHotpluggedSizeOk() (*int64, bool)
GetHotpluggedSizeOk returns a tuple with the HotpluggedSize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MemoryConfig) GetHugepageSize ¶
func (o *MemoryConfig) GetHugepageSize() int64
GetHugepageSize returns the HugepageSize field value if set, zero value otherwise.
func (*MemoryConfig) GetHugepageSizeOk ¶
func (o *MemoryConfig) GetHugepageSizeOk() (*int64, bool)
GetHugepageSizeOk returns a tuple with the HugepageSize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MemoryConfig) GetHugepages ¶
func (o *MemoryConfig) GetHugepages() bool
GetHugepages returns the Hugepages field value if set, zero value otherwise.
func (*MemoryConfig) GetHugepagesOk ¶
func (o *MemoryConfig) GetHugepagesOk() (*bool, bool)
GetHugepagesOk returns a tuple with the Hugepages field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MemoryConfig) GetMergeable ¶
func (o *MemoryConfig) GetMergeable() bool
GetMergeable returns the Mergeable field value if set, zero value otherwise.
func (*MemoryConfig) GetMergeableOk ¶
func (o *MemoryConfig) GetMergeableOk() (*bool, bool)
GetMergeableOk returns a tuple with the Mergeable field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MemoryConfig) GetPrefault ¶
func (o *MemoryConfig) GetPrefault() bool
GetPrefault returns the Prefault field value if set, zero value otherwise.
func (*MemoryConfig) GetPrefaultOk ¶
func (o *MemoryConfig) GetPrefaultOk() (*bool, bool)
GetPrefaultOk returns a tuple with the Prefault field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MemoryConfig) GetShared ¶
func (o *MemoryConfig) GetShared() bool
GetShared returns the Shared field value if set, zero value otherwise.
func (*MemoryConfig) GetSharedOk ¶
func (o *MemoryConfig) GetSharedOk() (*bool, bool)
GetSharedOk returns a tuple with the Shared field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MemoryConfig) GetSize ¶
func (o *MemoryConfig) GetSize() int64
GetSize returns the Size field value
func (*MemoryConfig) GetSizeOk ¶
func (o *MemoryConfig) GetSizeOk() (*int64, bool)
GetSizeOk returns a tuple with the Size field value and a boolean to check if the value has been set.
func (*MemoryConfig) GetThp ¶
func (o *MemoryConfig) GetThp() bool
GetThp returns the Thp field value if set, zero value otherwise.
func (*MemoryConfig) GetThpOk ¶
func (o *MemoryConfig) GetThpOk() (*bool, bool)
GetThpOk returns a tuple with the Thp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MemoryConfig) GetZones ¶
func (o *MemoryConfig) GetZones() []MemoryZoneConfig
GetZones returns the Zones field value if set, zero value otherwise.
func (*MemoryConfig) GetZonesOk ¶
func (o *MemoryConfig) GetZonesOk() (*[]MemoryZoneConfig, bool)
GetZonesOk returns a tuple with the Zones field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MemoryConfig) HasHotplugMethod ¶
func (o *MemoryConfig) HasHotplugMethod() bool
HasHotplugMethod returns a boolean if a field has been set.
func (*MemoryConfig) HasHotplugSize ¶
func (o *MemoryConfig) HasHotplugSize() bool
HasHotplugSize returns a boolean if a field has been set.
func (*MemoryConfig) HasHotpluggedSize ¶
func (o *MemoryConfig) HasHotpluggedSize() bool
HasHotpluggedSize returns a boolean if a field has been set.
func (*MemoryConfig) HasHugepageSize ¶
func (o *MemoryConfig) HasHugepageSize() bool
HasHugepageSize returns a boolean if a field has been set.
func (*MemoryConfig) HasHugepages ¶
func (o *MemoryConfig) HasHugepages() bool
HasHugepages returns a boolean if a field has been set.
func (*MemoryConfig) HasMergeable ¶
func (o *MemoryConfig) HasMergeable() bool
HasMergeable returns a boolean if a field has been set.
func (*MemoryConfig) HasPrefault ¶
func (o *MemoryConfig) HasPrefault() bool
HasPrefault returns a boolean if a field has been set.
func (*MemoryConfig) HasShared ¶
func (o *MemoryConfig) HasShared() bool
HasShared returns a boolean if a field has been set.
func (*MemoryConfig) HasThp ¶
func (o *MemoryConfig) HasThp() bool
HasThp returns a boolean if a field has been set.
func (*MemoryConfig) HasZones ¶
func (o *MemoryConfig) HasZones() bool
HasZones returns a boolean if a field has been set.
func (MemoryConfig) MarshalJSON ¶
func (o MemoryConfig) MarshalJSON() ([]byte, error)
func (*MemoryConfig) SetHotplugMethod ¶
func (o *MemoryConfig) SetHotplugMethod(v string)
SetHotplugMethod gets a reference to the given string and assigns it to the HotplugMethod field.
func (*MemoryConfig) SetHotplugSize ¶
func (o *MemoryConfig) SetHotplugSize(v int64)
SetHotplugSize gets a reference to the given int64 and assigns it to the HotplugSize field.
func (*MemoryConfig) SetHotpluggedSize ¶
func (o *MemoryConfig) SetHotpluggedSize(v int64)
SetHotpluggedSize gets a reference to the given int64 and assigns it to the HotpluggedSize field.
func (*MemoryConfig) SetHugepageSize ¶
func (o *MemoryConfig) SetHugepageSize(v int64)
SetHugepageSize gets a reference to the given int64 and assigns it to the HugepageSize field.
func (*MemoryConfig) SetHugepages ¶
func (o *MemoryConfig) SetHugepages(v bool)
SetHugepages gets a reference to the given bool and assigns it to the Hugepages field.
func (*MemoryConfig) SetMergeable ¶
func (o *MemoryConfig) SetMergeable(v bool)
SetMergeable gets a reference to the given bool and assigns it to the Mergeable field.
func (*MemoryConfig) SetPrefault ¶
func (o *MemoryConfig) SetPrefault(v bool)
SetPrefault gets a reference to the given bool and assigns it to the Prefault field.
func (*MemoryConfig) SetShared ¶
func (o *MemoryConfig) SetShared(v bool)
SetShared gets a reference to the given bool and assigns it to the Shared field.
func (*MemoryConfig) SetThp ¶
func (o *MemoryConfig) SetThp(v bool)
SetThp gets a reference to the given bool and assigns it to the Thp field.
func (*MemoryConfig) SetZones ¶
func (o *MemoryConfig) SetZones(v []MemoryZoneConfig)
SetZones gets a reference to the given []MemoryZoneConfig and assigns it to the Zones field.
type MemoryZoneConfig ¶
type MemoryZoneConfig struct { Id string `json:"id"` Size int64 `json:"size"` File *string `json:"file,omitempty"` Mergeable *bool `json:"mergeable,omitempty"` Hugepages *bool `json:"hugepages,omitempty"` HugepageSize *int64 `json:"hugepage_size,omitempty"` HostNumaNode *int32 `json:"host_numa_node,omitempty"` HotplugSize *int64 `json:"hotplug_size,omitempty"` HotpluggedSize *int64 `json:"hotplugged_size,omitempty"` Prefault *bool `json:"prefault,omitempty"` }
MemoryZoneConfig struct for MemoryZoneConfig
func NewMemoryZoneConfig ¶
func NewMemoryZoneConfig(id string, size int64) *MemoryZoneConfig
NewMemoryZoneConfig instantiates a new MemoryZoneConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewMemoryZoneConfigWithDefaults ¶
func NewMemoryZoneConfigWithDefaults() *MemoryZoneConfig
NewMemoryZoneConfigWithDefaults instantiates a new MemoryZoneConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*MemoryZoneConfig) GetFile ¶
func (o *MemoryZoneConfig) GetFile() string
GetFile returns the File field value if set, zero value otherwise.
func (*MemoryZoneConfig) GetFileOk ¶
func (o *MemoryZoneConfig) GetFileOk() (*string, bool)
GetFileOk returns a tuple with the File field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MemoryZoneConfig) GetHostNumaNode ¶
func (o *MemoryZoneConfig) GetHostNumaNode() int32
GetHostNumaNode returns the HostNumaNode field value if set, zero value otherwise.
func (*MemoryZoneConfig) GetHostNumaNodeOk ¶
func (o *MemoryZoneConfig) GetHostNumaNodeOk() (*int32, bool)
GetHostNumaNodeOk returns a tuple with the HostNumaNode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MemoryZoneConfig) GetHotplugSize ¶
func (o *MemoryZoneConfig) GetHotplugSize() int64
GetHotplugSize returns the HotplugSize field value if set, zero value otherwise.
func (*MemoryZoneConfig) GetHotplugSizeOk ¶
func (o *MemoryZoneConfig) GetHotplugSizeOk() (*int64, bool)
GetHotplugSizeOk returns a tuple with the HotplugSize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MemoryZoneConfig) GetHotpluggedSize ¶
func (o *MemoryZoneConfig) GetHotpluggedSize() int64
GetHotpluggedSize returns the HotpluggedSize field value if set, zero value otherwise.
func (*MemoryZoneConfig) GetHotpluggedSizeOk ¶
func (o *MemoryZoneConfig) GetHotpluggedSizeOk() (*int64, bool)
GetHotpluggedSizeOk returns a tuple with the HotpluggedSize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MemoryZoneConfig) GetHugepageSize ¶
func (o *MemoryZoneConfig) GetHugepageSize() int64
GetHugepageSize returns the HugepageSize field value if set, zero value otherwise.
func (*MemoryZoneConfig) GetHugepageSizeOk ¶
func (o *MemoryZoneConfig) GetHugepageSizeOk() (*int64, bool)
GetHugepageSizeOk returns a tuple with the HugepageSize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MemoryZoneConfig) GetHugepages ¶
func (o *MemoryZoneConfig) GetHugepages() bool
GetHugepages returns the Hugepages field value if set, zero value otherwise.
func (*MemoryZoneConfig) GetHugepagesOk ¶
func (o *MemoryZoneConfig) GetHugepagesOk() (*bool, bool)
GetHugepagesOk returns a tuple with the Hugepages field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MemoryZoneConfig) GetId ¶
func (o *MemoryZoneConfig) GetId() string
GetId returns the Id field value
func (*MemoryZoneConfig) GetIdOk ¶
func (o *MemoryZoneConfig) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*MemoryZoneConfig) GetMergeable ¶
func (o *MemoryZoneConfig) GetMergeable() bool
GetMergeable returns the Mergeable field value if set, zero value otherwise.
func (*MemoryZoneConfig) GetMergeableOk ¶
func (o *MemoryZoneConfig) GetMergeableOk() (*bool, bool)
GetMergeableOk returns a tuple with the Mergeable field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MemoryZoneConfig) GetPrefault ¶
func (o *MemoryZoneConfig) GetPrefault() bool
GetPrefault returns the Prefault field value if set, zero value otherwise.
func (*MemoryZoneConfig) GetPrefaultOk ¶
func (o *MemoryZoneConfig) GetPrefaultOk() (*bool, bool)
GetPrefaultOk returns a tuple with the Prefault field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MemoryZoneConfig) GetShared ¶
func (o *MemoryZoneConfig) GetShared() bool
GetShared returns the Shared field value if set, zero value otherwise.
func (*MemoryZoneConfig) GetSharedOk ¶
func (o *MemoryZoneConfig) GetSharedOk() (*bool, bool)
GetSharedOk returns a tuple with the Shared field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MemoryZoneConfig) GetSize ¶
func (o *MemoryZoneConfig) GetSize() int64
GetSize returns the Size field value
func (*MemoryZoneConfig) GetSizeOk ¶
func (o *MemoryZoneConfig) GetSizeOk() (*int64, bool)
GetSizeOk returns a tuple with the Size field value and a boolean to check if the value has been set.
func (*MemoryZoneConfig) HasFile ¶
func (o *MemoryZoneConfig) HasFile() bool
HasFile returns a boolean if a field has been set.
func (*MemoryZoneConfig) HasHostNumaNode ¶
func (o *MemoryZoneConfig) HasHostNumaNode() bool
HasHostNumaNode returns a boolean if a field has been set.
func (*MemoryZoneConfig) HasHotplugSize ¶
func (o *MemoryZoneConfig) HasHotplugSize() bool
HasHotplugSize returns a boolean if a field has been set.
func (*MemoryZoneConfig) HasHotpluggedSize ¶
func (o *MemoryZoneConfig) HasHotpluggedSize() bool
HasHotpluggedSize returns a boolean if a field has been set.
func (*MemoryZoneConfig) HasHugepageSize ¶
func (o *MemoryZoneConfig) HasHugepageSize() bool
HasHugepageSize returns a boolean if a field has been set.
func (*MemoryZoneConfig) HasHugepages ¶
func (o *MemoryZoneConfig) HasHugepages() bool
HasHugepages returns a boolean if a field has been set.
func (*MemoryZoneConfig) HasMergeable ¶
func (o *MemoryZoneConfig) HasMergeable() bool
HasMergeable returns a boolean if a field has been set.
func (*MemoryZoneConfig) HasPrefault ¶
func (o *MemoryZoneConfig) HasPrefault() bool
HasPrefault returns a boolean if a field has been set.
func (*MemoryZoneConfig) HasShared ¶
func (o *MemoryZoneConfig) HasShared() bool
HasShared returns a boolean if a field has been set.
func (MemoryZoneConfig) MarshalJSON ¶
func (o MemoryZoneConfig) MarshalJSON() ([]byte, error)
func (*MemoryZoneConfig) SetFile ¶
func (o *MemoryZoneConfig) SetFile(v string)
SetFile gets a reference to the given string and assigns it to the File field.
func (*MemoryZoneConfig) SetHostNumaNode ¶
func (o *MemoryZoneConfig) SetHostNumaNode(v int32)
SetHostNumaNode gets a reference to the given int32 and assigns it to the HostNumaNode field.
func (*MemoryZoneConfig) SetHotplugSize ¶
func (o *MemoryZoneConfig) SetHotplugSize(v int64)
SetHotplugSize gets a reference to the given int64 and assigns it to the HotplugSize field.
func (*MemoryZoneConfig) SetHotpluggedSize ¶
func (o *MemoryZoneConfig) SetHotpluggedSize(v int64)
SetHotpluggedSize gets a reference to the given int64 and assigns it to the HotpluggedSize field.
func (*MemoryZoneConfig) SetHugepageSize ¶
func (o *MemoryZoneConfig) SetHugepageSize(v int64)
SetHugepageSize gets a reference to the given int64 and assigns it to the HugepageSize field.
func (*MemoryZoneConfig) SetHugepages ¶
func (o *MemoryZoneConfig) SetHugepages(v bool)
SetHugepages gets a reference to the given bool and assigns it to the Hugepages field.
func (*MemoryZoneConfig) SetMergeable ¶
func (o *MemoryZoneConfig) SetMergeable(v bool)
SetMergeable gets a reference to the given bool and assigns it to the Mergeable field.
func (*MemoryZoneConfig) SetPrefault ¶
func (o *MemoryZoneConfig) SetPrefault(v bool)
SetPrefault gets a reference to the given bool and assigns it to the Prefault field.
func (*MemoryZoneConfig) SetShared ¶
func (o *MemoryZoneConfig) SetShared(v bool)
SetShared gets a reference to the given bool and assigns it to the Shared field.
func (*MemoryZoneConfig) SetSize ¶
func (o *MemoryZoneConfig) SetSize(v int64)
SetSize sets field value
type NetConfig ¶
type NetConfig struct { Tap *string `json:"tap,omitempty"` Ip *string `json:"ip,omitempty"` Mask *string `json:"mask,omitempty"` Mac *string `json:"mac,omitempty"` HostMac *string `json:"host_mac,omitempty"` Mtu *int32 `json:"mtu,omitempty"` Iommu *bool `json:"iommu,omitempty"` NumQueues *int32 `json:"num_queues,omitempty"` QueueSize *int32 `json:"queue_size,omitempty"` VhostUser *bool `json:"vhost_user,omitempty"` VhostSocket *string `json:"vhost_socket,omitempty"` VhostMode *string `json:"vhost_mode,omitempty"` Id *string `json:"id,omitempty"` PciSegment *int32 `json:"pci_segment,omitempty"` RateLimiterConfig *RateLimiterConfig `json:"rate_limiter_config,omitempty"` }
NetConfig struct for NetConfig
func NewNetConfig ¶
func NewNetConfig() *NetConfig
NewNetConfig instantiates a new NetConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewNetConfigWithDefaults ¶
func NewNetConfigWithDefaults() *NetConfig
NewNetConfigWithDefaults instantiates a new NetConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*NetConfig) GetHostMac ¶
GetHostMac returns the HostMac field value if set, zero value otherwise.
func (*NetConfig) GetHostMacOk ¶
GetHostMacOk returns a tuple with the HostMac field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetConfig) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetConfig) GetIommuOk ¶
GetIommuOk returns a tuple with the Iommu field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetConfig) GetIpOk ¶
GetIpOk returns a tuple with the Ip field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetConfig) GetMacOk ¶
GetMacOk returns a tuple with the Mac field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetConfig) GetMaskOk ¶
GetMaskOk returns a tuple with the Mask field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetConfig) GetMtuOk ¶
GetMtuOk returns a tuple with the Mtu field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetConfig) GetNumQueues ¶
GetNumQueues returns the NumQueues field value if set, zero value otherwise.
func (*NetConfig) GetNumQueuesOk ¶
GetNumQueuesOk returns a tuple with the NumQueues field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetConfig) GetPciSegment ¶
GetPciSegment returns the PciSegment field value if set, zero value otherwise.
func (*NetConfig) GetPciSegmentOk ¶
GetPciSegmentOk returns a tuple with the PciSegment field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetConfig) GetQueueSize ¶
GetQueueSize returns the QueueSize field value if set, zero value otherwise.
func (*NetConfig) GetQueueSizeOk ¶
GetQueueSizeOk returns a tuple with the QueueSize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetConfig) GetRateLimiterConfig ¶
func (o *NetConfig) GetRateLimiterConfig() RateLimiterConfig
GetRateLimiterConfig returns the RateLimiterConfig field value if set, zero value otherwise.
func (*NetConfig) GetRateLimiterConfigOk ¶
func (o *NetConfig) GetRateLimiterConfigOk() (*RateLimiterConfig, bool)
GetRateLimiterConfigOk returns a tuple with the RateLimiterConfig field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetConfig) GetTapOk ¶
GetTapOk returns a tuple with the Tap field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetConfig) GetVhostMode ¶
GetVhostMode returns the VhostMode field value if set, zero value otherwise.
func (*NetConfig) GetVhostModeOk ¶
GetVhostModeOk returns a tuple with the VhostMode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetConfig) GetVhostSocket ¶
GetVhostSocket returns the VhostSocket field value if set, zero value otherwise.
func (*NetConfig) GetVhostSocketOk ¶
GetVhostSocketOk returns a tuple with the VhostSocket field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetConfig) GetVhostUser ¶
GetVhostUser returns the VhostUser field value if set, zero value otherwise.
func (*NetConfig) GetVhostUserOk ¶
GetVhostUserOk returns a tuple with the VhostUser field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetConfig) HasHostMac ¶
HasHostMac returns a boolean if a field has been set.
func (*NetConfig) HasNumQueues ¶
HasNumQueues returns a boolean if a field has been set.
func (*NetConfig) HasPciSegment ¶
HasPciSegment returns a boolean if a field has been set.
func (*NetConfig) HasQueueSize ¶
HasQueueSize returns a boolean if a field has been set.
func (*NetConfig) HasRateLimiterConfig ¶
HasRateLimiterConfig returns a boolean if a field has been set.
func (*NetConfig) HasVhostMode ¶
HasVhostMode returns a boolean if a field has been set.
func (*NetConfig) HasVhostSocket ¶
HasVhostSocket returns a boolean if a field has been set.
func (*NetConfig) HasVhostUser ¶
HasVhostUser returns a boolean if a field has been set.
func (NetConfig) MarshalJSON ¶
func (*NetConfig) SetHostMac ¶
SetHostMac gets a reference to the given string and assigns it to the HostMac field.
func (*NetConfig) SetId ¶
SetId gets a reference to the given string and assigns it to the Id field.
func (*NetConfig) SetIommu ¶
SetIommu gets a reference to the given bool and assigns it to the Iommu field.
func (*NetConfig) SetIp ¶
SetIp gets a reference to the given string and assigns it to the Ip field.
func (*NetConfig) SetMac ¶
SetMac gets a reference to the given string and assigns it to the Mac field.
func (*NetConfig) SetMask ¶
SetMask gets a reference to the given string and assigns it to the Mask field.
func (*NetConfig) SetMtu ¶
SetMtu gets a reference to the given int32 and assigns it to the Mtu field.
func (*NetConfig) SetNumQueues ¶
SetNumQueues gets a reference to the given int32 and assigns it to the NumQueues field.
func (*NetConfig) SetPciSegment ¶
SetPciSegment gets a reference to the given int32 and assigns it to the PciSegment field.
func (*NetConfig) SetQueueSize ¶
SetQueueSize gets a reference to the given int32 and assigns it to the QueueSize field.
func (*NetConfig) SetRateLimiterConfig ¶
func (o *NetConfig) SetRateLimiterConfig(v RateLimiterConfig)
SetRateLimiterConfig gets a reference to the given RateLimiterConfig and assigns it to the RateLimiterConfig field.
func (*NetConfig) SetTap ¶
SetTap gets a reference to the given string and assigns it to the Tap field.
func (*NetConfig) SetVhostMode ¶
SetVhostMode gets a reference to the given string and assigns it to the VhostMode field.
func (*NetConfig) SetVhostSocket ¶
SetVhostSocket gets a reference to the given string and assigns it to the VhostSocket field.
func (*NetConfig) SetVhostUser ¶
SetVhostUser gets a reference to the given bool and assigns it to the VhostUser field.
type NullableBalloonConfig ¶
type NullableBalloonConfig struct {
// contains filtered or unexported fields
}
func NewNullableBalloonConfig ¶
func NewNullableBalloonConfig(val *BalloonConfig) *NullableBalloonConfig
func (NullableBalloonConfig) Get ¶
func (v NullableBalloonConfig) Get() *BalloonConfig
func (NullableBalloonConfig) IsSet ¶
func (v NullableBalloonConfig) IsSet() bool
func (NullableBalloonConfig) MarshalJSON ¶
func (v NullableBalloonConfig) MarshalJSON() ([]byte, error)
func (*NullableBalloonConfig) Set ¶
func (v *NullableBalloonConfig) Set(val *BalloonConfig)
func (*NullableBalloonConfig) UnmarshalJSON ¶
func (v *NullableBalloonConfig) UnmarshalJSON(src []byte) error
func (*NullableBalloonConfig) Unset ¶
func (v *NullableBalloonConfig) Unset()
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableConsoleConfig ¶
type NullableConsoleConfig struct {
// contains filtered or unexported fields
}
func NewNullableConsoleConfig ¶
func NewNullableConsoleConfig(val *ConsoleConfig) *NullableConsoleConfig
func (NullableConsoleConfig) Get ¶
func (v NullableConsoleConfig) Get() *ConsoleConfig
func (NullableConsoleConfig) IsSet ¶
func (v NullableConsoleConfig) IsSet() bool
func (NullableConsoleConfig) MarshalJSON ¶
func (v NullableConsoleConfig) MarshalJSON() ([]byte, error)
func (*NullableConsoleConfig) Set ¶
func (v *NullableConsoleConfig) Set(val *ConsoleConfig)
func (*NullableConsoleConfig) UnmarshalJSON ¶
func (v *NullableConsoleConfig) UnmarshalJSON(src []byte) error
func (*NullableConsoleConfig) Unset ¶
func (v *NullableConsoleConfig) Unset()
type NullableCpuAffinity ¶
type NullableCpuAffinity struct {
// contains filtered or unexported fields
}
func NewNullableCpuAffinity ¶
func NewNullableCpuAffinity(val *CpuAffinity) *NullableCpuAffinity
func (NullableCpuAffinity) Get ¶
func (v NullableCpuAffinity) Get() *CpuAffinity
func (NullableCpuAffinity) IsSet ¶
func (v NullableCpuAffinity) IsSet() bool
func (NullableCpuAffinity) MarshalJSON ¶
func (v NullableCpuAffinity) MarshalJSON() ([]byte, error)
func (*NullableCpuAffinity) Set ¶
func (v *NullableCpuAffinity) Set(val *CpuAffinity)
func (*NullableCpuAffinity) UnmarshalJSON ¶
func (v *NullableCpuAffinity) UnmarshalJSON(src []byte) error
func (*NullableCpuAffinity) Unset ¶
func (v *NullableCpuAffinity) Unset()
type NullableCpuFeatures ¶
type NullableCpuFeatures struct {
// contains filtered or unexported fields
}
func NewNullableCpuFeatures ¶
func NewNullableCpuFeatures(val *CpuFeatures) *NullableCpuFeatures
func (NullableCpuFeatures) Get ¶
func (v NullableCpuFeatures) Get() *CpuFeatures
func (NullableCpuFeatures) IsSet ¶
func (v NullableCpuFeatures) IsSet() bool
func (NullableCpuFeatures) MarshalJSON ¶
func (v NullableCpuFeatures) MarshalJSON() ([]byte, error)
func (*NullableCpuFeatures) Set ¶
func (v *NullableCpuFeatures) Set(val *CpuFeatures)
func (*NullableCpuFeatures) UnmarshalJSON ¶
func (v *NullableCpuFeatures) UnmarshalJSON(src []byte) error
func (*NullableCpuFeatures) Unset ¶
func (v *NullableCpuFeatures) Unset()
type NullableCpuTopology ¶
type NullableCpuTopology struct {
// contains filtered or unexported fields
}
func NewNullableCpuTopology ¶
func NewNullableCpuTopology(val *CpuTopology) *NullableCpuTopology
func (NullableCpuTopology) Get ¶
func (v NullableCpuTopology) Get() *CpuTopology
func (NullableCpuTopology) IsSet ¶
func (v NullableCpuTopology) IsSet() bool
func (NullableCpuTopology) MarshalJSON ¶
func (v NullableCpuTopology) MarshalJSON() ([]byte, error)
func (*NullableCpuTopology) Set ¶
func (v *NullableCpuTopology) Set(val *CpuTopology)
func (*NullableCpuTopology) UnmarshalJSON ¶
func (v *NullableCpuTopology) UnmarshalJSON(src []byte) error
func (*NullableCpuTopology) Unset ¶
func (v *NullableCpuTopology) Unset()
type NullableCpusConfig ¶
type NullableCpusConfig struct {
// contains filtered or unexported fields
}
func NewNullableCpusConfig ¶
func NewNullableCpusConfig(val *CpusConfig) *NullableCpusConfig
func (NullableCpusConfig) Get ¶
func (v NullableCpusConfig) Get() *CpusConfig
func (NullableCpusConfig) IsSet ¶
func (v NullableCpusConfig) IsSet() bool
func (NullableCpusConfig) MarshalJSON ¶
func (v NullableCpusConfig) MarshalJSON() ([]byte, error)
func (*NullableCpusConfig) Set ¶
func (v *NullableCpusConfig) Set(val *CpusConfig)
func (*NullableCpusConfig) UnmarshalJSON ¶
func (v *NullableCpusConfig) UnmarshalJSON(src []byte) error
func (*NullableCpusConfig) Unset ¶
func (v *NullableCpusConfig) Unset()
type NullableDeviceConfig ¶
type NullableDeviceConfig struct {
// contains filtered or unexported fields
}
func NewNullableDeviceConfig ¶
func NewNullableDeviceConfig(val *DeviceConfig) *NullableDeviceConfig
func (NullableDeviceConfig) Get ¶
func (v NullableDeviceConfig) Get() *DeviceConfig
func (NullableDeviceConfig) IsSet ¶
func (v NullableDeviceConfig) IsSet() bool
func (NullableDeviceConfig) MarshalJSON ¶
func (v NullableDeviceConfig) MarshalJSON() ([]byte, error)
func (*NullableDeviceConfig) Set ¶
func (v *NullableDeviceConfig) Set(val *DeviceConfig)
func (*NullableDeviceConfig) UnmarshalJSON ¶
func (v *NullableDeviceConfig) UnmarshalJSON(src []byte) error
func (*NullableDeviceConfig) Unset ¶
func (v *NullableDeviceConfig) Unset()
type NullableDeviceNode ¶
type NullableDeviceNode struct {
// contains filtered or unexported fields
}
func NewNullableDeviceNode ¶
func NewNullableDeviceNode(val *DeviceNode) *NullableDeviceNode
func (NullableDeviceNode) Get ¶
func (v NullableDeviceNode) Get() *DeviceNode
func (NullableDeviceNode) IsSet ¶
func (v NullableDeviceNode) IsSet() bool
func (NullableDeviceNode) MarshalJSON ¶
func (v NullableDeviceNode) MarshalJSON() ([]byte, error)
func (*NullableDeviceNode) Set ¶
func (v *NullableDeviceNode) Set(val *DeviceNode)
func (*NullableDeviceNode) UnmarshalJSON ¶
func (v *NullableDeviceNode) UnmarshalJSON(src []byte) error
func (*NullableDeviceNode) Unset ¶
func (v *NullableDeviceNode) Unset()
type NullableDiskConfig ¶
type NullableDiskConfig struct {
// contains filtered or unexported fields
}
func NewNullableDiskConfig ¶
func NewNullableDiskConfig(val *DiskConfig) *NullableDiskConfig
func (NullableDiskConfig) Get ¶
func (v NullableDiskConfig) Get() *DiskConfig
func (NullableDiskConfig) IsSet ¶
func (v NullableDiskConfig) IsSet() bool
func (NullableDiskConfig) MarshalJSON ¶
func (v NullableDiskConfig) MarshalJSON() ([]byte, error)
func (*NullableDiskConfig) Set ¶
func (v *NullableDiskConfig) Set(val *DiskConfig)
func (*NullableDiskConfig) UnmarshalJSON ¶
func (v *NullableDiskConfig) UnmarshalJSON(src []byte) error
func (*NullableDiskConfig) Unset ¶
func (v *NullableDiskConfig) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableFsConfig ¶
type NullableFsConfig struct {
// contains filtered or unexported fields
}
func NewNullableFsConfig ¶
func NewNullableFsConfig(val *FsConfig) *NullableFsConfig
func (NullableFsConfig) Get ¶
func (v NullableFsConfig) Get() *FsConfig
func (NullableFsConfig) IsSet ¶
func (v NullableFsConfig) IsSet() bool
func (NullableFsConfig) MarshalJSON ¶
func (v NullableFsConfig) MarshalJSON() ([]byte, error)
func (*NullableFsConfig) Set ¶
func (v *NullableFsConfig) Set(val *FsConfig)
func (*NullableFsConfig) UnmarshalJSON ¶
func (v *NullableFsConfig) UnmarshalJSON(src []byte) error
func (*NullableFsConfig) Unset ¶
func (v *NullableFsConfig) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableMemoryConfig ¶
type NullableMemoryConfig struct {
// contains filtered or unexported fields
}
func NewNullableMemoryConfig ¶
func NewNullableMemoryConfig(val *MemoryConfig) *NullableMemoryConfig
func (NullableMemoryConfig) Get ¶
func (v NullableMemoryConfig) Get() *MemoryConfig
func (NullableMemoryConfig) IsSet ¶
func (v NullableMemoryConfig) IsSet() bool
func (NullableMemoryConfig) MarshalJSON ¶
func (v NullableMemoryConfig) MarshalJSON() ([]byte, error)
func (*NullableMemoryConfig) Set ¶
func (v *NullableMemoryConfig) Set(val *MemoryConfig)
func (*NullableMemoryConfig) UnmarshalJSON ¶
func (v *NullableMemoryConfig) UnmarshalJSON(src []byte) error
func (*NullableMemoryConfig) Unset ¶
func (v *NullableMemoryConfig) Unset()
type NullableMemoryZoneConfig ¶
type NullableMemoryZoneConfig struct {
// contains filtered or unexported fields
}
func NewNullableMemoryZoneConfig ¶
func NewNullableMemoryZoneConfig(val *MemoryZoneConfig) *NullableMemoryZoneConfig
func (NullableMemoryZoneConfig) Get ¶
func (v NullableMemoryZoneConfig) Get() *MemoryZoneConfig
func (NullableMemoryZoneConfig) IsSet ¶
func (v NullableMemoryZoneConfig) IsSet() bool
func (NullableMemoryZoneConfig) MarshalJSON ¶
func (v NullableMemoryZoneConfig) MarshalJSON() ([]byte, error)
func (*NullableMemoryZoneConfig) Set ¶
func (v *NullableMemoryZoneConfig) Set(val *MemoryZoneConfig)
func (*NullableMemoryZoneConfig) UnmarshalJSON ¶
func (v *NullableMemoryZoneConfig) UnmarshalJSON(src []byte) error
func (*NullableMemoryZoneConfig) Unset ¶
func (v *NullableMemoryZoneConfig) Unset()
type NullableNetConfig ¶
type NullableNetConfig struct {
// contains filtered or unexported fields
}
func NewNullableNetConfig ¶
func NewNullableNetConfig(val *NetConfig) *NullableNetConfig
func (NullableNetConfig) Get ¶
func (v NullableNetConfig) Get() *NetConfig
func (NullableNetConfig) IsSet ¶
func (v NullableNetConfig) IsSet() bool
func (NullableNetConfig) MarshalJSON ¶
func (v NullableNetConfig) MarshalJSON() ([]byte, error)
func (*NullableNetConfig) Set ¶
func (v *NullableNetConfig) Set(val *NetConfig)
func (*NullableNetConfig) UnmarshalJSON ¶
func (v *NullableNetConfig) UnmarshalJSON(src []byte) error
func (*NullableNetConfig) Unset ¶
func (v *NullableNetConfig) Unset()
type NullableNumaConfig ¶
type NullableNumaConfig struct {
// contains filtered or unexported fields
}
func NewNullableNumaConfig ¶
func NewNullableNumaConfig(val *NumaConfig) *NullableNumaConfig
func (NullableNumaConfig) Get ¶
func (v NullableNumaConfig) Get() *NumaConfig
func (NullableNumaConfig) IsSet ¶
func (v NullableNumaConfig) IsSet() bool
func (NullableNumaConfig) MarshalJSON ¶
func (v NullableNumaConfig) MarshalJSON() ([]byte, error)
func (*NullableNumaConfig) Set ¶
func (v *NullableNumaConfig) Set(val *NumaConfig)
func (*NullableNumaConfig) UnmarshalJSON ¶
func (v *NullableNumaConfig) UnmarshalJSON(src []byte) error
func (*NullableNumaConfig) Unset ¶
func (v *NullableNumaConfig) Unset()
type NullableNumaDistance ¶
type NullableNumaDistance struct {
// contains filtered or unexported fields
}
func NewNullableNumaDistance ¶
func NewNullableNumaDistance(val *NumaDistance) *NullableNumaDistance
func (NullableNumaDistance) Get ¶
func (v NullableNumaDistance) Get() *NumaDistance
func (NullableNumaDistance) IsSet ¶
func (v NullableNumaDistance) IsSet() bool
func (NullableNumaDistance) MarshalJSON ¶
func (v NullableNumaDistance) MarshalJSON() ([]byte, error)
func (*NullableNumaDistance) Set ¶
func (v *NullableNumaDistance) Set(val *NumaDistance)
func (*NullableNumaDistance) UnmarshalJSON ¶
func (v *NullableNumaDistance) UnmarshalJSON(src []byte) error
func (*NullableNumaDistance) Unset ¶
func (v *NullableNumaDistance) Unset()
type NullablePayloadConfig ¶
type NullablePayloadConfig struct {
// contains filtered or unexported fields
}
func NewNullablePayloadConfig ¶
func NewNullablePayloadConfig(val *PayloadConfig) *NullablePayloadConfig
func (NullablePayloadConfig) Get ¶
func (v NullablePayloadConfig) Get() *PayloadConfig
func (NullablePayloadConfig) IsSet ¶
func (v NullablePayloadConfig) IsSet() bool
func (NullablePayloadConfig) MarshalJSON ¶
func (v NullablePayloadConfig) MarshalJSON() ([]byte, error)
func (*NullablePayloadConfig) Set ¶
func (v *NullablePayloadConfig) Set(val *PayloadConfig)
func (*NullablePayloadConfig) UnmarshalJSON ¶
func (v *NullablePayloadConfig) UnmarshalJSON(src []byte) error
func (*NullablePayloadConfig) Unset ¶
func (v *NullablePayloadConfig) Unset()
type NullablePciDeviceInfo ¶
type NullablePciDeviceInfo struct {
// contains filtered or unexported fields
}
func NewNullablePciDeviceInfo ¶
func NewNullablePciDeviceInfo(val *PciDeviceInfo) *NullablePciDeviceInfo
func (NullablePciDeviceInfo) Get ¶
func (v NullablePciDeviceInfo) Get() *PciDeviceInfo
func (NullablePciDeviceInfo) IsSet ¶
func (v NullablePciDeviceInfo) IsSet() bool
func (NullablePciDeviceInfo) MarshalJSON ¶
func (v NullablePciDeviceInfo) MarshalJSON() ([]byte, error)
func (*NullablePciDeviceInfo) Set ¶
func (v *NullablePciDeviceInfo) Set(val *PciDeviceInfo)
func (*NullablePciDeviceInfo) UnmarshalJSON ¶
func (v *NullablePciDeviceInfo) UnmarshalJSON(src []byte) error
func (*NullablePciDeviceInfo) Unset ¶
func (v *NullablePciDeviceInfo) Unset()
type NullablePlatformConfig ¶
type NullablePlatformConfig struct {
// contains filtered or unexported fields
}
func NewNullablePlatformConfig ¶
func NewNullablePlatformConfig(val *PlatformConfig) *NullablePlatformConfig
func (NullablePlatformConfig) Get ¶
func (v NullablePlatformConfig) Get() *PlatformConfig
func (NullablePlatformConfig) IsSet ¶
func (v NullablePlatformConfig) IsSet() bool
func (NullablePlatformConfig) MarshalJSON ¶
func (v NullablePlatformConfig) MarshalJSON() ([]byte, error)
func (*NullablePlatformConfig) Set ¶
func (v *NullablePlatformConfig) Set(val *PlatformConfig)
func (*NullablePlatformConfig) UnmarshalJSON ¶
func (v *NullablePlatformConfig) UnmarshalJSON(src []byte) error
func (*NullablePlatformConfig) Unset ¶
func (v *NullablePlatformConfig) Unset()
type NullablePmemConfig ¶
type NullablePmemConfig struct {
// contains filtered or unexported fields
}
func NewNullablePmemConfig ¶
func NewNullablePmemConfig(val *PmemConfig) *NullablePmemConfig
func (NullablePmemConfig) Get ¶
func (v NullablePmemConfig) Get() *PmemConfig
func (NullablePmemConfig) IsSet ¶
func (v NullablePmemConfig) IsSet() bool
func (NullablePmemConfig) MarshalJSON ¶
func (v NullablePmemConfig) MarshalJSON() ([]byte, error)
func (*NullablePmemConfig) Set ¶
func (v *NullablePmemConfig) Set(val *PmemConfig)
func (*NullablePmemConfig) UnmarshalJSON ¶
func (v *NullablePmemConfig) UnmarshalJSON(src []byte) error
func (*NullablePmemConfig) Unset ¶
func (v *NullablePmemConfig) Unset()
type NullableRateLimiterConfig ¶
type NullableRateLimiterConfig struct {
// contains filtered or unexported fields
}
func NewNullableRateLimiterConfig ¶
func NewNullableRateLimiterConfig(val *RateLimiterConfig) *NullableRateLimiterConfig
func (NullableRateLimiterConfig) Get ¶
func (v NullableRateLimiterConfig) Get() *RateLimiterConfig
func (NullableRateLimiterConfig) IsSet ¶
func (v NullableRateLimiterConfig) IsSet() bool
func (NullableRateLimiterConfig) MarshalJSON ¶
func (v NullableRateLimiterConfig) MarshalJSON() ([]byte, error)
func (*NullableRateLimiterConfig) Set ¶
func (v *NullableRateLimiterConfig) Set(val *RateLimiterConfig)
func (*NullableRateLimiterConfig) UnmarshalJSON ¶
func (v *NullableRateLimiterConfig) UnmarshalJSON(src []byte) error
func (*NullableRateLimiterConfig) Unset ¶
func (v *NullableRateLimiterConfig) Unset()
type NullableReceiveMigrationData ¶
type NullableReceiveMigrationData struct {
// contains filtered or unexported fields
}
func NewNullableReceiveMigrationData ¶
func NewNullableReceiveMigrationData(val *ReceiveMigrationData) *NullableReceiveMigrationData
func (NullableReceiveMigrationData) Get ¶
func (v NullableReceiveMigrationData) Get() *ReceiveMigrationData
func (NullableReceiveMigrationData) IsSet ¶
func (v NullableReceiveMigrationData) IsSet() bool
func (NullableReceiveMigrationData) MarshalJSON ¶
func (v NullableReceiveMigrationData) MarshalJSON() ([]byte, error)
func (*NullableReceiveMigrationData) Set ¶
func (v *NullableReceiveMigrationData) Set(val *ReceiveMigrationData)
func (*NullableReceiveMigrationData) UnmarshalJSON ¶
func (v *NullableReceiveMigrationData) UnmarshalJSON(src []byte) error
func (*NullableReceiveMigrationData) Unset ¶
func (v *NullableReceiveMigrationData) Unset()
type NullableRestoreConfig ¶
type NullableRestoreConfig struct {
// contains filtered or unexported fields
}
func NewNullableRestoreConfig ¶
func NewNullableRestoreConfig(val *RestoreConfig) *NullableRestoreConfig
func (NullableRestoreConfig) Get ¶
func (v NullableRestoreConfig) Get() *RestoreConfig
func (NullableRestoreConfig) IsSet ¶
func (v NullableRestoreConfig) IsSet() bool
func (NullableRestoreConfig) MarshalJSON ¶
func (v NullableRestoreConfig) MarshalJSON() ([]byte, error)
func (*NullableRestoreConfig) Set ¶
func (v *NullableRestoreConfig) Set(val *RestoreConfig)
func (*NullableRestoreConfig) UnmarshalJSON ¶
func (v *NullableRestoreConfig) UnmarshalJSON(src []byte) error
func (*NullableRestoreConfig) Unset ¶
func (v *NullableRestoreConfig) Unset()
type NullableRngConfig ¶
type NullableRngConfig struct {
// contains filtered or unexported fields
}
func NewNullableRngConfig ¶
func NewNullableRngConfig(val *RngConfig) *NullableRngConfig
func (NullableRngConfig) Get ¶
func (v NullableRngConfig) Get() *RngConfig
func (NullableRngConfig) IsSet ¶
func (v NullableRngConfig) IsSet() bool
func (NullableRngConfig) MarshalJSON ¶
func (v NullableRngConfig) MarshalJSON() ([]byte, error)
func (*NullableRngConfig) Set ¶
func (v *NullableRngConfig) Set(val *RngConfig)
func (*NullableRngConfig) UnmarshalJSON ¶
func (v *NullableRngConfig) UnmarshalJSON(src []byte) error
func (*NullableRngConfig) Unset ¶
func (v *NullableRngConfig) Unset()
type NullableSendMigrationData ¶
type NullableSendMigrationData struct {
// contains filtered or unexported fields
}
func NewNullableSendMigrationData ¶
func NewNullableSendMigrationData(val *SendMigrationData) *NullableSendMigrationData
func (NullableSendMigrationData) Get ¶
func (v NullableSendMigrationData) Get() *SendMigrationData
func (NullableSendMigrationData) IsSet ¶
func (v NullableSendMigrationData) IsSet() bool
func (NullableSendMigrationData) MarshalJSON ¶
func (v NullableSendMigrationData) MarshalJSON() ([]byte, error)
func (*NullableSendMigrationData) Set ¶
func (v *NullableSendMigrationData) Set(val *SendMigrationData)
func (*NullableSendMigrationData) UnmarshalJSON ¶
func (v *NullableSendMigrationData) UnmarshalJSON(src []byte) error
func (*NullableSendMigrationData) Unset ¶
func (v *NullableSendMigrationData) Unset()
type NullableSgxEpcConfig ¶
type NullableSgxEpcConfig struct {
// contains filtered or unexported fields
}
func NewNullableSgxEpcConfig ¶
func NewNullableSgxEpcConfig(val *SgxEpcConfig) *NullableSgxEpcConfig
func (NullableSgxEpcConfig) Get ¶
func (v NullableSgxEpcConfig) Get() *SgxEpcConfig
func (NullableSgxEpcConfig) IsSet ¶
func (v NullableSgxEpcConfig) IsSet() bool
func (NullableSgxEpcConfig) MarshalJSON ¶
func (v NullableSgxEpcConfig) MarshalJSON() ([]byte, error)
func (*NullableSgxEpcConfig) Set ¶
func (v *NullableSgxEpcConfig) Set(val *SgxEpcConfig)
func (*NullableSgxEpcConfig) UnmarshalJSON ¶
func (v *NullableSgxEpcConfig) UnmarshalJSON(src []byte) error
func (*NullableSgxEpcConfig) Unset ¶
func (v *NullableSgxEpcConfig) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type NullableTokenBucket ¶
type NullableTokenBucket struct {
// contains filtered or unexported fields
}
func NewNullableTokenBucket ¶
func NewNullableTokenBucket(val *TokenBucket) *NullableTokenBucket
func (NullableTokenBucket) Get ¶
func (v NullableTokenBucket) Get() *TokenBucket
func (NullableTokenBucket) IsSet ¶
func (v NullableTokenBucket) IsSet() bool
func (NullableTokenBucket) MarshalJSON ¶
func (v NullableTokenBucket) MarshalJSON() ([]byte, error)
func (*NullableTokenBucket) Set ¶
func (v *NullableTokenBucket) Set(val *TokenBucket)
func (*NullableTokenBucket) UnmarshalJSON ¶
func (v *NullableTokenBucket) UnmarshalJSON(src []byte) error
func (*NullableTokenBucket) Unset ¶
func (v *NullableTokenBucket) Unset()
type NullableTpmConfig ¶
type NullableTpmConfig struct {
// contains filtered or unexported fields
}
func NewNullableTpmConfig ¶
func NewNullableTpmConfig(val *TpmConfig) *NullableTpmConfig
func (NullableTpmConfig) Get ¶
func (v NullableTpmConfig) Get() *TpmConfig
func (NullableTpmConfig) IsSet ¶
func (v NullableTpmConfig) IsSet() bool
func (NullableTpmConfig) MarshalJSON ¶
func (v NullableTpmConfig) MarshalJSON() ([]byte, error)
func (*NullableTpmConfig) Set ¶
func (v *NullableTpmConfig) Set(val *TpmConfig)
func (*NullableTpmConfig) UnmarshalJSON ¶
func (v *NullableTpmConfig) UnmarshalJSON(src []byte) error
func (*NullableTpmConfig) Unset ¶
func (v *NullableTpmConfig) Unset()
type NullableVdpaConfig ¶
type NullableVdpaConfig struct {
// contains filtered or unexported fields
}
func NewNullableVdpaConfig ¶
func NewNullableVdpaConfig(val *VdpaConfig) *NullableVdpaConfig
func (NullableVdpaConfig) Get ¶
func (v NullableVdpaConfig) Get() *VdpaConfig
func (NullableVdpaConfig) IsSet ¶
func (v NullableVdpaConfig) IsSet() bool
func (NullableVdpaConfig) MarshalJSON ¶
func (v NullableVdpaConfig) MarshalJSON() ([]byte, error)
func (*NullableVdpaConfig) Set ¶
func (v *NullableVdpaConfig) Set(val *VdpaConfig)
func (*NullableVdpaConfig) UnmarshalJSON ¶
func (v *NullableVdpaConfig) UnmarshalJSON(src []byte) error
func (*NullableVdpaConfig) Unset ¶
func (v *NullableVdpaConfig) Unset()
type NullableVmConfig ¶
type NullableVmConfig struct {
// contains filtered or unexported fields
}
func NewNullableVmConfig ¶
func NewNullableVmConfig(val *VmConfig) *NullableVmConfig
func (NullableVmConfig) Get ¶
func (v NullableVmConfig) Get() *VmConfig
func (NullableVmConfig) IsSet ¶
func (v NullableVmConfig) IsSet() bool
func (NullableVmConfig) MarshalJSON ¶
func (v NullableVmConfig) MarshalJSON() ([]byte, error)
func (*NullableVmConfig) Set ¶
func (v *NullableVmConfig) Set(val *VmConfig)
func (*NullableVmConfig) UnmarshalJSON ¶
func (v *NullableVmConfig) UnmarshalJSON(src []byte) error
func (*NullableVmConfig) Unset ¶
func (v *NullableVmConfig) Unset()
type NullableVmCoredumpData ¶
type NullableVmCoredumpData struct {
// contains filtered or unexported fields
}
func NewNullableVmCoredumpData ¶
func NewNullableVmCoredumpData(val *VmCoredumpData) *NullableVmCoredumpData
func (NullableVmCoredumpData) Get ¶
func (v NullableVmCoredumpData) Get() *VmCoredumpData
func (NullableVmCoredumpData) IsSet ¶
func (v NullableVmCoredumpData) IsSet() bool
func (NullableVmCoredumpData) MarshalJSON ¶
func (v NullableVmCoredumpData) MarshalJSON() ([]byte, error)
func (*NullableVmCoredumpData) Set ¶
func (v *NullableVmCoredumpData) Set(val *VmCoredumpData)
func (*NullableVmCoredumpData) UnmarshalJSON ¶
func (v *NullableVmCoredumpData) UnmarshalJSON(src []byte) error
func (*NullableVmCoredumpData) Unset ¶
func (v *NullableVmCoredumpData) Unset()
type NullableVmInfo ¶
type NullableVmInfo struct {
// contains filtered or unexported fields
}
func NewNullableVmInfo ¶
func NewNullableVmInfo(val *VmInfo) *NullableVmInfo
func (NullableVmInfo) Get ¶
func (v NullableVmInfo) Get() *VmInfo
func (NullableVmInfo) IsSet ¶
func (v NullableVmInfo) IsSet() bool
func (NullableVmInfo) MarshalJSON ¶
func (v NullableVmInfo) MarshalJSON() ([]byte, error)
func (*NullableVmInfo) Set ¶
func (v *NullableVmInfo) Set(val *VmInfo)
func (*NullableVmInfo) UnmarshalJSON ¶
func (v *NullableVmInfo) UnmarshalJSON(src []byte) error
func (*NullableVmInfo) Unset ¶
func (v *NullableVmInfo) Unset()
type NullableVmRemoveDevice ¶
type NullableVmRemoveDevice struct {
// contains filtered or unexported fields
}
func NewNullableVmRemoveDevice ¶
func NewNullableVmRemoveDevice(val *VmRemoveDevice) *NullableVmRemoveDevice
func (NullableVmRemoveDevice) Get ¶
func (v NullableVmRemoveDevice) Get() *VmRemoveDevice
func (NullableVmRemoveDevice) IsSet ¶
func (v NullableVmRemoveDevice) IsSet() bool
func (NullableVmRemoveDevice) MarshalJSON ¶
func (v NullableVmRemoveDevice) MarshalJSON() ([]byte, error)
func (*NullableVmRemoveDevice) Set ¶
func (v *NullableVmRemoveDevice) Set(val *VmRemoveDevice)
func (*NullableVmRemoveDevice) UnmarshalJSON ¶
func (v *NullableVmRemoveDevice) UnmarshalJSON(src []byte) error
func (*NullableVmRemoveDevice) Unset ¶
func (v *NullableVmRemoveDevice) Unset()
type NullableVmResize ¶
type NullableVmResize struct {
// contains filtered or unexported fields
}
func NewNullableVmResize ¶
func NewNullableVmResize(val *VmResize) *NullableVmResize
func (NullableVmResize) Get ¶
func (v NullableVmResize) Get() *VmResize
func (NullableVmResize) IsSet ¶
func (v NullableVmResize) IsSet() bool
func (NullableVmResize) MarshalJSON ¶
func (v NullableVmResize) MarshalJSON() ([]byte, error)
func (*NullableVmResize) Set ¶
func (v *NullableVmResize) Set(val *VmResize)
func (*NullableVmResize) UnmarshalJSON ¶
func (v *NullableVmResize) UnmarshalJSON(src []byte) error
func (*NullableVmResize) Unset ¶
func (v *NullableVmResize) Unset()
type NullableVmResizeZone ¶
type NullableVmResizeZone struct {
// contains filtered or unexported fields
}
func NewNullableVmResizeZone ¶
func NewNullableVmResizeZone(val *VmResizeZone) *NullableVmResizeZone
func (NullableVmResizeZone) Get ¶
func (v NullableVmResizeZone) Get() *VmResizeZone
func (NullableVmResizeZone) IsSet ¶
func (v NullableVmResizeZone) IsSet() bool
func (NullableVmResizeZone) MarshalJSON ¶
func (v NullableVmResizeZone) MarshalJSON() ([]byte, error)
func (*NullableVmResizeZone) Set ¶
func (v *NullableVmResizeZone) Set(val *VmResizeZone)
func (*NullableVmResizeZone) UnmarshalJSON ¶
func (v *NullableVmResizeZone) UnmarshalJSON(src []byte) error
func (*NullableVmResizeZone) Unset ¶
func (v *NullableVmResizeZone) Unset()
type NullableVmSnapshotConfig ¶
type NullableVmSnapshotConfig struct {
// contains filtered or unexported fields
}
func NewNullableVmSnapshotConfig ¶
func NewNullableVmSnapshotConfig(val *VmSnapshotConfig) *NullableVmSnapshotConfig
func (NullableVmSnapshotConfig) Get ¶
func (v NullableVmSnapshotConfig) Get() *VmSnapshotConfig
func (NullableVmSnapshotConfig) IsSet ¶
func (v NullableVmSnapshotConfig) IsSet() bool
func (NullableVmSnapshotConfig) MarshalJSON ¶
func (v NullableVmSnapshotConfig) MarshalJSON() ([]byte, error)
func (*NullableVmSnapshotConfig) Set ¶
func (v *NullableVmSnapshotConfig) Set(val *VmSnapshotConfig)
func (*NullableVmSnapshotConfig) UnmarshalJSON ¶
func (v *NullableVmSnapshotConfig) UnmarshalJSON(src []byte) error
func (*NullableVmSnapshotConfig) Unset ¶
func (v *NullableVmSnapshotConfig) Unset()
type NullableVmmPingResponse ¶
type NullableVmmPingResponse struct {
// contains filtered or unexported fields
}
func NewNullableVmmPingResponse ¶
func NewNullableVmmPingResponse(val *VmmPingResponse) *NullableVmmPingResponse
func (NullableVmmPingResponse) Get ¶
func (v NullableVmmPingResponse) Get() *VmmPingResponse
func (NullableVmmPingResponse) IsSet ¶
func (v NullableVmmPingResponse) IsSet() bool
func (NullableVmmPingResponse) MarshalJSON ¶
func (v NullableVmmPingResponse) MarshalJSON() ([]byte, error)
func (*NullableVmmPingResponse) Set ¶
func (v *NullableVmmPingResponse) Set(val *VmmPingResponse)
func (*NullableVmmPingResponse) UnmarshalJSON ¶
func (v *NullableVmmPingResponse) UnmarshalJSON(src []byte) error
func (*NullableVmmPingResponse) Unset ¶
func (v *NullableVmmPingResponse) Unset()
type NullableVsockConfig ¶
type NullableVsockConfig struct {
// contains filtered or unexported fields
}
func NewNullableVsockConfig ¶
func NewNullableVsockConfig(val *VsockConfig) *NullableVsockConfig
func (NullableVsockConfig) Get ¶
func (v NullableVsockConfig) Get() *VsockConfig
func (NullableVsockConfig) IsSet ¶
func (v NullableVsockConfig) IsSet() bool
func (NullableVsockConfig) MarshalJSON ¶
func (v NullableVsockConfig) MarshalJSON() ([]byte, error)
func (*NullableVsockConfig) Set ¶
func (v *NullableVsockConfig) Set(val *VsockConfig)
func (*NullableVsockConfig) UnmarshalJSON ¶
func (v *NullableVsockConfig) UnmarshalJSON(src []byte) error
func (*NullableVsockConfig) Unset ¶
func (v *NullableVsockConfig) Unset()
type NumaConfig ¶
type NumaConfig struct { GuestNumaId int32 `json:"guest_numa_id"` Cpus *[]int32 `json:"cpus,omitempty"` Distances *[]NumaDistance `json:"distances,omitempty"` MemoryZones *[]string `json:"memory_zones,omitempty"` SgxEpcSections *[]string `json:"sgx_epc_sections,omitempty"` PciSegments *[]int32 `json:"pci_segments,omitempty"` }
NumaConfig struct for NumaConfig
func NewNumaConfig ¶
func NewNumaConfig(guestNumaId int32) *NumaConfig
NewNumaConfig instantiates a new NumaConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewNumaConfigWithDefaults ¶
func NewNumaConfigWithDefaults() *NumaConfig
NewNumaConfigWithDefaults instantiates a new NumaConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*NumaConfig) GetCpus ¶
func (o *NumaConfig) GetCpus() []int32
GetCpus returns the Cpus field value if set, zero value otherwise.
func (*NumaConfig) GetCpusOk ¶
func (o *NumaConfig) GetCpusOk() (*[]int32, bool)
GetCpusOk returns a tuple with the Cpus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NumaConfig) GetDistances ¶
func (o *NumaConfig) GetDistances() []NumaDistance
GetDistances returns the Distances field value if set, zero value otherwise.
func (*NumaConfig) GetDistancesOk ¶
func (o *NumaConfig) GetDistancesOk() (*[]NumaDistance, bool)
GetDistancesOk returns a tuple with the Distances field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NumaConfig) GetGuestNumaId ¶
func (o *NumaConfig) GetGuestNumaId() int32
GetGuestNumaId returns the GuestNumaId field value
func (*NumaConfig) GetGuestNumaIdOk ¶
func (o *NumaConfig) GetGuestNumaIdOk() (*int32, bool)
GetGuestNumaIdOk returns a tuple with the GuestNumaId field value and a boolean to check if the value has been set.
func (*NumaConfig) GetMemoryZones ¶
func (o *NumaConfig) GetMemoryZones() []string
GetMemoryZones returns the MemoryZones field value if set, zero value otherwise.
func (*NumaConfig) GetMemoryZonesOk ¶
func (o *NumaConfig) GetMemoryZonesOk() (*[]string, bool)
GetMemoryZonesOk returns a tuple with the MemoryZones field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NumaConfig) GetPciSegments ¶
func (o *NumaConfig) GetPciSegments() []int32
GetPciSegments returns the PciSegments field value if set, zero value otherwise.
func (*NumaConfig) GetPciSegmentsOk ¶
func (o *NumaConfig) GetPciSegmentsOk() (*[]int32, bool)
GetPciSegmentsOk returns a tuple with the PciSegments field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NumaConfig) GetSgxEpcSections ¶
func (o *NumaConfig) GetSgxEpcSections() []string
GetSgxEpcSections returns the SgxEpcSections field value if set, zero value otherwise.
func (*NumaConfig) GetSgxEpcSectionsOk ¶
func (o *NumaConfig) GetSgxEpcSectionsOk() (*[]string, bool)
GetSgxEpcSectionsOk returns a tuple with the SgxEpcSections field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NumaConfig) HasCpus ¶
func (o *NumaConfig) HasCpus() bool
HasCpus returns a boolean if a field has been set.
func (*NumaConfig) HasDistances ¶
func (o *NumaConfig) HasDistances() bool
HasDistances returns a boolean if a field has been set.
func (*NumaConfig) HasMemoryZones ¶
func (o *NumaConfig) HasMemoryZones() bool
HasMemoryZones returns a boolean if a field has been set.
func (*NumaConfig) HasPciSegments ¶
func (o *NumaConfig) HasPciSegments() bool
HasPciSegments returns a boolean if a field has been set.
func (*NumaConfig) HasSgxEpcSections ¶
func (o *NumaConfig) HasSgxEpcSections() bool
HasSgxEpcSections returns a boolean if a field has been set.
func (NumaConfig) MarshalJSON ¶
func (o NumaConfig) MarshalJSON() ([]byte, error)
func (*NumaConfig) SetCpus ¶
func (o *NumaConfig) SetCpus(v []int32)
SetCpus gets a reference to the given []int32 and assigns it to the Cpus field.
func (*NumaConfig) SetDistances ¶
func (o *NumaConfig) SetDistances(v []NumaDistance)
SetDistances gets a reference to the given []NumaDistance and assigns it to the Distances field.
func (*NumaConfig) SetGuestNumaId ¶
func (o *NumaConfig) SetGuestNumaId(v int32)
SetGuestNumaId sets field value
func (*NumaConfig) SetMemoryZones ¶
func (o *NumaConfig) SetMemoryZones(v []string)
SetMemoryZones gets a reference to the given []string and assigns it to the MemoryZones field.
func (*NumaConfig) SetPciSegments ¶
func (o *NumaConfig) SetPciSegments(v []int32)
SetPciSegments gets a reference to the given []int32 and assigns it to the PciSegments field.
func (*NumaConfig) SetSgxEpcSections ¶
func (o *NumaConfig) SetSgxEpcSections(v []string)
SetSgxEpcSections gets a reference to the given []string and assigns it to the SgxEpcSections field.
type NumaDistance ¶
type NumaDistance struct { Destination int32 `json:"destination"` Distance int32 `json:"distance"` }
NumaDistance struct for NumaDistance
func NewNumaDistance ¶
func NewNumaDistance(destination int32, distance int32) *NumaDistance
NewNumaDistance instantiates a new NumaDistance object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewNumaDistanceWithDefaults ¶
func NewNumaDistanceWithDefaults() *NumaDistance
NewNumaDistanceWithDefaults instantiates a new NumaDistance object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*NumaDistance) GetDestination ¶
func (o *NumaDistance) GetDestination() int32
GetDestination returns the Destination field value
func (*NumaDistance) GetDestinationOk ¶
func (o *NumaDistance) GetDestinationOk() (*int32, bool)
GetDestinationOk returns a tuple with the Destination field value and a boolean to check if the value has been set.
func (*NumaDistance) GetDistance ¶
func (o *NumaDistance) GetDistance() int32
GetDistance returns the Distance field value
func (*NumaDistance) GetDistanceOk ¶
func (o *NumaDistance) GetDistanceOk() (*int32, bool)
GetDistanceOk returns a tuple with the Distance field value and a boolean to check if the value has been set.
func (NumaDistance) MarshalJSON ¶
func (o NumaDistance) MarshalJSON() ([]byte, error)
func (*NumaDistance) SetDestination ¶
func (o *NumaDistance) SetDestination(v int32)
SetDestination sets field value
func (*NumaDistance) SetDistance ¶
func (o *NumaDistance) SetDistance(v int32)
SetDistance sets field value
type PayloadConfig ¶
type PayloadConfig struct { Firmware *string `json:"firmware,omitempty"` Kernel *string `json:"kernel,omitempty"` Cmdline *string `json:"cmdline,omitempty"` Initramfs *string `json:"initramfs,omitempty"` }
PayloadConfig Payloads to boot in guest
func NewPayloadConfig ¶
func NewPayloadConfig() *PayloadConfig
NewPayloadConfig instantiates a new PayloadConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPayloadConfigWithDefaults ¶
func NewPayloadConfigWithDefaults() *PayloadConfig
NewPayloadConfigWithDefaults instantiates a new PayloadConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PayloadConfig) GetCmdline ¶
func (o *PayloadConfig) GetCmdline() string
GetCmdline returns the Cmdline field value if set, zero value otherwise.
func (*PayloadConfig) GetCmdlineOk ¶
func (o *PayloadConfig) GetCmdlineOk() (*string, bool)
GetCmdlineOk returns a tuple with the Cmdline field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PayloadConfig) GetFirmware ¶
func (o *PayloadConfig) GetFirmware() string
GetFirmware returns the Firmware field value if set, zero value otherwise.
func (*PayloadConfig) GetFirmwareOk ¶
func (o *PayloadConfig) GetFirmwareOk() (*string, bool)
GetFirmwareOk returns a tuple with the Firmware field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PayloadConfig) GetInitramfs ¶
func (o *PayloadConfig) GetInitramfs() string
GetInitramfs returns the Initramfs field value if set, zero value otherwise.
func (*PayloadConfig) GetInitramfsOk ¶
func (o *PayloadConfig) GetInitramfsOk() (*string, bool)
GetInitramfsOk returns a tuple with the Initramfs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PayloadConfig) GetKernel ¶
func (o *PayloadConfig) GetKernel() string
GetKernel returns the Kernel field value if set, zero value otherwise.
func (*PayloadConfig) GetKernelOk ¶
func (o *PayloadConfig) GetKernelOk() (*string, bool)
GetKernelOk returns a tuple with the Kernel field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PayloadConfig) HasCmdline ¶
func (o *PayloadConfig) HasCmdline() bool
HasCmdline returns a boolean if a field has been set.
func (*PayloadConfig) HasFirmware ¶
func (o *PayloadConfig) HasFirmware() bool
HasFirmware returns a boolean if a field has been set.
func (*PayloadConfig) HasInitramfs ¶
func (o *PayloadConfig) HasInitramfs() bool
HasInitramfs returns a boolean if a field has been set.
func (*PayloadConfig) HasKernel ¶
func (o *PayloadConfig) HasKernel() bool
HasKernel returns a boolean if a field has been set.
func (PayloadConfig) MarshalJSON ¶
func (o PayloadConfig) MarshalJSON() ([]byte, error)
func (*PayloadConfig) SetCmdline ¶
func (o *PayloadConfig) SetCmdline(v string)
SetCmdline gets a reference to the given string and assigns it to the Cmdline field.
func (*PayloadConfig) SetFirmware ¶
func (o *PayloadConfig) SetFirmware(v string)
SetFirmware gets a reference to the given string and assigns it to the Firmware field.
func (*PayloadConfig) SetInitramfs ¶
func (o *PayloadConfig) SetInitramfs(v string)
SetInitramfs gets a reference to the given string and assigns it to the Initramfs field.
func (*PayloadConfig) SetKernel ¶
func (o *PayloadConfig) SetKernel(v string)
SetKernel gets a reference to the given string and assigns it to the Kernel field.
type PciDeviceInfo ¶
PciDeviceInfo Information about a PCI device
func NewPciDeviceInfo ¶
func NewPciDeviceInfo(id string, bdf string) *PciDeviceInfo
NewPciDeviceInfo instantiates a new PciDeviceInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPciDeviceInfoWithDefaults ¶
func NewPciDeviceInfoWithDefaults() *PciDeviceInfo
NewPciDeviceInfoWithDefaults instantiates a new PciDeviceInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PciDeviceInfo) GetBdf ¶
func (o *PciDeviceInfo) GetBdf() string
GetBdf returns the Bdf field value
func (*PciDeviceInfo) GetBdfOk ¶
func (o *PciDeviceInfo) GetBdfOk() (*string, bool)
GetBdfOk returns a tuple with the Bdf field value and a boolean to check if the value has been set.
func (*PciDeviceInfo) GetId ¶
func (o *PciDeviceInfo) GetId() string
GetId returns the Id field value
func (*PciDeviceInfo) GetIdOk ¶
func (o *PciDeviceInfo) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (PciDeviceInfo) MarshalJSON ¶
func (o PciDeviceInfo) MarshalJSON() ([]byte, error)
type PlatformConfig ¶
type PlatformConfig struct { NumPciSegments *int32 `json:"num_pci_segments,omitempty"` IommuSegments *[]int32 `json:"iommu_segments,omitempty"` SerialNumber *string `json:"serial_number,omitempty"` Uuid *string `json:"uuid,omitempty"` OemStrings *[]string `json:"oem_strings,omitempty"` Tdx *bool `json:"tdx,omitempty"` }
PlatformConfig struct for PlatformConfig
func NewPlatformConfig ¶
func NewPlatformConfig() *PlatformConfig
NewPlatformConfig instantiates a new PlatformConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPlatformConfigWithDefaults ¶
func NewPlatformConfigWithDefaults() *PlatformConfig
NewPlatformConfigWithDefaults instantiates a new PlatformConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PlatformConfig) GetIommuSegments ¶
func (o *PlatformConfig) GetIommuSegments() []int32
GetIommuSegments returns the IommuSegments field value if set, zero value otherwise.
func (*PlatformConfig) GetIommuSegmentsOk ¶
func (o *PlatformConfig) GetIommuSegmentsOk() (*[]int32, bool)
GetIommuSegmentsOk returns a tuple with the IommuSegments field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlatformConfig) GetNumPciSegments ¶
func (o *PlatformConfig) GetNumPciSegments() int32
GetNumPciSegments returns the NumPciSegments field value if set, zero value otherwise.
func (*PlatformConfig) GetNumPciSegmentsOk ¶
func (o *PlatformConfig) GetNumPciSegmentsOk() (*int32, bool)
GetNumPciSegmentsOk returns a tuple with the NumPciSegments field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlatformConfig) GetOemStrings ¶
func (o *PlatformConfig) GetOemStrings() []string
GetOemStrings returns the OemStrings field value if set, zero value otherwise.
func (*PlatformConfig) GetOemStringsOk ¶
func (o *PlatformConfig) GetOemStringsOk() (*[]string, bool)
GetOemStringsOk returns a tuple with the OemStrings field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlatformConfig) GetSerialNumber ¶
func (o *PlatformConfig) GetSerialNumber() string
GetSerialNumber returns the SerialNumber field value if set, zero value otherwise.
func (*PlatformConfig) GetSerialNumberOk ¶
func (o *PlatformConfig) GetSerialNumberOk() (*string, bool)
GetSerialNumberOk returns a tuple with the SerialNumber field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlatformConfig) GetTdx ¶
func (o *PlatformConfig) GetTdx() bool
GetTdx returns the Tdx field value if set, zero value otherwise.
func (*PlatformConfig) GetTdxOk ¶
func (o *PlatformConfig) GetTdxOk() (*bool, bool)
GetTdxOk returns a tuple with the Tdx field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlatformConfig) GetUuid ¶
func (o *PlatformConfig) GetUuid() string
GetUuid returns the Uuid field value if set, zero value otherwise.
func (*PlatformConfig) GetUuidOk ¶
func (o *PlatformConfig) GetUuidOk() (*string, bool)
GetUuidOk returns a tuple with the Uuid field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PlatformConfig) HasIommuSegments ¶
func (o *PlatformConfig) HasIommuSegments() bool
HasIommuSegments returns a boolean if a field has been set.
func (*PlatformConfig) HasNumPciSegments ¶
func (o *PlatformConfig) HasNumPciSegments() bool
HasNumPciSegments returns a boolean if a field has been set.
func (*PlatformConfig) HasOemStrings ¶
func (o *PlatformConfig) HasOemStrings() bool
HasOemStrings returns a boolean if a field has been set.
func (*PlatformConfig) HasSerialNumber ¶
func (o *PlatformConfig) HasSerialNumber() bool
HasSerialNumber returns a boolean if a field has been set.
func (*PlatformConfig) HasTdx ¶
func (o *PlatformConfig) HasTdx() bool
HasTdx returns a boolean if a field has been set.
func (*PlatformConfig) HasUuid ¶
func (o *PlatformConfig) HasUuid() bool
HasUuid returns a boolean if a field has been set.
func (PlatformConfig) MarshalJSON ¶
func (o PlatformConfig) MarshalJSON() ([]byte, error)
func (*PlatformConfig) SetIommuSegments ¶
func (o *PlatformConfig) SetIommuSegments(v []int32)
SetIommuSegments gets a reference to the given []int32 and assigns it to the IommuSegments field.
func (*PlatformConfig) SetNumPciSegments ¶
func (o *PlatformConfig) SetNumPciSegments(v int32)
SetNumPciSegments gets a reference to the given int32 and assigns it to the NumPciSegments field.
func (*PlatformConfig) SetOemStrings ¶
func (o *PlatformConfig) SetOemStrings(v []string)
SetOemStrings gets a reference to the given []string and assigns it to the OemStrings field.
func (*PlatformConfig) SetSerialNumber ¶
func (o *PlatformConfig) SetSerialNumber(v string)
SetSerialNumber gets a reference to the given string and assigns it to the SerialNumber field.
func (*PlatformConfig) SetTdx ¶
func (o *PlatformConfig) SetTdx(v bool)
SetTdx gets a reference to the given bool and assigns it to the Tdx field.
func (*PlatformConfig) SetUuid ¶
func (o *PlatformConfig) SetUuid(v string)
SetUuid gets a reference to the given string and assigns it to the Uuid field.
type PmemConfig ¶
type PmemConfig struct { File string `json:"file"` Size *int64 `json:"size,omitempty"` Iommu *bool `json:"iommu,omitempty"` DiscardWrites *bool `json:"discard_writes,omitempty"` PciSegment *int32 `json:"pci_segment,omitempty"` Id *string `json:"id,omitempty"` }
PmemConfig struct for PmemConfig
func NewPmemConfig ¶
func NewPmemConfig(file string) *PmemConfig
NewPmemConfig instantiates a new PmemConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPmemConfigWithDefaults ¶
func NewPmemConfigWithDefaults() *PmemConfig
NewPmemConfigWithDefaults instantiates a new PmemConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PmemConfig) GetDiscardWrites ¶
func (o *PmemConfig) GetDiscardWrites() bool
GetDiscardWrites returns the DiscardWrites field value if set, zero value otherwise.
func (*PmemConfig) GetDiscardWritesOk ¶
func (o *PmemConfig) GetDiscardWritesOk() (*bool, bool)
GetDiscardWritesOk returns a tuple with the DiscardWrites field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PmemConfig) GetFile ¶
func (o *PmemConfig) GetFile() string
GetFile returns the File field value
func (*PmemConfig) GetFileOk ¶
func (o *PmemConfig) GetFileOk() (*string, bool)
GetFileOk returns a tuple with the File field value and a boolean to check if the value has been set.
func (*PmemConfig) GetId ¶
func (o *PmemConfig) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*PmemConfig) GetIdOk ¶
func (o *PmemConfig) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PmemConfig) GetIommu ¶
func (o *PmemConfig) GetIommu() bool
GetIommu returns the Iommu field value if set, zero value otherwise.
func (*PmemConfig) GetIommuOk ¶
func (o *PmemConfig) GetIommuOk() (*bool, bool)
GetIommuOk returns a tuple with the Iommu field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PmemConfig) GetPciSegment ¶
func (o *PmemConfig) GetPciSegment() int32
GetPciSegment returns the PciSegment field value if set, zero value otherwise.
func (*PmemConfig) GetPciSegmentOk ¶
func (o *PmemConfig) GetPciSegmentOk() (*int32, bool)
GetPciSegmentOk returns a tuple with the PciSegment field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PmemConfig) GetSize ¶
func (o *PmemConfig) GetSize() int64
GetSize returns the Size field value if set, zero value otherwise.
func (*PmemConfig) GetSizeOk ¶
func (o *PmemConfig) GetSizeOk() (*int64, bool)
GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PmemConfig) HasDiscardWrites ¶
func (o *PmemConfig) HasDiscardWrites() bool
HasDiscardWrites returns a boolean if a field has been set.
func (*PmemConfig) HasId ¶
func (o *PmemConfig) HasId() bool
HasId returns a boolean if a field has been set.
func (*PmemConfig) HasIommu ¶
func (o *PmemConfig) HasIommu() bool
HasIommu returns a boolean if a field has been set.
func (*PmemConfig) HasPciSegment ¶
func (o *PmemConfig) HasPciSegment() bool
HasPciSegment returns a boolean if a field has been set.
func (*PmemConfig) HasSize ¶
func (o *PmemConfig) HasSize() bool
HasSize returns a boolean if a field has been set.
func (PmemConfig) MarshalJSON ¶
func (o PmemConfig) MarshalJSON() ([]byte, error)
func (*PmemConfig) SetDiscardWrites ¶
func (o *PmemConfig) SetDiscardWrites(v bool)
SetDiscardWrites gets a reference to the given bool and assigns it to the DiscardWrites field.
func (*PmemConfig) SetId ¶
func (o *PmemConfig) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*PmemConfig) SetIommu ¶
func (o *PmemConfig) SetIommu(v bool)
SetIommu gets a reference to the given bool and assigns it to the Iommu field.
func (*PmemConfig) SetPciSegment ¶
func (o *PmemConfig) SetPciSegment(v int32)
SetPciSegment gets a reference to the given int32 and assigns it to the PciSegment field.
func (*PmemConfig) SetSize ¶
func (o *PmemConfig) SetSize(v int64)
SetSize gets a reference to the given int64 and assigns it to the Size field.
type RateLimiterConfig ¶
type RateLimiterConfig struct { Bandwidth *TokenBucket `json:"bandwidth,omitempty"` Ops *TokenBucket `json:"ops,omitempty"` }
RateLimiterConfig Defines an IO rate limiter with independent bytes/s and ops/s limits. Limits are defined by configuring each of the _bandwidth_ and _ops_ token buckets.
func NewRateLimiterConfig ¶
func NewRateLimiterConfig() *RateLimiterConfig
NewRateLimiterConfig instantiates a new RateLimiterConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRateLimiterConfigWithDefaults ¶
func NewRateLimiterConfigWithDefaults() *RateLimiterConfig
NewRateLimiterConfigWithDefaults instantiates a new RateLimiterConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*RateLimiterConfig) GetBandwidth ¶
func (o *RateLimiterConfig) GetBandwidth() TokenBucket
GetBandwidth returns the Bandwidth field value if set, zero value otherwise.
func (*RateLimiterConfig) GetBandwidthOk ¶
func (o *RateLimiterConfig) GetBandwidthOk() (*TokenBucket, bool)
GetBandwidthOk returns a tuple with the Bandwidth field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RateLimiterConfig) GetOps ¶
func (o *RateLimiterConfig) GetOps() TokenBucket
GetOps returns the Ops field value if set, zero value otherwise.
func (*RateLimiterConfig) GetOpsOk ¶
func (o *RateLimiterConfig) GetOpsOk() (*TokenBucket, bool)
GetOpsOk returns a tuple with the Ops field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RateLimiterConfig) HasBandwidth ¶
func (o *RateLimiterConfig) HasBandwidth() bool
HasBandwidth returns a boolean if a field has been set.
func (*RateLimiterConfig) HasOps ¶
func (o *RateLimiterConfig) HasOps() bool
HasOps returns a boolean if a field has been set.
func (RateLimiterConfig) MarshalJSON ¶
func (o RateLimiterConfig) MarshalJSON() ([]byte, error)
func (*RateLimiterConfig) SetBandwidth ¶
func (o *RateLimiterConfig) SetBandwidth(v TokenBucket)
SetBandwidth gets a reference to the given TokenBucket and assigns it to the Bandwidth field.
func (*RateLimiterConfig) SetOps ¶
func (o *RateLimiterConfig) SetOps(v TokenBucket)
SetOps gets a reference to the given TokenBucket and assigns it to the Ops field.
type ReceiveMigrationData ¶
type ReceiveMigrationData struct {
ReceiverUrl string `json:"receiver_url"`
}
ReceiveMigrationData struct for ReceiveMigrationData
func NewReceiveMigrationData ¶
func NewReceiveMigrationData(receiverUrl string) *ReceiveMigrationData
NewReceiveMigrationData instantiates a new ReceiveMigrationData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewReceiveMigrationDataWithDefaults ¶
func NewReceiveMigrationDataWithDefaults() *ReceiveMigrationData
NewReceiveMigrationDataWithDefaults instantiates a new ReceiveMigrationData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ReceiveMigrationData) GetReceiverUrl ¶
func (o *ReceiveMigrationData) GetReceiverUrl() string
GetReceiverUrl returns the ReceiverUrl field value
func (*ReceiveMigrationData) GetReceiverUrlOk ¶
func (o *ReceiveMigrationData) GetReceiverUrlOk() (*string, bool)
GetReceiverUrlOk returns a tuple with the ReceiverUrl field value and a boolean to check if the value has been set.
func (ReceiveMigrationData) MarshalJSON ¶
func (o ReceiveMigrationData) MarshalJSON() ([]byte, error)
func (*ReceiveMigrationData) SetReceiverUrl ¶
func (o *ReceiveMigrationData) SetReceiverUrl(v string)
SetReceiverUrl sets field value
type RestoreConfig ¶
type RestoreConfig struct { SourceUrl string `json:"source_url"` Prefault *bool `json:"prefault,omitempty"` }
RestoreConfig struct for RestoreConfig
func NewRestoreConfig ¶
func NewRestoreConfig(sourceUrl string) *RestoreConfig
NewRestoreConfig instantiates a new RestoreConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRestoreConfigWithDefaults ¶
func NewRestoreConfigWithDefaults() *RestoreConfig
NewRestoreConfigWithDefaults instantiates a new RestoreConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*RestoreConfig) GetPrefault ¶
func (o *RestoreConfig) GetPrefault() bool
GetPrefault returns the Prefault field value if set, zero value otherwise.
func (*RestoreConfig) GetPrefaultOk ¶
func (o *RestoreConfig) GetPrefaultOk() (*bool, bool)
GetPrefaultOk returns a tuple with the Prefault field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RestoreConfig) GetSourceUrl ¶
func (o *RestoreConfig) GetSourceUrl() string
GetSourceUrl returns the SourceUrl field value
func (*RestoreConfig) GetSourceUrlOk ¶
func (o *RestoreConfig) GetSourceUrlOk() (*string, bool)
GetSourceUrlOk returns a tuple with the SourceUrl field value and a boolean to check if the value has been set.
func (*RestoreConfig) HasPrefault ¶
func (o *RestoreConfig) HasPrefault() bool
HasPrefault returns a boolean if a field has been set.
func (RestoreConfig) MarshalJSON ¶
func (o RestoreConfig) MarshalJSON() ([]byte, error)
func (*RestoreConfig) SetPrefault ¶
func (o *RestoreConfig) SetPrefault(v bool)
SetPrefault gets a reference to the given bool and assigns it to the Prefault field.
func (*RestoreConfig) SetSourceUrl ¶
func (o *RestoreConfig) SetSourceUrl(v string)
SetSourceUrl sets field value
type RngConfig ¶
RngConfig struct for RngConfig
func NewRngConfig ¶
NewRngConfig instantiates a new RngConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRngConfigWithDefaults ¶
func NewRngConfigWithDefaults() *RngConfig
NewRngConfigWithDefaults instantiates a new RngConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*RngConfig) GetIommuOk ¶
GetIommuOk returns a tuple with the Iommu field value if set, nil otherwise and a boolean to check if the value has been set.
func (*RngConfig) GetSrcOk ¶
GetSrcOk returns a tuple with the Src field value and a boolean to check if the value has been set.
func (RngConfig) MarshalJSON ¶
type SendMigrationData ¶
type SendMigrationData struct { DestinationUrl string `json:"destination_url"` Local *bool `json:"local,omitempty"` }
SendMigrationData struct for SendMigrationData
func NewSendMigrationData ¶
func NewSendMigrationData(destinationUrl string) *SendMigrationData
NewSendMigrationData instantiates a new SendMigrationData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSendMigrationDataWithDefaults ¶
func NewSendMigrationDataWithDefaults() *SendMigrationData
NewSendMigrationDataWithDefaults instantiates a new SendMigrationData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SendMigrationData) GetDestinationUrl ¶
func (o *SendMigrationData) GetDestinationUrl() string
GetDestinationUrl returns the DestinationUrl field value
func (*SendMigrationData) GetDestinationUrlOk ¶
func (o *SendMigrationData) GetDestinationUrlOk() (*string, bool)
GetDestinationUrlOk returns a tuple with the DestinationUrl field value and a boolean to check if the value has been set.
func (*SendMigrationData) GetLocal ¶
func (o *SendMigrationData) GetLocal() bool
GetLocal returns the Local field value if set, zero value otherwise.
func (*SendMigrationData) GetLocalOk ¶
func (o *SendMigrationData) GetLocalOk() (*bool, bool)
GetLocalOk returns a tuple with the Local field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SendMigrationData) HasLocal ¶
func (o *SendMigrationData) HasLocal() bool
HasLocal returns a boolean if a field has been set.
func (SendMigrationData) MarshalJSON ¶
func (o SendMigrationData) MarshalJSON() ([]byte, error)
func (*SendMigrationData) SetDestinationUrl ¶
func (o *SendMigrationData) SetDestinationUrl(v string)
SetDestinationUrl sets field value
func (*SendMigrationData) SetLocal ¶
func (o *SendMigrationData) SetLocal(v bool)
SetLocal gets a reference to the given bool and assigns it to the Local field.
type ServerConfiguration ¶
type ServerConfiguration struct { URL string Description string Variables map[string]ServerVariable }
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
type SgxEpcConfig ¶
type SgxEpcConfig struct { Id string `json:"id"` Size int64 `json:"size"` Prefault *bool `json:"prefault,omitempty"` }
SgxEpcConfig struct for SgxEpcConfig
func NewSgxEpcConfig ¶
func NewSgxEpcConfig(id string, size int64) *SgxEpcConfig
NewSgxEpcConfig instantiates a new SgxEpcConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSgxEpcConfigWithDefaults ¶
func NewSgxEpcConfigWithDefaults() *SgxEpcConfig
NewSgxEpcConfigWithDefaults instantiates a new SgxEpcConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SgxEpcConfig) GetIdOk ¶
func (o *SgxEpcConfig) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*SgxEpcConfig) GetPrefault ¶
func (o *SgxEpcConfig) GetPrefault() bool
GetPrefault returns the Prefault field value if set, zero value otherwise.
func (*SgxEpcConfig) GetPrefaultOk ¶
func (o *SgxEpcConfig) GetPrefaultOk() (*bool, bool)
GetPrefaultOk returns a tuple with the Prefault field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SgxEpcConfig) GetSize ¶
func (o *SgxEpcConfig) GetSize() int64
GetSize returns the Size field value
func (*SgxEpcConfig) GetSizeOk ¶
func (o *SgxEpcConfig) GetSizeOk() (*int64, bool)
GetSizeOk returns a tuple with the Size field value and a boolean to check if the value has been set.
func (*SgxEpcConfig) HasPrefault ¶
func (o *SgxEpcConfig) HasPrefault() bool
HasPrefault returns a boolean if a field has been set.
func (SgxEpcConfig) MarshalJSON ¶
func (o SgxEpcConfig) MarshalJSON() ([]byte, error)
func (*SgxEpcConfig) SetPrefault ¶
func (o *SgxEpcConfig) SetPrefault(v bool)
SetPrefault gets a reference to the given bool and assigns it to the Prefault field.
type TokenBucket ¶
type TokenBucket struct { // The total number of tokens this bucket can hold. Size int64 `json:"size"` // The initial size of a token bucket. OneTimeBurst *int64 `json:"one_time_burst,omitempty"` // The amount of milliseconds it takes for the bucket to refill. RefillTime int64 `json:"refill_time"` }
TokenBucket Defines a token bucket with a maximum capacity (_size_), an initial burst size (_one_time_burst_) and an interval for refilling purposes (_refill_time_). The refill-rate is derived from _size_ and _refill_time_, and it is the constant rate at which the tokens replenish. The refill process only starts happening after the initial burst budget is consumed. Consumption from the token bucket is unbounded in speed which allows for bursts bound in size by the amount of tokens available. Once the token bucket is empty, consumption speed is bound by the refill-rate.
func NewTokenBucket ¶
func NewTokenBucket(size int64, refillTime int64) *TokenBucket
NewTokenBucket instantiates a new TokenBucket object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTokenBucketWithDefaults ¶
func NewTokenBucketWithDefaults() *TokenBucket
NewTokenBucketWithDefaults instantiates a new TokenBucket object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TokenBucket) GetOneTimeBurst ¶
func (o *TokenBucket) GetOneTimeBurst() int64
GetOneTimeBurst returns the OneTimeBurst field value if set, zero value otherwise.
func (*TokenBucket) GetOneTimeBurstOk ¶
func (o *TokenBucket) GetOneTimeBurstOk() (*int64, bool)
GetOneTimeBurstOk returns a tuple with the OneTimeBurst field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TokenBucket) GetRefillTime ¶
func (o *TokenBucket) GetRefillTime() int64
GetRefillTime returns the RefillTime field value
func (*TokenBucket) GetRefillTimeOk ¶
func (o *TokenBucket) GetRefillTimeOk() (*int64, bool)
GetRefillTimeOk returns a tuple with the RefillTime field value and a boolean to check if the value has been set.
func (*TokenBucket) GetSize ¶
func (o *TokenBucket) GetSize() int64
GetSize returns the Size field value
func (*TokenBucket) GetSizeOk ¶
func (o *TokenBucket) GetSizeOk() (*int64, bool)
GetSizeOk returns a tuple with the Size field value and a boolean to check if the value has been set.
func (*TokenBucket) HasOneTimeBurst ¶
func (o *TokenBucket) HasOneTimeBurst() bool
HasOneTimeBurst returns a boolean if a field has been set.
func (TokenBucket) MarshalJSON ¶
func (o TokenBucket) MarshalJSON() ([]byte, error)
func (*TokenBucket) SetOneTimeBurst ¶
func (o *TokenBucket) SetOneTimeBurst(v int64)
SetOneTimeBurst gets a reference to the given int64 and assigns it to the OneTimeBurst field.
func (*TokenBucket) SetRefillTime ¶
func (o *TokenBucket) SetRefillTime(v int64)
SetRefillTime sets field value
type TpmConfig ¶
type TpmConfig struct {
Socket string `json:"socket"`
}
TpmConfig struct for TpmConfig
func NewTpmConfig ¶
NewTpmConfig instantiates a new TpmConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTpmConfigWithDefaults ¶
func NewTpmConfigWithDefaults() *TpmConfig
NewTpmConfigWithDefaults instantiates a new TpmConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TpmConfig) GetSocketOk ¶
GetSocketOk returns a tuple with the Socket field value and a boolean to check if the value has been set.
func (TpmConfig) MarshalJSON ¶
type VdpaConfig ¶
type VdpaConfig struct { Path string `json:"path"` NumQueues int32 `json:"num_queues"` Iommu *bool `json:"iommu,omitempty"` PciSegment *int32 `json:"pci_segment,omitempty"` Id *string `json:"id,omitempty"` }
VdpaConfig struct for VdpaConfig
func NewVdpaConfig ¶
func NewVdpaConfig(path string, numQueues int32) *VdpaConfig
NewVdpaConfig instantiates a new VdpaConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewVdpaConfigWithDefaults ¶
func NewVdpaConfigWithDefaults() *VdpaConfig
NewVdpaConfigWithDefaults instantiates a new VdpaConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*VdpaConfig) GetId ¶
func (o *VdpaConfig) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*VdpaConfig) GetIdOk ¶
func (o *VdpaConfig) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VdpaConfig) GetIommu ¶
func (o *VdpaConfig) GetIommu() bool
GetIommu returns the Iommu field value if set, zero value otherwise.
func (*VdpaConfig) GetIommuOk ¶
func (o *VdpaConfig) GetIommuOk() (*bool, bool)
GetIommuOk returns a tuple with the Iommu field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VdpaConfig) GetNumQueues ¶
func (o *VdpaConfig) GetNumQueues() int32
GetNumQueues returns the NumQueues field value
func (*VdpaConfig) GetNumQueuesOk ¶
func (o *VdpaConfig) GetNumQueuesOk() (*int32, bool)
GetNumQueuesOk returns a tuple with the NumQueues field value and a boolean to check if the value has been set.
func (*VdpaConfig) GetPath ¶
func (o *VdpaConfig) GetPath() string
GetPath returns the Path field value
func (*VdpaConfig) GetPathOk ¶
func (o *VdpaConfig) GetPathOk() (*string, bool)
GetPathOk returns a tuple with the Path field value and a boolean to check if the value has been set.
func (*VdpaConfig) GetPciSegment ¶
func (o *VdpaConfig) GetPciSegment() int32
GetPciSegment returns the PciSegment field value if set, zero value otherwise.
func (*VdpaConfig) GetPciSegmentOk ¶
func (o *VdpaConfig) GetPciSegmentOk() (*int32, bool)
GetPciSegmentOk returns a tuple with the PciSegment field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VdpaConfig) HasId ¶
func (o *VdpaConfig) HasId() bool
HasId returns a boolean if a field has been set.
func (*VdpaConfig) HasIommu ¶
func (o *VdpaConfig) HasIommu() bool
HasIommu returns a boolean if a field has been set.
func (*VdpaConfig) HasPciSegment ¶
func (o *VdpaConfig) HasPciSegment() bool
HasPciSegment returns a boolean if a field has been set.
func (VdpaConfig) MarshalJSON ¶
func (o VdpaConfig) MarshalJSON() ([]byte, error)
func (*VdpaConfig) SetId ¶
func (o *VdpaConfig) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*VdpaConfig) SetIommu ¶
func (o *VdpaConfig) SetIommu(v bool)
SetIommu gets a reference to the given bool and assigns it to the Iommu field.
func (*VdpaConfig) SetNumQueues ¶
func (o *VdpaConfig) SetNumQueues(v int32)
SetNumQueues sets field value
func (*VdpaConfig) SetPciSegment ¶
func (o *VdpaConfig) SetPciSegment(v int32)
SetPciSegment gets a reference to the given int32 and assigns it to the PciSegment field.
type VmConfig ¶
type VmConfig struct { Cpus *CpusConfig `json:"cpus,omitempty"` Memory *MemoryConfig `json:"memory,omitempty"` Payload PayloadConfig `json:"payload"` Disks *[]DiskConfig `json:"disks,omitempty"` Net *[]NetConfig `json:"net,omitempty"` Rng *RngConfig `json:"rng,omitempty"` Balloon *BalloonConfig `json:"balloon,omitempty"` Fs *[]FsConfig `json:"fs,omitempty"` Pmem *[]PmemConfig `json:"pmem,omitempty"` Serial *ConsoleConfig `json:"serial,omitempty"` Console *ConsoleConfig `json:"console,omitempty"` Devices *[]DeviceConfig `json:"devices,omitempty"` Vdpa *[]VdpaConfig `json:"vdpa,omitempty"` Vsock *VsockConfig `json:"vsock,omitempty"` SgxEpc *[]SgxEpcConfig `json:"sgx_epc,omitempty"` Numa *[]NumaConfig `json:"numa,omitempty"` Iommu *bool `json:"iommu,omitempty"` Watchdog *bool `json:"watchdog,omitempty"` Platform *PlatformConfig `json:"platform,omitempty"` Tpm *TpmConfig `json:"tpm,omitempty"` }
VmConfig Virtual machine configuration
func NewVmConfig ¶
func NewVmConfig(payload PayloadConfig) *VmConfig
NewVmConfig instantiates a new VmConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewVmConfigWithDefaults ¶
func NewVmConfigWithDefaults() *VmConfig
NewVmConfigWithDefaults instantiates a new VmConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*VmConfig) GetBalloon ¶
func (o *VmConfig) GetBalloon() BalloonConfig
GetBalloon returns the Balloon field value if set, zero value otherwise.
func (*VmConfig) GetBalloonOk ¶
func (o *VmConfig) GetBalloonOk() (*BalloonConfig, bool)
GetBalloonOk returns a tuple with the Balloon field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VmConfig) GetConsole ¶
func (o *VmConfig) GetConsole() ConsoleConfig
GetConsole returns the Console field value if set, zero value otherwise.
func (*VmConfig) GetConsoleOk ¶
func (o *VmConfig) GetConsoleOk() (*ConsoleConfig, bool)
GetConsoleOk returns a tuple with the Console field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VmConfig) GetCpus ¶
func (o *VmConfig) GetCpus() CpusConfig
GetCpus returns the Cpus field value if set, zero value otherwise.
func (*VmConfig) GetCpusOk ¶
func (o *VmConfig) GetCpusOk() (*CpusConfig, bool)
GetCpusOk returns a tuple with the Cpus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VmConfig) GetDevices ¶
func (o *VmConfig) GetDevices() []DeviceConfig
GetDevices returns the Devices field value if set, zero value otherwise.
func (*VmConfig) GetDevicesOk ¶
func (o *VmConfig) GetDevicesOk() (*[]DeviceConfig, bool)
GetDevicesOk returns a tuple with the Devices field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VmConfig) GetDisks ¶
func (o *VmConfig) GetDisks() []DiskConfig
GetDisks returns the Disks field value if set, zero value otherwise.
func (*VmConfig) GetDisksOk ¶
func (o *VmConfig) GetDisksOk() (*[]DiskConfig, bool)
GetDisksOk returns a tuple with the Disks field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VmConfig) GetFsOk ¶
GetFsOk returns a tuple with the Fs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VmConfig) GetIommuOk ¶
GetIommuOk returns a tuple with the Iommu field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VmConfig) GetMemory ¶
func (o *VmConfig) GetMemory() MemoryConfig
GetMemory returns the Memory field value if set, zero value otherwise.
func (*VmConfig) GetMemoryOk ¶
func (o *VmConfig) GetMemoryOk() (*MemoryConfig, bool)
GetMemoryOk returns a tuple with the Memory field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VmConfig) GetNetOk ¶
GetNetOk returns a tuple with the Net field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VmConfig) GetNuma ¶
func (o *VmConfig) GetNuma() []NumaConfig
GetNuma returns the Numa field value if set, zero value otherwise.
func (*VmConfig) GetNumaOk ¶
func (o *VmConfig) GetNumaOk() (*[]NumaConfig, bool)
GetNumaOk returns a tuple with the Numa field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VmConfig) GetPayload ¶
func (o *VmConfig) GetPayload() PayloadConfig
GetPayload returns the Payload field value
func (*VmConfig) GetPayloadOk ¶
func (o *VmConfig) GetPayloadOk() (*PayloadConfig, bool)
GetPayloadOk returns a tuple with the Payload field value and a boolean to check if the value has been set.
func (*VmConfig) GetPlatform ¶
func (o *VmConfig) GetPlatform() PlatformConfig
GetPlatform returns the Platform field value if set, zero value otherwise.
func (*VmConfig) GetPlatformOk ¶
func (o *VmConfig) GetPlatformOk() (*PlatformConfig, bool)
GetPlatformOk returns a tuple with the Platform field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VmConfig) GetPmem ¶
func (o *VmConfig) GetPmem() []PmemConfig
GetPmem returns the Pmem field value if set, zero value otherwise.
func (*VmConfig) GetPmemOk ¶
func (o *VmConfig) GetPmemOk() (*[]PmemConfig, bool)
GetPmemOk returns a tuple with the Pmem field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VmConfig) GetRngOk ¶
GetRngOk returns a tuple with the Rng field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VmConfig) GetSerial ¶
func (o *VmConfig) GetSerial() ConsoleConfig
GetSerial returns the Serial field value if set, zero value otherwise.
func (*VmConfig) GetSerialOk ¶
func (o *VmConfig) GetSerialOk() (*ConsoleConfig, bool)
GetSerialOk returns a tuple with the Serial field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VmConfig) GetSgxEpc ¶
func (o *VmConfig) GetSgxEpc() []SgxEpcConfig
GetSgxEpc returns the SgxEpc field value if set, zero value otherwise.
func (*VmConfig) GetSgxEpcOk ¶
func (o *VmConfig) GetSgxEpcOk() (*[]SgxEpcConfig, bool)
GetSgxEpcOk returns a tuple with the SgxEpc field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VmConfig) GetTpmOk ¶
GetTpmOk returns a tuple with the Tpm field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VmConfig) GetVdpa ¶
func (o *VmConfig) GetVdpa() []VdpaConfig
GetVdpa returns the Vdpa field value if set, zero value otherwise.
func (*VmConfig) GetVdpaOk ¶
func (o *VmConfig) GetVdpaOk() (*[]VdpaConfig, bool)
GetVdpaOk returns a tuple with the Vdpa field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VmConfig) GetVsock ¶
func (o *VmConfig) GetVsock() VsockConfig
GetVsock returns the Vsock field value if set, zero value otherwise.
func (*VmConfig) GetVsockOk ¶
func (o *VmConfig) GetVsockOk() (*VsockConfig, bool)
GetVsockOk returns a tuple with the Vsock field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VmConfig) GetWatchdog ¶
GetWatchdog returns the Watchdog field value if set, zero value otherwise.
func (*VmConfig) GetWatchdogOk ¶
GetWatchdogOk returns a tuple with the Watchdog field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VmConfig) HasBalloon ¶
HasBalloon returns a boolean if a field has been set.
func (*VmConfig) HasConsole ¶
HasConsole returns a boolean if a field has been set.
func (*VmConfig) HasDevices ¶
HasDevices returns a boolean if a field has been set.
func (*VmConfig) HasPlatform ¶
HasPlatform returns a boolean if a field has been set.
func (*VmConfig) HasWatchdog ¶
HasWatchdog returns a boolean if a field has been set.
func (VmConfig) MarshalJSON ¶
func (*VmConfig) SetBalloon ¶
func (o *VmConfig) SetBalloon(v BalloonConfig)
SetBalloon gets a reference to the given BalloonConfig and assigns it to the Balloon field.
func (*VmConfig) SetConsole ¶
func (o *VmConfig) SetConsole(v ConsoleConfig)
SetConsole gets a reference to the given ConsoleConfig and assigns it to the Console field.
func (*VmConfig) SetCpus ¶
func (o *VmConfig) SetCpus(v CpusConfig)
SetCpus gets a reference to the given CpusConfig and assigns it to the Cpus field.
func (*VmConfig) SetDevices ¶
func (o *VmConfig) SetDevices(v []DeviceConfig)
SetDevices gets a reference to the given []DeviceConfig and assigns it to the Devices field.
func (*VmConfig) SetDisks ¶
func (o *VmConfig) SetDisks(v []DiskConfig)
SetDisks gets a reference to the given []DiskConfig and assigns it to the Disks field.
func (*VmConfig) SetFs ¶
SetFs gets a reference to the given []FsConfig and assigns it to the Fs field.
func (*VmConfig) SetIommu ¶
SetIommu gets a reference to the given bool and assigns it to the Iommu field.
func (*VmConfig) SetMemory ¶
func (o *VmConfig) SetMemory(v MemoryConfig)
SetMemory gets a reference to the given MemoryConfig and assigns it to the Memory field.
func (*VmConfig) SetNet ¶
SetNet gets a reference to the given []NetConfig and assigns it to the Net field.
func (*VmConfig) SetNuma ¶
func (o *VmConfig) SetNuma(v []NumaConfig)
SetNuma gets a reference to the given []NumaConfig and assigns it to the Numa field.
func (*VmConfig) SetPayload ¶
func (o *VmConfig) SetPayload(v PayloadConfig)
SetPayload sets field value
func (*VmConfig) SetPlatform ¶
func (o *VmConfig) SetPlatform(v PlatformConfig)
SetPlatform gets a reference to the given PlatformConfig and assigns it to the Platform field.
func (*VmConfig) SetPmem ¶
func (o *VmConfig) SetPmem(v []PmemConfig)
SetPmem gets a reference to the given []PmemConfig and assigns it to the Pmem field.
func (*VmConfig) SetRng ¶
SetRng gets a reference to the given RngConfig and assigns it to the Rng field.
func (*VmConfig) SetSerial ¶
func (o *VmConfig) SetSerial(v ConsoleConfig)
SetSerial gets a reference to the given ConsoleConfig and assigns it to the Serial field.
func (*VmConfig) SetSgxEpc ¶
func (o *VmConfig) SetSgxEpc(v []SgxEpcConfig)
SetSgxEpc gets a reference to the given []SgxEpcConfig and assigns it to the SgxEpc field.
func (*VmConfig) SetTpm ¶
SetTpm gets a reference to the given TpmConfig and assigns it to the Tpm field.
func (*VmConfig) SetVdpa ¶
func (o *VmConfig) SetVdpa(v []VdpaConfig)
SetVdpa gets a reference to the given []VdpaConfig and assigns it to the Vdpa field.
func (*VmConfig) SetVsock ¶
func (o *VmConfig) SetVsock(v VsockConfig)
SetVsock gets a reference to the given VsockConfig and assigns it to the Vsock field.
func (*VmConfig) SetWatchdog ¶
SetWatchdog gets a reference to the given bool and assigns it to the Watchdog field.
type VmCoredumpData ¶
type VmCoredumpData struct {
DestinationUrl *string `json:"destination_url,omitempty"`
}
VmCoredumpData struct for VmCoredumpData
func NewVmCoredumpData ¶
func NewVmCoredumpData() *VmCoredumpData
NewVmCoredumpData instantiates a new VmCoredumpData object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewVmCoredumpDataWithDefaults ¶
func NewVmCoredumpDataWithDefaults() *VmCoredumpData
NewVmCoredumpDataWithDefaults instantiates a new VmCoredumpData object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*VmCoredumpData) GetDestinationUrl ¶
func (o *VmCoredumpData) GetDestinationUrl() string
GetDestinationUrl returns the DestinationUrl field value if set, zero value otherwise.
func (*VmCoredumpData) GetDestinationUrlOk ¶
func (o *VmCoredumpData) GetDestinationUrlOk() (*string, bool)
GetDestinationUrlOk returns a tuple with the DestinationUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VmCoredumpData) HasDestinationUrl ¶
func (o *VmCoredumpData) HasDestinationUrl() bool
HasDestinationUrl returns a boolean if a field has been set.
func (VmCoredumpData) MarshalJSON ¶
func (o VmCoredumpData) MarshalJSON() ([]byte, error)
func (*VmCoredumpData) SetDestinationUrl ¶
func (o *VmCoredumpData) SetDestinationUrl(v string)
SetDestinationUrl gets a reference to the given string and assigns it to the DestinationUrl field.
type VmInfo ¶
type VmInfo struct { Config VmConfig `json:"config"` State string `json:"state"` MemoryActualSize *int64 `json:"memory_actual_size,omitempty"` DeviceTree *map[string]DeviceNode `json:"device_tree,omitempty"` }
VmInfo Virtual Machine information
func NewVmInfo ¶
NewVmInfo instantiates a new VmInfo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewVmInfoWithDefaults ¶
func NewVmInfoWithDefaults() *VmInfo
NewVmInfoWithDefaults instantiates a new VmInfo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*VmInfo) GetConfigOk ¶
GetConfigOk returns a tuple with the Config field value and a boolean to check if the value has been set.
func (*VmInfo) GetDeviceTree ¶
func (o *VmInfo) GetDeviceTree() map[string]DeviceNode
GetDeviceTree returns the DeviceTree field value if set, zero value otherwise.
func (*VmInfo) GetDeviceTreeOk ¶
func (o *VmInfo) GetDeviceTreeOk() (*map[string]DeviceNode, bool)
GetDeviceTreeOk returns a tuple with the DeviceTree field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VmInfo) GetMemoryActualSize ¶
GetMemoryActualSize returns the MemoryActualSize field value if set, zero value otherwise.
func (*VmInfo) GetMemoryActualSizeOk ¶
GetMemoryActualSizeOk returns a tuple with the MemoryActualSize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VmInfo) GetStateOk ¶
GetStateOk returns a tuple with the State field value and a boolean to check if the value has been set.
func (*VmInfo) HasDeviceTree ¶
HasDeviceTree returns a boolean if a field has been set.
func (*VmInfo) HasMemoryActualSize ¶
HasMemoryActualSize returns a boolean if a field has been set.
func (VmInfo) MarshalJSON ¶
func (*VmInfo) SetDeviceTree ¶
func (o *VmInfo) SetDeviceTree(v map[string]DeviceNode)
SetDeviceTree gets a reference to the given map[string]DeviceNode and assigns it to the DeviceTree field.
func (*VmInfo) SetMemoryActualSize ¶
SetMemoryActualSize gets a reference to the given int64 and assigns it to the MemoryActualSize field.
type VmRemoveDevice ¶
type VmRemoveDevice struct {
Id *string `json:"id,omitempty"`
}
VmRemoveDevice struct for VmRemoveDevice
func NewVmRemoveDevice ¶
func NewVmRemoveDevice() *VmRemoveDevice
NewVmRemoveDevice instantiates a new VmRemoveDevice object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewVmRemoveDeviceWithDefaults ¶
func NewVmRemoveDeviceWithDefaults() *VmRemoveDevice
NewVmRemoveDeviceWithDefaults instantiates a new VmRemoveDevice object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*VmRemoveDevice) GetId ¶
func (o *VmRemoveDevice) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*VmRemoveDevice) GetIdOk ¶
func (o *VmRemoveDevice) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VmRemoveDevice) HasId ¶
func (o *VmRemoveDevice) HasId() bool
HasId returns a boolean if a field has been set.
func (VmRemoveDevice) MarshalJSON ¶
func (o VmRemoveDevice) MarshalJSON() ([]byte, error)
func (*VmRemoveDevice) SetId ¶
func (o *VmRemoveDevice) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
type VmResize ¶
type VmResize struct { DesiredVcpus *int32 `json:"desired_vcpus,omitempty"` // desired memory ram in bytes DesiredRam *int64 `json:"desired_ram,omitempty"` // desired balloon size in bytes DesiredBalloon *int64 `json:"desired_balloon,omitempty"` }
VmResize struct for VmResize
func NewVmResize ¶
func NewVmResize() *VmResize
NewVmResize instantiates a new VmResize object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewVmResizeWithDefaults ¶
func NewVmResizeWithDefaults() *VmResize
NewVmResizeWithDefaults instantiates a new VmResize object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*VmResize) GetDesiredBalloon ¶
GetDesiredBalloon returns the DesiredBalloon field value if set, zero value otherwise.
func (*VmResize) GetDesiredBalloonOk ¶
GetDesiredBalloonOk returns a tuple with the DesiredBalloon field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VmResize) GetDesiredRam ¶
GetDesiredRam returns the DesiredRam field value if set, zero value otherwise.
func (*VmResize) GetDesiredRamOk ¶
GetDesiredRamOk returns a tuple with the DesiredRam field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VmResize) GetDesiredVcpus ¶
GetDesiredVcpus returns the DesiredVcpus field value if set, zero value otherwise.
func (*VmResize) GetDesiredVcpusOk ¶
GetDesiredVcpusOk returns a tuple with the DesiredVcpus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VmResize) HasDesiredBalloon ¶
HasDesiredBalloon returns a boolean if a field has been set.
func (*VmResize) HasDesiredRam ¶
HasDesiredRam returns a boolean if a field has been set.
func (*VmResize) HasDesiredVcpus ¶
HasDesiredVcpus returns a boolean if a field has been set.
func (VmResize) MarshalJSON ¶
func (*VmResize) SetDesiredBalloon ¶
SetDesiredBalloon gets a reference to the given int64 and assigns it to the DesiredBalloon field.
func (*VmResize) SetDesiredRam ¶
SetDesiredRam gets a reference to the given int64 and assigns it to the DesiredRam field.
func (*VmResize) SetDesiredVcpus ¶
SetDesiredVcpus gets a reference to the given int32 and assigns it to the DesiredVcpus field.
type VmResizeZone ¶
type VmResizeZone struct { Id *string `json:"id,omitempty"` // desired memory zone size in bytes DesiredRam *int64 `json:"desired_ram,omitempty"` }
VmResizeZone struct for VmResizeZone
func NewVmResizeZone ¶
func NewVmResizeZone() *VmResizeZone
NewVmResizeZone instantiates a new VmResizeZone object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewVmResizeZoneWithDefaults ¶
func NewVmResizeZoneWithDefaults() *VmResizeZone
NewVmResizeZoneWithDefaults instantiates a new VmResizeZone object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*VmResizeZone) GetDesiredRam ¶
func (o *VmResizeZone) GetDesiredRam() int64
GetDesiredRam returns the DesiredRam field value if set, zero value otherwise.
func (*VmResizeZone) GetDesiredRamOk ¶
func (o *VmResizeZone) GetDesiredRamOk() (*int64, bool)
GetDesiredRamOk returns a tuple with the DesiredRam field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VmResizeZone) GetId ¶
func (o *VmResizeZone) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*VmResizeZone) GetIdOk ¶
func (o *VmResizeZone) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VmResizeZone) HasDesiredRam ¶
func (o *VmResizeZone) HasDesiredRam() bool
HasDesiredRam returns a boolean if a field has been set.
func (*VmResizeZone) HasId ¶
func (o *VmResizeZone) HasId() bool
HasId returns a boolean if a field has been set.
func (VmResizeZone) MarshalJSON ¶
func (o VmResizeZone) MarshalJSON() ([]byte, error)
func (*VmResizeZone) SetDesiredRam ¶
func (o *VmResizeZone) SetDesiredRam(v int64)
SetDesiredRam gets a reference to the given int64 and assigns it to the DesiredRam field.
func (*VmResizeZone) SetId ¶
func (o *VmResizeZone) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
type VmSnapshotConfig ¶
type VmSnapshotConfig struct {
DestinationUrl *string `json:"destination_url,omitempty"`
}
VmSnapshotConfig struct for VmSnapshotConfig
func NewVmSnapshotConfig ¶
func NewVmSnapshotConfig() *VmSnapshotConfig
NewVmSnapshotConfig instantiates a new VmSnapshotConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewVmSnapshotConfigWithDefaults ¶
func NewVmSnapshotConfigWithDefaults() *VmSnapshotConfig
NewVmSnapshotConfigWithDefaults instantiates a new VmSnapshotConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*VmSnapshotConfig) GetDestinationUrl ¶
func (o *VmSnapshotConfig) GetDestinationUrl() string
GetDestinationUrl returns the DestinationUrl field value if set, zero value otherwise.
func (*VmSnapshotConfig) GetDestinationUrlOk ¶
func (o *VmSnapshotConfig) GetDestinationUrlOk() (*string, bool)
GetDestinationUrlOk returns a tuple with the DestinationUrl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VmSnapshotConfig) HasDestinationUrl ¶
func (o *VmSnapshotConfig) HasDestinationUrl() bool
HasDestinationUrl returns a boolean if a field has been set.
func (VmSnapshotConfig) MarshalJSON ¶
func (o VmSnapshotConfig) MarshalJSON() ([]byte, error)
func (*VmSnapshotConfig) SetDestinationUrl ¶
func (o *VmSnapshotConfig) SetDestinationUrl(v string)
SetDestinationUrl gets a reference to the given string and assigns it to the DestinationUrl field.
type VmmPingResponse ¶
type VmmPingResponse struct { BuildVersion *string `json:"build_version,omitempty"` Version string `json:"version"` Pid *int64 `json:"pid,omitempty"` Features *[]string `json:"features,omitempty"` }
VmmPingResponse Virtual Machine Monitor information
func NewVmmPingResponse ¶
func NewVmmPingResponse(version string) *VmmPingResponse
NewVmmPingResponse instantiates a new VmmPingResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewVmmPingResponseWithDefaults ¶
func NewVmmPingResponseWithDefaults() *VmmPingResponse
NewVmmPingResponseWithDefaults instantiates a new VmmPingResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*VmmPingResponse) GetBuildVersion ¶
func (o *VmmPingResponse) GetBuildVersion() string
GetBuildVersion returns the BuildVersion field value if set, zero value otherwise.
func (*VmmPingResponse) GetBuildVersionOk ¶
func (o *VmmPingResponse) GetBuildVersionOk() (*string, bool)
GetBuildVersionOk returns a tuple with the BuildVersion field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VmmPingResponse) GetFeatures ¶
func (o *VmmPingResponse) GetFeatures() []string
GetFeatures returns the Features field value if set, zero value otherwise.
func (*VmmPingResponse) GetFeaturesOk ¶
func (o *VmmPingResponse) GetFeaturesOk() (*[]string, bool)
GetFeaturesOk returns a tuple with the Features field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VmmPingResponse) GetPid ¶
func (o *VmmPingResponse) GetPid() int64
GetPid returns the Pid field value if set, zero value otherwise.
func (*VmmPingResponse) GetPidOk ¶
func (o *VmmPingResponse) GetPidOk() (*int64, bool)
GetPidOk returns a tuple with the Pid field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VmmPingResponse) GetVersion ¶
func (o *VmmPingResponse) GetVersion() string
GetVersion returns the Version field value
func (*VmmPingResponse) GetVersionOk ¶
func (o *VmmPingResponse) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.
func (*VmmPingResponse) HasBuildVersion ¶
func (o *VmmPingResponse) HasBuildVersion() bool
HasBuildVersion returns a boolean if a field has been set.
func (*VmmPingResponse) HasFeatures ¶
func (o *VmmPingResponse) HasFeatures() bool
HasFeatures returns a boolean if a field has been set.
func (*VmmPingResponse) HasPid ¶
func (o *VmmPingResponse) HasPid() bool
HasPid returns a boolean if a field has been set.
func (VmmPingResponse) MarshalJSON ¶
func (o VmmPingResponse) MarshalJSON() ([]byte, error)
func (*VmmPingResponse) SetBuildVersion ¶
func (o *VmmPingResponse) SetBuildVersion(v string)
SetBuildVersion gets a reference to the given string and assigns it to the BuildVersion field.
func (*VmmPingResponse) SetFeatures ¶
func (o *VmmPingResponse) SetFeatures(v []string)
SetFeatures gets a reference to the given []string and assigns it to the Features field.
func (*VmmPingResponse) SetPid ¶
func (o *VmmPingResponse) SetPid(v int64)
SetPid gets a reference to the given int64 and assigns it to the Pid field.
func (*VmmPingResponse) SetVersion ¶
func (o *VmmPingResponse) SetVersion(v string)
SetVersion sets field value
type VsockConfig ¶
type VsockConfig struct { // Guest Vsock CID Cid int64 `json:"cid"` // Path to UNIX domain socket, used to proxy vsock connections. Socket string `json:"socket"` Iommu *bool `json:"iommu,omitempty"` PciSegment *int32 `json:"pci_segment,omitempty"` Id *string `json:"id,omitempty"` }
VsockConfig struct for VsockConfig
func NewVsockConfig ¶
func NewVsockConfig(cid int64, socket string) *VsockConfig
NewVsockConfig instantiates a new VsockConfig object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewVsockConfigWithDefaults ¶
func NewVsockConfigWithDefaults() *VsockConfig
NewVsockConfigWithDefaults instantiates a new VsockConfig object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*VsockConfig) GetCid ¶
func (o *VsockConfig) GetCid() int64
GetCid returns the Cid field value
func (*VsockConfig) GetCidOk ¶
func (o *VsockConfig) GetCidOk() (*int64, bool)
GetCidOk returns a tuple with the Cid field value and a boolean to check if the value has been set.
func (*VsockConfig) GetId ¶
func (o *VsockConfig) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*VsockConfig) GetIdOk ¶
func (o *VsockConfig) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VsockConfig) GetIommu ¶
func (o *VsockConfig) GetIommu() bool
GetIommu returns the Iommu field value if set, zero value otherwise.
func (*VsockConfig) GetIommuOk ¶
func (o *VsockConfig) GetIommuOk() (*bool, bool)
GetIommuOk returns a tuple with the Iommu field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VsockConfig) GetPciSegment ¶
func (o *VsockConfig) GetPciSegment() int32
GetPciSegment returns the PciSegment field value if set, zero value otherwise.
func (*VsockConfig) GetPciSegmentOk ¶
func (o *VsockConfig) GetPciSegmentOk() (*int32, bool)
GetPciSegmentOk returns a tuple with the PciSegment field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VsockConfig) GetSocket ¶
func (o *VsockConfig) GetSocket() string
GetSocket returns the Socket field value
func (*VsockConfig) GetSocketOk ¶
func (o *VsockConfig) GetSocketOk() (*string, bool)
GetSocketOk returns a tuple with the Socket field value and a boolean to check if the value has been set.
func (*VsockConfig) HasId ¶
func (o *VsockConfig) HasId() bool
HasId returns a boolean if a field has been set.
func (*VsockConfig) HasIommu ¶
func (o *VsockConfig) HasIommu() bool
HasIommu returns a boolean if a field has been set.
func (*VsockConfig) HasPciSegment ¶
func (o *VsockConfig) HasPciSegment() bool
HasPciSegment returns a boolean if a field has been set.
func (VsockConfig) MarshalJSON ¶
func (o VsockConfig) MarshalJSON() ([]byte, error)
func (*VsockConfig) SetId ¶
func (o *VsockConfig) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*VsockConfig) SetIommu ¶
func (o *VsockConfig) SetIommu(v bool)
SetIommu gets a reference to the given bool and assigns it to the Iommu field.
func (*VsockConfig) SetPciSegment ¶
func (o *VsockConfig) SetPciSegment(v int32)
SetPciSegment gets a reference to the given int32 and assigns it to the PciSegment field.
func (*VsockConfig) SetSocket ¶
func (o *VsockConfig) SetSocket(v string)
SetSocket sets field value
Source Files ¶
- api_default.go
- client.go
- configuration.go
- model_balloon_config.go
- model_console_config.go
- model_cpu_affinity.go
- model_cpu_features.go
- model_cpu_topology.go
- model_cpus_config.go
- model_device_config.go
- model_device_node.go
- model_disk_config.go
- model_fs_config.go
- model_memory_config.go
- model_memory_zone_config.go
- model_net_config.go
- model_numa_config.go
- model_numa_distance.go
- model_payload_config.go
- model_pci_device_info.go
- model_platform_config.go
- model_pmem_config.go
- model_rate_limiter_config.go
- model_receive_migration_data.go
- model_restore_config.go
- model_rng_config.go
- model_send_migration_data.go
- model_sgx_epc_config.go
- model_token_bucket.go
- model_tpm_config.go
- model_vdpa_config.go
- model_vm_config.go
- model_vm_coredump_data.go
- model_vm_info.go
- model_vm_remove_device.go
- model_vm_resize.go
- model_vm_resize_zone.go
- model_vm_snapshot_config.go
- model_vmm_ping_response.go
- model_vsock_config.go
- response.go
- utils.go