Documentation
¶
Overview ¶
Package libvirt is a pure Go implementation of the libvirt RPC protocol. For more information on the protocol, see https://libvirt.org/internals/l.html
Index ¶
- Constants
- Variables
- func IsNotFound(err error) bool
- type AuthListRet
- type AuthPolkitRet
- type AuthSaslInitRet
- type AuthSaslStartArgs
- type AuthSaslStartRet
- type AuthSaslStepArgs
- type AuthSaslStepRet
- type AuthType
- type BlkioParameterType
- type BlockLimit
- type CPUCompareResult
- type ConnectBaselineCPUArgs
- type ConnectBaselineCPUFlags
- type ConnectBaselineCPURet
- type ConnectBaselineHypervisorCPUArgs
- type ConnectBaselineHypervisorCPURet
- type ConnectCloseReason
- type ConnectCompareCPUArgs
- type ConnectCompareCPUFlags
- type ConnectCompareCPURet
- type ConnectCompareHypervisorCPUArgs
- type ConnectCompareHypervisorCPURet
- type ConnectCredentialType
- type ConnectDomainEventAgentLifecycleReason
- type ConnectDomainEventAgentLifecycleState
- type ConnectDomainEventBlockJobStatus
- type ConnectDomainEventCallbackDeregisterAnyArgs
- type ConnectDomainEventCallbackRegisterAnyArgs
- type ConnectDomainEventCallbackRegisterAnyRet
- type ConnectDomainEventDeregisterAnyArgs
- type ConnectDomainEventDeregisterRet
- type ConnectDomainEventDiskChangeReason
- type ConnectDomainEventRegisterAnyArgs
- type ConnectDomainEventRegisterRet
- type ConnectDomainXMLFromNativeArgs
- type ConnectDomainXMLFromNativeRet
- type ConnectDomainXMLToNativeArgs
- type ConnectDomainXMLToNativeRet
- type ConnectEventConnectionClosedMsg
- type ConnectFindStoragePoolSourcesArgs
- type ConnectFindStoragePoolSourcesRet
- type ConnectFlags
- type ConnectGetAllDomainStatsArgs
- type ConnectGetAllDomainStatsFlags
- type ConnectGetAllDomainStatsRet
- type ConnectGetCPUModelNamesArgs
- type ConnectGetCPUModelNamesRet
- type ConnectGetCapabilitiesRet
- type ConnectGetDomainCapabilitiesArgs
- type ConnectGetDomainCapabilitiesRet
- type ConnectGetHostnameRet
- type ConnectGetLibVersionRet
- type ConnectGetMaxVcpusArgs
- type ConnectGetMaxVcpusRet
- type ConnectGetSysinfoArgs
- type ConnectGetSysinfoRet
- type ConnectGetTypeRet
- type ConnectGetUriRet
- type ConnectGetVersionRet
- type ConnectIsSecureRet
- type ConnectListAllDomainsArgs
- type ConnectListAllDomainsFlags
- type ConnectListAllDomainsRet
- type ConnectListAllInterfacesArgs
- type ConnectListAllInterfacesFlags
- type ConnectListAllInterfacesRet
- type ConnectListAllNetworksArgs
- type ConnectListAllNetworksFlags
- type ConnectListAllNetworksRet
- type ConnectListAllNodeDeviceFlags
- type ConnectListAllNodeDevicesArgs
- type ConnectListAllNodeDevicesRet
- type ConnectListAllNwfilterBindingsArgs
- type ConnectListAllNwfilterBindingsRet
- type ConnectListAllNwfiltersArgs
- type ConnectListAllNwfiltersRet
- type ConnectListAllSecretsArgs
- type ConnectListAllSecretsFlags
- type ConnectListAllSecretsRet
- type ConnectListAllStoragePoolsArgs
- type ConnectListAllStoragePoolsFlags
- type ConnectListAllStoragePoolsRet
- type ConnectListDefinedDomainsArgs
- type ConnectListDefinedDomainsRet
- type ConnectListDefinedInterfacesArgs
- type ConnectListDefinedInterfacesRet
- type ConnectListDefinedNetworksArgs
- type ConnectListDefinedNetworksRet
- type ConnectListDefinedStoragePoolsArgs
- type ConnectListDefinedStoragePoolsRet
- type ConnectListDomainsArgs
- type ConnectListDomainsRet
- type ConnectListInterfacesArgs
- type ConnectListInterfacesRet
- type ConnectListNetworksArgs
- type ConnectListNetworksRet
- type ConnectListNwfiltersArgs
- type ConnectListNwfiltersRet
- type ConnectListSecretsArgs
- type ConnectListSecretsRet
- type ConnectListStoragePoolsArgs
- type ConnectListStoragePoolsRet
- type ConnectNetworkEventDeregisterAnyArgs
- type ConnectNetworkEventRegisterAnyArgs
- type ConnectNetworkEventRegisterAnyRet
- type ConnectNodeDeviceEventDeregisterAnyArgs
- type ConnectNodeDeviceEventRegisterAnyArgs
- type ConnectNodeDeviceEventRegisterAnyRet
- type ConnectNumOfDefinedDomainsRet
- type ConnectNumOfDefinedInterfacesRet
- type ConnectNumOfDefinedNetworksRet
- type ConnectNumOfDefinedStoragePoolsRet
- type ConnectNumOfDomainsRet
- type ConnectNumOfInterfacesRet
- type ConnectNumOfNetworksRet
- type ConnectNumOfNwfiltersRet
- type ConnectNumOfSecretsRet
- type ConnectNumOfStoragePoolsRet
- type ConnectOpenArgs
- type ConnectSecretEventDeregisterAnyArgs
- type ConnectSecretEventRegisterAnyArgs
- type ConnectSecretEventRegisterAnyRet
- type ConnectStoragePoolEventDeregisterAnyArgs
- type ConnectStoragePoolEventRegisterAnyArgs
- type ConnectStoragePoolEventRegisterAnyRet
- type ConnectSupportsFeatureArgs
- type ConnectSupportsFeatureRet
- type Domain
- type DomainAbortJobArgs
- type DomainAddIothreadArgs
- type DomainAttachDeviceArgs
- type DomainAttachDeviceFlagsArgs
- type DomainBlockCommitArgs
- type DomainBlockCommitFlags
- type DomainBlockCopyArgs
- type DomainBlockCopyFlags
- type DomainBlockJobAbortArgs
- type DomainBlockJobAbortFlags
- type DomainBlockJobInfoFlags
- type DomainBlockJobSetSpeedArgs
- type DomainBlockJobSetSpeedFlags
- type DomainBlockJobType
- type DomainBlockPeekArgs
- type DomainBlockPeekRet
- type DomainBlockPullArgs
- type DomainBlockPullFlags
- type DomainBlockRebaseArgs
- type DomainBlockRebaseFlags
- type DomainBlockResizeArgs
- type DomainBlockResizeFlags
- type DomainBlockStatsArgs
- type DomainBlockStatsFlagsArgs
- type DomainBlockStatsFlagsRet
- type DomainBlockStatsRet
- type DomainBlockedReason
- type DomainChannelFlags
- type DomainConsoleFlags
- type DomainControlErrorReason
- type DomainControlState
- type DomainCoreDumpArgs
- type DomainCoreDumpFlags
- type DomainCoreDumpFormat
- type DomainCoreDumpWithFormatArgs
- type DomainCrashedReason
- type DomainCreateArgs
- type DomainCreateFlags
- type DomainCreateWithFilesArgs
- type DomainCreateWithFilesRet
- type DomainCreateWithFlagsArgs
- type DomainCreateWithFlagsRet
- type DomainCreateXMLArgs
- type DomainCreateXMLRet
- type DomainCreateXMLWithFilesArgs
- type DomainCreateXMLWithFilesRet
- type DomainDefineFlags
- type DomainDefineXMLArgs
- type DomainDefineXMLFlagsArgs
- type DomainDefineXMLFlagsRet
- type DomainDefineXMLRet
- type DomainDelIothreadArgs
- type DomainDestroyArgs
- type DomainDestroyFlagsArgs
- type DomainDestroyFlagsValues
- type DomainDetachDeviceAliasArgs
- type DomainDetachDeviceArgs
- type DomainDetachDeviceFlagsArgs
- type DomainDeviceModifyFlags
- type DomainDiskError
- type DomainDiskErrorCode
- type DomainEvent
- type DomainEventBalloonChangeMsg
- type DomainEventBlockJob2Msg
- type DomainEventBlockJobMsg
- type DomainEventBlockThresholdMsg
- type DomainEventCallbackAgentLifecycleMsg
- type DomainEventCallbackBalloonChangeMsg
- type DomainEventCallbackBlockJobMsg
- type DomainEventCallbackControlErrorMsg
- type DomainEventCallbackDeviceAddedMsg
- type DomainEventCallbackDeviceRemovalFailedMsg
- type DomainEventCallbackDeviceRemovedMsg
- type DomainEventCallbackDiskChangeMsg
- type DomainEventCallbackGraphicsMsg
- type DomainEventCallbackIOErrorMsg
- type DomainEventCallbackIOErrorReasonMsg
- type DomainEventCallbackJobCompletedMsg
- type DomainEventCallbackLifecycleMsg
- type DomainEventCallbackMetadataChangeMsg
- type DomainEventCallbackMigrationIterationMsg
- type DomainEventCallbackPmsuspendDiskMsg
- type DomainEventCallbackPmsuspendMsg
- type DomainEventCallbackPmwakeupMsg
- type DomainEventCallbackRebootMsg
- type DomainEventCallbackRtcChangeMsg
- type DomainEventCallbackTrayChangeMsg
- type DomainEventCallbackTunableMsg
- type DomainEventCallbackWatchdogMsg
- type DomainEventControlErrorMsg
- type DomainEventCrashedDetailType
- type DomainEventDefinedDetailType
- type DomainEventDeviceRemovedMsg
- type DomainEventDiskChangeMsg
- type DomainEventGraphicsAddress
- type DomainEventGraphicsAddressType
- type DomainEventGraphicsIdentity
- type DomainEventGraphicsMsg
- type DomainEventGraphicsPhase
- type DomainEventID
- type DomainEventIOErrorAction
- type DomainEventIOErrorMsg
- type DomainEventIOErrorReasonMsg
- type DomainEventLifecycleMsg
- type DomainEventPMSuspendedDetailType
- type DomainEventPmsuspendDiskMsg
- type DomainEventPmsuspendMsg
- type DomainEventPmwakeupMsg
- type DomainEventRebootMsg
- type DomainEventResumedDetailType
- type DomainEventRtcChangeMsg
- type DomainEventShutdownDetailType
- type DomainEventStartedDetailType
- type DomainEventStoppedDetailType
- type DomainEventSuspendedDetailType
- type DomainEventTrayChangeMsg
- type DomainEventTrayChangeReason
- type DomainEventType
- type DomainEventUndefinedDetailType
- type DomainEventWatchdogAction
- type DomainEventWatchdogMsg
- type DomainFsfreezeArgs
- type DomainFsfreezeRet
- type DomainFsinfo
- type DomainFsthawArgs
- type DomainFsthawRet
- type DomainFstrimArgs
- type DomainGetAutostartArgs
- type DomainGetAutostartRet
- type DomainGetBlkioParametersArgs
- type DomainGetBlkioParametersRet
- type DomainGetBlockIOTuneArgs
- type DomainGetBlockIOTuneRet
- type DomainGetBlockInfoArgs
- type DomainGetBlockInfoRet
- type DomainGetBlockJobInfoArgs
- type DomainGetBlockJobInfoRet
- type DomainGetCPUStatsArgs
- type DomainGetCPUStatsRet
- type DomainGetControlInfoArgs
- type DomainGetControlInfoRet
- type DomainGetDiskErrorsArgs
- type DomainGetDiskErrorsRet
- type DomainGetEmulatorPinInfoArgs
- type DomainGetEmulatorPinInfoRet
- type DomainGetFsinfoArgs
- type DomainGetFsinfoRet
- type DomainGetGuestVcpusArgs
- type DomainGetGuestVcpusRet
- type DomainGetHostnameArgs
- type DomainGetHostnameRet
- type DomainGetInfoArgs
- type DomainGetInfoRet
- type DomainGetInterfaceParametersArgs
- type DomainGetInterfaceParametersRet
- type DomainGetIothreadInfoArgs
- type DomainGetIothreadInfoRet
- type DomainGetJobInfoArgs
- type DomainGetJobInfoRet
- type DomainGetJobStatsArgs
- type DomainGetJobStatsFlags
- type DomainGetJobStatsRet
- type DomainGetLaunchSecurityInfoArgs
- type DomainGetLaunchSecurityInfoRet
- type DomainGetMaxMemoryArgs
- type DomainGetMaxMemoryRet
- type DomainGetMaxVcpusArgs
- type DomainGetMaxVcpusRet
- type DomainGetMemoryParametersArgs
- type DomainGetMemoryParametersRet
- type DomainGetMetadataArgs
- type DomainGetMetadataRet
- type DomainGetNumaParametersArgs
- type DomainGetNumaParametersRet
- type DomainGetOsTypeArgs
- type DomainGetOsTypeRet
- type DomainGetPerfEventsArgs
- type DomainGetPerfEventsRet
- type DomainGetSchedulerParametersArgs
- type DomainGetSchedulerParametersFlagsArgs
- type DomainGetSchedulerParametersFlagsRet
- type DomainGetSchedulerParametersRet
- type DomainGetSchedulerTypeArgs
- type DomainGetSchedulerTypeRet
- type DomainGetSecurityLabelArgs
- type DomainGetSecurityLabelListArgs
- type DomainGetSecurityLabelListRet
- type DomainGetSecurityLabelRet
- type DomainGetStateArgs
- type DomainGetStateRet
- type DomainGetTimeArgs
- type DomainGetTimeRet
- type DomainGetVcpuPinInfoArgs
- type DomainGetVcpuPinInfoRet
- type DomainGetVcpusArgs
- type DomainGetVcpusFlagsArgs
- type DomainGetVcpusFlagsRet
- type DomainGetVcpusRet
- type DomainGetXMLDescArgs
- type DomainGetXMLDescRet
- type DomainHasCurrentSnapshotArgs
- type DomainHasCurrentSnapshotRet
- type DomainHasManagedSaveImageArgs
- type DomainHasManagedSaveImageRet
- type DomainIPAddr
- type DomainInjectNmiArgs
- type DomainInterface
- type DomainInterfaceAddressesArgs
- type DomainInterfaceAddressesRet
- type DomainInterfaceAddressesSource
- type DomainInterfaceStatsArgs
- type DomainInterfaceStatsRet
- type DomainIothreadInfo
- type DomainIsActiveArgs
- type DomainIsActiveRet
- type DomainIsPersistentArgs
- type DomainIsPersistentRet
- type DomainIsUpdatedArgs
- type DomainIsUpdatedRet
- type DomainJobOperation
- type DomainJobType
- type DomainLifecycle
- type DomainLifecycleAction
- type DomainListAllSnapshotsArgs
- type DomainListAllSnapshotsRet
- type DomainLookupByIDArgs
- type DomainLookupByIDRet
- type DomainLookupByNameArgs
- type DomainLookupByNameRet
- type DomainLookupByUUIDArgs
- type DomainLookupByUUIDRet
- type DomainManagedSaveArgs
- type DomainManagedSaveDefineXMLArgs
- type DomainManagedSaveGetXMLDescArgs
- type DomainManagedSaveGetXMLDescRet
- type DomainManagedSaveRemoveArgs
- type DomainMemoryFlags
- type DomainMemoryModFlags
- type DomainMemoryPeekArgs
- type DomainMemoryPeekRet
- type DomainMemoryStat
- type DomainMemoryStatTags
- type DomainMemoryStatsArgs
- type DomainMemoryStatsRet
- type DomainMetadataType
- type DomainMigrateBegin3Args
- type DomainMigrateBegin3ParamsArgs
- type DomainMigrateBegin3ParamsRet
- type DomainMigrateBegin3Ret
- type DomainMigrateConfirm3Args
- type DomainMigrateConfirm3ParamsArgs
- type DomainMigrateFinish2Args
- type DomainMigrateFinish2Ret
- type DomainMigrateFinish3Args
- type DomainMigrateFinish3ParamsArgs
- type DomainMigrateFinish3ParamsRet
- type DomainMigrateFinish3Ret
- type DomainMigrateFinishArgs
- type DomainMigrateFinishRet
- type DomainMigrateFlags
- type DomainMigrateGetCompressionCacheArgs
- type DomainMigrateGetCompressionCacheRet
- type DomainMigrateGetMaxDowntimeArgs
- type DomainMigrateGetMaxDowntimeRet
- type DomainMigrateGetMaxSpeedArgs
- type DomainMigrateGetMaxSpeedRet
- type DomainMigratePerform3Args
- type DomainMigratePerform3ParamsArgs
- type DomainMigratePerform3ParamsRet
- type DomainMigratePerform3Ret
- type DomainMigratePerformArgs
- type DomainMigratePrepare2Args
- type DomainMigratePrepare2Ret
- type DomainMigratePrepare3Args
- type DomainMigratePrepare3ParamsArgs
- type DomainMigratePrepare3ParamsRet
- type DomainMigratePrepare3Ret
- type DomainMigratePrepareArgs
- type DomainMigratePrepareRet
- type DomainMigratePrepareTunnel3Args
- type DomainMigratePrepareTunnel3ParamsArgs
- type DomainMigratePrepareTunnel3ParamsRet
- type DomainMigratePrepareTunnel3Ret
- type DomainMigratePrepareTunnelArgs
- type DomainMigrateSetCompressionCacheArgs
- type DomainMigrateSetMaxDowntimeArgs
- type DomainMigrateSetMaxSpeedArgs
- type DomainMigrateStartPostCopyArgs
- type DomainModificationImpact
- type DomainNostateReason
- type DomainNumatuneMemMode
- type DomainOpenChannelArgs
- type DomainOpenConsoleArgs
- type DomainOpenGraphicsArgs
- type DomainOpenGraphicsFdArgs
- type DomainOpenGraphicsFlags
- type DomainPMSuspendedDiskReason
- type DomainPMSuspendedReason
- type DomainPausedReason
- type DomainPinEmulatorArgs
- type DomainPinIothreadArgs
- type DomainPinVcpuArgs
- type DomainPinVcpuFlagsArgs
- type DomainPmSuspendForDurationArgs
- type DomainPmWakeupArgs
- type DomainProcessSignal
- type DomainRebootArgs
- type DomainRebootFlagValues
- type DomainRenameArgs
- type DomainRenameRet
- type DomainResetArgs
- type DomainRestoreArgs
- type DomainRestoreFlagsArgs
- type DomainResumeArgs
- type DomainRevertToSnapshotArgs
- type DomainRunningReason
- type DomainSaveArgs
- type DomainSaveFlagsArgs
- type DomainSaveImageDefineXMLArgs
- type DomainSaveImageGetXMLDescArgs
- type DomainSaveImageGetXMLDescRet
- type DomainSaveRestoreFlags
- type DomainScreenshotArgs
- type DomainScreenshotRet
- type DomainSendKeyArgs
- type DomainSendProcessSignalArgs
- type DomainSetAutostartArgs
- type DomainSetBlkioParametersArgs
- type DomainSetBlockIOTuneArgs
- type DomainSetBlockThresholdArgs
- type DomainSetGuestVcpusArgs
- type DomainSetInterfaceParametersArgs
- type DomainSetIothreadParamsArgs
- type DomainSetLifecycleActionArgs
- type DomainSetMaxMemoryArgs
- type DomainSetMemoryArgs
- type DomainSetMemoryFlagsArgs
- type DomainSetMemoryParametersArgs
- type DomainSetMemoryStatsPeriodArgs
- type DomainSetMetadataArgs
- type DomainSetNumaParametersArgs
- type DomainSetPerfEventsArgs
- type DomainSetSchedulerParametersArgs
- type DomainSetSchedulerParametersFlagsArgs
- type DomainSetTimeArgs
- type DomainSetTimeFlags
- type DomainSetUserPasswordArgs
- type DomainSetUserPasswordFlags
- type DomainSetVcpuArgs
- type DomainSetVcpusArgs
- type DomainSetVcpusFlagsArgs
- type DomainShutdownArgs
- type DomainShutdownFlagValues
- type DomainShutdownFlagsArgs
- type DomainShutdownReason
- type DomainShutoffReason
- type DomainSnapshot
- type DomainSnapshotCreateFlags
- type DomainSnapshotCreateXMLArgs
- type DomainSnapshotCreateXMLRet
- type DomainSnapshotCurrentArgs
- type DomainSnapshotCurrentRet
- type DomainSnapshotDeleteArgs
- type DomainSnapshotDeleteFlags
- type DomainSnapshotGetParentArgs
- type DomainSnapshotGetParentRet
- type DomainSnapshotGetXMLDescArgs
- type DomainSnapshotGetXMLDescRet
- type DomainSnapshotHasMetadataArgs
- type DomainSnapshotHasMetadataRet
- type DomainSnapshotIsCurrentArgs
- type DomainSnapshotIsCurrentRet
- type DomainSnapshotListAllChildrenArgs
- type DomainSnapshotListAllChildrenRet
- type DomainSnapshotListChildrenNamesArgs
- type DomainSnapshotListChildrenNamesRet
- type DomainSnapshotListFlags
- type DomainSnapshotListNamesArgs
- type DomainSnapshotListNamesRet
- type DomainSnapshotLookupByNameArgs
- type DomainSnapshotLookupByNameRet
- type DomainSnapshotNumArgs
- type DomainSnapshotNumChildrenArgs
- type DomainSnapshotNumChildrenRet
- type DomainSnapshotNumRet
- type DomainSnapshotRevertFlags
- type DomainState
- type DomainStatsRecord
- type DomainStatsTypes
- type DomainSuspendArgs
- type DomainUndefineArgs
- type DomainUndefineFlagsArgs
- type DomainUndefineFlagsValues
- type DomainUpdateDeviceFlagsArgs
- type DomainVCPUFlags
- type DomainXMLFlags
- type Error
- type EventHandleType
- type IPAddrType
- type Interface
- type InterfaceChangeBeginArgs
- type InterfaceChangeCommitArgs
- type InterfaceChangeRollbackArgs
- type InterfaceCreateArgs
- type InterfaceDefineXMLArgs
- type InterfaceDefineXMLRet
- type InterfaceDestroyArgs
- type InterfaceGetXMLDescArgs
- type InterfaceGetXMLDescRet
- type InterfaceIsActiveArgs
- type InterfaceIsActiveRet
- type InterfaceLookupByMacStringArgs
- type InterfaceLookupByMacStringRet
- type InterfaceLookupByNameArgs
- type InterfaceLookupByNameRet
- type InterfaceUndefineArgs
- type InterfaceXMLFlags
- type KeycodeSet
- type Libvirt
- func (l *Libvirt) AuthList() (rTypes []AuthType, err error)
- func (l *Libvirt) AuthPolkit() (rComplete int32, err error)
- func (l *Libvirt) AuthSaslInit() (rMechlist string, err error)
- func (l *Libvirt) AuthSaslStart(Mech string, Nil int32, Data []int8) (rComplete int32, rNil int32, rData []int8, err error)
- func (l *Libvirt) AuthSaslStep(Nil int32, Data []int8) (rComplete int32, rNil int32, rData []int8, err error)
- func (l *Libvirt) Capabilities() ([]byte, error)
- func (l *Libvirt) Connect() error
- func (l *Libvirt) ConnectBaselineCPU(XMLCPUs []string, Flags ConnectBaselineCPUFlags) (rCPU string, err error)
- func (l *Libvirt) ConnectBaselineHypervisorCPU(Emulator OptString, Arch OptString, Machine OptString, Virttype OptString, ...) (rCPU string, err error)
- func (l *Libvirt) ConnectClose() (err error)
- func (l *Libvirt) ConnectCompareCPU(XML string, Flags ConnectCompareCPUFlags) (rResult int32, err error)
- func (l *Libvirt) ConnectCompareHypervisorCPU(Emulator OptString, Arch OptString, Machine OptString, Virttype OptString, ...) (rResult int32, err error)
- func (l *Libvirt) ConnectDomainEventCallbackDeregisterAny(CallbackID int32) (err error)
- func (l *Libvirt) ConnectDomainEventCallbackRegisterAny(EventID int32, Dom OptDomain) (rCallbackID int32, err error)
- func (l *Libvirt) ConnectDomainEventDeregister() (rCbRegistered int32, err error)
- func (l *Libvirt) ConnectDomainEventDeregisterAny(EventID int32) (err error)
- func (l *Libvirt) ConnectDomainEventRegister() (rCbRegistered int32, err error)
- func (l *Libvirt) ConnectDomainEventRegisterAny(EventID int32) (err error)
- func (l *Libvirt) ConnectDomainXMLFromNative(NativeFormat string, NativeConfig string, Flags uint32) (rDomainXML string, err error)
- func (l *Libvirt) ConnectDomainXMLToNative(NativeFormat string, DomainXML string, Flags uint32) (rNativeConfig string, err error)
- func (l *Libvirt) ConnectEventConnectionClosed() (err error)
- func (l *Libvirt) ConnectFindStoragePoolSources(Type string, SrcSpec OptString, Flags uint32) (rXML string, err error)
- func (l *Libvirt) ConnectGetAllDomainStats(Doms []Domain, Stats uint32, Flags ConnectGetAllDomainStatsFlags) (rRetStats []DomainStatsRecord, err error)
- func (l *Libvirt) ConnectGetCPUModelNames(Arch string, NeedResults int32, Flags uint32) (rModels []string, rRet int32, err error)
- func (l *Libvirt) ConnectGetCapabilities() (rCapabilities string, err error)
- func (l *Libvirt) ConnectGetDomainCapabilities(Emulatorbin OptString, Arch OptString, Machine OptString, Virttype OptString, ...) (rCapabilities string, err error)
- func (l *Libvirt) ConnectGetHostname() (rHostname string, err error)
- func (l *Libvirt) ConnectGetLibVersion() (rLibVer uint64, err error)
- func (l *Libvirt) ConnectGetMaxVcpus(Type OptString) (rMaxVcpus int32, err error)
- func (l *Libvirt) ConnectGetSysinfo(Flags uint32) (rSysinfo string, err error)
- func (l *Libvirt) ConnectGetType() (rType string, err error)
- func (l *Libvirt) ConnectGetUri() (rUri string, err error)
- func (l *Libvirt) ConnectGetVersion() (rHvVer uint64, err error)
- func (l *Libvirt) ConnectIsSecure() (rSecure int32, err error)
- func (l *Libvirt) ConnectListAllDomains(NeedResults int32, Flags ConnectListAllDomainsFlags) (rDomains []Domain, rRet uint32, err error)
- func (l *Libvirt) ConnectListAllInterfaces(NeedResults int32, Flags ConnectListAllInterfacesFlags) (rIfaces []Interface, rRet uint32, err error)
- func (l *Libvirt) ConnectListAllNetworks(NeedResults int32, Flags ConnectListAllNetworksFlags) (rNets []Network, rRet uint32, err error)
- func (l *Libvirt) ConnectListAllNodeDevices(NeedResults int32, Flags uint32) (rDevices []NodeDevice, rRet uint32, err error)
- func (l *Libvirt) ConnectListAllNwfilterBindings(NeedResults int32, Flags uint32) (rBindings []NwfilterBinding, rRet uint32, err error)
- func (l *Libvirt) ConnectListAllNwfilters(NeedResults int32, Flags uint32) (rFilters []Nwfilter, rRet uint32, err error)
- func (l *Libvirt) ConnectListAllSecrets(NeedResults int32, Flags ConnectListAllSecretsFlags) (rSecrets []Secret, rRet uint32, err error)
- func (l *Libvirt) ConnectListAllStoragePools(NeedResults int32, Flags ConnectListAllStoragePoolsFlags) (rPools []StoragePool, rRet uint32, err error)
- func (l *Libvirt) ConnectListDefinedDomains(Maxnames int32) (rNames []string, err error)
- func (l *Libvirt) ConnectListDefinedInterfaces(Maxnames int32) (rNames []string, err error)
- func (l *Libvirt) ConnectListDefinedNetworks(Maxnames int32) (rNames []string, err error)
- func (l *Libvirt) ConnectListDefinedStoragePools(Maxnames int32) (rNames []string, err error)
- func (l *Libvirt) ConnectListDomains(Maxids int32) (rIds []int32, err error)
- func (l *Libvirt) ConnectListInterfaces(Maxnames int32) (rNames []string, err error)
- func (l *Libvirt) ConnectListNetworks(Maxnames int32) (rNames []string, err error)
- func (l *Libvirt) ConnectListNwfilters(Maxnames int32) (rNames []string, err error)
- func (l *Libvirt) ConnectListSecrets(Maxuuids int32) (rUuids []string, err error)
- func (l *Libvirt) ConnectListStoragePools(Maxnames int32) (rNames []string, err error)
- func (l *Libvirt) ConnectNetworkEventDeregisterAny(CallbackID int32) (err error)
- func (l *Libvirt) ConnectNetworkEventRegisterAny(EventID int32, Net OptNetwork) (rCallbackID int32, err error)
- func (l *Libvirt) ConnectNodeDeviceEventDeregisterAny(CallbackID int32) (err error)
- func (l *Libvirt) ConnectNodeDeviceEventRegisterAny(EventID int32, Dev OptNodeDevice) (rCallbackID int32, err error)
- func (l *Libvirt) ConnectNumOfDefinedDomains() (rNum int32, err error)
- func (l *Libvirt) ConnectNumOfDefinedInterfaces() (rNum int32, err error)
- func (l *Libvirt) ConnectNumOfDefinedNetworks() (rNum int32, err error)
- func (l *Libvirt) ConnectNumOfDefinedStoragePools() (rNum int32, err error)
- func (l *Libvirt) ConnectNumOfDomains() (rNum int32, err error)
- func (l *Libvirt) ConnectNumOfInterfaces() (rNum int32, err error)
- func (l *Libvirt) ConnectNumOfNetworks() (rNum int32, err error)
- func (l *Libvirt) ConnectNumOfNwfilters() (rNum int32, err error)
- func (l *Libvirt) ConnectNumOfSecrets() (rNum int32, err error)
- func (l *Libvirt) ConnectNumOfStoragePools() (rNum int32, err error)
- func (l *Libvirt) ConnectOpen(Name OptString, Flags ConnectFlags) (err error)
- func (l *Libvirt) ConnectRegisterCloseCallback() (err error)
- func (l *Libvirt) ConnectSecretEventDeregisterAny(CallbackID int32) (err error)
- func (l *Libvirt) ConnectSecretEventRegisterAny(EventID int32, OptSecret OptSecret) (rCallbackID int32, err error)
- func (l *Libvirt) ConnectStoragePoolEventDeregisterAny(CallbackID int32) (err error)
- func (l *Libvirt) ConnectStoragePoolEventRegisterAny(EventID int32, Pool OptStoragePool) (rCallbackID int32, err error)
- func (l *Libvirt) ConnectSupportsFeature(Feature int32) (rSupported int32, err error)
- func (l *Libvirt) ConnectUnregisterCloseCallback() (err error)
- func (l *Libvirt) DefineXML(x []byte, flags DomainDefineFlags) errordeprecated
- func (l *Libvirt) Destroy(dom string, flags DomainDestroyFlagsValues) errordeprecated
- func (l *Libvirt) Disconnect() error
- func (l *Libvirt) DomainAbortJob(Dom Domain) (err error)
- func (l *Libvirt) DomainAddIothread(Dom Domain, IothreadID uint32, Flags DomainModificationImpact) (err error)
- func (l *Libvirt) DomainAttachDevice(Dom Domain, XML string) (err error)
- func (l *Libvirt) DomainAttachDeviceFlags(Dom Domain, XML string, Flags uint32) (err error)
- func (l *Libvirt) DomainBlockCommit(Dom Domain, Disk string, Base OptString, Top OptString, Bandwidth uint64, ...) (err error)
- func (l *Libvirt) DomainBlockCopy(Dom Domain, Path string, Destxml string, Params []TypedParam, ...) (err error)
- func (l *Libvirt) DomainBlockJobAbort(Dom Domain, Path string, Flags DomainBlockJobAbortFlags) (err error)
- func (l *Libvirt) DomainBlockJobSetSpeed(Dom Domain, Path string, Bandwidth uint64, Flags DomainBlockJobSetSpeedFlags) (err error)
- func (l *Libvirt) DomainBlockPeek(Dom Domain, Path string, Offset uint64, Size uint32, Flags uint32) (rBuffer []byte, err error)
- func (l *Libvirt) DomainBlockPull(Dom Domain, Path string, Bandwidth uint64, Flags DomainBlockPullFlags) (err error)
- func (l *Libvirt) DomainBlockRebase(Dom Domain, Path string, Base OptString, Bandwidth uint64, ...) (err error)
- func (l *Libvirt) DomainBlockResize(Dom Domain, Disk string, Size uint64, Flags DomainBlockResizeFlags) (err error)
- func (l *Libvirt) DomainBlockStats(Dom Domain, Path string) (rRdReq int64, rRdBytes int64, rWrReq int64, rWrBytes int64, rErrs int64, ...)
- func (l *Libvirt) DomainBlockStatsFlags(Dom Domain, Path string, Nparams int32, Flags uint32) (rParams []TypedParam, rNparams int32, err error)
- func (l *Libvirt) DomainCoreDump(Dom Domain, To string, Flags DomainCoreDumpFlags) (err error)
- func (l *Libvirt) DomainCoreDumpWithFormat(Dom Domain, To string, Dumpformat uint32, Flags DomainCoreDumpFlags) (err error)
- func (l *Libvirt) DomainCreate(Dom Domain) (err error)
- func (l *Libvirt) DomainCreateWithFiles(Dom Domain, Flags DomainCreateFlags) (rDom Domain, err error)
- func (l *Libvirt) DomainCreateWithFlags(Dom Domain, Flags uint32) (rDom Domain, err error)
- func (l *Libvirt) DomainCreateXML(XMLDesc string, Flags DomainCreateFlags) (rDom Domain, err error)
- func (l *Libvirt) DomainCreateXMLWithFiles(XMLDesc string, Flags DomainCreateFlags) (rDom Domain, err error)
- func (l *Libvirt) DomainDefineXML(XML string) (rDom Domain, err error)
- func (l *Libvirt) DomainDefineXMLFlags(XML string, Flags DomainDefineFlags) (rDom Domain, err error)
- func (l *Libvirt) DomainDelIothread(Dom Domain, IothreadID uint32, Flags DomainModificationImpact) (err error)
- func (l *Libvirt) DomainDestroy(Dom Domain) (err error)
- func (l *Libvirt) DomainDestroyFlags(Dom Domain, Flags DomainDestroyFlagsValues) (err error)
- func (l *Libvirt) DomainDetachDevice(Dom Domain, XML string) (err error)
- func (l *Libvirt) DomainDetachDeviceAlias(Dom Domain, Alias string, Flags uint32) (err error)
- func (l *Libvirt) DomainDetachDeviceFlags(Dom Domain, XML string, Flags uint32) (err error)
- func (l *Libvirt) DomainEventBalloonChange() (err error)
- func (l *Libvirt) DomainEventBlockJob() (err error)
- func (l *Libvirt) DomainEventBlockJob2() (err error)
- func (l *Libvirt) DomainEventBlockThreshold() (err error)
- func (l *Libvirt) DomainEventCallbackAgentLifecycle() (err error)
- func (l *Libvirt) DomainEventCallbackBalloonChange() (err error)
- func (l *Libvirt) DomainEventCallbackBlockJob() (err error)
- func (l *Libvirt) DomainEventCallbackControlError() (err error)
- func (l *Libvirt) DomainEventCallbackDeviceAdded() (err error)
- func (l *Libvirt) DomainEventCallbackDeviceRemovalFailed() (err error)
- func (l *Libvirt) DomainEventCallbackDeviceRemoved() (err error)
- func (l *Libvirt) DomainEventCallbackDiskChange() (err error)
- func (l *Libvirt) DomainEventCallbackGraphics() (err error)
- func (l *Libvirt) DomainEventCallbackIOError() (err error)
- func (l *Libvirt) DomainEventCallbackIOErrorReason() (err error)
- func (l *Libvirt) DomainEventCallbackJobCompleted() (err error)
- func (l *Libvirt) DomainEventCallbackLifecycle() (err error)
- func (l *Libvirt) DomainEventCallbackMetadataChange() (err error)
- func (l *Libvirt) DomainEventCallbackMigrationIteration() (err error)
- func (l *Libvirt) DomainEventCallbackPmsuspend() (err error)
- func (l *Libvirt) DomainEventCallbackPmsuspendDisk() (err error)
- func (l *Libvirt) DomainEventCallbackPmwakeup() (err error)
- func (l *Libvirt) DomainEventCallbackReboot() (err error)
- func (l *Libvirt) DomainEventCallbackRtcChange() (err error)
- func (l *Libvirt) DomainEventCallbackTrayChange() (err error)
- func (l *Libvirt) DomainEventCallbackTunable() (err error)
- func (l *Libvirt) DomainEventCallbackWatchdog() (err error)
- func (l *Libvirt) DomainEventControlError() (err error)
- func (l *Libvirt) DomainEventDeviceRemoved() (err error)
- func (l *Libvirt) DomainEventDiskChange() (err error)
- func (l *Libvirt) DomainEventGraphics() (err error)
- func (l *Libvirt) DomainEventIOError() (err error)
- func (l *Libvirt) DomainEventIOErrorReason() (err error)
- func (l *Libvirt) DomainEventLifecycle() (err error)
- func (l *Libvirt) DomainEventPmsuspend() (err error)
- func (l *Libvirt) DomainEventPmsuspendDisk() (err error)
- func (l *Libvirt) DomainEventPmwakeup() (err error)
- func (l *Libvirt) DomainEventReboot() (err error)
- func (l *Libvirt) DomainEventRtcChange() (err error)
- func (l *Libvirt) DomainEventTrayChange() (err error)
- func (l *Libvirt) DomainEventWatchdog() (err error)
- func (l *Libvirt) DomainFsfreeze(Dom Domain, Mountpoints []string, Flags uint32) (rFilesystems int32, err error)
- func (l *Libvirt) DomainFsthaw(Dom Domain, Mountpoints []string, Flags uint32) (rFilesystems int32, err error)
- func (l *Libvirt) DomainFstrim(Dom Domain, MountPoint OptString, Minimum uint64, Flags uint32) (err error)
- func (l *Libvirt) DomainGetAutostart(Dom Domain) (rAutostart int32, err error)
- func (l *Libvirt) DomainGetBlkioParameters(Dom Domain, Nparams int32, Flags uint32) (rParams []TypedParam, rNparams int32, err error)
- func (l *Libvirt) DomainGetBlockIOTune(Dom Domain, Disk OptString, Nparams int32, Flags uint32) (rParams []TypedParam, rNparams int32, err error)
- func (l *Libvirt) DomainGetBlockInfo(Dom Domain, Path string, Flags uint32) (rAllocation uint64, rCapacity uint64, rPhysical uint64, err error)
- func (l *Libvirt) DomainGetBlockJobInfo(Dom Domain, Path string, Flags uint32) (rFound int32, rType int32, rBandwidth uint64, rCur uint64, rEnd uint64, ...)
- func (l *Libvirt) DomainGetCPUStats(Dom Domain, Nparams uint32, StartCPU int32, Ncpus uint32, ...) (rParams []TypedParam, rNparams int32, err error)
- func (l *Libvirt) DomainGetControlInfo(Dom Domain, Flags uint32) (rState uint32, rDetails uint32, rStateTime uint64, err error)
- func (l *Libvirt) DomainGetDiskErrors(Dom Domain, Maxerrors uint32, Flags uint32) (rErrors []DomainDiskError, rNerrors int32, err error)
- func (l *Libvirt) DomainGetEmulatorPinInfo(Dom Domain, Maplen int32, Flags DomainModificationImpact) (rCpumaps []byte, rRet int32, err error)
- func (l *Libvirt) DomainGetFsinfo(Dom Domain, Flags uint32) (rInfo []DomainFsinfo, rRet uint32, err error)
- func (l *Libvirt) DomainGetGuestVcpus(Dom Domain, Flags uint32) (rParams []TypedParam, err error)
- func (l *Libvirt) DomainGetHostname(Dom Domain, Flags uint32) (rHostname string, err error)
- func (l *Libvirt) DomainGetInfo(Dom Domain) (rState uint8, rMaxMem uint64, rMemory uint64, rNrVirtCPU uint16, ...)
- func (l *Libvirt) DomainGetInterfaceParameters(Dom Domain, Device string, Nparams int32, Flags DomainModificationImpact) (rParams []TypedParam, rNparams int32, err error)
- func (l *Libvirt) DomainGetIothreadInfo(Dom Domain, Flags DomainModificationImpact) (rInfo []DomainIothreadInfo, rRet uint32, err error)
- func (l *Libvirt) DomainGetJobInfo(Dom Domain) (rType int32, rTimeElapsed uint64, rTimeRemaining uint64, rDataTotal uint64, ...)
- func (l *Libvirt) DomainGetJobStats(Dom Domain, Flags DomainGetJobStatsFlags) (rType int32, rParams []TypedParam, err error)
- func (l *Libvirt) DomainGetLaunchSecurityInfo(Dom Domain, Flags uint32) (rParams []TypedParam, err error)
- func (l *Libvirt) DomainGetMaxMemory(Dom Domain) (rMemory uint64, err error)
- func (l *Libvirt) DomainGetMaxVcpus(Dom Domain) (rNum int32, err error)
- func (l *Libvirt) DomainGetMemoryParameters(Dom Domain, Nparams int32, Flags uint32) (rParams []TypedParam, rNparams int32, err error)
- func (l *Libvirt) DomainGetMetadata(Dom Domain, Type int32, Uri OptString, Flags DomainModificationImpact) (rMetadata string, err error)
- func (l *Libvirt) DomainGetNumaParameters(Dom Domain, Nparams int32, Flags uint32) (rParams []TypedParam, rNparams int32, err error)
- func (l *Libvirt) DomainGetOsType(Dom Domain) (rType string, err error)
- func (l *Libvirt) DomainGetPerfEvents(Dom Domain, Flags DomainModificationImpact) (rParams []TypedParam, err error)
- func (l *Libvirt) DomainGetSchedulerParameters(Dom Domain, Nparams int32) (rParams []TypedParam, err error)
- func (l *Libvirt) DomainGetSchedulerParametersFlags(Dom Domain, Nparams int32, Flags uint32) (rParams []TypedParam, err error)
- func (l *Libvirt) DomainGetSchedulerType(Dom Domain) (rType string, rNparams int32, err error)
- func (l *Libvirt) DomainGetSecurityLabel(Dom Domain) (rLabel []int8, rEnforcing int32, err error)
- func (l *Libvirt) DomainGetSecurityLabelList(Dom Domain) (rLabels []DomainGetSecurityLabelRet, rRet int32, err error)
- func (l *Libvirt) DomainGetState(Dom Domain, Flags uint32) (rState int32, rReason int32, err error)
- func (l *Libvirt) DomainGetTime(Dom Domain, Flags uint32) (rSeconds int64, rNseconds uint32, err error)
- func (l *Libvirt) DomainGetVcpuPinInfo(Dom Domain, Ncpumaps int32, Maplen int32, Flags uint32) (rCpumaps []byte, rNum int32, err error)
- func (l *Libvirt) DomainGetVcpus(Dom Domain, Maxinfo int32, Maplen int32) (rInfo []VcpuInfo, rCpumaps []byte, err error)
- func (l *Libvirt) DomainGetVcpusFlags(Dom Domain, Flags uint32) (rNum int32, err error)
- func (l *Libvirt) DomainGetXMLDesc(Dom Domain, Flags DomainXMLFlags) (rXML string, err error)
- func (l *Libvirt) DomainHasCurrentSnapshot(Dom Domain, Flags uint32) (rResult int32, err error)
- func (l *Libvirt) DomainHasManagedSaveImage(Dom Domain, Flags uint32) (rResult int32, err error)
- func (l *Libvirt) DomainInjectNmi(Dom Domain, Flags uint32) (err error)
- func (l *Libvirt) DomainInterfaceAddresses(Dom Domain, Source uint32, Flags uint32) (rIfaces []DomainInterface, err error)
- func (l *Libvirt) DomainInterfaceStats(Dom Domain, Device string) (rRxBytes int64, rRxPackets int64, rRxErrs int64, rRxDrop int64, rTxBytes int64, ...)
- func (l *Libvirt) DomainIsActive(Dom Domain) (rActive int32, err error)
- func (l *Libvirt) DomainIsPersistent(Dom Domain) (rPersistent int32, err error)
- func (l *Libvirt) DomainIsUpdated(Dom Domain) (rUpdated int32, err error)
- func (l *Libvirt) DomainListAllSnapshots(Dom Domain, NeedResults int32, Flags uint32) (rSnapshots []DomainSnapshot, rRet int32, err error)
- func (l *Libvirt) DomainLookupByID(ID int32) (rDom Domain, err error)
- func (l *Libvirt) DomainLookupByName(Name string) (rDom Domain, err error)
- func (l *Libvirt) DomainLookupByUUID(UUID UUID) (rDom Domain, err error)
- func (l *Libvirt) DomainManagedSave(Dom Domain, Flags uint32) (err error)
- func (l *Libvirt) DomainManagedSaveDefineXML(Dom Domain, Dxml OptString, Flags DomainSaveRestoreFlags) (err error)
- func (l *Libvirt) DomainManagedSaveGetXMLDesc(Dom Domain, Flags DomainXMLFlags) (rXML string, err error)
- func (l *Libvirt) DomainManagedSaveRemove(Dom Domain, Flags uint32) (err error)
- func (l *Libvirt) DomainMemoryPeek(Dom Domain, Offset uint64, Size uint32, Flags DomainMemoryFlags) (rBuffer []byte, err error)
- func (l *Libvirt) DomainMemoryStats(Dom Domain, MaxStats uint32, Flags uint32) (rStats []DomainMemoryStat, err error)
- func (l *Libvirt) DomainMigrateBegin3(Dom Domain, Xmlin OptString, Flags uint64, Dname OptString, Resource uint64) (rCookieOut []byte, rXML string, err error)
- func (l *Libvirt) DomainMigrateBegin3Params(Dom Domain, Params []TypedParam, Flags uint32) (rCookieOut []byte, rXML string, err error)
- func (l *Libvirt) DomainMigrateConfirm3(Dom Domain, CookieIn []byte, Flags uint64, Cancelled int32) (err error)
- func (l *Libvirt) DomainMigrateConfirm3Params(Dom Domain, Params []TypedParam, CookieIn []byte, Flags uint32, ...) (err error)
- func (l *Libvirt) DomainMigrateFinish(Dname string, Cookie []byte, Uri string, Flags uint64) (rDdom Domain, err error)
- func (l *Libvirt) DomainMigrateFinish2(Dname string, Cookie []byte, Uri string, Flags uint64, Retcode int32) (rDdom Domain, err error)
- func (l *Libvirt) DomainMigrateFinish3(Dname string, CookieIn []byte, Dconnuri OptString, Uri OptString, Flags uint64, ...) (rDom Domain, rCookieOut []byte, err error)
- func (l *Libvirt) DomainMigrateFinish3Params(Params []TypedParam, CookieIn []byte, Flags uint32, Cancelled int32) (rDom Domain, rCookieOut []byte, err error)
- func (l *Libvirt) DomainMigrateGetCompressionCache(Dom Domain, Flags uint32) (rCacheSize uint64, err error)
- func (l *Libvirt) DomainMigrateGetMaxDowntime(Dom Domain, Flags uint32) (rDowntime uint64, err error)
- func (l *Libvirt) DomainMigrateGetMaxSpeed(Dom Domain, Flags uint32) (rBandwidth uint64, err error)
- func (l *Libvirt) DomainMigratePerform(Dom Domain, Cookie []byte, Uri string, Flags uint64, Dname OptString, ...) (err error)
- func (l *Libvirt) DomainMigratePerform3(Dom Domain, Xmlin OptString, CookieIn []byte, Dconnuri OptString, ...) (rCookieOut []byte, err error)
- func (l *Libvirt) DomainMigratePerform3Params(Dom Domain, Dconnuri OptString, Params []TypedParam, CookieIn []byte, ...) (rCookieOut []byte, err error)
- func (l *Libvirt) DomainMigratePrepare(UriIn OptString, Flags uint64, Dname OptString, Resource uint64) (rCookie []byte, rUriOut OptString, err error)
- func (l *Libvirt) DomainMigratePrepare2(UriIn OptString, Flags uint64, Dname OptString, Resource uint64, DomXML string) (rCookie []byte, rUriOut OptString, err error)
- func (l *Libvirt) DomainMigratePrepare3(CookieIn []byte, UriIn OptString, Flags uint64, Dname OptString, ...) (rCookieOut []byte, rUriOut OptString, err error)
- func (l *Libvirt) DomainMigratePrepare3Params(Params []TypedParam, CookieIn []byte, Flags uint32) (rCookieOut []byte, rUriOut OptString, err error)
- func (l *Libvirt) DomainMigratePrepareTunnel(Flags uint64, outStream io.Reader, Dname OptString, Resource uint64, ...) (err error)
- func (l *Libvirt) DomainMigratePrepareTunnel3(CookieIn []byte, outStream io.Reader, Flags uint64, Dname OptString, ...) (rCookieOut []byte, err error)
- func (l *Libvirt) DomainMigratePrepareTunnel3Params(Params []TypedParam, CookieIn []byte, Flags uint32) (rCookieOut []byte, err error)
- func (l *Libvirt) DomainMigrateSetCompressionCache(Dom Domain, CacheSize uint64, Flags uint32) (err error)
- func (l *Libvirt) DomainMigrateSetMaxDowntime(Dom Domain, Downtime uint64, Flags uint32) (err error)
- func (l *Libvirt) DomainMigrateSetMaxSpeed(Dom Domain, Bandwidth uint64, Flags uint32) (err error)
- func (l *Libvirt) DomainMigrateStartPostCopy(Dom Domain, Flags uint32) (err error)
- func (l *Libvirt) DomainOpenChannel(Dom Domain, Name OptString, inStream io.Writer, Flags DomainChannelFlags) (err error)
- func (l *Libvirt) DomainOpenConsole(Dom Domain, DevName OptString, inStream io.Writer, Flags uint32) (err error)
- func (l *Libvirt) DomainOpenGraphics(Dom Domain, Idx uint32, Flags DomainOpenGraphicsFlags) (err error)
- func (l *Libvirt) DomainOpenGraphicsFd(Dom Domain, Idx uint32, Flags DomainOpenGraphicsFlags) (err error)
- func (l *Libvirt) DomainPinEmulator(Dom Domain, Cpumap []byte, Flags DomainModificationImpact) (err error)
- func (l *Libvirt) DomainPinIothread(Dom Domain, IothreadsID uint32, Cpumap []byte, Flags DomainModificationImpact) (err error)
- func (l *Libvirt) DomainPinVcpu(Dom Domain, Vcpu uint32, Cpumap []byte) (err error)
- func (l *Libvirt) DomainPinVcpuFlags(Dom Domain, Vcpu uint32, Cpumap []byte, Flags uint32) (err error)
- func (l *Libvirt) DomainPmSuspendForDuration(Dom Domain, Target uint32, Duration uint64, Flags uint32) (err error)
- func (l *Libvirt) DomainPmWakeup(Dom Domain, Flags uint32) (err error)
- func (l *Libvirt) DomainReboot(Dom Domain, Flags DomainRebootFlagValues) (err error)
- func (l *Libvirt) DomainRename(Dom Domain, NewName OptString, Flags uint32) (rRetcode int32, err error)
- func (l *Libvirt) DomainReset(Dom Domain, Flags uint32) (err error)
- func (l *Libvirt) DomainRestore(From string) (err error)
- func (l *Libvirt) DomainRestoreFlags(From string, Dxml OptString, Flags uint32) (err error)
- func (l *Libvirt) DomainResume(Dom Domain) (err error)
- func (l *Libvirt) DomainRevertToSnapshot(Snap DomainSnapshot, Flags uint32) (err error)
- func (l *Libvirt) DomainSave(Dom Domain, To string) (err error)
- func (l *Libvirt) DomainSaveFlags(Dom Domain, To string, Dxml OptString, Flags uint32) (err error)
- func (l *Libvirt) DomainSaveImageDefineXML(File string, Dxml string, Flags uint32) (err error)
- func (l *Libvirt) DomainSaveImageGetXMLDesc(File string, Flags uint32) (rXML string, err error)
- func (l *Libvirt) DomainScreenshot(Dom Domain, inStream io.Writer, Screen uint32, Flags uint32) (rMime OptString, err error)
- func (l *Libvirt) DomainSendKey(Dom Domain, Codeset uint32, Holdtime uint32, Keycodes []uint32, Flags uint32) (err error)
- func (l *Libvirt) DomainSendProcessSignal(Dom Domain, PidValue int64, Signum uint32, Flags uint32) (err error)
- func (l *Libvirt) DomainSetAutostart(Dom Domain, Autostart int32) (err error)
- func (l *Libvirt) DomainSetBlkioParameters(Dom Domain, Params []TypedParam, Flags uint32) (err error)
- func (l *Libvirt) DomainSetBlockIOTune(Dom Domain, Disk string, Params []TypedParam, Flags uint32) (err error)
- func (l *Libvirt) DomainSetBlockThreshold(Dom Domain, Dev string, Threshold uint64, Flags uint32) (err error)
- func (l *Libvirt) DomainSetGuestVcpus(Dom Domain, Cpumap string, State int32, Flags uint32) (err error)
- func (l *Libvirt) DomainSetInterfaceParameters(Dom Domain, Device string, Params []TypedParam, Flags uint32) (err error)
- func (l *Libvirt) DomainSetIothreadParams(Dom Domain, IothreadID uint32, Params []TypedParam, Flags uint32) (err error)
- func (l *Libvirt) DomainSetLifecycleAction(Dom Domain, Type uint32, Action uint32, Flags DomainModificationImpact) (err error)
- func (l *Libvirt) DomainSetMaxMemory(Dom Domain, Memory uint64) (err error)
- func (l *Libvirt) DomainSetMemory(Dom Domain, Memory uint64) (err error)
- func (l *Libvirt) DomainSetMemoryFlags(Dom Domain, Memory uint64, Flags uint32) (err error)
- func (l *Libvirt) DomainSetMemoryParameters(Dom Domain, Params []TypedParam, Flags uint32) (err error)
- func (l *Libvirt) DomainSetMemoryStatsPeriod(Dom Domain, Period int32, Flags DomainMemoryModFlags) (err error)
- func (l *Libvirt) DomainSetMetadata(Dom Domain, Type int32, Metadata OptString, Key OptString, Uri OptString, ...) (err error)
- func (l *Libvirt) DomainSetNumaParameters(Dom Domain, Params []TypedParam, Flags uint32) (err error)
- func (l *Libvirt) DomainSetPerfEvents(Dom Domain, Params []TypedParam, Flags DomainModificationImpact) (err error)
- func (l *Libvirt) DomainSetSchedulerParameters(Dom Domain, Params []TypedParam) (err error)
- func (l *Libvirt) DomainSetSchedulerParametersFlags(Dom Domain, Params []TypedParam, Flags uint32) (err error)
- func (l *Libvirt) DomainSetTime(Dom Domain, Seconds int64, Nseconds uint32, Flags DomainSetTimeFlags) (err error)
- func (l *Libvirt) DomainSetUserPassword(Dom Domain, User OptString, Password OptString, ...) (err error)
- func (l *Libvirt) DomainSetVcpu(Dom Domain, Cpumap string, State int32, Flags DomainModificationImpact) (err error)
- func (l *Libvirt) DomainSetVcpus(Dom Domain, Nvcpus uint32) (err error)
- func (l *Libvirt) DomainSetVcpusFlags(Dom Domain, Nvcpus uint32, Flags uint32) (err error)
- func (l *Libvirt) DomainShutdown(Dom Domain) (err error)
- func (l *Libvirt) DomainShutdownFlags(Dom Domain, Flags DomainShutdownFlagValues) (err error)
- func (l *Libvirt) DomainSnapshotCreateXML(Dom Domain, XMLDesc string, Flags uint32) (rSnap DomainSnapshot, err error)
- func (l *Libvirt) DomainSnapshotCurrent(Dom Domain, Flags uint32) (rSnap DomainSnapshot, err error)
- func (l *Libvirt) DomainSnapshotDelete(Snap DomainSnapshot, Flags DomainSnapshotDeleteFlags) (err error)
- func (l *Libvirt) DomainSnapshotGetParent(Snap DomainSnapshot, Flags uint32) (rSnap DomainSnapshot, err error)
- func (l *Libvirt) DomainSnapshotGetXMLDesc(Snap DomainSnapshot, Flags uint32) (rXML string, err error)
- func (l *Libvirt) DomainSnapshotHasMetadata(Snap DomainSnapshot, Flags uint32) (rMetadata int32, err error)
- func (l *Libvirt) DomainSnapshotIsCurrent(Snap DomainSnapshot, Flags uint32) (rCurrent int32, err error)
- func (l *Libvirt) DomainSnapshotListAllChildren(Snapshot DomainSnapshot, NeedResults int32, Flags uint32) (rSnapshots []DomainSnapshot, rRet int32, err error)
- func (l *Libvirt) DomainSnapshotListChildrenNames(Snap DomainSnapshot, Maxnames int32, Flags uint32) (rNames []string, err error)
- func (l *Libvirt) DomainSnapshotListNames(Dom Domain, Maxnames int32, Flags uint32) (rNames []string, err error)
- func (l *Libvirt) DomainSnapshotLookupByName(Dom Domain, Name string, Flags uint32) (rSnap DomainSnapshot, err error)
- func (l *Libvirt) DomainSnapshotNum(Dom Domain, Flags uint32) (rNum int32, err error)
- func (l *Libvirt) DomainSnapshotNumChildren(Snap DomainSnapshot, Flags uint32) (rNum int32, err error)
- func (l *Libvirt) DomainState(dom string) (DomainState, error)deprecated
- func (l *Libvirt) DomainSuspend(Dom Domain) (err error)
- func (l *Libvirt) DomainUndefine(Dom Domain) (err error)
- func (l *Libvirt) DomainUndefineFlags(Dom Domain, Flags DomainUndefineFlagsValues) (err error)
- func (l *Libvirt) DomainUpdateDeviceFlags(Dom Domain, XML string, Flags DomainDeviceModifyFlags) (err error)
- func (l *Libvirt) Domains() ([]Domain, error)deprecated
- func (l *Libvirt) Events(dom string) (<-chan DomainEvent, error)
- func (l *Libvirt) GetBlockIOTune(dom string, disk string) ([]BlockLimit, error)deprecated
- func (l *Libvirt) InterfaceChangeBegin(Flags uint32) (err error)
- func (l *Libvirt) InterfaceChangeCommit(Flags uint32) (err error)
- func (l *Libvirt) InterfaceChangeRollback(Flags uint32) (err error)
- func (l *Libvirt) InterfaceCreate(Iface Interface, Flags uint32) (err error)
- func (l *Libvirt) InterfaceDefineXML(XML string, Flags uint32) (rIface Interface, err error)
- func (l *Libvirt) InterfaceDestroy(Iface Interface, Flags uint32) (err error)
- func (l *Libvirt) InterfaceGetXMLDesc(Iface Interface, Flags uint32) (rXML string, err error)
- func (l *Libvirt) InterfaceIsActive(Iface Interface) (rActive int32, err error)
- func (l *Libvirt) InterfaceLookupByMacString(Mac string) (rIface Interface, err error)
- func (l *Libvirt) InterfaceLookupByName(Name string) (rIface Interface, err error)
- func (l *Libvirt) InterfaceUndefine(Iface Interface) (err error)
- func (l *Libvirt) LifecycleEvents() (<-chan DomainEventLifecycleMsg, error)
- func (l *Libvirt) NetworkCreate(Net Network) (err error)
- func (l *Libvirt) NetworkCreateXML(XML string) (rNet Network, err error)
- func (l *Libvirt) NetworkDefineXML(XML string) (rNet Network, err error)
- func (l *Libvirt) NetworkDestroy(Net Network) (err error)
- func (l *Libvirt) NetworkEventLifecycle() (err error)
- func (l *Libvirt) NetworkGetAutostart(Net Network) (rAutostart int32, err error)
- func (l *Libvirt) NetworkGetBridgeName(Net Network) (rName string, err error)
- func (l *Libvirt) NetworkGetDhcpLeases(Net Network, Mac OptString, NeedResults int32, Flags uint32) (rLeases []NetworkDhcpLease, rRet uint32, err error)
- func (l *Libvirt) NetworkGetXMLDesc(Net Network, Flags uint32) (rXML string, err error)
- func (l *Libvirt) NetworkIsActive(Net Network) (rActive int32, err error)
- func (l *Libvirt) NetworkIsPersistent(Net Network) (rPersistent int32, err error)
- func (l *Libvirt) NetworkLookupByName(Name string) (rNet Network, err error)
- func (l *Libvirt) NetworkLookupByUUID(UUID UUID) (rNet Network, err error)
- func (l *Libvirt) NetworkSetAutostart(Net Network, Autostart int32) (err error)
- func (l *Libvirt) NetworkUndefine(Net Network) (err error)
- func (l *Libvirt) NetworkUpdate(Net Network, Command uint32, Section uint32, ParentIndex int32, XML string, ...) (err error)
- func (l *Libvirt) NodeAllocPages(PageSizes []uint32, PageCounts []uint64, StartCell int32, CellCount uint32, ...) (rRet int32, err error)
- func (l *Libvirt) NodeDeviceCreateXML(XMLDesc string, Flags uint32) (rDev NodeDevice, err error)
- func (l *Libvirt) NodeDeviceDestroy(Name string) (err error)
- func (l *Libvirt) NodeDeviceDetachFlags(Name string, DriverName OptString, Flags uint32) (err error)
- func (l *Libvirt) NodeDeviceDettach(Name string) (err error)
- func (l *Libvirt) NodeDeviceEventLifecycle() (err error)
- func (l *Libvirt) NodeDeviceEventUpdate() (err error)
- func (l *Libvirt) NodeDeviceGetParent(Name string) (rParentName OptString, err error)
- func (l *Libvirt) NodeDeviceGetXMLDesc(Name string, Flags uint32) (rXML string, err error)
- func (l *Libvirt) NodeDeviceListCaps(Name string, Maxnames int32) (rNames []string, err error)
- func (l *Libvirt) NodeDeviceLookupByName(Name string) (rDev NodeDevice, err error)
- func (l *Libvirt) NodeDeviceLookupScsiHostByWwn(Wwnn string, Wwpn string, Flags uint32) (rDev NodeDevice, err error)
- func (l *Libvirt) NodeDeviceNumOfCaps(Name string) (rNum int32, err error)
- func (l *Libvirt) NodeDeviceReAttach(Name string) (err error)
- func (l *Libvirt) NodeDeviceReset(Name string) (err error)
- func (l *Libvirt) NodeGetCPUMap(NeedMap int32, NeedOnline int32, Flags uint32) (rCpumap []byte, rOnline uint32, rRet int32, err error)
- func (l *Libvirt) NodeGetCPUStats(CPUNum int32, Nparams int32, Flags uint32) (rParams []NodeGetCPUStats, rNparams int32, err error)
- func (l *Libvirt) NodeGetCellsFreeMemory(StartCell int32, Maxcells int32) (rCells []uint64, err error)
- func (l *Libvirt) NodeGetFreeMemory() (rFreeMem uint64, err error)
- func (l *Libvirt) NodeGetFreePages(Pages []uint32, StartCell int32, CellCount uint32, Flags uint32) (rCounts []uint64, err error)
- func (l *Libvirt) NodeGetInfo() (rModel [32]int8, rMemory uint64, rCpus int32, rMhz int32, rNodes int32, ...)
- func (l *Libvirt) NodeGetMemoryParameters(Nparams int32, Flags uint32) (rParams []TypedParam, rNparams int32, err error)
- func (l *Libvirt) NodeGetMemoryStats(Nparams int32, CellNum int32, Flags uint32) (rParams []NodeGetMemoryStats, rNparams int32, err error)
- func (l *Libvirt) NodeGetSecurityModel() (rModel []int8, rDoi []int8, err error)
- func (l *Libvirt) NodeGetSevInfo(Nparams int32, Flags uint32) (rParams []TypedParam, rNparams int32, err error)
- func (l *Libvirt) NodeListDevices(Cap OptString, Maxnames int32, Flags uint32) (rNames []string, err error)
- func (l *Libvirt) NodeNumOfDevices(Cap OptString, Flags uint32) (rNum int32, err error)
- func (l *Libvirt) NodeSetMemoryParameters(Params []TypedParam, Flags uint32) (err error)
- func (l *Libvirt) NodeSuspendForDuration(Target uint32, Duration uint64, Flags uint32) (err error)
- func (l *Libvirt) NwfilterBindingCreateXML(XML string, Flags uint32) (rOptNwfilter NwfilterBinding, err error)
- func (l *Libvirt) NwfilterBindingDelete(OptNwfilter NwfilterBinding) (err error)
- func (l *Libvirt) NwfilterBindingGetXMLDesc(OptNwfilter NwfilterBinding, Flags uint32) (rXML string, err error)
- func (l *Libvirt) NwfilterBindingLookupByPortDev(Name string) (rOptNwfilter NwfilterBinding, err error)
- func (l *Libvirt) NwfilterDefineXML(XML string) (rOptNwfilter Nwfilter, err error)
- func (l *Libvirt) NwfilterGetXMLDesc(OptNwfilter Nwfilter, Flags uint32) (rXML string, err error)
- func (l *Libvirt) NwfilterLookupByName(Name string) (rOptNwfilter Nwfilter, err error)
- func (l *Libvirt) NwfilterLookupByUUID(UUID UUID) (rOptNwfilter Nwfilter, err error)
- func (l *Libvirt) NwfilterUndefine(OptNwfilter Nwfilter) (err error)
- func (l *Libvirt) Reboot(dom string, flags DomainRebootFlagValues) errordeprecated
- func (l *Libvirt) Reset(dom string) errordeprecated
- func (l *Libvirt) Run(dom string, cmd []byte) ([]byte, error)
- func (l *Libvirt) SecretDefineXML(XML string, Flags uint32) (rOptSecret Secret, err error)
- func (l *Libvirt) SecretEventLifecycle() (err error)
- func (l *Libvirt) SecretEventValueChanged() (err error)
- func (l *Libvirt) SecretGetValue(OptSecret Secret, Flags uint32) (rValue []byte, err error)
- func (l *Libvirt) SecretGetXMLDesc(OptSecret Secret, Flags uint32) (rXML string, err error)
- func (l *Libvirt) SecretLookupByUUID(UUID UUID) (rOptSecret Secret, err error)
- func (l *Libvirt) SecretLookupByUsage(UsageType int32, UsageID string) (rOptSecret Secret, err error)
- func (l *Libvirt) SecretSetValue(OptSecret Secret, Value []byte, Flags uint32) (err error)
- func (l *Libvirt) SecretUndefine(OptSecret Secret) (err error)
- func (l *Libvirt) Secrets() ([]Secret, error)deprecated
- func (l *Libvirt) SetBlockIOTune(dom string, disk string, limits ...BlockLimit) errordeprecated
- func (l *Libvirt) Shutdown(dom string, flags DomainShutdownFlagValues) errordeprecated
- func (l *Libvirt) StoragePool(name string) (StoragePool, error)deprecated
- func (l *Libvirt) StoragePoolBuild(Pool StoragePool, Flags StoragePoolBuildFlags) (err error)
- func (l *Libvirt) StoragePoolCreate(Pool StoragePool, Flags StoragePoolCreateFlags) (err error)
- func (l *Libvirt) StoragePoolCreateXML(XML string, Flags StoragePoolCreateFlags) (rPool StoragePool, err error)
- func (l *Libvirt) StoragePoolDefineXML(XML string, Flags uint32) (rPool StoragePool, err error)
- func (l *Libvirt) StoragePoolDelete(Pool StoragePool, Flags StoragePoolDeleteFlags) (err error)
- func (l *Libvirt) StoragePoolDestroy(Pool StoragePool) (err error)
- func (l *Libvirt) StoragePoolEventLifecycle() (err error)
- func (l *Libvirt) StoragePoolEventRefresh() (err error)
- func (l *Libvirt) StoragePoolGetAutostart(Pool StoragePool) (rAutostart int32, err error)
- func (l *Libvirt) StoragePoolGetInfo(Pool StoragePool) (rState uint8, rCapacity uint64, rAllocation uint64, rAvailable uint64, ...)
- func (l *Libvirt) StoragePoolGetXMLDesc(Pool StoragePool, Flags StorageXMLFlags) (rXML string, err error)
- func (l *Libvirt) StoragePoolIsActive(Pool StoragePool) (rActive int32, err error)
- func (l *Libvirt) StoragePoolIsPersistent(Pool StoragePool) (rPersistent int32, err error)
- func (l *Libvirt) StoragePoolListAllVolumes(Pool StoragePool, NeedResults int32, Flags uint32) (rVols []StorageVol, rRet uint32, err error)
- func (l *Libvirt) StoragePoolListVolumes(Pool StoragePool, Maxnames int32) (rNames []string, err error)
- func (l *Libvirt) StoragePoolLookupByName(Name string) (rPool StoragePool, err error)
- func (l *Libvirt) StoragePoolLookupByTargetPath(Path string) (rPool StoragePool, err error)
- func (l *Libvirt) StoragePoolLookupByUUID(UUID UUID) (rPool StoragePool, err error)
- func (l *Libvirt) StoragePoolLookupByVolume(Vol StorageVol) (rPool StoragePool, err error)
- func (l *Libvirt) StoragePoolNumOfVolumes(Pool StoragePool) (rNum int32, err error)
- func (l *Libvirt) StoragePoolRefresh(Pool StoragePool, Flags uint32) (err error)
- func (l *Libvirt) StoragePoolSetAutostart(Pool StoragePool, Autostart int32) (err error)
- func (l *Libvirt) StoragePoolUndefine(Pool StoragePool) (err error)
- func (l *Libvirt) StoragePools(flags ConnectListAllStoragePoolsFlags) ([]StoragePool, error)deprecated
- func (l *Libvirt) StorageVolCreateXML(Pool StoragePool, XML string, Flags StorageVolCreateFlags) (rVol StorageVol, err error)
- func (l *Libvirt) StorageVolCreateXMLFrom(Pool StoragePool, XML string, Clonevol StorageVol, Flags StorageVolCreateFlags) (rVol StorageVol, err error)
- func (l *Libvirt) StorageVolDelete(Vol StorageVol, Flags StorageVolDeleteFlags) (err error)
- func (l *Libvirt) StorageVolDownload(Vol StorageVol, inStream io.Writer, Offset uint64, Length uint64, ...) (err error)
- func (l *Libvirt) StorageVolGetInfo(Vol StorageVol) (rType int8, rCapacity uint64, rAllocation uint64, err error)
- func (l *Libvirt) StorageVolGetInfoFlags(Vol StorageVol, Flags uint32) (rType int8, rCapacity uint64, rAllocation uint64, err error)
- func (l *Libvirt) StorageVolGetPath(Vol StorageVol) (rName string, err error)
- func (l *Libvirt) StorageVolGetXMLDesc(Vol StorageVol, Flags uint32) (rXML string, err error)
- func (l *Libvirt) StorageVolLookupByKey(Key string) (rVol StorageVol, err error)
- func (l *Libvirt) StorageVolLookupByName(Pool StoragePool, Name string) (rVol StorageVol, err error)
- func (l *Libvirt) StorageVolLookupByPath(Path string) (rVol StorageVol, err error)
- func (l *Libvirt) StorageVolResize(Vol StorageVol, Capacity uint64, Flags StorageVolResizeFlags) (err error)
- func (l *Libvirt) StorageVolUpload(Vol StorageVol, outStream io.Reader, Offset uint64, Length uint64, ...) (err error)
- func (l *Libvirt) StorageVolWipe(Vol StorageVol, Flags uint32) (err error)
- func (l *Libvirt) StorageVolWipePattern(Vol StorageVol, Algorithm uint32, Flags uint32) (err error)
- func (l *Libvirt) Undefine(dom string, flags DomainUndefineFlagsValues) errordeprecated
- func (l *Libvirt) Version() (string, error)deprecated
- func (l *Libvirt) XML(dom string, flags DomainXMLFlags) ([]byte, error)deprecated
- type MemoryParameterType
- type Network
- type NetworkCreateArgs
- type NetworkCreateXMLArgs
- type NetworkCreateXMLRet
- type NetworkDefineXMLArgs
- type NetworkDefineXMLRet
- type NetworkDestroyArgs
- type NetworkDhcpLease
- type NetworkEventID
- type NetworkEventLifecycleMsg
- type NetworkEventLifecycleType
- type NetworkGetAutostartArgs
- type NetworkGetAutostartRet
- type NetworkGetBridgeNameArgs
- type NetworkGetBridgeNameRet
- type NetworkGetDhcpLeasesArgs
- type NetworkGetDhcpLeasesRet
- type NetworkGetXMLDescArgs
- type NetworkGetXMLDescRet
- type NetworkIsActiveArgs
- type NetworkIsActiveRet
- type NetworkIsPersistentArgs
- type NetworkIsPersistentRet
- type NetworkLookupByNameArgs
- type NetworkLookupByNameRet
- type NetworkLookupByUUIDArgs
- type NetworkLookupByUUIDRet
- type NetworkSetAutostartArgs
- type NetworkUndefineArgs
- type NetworkUpdateArgs
- type NetworkUpdateCommand
- type NetworkUpdateFlags
- type NetworkUpdateSection
- type NetworkXMLFlags
- type NodeAllocPagesArgs
- type NodeAllocPagesFlags
- type NodeAllocPagesRet
- type NodeDevice
- type NodeDeviceCreateXMLArgs
- type NodeDeviceCreateXMLRet
- type NodeDeviceDestroyArgs
- type NodeDeviceDetachFlagsArgs
- type NodeDeviceDettachArgs
- type NodeDeviceEventID
- type NodeDeviceEventLifecycleMsg
- type NodeDeviceEventLifecycleType
- type NodeDeviceEventUpdateMsg
- type NodeDeviceGetParentArgs
- type NodeDeviceGetParentRet
- type NodeDeviceGetXMLDescArgs
- type NodeDeviceGetXMLDescRet
- type NodeDeviceListCapsArgs
- type NodeDeviceListCapsRet
- type NodeDeviceLookupByNameArgs
- type NodeDeviceLookupByNameRet
- type NodeDeviceLookupScsiHostByWwnArgs
- type NodeDeviceLookupScsiHostByWwnRet
- type NodeDeviceNumOfCapsArgs
- type NodeDeviceNumOfCapsRet
- type NodeDeviceReAttachArgs
- type NodeDeviceResetArgs
- type NodeGetCPUMapArgs
- type NodeGetCPUMapRet
- type NodeGetCPUStats
- type NodeGetCPUStatsAllCPUs
- type NodeGetCPUStatsArgs
- type NodeGetCPUStatsRet
- type NodeGetCellsFreeMemoryArgs
- type NodeGetCellsFreeMemoryRet
- type NodeGetFreeMemoryRet
- type NodeGetFreePagesArgs
- type NodeGetFreePagesRet
- type NodeGetInfoRet
- type NodeGetMemoryParametersArgs
- type NodeGetMemoryParametersRet
- type NodeGetMemoryStats
- type NodeGetMemoryStatsAllCells
- type NodeGetMemoryStatsArgs
- type NodeGetMemoryStatsRet
- type NodeGetSecurityModelRet
- type NodeGetSevInfoArgs
- type NodeGetSevInfoRet
- type NodeListDevicesArgs
- type NodeListDevicesRet
- type NodeNumOfDevicesArgs
- type NodeNumOfDevicesRet
- type NodeSetMemoryParametersArgs
- type NodeSuspendForDurationArgs
- type NodeSuspendTarget
- type Nwfilter
- type NwfilterBinding
- type NwfilterBindingCreateXMLArgs
- type NwfilterBindingCreateXMLRet
- type NwfilterBindingDeleteArgs
- type NwfilterBindingGetXMLDescArgs
- type NwfilterBindingGetXMLDescRet
- type NwfilterBindingLookupByPortDevArgs
- type NwfilterBindingLookupByPortDevRet
- type NwfilterDefineXMLArgs
- type NwfilterDefineXMLRet
- type NwfilterGetXMLDescArgs
- type NwfilterGetXMLDescRet
- type NwfilterLookupByNameArgs
- type NwfilterLookupByNameRet
- type NwfilterLookupByUUIDArgs
- type NwfilterLookupByUUIDRet
- type NwfilterUndefineArgs
- type OptDomain
- type OptNetwork
- type OptNodeDevice
- type OptNwfilter
- type OptNwfilterBinding
- type OptSecret
- type OptStoragePool
- type OptStorageVol
- type OptString
- type Procedure
- type SchedParameterType
- type Secret
- type SecretDefineXMLArgs
- type SecretDefineXMLRet
- type SecretEventID
- type SecretEventLifecycleMsg
- type SecretEventLifecycleType
- type SecretEventValueChangedMsg
- type SecretGetValueArgs
- type SecretGetValueRet
- type SecretGetXMLDescArgs
- type SecretGetXMLDescRet
- type SecretLookupByUUIDArgs
- type SecretLookupByUUIDRet
- type SecretLookupByUsageArgs
- type SecretLookupByUsageRet
- type SecretSetValueArgs
- type SecretUndefineArgs
- type SecretUsageType
- type StoragePool
- type StoragePoolBuildArgs
- type StoragePoolBuildFlags
- type StoragePoolCreateArgs
- type StoragePoolCreateFlags
- type StoragePoolCreateXMLArgs
- type StoragePoolCreateXMLRet
- type StoragePoolDefineXMLArgs
- type StoragePoolDefineXMLRet
- type StoragePoolDeleteArgs
- type StoragePoolDeleteFlags
- type StoragePoolDestroyArgs
- type StoragePoolEventID
- type StoragePoolEventLifecycleMsg
- type StoragePoolEventLifecycleType
- type StoragePoolEventRefreshMsg
- type StoragePoolGetAutostartArgs
- type StoragePoolGetAutostartRet
- type StoragePoolGetInfoArgs
- type StoragePoolGetInfoRet
- type StoragePoolGetXMLDescArgs
- type StoragePoolGetXMLDescRet
- type StoragePoolIsActiveArgs
- type StoragePoolIsActiveRet
- type StoragePoolIsPersistentArgs
- type StoragePoolIsPersistentRet
- type StoragePoolListAllVolumesArgs
- type StoragePoolListAllVolumesRet
- type StoragePoolListVolumesArgs
- type StoragePoolListVolumesRet
- type StoragePoolLookupByNameArgs
- type StoragePoolLookupByNameRet
- type StoragePoolLookupByTargetPathArgs
- type StoragePoolLookupByTargetPathRet
- type StoragePoolLookupByUUIDArgs
- type StoragePoolLookupByUUIDRet
- type StoragePoolLookupByVolumeArgs
- type StoragePoolLookupByVolumeRet
- type StoragePoolNumOfVolumesArgs
- type StoragePoolNumOfVolumesRet
- type StoragePoolRefreshArgs
- type StoragePoolSetAutostartArgs
- type StoragePoolState
- type StoragePoolUndefineArgs
- type StorageVol
- type StorageVolCreateFlags
- type StorageVolCreateXMLArgs
- type StorageVolCreateXMLFromArgs
- type StorageVolCreateXMLFromRet
- type StorageVolCreateXMLRet
- type StorageVolDeleteArgs
- type StorageVolDeleteFlags
- type StorageVolDownloadArgs
- type StorageVolDownloadFlags
- type StorageVolGetInfoArgs
- type StorageVolGetInfoFlagsArgs
- type StorageVolGetInfoFlagsRet
- type StorageVolGetInfoRet
- type StorageVolGetPathArgs
- type StorageVolGetPathRet
- type StorageVolGetXMLDescArgs
- type StorageVolGetXMLDescRet
- type StorageVolInfoFlags
- type StorageVolLookupByKeyArgs
- type StorageVolLookupByKeyRet
- type StorageVolLookupByNameArgs
- type StorageVolLookupByNameRet
- type StorageVolLookupByPathArgs
- type StorageVolLookupByPathRet
- type StorageVolResizeArgs
- type StorageVolResizeFlags
- type StorageVolType
- type StorageVolUploadArgs
- type StorageVolUploadFlags
- type StorageVolWipeAlgorithm
- type StorageVolWipeArgs
- type StorageVolWipePatternArgs
- type StorageXMLFlags
- type StreamEventType
- type StreamFlags
- type StreamRecvFlagsValues
- type TypedParam
- type TypedParamValue
- func NewTypedParamValueBoolean(v int32) *TypedParamValue
- func NewTypedParamValueDouble(v float64) *TypedParamValue
- func NewTypedParamValueInt(v int32) *TypedParamValue
- func NewTypedParamValueLlong(v int64) *TypedParamValue
- func NewTypedParamValueString(v string) *TypedParamValue
- func NewTypedParamValueUint(v uint32) *TypedParamValue
- func NewTypedParamValueUllong(v uint64) *TypedParamValue
- type TypedParameterFlags
- type TypedParameterType
- type UUID
- type VCPUState
- type VcpuInfo
Constants ¶
const ( // ExportVar as defined in libvirt/libvirt-common.h:57 ExportVar = 0 // TypedParamFieldLength as defined in libvirt/libvirt-common.h:170 TypedParamFieldLength = 80 // SecurityLabelBuflen as defined in libvirt/libvirt-host.h:84 SecurityLabelBuflen = 4097 // SecurityModelBuflen as defined in libvirt/libvirt-host.h:112 SecurityModelBuflen = 257 // SecurityDoiBuflen as defined in libvirt/libvirt-host.h:119 SecurityDoiBuflen = 257 // NodeCPUStatsFieldLength as defined in libvirt/libvirt-host.h:176 NodeCPUStatsFieldLength = 80 // NodeCPUStatsKernel as defined in libvirt/libvirt-host.h:193 NodeCPUStatsKernel = "kernel" // NodeCPUStatsUser as defined in libvirt/libvirt-host.h:201 NodeCPUStatsUser = "user" // NodeCPUStatsIdle as defined in libvirt/libvirt-host.h:209 NodeCPUStatsIdle = "idle" // NodeCPUStatsIowait as defined in libvirt/libvirt-host.h:217 NodeCPUStatsIowait = "iowait" // NodeCPUStatsIntr as defined in libvirt/libvirt-host.h:225 NodeCPUStatsIntr = "intr" // NodeCPUStatsUtilization as defined in libvirt/libvirt-host.h:234 NodeCPUStatsUtilization = "utilization" // NodeMemoryStatsFieldLength as defined in libvirt/libvirt-host.h:254 NodeMemoryStatsFieldLength = 80 // NodeMemoryStatsTotal as defined in libvirt/libvirt-host.h:271 NodeMemoryStatsTotal = "total" // NodeMemoryStatsFree as defined in libvirt/libvirt-host.h:280 NodeMemoryStatsFree = "free" // NodeMemoryStatsBuffers as defined in libvirt/libvirt-host.h:288 NodeMemoryStatsBuffers = "buffers" // NodeMemoryStatsCached as defined in libvirt/libvirt-host.h:296 NodeMemoryStatsCached = "cached" NodeMemorySharedPagesToScan = "shm_pages_to_scan" NodeMemorySharedSleepMillisecs = "shm_sleep_millisecs" NodeMemorySharedPagesShared = "shm_pages_shared" NodeMemorySharedPagesSharing = "shm_pages_sharing" NodeMemorySharedPagesUnshared = "shm_pages_unshared" NodeMemorySharedPagesVolatile = "shm_pages_volatile" NodeMemorySharedFullScans = "shm_full_scans" NodeMemorySharedMergeAcrossNodes = "shm_merge_across_nodes" // NodeSevPdh as defined in libvirt/libvirt-host.h:445 NodeSevPdh = "pdh" // NodeSevCertChain as defined in libvirt/libvirt-host.h:454 NodeSevCertChain = "cert-chain" // NodeSevCbitpos as defined in libvirt/libvirt-host.h:461 NodeSevCbitpos = "cbitpos" // NodeSevReducedPhysBits as defined in libvirt/libvirt-host.h:469 NodeSevReducedPhysBits = "reduced-phys-bits" // UUIDBuflen as defined in libvirt/libvirt-host.h:554 UUIDBuflen = 16 // UUIDStringBuflen as defined in libvirt/libvirt-host.h:563 UUIDStringBuflen = 37 DomainSchedulerCPUShares = "cpu_shares" // DomainSchedulerGlobalPeriod as defined in libvirt/libvirt-domain.h:324 DomainSchedulerGlobalPeriod = "global_period" // DomainSchedulerGlobalQuota as defined in libvirt/libvirt-domain.h:332 DomainSchedulerGlobalQuota = "global_quota" // DomainSchedulerVCPUPeriod as defined in libvirt/libvirt-domain.h:340 DomainSchedulerVCPUPeriod = "vcpu_period" // DomainSchedulerVCPUQuota as defined in libvirt/libvirt-domain.h:348 DomainSchedulerVCPUQuota = "vcpu_quota" // DomainSchedulerEmulatorPeriod as defined in libvirt/libvirt-domain.h:357 DomainSchedulerEmulatorPeriod = "emulator_period" // DomainSchedulerEmulatorQuota as defined in libvirt/libvirt-domain.h:366 DomainSchedulerEmulatorQuota = "emulator_quota" // DomainSchedulerIothreadPeriod as defined in libvirt/libvirt-domain.h:374 DomainSchedulerIothreadPeriod = "iothread_period" // DomainSchedulerIothreadQuota as defined in libvirt/libvirt-domain.h:382 DomainSchedulerIothreadQuota = "iothread_quota" // DomainSchedulerWeight as defined in libvirt/libvirt-domain.h:390 DomainSchedulerWeight = "weight" // DomainSchedulerCap as defined in libvirt/libvirt-domain.h:398 DomainSchedulerCap = "cap" // DomainSchedulerReservation as defined in libvirt/libvirt-domain.h:406 DomainSchedulerReservation = "reservation" // DomainSchedulerLimit as defined in libvirt/libvirt-domain.h:414 DomainSchedulerLimit = "limit" DomainSchedulerShares = "shares" // DomainBlockStatsFieldLength as defined in libvirt/libvirt-domain.h:480 DomainBlockStatsFieldLength = 80 // DomainBlockStatsReadBytes as defined in libvirt/libvirt-domain.h:488 DomainBlockStatsReadBytes = "rd_bytes" // DomainBlockStatsReadReq as defined in libvirt/libvirt-domain.h:496 DomainBlockStatsReadReq = "rd_operations" // DomainBlockStatsReadTotalTimes as defined in libvirt/libvirt-domain.h:504 DomainBlockStatsReadTotalTimes = "rd_total_times" // DomainBlockStatsWriteBytes as defined in libvirt/libvirt-domain.h:512 DomainBlockStatsWriteBytes = "wr_bytes" // DomainBlockStatsWriteReq as defined in libvirt/libvirt-domain.h:520 DomainBlockStatsWriteReq = "wr_operations" // DomainBlockStatsWriteTotalTimes as defined in libvirt/libvirt-domain.h:528 DomainBlockStatsWriteTotalTimes = "wr_total_times" // DomainBlockStatsFlushReq as defined in libvirt/libvirt-domain.h:536 DomainBlockStatsFlushReq = "flush_operations" // DomainBlockStatsFlushTotalTimes as defined in libvirt/libvirt-domain.h:544 DomainBlockStatsFlushTotalTimes = "flush_total_times" // DomainBlockStatsErrs as defined in libvirt/libvirt-domain.h:551 DomainBlockStatsErrs = "errs" // MigrateParamURI as defined in libvirt/libvirt-domain.h:850 MigrateParamURI = "migrate_uri" // MigrateParamDestName as defined in libvirt/libvirt-domain.h:860 MigrateParamDestName = "destination_name" // MigrateParamDestXML as defined in libvirt/libvirt-domain.h:879 MigrateParamDestXML = "destination_xml" // MigrateParamPersistXML as defined in libvirt/libvirt-domain.h:894 MigrateParamPersistXML = "persistent_xml" // MigrateParamBandwidth as defined in libvirt/libvirt-domain.h:904 MigrateParamBandwidth = "bandwidth" // MigrateParamGraphicsURI as defined in libvirt/libvirt-domain.h:925 MigrateParamGraphicsURI = "graphics_uri" // MigrateParamListenAddress as defined in libvirt/libvirt-domain.h:936 MigrateParamListenAddress = "listen_address" // MigrateParamMigrateDisks as defined in libvirt/libvirt-domain.h:945 MigrateParamMigrateDisks = "migrate_disks" // MigrateParamDisksPort as defined in libvirt/libvirt-domain.h:955 MigrateParamDisksPort = "disks_port" // MigrateParamCompression as defined in libvirt/libvirt-domain.h:965 MigrateParamCompression = "compression" // MigrateParamCompressionMtLevel as defined in libvirt/libvirt-domain.h:974 MigrateParamCompressionMtLevel = "compression.mt.level" // MigrateParamCompressionMtThreads as defined in libvirt/libvirt-domain.h:982 MigrateParamCompressionMtThreads = "compression.mt.threads" // MigrateParamCompressionMtDthreads as defined in libvirt/libvirt-domain.h:990 MigrateParamCompressionMtDthreads = "compression.mt.dthreads" // MigrateParamCompressionXbzrleCache as defined in libvirt/libvirt-domain.h:998 MigrateParamCompressionXbzrleCache = "compression.xbzrle.cache" // MigrateParamAutoConvergeInitial as defined in libvirt/libvirt-domain.h:1007 MigrateParamAutoConvergeInitial = "auto_converge.initial" // MigrateParamAutoConvergeIncrement as defined in libvirt/libvirt-domain.h:1017 MigrateParamAutoConvergeIncrement = "auto_converge.increment" // DomainCPUStatsCputime as defined in libvirt/libvirt-domain.h:1270 DomainCPUStatsCputime = "cpu_time" // DomainCPUStatsUsertime as defined in libvirt/libvirt-domain.h:1276 DomainCPUStatsUsertime = "user_time" // DomainCPUStatsSystemtime as defined in libvirt/libvirt-domain.h:1282 DomainCPUStatsSystemtime = "system_time" // DomainCPUStatsVcputime as defined in libvirt/libvirt-domain.h:1289 DomainCPUStatsVcputime = "vcpu_time" // DomainBlkioWeight as defined in libvirt/libvirt-domain.h:1318 DomainBlkioWeight = "weight" // DomainBlkioDeviceWeight as defined in libvirt/libvirt-domain.h:1328 DomainBlkioDeviceWeight = "device_weight" // DomainBlkioDeviceReadIops as defined in libvirt/libvirt-domain.h:1339 DomainBlkioDeviceReadIops = "device_read_iops_sec" // DomainBlkioDeviceWriteIops as defined in libvirt/libvirt-domain.h:1350 DomainBlkioDeviceWriteIops = "device_write_iops_sec" // DomainBlkioDeviceReadBps as defined in libvirt/libvirt-domain.h:1361 DomainBlkioDeviceReadBps = "device_read_bytes_sec" // DomainBlkioDeviceWriteBps as defined in libvirt/libvirt-domain.h:1372 DomainBlkioDeviceWriteBps = "device_write_bytes_sec" // DomainMemoryParamUnlimited as defined in libvirt/libvirt-domain.h:1391 DomainMemoryParamUnlimited = 9007199254740991 // DomainMemoryHardLimit as defined in libvirt/libvirt-domain.h:1400 DomainMemoryHardLimit = "hard_limit" // DomainMemorySoftLimit as defined in libvirt/libvirt-domain.h:1409 DomainMemorySoftLimit = "soft_limit" // DomainMemoryMinGuarantee as defined in libvirt/libvirt-domain.h:1418 DomainMemoryMinGuarantee = "min_guarantee" // DomainMemorySwapHardLimit as defined in libvirt/libvirt-domain.h:1428 DomainMemorySwapHardLimit = "swap_hard_limit" // DomainNumaNodeset as defined in libvirt/libvirt-domain.h:1473 DomainNumaNodeset = "numa_nodeset" // DomainNumaMode as defined in libvirt/libvirt-domain.h:1481 DomainNumaMode = "numa_mode" // DomainBandwidthInAverage as defined in libvirt/libvirt-domain.h:1593 DomainBandwidthInAverage = "inbound.average" // DomainBandwidthInPeak as defined in libvirt/libvirt-domain.h:1600 DomainBandwidthInPeak = "inbound.peak" // DomainBandwidthInBurst as defined in libvirt/libvirt-domain.h:1607 DomainBandwidthInBurst = "inbound.burst" // DomainBandwidthInFloor as defined in libvirt/libvirt-domain.h:1614 DomainBandwidthInFloor = "inbound.floor" // DomainBandwidthOutAverage as defined in libvirt/libvirt-domain.h:1621 DomainBandwidthOutAverage = "outbound.average" // DomainBandwidthOutPeak as defined in libvirt/libvirt-domain.h:1628 DomainBandwidthOutPeak = "outbound.peak" // DomainBandwidthOutBurst as defined in libvirt/libvirt-domain.h:1635 DomainBandwidthOutBurst = "outbound.burst" // DomainIothreadPollMaxNs as defined in libvirt/libvirt-domain.h:1929 DomainIothreadPollMaxNs = "poll_max_ns" // DomainIothreadPollGrow as defined in libvirt/libvirt-domain.h:1939 DomainIothreadPollGrow = "poll_grow" // DomainIothreadPollShrink as defined in libvirt/libvirt-domain.h:1950 DomainIothreadPollShrink = "poll_shrink" // PerfParamCmt as defined in libvirt/libvirt-domain.h:2141 PerfParamCmt = "cmt" // PerfParamMbmt as defined in libvirt/libvirt-domain.h:2152 PerfParamMbmt = "mbmt" // PerfParamMbml as defined in libvirt/libvirt-domain.h:2162 PerfParamMbml = "mbml" // PerfParamCacheMisses as defined in libvirt/libvirt-domain.h:2172 PerfParamCacheMisses = "cache_misses" // PerfParamCacheReferences as defined in libvirt/libvirt-domain.h:2182 PerfParamCacheReferences = "cache_references" // PerfParamInstructions as defined in libvirt/libvirt-domain.h:2192 PerfParamInstructions = "instructions" // PerfParamCPUCycles as defined in libvirt/libvirt-domain.h:2202 PerfParamCPUCycles = "cpu_cycles" // PerfParamBranchInstructions as defined in libvirt/libvirt-domain.h:2212 PerfParamBranchInstructions = "branch_instructions" // PerfParamBranchMisses as defined in libvirt/libvirt-domain.h:2222 PerfParamBranchMisses = "branch_misses" // PerfParamBusCycles as defined in libvirt/libvirt-domain.h:2232 PerfParamBusCycles = "bus_cycles" // PerfParamStalledCyclesFrontend as defined in libvirt/libvirt-domain.h:2243 PerfParamStalledCyclesFrontend = "stalled_cycles_frontend" // PerfParamStalledCyclesBackend as defined in libvirt/libvirt-domain.h:2254 PerfParamStalledCyclesBackend = "stalled_cycles_backend" // PerfParamRefCPUCycles as defined in libvirt/libvirt-domain.h:2265 PerfParamRefCPUCycles = "ref_cpu_cycles" // PerfParamCPUClock as defined in libvirt/libvirt-domain.h:2276 PerfParamCPUClock = "cpu_clock" // PerfParamTaskClock as defined in libvirt/libvirt-domain.h:2287 PerfParamTaskClock = "task_clock" // PerfParamPageFaults as defined in libvirt/libvirt-domain.h:2297 PerfParamPageFaults = "page_faults" // PerfParamContextSwitches as defined in libvirt/libvirt-domain.h:2307 PerfParamContextSwitches = "context_switches" // PerfParamCPUMigrations as defined in libvirt/libvirt-domain.h:2317 PerfParamCPUMigrations = "cpu_migrations" // PerfParamPageFaultsMin as defined in libvirt/libvirt-domain.h:2327 PerfParamPageFaultsMin = "page_faults_min" // PerfParamPageFaultsMaj as defined in libvirt/libvirt-domain.h:2337 PerfParamPageFaultsMaj = "page_faults_maj" // PerfParamAlignmentFaults as defined in libvirt/libvirt-domain.h:2347 PerfParamAlignmentFaults = "alignment_faults" // PerfParamEmulationFaults as defined in libvirt/libvirt-domain.h:2357 PerfParamEmulationFaults = "emulation_faults" // DomainBlockCopyBandwidth as defined in libvirt/libvirt-domain.h:2521 DomainBlockCopyBandwidth = "bandwidth" // DomainBlockCopyGranularity as defined in libvirt/libvirt-domain.h:2532 DomainBlockCopyGranularity = "granularity" // DomainBlockCopyBufSize as defined in libvirt/libvirt-domain.h:2541 DomainBlockCopyBufSize = "buf-size" // DomainBlockIotuneTotalBytesSec as defined in libvirt/libvirt-domain.h:2582 DomainBlockIotuneTotalBytesSec = "total_bytes_sec" // DomainBlockIotuneReadBytesSec as defined in libvirt/libvirt-domain.h:2590 DomainBlockIotuneReadBytesSec = "read_bytes_sec" // DomainBlockIotuneWriteBytesSec as defined in libvirt/libvirt-domain.h:2598 DomainBlockIotuneWriteBytesSec = "write_bytes_sec" // DomainBlockIotuneTotalIopsSec as defined in libvirt/libvirt-domain.h:2606 DomainBlockIotuneTotalIopsSec = "total_iops_sec" // DomainBlockIotuneReadIopsSec as defined in libvirt/libvirt-domain.h:2614 DomainBlockIotuneReadIopsSec = "read_iops_sec" // DomainBlockIotuneWriteIopsSec as defined in libvirt/libvirt-domain.h:2621 DomainBlockIotuneWriteIopsSec = "write_iops_sec" // DomainBlockIotuneTotalBytesSecMax as defined in libvirt/libvirt-domain.h:2629 DomainBlockIotuneTotalBytesSecMax = "total_bytes_sec_max" // DomainBlockIotuneReadBytesSecMax as defined in libvirt/libvirt-domain.h:2637 DomainBlockIotuneReadBytesSecMax = "read_bytes_sec_max" // DomainBlockIotuneWriteBytesSecMax as defined in libvirt/libvirt-domain.h:2645 DomainBlockIotuneWriteBytesSecMax = "write_bytes_sec_max" // DomainBlockIotuneTotalIopsSecMax as defined in libvirt/libvirt-domain.h:2653 DomainBlockIotuneTotalIopsSecMax = "total_iops_sec_max" // DomainBlockIotuneReadIopsSecMax as defined in libvirt/libvirt-domain.h:2661 DomainBlockIotuneReadIopsSecMax = "read_iops_sec_max" // DomainBlockIotuneWriteIopsSecMax as defined in libvirt/libvirt-domain.h:2668 DomainBlockIotuneWriteIopsSecMax = "write_iops_sec_max" // DomainBlockIotuneTotalBytesSecMaxLength as defined in libvirt/libvirt-domain.h:2676 DomainBlockIotuneTotalBytesSecMaxLength = "total_bytes_sec_max_length" // DomainBlockIotuneReadBytesSecMaxLength as defined in libvirt/libvirt-domain.h:2684 DomainBlockIotuneReadBytesSecMaxLength = "read_bytes_sec_max_length" // DomainBlockIotuneWriteBytesSecMaxLength as defined in libvirt/libvirt-domain.h:2692 DomainBlockIotuneWriteBytesSecMaxLength = "write_bytes_sec_max_length" // DomainBlockIotuneTotalIopsSecMaxLength as defined in libvirt/libvirt-domain.h:2700 DomainBlockIotuneTotalIopsSecMaxLength = "total_iops_sec_max_length" // DomainBlockIotuneReadIopsSecMaxLength as defined in libvirt/libvirt-domain.h:2708 DomainBlockIotuneReadIopsSecMaxLength = "read_iops_sec_max_length" // DomainBlockIotuneWriteIopsSecMaxLength as defined in libvirt/libvirt-domain.h:2716 DomainBlockIotuneWriteIopsSecMaxLength = "write_iops_sec_max_length" // DomainBlockIotuneSizeIopsSec as defined in libvirt/libvirt-domain.h:2723 DomainBlockIotuneSizeIopsSec = "size_iops_sec" // DomainBlockIotuneGroupName as defined in libvirt/libvirt-domain.h:2730 DomainBlockIotuneGroupName = "group_name" // KeycodeSetRfb as defined in libvirt/libvirt-domain.h:2811 KeycodeSetRfb = 0 // DomainSendKeyMaxKeys as defined in libvirt/libvirt-domain.h:2818 DomainSendKeyMaxKeys = 16 // DomainJobOperationStr as defined in libvirt/libvirt-domain.h:3230 DomainJobOperationStr = "operation" // DomainJobTimeElapsed as defined in libvirt/libvirt-domain.h:3240 DomainJobTimeElapsed = "time_elapsed" // DomainJobTimeElapsedNet as defined in libvirt/libvirt-domain.h:3250 DomainJobTimeElapsedNet = "time_elapsed_net" // DomainJobTimeRemaining as defined in libvirt/libvirt-domain.h:3260 DomainJobTimeRemaining = "time_remaining" // DomainJobDowntime as defined in libvirt/libvirt-domain.h:3270 DomainJobDowntime = "downtime" // DomainJobDowntimeNet as defined in libvirt/libvirt-domain.h:3279 DomainJobDowntimeNet = "downtime_net" // DomainJobSetupTime as defined in libvirt/libvirt-domain.h:3288 DomainJobSetupTime = "setup_time" // DomainJobDataTotal as defined in libvirt/libvirt-domain.h:3303 DomainJobDataTotal = "data_total" // DomainJobDataProcessed as defined in libvirt/libvirt-domain.h:3313 DomainJobDataProcessed = "data_processed" // DomainJobDataRemaining as defined in libvirt/libvirt-domain.h:3323 DomainJobDataRemaining = "data_remaining" // DomainJobMemoryTotal as defined in libvirt/libvirt-domain.h:3333 DomainJobMemoryTotal = "memory_total" // DomainJobMemoryProcessed as defined in libvirt/libvirt-domain.h:3343 DomainJobMemoryProcessed = "memory_processed" // DomainJobMemoryRemaining as defined in libvirt/libvirt-domain.h:3353 DomainJobMemoryRemaining = "memory_remaining" // DomainJobMemoryConstant as defined in libvirt/libvirt-domain.h:3365 DomainJobMemoryConstant = "memory_constant" // DomainJobMemoryNormal as defined in libvirt/libvirt-domain.h:3375 DomainJobMemoryNormal = "memory_normal" // DomainJobMemoryNormalBytes as defined in libvirt/libvirt-domain.h:3385 DomainJobMemoryNormalBytes = "memory_normal_bytes" // DomainJobMemoryBps as defined in libvirt/libvirt-domain.h:3393 DomainJobMemoryBps = "memory_bps" // DomainJobMemoryDirtyRate as defined in libvirt/libvirt-domain.h:3401 DomainJobMemoryDirtyRate = "memory_dirty_rate" // DomainJobMemoryPageSize as defined in libvirt/libvirt-domain.h:3412 DomainJobMemoryPageSize = "memory_page_size" // DomainJobMemoryIteration as defined in libvirt/libvirt-domain.h:3423 DomainJobMemoryIteration = "memory_iteration" // DomainJobMemoryPostcopyReqs as defined in libvirt/libvirt-domain.h:3433 DomainJobMemoryPostcopyReqs = "memory_postcopy_requests" // DomainJobDiskTotal as defined in libvirt/libvirt-domain.h:3443 DomainJobDiskTotal = "disk_total" // DomainJobDiskProcessed as defined in libvirt/libvirt-domain.h:3453 DomainJobDiskProcessed = "disk_processed" // DomainJobDiskRemaining as defined in libvirt/libvirt-domain.h:3463 DomainJobDiskRemaining = "disk_remaining" // DomainJobDiskBps as defined in libvirt/libvirt-domain.h:3471 DomainJobDiskBps = "disk_bps" // DomainJobCompressionCache as defined in libvirt/libvirt-domain.h:3480 DomainJobCompressionCache = "compression_cache" // DomainJobCompressionBytes as defined in libvirt/libvirt-domain.h:3488 DomainJobCompressionBytes = "compression_bytes" // DomainJobCompressionPages as defined in libvirt/libvirt-domain.h:3496 DomainJobCompressionPages = "compression_pages" // DomainJobCompressionCacheMisses as defined in libvirt/libvirt-domain.h:3505 DomainJobCompressionCacheMisses = "compression_cache_misses" // DomainJobCompressionOverflow as defined in libvirt/libvirt-domain.h:3515 DomainJobCompressionOverflow = "compression_overflow" // DomainJobAutoConvergeThrottle as defined in libvirt/libvirt-domain.h:3524 DomainJobAutoConvergeThrottle = "auto_converge_throttle" // DomainTunableCPUVcpupin as defined in libvirt/libvirt-domain.h:4078 DomainTunableCPUVcpupin = "cputune.vcpupin%u" // DomainTunableCPUEmulatorpin as defined in libvirt/libvirt-domain.h:4086 DomainTunableCPUEmulatorpin = "cputune.emulatorpin" // DomainTunableCPUIothreadspin as defined in libvirt/libvirt-domain.h:4095 DomainTunableCPUIothreadspin = "cputune.iothreadpin%u" DomainTunableCPUCpuShares = "cputune.cpu_shares" // DomainTunableCPUGlobalPeriod as defined in libvirt/libvirt-domain.h:4111 DomainTunableCPUGlobalPeriod = "cputune.global_period" // DomainTunableCPUGlobalQuota as defined in libvirt/libvirt-domain.h:4119 DomainTunableCPUGlobalQuota = "cputune.global_quota" // DomainTunableCPUVCPUPeriod as defined in libvirt/libvirt-domain.h:4127 DomainTunableCPUVCPUPeriod = "cputune.vcpu_period" // DomainTunableCPUVCPUQuota as defined in libvirt/libvirt-domain.h:4135 DomainTunableCPUVCPUQuota = "cputune.vcpu_quota" // DomainTunableCPUEmulatorPeriod as defined in libvirt/libvirt-domain.h:4144 DomainTunableCPUEmulatorPeriod = "cputune.emulator_period" // DomainTunableCPUEmulatorQuota as defined in libvirt/libvirt-domain.h:4153 DomainTunableCPUEmulatorQuota = "cputune.emulator_quota" // DomainTunableCPUIothreadPeriod as defined in libvirt/libvirt-domain.h:4161 DomainTunableCPUIothreadPeriod = "cputune.iothread_period" // DomainTunableCPUIothreadQuota as defined in libvirt/libvirt-domain.h:4169 DomainTunableCPUIothreadQuota = "cputune.iothread_quota" // DomainTunableBlkdevDisk as defined in libvirt/libvirt-domain.h:4177 DomainTunableBlkdevDisk = "blkdeviotune.disk" // DomainTunableBlkdevTotalBytesSec as defined in libvirt/libvirt-domain.h:4185 DomainTunableBlkdevTotalBytesSec = "blkdeviotune.total_bytes_sec" // DomainTunableBlkdevReadBytesSec as defined in libvirt/libvirt-domain.h:4193 DomainTunableBlkdevReadBytesSec = "blkdeviotune.read_bytes_sec" // DomainTunableBlkdevWriteBytesSec as defined in libvirt/libvirt-domain.h:4201 DomainTunableBlkdevWriteBytesSec = "blkdeviotune.write_bytes_sec" // DomainTunableBlkdevTotalIopsSec as defined in libvirt/libvirt-domain.h:4209 DomainTunableBlkdevTotalIopsSec = "blkdeviotune.total_iops_sec" // DomainTunableBlkdevReadIopsSec as defined in libvirt/libvirt-domain.h:4217 DomainTunableBlkdevReadIopsSec = "blkdeviotune.read_iops_sec" // DomainTunableBlkdevWriteIopsSec as defined in libvirt/libvirt-domain.h:4225 DomainTunableBlkdevWriteIopsSec = "blkdeviotune.write_iops_sec" // DomainTunableBlkdevTotalBytesSecMax as defined in libvirt/libvirt-domain.h:4233 DomainTunableBlkdevTotalBytesSecMax = "blkdeviotune.total_bytes_sec_max" // DomainTunableBlkdevReadBytesSecMax as defined in libvirt/libvirt-domain.h:4241 DomainTunableBlkdevReadBytesSecMax = "blkdeviotune.read_bytes_sec_max" // DomainTunableBlkdevWriteBytesSecMax as defined in libvirt/libvirt-domain.h:4249 DomainTunableBlkdevWriteBytesSecMax = "blkdeviotune.write_bytes_sec_max" // DomainTunableBlkdevTotalIopsSecMax as defined in libvirt/libvirt-domain.h:4257 DomainTunableBlkdevTotalIopsSecMax = "blkdeviotune.total_iops_sec_max" // DomainTunableBlkdevReadIopsSecMax as defined in libvirt/libvirt-domain.h:4265 DomainTunableBlkdevReadIopsSecMax = "blkdeviotune.read_iops_sec_max" // DomainTunableBlkdevWriteIopsSecMax as defined in libvirt/libvirt-domain.h:4273 DomainTunableBlkdevWriteIopsSecMax = "blkdeviotune.write_iops_sec_max" // DomainTunableBlkdevSizeIopsSec as defined in libvirt/libvirt-domain.h:4281 DomainTunableBlkdevSizeIopsSec = "blkdeviotune.size_iops_sec" // DomainTunableBlkdevGroupName as defined in libvirt/libvirt-domain.h:4289 DomainTunableBlkdevGroupName = "blkdeviotune.group_name" // DomainTunableBlkdevTotalBytesSecMaxLength as defined in libvirt/libvirt-domain.h:4298 DomainTunableBlkdevTotalBytesSecMaxLength = "blkdeviotune.total_bytes_sec_max_length" // DomainTunableBlkdevReadBytesSecMaxLength as defined in libvirt/libvirt-domain.h:4307 DomainTunableBlkdevReadBytesSecMaxLength = "blkdeviotune.read_bytes_sec_max_length" // DomainTunableBlkdevWriteBytesSecMaxLength as defined in libvirt/libvirt-domain.h:4316 DomainTunableBlkdevWriteBytesSecMaxLength = "blkdeviotune.write_bytes_sec_max_length" // DomainTunableBlkdevTotalIopsSecMaxLength as defined in libvirt/libvirt-domain.h:4325 DomainTunableBlkdevTotalIopsSecMaxLength = "blkdeviotune.total_iops_sec_max_length" // DomainTunableBlkdevReadIopsSecMaxLength as defined in libvirt/libvirt-domain.h:4334 DomainTunableBlkdevReadIopsSecMaxLength = "blkdeviotune.read_iops_sec_max_length" // DomainTunableBlkdevWriteIopsSecMaxLength as defined in libvirt/libvirt-domain.h:4343 DomainTunableBlkdevWriteIopsSecMaxLength = "blkdeviotune.write_iops_sec_max_length" // DomainSchedFieldLength as defined in libvirt/libvirt-domain.h:4631 DomainSchedFieldLength = 80 // DomainBlkioFieldLength as defined in libvirt/libvirt-domain.h:4675 DomainBlkioFieldLength = 80 // DomainMemoryFieldLength as defined in libvirt/libvirt-domain.h:4719 DomainMemoryFieldLength = 80 // DomainLaunchSecuritySevMeasurement as defined in libvirt/libvirt-domain.h:4845 DomainLaunchSecuritySevMeasurement = "sev-measurement" )
const ( // Call is used when making calls to the remote server. Call = iota // Reply indicates a server reply. Reply // Message is an asynchronous notification. Message // Stream represents a stream data packet. Stream // CallWithFDs is used by a client to indicate the request has // arguments with file descriptors. CallWithFDs // ReplyWithFDs is used by a server to indicate the request has // arguments with file descriptors. ReplyWithFDs )
request and response types
const ( // StatusOK is always set for method calls or events. // For replies it indicates successful completion of the method. // For streams it indicates confirmation of the end of file on the stream. StatusOK = iota // StatusError for replies indicates that the method call failed // and error information is being returned. For streams this indicates // that not all data was sent and the stream has aborted. StatusError // StatusContinue is only used for streams. // This indicates that further data packets will be following. StatusContinue )
request and response statuses
const ( // B - byte B = 1 // KiB - kibibyte KiB = 1024 * B // MiB - mebibyte MiB = 1024 * KiB )
const (
VirUUIDBuflen = 16
)
Variables ¶
var ErrEventsNotSupported = errors.New("event monitor is not supported")
ErrEventsNotSupported is returned by Events() if event streams are unsupported by either QEMU or libvirt.
var ErrUnsupported = errors.New("unsupported procedure requested")
ErrUnsupported is returned if a procedure is not supported by libvirt
Functions ¶
Types ¶
type AuthListRet ¶
type AuthListRet struct {
Types []AuthType
}
AuthListRet is libvirt's remote_auth_list_ret
type AuthPolkitRet ¶
type AuthPolkitRet struct {
Complete int32
}
AuthPolkitRet is libvirt's remote_auth_polkit_ret
type AuthSaslInitRet ¶
type AuthSaslInitRet struct {
Mechlist string
}
AuthSaslInitRet is libvirt's remote_auth_sasl_init_ret
type AuthSaslStartArgs ¶
AuthSaslStartArgs is libvirt's remote_auth_sasl_start_args
type AuthSaslStartRet ¶
AuthSaslStartRet is libvirt's remote_auth_sasl_start_ret
type AuthSaslStepArgs ¶
AuthSaslStepArgs is libvirt's remote_auth_sasl_step_args
type AuthSaslStepRet ¶
AuthSaslStepRet is libvirt's remote_auth_sasl_step_ret
type BlkioParameterType ¶
type BlkioParameterType int32
BlkioParameterType as declared in libvirt/libvirt-domain.h:4666
const ( DomainBlkioParamInt BlkioParameterType = 1 DomainBlkioParamUint BlkioParameterType = 2 DomainBlkioParamLlong BlkioParameterType = 3 DomainBlkioParamUllong BlkioParameterType = 4 DomainBlkioParamDouble BlkioParameterType = 5 DomainBlkioParamBoolean BlkioParameterType = 6 )
BlkioParameterType enumeration from libvirt/libvirt-domain.h:4666
type BlockLimit ¶
BlockLimit contains a name and value pair for a Get/SetBlockIOTune limit. The Name field is the name of the limit (to see a list of the limits that can be applied, execute the 'blkdeviotune' command on a VM in virsh). Callers can use the QEMUBlockIO... constants below for the Name value. The Value field is the limit to apply.
type CPUCompareResult ¶
type CPUCompareResult int32
CPUCompareResult as declared in libvirt/libvirt-host.h:674
const ( CPUCompareError CPUCompareResult = -1 CPUCompareIncompatible CPUCompareResult = 0 CPUCompareIdentical CPUCompareResult = 1 CPUCompareSuperset CPUCompareResult = 2 )
CPUCompareResult enumeration from libvirt/libvirt-host.h:674
type ConnectBaselineCPUArgs ¶
type ConnectBaselineCPUArgs struct { XMLCPUs []string Flags ConnectBaselineCPUFlags }
ConnectBaselineCPUArgs is libvirt's remote_connect_baseline_cpu_args
type ConnectBaselineCPUFlags ¶
type ConnectBaselineCPUFlags int32
ConnectBaselineCPUFlags as declared in libvirt/libvirt-host.h:705
const ( ConnectBaselineCPUExpandFeatures ConnectBaselineCPUFlags = 1 ConnectBaselineCPUMigratable ConnectBaselineCPUFlags = 2 )
ConnectBaselineCPUFlags enumeration from libvirt/libvirt-host.h:705
type ConnectBaselineCPURet ¶
type ConnectBaselineCPURet struct {
CPU string
}
ConnectBaselineCPURet is libvirt's remote_connect_baseline_cpu_ret
type ConnectBaselineHypervisorCPUArgs ¶
type ConnectBaselineHypervisorCPUArgs struct { Emulator OptString Arch OptString Machine OptString Virttype OptString XMLCPUs []string Flags uint32 }
ConnectBaselineHypervisorCPUArgs is libvirt's remote_connect_baseline_hypervisor_cpu_args
type ConnectBaselineHypervisorCPURet ¶
type ConnectBaselineHypervisorCPURet struct {
CPU string
}
ConnectBaselineHypervisorCPURet is libvirt's remote_connect_baseline_hypervisor_cpu_ret
type ConnectCloseReason ¶
type ConnectCloseReason int32
ConnectCloseReason as declared in libvirt/libvirt-common.h:119
const ( ConnectCloseReasonError ConnectCloseReason = iota ConnectCloseReasonEOF ConnectCloseReason = 1 ConnectCloseReasonKeepalive ConnectCloseReason = 2 ConnectCloseReasonClient ConnectCloseReason = 3 )
ConnectCloseReason enumeration from libvirt/libvirt-common.h:119
type ConnectCompareCPUArgs ¶
type ConnectCompareCPUArgs struct { XML string Flags ConnectCompareCPUFlags }
ConnectCompareCPUArgs is libvirt's remote_connect_compare_cpu_args
type ConnectCompareCPUFlags ¶
type ConnectCompareCPUFlags int32
ConnectCompareCPUFlags as declared in libvirt/libvirt-host.h:679
const (
ConnectCompareCPUFailIncompatible ConnectCompareCPUFlags = 1
)
ConnectCompareCPUFlags enumeration from libvirt/libvirt-host.h:679
type ConnectCompareCPURet ¶
type ConnectCompareCPURet struct {
Result int32
}
ConnectCompareCPURet is libvirt's remote_connect_compare_cpu_ret
type ConnectCompareHypervisorCPUArgs ¶
type ConnectCompareHypervisorCPUArgs struct { Emulator OptString Arch OptString Machine OptString Virttype OptString XMLCPU string Flags uint32 }
ConnectCompareHypervisorCPUArgs is libvirt's remote_connect_compare_hypervisor_cpu_args
type ConnectCompareHypervisorCPURet ¶
type ConnectCompareHypervisorCPURet struct {
Result int32
}
ConnectCompareHypervisorCPURet is libvirt's remote_connect_compare_hypervisor_cpu_ret
type ConnectCredentialType ¶
type ConnectCredentialType int32
ConnectCredentialType as declared in libvirt/libvirt-host.h:501
const ( CredUsername ConnectCredentialType = 1 CredAuthname ConnectCredentialType = 2 CredLanguage ConnectCredentialType = 3 CredCnonce ConnectCredentialType = 4 CredPassphrase ConnectCredentialType = 5 CredEchoprompt ConnectCredentialType = 6 CredNoechoprompt ConnectCredentialType = 7 CredRealm ConnectCredentialType = 8 CredExternal ConnectCredentialType = 9 )
ConnectCredentialType enumeration from libvirt/libvirt-host.h:501
type ConnectDomainEventAgentLifecycleReason ¶
type ConnectDomainEventAgentLifecycleReason int32
ConnectDomainEventAgentLifecycleReason as declared in libvirt/libvirt-domain.h:4388
const ( ConnectDomainEventAgentLifecycleReasonUnknown ConnectDomainEventAgentLifecycleReason = iota ConnectDomainEventAgentLifecycleReasonDomainStarted ConnectDomainEventAgentLifecycleReason = 1 ConnectDomainEventAgentLifecycleReasonChannel ConnectDomainEventAgentLifecycleReason = 2 )
ConnectDomainEventAgentLifecycleReason enumeration from libvirt/libvirt-domain.h:4388
type ConnectDomainEventAgentLifecycleState ¶
type ConnectDomainEventAgentLifecycleState int32
ConnectDomainEventAgentLifecycleState as declared in libvirt/libvirt-domain.h:4378
const ( ConnectDomainEventAgentLifecycleStateConnected ConnectDomainEventAgentLifecycleState = 1 ConnectDomainEventAgentLifecycleStateDisconnected ConnectDomainEventAgentLifecycleState = 2 )
ConnectDomainEventAgentLifecycleState enumeration from libvirt/libvirt-domain.h:4378
type ConnectDomainEventBlockJobStatus ¶
type ConnectDomainEventBlockJobStatus int32
ConnectDomainEventBlockJobStatus as declared in libvirt/libvirt-domain.h:3772
const ( DomainBlockJobCompleted ConnectDomainEventBlockJobStatus = iota DomainBlockJobFailed ConnectDomainEventBlockJobStatus = 1 DomainBlockJobCanceled ConnectDomainEventBlockJobStatus = 2 DomainBlockJobReady ConnectDomainEventBlockJobStatus = 3 )
ConnectDomainEventBlockJobStatus enumeration from libvirt/libvirt-domain.h:3772
type ConnectDomainEventCallbackDeregisterAnyArgs ¶
type ConnectDomainEventCallbackDeregisterAnyArgs struct {
CallbackID int32
}
ConnectDomainEventCallbackDeregisterAnyArgs is libvirt's remote_connect_domain_event_callback_deregister_any_args
type ConnectDomainEventCallbackRegisterAnyArgs ¶
ConnectDomainEventCallbackRegisterAnyArgs is libvirt's remote_connect_domain_event_callback_register_any_args
type ConnectDomainEventCallbackRegisterAnyRet ¶
type ConnectDomainEventCallbackRegisterAnyRet struct {
CallbackID int32
}
ConnectDomainEventCallbackRegisterAnyRet is libvirt's remote_connect_domain_event_callback_register_any_ret
type ConnectDomainEventDeregisterAnyArgs ¶
type ConnectDomainEventDeregisterAnyArgs struct {
EventID int32
}
ConnectDomainEventDeregisterAnyArgs is libvirt's remote_connect_domain_event_deregister_any_args
type ConnectDomainEventDeregisterRet ¶
type ConnectDomainEventDeregisterRet struct {
CbRegistered int32
}
ConnectDomainEventDeregisterRet is libvirt's remote_connect_domain_event_deregister_ret
type ConnectDomainEventDiskChangeReason ¶
type ConnectDomainEventDiskChangeReason int32
ConnectDomainEventDiskChangeReason as declared in libvirt/libvirt-domain.h:3822
const ( DomainEventDiskChangeMissingOnStart ConnectDomainEventDiskChangeReason = iota DomainEventDiskDropMissingOnStart ConnectDomainEventDiskChangeReason = 1 )
ConnectDomainEventDiskChangeReason enumeration from libvirt/libvirt-domain.h:3822
type ConnectDomainEventRegisterAnyArgs ¶
type ConnectDomainEventRegisterAnyArgs struct {
EventID int32
}
ConnectDomainEventRegisterAnyArgs is libvirt's remote_connect_domain_event_register_any_args
type ConnectDomainEventRegisterRet ¶
type ConnectDomainEventRegisterRet struct {
CbRegistered int32
}
ConnectDomainEventRegisterRet is libvirt's remote_connect_domain_event_register_ret
type ConnectDomainXMLFromNativeArgs ¶
ConnectDomainXMLFromNativeArgs is libvirt's remote_connect_domain_xml_from_native_args
type ConnectDomainXMLFromNativeRet ¶
type ConnectDomainXMLFromNativeRet struct {
DomainXML string
}
ConnectDomainXMLFromNativeRet is libvirt's remote_connect_domain_xml_from_native_ret
type ConnectDomainXMLToNativeArgs ¶
ConnectDomainXMLToNativeArgs is libvirt's remote_connect_domain_xml_to_native_args
type ConnectDomainXMLToNativeRet ¶
type ConnectDomainXMLToNativeRet struct {
NativeConfig string
}
ConnectDomainXMLToNativeRet is libvirt's remote_connect_domain_xml_to_native_ret
type ConnectEventConnectionClosedMsg ¶
type ConnectEventConnectionClosedMsg struct {
Reason int32
}
ConnectEventConnectionClosedMsg is libvirt's remote_connect_event_connection_closed_msg
type ConnectFindStoragePoolSourcesArgs ¶
ConnectFindStoragePoolSourcesArgs is libvirt's remote_connect_find_storage_pool_sources_args
type ConnectFindStoragePoolSourcesRet ¶
type ConnectFindStoragePoolSourcesRet struct {
XML string
}
ConnectFindStoragePoolSourcesRet is libvirt's remote_connect_find_storage_pool_sources_ret
type ConnectFlags ¶
type ConnectFlags int32
ConnectFlags as declared in libvirt/libvirt-host.h:484
const ( ConnectRo ConnectFlags = 1 ConnectNoAliases ConnectFlags = 2 )
ConnectFlags enumeration from libvirt/libvirt-host.h:484
type ConnectGetAllDomainStatsArgs ¶
type ConnectGetAllDomainStatsArgs struct { Doms []Domain Stats uint32 Flags ConnectGetAllDomainStatsFlags }
ConnectGetAllDomainStatsArgs is libvirt's remote_connect_get_all_domain_stats_args
type ConnectGetAllDomainStatsFlags ¶
type ConnectGetAllDomainStatsFlags int32
ConnectGetAllDomainStatsFlags as declared in libvirt/libvirt-domain.h:2115
const ( ConnectGetAllDomainsStatsActive ConnectGetAllDomainStatsFlags = 1 ConnectGetAllDomainsStatsInactive ConnectGetAllDomainStatsFlags = 2 ConnectGetAllDomainsStatsPersistent ConnectGetAllDomainStatsFlags = 4 ConnectGetAllDomainsStatsTransient ConnectGetAllDomainStatsFlags = 8 ConnectGetAllDomainsStatsRunning ConnectGetAllDomainStatsFlags = 16 ConnectGetAllDomainsStatsPaused ConnectGetAllDomainStatsFlags = 32 ConnectGetAllDomainsStatsShutoff ConnectGetAllDomainStatsFlags = 64 ConnectGetAllDomainsStatsOther ConnectGetAllDomainStatsFlags = 128 ConnectGetAllDomainsStatsNowait ConnectGetAllDomainStatsFlags = 536870912 ConnectGetAllDomainsStatsBacking ConnectGetAllDomainStatsFlags = 1073741824 ConnectGetAllDomainsStatsEnforceStats ConnectGetAllDomainStatsFlags = -2147483648 )
ConnectGetAllDomainStatsFlags enumeration from libvirt/libvirt-domain.h:2115
type ConnectGetAllDomainStatsRet ¶
type ConnectGetAllDomainStatsRet struct {
RetStats []DomainStatsRecord
}
ConnectGetAllDomainStatsRet is libvirt's remote_connect_get_all_domain_stats_ret
type ConnectGetCPUModelNamesArgs ¶
ConnectGetCPUModelNamesArgs is libvirt's remote_connect_get_cpu_model_names_args
type ConnectGetCPUModelNamesRet ¶
ConnectGetCPUModelNamesRet is libvirt's remote_connect_get_cpu_model_names_ret
type ConnectGetCapabilitiesRet ¶
type ConnectGetCapabilitiesRet struct {
Capabilities string
}
ConnectGetCapabilitiesRet is libvirt's remote_connect_get_capabilities_ret
type ConnectGetDomainCapabilitiesArgs ¶
type ConnectGetDomainCapabilitiesArgs struct { Emulatorbin OptString Arch OptString Machine OptString Virttype OptString Flags uint32 }
ConnectGetDomainCapabilitiesArgs is libvirt's remote_connect_get_domain_capabilities_args
type ConnectGetDomainCapabilitiesRet ¶
type ConnectGetDomainCapabilitiesRet struct {
Capabilities string
}
ConnectGetDomainCapabilitiesRet is libvirt's remote_connect_get_domain_capabilities_ret
type ConnectGetHostnameRet ¶
type ConnectGetHostnameRet struct {
Hostname string
}
ConnectGetHostnameRet is libvirt's remote_connect_get_hostname_ret
type ConnectGetLibVersionRet ¶
type ConnectGetLibVersionRet struct {
LibVer uint64
}
ConnectGetLibVersionRet is libvirt's remote_connect_get_lib_version_ret
type ConnectGetMaxVcpusArgs ¶
type ConnectGetMaxVcpusArgs struct {
Type OptString
}
ConnectGetMaxVcpusArgs is libvirt's remote_connect_get_max_vcpus_args
type ConnectGetMaxVcpusRet ¶
type ConnectGetMaxVcpusRet struct {
MaxVcpus int32
}
ConnectGetMaxVcpusRet is libvirt's remote_connect_get_max_vcpus_ret
type ConnectGetSysinfoArgs ¶
type ConnectGetSysinfoArgs struct {
Flags uint32
}
ConnectGetSysinfoArgs is libvirt's remote_connect_get_sysinfo_args
type ConnectGetSysinfoRet ¶
type ConnectGetSysinfoRet struct {
Sysinfo string
}
ConnectGetSysinfoRet is libvirt's remote_connect_get_sysinfo_ret
type ConnectGetTypeRet ¶
type ConnectGetTypeRet struct {
Type string
}
ConnectGetTypeRet is libvirt's remote_connect_get_type_ret
type ConnectGetUriRet ¶
type ConnectGetUriRet struct {
Uri string
}
ConnectGetUriRet is libvirt's remote_connect_get_uri_ret
type ConnectGetVersionRet ¶
type ConnectGetVersionRet struct {
HvVer uint64
}
ConnectGetVersionRet is libvirt's remote_connect_get_version_ret
type ConnectIsSecureRet ¶
type ConnectIsSecureRet struct {
Secure int32
}
ConnectIsSecureRet is libvirt's remote_connect_is_secure_ret
type ConnectListAllDomainsArgs ¶
type ConnectListAllDomainsArgs struct { NeedResults int32 Flags ConnectListAllDomainsFlags }
ConnectListAllDomainsArgs is libvirt's remote_connect_list_all_domains_args
type ConnectListAllDomainsFlags ¶
type ConnectListAllDomainsFlags int32
ConnectListAllDomainsFlags as declared in libvirt/libvirt-domain.h:1795
const ( ConnectListDomainsActive ConnectListAllDomainsFlags = 1 ConnectListDomainsInactive ConnectListAllDomainsFlags = 2 ConnectListDomainsPersistent ConnectListAllDomainsFlags = 4 ConnectListDomainsTransient ConnectListAllDomainsFlags = 8 ConnectListDomainsRunning ConnectListAllDomainsFlags = 16 ConnectListDomainsPaused ConnectListAllDomainsFlags = 32 ConnectListDomainsShutoff ConnectListAllDomainsFlags = 64 ConnectListDomainsOther ConnectListAllDomainsFlags = 128 ConnectListDomainsManagedsave ConnectListAllDomainsFlags = 256 ConnectListDomainsNoManagedsave ConnectListAllDomainsFlags = 512 ConnectListDomainsAutostart ConnectListAllDomainsFlags = 1024 ConnectListDomainsNoAutostart ConnectListAllDomainsFlags = 2048 ConnectListDomainsHasSnapshot ConnectListAllDomainsFlags = 4096 ConnectListDomainsNoSnapshot ConnectListAllDomainsFlags = 8192 )
ConnectListAllDomainsFlags enumeration from libvirt/libvirt-domain.h:1795
type ConnectListAllDomainsRet ¶
ConnectListAllDomainsRet is libvirt's remote_connect_list_all_domains_ret
type ConnectListAllInterfacesArgs ¶
type ConnectListAllInterfacesArgs struct { NeedResults int32 Flags ConnectListAllInterfacesFlags }
ConnectListAllInterfacesArgs is libvirt's remote_connect_list_all_interfaces_args
type ConnectListAllInterfacesFlags ¶
type ConnectListAllInterfacesFlags int32
ConnectListAllInterfacesFlags as declared in libvirt/libvirt-interface.h:64
const ( ConnectListInterfacesInactive ConnectListAllInterfacesFlags = 1 ConnectListInterfacesActive ConnectListAllInterfacesFlags = 2 )
ConnectListAllInterfacesFlags enumeration from libvirt/libvirt-interface.h:64
type ConnectListAllInterfacesRet ¶
ConnectListAllInterfacesRet is libvirt's remote_connect_list_all_interfaces_ret
type ConnectListAllNetworksArgs ¶
type ConnectListAllNetworksArgs struct { NeedResults int32 Flags ConnectListAllNetworksFlags }
ConnectListAllNetworksArgs is libvirt's remote_connect_list_all_networks_args
type ConnectListAllNetworksFlags ¶
type ConnectListAllNetworksFlags int32
ConnectListAllNetworksFlags as declared in libvirt/libvirt-network.h:84
const ( ConnectListNetworksInactive ConnectListAllNetworksFlags = 1 ConnectListNetworksActive ConnectListAllNetworksFlags = 2 ConnectListNetworksPersistent ConnectListAllNetworksFlags = 4 ConnectListNetworksTransient ConnectListAllNetworksFlags = 8 ConnectListNetworksAutostart ConnectListAllNetworksFlags = 16 ConnectListNetworksNoAutostart ConnectListAllNetworksFlags = 32 )
ConnectListAllNetworksFlags enumeration from libvirt/libvirt-network.h:84
type ConnectListAllNetworksRet ¶
ConnectListAllNetworksRet is libvirt's remote_connect_list_all_networks_ret
type ConnectListAllNodeDeviceFlags ¶
type ConnectListAllNodeDeviceFlags int32
ConnectListAllNodeDeviceFlags as declared in libvirt/libvirt-nodedev.h:84
const ( ConnectListNodeDevicesCapSystem ConnectListAllNodeDeviceFlags = 1 ConnectListNodeDevicesCapPciDev ConnectListAllNodeDeviceFlags = 2 ConnectListNodeDevicesCapUsbDev ConnectListAllNodeDeviceFlags = 4 ConnectListNodeDevicesCapUsbInterface ConnectListAllNodeDeviceFlags = 8 ConnectListNodeDevicesCapNet ConnectListAllNodeDeviceFlags = 16 ConnectListNodeDevicesCapScsiHost ConnectListAllNodeDeviceFlags = 32 ConnectListNodeDevicesCapScsiTarget ConnectListAllNodeDeviceFlags = 64 ConnectListNodeDevicesCapScsi ConnectListAllNodeDeviceFlags = 128 ConnectListNodeDevicesCapStorage ConnectListAllNodeDeviceFlags = 256 ConnectListNodeDevicesCapFcHost ConnectListAllNodeDeviceFlags = 512 ConnectListNodeDevicesCapVports ConnectListAllNodeDeviceFlags = 1024 ConnectListNodeDevicesCapScsiGeneric ConnectListAllNodeDeviceFlags = 2048 ConnectListNodeDevicesCapDrm ConnectListAllNodeDeviceFlags = 4096 ConnectListNodeDevicesCapMdevTypes ConnectListAllNodeDeviceFlags = 8192 ConnectListNodeDevicesCapMdev ConnectListAllNodeDeviceFlags = 16384 ConnectListNodeDevicesCapCcwDev ConnectListAllNodeDeviceFlags = 32768 )
ConnectListAllNodeDeviceFlags enumeration from libvirt/libvirt-nodedev.h:84
type ConnectListAllNodeDevicesArgs ¶
ConnectListAllNodeDevicesArgs is libvirt's remote_connect_list_all_node_devices_args
type ConnectListAllNodeDevicesRet ¶
type ConnectListAllNodeDevicesRet struct { Devices []NodeDevice Ret uint32 }
ConnectListAllNodeDevicesRet is libvirt's remote_connect_list_all_node_devices_ret
type ConnectListAllNwfilterBindingsArgs ¶
ConnectListAllNwfilterBindingsArgs is libvirt's remote_connect_list_all_nwfilter_bindings_args
type ConnectListAllNwfilterBindingsRet ¶
type ConnectListAllNwfilterBindingsRet struct { Bindings []NwfilterBinding Ret uint32 }
ConnectListAllNwfilterBindingsRet is libvirt's remote_connect_list_all_nwfilter_bindings_ret
type ConnectListAllNwfiltersArgs ¶
ConnectListAllNwfiltersArgs is libvirt's remote_connect_list_all_nwfilters_args
type ConnectListAllNwfiltersRet ¶
ConnectListAllNwfiltersRet is libvirt's remote_connect_list_all_nwfilters_ret
type ConnectListAllSecretsArgs ¶
type ConnectListAllSecretsArgs struct { NeedResults int32 Flags ConnectListAllSecretsFlags }
ConnectListAllSecretsArgs is libvirt's remote_connect_list_all_secrets_args
type ConnectListAllSecretsFlags ¶
type ConnectListAllSecretsFlags int32
ConnectListAllSecretsFlags as declared in libvirt/libvirt-secret.h:78
const ( ConnectListSecretsEphemeral ConnectListAllSecretsFlags = 1 ConnectListSecretsNoEphemeral ConnectListAllSecretsFlags = 2 ConnectListSecretsPrivate ConnectListAllSecretsFlags = 4 ConnectListSecretsNoPrivate ConnectListAllSecretsFlags = 8 )
ConnectListAllSecretsFlags enumeration from libvirt/libvirt-secret.h:78
type ConnectListAllSecretsRet ¶
ConnectListAllSecretsRet is libvirt's remote_connect_list_all_secrets_ret
type ConnectListAllStoragePoolsArgs ¶
type ConnectListAllStoragePoolsArgs struct { NeedResults int32 Flags ConnectListAllStoragePoolsFlags }
ConnectListAllStoragePoolsArgs is libvirt's remote_connect_list_all_storage_pools_args
type ConnectListAllStoragePoolsFlags ¶
type ConnectListAllStoragePoolsFlags int32
ConnectListAllStoragePoolsFlags as declared in libvirt/libvirt-storage.h:243
const ( ConnectListStoragePoolsInactive ConnectListAllStoragePoolsFlags = 1 ConnectListStoragePoolsActive ConnectListAllStoragePoolsFlags = 2 ConnectListStoragePoolsPersistent ConnectListAllStoragePoolsFlags = 4 ConnectListStoragePoolsTransient ConnectListAllStoragePoolsFlags = 8 ConnectListStoragePoolsAutostart ConnectListAllStoragePoolsFlags = 16 ConnectListStoragePoolsNoAutostart ConnectListAllStoragePoolsFlags = 32 ConnectListStoragePoolsDir ConnectListAllStoragePoolsFlags = 64 ConnectListStoragePoolsFs ConnectListAllStoragePoolsFlags = 128 ConnectListStoragePoolsNetfs ConnectListAllStoragePoolsFlags = 256 ConnectListStoragePoolsLogical ConnectListAllStoragePoolsFlags = 512 ConnectListStoragePoolsDisk ConnectListAllStoragePoolsFlags = 1024 ConnectListStoragePoolsIscsi ConnectListAllStoragePoolsFlags = 2048 ConnectListStoragePoolsScsi ConnectListAllStoragePoolsFlags = 4096 ConnectListStoragePoolsMpath ConnectListAllStoragePoolsFlags = 8192 ConnectListStoragePoolsRbd ConnectListAllStoragePoolsFlags = 16384 ConnectListStoragePoolsSheepdog ConnectListAllStoragePoolsFlags = 32768 ConnectListStoragePoolsGluster ConnectListAllStoragePoolsFlags = 65536 ConnectListStoragePoolsZfs ConnectListAllStoragePoolsFlags = 131072 ConnectListStoragePoolsVstorage ConnectListAllStoragePoolsFlags = 262144 )
ConnectListAllStoragePoolsFlags enumeration from libvirt/libvirt-storage.h:243
type ConnectListAllStoragePoolsRet ¶
type ConnectListAllStoragePoolsRet struct { Pools []StoragePool Ret uint32 }
ConnectListAllStoragePoolsRet is libvirt's remote_connect_list_all_storage_pools_ret
type ConnectListDefinedDomainsArgs ¶
type ConnectListDefinedDomainsArgs struct {
Maxnames int32
}
ConnectListDefinedDomainsArgs is libvirt's remote_connect_list_defined_domains_args
type ConnectListDefinedDomainsRet ¶
type ConnectListDefinedDomainsRet struct {
Names []string
}
ConnectListDefinedDomainsRet is libvirt's remote_connect_list_defined_domains_ret
type ConnectListDefinedInterfacesArgs ¶
type ConnectListDefinedInterfacesArgs struct {
Maxnames int32
}
ConnectListDefinedInterfacesArgs is libvirt's remote_connect_list_defined_interfaces_args
type ConnectListDefinedInterfacesRet ¶
type ConnectListDefinedInterfacesRet struct {
Names []string
}
ConnectListDefinedInterfacesRet is libvirt's remote_connect_list_defined_interfaces_ret
type ConnectListDefinedNetworksArgs ¶
type ConnectListDefinedNetworksArgs struct {
Maxnames int32
}
ConnectListDefinedNetworksArgs is libvirt's remote_connect_list_defined_networks_args
type ConnectListDefinedNetworksRet ¶
type ConnectListDefinedNetworksRet struct {
Names []string
}
ConnectListDefinedNetworksRet is libvirt's remote_connect_list_defined_networks_ret
type ConnectListDefinedStoragePoolsArgs ¶
type ConnectListDefinedStoragePoolsArgs struct {
Maxnames int32
}
ConnectListDefinedStoragePoolsArgs is libvirt's remote_connect_list_defined_storage_pools_args
type ConnectListDefinedStoragePoolsRet ¶
type ConnectListDefinedStoragePoolsRet struct {
Names []string
}
ConnectListDefinedStoragePoolsRet is libvirt's remote_connect_list_defined_storage_pools_ret
type ConnectListDomainsArgs ¶
type ConnectListDomainsArgs struct {
Maxids int32
}
ConnectListDomainsArgs is libvirt's remote_connect_list_domains_args
type ConnectListDomainsRet ¶
type ConnectListDomainsRet struct {
Ids []int32
}
ConnectListDomainsRet is libvirt's remote_connect_list_domains_ret
type ConnectListInterfacesArgs ¶
type ConnectListInterfacesArgs struct {
Maxnames int32
}
ConnectListInterfacesArgs is libvirt's remote_connect_list_interfaces_args
type ConnectListInterfacesRet ¶
type ConnectListInterfacesRet struct {
Names []string
}
ConnectListInterfacesRet is libvirt's remote_connect_list_interfaces_ret
type ConnectListNetworksArgs ¶
type ConnectListNetworksArgs struct {
Maxnames int32
}
ConnectListNetworksArgs is libvirt's remote_connect_list_networks_args
type ConnectListNetworksRet ¶
type ConnectListNetworksRet struct {
Names []string
}
ConnectListNetworksRet is libvirt's remote_connect_list_networks_ret
type ConnectListNwfiltersArgs ¶
type ConnectListNwfiltersArgs struct {
Maxnames int32
}
ConnectListNwfiltersArgs is libvirt's remote_connect_list_nwfilters_args
type ConnectListNwfiltersRet ¶
type ConnectListNwfiltersRet struct {
Names []string
}
ConnectListNwfiltersRet is libvirt's remote_connect_list_nwfilters_ret
type ConnectListSecretsArgs ¶
type ConnectListSecretsArgs struct {
Maxuuids int32
}
ConnectListSecretsArgs is libvirt's remote_connect_list_secrets_args
type ConnectListSecretsRet ¶
type ConnectListSecretsRet struct {
Uuids []string
}
ConnectListSecretsRet is libvirt's remote_connect_list_secrets_ret
type ConnectListStoragePoolsArgs ¶
type ConnectListStoragePoolsArgs struct {
Maxnames int32
}
ConnectListStoragePoolsArgs is libvirt's remote_connect_list_storage_pools_args
type ConnectListStoragePoolsRet ¶
type ConnectListStoragePoolsRet struct {
Names []string
}
ConnectListStoragePoolsRet is libvirt's remote_connect_list_storage_pools_ret
type ConnectNetworkEventDeregisterAnyArgs ¶
type ConnectNetworkEventDeregisterAnyArgs struct {
CallbackID int32
}
ConnectNetworkEventDeregisterAnyArgs is libvirt's remote_connect_network_event_deregister_any_args
type ConnectNetworkEventRegisterAnyArgs ¶
type ConnectNetworkEventRegisterAnyArgs struct { EventID int32 Net OptNetwork }
ConnectNetworkEventRegisterAnyArgs is libvirt's remote_connect_network_event_register_any_args
type ConnectNetworkEventRegisterAnyRet ¶
type ConnectNetworkEventRegisterAnyRet struct {
CallbackID int32
}
ConnectNetworkEventRegisterAnyRet is libvirt's remote_connect_network_event_register_any_ret
type ConnectNodeDeviceEventDeregisterAnyArgs ¶
type ConnectNodeDeviceEventDeregisterAnyArgs struct {
CallbackID int32
}
ConnectNodeDeviceEventDeregisterAnyArgs is libvirt's remote_connect_node_device_event_deregister_any_args
type ConnectNodeDeviceEventRegisterAnyArgs ¶
type ConnectNodeDeviceEventRegisterAnyArgs struct { EventID int32 Dev OptNodeDevice }
ConnectNodeDeviceEventRegisterAnyArgs is libvirt's remote_connect_node_device_event_register_any_args
type ConnectNodeDeviceEventRegisterAnyRet ¶
type ConnectNodeDeviceEventRegisterAnyRet struct {
CallbackID int32
}
ConnectNodeDeviceEventRegisterAnyRet is libvirt's remote_connect_node_device_event_register_any_ret
type ConnectNumOfDefinedDomainsRet ¶
type ConnectNumOfDefinedDomainsRet struct {
Num int32
}
ConnectNumOfDefinedDomainsRet is libvirt's remote_connect_num_of_defined_domains_ret
type ConnectNumOfDefinedInterfacesRet ¶
type ConnectNumOfDefinedInterfacesRet struct {
Num int32
}
ConnectNumOfDefinedInterfacesRet is libvirt's remote_connect_num_of_defined_interfaces_ret
type ConnectNumOfDefinedNetworksRet ¶
type ConnectNumOfDefinedNetworksRet struct {
Num int32
}
ConnectNumOfDefinedNetworksRet is libvirt's remote_connect_num_of_defined_networks_ret
type ConnectNumOfDefinedStoragePoolsRet ¶
type ConnectNumOfDefinedStoragePoolsRet struct {
Num int32
}
ConnectNumOfDefinedStoragePoolsRet is libvirt's remote_connect_num_of_defined_storage_pools_ret
type ConnectNumOfDomainsRet ¶
type ConnectNumOfDomainsRet struct {
Num int32
}
ConnectNumOfDomainsRet is libvirt's remote_connect_num_of_domains_ret
type ConnectNumOfInterfacesRet ¶
type ConnectNumOfInterfacesRet struct {
Num int32
}
ConnectNumOfInterfacesRet is libvirt's remote_connect_num_of_interfaces_ret
type ConnectNumOfNetworksRet ¶
type ConnectNumOfNetworksRet struct {
Num int32
}
ConnectNumOfNetworksRet is libvirt's remote_connect_num_of_networks_ret
type ConnectNumOfNwfiltersRet ¶
type ConnectNumOfNwfiltersRet struct {
Num int32
}
ConnectNumOfNwfiltersRet is libvirt's remote_connect_num_of_nwfilters_ret
type ConnectNumOfSecretsRet ¶
type ConnectNumOfSecretsRet struct {
Num int32
}
ConnectNumOfSecretsRet is libvirt's remote_connect_num_of_secrets_ret
type ConnectNumOfStoragePoolsRet ¶
type ConnectNumOfStoragePoolsRet struct {
Num int32
}
ConnectNumOfStoragePoolsRet is libvirt's remote_connect_num_of_storage_pools_ret
type ConnectOpenArgs ¶
type ConnectOpenArgs struct { Name OptString Flags ConnectFlags }
ConnectOpenArgs is libvirt's remote_connect_open_args
type ConnectSecretEventDeregisterAnyArgs ¶
type ConnectSecretEventDeregisterAnyArgs struct {
CallbackID int32
}
ConnectSecretEventDeregisterAnyArgs is libvirt's remote_connect_secret_event_deregister_any_args
type ConnectSecretEventRegisterAnyArgs ¶
ConnectSecretEventRegisterAnyArgs is libvirt's remote_connect_secret_event_register_any_args
type ConnectSecretEventRegisterAnyRet ¶
type ConnectSecretEventRegisterAnyRet struct {
CallbackID int32
}
ConnectSecretEventRegisterAnyRet is libvirt's remote_connect_secret_event_register_any_ret
type ConnectStoragePoolEventDeregisterAnyArgs ¶
type ConnectStoragePoolEventDeregisterAnyArgs struct {
CallbackID int32
}
ConnectStoragePoolEventDeregisterAnyArgs is libvirt's remote_connect_storage_pool_event_deregister_any_args
type ConnectStoragePoolEventRegisterAnyArgs ¶
type ConnectStoragePoolEventRegisterAnyArgs struct { EventID int32 Pool OptStoragePool }
ConnectStoragePoolEventRegisterAnyArgs is libvirt's remote_connect_storage_pool_event_register_any_args
type ConnectStoragePoolEventRegisterAnyRet ¶
type ConnectStoragePoolEventRegisterAnyRet struct {
CallbackID int32
}
ConnectStoragePoolEventRegisterAnyRet is libvirt's remote_connect_storage_pool_event_register_any_ret
type ConnectSupportsFeatureArgs ¶
type ConnectSupportsFeatureArgs struct {
Feature int32
}
ConnectSupportsFeatureArgs is libvirt's remote_connect_supports_feature_args
type ConnectSupportsFeatureRet ¶
type ConnectSupportsFeatureRet struct {
Supported int32
}
ConnectSupportsFeatureRet is libvirt's remote_connect_supports_feature_ret
type DomainAbortJobArgs ¶
type DomainAbortJobArgs struct {
Dom Domain
}
DomainAbortJobArgs is libvirt's remote_domain_abort_job_args
type DomainAddIothreadArgs ¶
type DomainAddIothreadArgs struct { Dom Domain IothreadID uint32 Flags DomainModificationImpact }
DomainAddIothreadArgs is libvirt's remote_domain_add_iothread_args
type DomainAttachDeviceArgs ¶
DomainAttachDeviceArgs is libvirt's remote_domain_attach_device_args
type DomainAttachDeviceFlagsArgs ¶
DomainAttachDeviceFlagsArgs is libvirt's remote_domain_attach_device_flags_args
type DomainBlockCommitArgs ¶
type DomainBlockCommitArgs struct { Dom Domain Disk string Base OptString Top OptString Bandwidth uint64 Flags DomainBlockCommitFlags }
DomainBlockCommitArgs is libvirt's remote_domain_block_commit_args
type DomainBlockCommitFlags ¶
type DomainBlockCommitFlags int32
DomainBlockCommitFlags as declared in libvirt/libvirt-domain.h:2567
const ( DomainBlockCommitShallow DomainBlockCommitFlags = 1 DomainBlockCommitDelete DomainBlockCommitFlags = 2 DomainBlockCommitActive DomainBlockCommitFlags = 4 DomainBlockCommitRelative DomainBlockCommitFlags = 8 DomainBlockCommitBandwidthBytes DomainBlockCommitFlags = 16 )
DomainBlockCommitFlags enumeration from libvirt/libvirt-domain.h:2567
type DomainBlockCopyArgs ¶
type DomainBlockCopyArgs struct { Dom Domain Path string Destxml string Params []TypedParam Flags DomainBlockCopyFlags }
DomainBlockCopyArgs is libvirt's remote_domain_block_copy_args
type DomainBlockCopyFlags ¶
type DomainBlockCopyFlags int32
DomainBlockCopyFlags as declared in libvirt/libvirt-domain.h:2502
const ( DomainBlockCopyShallow DomainBlockCopyFlags = 1 DomainBlockCopyReuseExt DomainBlockCopyFlags = 2 DomainBlockCopyTransientJob DomainBlockCopyFlags = 4 )
DomainBlockCopyFlags enumeration from libvirt/libvirt-domain.h:2502
type DomainBlockJobAbortArgs ¶
type DomainBlockJobAbortArgs struct { Dom Domain Path string Flags DomainBlockJobAbortFlags }
DomainBlockJobAbortArgs is libvirt's remote_domain_block_job_abort_args
type DomainBlockJobAbortFlags ¶
type DomainBlockJobAbortFlags int32
DomainBlockJobAbortFlags as declared in libvirt/libvirt-domain.h:2411
const ( DomainBlockJobAbortAsync DomainBlockJobAbortFlags = 1 DomainBlockJobAbortPivot DomainBlockJobAbortFlags = 2 )
DomainBlockJobAbortFlags enumeration from libvirt/libvirt-domain.h:2411
type DomainBlockJobInfoFlags ¶
type DomainBlockJobInfoFlags int32
DomainBlockJobInfoFlags as declared in libvirt/libvirt-domain.h:2420
const (
DomainBlockJobInfoBandwidthBytes DomainBlockJobInfoFlags = 1
)
DomainBlockJobInfoFlags enumeration from libvirt/libvirt-domain.h:2420
type DomainBlockJobSetSpeedArgs ¶
type DomainBlockJobSetSpeedArgs struct { Dom Domain Path string Bandwidth uint64 Flags DomainBlockJobSetSpeedFlags }
DomainBlockJobSetSpeedArgs is libvirt's remote_domain_block_job_set_speed_args
type DomainBlockJobSetSpeedFlags ¶
type DomainBlockJobSetSpeedFlags int32
DomainBlockJobSetSpeedFlags as declared in libvirt/libvirt-domain.h:2449
const (
DomainBlockJobSpeedBandwidthBytes DomainBlockJobSetSpeedFlags = 1
)
DomainBlockJobSetSpeedFlags enumeration from libvirt/libvirt-domain.h:2449
type DomainBlockJobType ¶
type DomainBlockJobType int32
DomainBlockJobType as declared in libvirt/libvirt-domain.h:2399
const ( DomainBlockJobTypeUnknown DomainBlockJobType = iota DomainBlockJobTypePull DomainBlockJobType = 1 DomainBlockJobTypeCopy DomainBlockJobType = 2 DomainBlockJobTypeCommit DomainBlockJobType = 3 DomainBlockJobTypeActiveCommit DomainBlockJobType = 4 )
DomainBlockJobType enumeration from libvirt/libvirt-domain.h:2399
type DomainBlockPeekArgs ¶
DomainBlockPeekArgs is libvirt's remote_domain_block_peek_args
type DomainBlockPeekRet ¶
type DomainBlockPeekRet struct {
Buffer []byte
}
DomainBlockPeekRet is libvirt's remote_domain_block_peek_ret
type DomainBlockPullArgs ¶
type DomainBlockPullArgs struct { Dom Domain Path string Bandwidth uint64 Flags DomainBlockPullFlags }
DomainBlockPullArgs is libvirt's remote_domain_block_pull_args
type DomainBlockPullFlags ¶
type DomainBlockPullFlags int32
DomainBlockPullFlags as declared in libvirt/libvirt-domain.h:2459
const (
DomainBlockPullBandwidthBytes DomainBlockPullFlags = 64
)
DomainBlockPullFlags enumeration from libvirt/libvirt-domain.h:2459
type DomainBlockRebaseArgs ¶
type DomainBlockRebaseArgs struct { Dom Domain Path string Base OptString Bandwidth uint64 Flags DomainBlockRebaseFlags }
DomainBlockRebaseArgs is libvirt's remote_domain_block_rebase_args
type DomainBlockRebaseFlags ¶
type DomainBlockRebaseFlags int32
DomainBlockRebaseFlags as declared in libvirt/libvirt-domain.h:2483
const ( DomainBlockRebaseShallow DomainBlockRebaseFlags = 1 DomainBlockRebaseReuseExt DomainBlockRebaseFlags = 2 DomainBlockRebaseCopyRaw DomainBlockRebaseFlags = 4 DomainBlockRebaseCopy DomainBlockRebaseFlags = 8 DomainBlockRebaseRelative DomainBlockRebaseFlags = 16 DomainBlockRebaseCopyDev DomainBlockRebaseFlags = 32 DomainBlockRebaseBandwidthBytes DomainBlockRebaseFlags = 64 )
DomainBlockRebaseFlags enumeration from libvirt/libvirt-domain.h:2483
type DomainBlockResizeArgs ¶
type DomainBlockResizeArgs struct { Dom Domain Disk string Size uint64 Flags DomainBlockResizeFlags }
DomainBlockResizeArgs is libvirt's remote_domain_block_resize_args
type DomainBlockResizeFlags ¶
type DomainBlockResizeFlags int32
DomainBlockResizeFlags as declared in libvirt/libvirt-domain.h:1662
const (
DomainBlockResizeBytes DomainBlockResizeFlags = 1
)
DomainBlockResizeFlags enumeration from libvirt/libvirt-domain.h:1662
type DomainBlockStatsArgs ¶
DomainBlockStatsArgs is libvirt's remote_domain_block_stats_args
type DomainBlockStatsFlagsArgs ¶
DomainBlockStatsFlagsArgs is libvirt's remote_domain_block_stats_flags_args
type DomainBlockStatsFlagsRet ¶
type DomainBlockStatsFlagsRet struct { Params []TypedParam Nparams int32 }
DomainBlockStatsFlagsRet is libvirt's remote_domain_block_stats_flags_ret
type DomainBlockStatsRet ¶
DomainBlockStatsRet is libvirt's remote_domain_block_stats_ret
type DomainBlockedReason ¶
type DomainBlockedReason int32
DomainBlockedReason as declared in libvirt/libvirt-domain.h:105
const (
DomainBlockedUnknown DomainBlockedReason = iota
)
DomainBlockedReason enumeration from libvirt/libvirt-domain.h:105
type DomainChannelFlags ¶
type DomainChannelFlags int32
DomainChannelFlags as declared in libvirt/libvirt-domain.h:4535
const (
DomainChannelForce DomainChannelFlags = 1
)
DomainChannelFlags enumeration from libvirt/libvirt-domain.h:4535
type DomainConsoleFlags ¶
type DomainConsoleFlags int32
DomainConsoleFlags as declared in libvirt/libvirt-domain.h:4519
const ( DomainConsoleForce DomainConsoleFlags = 1 DomainConsoleSafe DomainConsoleFlags = 2 )
DomainConsoleFlags enumeration from libvirt/libvirt-domain.h:4519
type DomainControlErrorReason ¶
type DomainControlErrorReason int32
DomainControlErrorReason as declared in libvirt/libvirt-domain.h:217
const ( DomainControlErrorReasonNone DomainControlErrorReason = iota DomainControlErrorReasonUnknown DomainControlErrorReason = 1 DomainControlErrorReasonMonitor DomainControlErrorReason = 2 DomainControlErrorReasonInternal DomainControlErrorReason = 3 )
DomainControlErrorReason enumeration from libvirt/libvirt-domain.h:217
type DomainControlState ¶
type DomainControlState int32
DomainControlState as declared in libvirt/libvirt-domain.h:197
const ( DomainControlOk DomainControlState = iota DomainControlJob DomainControlState = 1 DomainControlOccupied DomainControlState = 2 DomainControlError DomainControlState = 3 )
DomainControlState enumeration from libvirt/libvirt-domain.h:197
type DomainCoreDumpArgs ¶
type DomainCoreDumpArgs struct { Dom Domain To string Flags DomainCoreDumpFlags }
DomainCoreDumpArgs is libvirt's remote_domain_core_dump_args
type DomainCoreDumpFlags ¶
type DomainCoreDumpFlags int32
DomainCoreDumpFlags as declared in libvirt/libvirt-domain.h:667
const ( DumpCrash DomainCoreDumpFlags = 1 DumpLive DomainCoreDumpFlags = 2 DumpBypassCache DomainCoreDumpFlags = 4 DumpReset DomainCoreDumpFlags = 8 DumpMemoryOnly DomainCoreDumpFlags = 16 )
DomainCoreDumpFlags enumeration from libvirt/libvirt-domain.h:667
type DomainCoreDumpFormat ¶
type DomainCoreDumpFormat int32
DomainCoreDumpFormat as declared in libvirt/libvirt-domain.h:690
const ( DomainCoreDumpFormatRaw DomainCoreDumpFormat = iota DomainCoreDumpFormatKdumpZlib DomainCoreDumpFormat = 1 DomainCoreDumpFormatKdumpLzo DomainCoreDumpFormat = 2 DomainCoreDumpFormatKdumpSnappy DomainCoreDumpFormat = 3 )
DomainCoreDumpFormat enumeration from libvirt/libvirt-domain.h:690
type DomainCoreDumpWithFormatArgs ¶
type DomainCoreDumpWithFormatArgs struct { Dom Domain To string Dumpformat uint32 Flags DomainCoreDumpFlags }
DomainCoreDumpWithFormatArgs is libvirt's remote_domain_core_dump_with_format_args
type DomainCrashedReason ¶
type DomainCrashedReason int32
DomainCrashedReason as declared in libvirt/libvirt-domain.h:161
const ( DomainCrashedUnknown DomainCrashedReason = iota DomainCrashedPanicked DomainCrashedReason = 1 )
DomainCrashedReason enumeration from libvirt/libvirt-domain.h:161
type DomainCreateArgs ¶
type DomainCreateArgs struct {
Dom Domain
}
DomainCreateArgs is libvirt's remote_domain_create_args
type DomainCreateFlags ¶
type DomainCreateFlags int32
DomainCreateFlags as declared in libvirt/libvirt-domain.h:305
const ( DomainNone DomainCreateFlags = iota DomainStartPaused DomainCreateFlags = 1 DomainStartAutodestroy DomainCreateFlags = 2 DomainStartBypassCache DomainCreateFlags = 4 DomainStartForceBoot DomainCreateFlags = 8 DomainStartValidate DomainCreateFlags = 16 )
DomainCreateFlags enumeration from libvirt/libvirt-domain.h:305
type DomainCreateWithFilesArgs ¶
type DomainCreateWithFilesArgs struct { Dom Domain Flags DomainCreateFlags }
DomainCreateWithFilesArgs is libvirt's remote_domain_create_with_files_args
type DomainCreateWithFilesRet ¶
type DomainCreateWithFilesRet struct {
Dom Domain
}
DomainCreateWithFilesRet is libvirt's remote_domain_create_with_files_ret
type DomainCreateWithFlagsArgs ¶
DomainCreateWithFlagsArgs is libvirt's remote_domain_create_with_flags_args
type DomainCreateWithFlagsRet ¶
type DomainCreateWithFlagsRet struct {
Dom Domain
}
DomainCreateWithFlagsRet is libvirt's remote_domain_create_with_flags_ret
type DomainCreateXMLArgs ¶
type DomainCreateXMLArgs struct { XMLDesc string Flags DomainCreateFlags }
DomainCreateXMLArgs is libvirt's remote_domain_create_xml_args
type DomainCreateXMLRet ¶
type DomainCreateXMLRet struct {
Dom Domain
}
DomainCreateXMLRet is libvirt's remote_domain_create_xml_ret
type DomainCreateXMLWithFilesArgs ¶
type DomainCreateXMLWithFilesArgs struct { XMLDesc string Flags DomainCreateFlags }
DomainCreateXMLWithFilesArgs is libvirt's remote_domain_create_xml_with_files_args
type DomainCreateXMLWithFilesRet ¶
type DomainCreateXMLWithFilesRet struct {
Dom Domain
}
DomainCreateXMLWithFilesRet is libvirt's remote_domain_create_xml_with_files_ret
type DomainDefineFlags ¶
type DomainDefineFlags int32
DomainDefineFlags as declared in libvirt/libvirt-domain.h:1735
const (
DomainDefineValidate DomainDefineFlags = 1
)
DomainDefineFlags enumeration from libvirt/libvirt-domain.h:1735
type DomainDefineXMLArgs ¶
type DomainDefineXMLArgs struct {
XML string
}
DomainDefineXMLArgs is libvirt's remote_domain_define_xml_args
type DomainDefineXMLFlagsArgs ¶
type DomainDefineXMLFlagsArgs struct { XML string Flags DomainDefineFlags }
DomainDefineXMLFlagsArgs is libvirt's remote_domain_define_xml_flags_args
type DomainDefineXMLFlagsRet ¶
type DomainDefineXMLFlagsRet struct {
Dom Domain
}
DomainDefineXMLFlagsRet is libvirt's remote_domain_define_xml_flags_ret
type DomainDefineXMLRet ¶
type DomainDefineXMLRet struct {
Dom Domain
}
DomainDefineXMLRet is libvirt's remote_domain_define_xml_ret
type DomainDelIothreadArgs ¶
type DomainDelIothreadArgs struct { Dom Domain IothreadID uint32 Flags DomainModificationImpact }
DomainDelIothreadArgs is libvirt's remote_domain_del_iothread_args
type DomainDestroyArgs ¶
type DomainDestroyArgs struct {
Dom Domain
}
DomainDestroyArgs is libvirt's remote_domain_destroy_args
type DomainDestroyFlagsArgs ¶
type DomainDestroyFlagsArgs struct { Dom Domain Flags DomainDestroyFlagsValues }
DomainDestroyFlagsArgs is libvirt's remote_domain_destroy_flags_args
type DomainDestroyFlagsValues ¶
type DomainDestroyFlagsValues int32
DomainDestroyFlagsValues as declared in libvirt/libvirt-domain.h:1160
const ( DomainDestroyDefault DomainDestroyFlagsValues = iota DomainDestroyGraceful DomainDestroyFlagsValues = 1 )
DomainDestroyFlagsValues enumeration from libvirt/libvirt-domain.h:1160
type DomainDetachDeviceAliasArgs ¶
DomainDetachDeviceAliasArgs is libvirt's remote_domain_detach_device_alias_args
type DomainDetachDeviceArgs ¶
DomainDetachDeviceArgs is libvirt's remote_domain_detach_device_args
type DomainDetachDeviceFlagsArgs ¶
DomainDetachDeviceFlagsArgs is libvirt's remote_domain_detach_device_flags_args
type DomainDeviceModifyFlags ¶
type DomainDeviceModifyFlags int32
DomainDeviceModifyFlags as declared in libvirt/libvirt-domain.h:2065
const ( DomainDeviceModifyCurrent DomainDeviceModifyFlags = iota DomainDeviceModifyLive DomainDeviceModifyFlags = 1 DomainDeviceModifyConfig DomainDeviceModifyFlags = 2 DomainDeviceModifyForce DomainDeviceModifyFlags = 4 )
DomainDeviceModifyFlags enumeration from libvirt/libvirt-domain.h:2065
type DomainDiskError ¶
DomainDiskError is libvirt's remote_domain_disk_error
type DomainDiskErrorCode ¶
type DomainDiskErrorCode int32
DomainDiskErrorCode as declared in libvirt/libvirt-domain.h:2758
const ( DomainDiskErrorNone DomainDiskErrorCode = iota DomainDiskErrorUnspec DomainDiskErrorCode = 1 DomainDiskErrorNoSpace DomainDiskErrorCode = 2 )
DomainDiskErrorCode enumeration from libvirt/libvirt-domain.h:2758
type DomainEvent ¶
type DomainEvent struct { CallbackID uint32 Domain Domain Event string Seconds uint64 Microseconds uint32 Padding uint8 Details []byte }
DomainEvent represents a libvirt domain event.
func (DomainEvent) GetCallbackID ¶
func (de DomainEvent) GetCallbackID() uint32
GetCallbackID returns the callback id of a qemu domain event
type DomainEventBalloonChangeMsg ¶
DomainEventBalloonChangeMsg is libvirt's remote_domain_event_balloon_change_msg
type DomainEventBlockJob2Msg ¶
type DomainEventBlockJob2Msg struct { CallbackID int32 Dom Domain Dst string Type int32 Status int32 }
DomainEventBlockJob2Msg is libvirt's remote_domain_event_block_job_2_msg
type DomainEventBlockJobMsg ¶
DomainEventBlockJobMsg is libvirt's remote_domain_event_block_job_msg
type DomainEventBlockThresholdMsg ¶
type DomainEventBlockThresholdMsg struct { CallbackID int32 Dom Domain Dev string Path OptString Threshold uint64 Excess uint64 }
DomainEventBlockThresholdMsg is libvirt's remote_domain_event_block_threshold_msg
type DomainEventCallbackAgentLifecycleMsg ¶
type DomainEventCallbackAgentLifecycleMsg struct { CallbackID int32 Dom Domain State int32 Reason int32 }
DomainEventCallbackAgentLifecycleMsg is libvirt's remote_domain_event_callback_agent_lifecycle_msg
type DomainEventCallbackBalloonChangeMsg ¶
type DomainEventCallbackBalloonChangeMsg struct { CallbackID int32 Msg DomainEventBalloonChangeMsg }
DomainEventCallbackBalloonChangeMsg is libvirt's remote_domain_event_callback_balloon_change_msg
type DomainEventCallbackBlockJobMsg ¶
type DomainEventCallbackBlockJobMsg struct { CallbackID int32 Msg DomainEventBlockJobMsg }
DomainEventCallbackBlockJobMsg is libvirt's remote_domain_event_callback_block_job_msg
type DomainEventCallbackControlErrorMsg ¶
type DomainEventCallbackControlErrorMsg struct { CallbackID int32 Msg DomainEventControlErrorMsg }
DomainEventCallbackControlErrorMsg is libvirt's remote_domain_event_callback_control_error_msg
type DomainEventCallbackDeviceAddedMsg ¶
DomainEventCallbackDeviceAddedMsg is libvirt's remote_domain_event_callback_device_added_msg
type DomainEventCallbackDeviceRemovalFailedMsg ¶
type DomainEventCallbackDeviceRemovalFailedMsg struct { CallbackID int32 Dom Domain DevAlias string }
DomainEventCallbackDeviceRemovalFailedMsg is libvirt's remote_domain_event_callback_device_removal_failed_msg
type DomainEventCallbackDeviceRemovedMsg ¶
type DomainEventCallbackDeviceRemovedMsg struct { CallbackID int32 Msg DomainEventDeviceRemovedMsg }
DomainEventCallbackDeviceRemovedMsg is libvirt's remote_domain_event_callback_device_removed_msg
type DomainEventCallbackDiskChangeMsg ¶
type DomainEventCallbackDiskChangeMsg struct { CallbackID int32 Msg DomainEventDiskChangeMsg }
DomainEventCallbackDiskChangeMsg is libvirt's remote_domain_event_callback_disk_change_msg
type DomainEventCallbackGraphicsMsg ¶
type DomainEventCallbackGraphicsMsg struct { CallbackID int32 Msg DomainEventGraphicsMsg }
DomainEventCallbackGraphicsMsg is libvirt's remote_domain_event_callback_graphics_msg
type DomainEventCallbackIOErrorMsg ¶
type DomainEventCallbackIOErrorMsg struct { CallbackID int32 Msg DomainEventIOErrorMsg }
DomainEventCallbackIOErrorMsg is libvirt's remote_domain_event_callback_io_error_msg
type DomainEventCallbackIOErrorReasonMsg ¶
type DomainEventCallbackIOErrorReasonMsg struct { CallbackID int32 Msg DomainEventIOErrorReasonMsg }
DomainEventCallbackIOErrorReasonMsg is libvirt's remote_domain_event_callback_io_error_reason_msg
type DomainEventCallbackJobCompletedMsg ¶
type DomainEventCallbackJobCompletedMsg struct { CallbackID int32 Dom Domain Params []TypedParam }
DomainEventCallbackJobCompletedMsg is libvirt's remote_domain_event_callback_job_completed_msg
type DomainEventCallbackLifecycleMsg ¶
type DomainEventCallbackLifecycleMsg struct { CallbackID int32 Msg DomainEventLifecycleMsg }
DomainEventCallbackLifecycleMsg is libvirt's remote_domain_event_callback_lifecycle_msg
func (DomainEventCallbackLifecycleMsg) GetCallbackID ¶
func (m DomainEventCallbackLifecycleMsg) GetCallbackID() uint32
GetCallbackID returns the callback id of a libvirt lifecycle event
type DomainEventCallbackMetadataChangeMsg ¶
type DomainEventCallbackMetadataChangeMsg struct { CallbackID int32 Dom Domain Type int32 Nsuri OptString }
DomainEventCallbackMetadataChangeMsg is libvirt's remote_domain_event_callback_metadata_change_msg
type DomainEventCallbackMigrationIterationMsg ¶
type DomainEventCallbackMigrationIterationMsg struct { CallbackID int32 Dom Domain Iteration int32 }
DomainEventCallbackMigrationIterationMsg is libvirt's remote_domain_event_callback_migration_iteration_msg
type DomainEventCallbackPmsuspendDiskMsg ¶
type DomainEventCallbackPmsuspendDiskMsg struct { CallbackID int32 Reason int32 Msg DomainEventPmsuspendDiskMsg }
DomainEventCallbackPmsuspendDiskMsg is libvirt's remote_domain_event_callback_pmsuspend_disk_msg
type DomainEventCallbackPmsuspendMsg ¶
type DomainEventCallbackPmsuspendMsg struct { CallbackID int32 Reason int32 Msg DomainEventPmsuspendMsg }
DomainEventCallbackPmsuspendMsg is libvirt's remote_domain_event_callback_pmsuspend_msg
type DomainEventCallbackPmwakeupMsg ¶
type DomainEventCallbackPmwakeupMsg struct { CallbackID int32 Reason int32 Msg DomainEventPmwakeupMsg }
DomainEventCallbackPmwakeupMsg is libvirt's remote_domain_event_callback_pmwakeup_msg
type DomainEventCallbackRebootMsg ¶
type DomainEventCallbackRebootMsg struct { CallbackID int32 Msg DomainEventRebootMsg }
DomainEventCallbackRebootMsg is libvirt's remote_domain_event_callback_reboot_msg
type DomainEventCallbackRtcChangeMsg ¶
type DomainEventCallbackRtcChangeMsg struct { CallbackID int32 Msg DomainEventRtcChangeMsg }
DomainEventCallbackRtcChangeMsg is libvirt's remote_domain_event_callback_rtc_change_msg
type DomainEventCallbackTrayChangeMsg ¶
type DomainEventCallbackTrayChangeMsg struct { CallbackID int32 Msg DomainEventTrayChangeMsg }
DomainEventCallbackTrayChangeMsg is libvirt's remote_domain_event_callback_tray_change_msg
type DomainEventCallbackTunableMsg ¶
type DomainEventCallbackTunableMsg struct { CallbackID int32 Dom Domain Params []TypedParam }
DomainEventCallbackTunableMsg is libvirt's remote_domain_event_callback_tunable_msg
type DomainEventCallbackWatchdogMsg ¶
type DomainEventCallbackWatchdogMsg struct { CallbackID int32 Msg DomainEventWatchdogMsg }
DomainEventCallbackWatchdogMsg is libvirt's remote_domain_event_callback_watchdog_msg
type DomainEventControlErrorMsg ¶
type DomainEventControlErrorMsg struct {
Dom Domain
}
DomainEventControlErrorMsg is libvirt's remote_domain_event_control_error_msg
type DomainEventCrashedDetailType ¶
type DomainEventCrashedDetailType int32
DomainEventCrashedDetailType as declared in libvirt/libvirt-domain.h:3105
const (
DomainEventCrashedPanicked DomainEventCrashedDetailType = iota
)
DomainEventCrashedDetailType enumeration from libvirt/libvirt-domain.h:3105
type DomainEventDefinedDetailType ¶
type DomainEventDefinedDetailType int32
DomainEventDefinedDetailType as declared in libvirt/libvirt-domain.h:2967
const ( DomainEventDefinedAdded DomainEventDefinedDetailType = iota DomainEventDefinedUpdated DomainEventDefinedDetailType = 1 DomainEventDefinedRenamed DomainEventDefinedDetailType = 2 DomainEventDefinedFromSnapshot DomainEventDefinedDetailType = 3 )
DomainEventDefinedDetailType enumeration from libvirt/libvirt-domain.h:2967
type DomainEventDeviceRemovedMsg ¶
DomainEventDeviceRemovedMsg is libvirt's remote_domain_event_device_removed_msg
type DomainEventDiskChangeMsg ¶
type DomainEventDiskChangeMsg struct { Dom Domain OldSrcPath OptString NewSrcPath OptString DevAlias string Reason int32 }
DomainEventDiskChangeMsg is libvirt's remote_domain_event_disk_change_msg
type DomainEventGraphicsAddress ¶
DomainEventGraphicsAddress is libvirt's remote_domain_event_graphics_address
type DomainEventGraphicsAddressType ¶
type DomainEventGraphicsAddressType int32
DomainEventGraphicsAddressType as declared in libvirt/libvirt-domain.h:3684
const ( DomainEventGraphicsAddressIpv4 DomainEventGraphicsAddressType = iota DomainEventGraphicsAddressIpv6 DomainEventGraphicsAddressType = 1 DomainEventGraphicsAddressUnix DomainEventGraphicsAddressType = 2 )
DomainEventGraphicsAddressType enumeration from libvirt/libvirt-domain.h:3684
type DomainEventGraphicsIdentity ¶
DomainEventGraphicsIdentity is libvirt's remote_domain_event_graphics_identity
type DomainEventGraphicsMsg ¶
type DomainEventGraphicsMsg struct { Dom Domain Phase int32 Local DomainEventGraphicsAddress Remote DomainEventGraphicsAddress AuthScheme string Subject []DomainEventGraphicsIdentity }
DomainEventGraphicsMsg is libvirt's remote_domain_event_graphics_msg
type DomainEventGraphicsPhase ¶
type DomainEventGraphicsPhase int32
DomainEventGraphicsPhase as declared in libvirt/libvirt-domain.h:3669
const ( DomainEventGraphicsConnect DomainEventGraphicsPhase = iota DomainEventGraphicsInitialize DomainEventGraphicsPhase = 1 DomainEventGraphicsDisconnect DomainEventGraphicsPhase = 2 )
DomainEventGraphicsPhase enumeration from libvirt/libvirt-domain.h:3669
type DomainEventID ¶
type DomainEventID int32
DomainEventID as declared in libvirt/libvirt-domain.h:4492
const ( DomainEventIDLifecycle DomainEventID = iota DomainEventIDReboot DomainEventID = 1 DomainEventIDRtcChange DomainEventID = 2 DomainEventIDWatchdog DomainEventID = 3 DomainEventIDIoError DomainEventID = 4 DomainEventIDGraphics DomainEventID = 5 DomainEventIDIoErrorReason DomainEventID = 6 DomainEventIDControlError DomainEventID = 7 DomainEventIDBlockJob DomainEventID = 8 DomainEventIDDiskChange DomainEventID = 9 DomainEventIDTrayChange DomainEventID = 10 DomainEventIDPmwakeup DomainEventID = 11 DomainEventIDPmsuspend DomainEventID = 12 DomainEventIDBalloonChange DomainEventID = 13 DomainEventIDPmsuspendDisk DomainEventID = 14 DomainEventIDDeviceRemoved DomainEventID = 15 DomainEventIDBlockJob2 DomainEventID = 16 DomainEventIDTunable DomainEventID = 17 DomainEventIDAgentLifecycle DomainEventID = 18 DomainEventIDDeviceAdded DomainEventID = 19 DomainEventIDMigrationIteration DomainEventID = 20 DomainEventIDJobCompleted DomainEventID = 21 DomainEventIDDeviceRemovalFailed DomainEventID = 22 DomainEventIDMetadataChange DomainEventID = 23 DomainEventIDBlockThreshold DomainEventID = 24 )
DomainEventID enumeration from libvirt/libvirt-domain.h:4492
type DomainEventIOErrorAction ¶
type DomainEventIOErrorAction int32
DomainEventIOErrorAction as declared in libvirt/libvirt-domain.h:3606
const ( DomainEventIoErrorNone DomainEventIOErrorAction = iota DomainEventIoErrorPause DomainEventIOErrorAction = 1 DomainEventIoErrorReport DomainEventIOErrorAction = 2 )
DomainEventIOErrorAction enumeration from libvirt/libvirt-domain.h:3606
type DomainEventIOErrorMsg ¶
DomainEventIOErrorMsg is libvirt's remote_domain_event_io_error_msg
type DomainEventIOErrorReasonMsg ¶
type DomainEventIOErrorReasonMsg struct { Dom Domain SrcPath string DevAlias string Action int32 Reason string }
DomainEventIOErrorReasonMsg is libvirt's remote_domain_event_io_error_reason_msg
type DomainEventLifecycleMsg ¶
DomainEventLifecycleMsg is libvirt's remote_domain_event_lifecycle_msg
type DomainEventPMSuspendedDetailType ¶
type DomainEventPMSuspendedDetailType int32
DomainEventPMSuspendedDetailType as declared in libvirt/libvirt-domain.h:3092
const ( DomainEventPmsuspendedMemory DomainEventPMSuspendedDetailType = iota DomainEventPmsuspendedDisk DomainEventPMSuspendedDetailType = 1 )
DomainEventPMSuspendedDetailType enumeration from libvirt/libvirt-domain.h:3092
type DomainEventPmsuspendDiskMsg ¶
type DomainEventPmsuspendDiskMsg struct {
Dom Domain
}
DomainEventPmsuspendDiskMsg is libvirt's remote_domain_event_pmsuspend_disk_msg
type DomainEventPmsuspendMsg ¶
type DomainEventPmsuspendMsg struct {
Dom Domain
}
DomainEventPmsuspendMsg is libvirt's remote_domain_event_pmsuspend_msg
type DomainEventPmwakeupMsg ¶
type DomainEventPmwakeupMsg struct {
Dom Domain
}
DomainEventPmwakeupMsg is libvirt's remote_domain_event_pmwakeup_msg
type DomainEventRebootMsg ¶
type DomainEventRebootMsg struct {
Dom Domain
}
DomainEventRebootMsg is libvirt's remote_domain_event_reboot_msg
type DomainEventResumedDetailType ¶
type DomainEventResumedDetailType int32
DomainEventResumedDetailType as declared in libvirt/libvirt-domain.h:3036
const ( DomainEventResumedUnpaused DomainEventResumedDetailType = iota DomainEventResumedMigrated DomainEventResumedDetailType = 1 DomainEventResumedFromSnapshot DomainEventResumedDetailType = 2 DomainEventResumedPostcopy DomainEventResumedDetailType = 3 )
DomainEventResumedDetailType enumeration from libvirt/libvirt-domain.h:3036
type DomainEventRtcChangeMsg ¶
DomainEventRtcChangeMsg is libvirt's remote_domain_event_rtc_change_msg
type DomainEventShutdownDetailType ¶
type DomainEventShutdownDetailType int32
DomainEventShutdownDetailType as declared in libvirt/libvirt-domain.h:3078
const ( DomainEventShutdownFinished DomainEventShutdownDetailType = iota DomainEventShutdownGuest DomainEventShutdownDetailType = 1 DomainEventShutdownHost DomainEventShutdownDetailType = 2 )
DomainEventShutdownDetailType enumeration from libvirt/libvirt-domain.h:3078
type DomainEventStartedDetailType ¶
type DomainEventStartedDetailType int32
DomainEventStartedDetailType as declared in libvirt/libvirt-domain.h:2998
const ( DomainEventStartedBooted DomainEventStartedDetailType = iota DomainEventStartedMigrated DomainEventStartedDetailType = 1 DomainEventStartedRestored DomainEventStartedDetailType = 2 DomainEventStartedFromSnapshot DomainEventStartedDetailType = 3 DomainEventStartedWakeup DomainEventStartedDetailType = 4 )
DomainEventStartedDetailType enumeration from libvirt/libvirt-domain.h:2998
type DomainEventStoppedDetailType ¶
type DomainEventStoppedDetailType int32
DomainEventStoppedDetailType as declared in libvirt/libvirt-domain.h:3055
const ( DomainEventStoppedShutdown DomainEventStoppedDetailType = iota DomainEventStoppedDestroyed DomainEventStoppedDetailType = 1 DomainEventStoppedCrashed DomainEventStoppedDetailType = 2 DomainEventStoppedMigrated DomainEventStoppedDetailType = 3 DomainEventStoppedSaved DomainEventStoppedDetailType = 4 DomainEventStoppedFailed DomainEventStoppedDetailType = 5 DomainEventStoppedFromSnapshot DomainEventStoppedDetailType = 6 )
DomainEventStoppedDetailType enumeration from libvirt/libvirt-domain.h:3055
type DomainEventSuspendedDetailType ¶
type DomainEventSuspendedDetailType int32
DomainEventSuspendedDetailType as declared in libvirt/libvirt-domain.h:3019
const ( DomainEventSuspendedPaused DomainEventSuspendedDetailType = iota DomainEventSuspendedMigrated DomainEventSuspendedDetailType = 1 DomainEventSuspendedIoerror DomainEventSuspendedDetailType = 2 DomainEventSuspendedWatchdog DomainEventSuspendedDetailType = 3 DomainEventSuspendedRestored DomainEventSuspendedDetailType = 4 DomainEventSuspendedFromSnapshot DomainEventSuspendedDetailType = 5 DomainEventSuspendedAPIError DomainEventSuspendedDetailType = 6 DomainEventSuspendedPostcopy DomainEventSuspendedDetailType = 7 DomainEventSuspendedPostcopyFailed DomainEventSuspendedDetailType = 8 )
DomainEventSuspendedDetailType enumeration from libvirt/libvirt-domain.h:3019
type DomainEventTrayChangeMsg ¶
DomainEventTrayChangeMsg is libvirt's remote_domain_event_tray_change_msg
type DomainEventTrayChangeReason ¶
type DomainEventTrayChangeReason int32
DomainEventTrayChangeReason as declared in libvirt/libvirt-domain.h:3863
const ( DomainEventTrayChangeOpen DomainEventTrayChangeReason = iota DomainEventTrayChangeClose DomainEventTrayChangeReason = 1 )
DomainEventTrayChangeReason enumeration from libvirt/libvirt-domain.h:3863
type DomainEventType ¶
type DomainEventType int32
DomainEventType as declared in libvirt/libvirt-domain.h:2951
const ( DomainEventDefined DomainEventType = iota DomainEventUndefined DomainEventType = 1 DomainEventStarted DomainEventType = 2 DomainEventSuspended DomainEventType = 3 DomainEventResumed DomainEventType = 4 DomainEventStopped DomainEventType = 5 DomainEventShutdown DomainEventType = 6 DomainEventPmsuspended DomainEventType = 7 DomainEventCrashed DomainEventType = 8 )
DomainEventType enumeration from libvirt/libvirt-domain.h:2951
type DomainEventUndefinedDetailType ¶
type DomainEventUndefinedDetailType int32
DomainEventUndefinedDetailType as declared in libvirt/libvirt-domain.h:2981
const ( DomainEventUndefinedRemoved DomainEventUndefinedDetailType = iota DomainEventUndefinedRenamed DomainEventUndefinedDetailType = 1 )
DomainEventUndefinedDetailType enumeration from libvirt/libvirt-domain.h:2981
type DomainEventWatchdogAction ¶
type DomainEventWatchdogAction int32
DomainEventWatchdogAction as declared in libvirt/libvirt-domain.h:3575
const ( DomainEventWatchdogNone DomainEventWatchdogAction = iota DomainEventWatchdogPause DomainEventWatchdogAction = 1 DomainEventWatchdogReset DomainEventWatchdogAction = 2 DomainEventWatchdogPoweroff DomainEventWatchdogAction = 3 DomainEventWatchdogShutdown DomainEventWatchdogAction = 4 DomainEventWatchdogDebug DomainEventWatchdogAction = 5 DomainEventWatchdogInjectnmi DomainEventWatchdogAction = 6 )
DomainEventWatchdogAction enumeration from libvirt/libvirt-domain.h:3575
type DomainEventWatchdogMsg ¶
DomainEventWatchdogMsg is libvirt's remote_domain_event_watchdog_msg
type DomainFsfreezeArgs ¶
DomainFsfreezeArgs is libvirt's remote_domain_fsfreeze_args
type DomainFsfreezeRet ¶
type DomainFsfreezeRet struct {
Filesystems int32
}
DomainFsfreezeRet is libvirt's remote_domain_fsfreeze_ret
type DomainFsinfo ¶
DomainFsinfo is libvirt's remote_domain_fsinfo
type DomainFsthawArgs ¶
DomainFsthawArgs is libvirt's remote_domain_fsthaw_args
type DomainFsthawRet ¶
type DomainFsthawRet struct {
Filesystems int32
}
DomainFsthawRet is libvirt's remote_domain_fsthaw_ret
type DomainFstrimArgs ¶
DomainFstrimArgs is libvirt's remote_domain_fstrim_args
type DomainGetAutostartArgs ¶
type DomainGetAutostartArgs struct {
Dom Domain
}
DomainGetAutostartArgs is libvirt's remote_domain_get_autostart_args
type DomainGetAutostartRet ¶
type DomainGetAutostartRet struct {
Autostart int32
}
DomainGetAutostartRet is libvirt's remote_domain_get_autostart_ret
type DomainGetBlkioParametersArgs ¶
DomainGetBlkioParametersArgs is libvirt's remote_domain_get_blkio_parameters_args
type DomainGetBlkioParametersRet ¶
type DomainGetBlkioParametersRet struct { Params []TypedParam Nparams int32 }
DomainGetBlkioParametersRet is libvirt's remote_domain_get_blkio_parameters_ret
type DomainGetBlockIOTuneArgs ¶
DomainGetBlockIOTuneArgs is libvirt's remote_domain_get_block_io_tune_args
type DomainGetBlockIOTuneRet ¶
type DomainGetBlockIOTuneRet struct { Params []TypedParam Nparams int32 }
DomainGetBlockIOTuneRet is libvirt's remote_domain_get_block_io_tune_ret
type DomainGetBlockInfoArgs ¶
DomainGetBlockInfoArgs is libvirt's remote_domain_get_block_info_args
type DomainGetBlockInfoRet ¶
DomainGetBlockInfoRet is libvirt's remote_domain_get_block_info_ret
type DomainGetBlockJobInfoArgs ¶
DomainGetBlockJobInfoArgs is libvirt's remote_domain_get_block_job_info_args
type DomainGetBlockJobInfoRet ¶
type DomainGetBlockJobInfoRet struct { Found int32 Type int32 Bandwidth uint64 Cur uint64 End uint64 }
DomainGetBlockJobInfoRet is libvirt's remote_domain_get_block_job_info_ret
type DomainGetCPUStatsArgs ¶
type DomainGetCPUStatsArgs struct { Dom Domain Nparams uint32 StartCPU int32 Ncpus uint32 Flags TypedParameterFlags }
DomainGetCPUStatsArgs is libvirt's remote_domain_get_cpu_stats_args
type DomainGetCPUStatsRet ¶
type DomainGetCPUStatsRet struct { Params []TypedParam Nparams int32 }
DomainGetCPUStatsRet is libvirt's remote_domain_get_cpu_stats_ret
type DomainGetControlInfoArgs ¶
DomainGetControlInfoArgs is libvirt's remote_domain_get_control_info_args
type DomainGetControlInfoRet ¶
DomainGetControlInfoRet is libvirt's remote_domain_get_control_info_ret
type DomainGetDiskErrorsArgs ¶
DomainGetDiskErrorsArgs is libvirt's remote_domain_get_disk_errors_args
type DomainGetDiskErrorsRet ¶
type DomainGetDiskErrorsRet struct { Errors []DomainDiskError Nerrors int32 }
DomainGetDiskErrorsRet is libvirt's remote_domain_get_disk_errors_ret
type DomainGetEmulatorPinInfoArgs ¶
type DomainGetEmulatorPinInfoArgs struct { Dom Domain Maplen int32 Flags DomainModificationImpact }
DomainGetEmulatorPinInfoArgs is libvirt's remote_domain_get_emulator_pin_info_args
type DomainGetEmulatorPinInfoRet ¶
DomainGetEmulatorPinInfoRet is libvirt's remote_domain_get_emulator_pin_info_ret
type DomainGetFsinfoArgs ¶
DomainGetFsinfoArgs is libvirt's remote_domain_get_fsinfo_args
type DomainGetFsinfoRet ¶
type DomainGetFsinfoRet struct { Info []DomainFsinfo Ret uint32 }
DomainGetFsinfoRet is libvirt's remote_domain_get_fsinfo_ret
type DomainGetGuestVcpusArgs ¶
DomainGetGuestVcpusArgs is libvirt's remote_domain_get_guest_vcpus_args
type DomainGetGuestVcpusRet ¶
type DomainGetGuestVcpusRet struct {
Params []TypedParam
}
DomainGetGuestVcpusRet is libvirt's remote_domain_get_guest_vcpus_ret
type DomainGetHostnameArgs ¶
DomainGetHostnameArgs is libvirt's remote_domain_get_hostname_args
type DomainGetHostnameRet ¶
type DomainGetHostnameRet struct {
Hostname string
}
DomainGetHostnameRet is libvirt's remote_domain_get_hostname_ret
type DomainGetInfoArgs ¶
type DomainGetInfoArgs struct {
Dom Domain
}
DomainGetInfoArgs is libvirt's remote_domain_get_info_args
type DomainGetInfoRet ¶
type DomainGetInfoRet struct { State uint8 MaxMem uint64 Memory uint64 NrVirtCPU uint16 CPUTime uint64 }
DomainGetInfoRet is libvirt's remote_domain_get_info_ret
type DomainGetInterfaceParametersArgs ¶
type DomainGetInterfaceParametersArgs struct { Dom Domain Device string Nparams int32 Flags DomainModificationImpact }
DomainGetInterfaceParametersArgs is libvirt's remote_domain_get_interface_parameters_args
type DomainGetInterfaceParametersRet ¶
type DomainGetInterfaceParametersRet struct { Params []TypedParam Nparams int32 }
DomainGetInterfaceParametersRet is libvirt's remote_domain_get_interface_parameters_ret
type DomainGetIothreadInfoArgs ¶
type DomainGetIothreadInfoArgs struct { Dom Domain Flags DomainModificationImpact }
DomainGetIothreadInfoArgs is libvirt's remote_domain_get_iothread_info_args
type DomainGetIothreadInfoRet ¶
type DomainGetIothreadInfoRet struct { Info []DomainIothreadInfo Ret uint32 }
DomainGetIothreadInfoRet is libvirt's remote_domain_get_iothread_info_ret
type DomainGetJobInfoArgs ¶
type DomainGetJobInfoArgs struct {
Dom Domain
}
DomainGetJobInfoArgs is libvirt's remote_domain_get_job_info_args
type DomainGetJobInfoRet ¶
type DomainGetJobInfoRet struct { Type int32 TimeElapsed uint64 TimeRemaining uint64 DataTotal uint64 DataProcessed uint64 DataRemaining uint64 MemTotal uint64 MemProcessed uint64 MemRemaining uint64 FileTotal uint64 FileProcessed uint64 FileRemaining uint64 }
DomainGetJobInfoRet is libvirt's remote_domain_get_job_info_ret
type DomainGetJobStatsArgs ¶
type DomainGetJobStatsArgs struct { Dom Domain Flags DomainGetJobStatsFlags }
DomainGetJobStatsArgs is libvirt's remote_domain_get_job_stats_args
type DomainGetJobStatsFlags ¶
type DomainGetJobStatsFlags int32
DomainGetJobStatsFlags as declared in libvirt/libvirt-domain.h:3196
const (
DomainJobStatsCompleted DomainGetJobStatsFlags = 1
)
DomainGetJobStatsFlags enumeration from libvirt/libvirt-domain.h:3196
type DomainGetJobStatsRet ¶
type DomainGetJobStatsRet struct { Type int32 Params []TypedParam }
DomainGetJobStatsRet is libvirt's remote_domain_get_job_stats_ret
type DomainGetLaunchSecurityInfoArgs ¶
DomainGetLaunchSecurityInfoArgs is libvirt's remote_domain_get_launch_security_info_args
type DomainGetLaunchSecurityInfoRet ¶
type DomainGetLaunchSecurityInfoRet struct {
Params []TypedParam
}
DomainGetLaunchSecurityInfoRet is libvirt's remote_domain_get_launch_security_info_ret
type DomainGetMaxMemoryArgs ¶
type DomainGetMaxMemoryArgs struct {
Dom Domain
}
DomainGetMaxMemoryArgs is libvirt's remote_domain_get_max_memory_args
type DomainGetMaxMemoryRet ¶
type DomainGetMaxMemoryRet struct {
Memory uint64
}
DomainGetMaxMemoryRet is libvirt's remote_domain_get_max_memory_ret
type DomainGetMaxVcpusArgs ¶
type DomainGetMaxVcpusArgs struct {
Dom Domain
}
DomainGetMaxVcpusArgs is libvirt's remote_domain_get_max_vcpus_args
type DomainGetMaxVcpusRet ¶
type DomainGetMaxVcpusRet struct {
Num int32
}
DomainGetMaxVcpusRet is libvirt's remote_domain_get_max_vcpus_ret
type DomainGetMemoryParametersArgs ¶
DomainGetMemoryParametersArgs is libvirt's remote_domain_get_memory_parameters_args
type DomainGetMemoryParametersRet ¶
type DomainGetMemoryParametersRet struct { Params []TypedParam Nparams int32 }
DomainGetMemoryParametersRet is libvirt's remote_domain_get_memory_parameters_ret
type DomainGetMetadataArgs ¶
type DomainGetMetadataArgs struct { Dom Domain Type int32 Uri OptString Flags DomainModificationImpact }
DomainGetMetadataArgs is libvirt's remote_domain_get_metadata_args
type DomainGetMetadataRet ¶
type DomainGetMetadataRet struct {
Metadata string
}
DomainGetMetadataRet is libvirt's remote_domain_get_metadata_ret
type DomainGetNumaParametersArgs ¶
DomainGetNumaParametersArgs is libvirt's remote_domain_get_numa_parameters_args
type DomainGetNumaParametersRet ¶
type DomainGetNumaParametersRet struct { Params []TypedParam Nparams int32 }
DomainGetNumaParametersRet is libvirt's remote_domain_get_numa_parameters_ret
type DomainGetOsTypeArgs ¶
type DomainGetOsTypeArgs struct {
Dom Domain
}
DomainGetOsTypeArgs is libvirt's remote_domain_get_os_type_args
type DomainGetOsTypeRet ¶
type DomainGetOsTypeRet struct {
Type string
}
DomainGetOsTypeRet is libvirt's remote_domain_get_os_type_ret
type DomainGetPerfEventsArgs ¶
type DomainGetPerfEventsArgs struct { Dom Domain Flags DomainModificationImpact }
DomainGetPerfEventsArgs is libvirt's remote_domain_get_perf_events_args
type DomainGetPerfEventsRet ¶
type DomainGetPerfEventsRet struct {
Params []TypedParam
}
DomainGetPerfEventsRet is libvirt's remote_domain_get_perf_events_ret
type DomainGetSchedulerParametersArgs ¶
DomainGetSchedulerParametersArgs is libvirt's remote_domain_get_scheduler_parameters_args
type DomainGetSchedulerParametersFlagsArgs ¶
DomainGetSchedulerParametersFlagsArgs is libvirt's remote_domain_get_scheduler_parameters_flags_args
type DomainGetSchedulerParametersFlagsRet ¶
type DomainGetSchedulerParametersFlagsRet struct {
Params []TypedParam
}
DomainGetSchedulerParametersFlagsRet is libvirt's remote_domain_get_scheduler_parameters_flags_ret
type DomainGetSchedulerParametersRet ¶
type DomainGetSchedulerParametersRet struct {
Params []TypedParam
}
DomainGetSchedulerParametersRet is libvirt's remote_domain_get_scheduler_parameters_ret
type DomainGetSchedulerTypeArgs ¶
type DomainGetSchedulerTypeArgs struct {
Dom Domain
}
DomainGetSchedulerTypeArgs is libvirt's remote_domain_get_scheduler_type_args
type DomainGetSchedulerTypeRet ¶
DomainGetSchedulerTypeRet is libvirt's remote_domain_get_scheduler_type_ret
type DomainGetSecurityLabelArgs ¶
type DomainGetSecurityLabelArgs struct {
Dom Domain
}
DomainGetSecurityLabelArgs is libvirt's remote_domain_get_security_label_args
type DomainGetSecurityLabelListArgs ¶
type DomainGetSecurityLabelListArgs struct {
Dom Domain
}
DomainGetSecurityLabelListArgs is libvirt's remote_domain_get_security_label_list_args
type DomainGetSecurityLabelListRet ¶
type DomainGetSecurityLabelListRet struct { Labels []DomainGetSecurityLabelRet Ret int32 }
DomainGetSecurityLabelListRet is libvirt's remote_domain_get_security_label_list_ret
type DomainGetSecurityLabelRet ¶
DomainGetSecurityLabelRet is libvirt's remote_domain_get_security_label_ret
type DomainGetStateArgs ¶
DomainGetStateArgs is libvirt's remote_domain_get_state_args
type DomainGetStateRet ¶
DomainGetStateRet is libvirt's remote_domain_get_state_ret
type DomainGetTimeArgs ¶
DomainGetTimeArgs is libvirt's remote_domain_get_time_args
type DomainGetTimeRet ¶
DomainGetTimeRet is libvirt's remote_domain_get_time_ret
type DomainGetVcpuPinInfoArgs ¶
DomainGetVcpuPinInfoArgs is libvirt's remote_domain_get_vcpu_pin_info_args
type DomainGetVcpuPinInfoRet ¶
DomainGetVcpuPinInfoRet is libvirt's remote_domain_get_vcpu_pin_info_ret
type DomainGetVcpusArgs ¶
DomainGetVcpusArgs is libvirt's remote_domain_get_vcpus_args
type DomainGetVcpusFlagsArgs ¶
DomainGetVcpusFlagsArgs is libvirt's remote_domain_get_vcpus_flags_args
type DomainGetVcpusFlagsRet ¶
type DomainGetVcpusFlagsRet struct {
Num int32
}
DomainGetVcpusFlagsRet is libvirt's remote_domain_get_vcpus_flags_ret
type DomainGetVcpusRet ¶
DomainGetVcpusRet is libvirt's remote_domain_get_vcpus_ret
type DomainGetXMLDescArgs ¶
type DomainGetXMLDescArgs struct { Dom Domain Flags DomainXMLFlags }
DomainGetXMLDescArgs is libvirt's remote_domain_get_xml_desc_args
type DomainGetXMLDescRet ¶
type DomainGetXMLDescRet struct {
XML string
}
DomainGetXMLDescRet is libvirt's remote_domain_get_xml_desc_ret
type DomainHasCurrentSnapshotArgs ¶
DomainHasCurrentSnapshotArgs is libvirt's remote_domain_has_current_snapshot_args
type DomainHasCurrentSnapshotRet ¶
type DomainHasCurrentSnapshotRet struct {
Result int32
}
DomainHasCurrentSnapshotRet is libvirt's remote_domain_has_current_snapshot_ret
type DomainHasManagedSaveImageArgs ¶
DomainHasManagedSaveImageArgs is libvirt's remote_domain_has_managed_save_image_args
type DomainHasManagedSaveImageRet ¶
type DomainHasManagedSaveImageRet struct {
Result int32
}
DomainHasManagedSaveImageRet is libvirt's remote_domain_has_managed_save_image_ret
type DomainIPAddr ¶
DomainIPAddr is libvirt's remote_domain_ip_addr
type DomainInjectNmiArgs ¶
DomainInjectNmiArgs is libvirt's remote_domain_inject_nmi_args
type DomainInterface ¶
type DomainInterface struct { Name string Hwaddr OptString Addrs []DomainIPAddr }
DomainInterface is libvirt's remote_domain_interface
type DomainInterfaceAddressesArgs ¶
DomainInterfaceAddressesArgs is libvirt's remote_domain_interface_addresses_args
type DomainInterfaceAddressesRet ¶
type DomainInterfaceAddressesRet struct {
Ifaces []DomainInterface
}
DomainInterfaceAddressesRet is libvirt's remote_domain_interface_addresses_ret
type DomainInterfaceAddressesSource ¶
type DomainInterfaceAddressesSource int32
DomainInterfaceAddressesSource as declared in libvirt/libvirt-domain.h:4748
const ( DomainInterfaceAddressesSrcLease DomainInterfaceAddressesSource = iota DomainInterfaceAddressesSrcAgent DomainInterfaceAddressesSource = 1 DomainInterfaceAddressesSrcArp DomainInterfaceAddressesSource = 2 )
DomainInterfaceAddressesSource enumeration from libvirt/libvirt-domain.h:4748
type DomainInterfaceStatsArgs ¶
DomainInterfaceStatsArgs is libvirt's remote_domain_interface_stats_args
type DomainInterfaceStatsRet ¶
type DomainInterfaceStatsRet struct { RxBytes int64 RxPackets int64 RxErrs int64 RxDrop int64 TxBytes int64 TxPackets int64 TxErrs int64 TxDrop int64 }
DomainInterfaceStatsRet is libvirt's remote_domain_interface_stats_ret
type DomainIothreadInfo ¶
DomainIothreadInfo is libvirt's remote_domain_iothread_info
type DomainIsActiveArgs ¶
type DomainIsActiveArgs struct {
Dom Domain
}
DomainIsActiveArgs is libvirt's remote_domain_is_active_args
type DomainIsActiveRet ¶
type DomainIsActiveRet struct {
Active int32
}
DomainIsActiveRet is libvirt's remote_domain_is_active_ret
type DomainIsPersistentArgs ¶
type DomainIsPersistentArgs struct {
Dom Domain
}
DomainIsPersistentArgs is libvirt's remote_domain_is_persistent_args
type DomainIsPersistentRet ¶
type DomainIsPersistentRet struct {
Persistent int32
}
DomainIsPersistentRet is libvirt's remote_domain_is_persistent_ret
type DomainIsUpdatedArgs ¶
type DomainIsUpdatedArgs struct {
Dom Domain
}
DomainIsUpdatedArgs is libvirt's remote_domain_is_updated_args
type DomainIsUpdatedRet ¶
type DomainIsUpdatedRet struct {
Updated int32
}
DomainIsUpdatedRet is libvirt's remote_domain_is_updated_ret
type DomainJobOperation ¶
type DomainJobOperation int32
DomainJobOperation as declared in libvirt/libvirt-domain.h:3221
const ( DomainJobOperationStrUnknown DomainJobOperation = iota DomainJobOperationStrStart DomainJobOperation = 1 DomainJobOperationStrSave DomainJobOperation = 2 DomainJobOperationStrRestore DomainJobOperation = 3 DomainJobOperationStrMigrationIn DomainJobOperation = 4 DomainJobOperationStrMigrationOut DomainJobOperation = 5 DomainJobOperationStrSnapshot DomainJobOperation = 6 DomainJobOperationStrSnapshotRevert DomainJobOperation = 7 DomainJobOperationStrDump DomainJobOperation = 8 )
DomainJobOperation enumeration from libvirt/libvirt-domain.h:3221
type DomainJobType ¶
type DomainJobType int32
DomainJobType as declared in libvirt/libvirt-domain.h:3149
const ( DomainJobNone DomainJobType = iota DomainJobBounded DomainJobType = 1 DomainJobUnbounded DomainJobType = 2 DomainJobCompleted DomainJobType = 3 DomainJobFailed DomainJobType = 4 DomainJobCancelled DomainJobType = 5 )
DomainJobType enumeration from libvirt/libvirt-domain.h:3149
type DomainLifecycle ¶
type DomainLifecycle int32
DomainLifecycle as declared in libvirt/libvirt-domain.h:4815
const ( DomainLifecyclePoweroff DomainLifecycle = iota DomainLifecycleReboot DomainLifecycle = 1 DomainLifecycleCrash DomainLifecycle = 2 )
DomainLifecycle enumeration from libvirt/libvirt-domain.h:4815
type DomainLifecycleAction ¶
type DomainLifecycleAction int32
DomainLifecycleAction as declared in libvirt/libvirt-domain.h:4828
const ( DomainLifecycleActionDestroy DomainLifecycleAction = iota DomainLifecycleActionRestart DomainLifecycleAction = 1 DomainLifecycleActionRestartRename DomainLifecycleAction = 2 DomainLifecycleActionPreserve DomainLifecycleAction = 3 DomainLifecycleActionCoredumpDestroy DomainLifecycleAction = 4 DomainLifecycleActionCoredumpRestart DomainLifecycleAction = 5 )
DomainLifecycleAction enumeration from libvirt/libvirt-domain.h:4828
type DomainListAllSnapshotsArgs ¶
DomainListAllSnapshotsArgs is libvirt's remote_domain_list_all_snapshots_args
type DomainListAllSnapshotsRet ¶
type DomainListAllSnapshotsRet struct { Snapshots []DomainSnapshot Ret int32 }
DomainListAllSnapshotsRet is libvirt's remote_domain_list_all_snapshots_ret
type DomainLookupByIDArgs ¶
type DomainLookupByIDArgs struct {
ID int32
}
DomainLookupByIDArgs is libvirt's remote_domain_lookup_by_id_args
type DomainLookupByIDRet ¶
type DomainLookupByIDRet struct {
Dom Domain
}
DomainLookupByIDRet is libvirt's remote_domain_lookup_by_id_ret
type DomainLookupByNameArgs ¶
type DomainLookupByNameArgs struct {
Name string
}
DomainLookupByNameArgs is libvirt's remote_domain_lookup_by_name_args
type DomainLookupByNameRet ¶
type DomainLookupByNameRet struct {
Dom Domain
}
DomainLookupByNameRet is libvirt's remote_domain_lookup_by_name_ret
type DomainLookupByUUIDArgs ¶
type DomainLookupByUUIDArgs struct {
UUID UUID
}
DomainLookupByUUIDArgs is libvirt's remote_domain_lookup_by_uuid_args
type DomainLookupByUUIDRet ¶
type DomainLookupByUUIDRet struct {
Dom Domain
}
DomainLookupByUUIDRet is libvirt's remote_domain_lookup_by_uuid_ret
type DomainManagedSaveArgs ¶
DomainManagedSaveArgs is libvirt's remote_domain_managed_save_args
type DomainManagedSaveDefineXMLArgs ¶
type DomainManagedSaveDefineXMLArgs struct { Dom Domain Dxml OptString Flags DomainSaveRestoreFlags }
DomainManagedSaveDefineXMLArgs is libvirt's remote_domain_managed_save_define_xml_args
type DomainManagedSaveGetXMLDescArgs ¶
type DomainManagedSaveGetXMLDescArgs struct { Dom Domain Flags DomainXMLFlags }
DomainManagedSaveGetXMLDescArgs is libvirt's remote_domain_managed_save_get_xml_desc_args
type DomainManagedSaveGetXMLDescRet ¶
type DomainManagedSaveGetXMLDescRet struct {
XML string
}
DomainManagedSaveGetXMLDescRet is libvirt's remote_domain_managed_save_get_xml_desc_ret
type DomainManagedSaveRemoveArgs ¶
DomainManagedSaveRemoveArgs is libvirt's remote_domain_managed_save_remove_args
type DomainMemoryFlags ¶
type DomainMemoryFlags int32
DomainMemoryFlags as declared in libvirt/libvirt-domain.h:1725
const ( MemoryVirtual DomainMemoryFlags = 1 MemoryPhysical DomainMemoryFlags = 2 )
DomainMemoryFlags enumeration from libvirt/libvirt-domain.h:1725
type DomainMemoryModFlags ¶
type DomainMemoryModFlags int32
DomainMemoryModFlags as declared in libvirt/libvirt-domain.h:1447
const ( DomainMemCurrent DomainMemoryModFlags = iota DomainMemLive DomainMemoryModFlags = 1 DomainMemConfig DomainMemoryModFlags = 2 DomainMemMaximum DomainMemoryModFlags = 4 )
DomainMemoryModFlags enumeration from libvirt/libvirt-domain.h:1447
type DomainMemoryPeekArgs ¶
type DomainMemoryPeekArgs struct { Dom Domain Offset uint64 Size uint32 Flags DomainMemoryFlags }
DomainMemoryPeekArgs is libvirt's remote_domain_memory_peek_args
type DomainMemoryPeekRet ¶
type DomainMemoryPeekRet struct {
Buffer []byte
}
DomainMemoryPeekRet is libvirt's remote_domain_memory_peek_ret
type DomainMemoryStat ¶
DomainMemoryStat is libvirt's remote_domain_memory_stat
type DomainMemoryStatTags ¶
type DomainMemoryStatTags int32
DomainMemoryStatTags as declared in libvirt/libvirt-domain.h:648
const ( DomainMemoryStatSwapIn DomainMemoryStatTags = iota DomainMemoryStatSwapOut DomainMemoryStatTags = 1 DomainMemoryStatMajorFault DomainMemoryStatTags = 2 DomainMemoryStatMinorFault DomainMemoryStatTags = 3 DomainMemoryStatUnused DomainMemoryStatTags = 4 DomainMemoryStatAvailable DomainMemoryStatTags = 5 DomainMemoryStatActualBalloon DomainMemoryStatTags = 6 DomainMemoryStatRss DomainMemoryStatTags = 7 DomainMemoryStatUsable DomainMemoryStatTags = 8 DomainMemoryStatLastUpdate DomainMemoryStatTags = 9 DomainMemoryStatDiskCaches DomainMemoryStatTags = 10 DomainMemoryStatNr DomainMemoryStatTags = 11 )
DomainMemoryStatTags enumeration from libvirt/libvirt-domain.h:648
type DomainMemoryStatsArgs ¶
DomainMemoryStatsArgs is libvirt's remote_domain_memory_stats_args
type DomainMemoryStatsRet ¶
type DomainMemoryStatsRet struct {
Stats []DomainMemoryStat
}
DomainMemoryStatsRet is libvirt's remote_domain_memory_stats_ret
type DomainMetadataType ¶
type DomainMetadataType int32
DomainMetadataType as declared in libvirt/libvirt-domain.h:1527
const ( DomainMetadataDescription DomainMetadataType = iota DomainMetadataTitle DomainMetadataType = 1 DomainMetadataElement DomainMetadataType = 2 )
DomainMetadataType enumeration from libvirt/libvirt-domain.h:1527
type DomainMigrateBegin3Args ¶
type DomainMigrateBegin3Args struct { Dom Domain Xmlin OptString Flags uint64 Dname OptString Resource uint64 }
DomainMigrateBegin3Args is libvirt's remote_domain_migrate_begin3_args
type DomainMigrateBegin3ParamsArgs ¶
type DomainMigrateBegin3ParamsArgs struct { Dom Domain Params []TypedParam Flags uint32 }
DomainMigrateBegin3ParamsArgs is libvirt's remote_domain_migrate_begin3_params_args
type DomainMigrateBegin3ParamsRet ¶
DomainMigrateBegin3ParamsRet is libvirt's remote_domain_migrate_begin3_params_ret
type DomainMigrateBegin3Ret ¶
DomainMigrateBegin3Ret is libvirt's remote_domain_migrate_begin3_ret
type DomainMigrateConfirm3Args ¶
DomainMigrateConfirm3Args is libvirt's remote_domain_migrate_confirm3_args
type DomainMigrateConfirm3ParamsArgs ¶
type DomainMigrateConfirm3ParamsArgs struct { Dom Domain Params []TypedParam CookieIn []byte Flags uint32 Cancelled int32 }
DomainMigrateConfirm3ParamsArgs is libvirt's remote_domain_migrate_confirm3_params_args
type DomainMigrateFinish2Args ¶
type DomainMigrateFinish2Args struct { Dname string Cookie []byte Uri string Flags uint64 Retcode int32 }
DomainMigrateFinish2Args is libvirt's remote_domain_migrate_finish2_args
type DomainMigrateFinish2Ret ¶
type DomainMigrateFinish2Ret struct {
Ddom Domain
}
DomainMigrateFinish2Ret is libvirt's remote_domain_migrate_finish2_ret
type DomainMigrateFinish3Args ¶
type DomainMigrateFinish3Args struct { Dname string CookieIn []byte Dconnuri OptString Uri OptString Flags uint64 Cancelled int32 }
DomainMigrateFinish3Args is libvirt's remote_domain_migrate_finish3_args
type DomainMigrateFinish3ParamsArgs ¶
type DomainMigrateFinish3ParamsArgs struct { Params []TypedParam CookieIn []byte Flags uint32 Cancelled int32 }
DomainMigrateFinish3ParamsArgs is libvirt's remote_domain_migrate_finish3_params_args
type DomainMigrateFinish3ParamsRet ¶
DomainMigrateFinish3ParamsRet is libvirt's remote_domain_migrate_finish3_params_ret
type DomainMigrateFinish3Ret ¶
DomainMigrateFinish3Ret is libvirt's remote_domain_migrate_finish3_ret
type DomainMigrateFinishArgs ¶
DomainMigrateFinishArgs is libvirt's remote_domain_migrate_finish_args
type DomainMigrateFinishRet ¶
type DomainMigrateFinishRet struct {
Ddom Domain
}
DomainMigrateFinishRet is libvirt's remote_domain_migrate_finish_ret
type DomainMigrateFlags ¶
type DomainMigrateFlags int32
DomainMigrateFlags as declared in libvirt/libvirt-domain.h:834
const ( MigrateLive DomainMigrateFlags = 1 MigratePeer2peer DomainMigrateFlags = 2 MigrateTunnelled DomainMigrateFlags = 4 MigratePersistDest DomainMigrateFlags = 8 MigrateUndefineSource DomainMigrateFlags = 16 MigratePaused DomainMigrateFlags = 32 MigrateChangeProtection DomainMigrateFlags = 256 MigrateUnsafe DomainMigrateFlags = 512 MigrateOffline DomainMigrateFlags = 1024 MigrateCompressed DomainMigrateFlags = 2048 MigrateAbortOnError DomainMigrateFlags = 4096 MigrateAutoConverge DomainMigrateFlags = 8192 MigrateRdmaPinAll DomainMigrateFlags = 16384 MigratePostcopy DomainMigrateFlags = 32768 MigrateTLS DomainMigrateFlags = 65536 )
DomainMigrateFlags enumeration from libvirt/libvirt-domain.h:834
type DomainMigrateGetCompressionCacheArgs ¶
DomainMigrateGetCompressionCacheArgs is libvirt's remote_domain_migrate_get_compression_cache_args
type DomainMigrateGetCompressionCacheRet ¶
type DomainMigrateGetCompressionCacheRet struct {
CacheSize uint64
}
DomainMigrateGetCompressionCacheRet is libvirt's remote_domain_migrate_get_compression_cache_ret
type DomainMigrateGetMaxDowntimeArgs ¶
DomainMigrateGetMaxDowntimeArgs is libvirt's remote_domain_migrate_get_max_downtime_args
type DomainMigrateGetMaxDowntimeRet ¶
type DomainMigrateGetMaxDowntimeRet struct {
Downtime uint64
}
DomainMigrateGetMaxDowntimeRet is libvirt's remote_domain_migrate_get_max_downtime_ret
type DomainMigrateGetMaxSpeedArgs ¶
DomainMigrateGetMaxSpeedArgs is libvirt's remote_domain_migrate_get_max_speed_args
type DomainMigrateGetMaxSpeedRet ¶
type DomainMigrateGetMaxSpeedRet struct {
Bandwidth uint64
}
DomainMigrateGetMaxSpeedRet is libvirt's remote_domain_migrate_get_max_speed_ret
type DomainMigratePerform3Args ¶
type DomainMigratePerform3Args struct { Dom Domain Xmlin OptString CookieIn []byte Dconnuri OptString Uri OptString Flags uint64 Dname OptString Resource uint64 }
DomainMigratePerform3Args is libvirt's remote_domain_migrate_perform3_args
type DomainMigratePerform3ParamsArgs ¶
type DomainMigratePerform3ParamsArgs struct { Dom Domain Dconnuri OptString Params []TypedParam CookieIn []byte Flags DomainMigrateFlags }
DomainMigratePerform3ParamsArgs is libvirt's remote_domain_migrate_perform3_params_args
type DomainMigratePerform3ParamsRet ¶
type DomainMigratePerform3ParamsRet struct {
CookieOut []byte
}
DomainMigratePerform3ParamsRet is libvirt's remote_domain_migrate_perform3_params_ret
type DomainMigratePerform3Ret ¶
type DomainMigratePerform3Ret struct {
CookieOut []byte
}
DomainMigratePerform3Ret is libvirt's remote_domain_migrate_perform3_ret
type DomainMigratePerformArgs ¶
type DomainMigratePerformArgs struct { Dom Domain Cookie []byte Uri string Flags uint64 Dname OptString Resource uint64 }
DomainMigratePerformArgs is libvirt's remote_domain_migrate_perform_args
type DomainMigratePrepare2Args ¶
type DomainMigratePrepare2Args struct { UriIn OptString Flags uint64 Dname OptString Resource uint64 DomXML string }
DomainMigratePrepare2Args is libvirt's remote_domain_migrate_prepare2_args
type DomainMigratePrepare2Ret ¶
DomainMigratePrepare2Ret is libvirt's remote_domain_migrate_prepare2_ret
type DomainMigratePrepare3Args ¶
type DomainMigratePrepare3Args struct { CookieIn []byte UriIn OptString Flags uint64 Dname OptString Resource uint64 DomXML string }
DomainMigratePrepare3Args is libvirt's remote_domain_migrate_prepare3_args
type DomainMigratePrepare3ParamsArgs ¶
type DomainMigratePrepare3ParamsArgs struct { Params []TypedParam CookieIn []byte Flags uint32 }
DomainMigratePrepare3ParamsArgs is libvirt's remote_domain_migrate_prepare3_params_args
type DomainMigratePrepare3ParamsRet ¶
DomainMigratePrepare3ParamsRet is libvirt's remote_domain_migrate_prepare3_params_ret
type DomainMigratePrepare3Ret ¶
DomainMigratePrepare3Ret is libvirt's remote_domain_migrate_prepare3_ret
type DomainMigratePrepareArgs ¶
type DomainMigratePrepareArgs struct { UriIn OptString Flags uint64 Dname OptString Resource uint64 }
DomainMigratePrepareArgs is libvirt's remote_domain_migrate_prepare_args
type DomainMigratePrepareRet ¶
DomainMigratePrepareRet is libvirt's remote_domain_migrate_prepare_ret
type DomainMigratePrepareTunnel3Args ¶
type DomainMigratePrepareTunnel3Args struct { CookieIn []byte Flags uint64 Dname OptString Resource uint64 DomXML string }
DomainMigratePrepareTunnel3Args is libvirt's remote_domain_migrate_prepare_tunnel3_args
type DomainMigratePrepareTunnel3ParamsArgs ¶
type DomainMigratePrepareTunnel3ParamsArgs struct { Params []TypedParam CookieIn []byte Flags uint32 }
DomainMigratePrepareTunnel3ParamsArgs is libvirt's remote_domain_migrate_prepare_tunnel3_params_args
type DomainMigratePrepareTunnel3ParamsRet ¶
type DomainMigratePrepareTunnel3ParamsRet struct {
CookieOut []byte
}
DomainMigratePrepareTunnel3ParamsRet is libvirt's remote_domain_migrate_prepare_tunnel3_params_ret
type DomainMigratePrepareTunnel3Ret ¶
type DomainMigratePrepareTunnel3Ret struct {
CookieOut []byte
}
DomainMigratePrepareTunnel3Ret is libvirt's remote_domain_migrate_prepare_tunnel3_ret
type DomainMigratePrepareTunnelArgs ¶
type DomainMigratePrepareTunnelArgs struct { Flags uint64 Dname OptString Resource uint64 DomXML string }
DomainMigratePrepareTunnelArgs is libvirt's remote_domain_migrate_prepare_tunnel_args
type DomainMigrateSetCompressionCacheArgs ¶
DomainMigrateSetCompressionCacheArgs is libvirt's remote_domain_migrate_set_compression_cache_args
type DomainMigrateSetMaxDowntimeArgs ¶
DomainMigrateSetMaxDowntimeArgs is libvirt's remote_domain_migrate_set_max_downtime_args
type DomainMigrateSetMaxSpeedArgs ¶
DomainMigrateSetMaxSpeedArgs is libvirt's remote_domain_migrate_set_max_speed_args
type DomainMigrateStartPostCopyArgs ¶
DomainMigrateStartPostCopyArgs is libvirt's remote_domain_migrate_start_post_copy_args
type DomainModificationImpact ¶
type DomainModificationImpact int32
DomainModificationImpact as declared in libvirt/libvirt-domain.h:265
const ( DomainAffectCurrent DomainModificationImpact = iota DomainAffectLive DomainModificationImpact = 1 DomainAffectConfig DomainModificationImpact = 2 )
DomainModificationImpact enumeration from libvirt/libvirt-domain.h:265
type DomainNostateReason ¶
type DomainNostateReason int32
DomainNostateReason as declared in libvirt/libvirt-domain.h:78
const (
DomainNostateUnknown DomainNostateReason = iota
)
DomainNostateReason enumeration from libvirt/libvirt-domain.h:78
type DomainNumatuneMemMode ¶
type DomainNumatuneMemMode int32
DomainNumatuneMemMode as declared in libvirt/libvirt-domain.h:1465
const ( DomainNumatuneMemStrict DomainNumatuneMemMode = iota DomainNumatuneMemPreferred DomainNumatuneMemMode = 1 DomainNumatuneMemInterleave DomainNumatuneMemMode = 2 )
DomainNumatuneMemMode enumeration from libvirt/libvirt-domain.h:1465
type DomainOpenChannelArgs ¶
type DomainOpenChannelArgs struct { Dom Domain Name OptString Flags DomainChannelFlags }
DomainOpenChannelArgs is libvirt's remote_domain_open_channel_args
type DomainOpenConsoleArgs ¶
DomainOpenConsoleArgs is libvirt's remote_domain_open_console_args
type DomainOpenGraphicsArgs ¶
type DomainOpenGraphicsArgs struct { Dom Domain Idx uint32 Flags DomainOpenGraphicsFlags }
DomainOpenGraphicsArgs is libvirt's remote_domain_open_graphics_args
type DomainOpenGraphicsFdArgs ¶
type DomainOpenGraphicsFdArgs struct { Dom Domain Idx uint32 Flags DomainOpenGraphicsFlags }
DomainOpenGraphicsFdArgs is libvirt's remote_domain_open_graphics_fd_args
type DomainOpenGraphicsFlags ¶
type DomainOpenGraphicsFlags int32
DomainOpenGraphicsFlags as declared in libvirt/libvirt-domain.h:4544
const (
DomainOpenGraphicsSkipauth DomainOpenGraphicsFlags = 1
)
DomainOpenGraphicsFlags enumeration from libvirt/libvirt-domain.h:4544
type DomainPMSuspendedDiskReason ¶
type DomainPMSuspendedDiskReason int32
DomainPMSuspendedDiskReason as declared in libvirt/libvirt-domain.h:177
const (
DomainPmsuspendedDiskUnknown DomainPMSuspendedDiskReason = iota
)
DomainPMSuspendedDiskReason enumeration from libvirt/libvirt-domain.h:177
type DomainPMSuspendedReason ¶
type DomainPMSuspendedReason int32
DomainPMSuspendedReason as declared in libvirt/libvirt-domain.h:169
const (
DomainPmsuspendedUnknown DomainPMSuspendedReason = iota
)
DomainPMSuspendedReason enumeration from libvirt/libvirt-domain.h:169
type DomainPausedReason ¶
type DomainPausedReason int32
DomainPausedReason as declared in libvirt/libvirt-domain.h:126
const ( DomainPausedUnknown DomainPausedReason = iota DomainPausedUser DomainPausedReason = 1 DomainPausedMigration DomainPausedReason = 2 DomainPausedSave DomainPausedReason = 3 DomainPausedDump DomainPausedReason = 4 DomainPausedIoerror DomainPausedReason = 5 DomainPausedWatchdog DomainPausedReason = 6 DomainPausedFromSnapshot DomainPausedReason = 7 DomainPausedShuttingDown DomainPausedReason = 8 DomainPausedSnapshot DomainPausedReason = 9 DomainPausedCrashed DomainPausedReason = 10 DomainPausedStartingUp DomainPausedReason = 11 DomainPausedPostcopy DomainPausedReason = 12 DomainPausedPostcopyFailed DomainPausedReason = 13 )
DomainPausedReason enumeration from libvirt/libvirt-domain.h:126
type DomainPinEmulatorArgs ¶
type DomainPinEmulatorArgs struct { Dom Domain Cpumap []byte Flags DomainModificationImpact }
DomainPinEmulatorArgs is libvirt's remote_domain_pin_emulator_args
type DomainPinIothreadArgs ¶
type DomainPinIothreadArgs struct { Dom Domain IothreadsID uint32 Cpumap []byte Flags DomainModificationImpact }
DomainPinIothreadArgs is libvirt's remote_domain_pin_iothread_args
type DomainPinVcpuArgs ¶
DomainPinVcpuArgs is libvirt's remote_domain_pin_vcpu_args
type DomainPinVcpuFlagsArgs ¶
DomainPinVcpuFlagsArgs is libvirt's remote_domain_pin_vcpu_flags_args
type DomainPmSuspendForDurationArgs ¶
type DomainPmSuspendForDurationArgs struct { Dom Domain Target uint32 Duration uint64 Flags uint32 }
DomainPmSuspendForDurationArgs is libvirt's remote_domain_pm_suspend_for_duration_args
type DomainPmWakeupArgs ¶
DomainPmWakeupArgs is libvirt's remote_domain_pm_wakeup_args
type DomainProcessSignal ¶
type DomainProcessSignal int32
DomainProcessSignal as declared in libvirt/libvirt-domain.h:2913
const ( DomainProcessSignalNop DomainProcessSignal = iota DomainProcessSignalHup DomainProcessSignal = 1 DomainProcessSignalInt DomainProcessSignal = 2 DomainProcessSignalQuit DomainProcessSignal = 3 DomainProcessSignalIll DomainProcessSignal = 4 DomainProcessSignalTrap DomainProcessSignal = 5 DomainProcessSignalAbrt DomainProcessSignal = 6 DomainProcessSignalBus DomainProcessSignal = 7 DomainProcessSignalFpe DomainProcessSignal = 8 DomainProcessSignalKill DomainProcessSignal = 9 DomainProcessSignalUsr1 DomainProcessSignal = 10 DomainProcessSignalSegv DomainProcessSignal = 11 DomainProcessSignalUsr2 DomainProcessSignal = 12 DomainProcessSignalPipe DomainProcessSignal = 13 DomainProcessSignalAlrm DomainProcessSignal = 14 DomainProcessSignalTerm DomainProcessSignal = 15 DomainProcessSignalStkflt DomainProcessSignal = 16 DomainProcessSignalChld DomainProcessSignal = 17 DomainProcessSignalCont DomainProcessSignal = 18 DomainProcessSignalStop DomainProcessSignal = 19 DomainProcessSignalTstp DomainProcessSignal = 20 DomainProcessSignalTtin DomainProcessSignal = 21 DomainProcessSignalTtou DomainProcessSignal = 22 DomainProcessSignalUrg DomainProcessSignal = 23 DomainProcessSignalXcpu DomainProcessSignal = 24 DomainProcessSignalXfsz DomainProcessSignal = 25 DomainProcessSignalVtalrm DomainProcessSignal = 26 DomainProcessSignalProf DomainProcessSignal = 27 DomainProcessSignalWinch DomainProcessSignal = 28 DomainProcessSignalPoll DomainProcessSignal = 29 DomainProcessSignalPwr DomainProcessSignal = 30 DomainProcessSignalSys DomainProcessSignal = 31 DomainProcessSignalRt0 DomainProcessSignal = 32 DomainProcessSignalRt1 DomainProcessSignal = 33 DomainProcessSignalRt2 DomainProcessSignal = 34 DomainProcessSignalRt3 DomainProcessSignal = 35 DomainProcessSignalRt4 DomainProcessSignal = 36 DomainProcessSignalRt5 DomainProcessSignal = 37 DomainProcessSignalRt6 DomainProcessSignal = 38 DomainProcessSignalRt7 DomainProcessSignal = 39 DomainProcessSignalRt8 DomainProcessSignal = 40 DomainProcessSignalRt9 DomainProcessSignal = 41 DomainProcessSignalRt10 DomainProcessSignal = 42 DomainProcessSignalRt11 DomainProcessSignal = 43 DomainProcessSignalRt12 DomainProcessSignal = 44 DomainProcessSignalRt13 DomainProcessSignal = 45 DomainProcessSignalRt14 DomainProcessSignal = 46 DomainProcessSignalRt15 DomainProcessSignal = 47 DomainProcessSignalRt16 DomainProcessSignal = 48 DomainProcessSignalRt17 DomainProcessSignal = 49 DomainProcessSignalRt18 DomainProcessSignal = 50 DomainProcessSignalRt19 DomainProcessSignal = 51 DomainProcessSignalRt20 DomainProcessSignal = 52 DomainProcessSignalRt21 DomainProcessSignal = 53 DomainProcessSignalRt22 DomainProcessSignal = 54 DomainProcessSignalRt23 DomainProcessSignal = 55 DomainProcessSignalRt24 DomainProcessSignal = 56 DomainProcessSignalRt25 DomainProcessSignal = 57 DomainProcessSignalRt26 DomainProcessSignal = 58 DomainProcessSignalRt27 DomainProcessSignal = 59 DomainProcessSignalRt28 DomainProcessSignal = 60 DomainProcessSignalRt29 DomainProcessSignal = 61 DomainProcessSignalRt30 DomainProcessSignal = 62 DomainProcessSignalRt31 DomainProcessSignal = 63 DomainProcessSignalRt32 DomainProcessSignal = 64 )
DomainProcessSignal enumeration from libvirt/libvirt-domain.h:2913
type DomainRebootArgs ¶
type DomainRebootArgs struct { Dom Domain Flags DomainRebootFlagValues }
DomainRebootArgs is libvirt's remote_domain_reboot_args
type DomainRebootFlagValues ¶
type DomainRebootFlagValues int32
DomainRebootFlagValues as declared in libvirt/libvirt-domain.h:1142
const ( DomainRebootDefault DomainRebootFlagValues = iota DomainRebootAcpiPowerBtn DomainRebootFlagValues = 1 DomainRebootGuestAgent DomainRebootFlagValues = 2 DomainRebootInitctl DomainRebootFlagValues = 4 DomainRebootSignal DomainRebootFlagValues = 8 DomainRebootParavirt DomainRebootFlagValues = 16 )
DomainRebootFlagValues enumeration from libvirt/libvirt-domain.h:1142
type DomainRenameArgs ¶
DomainRenameArgs is libvirt's remote_domain_rename_args
type DomainRenameRet ¶
type DomainRenameRet struct {
Retcode int32
}
DomainRenameRet is libvirt's remote_domain_rename_ret
type DomainResetArgs ¶
DomainResetArgs is libvirt's remote_domain_reset_args
type DomainRestoreArgs ¶
type DomainRestoreArgs struct {
From string
}
DomainRestoreArgs is libvirt's remote_domain_restore_args
type DomainRestoreFlagsArgs ¶
DomainRestoreFlagsArgs is libvirt's remote_domain_restore_flags_args
type DomainResumeArgs ¶
type DomainResumeArgs struct {
Dom Domain
}
DomainResumeArgs is libvirt's remote_domain_resume_args
type DomainRevertToSnapshotArgs ¶
type DomainRevertToSnapshotArgs struct { Snap DomainSnapshot Flags uint32 }
DomainRevertToSnapshotArgs is libvirt's remote_domain_revert_to_snapshot_args
type DomainRunningReason ¶
type DomainRunningReason int32
DomainRunningReason as declared in libvirt/libvirt-domain.h:97
const ( DomainRunningUnknown DomainRunningReason = iota DomainRunningBooted DomainRunningReason = 1 DomainRunningMigrated DomainRunningReason = 2 DomainRunningRestored DomainRunningReason = 3 DomainRunningFromSnapshot DomainRunningReason = 4 DomainRunningUnpaused DomainRunningReason = 5 DomainRunningMigrationCanceled DomainRunningReason = 6 DomainRunningSaveCanceled DomainRunningReason = 7 DomainRunningWakeup DomainRunningReason = 8 DomainRunningCrashed DomainRunningReason = 9 DomainRunningPostcopy DomainRunningReason = 10 )
DomainRunningReason enumeration from libvirt/libvirt-domain.h:97
type DomainSaveArgs ¶
DomainSaveArgs is libvirt's remote_domain_save_args
type DomainSaveFlagsArgs ¶
DomainSaveFlagsArgs is libvirt's remote_domain_save_flags_args
type DomainSaveImageDefineXMLArgs ¶
DomainSaveImageDefineXMLArgs is libvirt's remote_domain_save_image_define_xml_args
type DomainSaveImageGetXMLDescArgs ¶
DomainSaveImageGetXMLDescArgs is libvirt's remote_domain_save_image_get_xml_desc_args
type DomainSaveImageGetXMLDescRet ¶
type DomainSaveImageGetXMLDescRet struct {
XML string
}
DomainSaveImageGetXMLDescRet is libvirt's remote_domain_save_image_get_xml_desc_ret
type DomainSaveRestoreFlags ¶
type DomainSaveRestoreFlags int32
DomainSaveRestoreFlags as declared in libvirt/libvirt-domain.h:1192
const ( DomainSaveBypassCache DomainSaveRestoreFlags = 1 DomainSaveRunning DomainSaveRestoreFlags = 2 DomainSavePaused DomainSaveRestoreFlags = 4 )
DomainSaveRestoreFlags enumeration from libvirt/libvirt-domain.h:1192
type DomainScreenshotArgs ¶
DomainScreenshotArgs is libvirt's remote_domain_screenshot_args
type DomainScreenshotRet ¶
type DomainScreenshotRet struct {
Mime OptString
}
DomainScreenshotRet is libvirt's remote_domain_screenshot_ret
type DomainSendKeyArgs ¶
type DomainSendKeyArgs struct { Dom Domain Codeset uint32 Holdtime uint32 Keycodes []uint32 Flags uint32 }
DomainSendKeyArgs is libvirt's remote_domain_send_key_args
type DomainSendProcessSignalArgs ¶
DomainSendProcessSignalArgs is libvirt's remote_domain_send_process_signal_args
type DomainSetAutostartArgs ¶
DomainSetAutostartArgs is libvirt's remote_domain_set_autostart_args
type DomainSetBlkioParametersArgs ¶
type DomainSetBlkioParametersArgs struct { Dom Domain Params []TypedParam Flags uint32 }
DomainSetBlkioParametersArgs is libvirt's remote_domain_set_blkio_parameters_args
type DomainSetBlockIOTuneArgs ¶
type DomainSetBlockIOTuneArgs struct { Dom Domain Disk string Params []TypedParam Flags uint32 }
DomainSetBlockIOTuneArgs is libvirt's remote_domain_set_block_io_tune_args
type DomainSetBlockThresholdArgs ¶
DomainSetBlockThresholdArgs is libvirt's remote_domain_set_block_threshold_args
type DomainSetGuestVcpusArgs ¶
DomainSetGuestVcpusArgs is libvirt's remote_domain_set_guest_vcpus_args
type DomainSetInterfaceParametersArgs ¶
type DomainSetInterfaceParametersArgs struct { Dom Domain Device string Params []TypedParam Flags uint32 }
DomainSetInterfaceParametersArgs is libvirt's remote_domain_set_interface_parameters_args
type DomainSetIothreadParamsArgs ¶
type DomainSetIothreadParamsArgs struct { Dom Domain IothreadID uint32 Params []TypedParam Flags uint32 }
DomainSetIothreadParamsArgs is libvirt's remote_domain_set_iothread_params_args
type DomainSetLifecycleActionArgs ¶
type DomainSetLifecycleActionArgs struct { Dom Domain Type uint32 Action uint32 Flags DomainModificationImpact }
DomainSetLifecycleActionArgs is libvirt's remote_domain_set_lifecycle_action_args
type DomainSetMaxMemoryArgs ¶
DomainSetMaxMemoryArgs is libvirt's remote_domain_set_max_memory_args
type DomainSetMemoryArgs ¶
DomainSetMemoryArgs is libvirt's remote_domain_set_memory_args
type DomainSetMemoryFlagsArgs ¶
DomainSetMemoryFlagsArgs is libvirt's remote_domain_set_memory_flags_args
type DomainSetMemoryParametersArgs ¶
type DomainSetMemoryParametersArgs struct { Dom Domain Params []TypedParam Flags uint32 }
DomainSetMemoryParametersArgs is libvirt's remote_domain_set_memory_parameters_args
type DomainSetMemoryStatsPeriodArgs ¶
type DomainSetMemoryStatsPeriodArgs struct { Dom Domain Period int32 Flags DomainMemoryModFlags }
DomainSetMemoryStatsPeriodArgs is libvirt's remote_domain_set_memory_stats_period_args
type DomainSetMetadataArgs ¶
type DomainSetMetadataArgs struct { Dom Domain Type int32 Metadata OptString Key OptString Uri OptString Flags DomainModificationImpact }
DomainSetMetadataArgs is libvirt's remote_domain_set_metadata_args
type DomainSetNumaParametersArgs ¶
type DomainSetNumaParametersArgs struct { Dom Domain Params []TypedParam Flags uint32 }
DomainSetNumaParametersArgs is libvirt's remote_domain_set_numa_parameters_args
type DomainSetPerfEventsArgs ¶
type DomainSetPerfEventsArgs struct { Dom Domain Params []TypedParam Flags DomainModificationImpact }
DomainSetPerfEventsArgs is libvirt's remote_domain_set_perf_events_args
type DomainSetSchedulerParametersArgs ¶
type DomainSetSchedulerParametersArgs struct { Dom Domain Params []TypedParam }
DomainSetSchedulerParametersArgs is libvirt's remote_domain_set_scheduler_parameters_args
type DomainSetSchedulerParametersFlagsArgs ¶
type DomainSetSchedulerParametersFlagsArgs struct { Dom Domain Params []TypedParam Flags uint32 }
DomainSetSchedulerParametersFlagsArgs is libvirt's remote_domain_set_scheduler_parameters_flags_args
type DomainSetTimeArgs ¶
type DomainSetTimeArgs struct { Dom Domain Seconds int64 Nseconds uint32 Flags DomainSetTimeFlags }
DomainSetTimeArgs is libvirt's remote_domain_set_time_args
type DomainSetTimeFlags ¶
type DomainSetTimeFlags int32
DomainSetTimeFlags as declared in libvirt/libvirt-domain.h:4601
const (
DomainTimeSync DomainSetTimeFlags = 1
)
DomainSetTimeFlags enumeration from libvirt/libvirt-domain.h:4601
type DomainSetUserPasswordArgs ¶
type DomainSetUserPasswordArgs struct { Dom Domain User OptString Password OptString Flags DomainSetUserPasswordFlags }
DomainSetUserPasswordArgs is libvirt's remote_domain_set_user_password_args
type DomainSetUserPasswordFlags ¶
type DomainSetUserPasswordFlags int32
DomainSetUserPasswordFlags as declared in libvirt/libvirt-domain.h:4776
const (
DomainPasswordEncrypted DomainSetUserPasswordFlags = 1
)
DomainSetUserPasswordFlags enumeration from libvirt/libvirt-domain.h:4776
type DomainSetVcpuArgs ¶
type DomainSetVcpuArgs struct { Dom Domain Cpumap string State int32 Flags DomainModificationImpact }
DomainSetVcpuArgs is libvirt's remote_domain_set_vcpu_args
type DomainSetVcpusArgs ¶
DomainSetVcpusArgs is libvirt's remote_domain_set_vcpus_args
type DomainSetVcpusFlagsArgs ¶
DomainSetVcpusFlagsArgs is libvirt's remote_domain_set_vcpus_flags_args
type DomainShutdownArgs ¶
type DomainShutdownArgs struct {
Dom Domain
}
DomainShutdownArgs is libvirt's remote_domain_shutdown_args
type DomainShutdownFlagValues ¶
type DomainShutdownFlagValues int32
DomainShutdownFlagValues as declared in libvirt/libvirt-domain.h:1129
const ( DomainShutdownDefault DomainShutdownFlagValues = iota DomainShutdownAcpiPowerBtn DomainShutdownFlagValues = 1 DomainShutdownGuestAgent DomainShutdownFlagValues = 2 DomainShutdownInitctl DomainShutdownFlagValues = 4 DomainShutdownSignal DomainShutdownFlagValues = 8 DomainShutdownParavirt DomainShutdownFlagValues = 16 )
DomainShutdownFlagValues enumeration from libvirt/libvirt-domain.h:1129
type DomainShutdownFlagsArgs ¶
type DomainShutdownFlagsArgs struct { Dom Domain Flags DomainShutdownFlagValues }
DomainShutdownFlagsArgs is libvirt's remote_domain_shutdown_flags_args
type DomainShutdownReason ¶
type DomainShutdownReason int32
DomainShutdownReason as declared in libvirt/libvirt-domain.h:135
const ( DomainShutdownUnknown DomainShutdownReason = iota DomainShutdownUser DomainShutdownReason = 1 )
DomainShutdownReason enumeration from libvirt/libvirt-domain.h:135
type DomainShutoffReason ¶
type DomainShutoffReason int32
DomainShutoffReason as declared in libvirt/libvirt-domain.h:152
const ( DomainShutoffUnknown DomainShutoffReason = iota DomainShutoffShutdown DomainShutoffReason = 1 DomainShutoffDestroyed DomainShutoffReason = 2 DomainShutoffCrashed DomainShutoffReason = 3 DomainShutoffMigrated DomainShutoffReason = 4 DomainShutoffSaved DomainShutoffReason = 5 DomainShutoffFailed DomainShutoffReason = 6 DomainShutoffFromSnapshot DomainShutoffReason = 7 DomainShutoffDaemon DomainShutoffReason = 8 )
DomainShutoffReason enumeration from libvirt/libvirt-domain.h:152
type DomainSnapshot ¶
DomainSnapshot is libvirt's remote_nonnull_domain_snapshot
type DomainSnapshotCreateFlags ¶
type DomainSnapshotCreateFlags int32
DomainSnapshotCreateFlags as declared in libvirt/libvirt-domain-snapshot.h:74
const ( DomainSnapshotCreateRedefine DomainSnapshotCreateFlags = 1 DomainSnapshotCreateCurrent DomainSnapshotCreateFlags = 2 DomainSnapshotCreateNoMetadata DomainSnapshotCreateFlags = 4 DomainSnapshotCreateHalt DomainSnapshotCreateFlags = 8 DomainSnapshotCreateDiskOnly DomainSnapshotCreateFlags = 16 DomainSnapshotCreateReuseExt DomainSnapshotCreateFlags = 32 DomainSnapshotCreateQuiesce DomainSnapshotCreateFlags = 64 DomainSnapshotCreateAtomic DomainSnapshotCreateFlags = 128 DomainSnapshotCreateLive DomainSnapshotCreateFlags = 256 )
DomainSnapshotCreateFlags enumeration from libvirt/libvirt-domain-snapshot.h:74
type DomainSnapshotCreateXMLArgs ¶
DomainSnapshotCreateXMLArgs is libvirt's remote_domain_snapshot_create_xml_args
type DomainSnapshotCreateXMLRet ¶
type DomainSnapshotCreateXMLRet struct {
Snap DomainSnapshot
}
DomainSnapshotCreateXMLRet is libvirt's remote_domain_snapshot_create_xml_ret
type DomainSnapshotCurrentArgs ¶
DomainSnapshotCurrentArgs is libvirt's remote_domain_snapshot_current_args
type DomainSnapshotCurrentRet ¶
type DomainSnapshotCurrentRet struct {
Snap DomainSnapshot
}
DomainSnapshotCurrentRet is libvirt's remote_domain_snapshot_current_ret
type DomainSnapshotDeleteArgs ¶
type DomainSnapshotDeleteArgs struct { Snap DomainSnapshot Flags DomainSnapshotDeleteFlags }
DomainSnapshotDeleteArgs is libvirt's remote_domain_snapshot_delete_args
type DomainSnapshotDeleteFlags ¶
type DomainSnapshotDeleteFlags int32
DomainSnapshotDeleteFlags as declared in libvirt/libvirt-domain-snapshot.h:205
const ( DomainSnapshotDeleteChildren DomainSnapshotDeleteFlags = 1 DomainSnapshotDeleteMetadataOnly DomainSnapshotDeleteFlags = 2 DomainSnapshotDeleteChildrenOnly DomainSnapshotDeleteFlags = 4 )
DomainSnapshotDeleteFlags enumeration from libvirt/libvirt-domain-snapshot.h:205
type DomainSnapshotGetParentArgs ¶
type DomainSnapshotGetParentArgs struct { Snap DomainSnapshot Flags uint32 }
DomainSnapshotGetParentArgs is libvirt's remote_domain_snapshot_get_parent_args
type DomainSnapshotGetParentRet ¶
type DomainSnapshotGetParentRet struct {
Snap DomainSnapshot
}
DomainSnapshotGetParentRet is libvirt's remote_domain_snapshot_get_parent_ret
type DomainSnapshotGetXMLDescArgs ¶
type DomainSnapshotGetXMLDescArgs struct { Snap DomainSnapshot Flags uint32 }
DomainSnapshotGetXMLDescArgs is libvirt's remote_domain_snapshot_get_xml_desc_args
type DomainSnapshotGetXMLDescRet ¶
type DomainSnapshotGetXMLDescRet struct {
XML string
}
DomainSnapshotGetXMLDescRet is libvirt's remote_domain_snapshot_get_xml_desc_ret
type DomainSnapshotHasMetadataArgs ¶
type DomainSnapshotHasMetadataArgs struct { Snap DomainSnapshot Flags uint32 }
DomainSnapshotHasMetadataArgs is libvirt's remote_domain_snapshot_has_metadata_args
type DomainSnapshotHasMetadataRet ¶
type DomainSnapshotHasMetadataRet struct {
Metadata int32
}
DomainSnapshotHasMetadataRet is libvirt's remote_domain_snapshot_has_metadata_ret
type DomainSnapshotIsCurrentArgs ¶
type DomainSnapshotIsCurrentArgs struct { Snap DomainSnapshot Flags uint32 }
DomainSnapshotIsCurrentArgs is libvirt's remote_domain_snapshot_is_current_args
type DomainSnapshotIsCurrentRet ¶
type DomainSnapshotIsCurrentRet struct {
Current int32
}
DomainSnapshotIsCurrentRet is libvirt's remote_domain_snapshot_is_current_ret
type DomainSnapshotListAllChildrenArgs ¶
type DomainSnapshotListAllChildrenArgs struct { Snapshot DomainSnapshot NeedResults int32 Flags uint32 }
DomainSnapshotListAllChildrenArgs is libvirt's remote_domain_snapshot_list_all_children_args
type DomainSnapshotListAllChildrenRet ¶
type DomainSnapshotListAllChildrenRet struct { Snapshots []DomainSnapshot Ret int32 }
DomainSnapshotListAllChildrenRet is libvirt's remote_domain_snapshot_list_all_children_ret
type DomainSnapshotListChildrenNamesArgs ¶
type DomainSnapshotListChildrenNamesArgs struct { Snap DomainSnapshot Maxnames int32 Flags uint32 }
DomainSnapshotListChildrenNamesArgs is libvirt's remote_domain_snapshot_list_children_names_args
type DomainSnapshotListChildrenNamesRet ¶
type DomainSnapshotListChildrenNamesRet struct {
Names []string
}
DomainSnapshotListChildrenNamesRet is libvirt's remote_domain_snapshot_list_children_names_ret
type DomainSnapshotListFlags ¶
type DomainSnapshotListFlags int32
DomainSnapshotListFlags as declared in libvirt/libvirt-domain-snapshot.h:134
const ( DomainSnapshotListRoots DomainSnapshotListFlags = 1 DomainSnapshotListDescendants DomainSnapshotListFlags = 1 DomainSnapshotListLeaves DomainSnapshotListFlags = 4 DomainSnapshotListNoLeaves DomainSnapshotListFlags = 8 DomainSnapshotListMetadata DomainSnapshotListFlags = 2 DomainSnapshotListNoMetadata DomainSnapshotListFlags = 16 DomainSnapshotListInactive DomainSnapshotListFlags = 32 DomainSnapshotListActive DomainSnapshotListFlags = 64 DomainSnapshotListDiskOnly DomainSnapshotListFlags = 128 DomainSnapshotListInternal DomainSnapshotListFlags = 256 DomainSnapshotListExternal DomainSnapshotListFlags = 512 )
DomainSnapshotListFlags enumeration from libvirt/libvirt-domain-snapshot.h:134
type DomainSnapshotListNamesArgs ¶
DomainSnapshotListNamesArgs is libvirt's remote_domain_snapshot_list_names_args
type DomainSnapshotListNamesRet ¶
type DomainSnapshotListNamesRet struct {
Names []string
}
DomainSnapshotListNamesRet is libvirt's remote_domain_snapshot_list_names_ret
type DomainSnapshotLookupByNameArgs ¶
DomainSnapshotLookupByNameArgs is libvirt's remote_domain_snapshot_lookup_by_name_args
type DomainSnapshotLookupByNameRet ¶
type DomainSnapshotLookupByNameRet struct {
Snap DomainSnapshot
}
DomainSnapshotLookupByNameRet is libvirt's remote_domain_snapshot_lookup_by_name_ret
type DomainSnapshotNumArgs ¶
DomainSnapshotNumArgs is libvirt's remote_domain_snapshot_num_args
type DomainSnapshotNumChildrenArgs ¶
type DomainSnapshotNumChildrenArgs struct { Snap DomainSnapshot Flags uint32 }
DomainSnapshotNumChildrenArgs is libvirt's remote_domain_snapshot_num_children_args
type DomainSnapshotNumChildrenRet ¶
type DomainSnapshotNumChildrenRet struct {
Num int32
}
DomainSnapshotNumChildrenRet is libvirt's remote_domain_snapshot_num_children_ret
type DomainSnapshotNumRet ¶
type DomainSnapshotNumRet struct {
Num int32
}
DomainSnapshotNumRet is libvirt's remote_domain_snapshot_num_ret
type DomainSnapshotRevertFlags ¶
type DomainSnapshotRevertFlags int32
DomainSnapshotRevertFlags as declared in libvirt/libvirt-domain-snapshot.h:191
const ( DomainSnapshotRevertRunning DomainSnapshotRevertFlags = 1 DomainSnapshotRevertPaused DomainSnapshotRevertFlags = 2 DomainSnapshotRevertForce DomainSnapshotRevertFlags = 4 )
DomainSnapshotRevertFlags enumeration from libvirt/libvirt-domain-snapshot.h:191
type DomainState ¶
type DomainState int32
DomainState as declared in libvirt/libvirt-domain.h:70
const ( DomainNostate DomainState = iota DomainRunning DomainState = 1 DomainBlocked DomainState = 2 DomainPaused DomainState = 3 DomainShutdown DomainState = 4 DomainShutoff DomainState = 5 DomainCrashed DomainState = 6 DomainPmsuspended DomainState = 7 )
DomainState enumeration from libvirt/libvirt-domain.h:70
type DomainStatsRecord ¶
type DomainStatsRecord struct { Dom Domain Params []TypedParam }
DomainStatsRecord is libvirt's remote_domain_stats_record
type DomainStatsTypes ¶
type DomainStatsTypes int32
DomainStatsTypes as declared in libvirt/libvirt-domain.h:2097
const ( DomainStatsState DomainStatsTypes = 1 DomainStatsCPUTotal DomainStatsTypes = 2 DomainStatsBalloon DomainStatsTypes = 4 DomainStatsVCPU DomainStatsTypes = 8 DomainStatsInterface DomainStatsTypes = 16 DomainStatsBlock DomainStatsTypes = 32 DomainStatsPerf DomainStatsTypes = 64 DomainStatsIothread DomainStatsTypes = 128 )
DomainStatsTypes enumeration from libvirt/libvirt-domain.h:2097
type DomainSuspendArgs ¶
type DomainSuspendArgs struct {
Dom Domain
}
DomainSuspendArgs is libvirt's remote_domain_suspend_args
type DomainUndefineArgs ¶
type DomainUndefineArgs struct {
Dom Domain
}
DomainUndefineArgs is libvirt's remote_domain_undefine_args
type DomainUndefineFlagsArgs ¶
type DomainUndefineFlagsArgs struct { Dom Domain Flags DomainUndefineFlagsValues }
DomainUndefineFlagsArgs is libvirt's remote_domain_undefine_flags_args
type DomainUndefineFlagsValues ¶
type DomainUndefineFlagsValues int32
DomainUndefineFlagsValues as declared in libvirt/libvirt-domain.h:1759
const ( DomainUndefineManagedSave DomainUndefineFlagsValues = 1 DomainUndefineSnapshotsMetadata DomainUndefineFlagsValues = 2 DomainUndefineNvram DomainUndefineFlagsValues = 4 DomainUndefineKeepNvram DomainUndefineFlagsValues = 8 )
DomainUndefineFlagsValues enumeration from libvirt/libvirt-domain.h:1759
type DomainUpdateDeviceFlagsArgs ¶
type DomainUpdateDeviceFlagsArgs struct { Dom Domain XML string Flags DomainDeviceModifyFlags }
DomainUpdateDeviceFlagsArgs is libvirt's remote_domain_update_device_flags_args
type DomainVCPUFlags ¶
type DomainVCPUFlags int32
DomainVCPUFlags as declared in libvirt/libvirt-domain.h:1848
const ( DomainVCPUCurrent DomainVCPUFlags = iota DomainVCPULive DomainVCPUFlags = 1 DomainVCPUConfig DomainVCPUFlags = 2 DomainVCPUMaximum DomainVCPUFlags = 4 DomainVCPUGuest DomainVCPUFlags = 8 DomainVCPUHotpluggable DomainVCPUFlags = 16 )
DomainVCPUFlags enumeration from libvirt/libvirt-domain.h:1848
type DomainXMLFlags ¶
type DomainXMLFlags int32
DomainXMLFlags as declared in libvirt/libvirt-domain.h:1557
const ( DomainXMLSecure DomainXMLFlags = 1 DomainXMLInactive DomainXMLFlags = 2 DomainXMLUpdateCPU DomainXMLFlags = 4 DomainXMLMigratable DomainXMLFlags = 8 )
DomainXMLFlags enumeration from libvirt/libvirt-domain.h:1557
type Error ¶
type Error struct { Code int32 OptDomain int32 Message OptString Level int32 Dom OptDomain Str1 OptString Str2 OptString Str3 OptString Int1 int32 Int2 int32 Net OptNetwork }
Error is libvirt's remote_error
type EventHandleType ¶
type EventHandleType int32
EventHandleType as declared in libvirt/libvirt-event.h:43
const ( EventHandleReadable EventHandleType = 1 EventHandleWritable EventHandleType = 2 EventHandleError EventHandleType = 4 EventHandleHangup EventHandleType = 8 )
EventHandleType enumeration from libvirt/libvirt-event.h:43
type IPAddrType ¶
type IPAddrType int32
IPAddrType as declared in libvirt/libvirt-network.h:286
const ( IPAddrTypeIpv4 IPAddrType = iota IPAddrTypeIpv6 IPAddrType = 1 )
IPAddrType enumeration from libvirt/libvirt-network.h:286
type InterfaceChangeBeginArgs ¶
type InterfaceChangeBeginArgs struct {
Flags uint32
}
InterfaceChangeBeginArgs is libvirt's remote_interface_change_begin_args
type InterfaceChangeCommitArgs ¶
type InterfaceChangeCommitArgs struct {
Flags uint32
}
InterfaceChangeCommitArgs is libvirt's remote_interface_change_commit_args
type InterfaceChangeRollbackArgs ¶
type InterfaceChangeRollbackArgs struct {
Flags uint32
}
InterfaceChangeRollbackArgs is libvirt's remote_interface_change_rollback_args
type InterfaceCreateArgs ¶
InterfaceCreateArgs is libvirt's remote_interface_create_args
type InterfaceDefineXMLArgs ¶
InterfaceDefineXMLArgs is libvirt's remote_interface_define_xml_args
type InterfaceDefineXMLRet ¶
type InterfaceDefineXMLRet struct {
Iface Interface
}
InterfaceDefineXMLRet is libvirt's remote_interface_define_xml_ret
type InterfaceDestroyArgs ¶
InterfaceDestroyArgs is libvirt's remote_interface_destroy_args
type InterfaceGetXMLDescArgs ¶
InterfaceGetXMLDescArgs is libvirt's remote_interface_get_xml_desc_args
type InterfaceGetXMLDescRet ¶
type InterfaceGetXMLDescRet struct {
XML string
}
InterfaceGetXMLDescRet is libvirt's remote_interface_get_xml_desc_ret
type InterfaceIsActiveArgs ¶
type InterfaceIsActiveArgs struct {
Iface Interface
}
InterfaceIsActiveArgs is libvirt's remote_interface_is_active_args
type InterfaceIsActiveRet ¶
type InterfaceIsActiveRet struct {
Active int32
}
InterfaceIsActiveRet is libvirt's remote_interface_is_active_ret
type InterfaceLookupByMacStringArgs ¶
type InterfaceLookupByMacStringArgs struct {
Mac string
}
InterfaceLookupByMacStringArgs is libvirt's remote_interface_lookup_by_mac_string_args
type InterfaceLookupByMacStringRet ¶
type InterfaceLookupByMacStringRet struct {
Iface Interface
}
InterfaceLookupByMacStringRet is libvirt's remote_interface_lookup_by_mac_string_ret
type InterfaceLookupByNameArgs ¶
type InterfaceLookupByNameArgs struct {
Name string
}
InterfaceLookupByNameArgs is libvirt's remote_interface_lookup_by_name_args
type InterfaceLookupByNameRet ¶
type InterfaceLookupByNameRet struct {
Iface Interface
}
InterfaceLookupByNameRet is libvirt's remote_interface_lookup_by_name_ret
type InterfaceUndefineArgs ¶
type InterfaceUndefineArgs struct {
Iface Interface
}
InterfaceUndefineArgs is libvirt's remote_interface_undefine_args
type InterfaceXMLFlags ¶
type InterfaceXMLFlags int32
InterfaceXMLFlags as declared in libvirt/libvirt-interface.h:80
const (
InterfaceXMLInactive InterfaceXMLFlags = 1
)
InterfaceXMLFlags enumeration from libvirt/libvirt-interface.h:80
type KeycodeSet ¶
type KeycodeSet int32
KeycodeSet as declared in libvirt/libvirt-domain.h:2804
const ( KeycodeSetLinux KeycodeSet = iota KeycodeSetXt KeycodeSet = 1 KeycodeSetAtset1 KeycodeSet = 2 KeycodeSetAtset2 KeycodeSet = 3 KeycodeSetAtset3 KeycodeSet = 4 KeycodeSetOsx KeycodeSet = 5 KeycodeSetXtKbd KeycodeSet = 6 KeycodeSetUsb KeycodeSet = 7 KeycodeSetWin32 KeycodeSet = 8 KeycodeSetQnum KeycodeSet = 9 )
KeycodeSet enumeration from libvirt/libvirt-domain.h:2804
type Libvirt ¶
type Libvirt struct {
// contains filtered or unexported fields
}
Libvirt implements libvirt's remote procedure call protocol.
func (*Libvirt) AuthPolkit ¶
AuthPolkit is the go wrapper for REMOTE_PROC_AUTH_POLKIT.
func (*Libvirt) AuthSaslInit ¶
AuthSaslInit is the go wrapper for REMOTE_PROC_AUTH_SASL_INIT.
func (*Libvirt) AuthSaslStart ¶
func (l *Libvirt) AuthSaslStart(Mech string, Nil int32, Data []int8) (rComplete int32, rNil int32, rData []int8, err error)
AuthSaslStart is the go wrapper for REMOTE_PROC_AUTH_SASL_START.
func (*Libvirt) AuthSaslStep ¶
func (l *Libvirt) AuthSaslStep(Nil int32, Data []int8) (rComplete int32, rNil int32, rData []int8, err error)
AuthSaslStep is the go wrapper for REMOTE_PROC_AUTH_SASL_STEP.
func (*Libvirt) Capabilities ¶
Capabilities returns an XML document describing the host's capabilties.
func (*Libvirt) Connect ¶
Connect establishes communication with the libvirt server. The underlying libvirt socket connection must be previously established.
func (*Libvirt) ConnectBaselineCPU ¶
func (l *Libvirt) ConnectBaselineCPU(XMLCPUs []string, Flags ConnectBaselineCPUFlags) (rCPU string, err error)
ConnectBaselineCPU is the go wrapper for REMOTE_PROC_CONNECT_BASELINE_CPU.
func (*Libvirt) ConnectBaselineHypervisorCPU ¶
func (l *Libvirt) ConnectBaselineHypervisorCPU(Emulator OptString, Arch OptString, Machine OptString, Virttype OptString, XMLCPUs []string, Flags uint32) (rCPU string, err error)
ConnectBaselineHypervisorCPU is the go wrapper for REMOTE_PROC_CONNECT_BASELINE_HYPERVISOR_CPU.
func (*Libvirt) ConnectClose ¶
ConnectClose is the go wrapper for REMOTE_PROC_CONNECT_CLOSE.
func (*Libvirt) ConnectCompareCPU ¶
func (l *Libvirt) ConnectCompareCPU(XML string, Flags ConnectCompareCPUFlags) (rResult int32, err error)
ConnectCompareCPU is the go wrapper for REMOTE_PROC_CONNECT_COMPARE_CPU.
func (*Libvirt) ConnectCompareHypervisorCPU ¶
func (l *Libvirt) ConnectCompareHypervisorCPU(Emulator OptString, Arch OptString, Machine OptString, Virttype OptString, XMLCPU string, Flags uint32) (rResult int32, err error)
ConnectCompareHypervisorCPU is the go wrapper for REMOTE_PROC_CONNECT_COMPARE_HYPERVISOR_CPU.
func (*Libvirt) ConnectDomainEventCallbackDeregisterAny ¶
ConnectDomainEventCallbackDeregisterAny is the go wrapper for REMOTE_PROC_CONNECT_DOMAIN_EVENT_CALLBACK_DEREGISTER_ANY.
func (*Libvirt) ConnectDomainEventCallbackRegisterAny ¶
func (l *Libvirt) ConnectDomainEventCallbackRegisterAny(EventID int32, Dom OptDomain) (rCallbackID int32, err error)
ConnectDomainEventCallbackRegisterAny is the go wrapper for REMOTE_PROC_CONNECT_DOMAIN_EVENT_CALLBACK_REGISTER_ANY.
func (*Libvirt) ConnectDomainEventDeregister ¶
ConnectDomainEventDeregister is the go wrapper for REMOTE_PROC_CONNECT_DOMAIN_EVENT_DEREGISTER.
func (*Libvirt) ConnectDomainEventDeregisterAny ¶
ConnectDomainEventDeregisterAny is the go wrapper for REMOTE_PROC_CONNECT_DOMAIN_EVENT_DEREGISTER_ANY.
func (*Libvirt) ConnectDomainEventRegister ¶
ConnectDomainEventRegister is the go wrapper for REMOTE_PROC_CONNECT_DOMAIN_EVENT_REGISTER.
func (*Libvirt) ConnectDomainEventRegisterAny ¶
ConnectDomainEventRegisterAny is the go wrapper for REMOTE_PROC_CONNECT_DOMAIN_EVENT_REGISTER_ANY.
func (*Libvirt) ConnectDomainXMLFromNative ¶
func (l *Libvirt) ConnectDomainXMLFromNative(NativeFormat string, NativeConfig string, Flags uint32) (rDomainXML string, err error)
ConnectDomainXMLFromNative is the go wrapper for REMOTE_PROC_CONNECT_DOMAIN_XML_FROM_NATIVE.
func (*Libvirt) ConnectDomainXMLToNative ¶
func (l *Libvirt) ConnectDomainXMLToNative(NativeFormat string, DomainXML string, Flags uint32) (rNativeConfig string, err error)
ConnectDomainXMLToNative is the go wrapper for REMOTE_PROC_CONNECT_DOMAIN_XML_TO_NATIVE.
func (*Libvirt) ConnectEventConnectionClosed ¶
ConnectEventConnectionClosed is the go wrapper for REMOTE_PROC_CONNECT_EVENT_CONNECTION_CLOSED.
func (*Libvirt) ConnectFindStoragePoolSources ¶
func (l *Libvirt) ConnectFindStoragePoolSources(Type string, SrcSpec OptString, Flags uint32) (rXML string, err error)
ConnectFindStoragePoolSources is the go wrapper for REMOTE_PROC_CONNECT_FIND_STORAGE_POOL_SOURCES.
func (*Libvirt) ConnectGetAllDomainStats ¶
func (l *Libvirt) ConnectGetAllDomainStats(Doms []Domain, Stats uint32, Flags ConnectGetAllDomainStatsFlags) (rRetStats []DomainStatsRecord, err error)
ConnectGetAllDomainStats is the go wrapper for REMOTE_PROC_CONNECT_GET_ALL_DOMAIN_STATS.
func (*Libvirt) ConnectGetCPUModelNames ¶
func (l *Libvirt) ConnectGetCPUModelNames(Arch string, NeedResults int32, Flags uint32) (rModels []string, rRet int32, err error)
ConnectGetCPUModelNames is the go wrapper for REMOTE_PROC_CONNECT_GET_CPU_MODEL_NAMES.
func (*Libvirt) ConnectGetCapabilities ¶
ConnectGetCapabilities is the go wrapper for REMOTE_PROC_CONNECT_GET_CAPABILITIES.
func (*Libvirt) ConnectGetDomainCapabilities ¶
func (l *Libvirt) ConnectGetDomainCapabilities(Emulatorbin OptString, Arch OptString, Machine OptString, Virttype OptString, Flags uint32) (rCapabilities string, err error)
ConnectGetDomainCapabilities is the go wrapper for REMOTE_PROC_CONNECT_GET_DOMAIN_CAPABILITIES.
func (*Libvirt) ConnectGetHostname ¶
ConnectGetHostname is the go wrapper for REMOTE_PROC_CONNECT_GET_HOSTNAME.
func (*Libvirt) ConnectGetLibVersion ¶
ConnectGetLibVersion is the go wrapper for REMOTE_PROC_CONNECT_GET_LIB_VERSION.
func (*Libvirt) ConnectGetMaxVcpus ¶
ConnectGetMaxVcpus is the go wrapper for REMOTE_PROC_CONNECT_GET_MAX_VCPUS.
func (*Libvirt) ConnectGetSysinfo ¶
ConnectGetSysinfo is the go wrapper for REMOTE_PROC_CONNECT_GET_SYSINFO.
func (*Libvirt) ConnectGetType ¶
ConnectGetType is the go wrapper for REMOTE_PROC_CONNECT_GET_TYPE.
func (*Libvirt) ConnectGetUri ¶
ConnectGetUri is the go wrapper for REMOTE_PROC_CONNECT_GET_URI.
func (*Libvirt) ConnectGetVersion ¶
ConnectGetVersion is the go wrapper for REMOTE_PROC_CONNECT_GET_VERSION.
func (*Libvirt) ConnectIsSecure ¶
ConnectIsSecure is the go wrapper for REMOTE_PROC_CONNECT_IS_SECURE.
func (*Libvirt) ConnectListAllDomains ¶
func (l *Libvirt) ConnectListAllDomains(NeedResults int32, Flags ConnectListAllDomainsFlags) (rDomains []Domain, rRet uint32, err error)
ConnectListAllDomains is the go wrapper for REMOTE_PROC_CONNECT_LIST_ALL_DOMAINS.
func (*Libvirt) ConnectListAllInterfaces ¶
func (l *Libvirt) ConnectListAllInterfaces(NeedResults int32, Flags ConnectListAllInterfacesFlags) (rIfaces []Interface, rRet uint32, err error)
ConnectListAllInterfaces is the go wrapper for REMOTE_PROC_CONNECT_LIST_ALL_INTERFACES.
func (*Libvirt) ConnectListAllNetworks ¶
func (l *Libvirt) ConnectListAllNetworks(NeedResults int32, Flags ConnectListAllNetworksFlags) (rNets []Network, rRet uint32, err error)
ConnectListAllNetworks is the go wrapper for REMOTE_PROC_CONNECT_LIST_ALL_NETWORKS.
func (*Libvirt) ConnectListAllNodeDevices ¶
func (l *Libvirt) ConnectListAllNodeDevices(NeedResults int32, Flags uint32) (rDevices []NodeDevice, rRet uint32, err error)
ConnectListAllNodeDevices is the go wrapper for REMOTE_PROC_CONNECT_LIST_ALL_NODE_DEVICES.
func (*Libvirt) ConnectListAllNwfilterBindings ¶
func (l *Libvirt) ConnectListAllNwfilterBindings(NeedResults int32, Flags uint32) (rBindings []NwfilterBinding, rRet uint32, err error)
ConnectListAllNwfilterBindings is the go wrapper for REMOTE_PROC_CONNECT_LIST_ALL_NWFILTER_BINDINGS.
func (*Libvirt) ConnectListAllNwfilters ¶
func (l *Libvirt) ConnectListAllNwfilters(NeedResults int32, Flags uint32) (rFilters []Nwfilter, rRet uint32, err error)
ConnectListAllNwfilters is the go wrapper for REMOTE_PROC_CONNECT_LIST_ALL_NWFILTERS.
func (*Libvirt) ConnectListAllSecrets ¶
func (l *Libvirt) ConnectListAllSecrets(NeedResults int32, Flags ConnectListAllSecretsFlags) (rSecrets []Secret, rRet uint32, err error)
ConnectListAllSecrets is the go wrapper for REMOTE_PROC_CONNECT_LIST_ALL_SECRETS.
func (*Libvirt) ConnectListAllStoragePools ¶
func (l *Libvirt) ConnectListAllStoragePools(NeedResults int32, Flags ConnectListAllStoragePoolsFlags) (rPools []StoragePool, rRet uint32, err error)
ConnectListAllStoragePools is the go wrapper for REMOTE_PROC_CONNECT_LIST_ALL_STORAGE_POOLS.
func (*Libvirt) ConnectListDefinedDomains ¶
ConnectListDefinedDomains is the go wrapper for REMOTE_PROC_CONNECT_LIST_DEFINED_DOMAINS.
func (*Libvirt) ConnectListDefinedInterfaces ¶
ConnectListDefinedInterfaces is the go wrapper for REMOTE_PROC_CONNECT_LIST_DEFINED_INTERFACES.
func (*Libvirt) ConnectListDefinedNetworks ¶
ConnectListDefinedNetworks is the go wrapper for REMOTE_PROC_CONNECT_LIST_DEFINED_NETWORKS.
func (*Libvirt) ConnectListDefinedStoragePools ¶
ConnectListDefinedStoragePools is the go wrapper for REMOTE_PROC_CONNECT_LIST_DEFINED_STORAGE_POOLS.
func (*Libvirt) ConnectListDomains ¶
ConnectListDomains is the go wrapper for REMOTE_PROC_CONNECT_LIST_DOMAINS.
func (*Libvirt) ConnectListInterfaces ¶
ConnectListInterfaces is the go wrapper for REMOTE_PROC_CONNECT_LIST_INTERFACES.
func (*Libvirt) ConnectListNetworks ¶
ConnectListNetworks is the go wrapper for REMOTE_PROC_CONNECT_LIST_NETWORKS.
func (*Libvirt) ConnectListNwfilters ¶
ConnectListNwfilters is the go wrapper for REMOTE_PROC_CONNECT_LIST_NWFILTERS.
func (*Libvirt) ConnectListSecrets ¶
ConnectListSecrets is the go wrapper for REMOTE_PROC_CONNECT_LIST_SECRETS.
func (*Libvirt) ConnectListStoragePools ¶
ConnectListStoragePools is the go wrapper for REMOTE_PROC_CONNECT_LIST_STORAGE_POOLS.
func (*Libvirt) ConnectNetworkEventDeregisterAny ¶
ConnectNetworkEventDeregisterAny is the go wrapper for REMOTE_PROC_CONNECT_NETWORK_EVENT_DEREGISTER_ANY.
func (*Libvirt) ConnectNetworkEventRegisterAny ¶
func (l *Libvirt) ConnectNetworkEventRegisterAny(EventID int32, Net OptNetwork) (rCallbackID int32, err error)
ConnectNetworkEventRegisterAny is the go wrapper for REMOTE_PROC_CONNECT_NETWORK_EVENT_REGISTER_ANY.
func (*Libvirt) ConnectNodeDeviceEventDeregisterAny ¶
ConnectNodeDeviceEventDeregisterAny is the go wrapper for REMOTE_PROC_CONNECT_NODE_DEVICE_EVENT_DEREGISTER_ANY.
func (*Libvirt) ConnectNodeDeviceEventRegisterAny ¶
func (l *Libvirt) ConnectNodeDeviceEventRegisterAny(EventID int32, Dev OptNodeDevice) (rCallbackID int32, err error)
ConnectNodeDeviceEventRegisterAny is the go wrapper for REMOTE_PROC_CONNECT_NODE_DEVICE_EVENT_REGISTER_ANY.
func (*Libvirt) ConnectNumOfDefinedDomains ¶
ConnectNumOfDefinedDomains is the go wrapper for REMOTE_PROC_CONNECT_NUM_OF_DEFINED_DOMAINS.
func (*Libvirt) ConnectNumOfDefinedInterfaces ¶
ConnectNumOfDefinedInterfaces is the go wrapper for REMOTE_PROC_CONNECT_NUM_OF_DEFINED_INTERFACES.
func (*Libvirt) ConnectNumOfDefinedNetworks ¶
ConnectNumOfDefinedNetworks is the go wrapper for REMOTE_PROC_CONNECT_NUM_OF_DEFINED_NETWORKS.
func (*Libvirt) ConnectNumOfDefinedStoragePools ¶
ConnectNumOfDefinedStoragePools is the go wrapper for REMOTE_PROC_CONNECT_NUM_OF_DEFINED_STORAGE_POOLS.
func (*Libvirt) ConnectNumOfDomains ¶
ConnectNumOfDomains is the go wrapper for REMOTE_PROC_CONNECT_NUM_OF_DOMAINS.
func (*Libvirt) ConnectNumOfInterfaces ¶
ConnectNumOfInterfaces is the go wrapper for REMOTE_PROC_CONNECT_NUM_OF_INTERFACES.
func (*Libvirt) ConnectNumOfNetworks ¶
ConnectNumOfNetworks is the go wrapper for REMOTE_PROC_CONNECT_NUM_OF_NETWORKS.
func (*Libvirt) ConnectNumOfNwfilters ¶
ConnectNumOfNwfilters is the go wrapper for REMOTE_PROC_CONNECT_NUM_OF_NWFILTERS.
func (*Libvirt) ConnectNumOfSecrets ¶
ConnectNumOfSecrets is the go wrapper for REMOTE_PROC_CONNECT_NUM_OF_SECRETS.
func (*Libvirt) ConnectNumOfStoragePools ¶
ConnectNumOfStoragePools is the go wrapper for REMOTE_PROC_CONNECT_NUM_OF_STORAGE_POOLS.
func (*Libvirt) ConnectOpen ¶
func (l *Libvirt) ConnectOpen(Name OptString, Flags ConnectFlags) (err error)
ConnectOpen is the go wrapper for REMOTE_PROC_CONNECT_OPEN.
func (*Libvirt) ConnectRegisterCloseCallback ¶
ConnectRegisterCloseCallback is the go wrapper for REMOTE_PROC_CONNECT_REGISTER_CLOSE_CALLBACK.
func (*Libvirt) ConnectSecretEventDeregisterAny ¶
ConnectSecretEventDeregisterAny is the go wrapper for REMOTE_PROC_CONNECT_SECRET_EVENT_DEREGISTER_ANY.
func (*Libvirt) ConnectSecretEventRegisterAny ¶
func (l *Libvirt) ConnectSecretEventRegisterAny(EventID int32, OptSecret OptSecret) (rCallbackID int32, err error)
ConnectSecretEventRegisterAny is the go wrapper for REMOTE_PROC_CONNECT_SECRET_EVENT_REGISTER_ANY.
func (*Libvirt) ConnectStoragePoolEventDeregisterAny ¶
ConnectStoragePoolEventDeregisterAny is the go wrapper for REMOTE_PROC_CONNECT_STORAGE_POOL_EVENT_DEREGISTER_ANY.
func (*Libvirt) ConnectStoragePoolEventRegisterAny ¶
func (l *Libvirt) ConnectStoragePoolEventRegisterAny(EventID int32, Pool OptStoragePool) (rCallbackID int32, err error)
ConnectStoragePoolEventRegisterAny is the go wrapper for REMOTE_PROC_CONNECT_STORAGE_POOL_EVENT_REGISTER_ANY.
func (*Libvirt) ConnectSupportsFeature ¶
ConnectSupportsFeature is the go wrapper for REMOTE_PROC_CONNECT_SUPPORTS_FEATURE.
func (*Libvirt) ConnectUnregisterCloseCallback ¶
ConnectUnregisterCloseCallback is the go wrapper for REMOTE_PROC_CONNECT_UNREGISTER_CLOSE_CALLBACK.
func (*Libvirt) DefineXML
deprecated
func (l *Libvirt) DefineXML(x []byte, flags DomainDefineFlags) error
DefineXML defines a domain, but does not start it.
Deprecated: use DomainDefineXMLFlags instead.
func (*Libvirt) Destroy
deprecated
func (l *Libvirt) Destroy(dom string, flags DomainDestroyFlagsValues) error
Destroy destroys the domain specified by dom, e.g., 'prod-lb-01'. The flags argument allows additional options to be specified such as allowing a graceful shutdown with SIGTERM than SIGKILL. For more information on available flags, see DomainDestroy*.
Deprecated: use DomainDestroyFlags instead.
func (*Libvirt) Disconnect ¶
Disconnect shuts down communication with the libvirt server and closes the underlying net.Conn.
func (*Libvirt) DomainAbortJob ¶
DomainAbortJob is the go wrapper for REMOTE_PROC_DOMAIN_ABORT_JOB.
func (*Libvirt) DomainAddIothread ¶
func (l *Libvirt) DomainAddIothread(Dom Domain, IothreadID uint32, Flags DomainModificationImpact) (err error)
DomainAddIothread is the go wrapper for REMOTE_PROC_DOMAIN_ADD_IOTHREAD.
func (*Libvirt) DomainAttachDevice ¶
DomainAttachDevice is the go wrapper for REMOTE_PROC_DOMAIN_ATTACH_DEVICE.
func (*Libvirt) DomainAttachDeviceFlags ¶
DomainAttachDeviceFlags is the go wrapper for REMOTE_PROC_DOMAIN_ATTACH_DEVICE_FLAGS.
func (*Libvirt) DomainBlockCommit ¶
func (l *Libvirt) DomainBlockCommit(Dom Domain, Disk string, Base OptString, Top OptString, Bandwidth uint64, Flags DomainBlockCommitFlags) (err error)
DomainBlockCommit is the go wrapper for REMOTE_PROC_DOMAIN_BLOCK_COMMIT.
func (*Libvirt) DomainBlockCopy ¶
func (l *Libvirt) DomainBlockCopy(Dom Domain, Path string, Destxml string, Params []TypedParam, Flags DomainBlockCopyFlags) (err error)
DomainBlockCopy is the go wrapper for REMOTE_PROC_DOMAIN_BLOCK_COPY.
func (*Libvirt) DomainBlockJobAbort ¶
func (l *Libvirt) DomainBlockJobAbort(Dom Domain, Path string, Flags DomainBlockJobAbortFlags) (err error)
DomainBlockJobAbort is the go wrapper for REMOTE_PROC_DOMAIN_BLOCK_JOB_ABORT.
func (*Libvirt) DomainBlockJobSetSpeed ¶
func (l *Libvirt) DomainBlockJobSetSpeed(Dom Domain, Path string, Bandwidth uint64, Flags DomainBlockJobSetSpeedFlags) (err error)
DomainBlockJobSetSpeed is the go wrapper for REMOTE_PROC_DOMAIN_BLOCK_JOB_SET_SPEED.
func (*Libvirt) DomainBlockPeek ¶
func (l *Libvirt) DomainBlockPeek(Dom Domain, Path string, Offset uint64, Size uint32, Flags uint32) (rBuffer []byte, err error)
DomainBlockPeek is the go wrapper for REMOTE_PROC_DOMAIN_BLOCK_PEEK.
func (*Libvirt) DomainBlockPull ¶
func (l *Libvirt) DomainBlockPull(Dom Domain, Path string, Bandwidth uint64, Flags DomainBlockPullFlags) (err error)
DomainBlockPull is the go wrapper for REMOTE_PROC_DOMAIN_BLOCK_PULL.
func (*Libvirt) DomainBlockRebase ¶
func (l *Libvirt) DomainBlockRebase(Dom Domain, Path string, Base OptString, Bandwidth uint64, Flags DomainBlockRebaseFlags) (err error)
DomainBlockRebase is the go wrapper for REMOTE_PROC_DOMAIN_BLOCK_REBASE.
func (*Libvirt) DomainBlockResize ¶
func (l *Libvirt) DomainBlockResize(Dom Domain, Disk string, Size uint64, Flags DomainBlockResizeFlags) (err error)
DomainBlockResize is the go wrapper for REMOTE_PROC_DOMAIN_BLOCK_RESIZE.
func (*Libvirt) DomainBlockStats ¶
func (l *Libvirt) DomainBlockStats(Dom Domain, Path string) (rRdReq int64, rRdBytes int64, rWrReq int64, rWrBytes int64, rErrs int64, err error)
DomainBlockStats is the go wrapper for REMOTE_PROC_DOMAIN_BLOCK_STATS.
func (*Libvirt) DomainBlockStatsFlags ¶
func (l *Libvirt) DomainBlockStatsFlags(Dom Domain, Path string, Nparams int32, Flags uint32) (rParams []TypedParam, rNparams int32, err error)
DomainBlockStatsFlags is the go wrapper for REMOTE_PROC_DOMAIN_BLOCK_STATS_FLAGS.
func (*Libvirt) DomainCoreDump ¶
func (l *Libvirt) DomainCoreDump(Dom Domain, To string, Flags DomainCoreDumpFlags) (err error)
DomainCoreDump is the go wrapper for REMOTE_PROC_DOMAIN_CORE_DUMP.
func (*Libvirt) DomainCoreDumpWithFormat ¶
func (l *Libvirt) DomainCoreDumpWithFormat(Dom Domain, To string, Dumpformat uint32, Flags DomainCoreDumpFlags) (err error)
DomainCoreDumpWithFormat is the go wrapper for REMOTE_PROC_DOMAIN_CORE_DUMP_WITH_FORMAT.
func (*Libvirt) DomainCreate ¶
DomainCreate is the go wrapper for REMOTE_PROC_DOMAIN_CREATE.
func (*Libvirt) DomainCreateWithFiles ¶
func (l *Libvirt) DomainCreateWithFiles(Dom Domain, Flags DomainCreateFlags) (rDom Domain, err error)
DomainCreateWithFiles is the go wrapper for REMOTE_PROC_DOMAIN_CREATE_WITH_FILES.
func (*Libvirt) DomainCreateWithFlags ¶
DomainCreateWithFlags is the go wrapper for REMOTE_PROC_DOMAIN_CREATE_WITH_FLAGS.
func (*Libvirt) DomainCreateXML ¶
func (l *Libvirt) DomainCreateXML(XMLDesc string, Flags DomainCreateFlags) (rDom Domain, err error)
DomainCreateXML is the go wrapper for REMOTE_PROC_DOMAIN_CREATE_XML.
func (*Libvirt) DomainCreateXMLWithFiles ¶
func (l *Libvirt) DomainCreateXMLWithFiles(XMLDesc string, Flags DomainCreateFlags) (rDom Domain, err error)
DomainCreateXMLWithFiles is the go wrapper for REMOTE_PROC_DOMAIN_CREATE_XML_WITH_FILES.
func (*Libvirt) DomainDefineXML ¶
DomainDefineXML is the go wrapper for REMOTE_PROC_DOMAIN_DEFINE_XML.
func (*Libvirt) DomainDefineXMLFlags ¶
func (l *Libvirt) DomainDefineXMLFlags(XML string, Flags DomainDefineFlags) (rDom Domain, err error)
DomainDefineXMLFlags is the go wrapper for REMOTE_PROC_DOMAIN_DEFINE_XML_FLAGS.
func (*Libvirt) DomainDelIothread ¶
func (l *Libvirt) DomainDelIothread(Dom Domain, IothreadID uint32, Flags DomainModificationImpact) (err error)
DomainDelIothread is the go wrapper for REMOTE_PROC_DOMAIN_DEL_IOTHREAD.
func (*Libvirt) DomainDestroy ¶
DomainDestroy is the go wrapper for REMOTE_PROC_DOMAIN_DESTROY.
func (*Libvirt) DomainDestroyFlags ¶
func (l *Libvirt) DomainDestroyFlags(Dom Domain, Flags DomainDestroyFlagsValues) (err error)
DomainDestroyFlags is the go wrapper for REMOTE_PROC_DOMAIN_DESTROY_FLAGS.
func (*Libvirt) DomainDetachDevice ¶
DomainDetachDevice is the go wrapper for REMOTE_PROC_DOMAIN_DETACH_DEVICE.
func (*Libvirt) DomainDetachDeviceAlias ¶
DomainDetachDeviceAlias is the go wrapper for REMOTE_PROC_DOMAIN_DETACH_DEVICE_ALIAS.
func (*Libvirt) DomainDetachDeviceFlags ¶
DomainDetachDeviceFlags is the go wrapper for REMOTE_PROC_DOMAIN_DETACH_DEVICE_FLAGS.
func (*Libvirt) DomainEventBalloonChange ¶
DomainEventBalloonChange is the go wrapper for REMOTE_PROC_DOMAIN_EVENT_BALLOON_CHANGE.
func (*Libvirt) DomainEventBlockJob ¶
DomainEventBlockJob is the go wrapper for REMOTE_PROC_DOMAIN_EVENT_BLOCK_JOB.
func (*Libvirt) DomainEventBlockJob2 ¶
DomainEventBlockJob2 is the go wrapper for REMOTE_PROC_DOMAIN_EVENT_BLOCK_JOB_2.
func (*Libvirt) DomainEventBlockThreshold ¶
DomainEventBlockThreshold is the go wrapper for REMOTE_PROC_DOMAIN_EVENT_BLOCK_THRESHOLD.
func (*Libvirt) DomainEventCallbackAgentLifecycle ¶
DomainEventCallbackAgentLifecycle is the go wrapper for REMOTE_PROC_DOMAIN_EVENT_CALLBACK_AGENT_LIFECYCLE.
func (*Libvirt) DomainEventCallbackBalloonChange ¶
DomainEventCallbackBalloonChange is the go wrapper for REMOTE_PROC_DOMAIN_EVENT_CALLBACK_BALLOON_CHANGE.
func (*Libvirt) DomainEventCallbackBlockJob ¶
DomainEventCallbackBlockJob is the go wrapper for REMOTE_PROC_DOMAIN_EVENT_CALLBACK_BLOCK_JOB.
func (*Libvirt) DomainEventCallbackControlError ¶
DomainEventCallbackControlError is the go wrapper for REMOTE_PROC_DOMAIN_EVENT_CALLBACK_CONTROL_ERROR.
func (*Libvirt) DomainEventCallbackDeviceAdded ¶
DomainEventCallbackDeviceAdded is the go wrapper for REMOTE_PROC_DOMAIN_EVENT_CALLBACK_DEVICE_ADDED.
func (*Libvirt) DomainEventCallbackDeviceRemovalFailed ¶
DomainEventCallbackDeviceRemovalFailed is the go wrapper for REMOTE_PROC_DOMAIN_EVENT_CALLBACK_DEVICE_REMOVAL_FAILED.
func (*Libvirt) DomainEventCallbackDeviceRemoved ¶
DomainEventCallbackDeviceRemoved is the go wrapper for REMOTE_PROC_DOMAIN_EVENT_CALLBACK_DEVICE_REMOVED.
func (*Libvirt) DomainEventCallbackDiskChange ¶
DomainEventCallbackDiskChange is the go wrapper for REMOTE_PROC_DOMAIN_EVENT_CALLBACK_DISK_CHANGE.
func (*Libvirt) DomainEventCallbackGraphics ¶
DomainEventCallbackGraphics is the go wrapper for REMOTE_PROC_DOMAIN_EVENT_CALLBACK_GRAPHICS.
func (*Libvirt) DomainEventCallbackIOError ¶
DomainEventCallbackIOError is the go wrapper for REMOTE_PROC_DOMAIN_EVENT_CALLBACK_IO_ERROR.
func (*Libvirt) DomainEventCallbackIOErrorReason ¶
DomainEventCallbackIOErrorReason is the go wrapper for REMOTE_PROC_DOMAIN_EVENT_CALLBACK_IO_ERROR_REASON.
func (*Libvirt) DomainEventCallbackJobCompleted ¶
DomainEventCallbackJobCompleted is the go wrapper for REMOTE_PROC_DOMAIN_EVENT_CALLBACK_JOB_COMPLETED.
func (*Libvirt) DomainEventCallbackLifecycle ¶
DomainEventCallbackLifecycle is the go wrapper for REMOTE_PROC_DOMAIN_EVENT_CALLBACK_LIFECYCLE.
func (*Libvirt) DomainEventCallbackMetadataChange ¶
DomainEventCallbackMetadataChange is the go wrapper for REMOTE_PROC_DOMAIN_EVENT_CALLBACK_METADATA_CHANGE.
func (*Libvirt) DomainEventCallbackMigrationIteration ¶
DomainEventCallbackMigrationIteration is the go wrapper for REMOTE_PROC_DOMAIN_EVENT_CALLBACK_MIGRATION_ITERATION.
func (*Libvirt) DomainEventCallbackPmsuspend ¶
DomainEventCallbackPmsuspend is the go wrapper for REMOTE_PROC_DOMAIN_EVENT_CALLBACK_PMSUSPEND.
func (*Libvirt) DomainEventCallbackPmsuspendDisk ¶
DomainEventCallbackPmsuspendDisk is the go wrapper for REMOTE_PROC_DOMAIN_EVENT_CALLBACK_PMSUSPEND_DISK.
func (*Libvirt) DomainEventCallbackPmwakeup ¶
DomainEventCallbackPmwakeup is the go wrapper for REMOTE_PROC_DOMAIN_EVENT_CALLBACK_PMWAKEUP.
func (*Libvirt) DomainEventCallbackReboot ¶
DomainEventCallbackReboot is the go wrapper for REMOTE_PROC_DOMAIN_EVENT_CALLBACK_REBOOT.
func (*Libvirt) DomainEventCallbackRtcChange ¶
DomainEventCallbackRtcChange is the go wrapper for REMOTE_PROC_DOMAIN_EVENT_CALLBACK_RTC_CHANGE.
func (*Libvirt) DomainEventCallbackTrayChange ¶
DomainEventCallbackTrayChange is the go wrapper for REMOTE_PROC_DOMAIN_EVENT_CALLBACK_TRAY_CHANGE.
func (*Libvirt) DomainEventCallbackTunable ¶
DomainEventCallbackTunable is the go wrapper for REMOTE_PROC_DOMAIN_EVENT_CALLBACK_TUNABLE.
func (*Libvirt) DomainEventCallbackWatchdog ¶
DomainEventCallbackWatchdog is the go wrapper for REMOTE_PROC_DOMAIN_EVENT_CALLBACK_WATCHDOG.
func (*Libvirt) DomainEventControlError ¶
DomainEventControlError is the go wrapper for REMOTE_PROC_DOMAIN_EVENT_CONTROL_ERROR.
func (*Libvirt) DomainEventDeviceRemoved ¶
DomainEventDeviceRemoved is the go wrapper for REMOTE_PROC_DOMAIN_EVENT_DEVICE_REMOVED.
func (*Libvirt) DomainEventDiskChange ¶
DomainEventDiskChange is the go wrapper for REMOTE_PROC_DOMAIN_EVENT_DISK_CHANGE.
func (*Libvirt) DomainEventGraphics ¶
DomainEventGraphics is the go wrapper for REMOTE_PROC_DOMAIN_EVENT_GRAPHICS.
func (*Libvirt) DomainEventIOError ¶
DomainEventIOError is the go wrapper for REMOTE_PROC_DOMAIN_EVENT_IO_ERROR.
func (*Libvirt) DomainEventIOErrorReason ¶
DomainEventIOErrorReason is the go wrapper for REMOTE_PROC_DOMAIN_EVENT_IO_ERROR_REASON.
func (*Libvirt) DomainEventLifecycle ¶
DomainEventLifecycle is the go wrapper for REMOTE_PROC_DOMAIN_EVENT_LIFECYCLE.
func (*Libvirt) DomainEventPmsuspend ¶
DomainEventPmsuspend is the go wrapper for REMOTE_PROC_DOMAIN_EVENT_PMSUSPEND.
func (*Libvirt) DomainEventPmsuspendDisk ¶
DomainEventPmsuspendDisk is the go wrapper for REMOTE_PROC_DOMAIN_EVENT_PMSUSPEND_DISK.
func (*Libvirt) DomainEventPmwakeup ¶
DomainEventPmwakeup is the go wrapper for REMOTE_PROC_DOMAIN_EVENT_PMWAKEUP.
func (*Libvirt) DomainEventReboot ¶
DomainEventReboot is the go wrapper for REMOTE_PROC_DOMAIN_EVENT_REBOOT.
func (*Libvirt) DomainEventRtcChange ¶
DomainEventRtcChange is the go wrapper for REMOTE_PROC_DOMAIN_EVENT_RTC_CHANGE.
func (*Libvirt) DomainEventTrayChange ¶
DomainEventTrayChange is the go wrapper for REMOTE_PROC_DOMAIN_EVENT_TRAY_CHANGE.
func (*Libvirt) DomainEventWatchdog ¶
DomainEventWatchdog is the go wrapper for REMOTE_PROC_DOMAIN_EVENT_WATCHDOG.
func (*Libvirt) DomainFsfreeze ¶
func (l *Libvirt) DomainFsfreeze(Dom Domain, Mountpoints []string, Flags uint32) (rFilesystems int32, err error)
DomainFsfreeze is the go wrapper for REMOTE_PROC_DOMAIN_FSFREEZE.
func (*Libvirt) DomainFsthaw ¶
func (l *Libvirt) DomainFsthaw(Dom Domain, Mountpoints []string, Flags uint32) (rFilesystems int32, err error)
DomainFsthaw is the go wrapper for REMOTE_PROC_DOMAIN_FSTHAW.
func (*Libvirt) DomainFstrim ¶
func (l *Libvirt) DomainFstrim(Dom Domain, MountPoint OptString, Minimum uint64, Flags uint32) (err error)
DomainFstrim is the go wrapper for REMOTE_PROC_DOMAIN_FSTRIM.
func (*Libvirt) DomainGetAutostart ¶
DomainGetAutostart is the go wrapper for REMOTE_PROC_DOMAIN_GET_AUTOSTART.
func (*Libvirt) DomainGetBlkioParameters ¶
func (l *Libvirt) DomainGetBlkioParameters(Dom Domain, Nparams int32, Flags uint32) (rParams []TypedParam, rNparams int32, err error)
DomainGetBlkioParameters is the go wrapper for REMOTE_PROC_DOMAIN_GET_BLKIO_PARAMETERS.
func (*Libvirt) DomainGetBlockIOTune ¶
func (l *Libvirt) DomainGetBlockIOTune(Dom Domain, Disk OptString, Nparams int32, Flags uint32) (rParams []TypedParam, rNparams int32, err error)
DomainGetBlockIOTune is the go wrapper for REMOTE_PROC_DOMAIN_GET_BLOCK_IO_TUNE.
func (*Libvirt) DomainGetBlockInfo ¶
func (l *Libvirt) DomainGetBlockInfo(Dom Domain, Path string, Flags uint32) (rAllocation uint64, rCapacity uint64, rPhysical uint64, err error)
DomainGetBlockInfo is the go wrapper for REMOTE_PROC_DOMAIN_GET_BLOCK_INFO.
func (*Libvirt) DomainGetBlockJobInfo ¶
func (l *Libvirt) DomainGetBlockJobInfo(Dom Domain, Path string, Flags uint32) (rFound int32, rType int32, rBandwidth uint64, rCur uint64, rEnd uint64, err error)
DomainGetBlockJobInfo is the go wrapper for REMOTE_PROC_DOMAIN_GET_BLOCK_JOB_INFO.
func (*Libvirt) DomainGetCPUStats ¶
func (l *Libvirt) DomainGetCPUStats(Dom Domain, Nparams uint32, StartCPU int32, Ncpus uint32, Flags TypedParameterFlags) (rParams []TypedParam, rNparams int32, err error)
DomainGetCPUStats is the go wrapper for REMOTE_PROC_DOMAIN_GET_CPU_STATS.
func (*Libvirt) DomainGetControlInfo ¶
func (l *Libvirt) DomainGetControlInfo(Dom Domain, Flags uint32) (rState uint32, rDetails uint32, rStateTime uint64, err error)
DomainGetControlInfo is the go wrapper for REMOTE_PROC_DOMAIN_GET_CONTROL_INFO.
func (*Libvirt) DomainGetDiskErrors ¶
func (l *Libvirt) DomainGetDiskErrors(Dom Domain, Maxerrors uint32, Flags uint32) (rErrors []DomainDiskError, rNerrors int32, err error)
DomainGetDiskErrors is the go wrapper for REMOTE_PROC_DOMAIN_GET_DISK_ERRORS.
func (*Libvirt) DomainGetEmulatorPinInfo ¶
func (l *Libvirt) DomainGetEmulatorPinInfo(Dom Domain, Maplen int32, Flags DomainModificationImpact) (rCpumaps []byte, rRet int32, err error)
DomainGetEmulatorPinInfo is the go wrapper for REMOTE_PROC_DOMAIN_GET_EMULATOR_PIN_INFO.
func (*Libvirt) DomainGetFsinfo ¶
func (l *Libvirt) DomainGetFsinfo(Dom Domain, Flags uint32) (rInfo []DomainFsinfo, rRet uint32, err error)
DomainGetFsinfo is the go wrapper for REMOTE_PROC_DOMAIN_GET_FSINFO.
func (*Libvirt) DomainGetGuestVcpus ¶
func (l *Libvirt) DomainGetGuestVcpus(Dom Domain, Flags uint32) (rParams []TypedParam, err error)
DomainGetGuestVcpus is the go wrapper for REMOTE_PROC_DOMAIN_GET_GUEST_VCPUS.
func (*Libvirt) DomainGetHostname ¶
DomainGetHostname is the go wrapper for REMOTE_PROC_DOMAIN_GET_HOSTNAME.
func (*Libvirt) DomainGetInfo ¶
func (l *Libvirt) DomainGetInfo(Dom Domain) (rState uint8, rMaxMem uint64, rMemory uint64, rNrVirtCPU uint16, rCPUTime uint64, err error)
DomainGetInfo is the go wrapper for REMOTE_PROC_DOMAIN_GET_INFO.
func (*Libvirt) DomainGetInterfaceParameters ¶
func (l *Libvirt) DomainGetInterfaceParameters(Dom Domain, Device string, Nparams int32, Flags DomainModificationImpact) (rParams []TypedParam, rNparams int32, err error)
DomainGetInterfaceParameters is the go wrapper for REMOTE_PROC_DOMAIN_GET_INTERFACE_PARAMETERS.
func (*Libvirt) DomainGetIothreadInfo ¶
func (l *Libvirt) DomainGetIothreadInfo(Dom Domain, Flags DomainModificationImpact) (rInfo []DomainIothreadInfo, rRet uint32, err error)
DomainGetIothreadInfo is the go wrapper for REMOTE_PROC_DOMAIN_GET_IOTHREAD_INFO.
func (*Libvirt) DomainGetJobInfo ¶
func (l *Libvirt) DomainGetJobInfo(Dom Domain) (rType int32, rTimeElapsed uint64, rTimeRemaining uint64, rDataTotal uint64, rDataProcessed uint64, rDataRemaining uint64, rMemTotal uint64, rMemProcessed uint64, rMemRemaining uint64, rFileTotal uint64, rFileProcessed uint64, rFileRemaining uint64, err error)
DomainGetJobInfo is the go wrapper for REMOTE_PROC_DOMAIN_GET_JOB_INFO.
func (*Libvirt) DomainGetJobStats ¶
func (l *Libvirt) DomainGetJobStats(Dom Domain, Flags DomainGetJobStatsFlags) (rType int32, rParams []TypedParam, err error)
DomainGetJobStats is the go wrapper for REMOTE_PROC_DOMAIN_GET_JOB_STATS.
func (*Libvirt) DomainGetLaunchSecurityInfo ¶
func (l *Libvirt) DomainGetLaunchSecurityInfo(Dom Domain, Flags uint32) (rParams []TypedParam, err error)
DomainGetLaunchSecurityInfo is the go wrapper for REMOTE_PROC_DOMAIN_GET_LAUNCH_SECURITY_INFO.
func (*Libvirt) DomainGetMaxMemory ¶
DomainGetMaxMemory is the go wrapper for REMOTE_PROC_DOMAIN_GET_MAX_MEMORY.
func (*Libvirt) DomainGetMaxVcpus ¶
DomainGetMaxVcpus is the go wrapper for REMOTE_PROC_DOMAIN_GET_MAX_VCPUS.
func (*Libvirt) DomainGetMemoryParameters ¶
func (l *Libvirt) DomainGetMemoryParameters(Dom Domain, Nparams int32, Flags uint32) (rParams []TypedParam, rNparams int32, err error)
DomainGetMemoryParameters is the go wrapper for REMOTE_PROC_DOMAIN_GET_MEMORY_PARAMETERS.
func (*Libvirt) DomainGetMetadata ¶
func (l *Libvirt) DomainGetMetadata(Dom Domain, Type int32, Uri OptString, Flags DomainModificationImpact) (rMetadata string, err error)
DomainGetMetadata is the go wrapper for REMOTE_PROC_DOMAIN_GET_METADATA.
func (*Libvirt) DomainGetNumaParameters ¶
func (l *Libvirt) DomainGetNumaParameters(Dom Domain, Nparams int32, Flags uint32) (rParams []TypedParam, rNparams int32, err error)
DomainGetNumaParameters is the go wrapper for REMOTE_PROC_DOMAIN_GET_NUMA_PARAMETERS.
func (*Libvirt) DomainGetOsType ¶
DomainGetOsType is the go wrapper for REMOTE_PROC_DOMAIN_GET_OS_TYPE.
func (*Libvirt) DomainGetPerfEvents ¶
func (l *Libvirt) DomainGetPerfEvents(Dom Domain, Flags DomainModificationImpact) (rParams []TypedParam, err error)
DomainGetPerfEvents is the go wrapper for REMOTE_PROC_DOMAIN_GET_PERF_EVENTS.
func (*Libvirt) DomainGetSchedulerParameters ¶
func (l *Libvirt) DomainGetSchedulerParameters(Dom Domain, Nparams int32) (rParams []TypedParam, err error)
DomainGetSchedulerParameters is the go wrapper for REMOTE_PROC_DOMAIN_GET_SCHEDULER_PARAMETERS.
func (*Libvirt) DomainGetSchedulerParametersFlags ¶
func (l *Libvirt) DomainGetSchedulerParametersFlags(Dom Domain, Nparams int32, Flags uint32) (rParams []TypedParam, err error)
DomainGetSchedulerParametersFlags is the go wrapper for REMOTE_PROC_DOMAIN_GET_SCHEDULER_PARAMETERS_FLAGS.
func (*Libvirt) DomainGetSchedulerType ¶
DomainGetSchedulerType is the go wrapper for REMOTE_PROC_DOMAIN_GET_SCHEDULER_TYPE.
func (*Libvirt) DomainGetSecurityLabel ¶
DomainGetSecurityLabel is the go wrapper for REMOTE_PROC_DOMAIN_GET_SECURITY_LABEL.
func (*Libvirt) DomainGetSecurityLabelList ¶
func (l *Libvirt) DomainGetSecurityLabelList(Dom Domain) (rLabels []DomainGetSecurityLabelRet, rRet int32, err error)
DomainGetSecurityLabelList is the go wrapper for REMOTE_PROC_DOMAIN_GET_SECURITY_LABEL_LIST.
func (*Libvirt) DomainGetState ¶
DomainGetState is the go wrapper for REMOTE_PROC_DOMAIN_GET_STATE.
func (*Libvirt) DomainGetTime ¶
func (l *Libvirt) DomainGetTime(Dom Domain, Flags uint32) (rSeconds int64, rNseconds uint32, err error)
DomainGetTime is the go wrapper for REMOTE_PROC_DOMAIN_GET_TIME.
func (*Libvirt) DomainGetVcpuPinInfo ¶
func (l *Libvirt) DomainGetVcpuPinInfo(Dom Domain, Ncpumaps int32, Maplen int32, Flags uint32) (rCpumaps []byte, rNum int32, err error)
DomainGetVcpuPinInfo is the go wrapper for REMOTE_PROC_DOMAIN_GET_VCPU_PIN_INFO.
func (*Libvirt) DomainGetVcpus ¶
func (l *Libvirt) DomainGetVcpus(Dom Domain, Maxinfo int32, Maplen int32) (rInfo []VcpuInfo, rCpumaps []byte, err error)
DomainGetVcpus is the go wrapper for REMOTE_PROC_DOMAIN_GET_VCPUS.
func (*Libvirt) DomainGetVcpusFlags ¶
DomainGetVcpusFlags is the go wrapper for REMOTE_PROC_DOMAIN_GET_VCPUS_FLAGS.
func (*Libvirt) DomainGetXMLDesc ¶
func (l *Libvirt) DomainGetXMLDesc(Dom Domain, Flags DomainXMLFlags) (rXML string, err error)
DomainGetXMLDesc is the go wrapper for REMOTE_PROC_DOMAIN_GET_XML_DESC.
func (*Libvirt) DomainHasCurrentSnapshot ¶
DomainHasCurrentSnapshot is the go wrapper for REMOTE_PROC_DOMAIN_HAS_CURRENT_SNAPSHOT.
func (*Libvirt) DomainHasManagedSaveImage ¶
DomainHasManagedSaveImage is the go wrapper for REMOTE_PROC_DOMAIN_HAS_MANAGED_SAVE_IMAGE.
func (*Libvirt) DomainInjectNmi ¶
DomainInjectNmi is the go wrapper for REMOTE_PROC_DOMAIN_INJECT_NMI.
func (*Libvirt) DomainInterfaceAddresses ¶
func (l *Libvirt) DomainInterfaceAddresses(Dom Domain, Source uint32, Flags uint32) (rIfaces []DomainInterface, err error)
DomainInterfaceAddresses is the go wrapper for REMOTE_PROC_DOMAIN_INTERFACE_ADDRESSES.
func (*Libvirt) DomainInterfaceStats ¶
func (l *Libvirt) DomainInterfaceStats(Dom Domain, Device string) (rRxBytes int64, rRxPackets int64, rRxErrs int64, rRxDrop int64, rTxBytes int64, rTxPackets int64, rTxErrs int64, rTxDrop int64, err error)
DomainInterfaceStats is the go wrapper for REMOTE_PROC_DOMAIN_INTERFACE_STATS.
func (*Libvirt) DomainIsActive ¶
DomainIsActive is the go wrapper for REMOTE_PROC_DOMAIN_IS_ACTIVE.
func (*Libvirt) DomainIsPersistent ¶
DomainIsPersistent is the go wrapper for REMOTE_PROC_DOMAIN_IS_PERSISTENT.
func (*Libvirt) DomainIsUpdated ¶
DomainIsUpdated is the go wrapper for REMOTE_PROC_DOMAIN_IS_UPDATED.
func (*Libvirt) DomainListAllSnapshots ¶
func (l *Libvirt) DomainListAllSnapshots(Dom Domain, NeedResults int32, Flags uint32) (rSnapshots []DomainSnapshot, rRet int32, err error)
DomainListAllSnapshots is the go wrapper for REMOTE_PROC_DOMAIN_LIST_ALL_SNAPSHOTS.
func (*Libvirt) DomainLookupByID ¶
DomainLookupByID is the go wrapper for REMOTE_PROC_DOMAIN_LOOKUP_BY_ID.
func (*Libvirt) DomainLookupByName ¶
DomainLookupByName is the go wrapper for REMOTE_PROC_DOMAIN_LOOKUP_BY_NAME.
func (*Libvirt) DomainLookupByUUID ¶
DomainLookupByUUID is the go wrapper for REMOTE_PROC_DOMAIN_LOOKUP_BY_UUID.
func (*Libvirt) DomainManagedSave ¶
DomainManagedSave is the go wrapper for REMOTE_PROC_DOMAIN_MANAGED_SAVE.
func (*Libvirt) DomainManagedSaveDefineXML ¶
func (l *Libvirt) DomainManagedSaveDefineXML(Dom Domain, Dxml OptString, Flags DomainSaveRestoreFlags) (err error)
DomainManagedSaveDefineXML is the go wrapper for REMOTE_PROC_DOMAIN_MANAGED_SAVE_DEFINE_XML.
func (*Libvirt) DomainManagedSaveGetXMLDesc ¶
func (l *Libvirt) DomainManagedSaveGetXMLDesc(Dom Domain, Flags DomainXMLFlags) (rXML string, err error)
DomainManagedSaveGetXMLDesc is the go wrapper for REMOTE_PROC_DOMAIN_MANAGED_SAVE_GET_XML_DESC.
func (*Libvirt) DomainManagedSaveRemove ¶
DomainManagedSaveRemove is the go wrapper for REMOTE_PROC_DOMAIN_MANAGED_SAVE_REMOVE.
func (*Libvirt) DomainMemoryPeek ¶
func (l *Libvirt) DomainMemoryPeek(Dom Domain, Offset uint64, Size uint32, Flags DomainMemoryFlags) (rBuffer []byte, err error)
DomainMemoryPeek is the go wrapper for REMOTE_PROC_DOMAIN_MEMORY_PEEK.
func (*Libvirt) DomainMemoryStats ¶
func (l *Libvirt) DomainMemoryStats(Dom Domain, MaxStats uint32, Flags uint32) (rStats []DomainMemoryStat, err error)
DomainMemoryStats is the go wrapper for REMOTE_PROC_DOMAIN_MEMORY_STATS.
func (*Libvirt) DomainMigrateBegin3 ¶
func (l *Libvirt) DomainMigrateBegin3(Dom Domain, Xmlin OptString, Flags uint64, Dname OptString, Resource uint64) (rCookieOut []byte, rXML string, err error)
DomainMigrateBegin3 is the go wrapper for REMOTE_PROC_DOMAIN_MIGRATE_BEGIN3.
func (*Libvirt) DomainMigrateBegin3Params ¶
func (l *Libvirt) DomainMigrateBegin3Params(Dom Domain, Params []TypedParam, Flags uint32) (rCookieOut []byte, rXML string, err error)
DomainMigrateBegin3Params is the go wrapper for REMOTE_PROC_DOMAIN_MIGRATE_BEGIN3_PARAMS.
func (*Libvirt) DomainMigrateConfirm3 ¶
func (l *Libvirt) DomainMigrateConfirm3(Dom Domain, CookieIn []byte, Flags uint64, Cancelled int32) (err error)
DomainMigrateConfirm3 is the go wrapper for REMOTE_PROC_DOMAIN_MIGRATE_CONFIRM3.
func (*Libvirt) DomainMigrateConfirm3Params ¶
func (l *Libvirt) DomainMigrateConfirm3Params(Dom Domain, Params []TypedParam, CookieIn []byte, Flags uint32, Cancelled int32) (err error)
DomainMigrateConfirm3Params is the go wrapper for REMOTE_PROC_DOMAIN_MIGRATE_CONFIRM3_PARAMS.
func (*Libvirt) DomainMigrateFinish ¶
func (l *Libvirt) DomainMigrateFinish(Dname string, Cookie []byte, Uri string, Flags uint64) (rDdom Domain, err error)
DomainMigrateFinish is the go wrapper for REMOTE_PROC_DOMAIN_MIGRATE_FINISH.
func (*Libvirt) DomainMigrateFinish2 ¶
func (l *Libvirt) DomainMigrateFinish2(Dname string, Cookie []byte, Uri string, Flags uint64, Retcode int32) (rDdom Domain, err error)
DomainMigrateFinish2 is the go wrapper for REMOTE_PROC_DOMAIN_MIGRATE_FINISH2.
func (*Libvirt) DomainMigrateFinish3 ¶
func (l *Libvirt) DomainMigrateFinish3(Dname string, CookieIn []byte, Dconnuri OptString, Uri OptString, Flags uint64, Cancelled int32) (rDom Domain, rCookieOut []byte, err error)
DomainMigrateFinish3 is the go wrapper for REMOTE_PROC_DOMAIN_MIGRATE_FINISH3.
func (*Libvirt) DomainMigrateFinish3Params ¶
func (l *Libvirt) DomainMigrateFinish3Params(Params []TypedParam, CookieIn []byte, Flags uint32, Cancelled int32) (rDom Domain, rCookieOut []byte, err error)
DomainMigrateFinish3Params is the go wrapper for REMOTE_PROC_DOMAIN_MIGRATE_FINISH3_PARAMS.
func (*Libvirt) DomainMigrateGetCompressionCache ¶
func (l *Libvirt) DomainMigrateGetCompressionCache(Dom Domain, Flags uint32) (rCacheSize uint64, err error)
DomainMigrateGetCompressionCache is the go wrapper for REMOTE_PROC_DOMAIN_MIGRATE_GET_COMPRESSION_CACHE.
func (*Libvirt) DomainMigrateGetMaxDowntime ¶
func (l *Libvirt) DomainMigrateGetMaxDowntime(Dom Domain, Flags uint32) (rDowntime uint64, err error)
DomainMigrateGetMaxDowntime is the go wrapper for REMOTE_PROC_DOMAIN_MIGRATE_GET_MAX_DOWNTIME.
func (*Libvirt) DomainMigrateGetMaxSpeed ¶
DomainMigrateGetMaxSpeed is the go wrapper for REMOTE_PROC_DOMAIN_MIGRATE_GET_MAX_SPEED.
func (*Libvirt) DomainMigratePerform ¶
func (l *Libvirt) DomainMigratePerform(Dom Domain, Cookie []byte, Uri string, Flags uint64, Dname OptString, Resource uint64) (err error)
DomainMigratePerform is the go wrapper for REMOTE_PROC_DOMAIN_MIGRATE_PERFORM.
func (*Libvirt) DomainMigratePerform3 ¶
func (l *Libvirt) DomainMigratePerform3(Dom Domain, Xmlin OptString, CookieIn []byte, Dconnuri OptString, Uri OptString, Flags uint64, Dname OptString, Resource uint64) (rCookieOut []byte, err error)
DomainMigratePerform3 is the go wrapper for REMOTE_PROC_DOMAIN_MIGRATE_PERFORM3.
func (*Libvirt) DomainMigratePerform3Params ¶
func (l *Libvirt) DomainMigratePerform3Params(Dom Domain, Dconnuri OptString, Params []TypedParam, CookieIn []byte, Flags DomainMigrateFlags) (rCookieOut []byte, err error)
DomainMigratePerform3Params is the go wrapper for REMOTE_PROC_DOMAIN_MIGRATE_PERFORM3_PARAMS.
func (*Libvirt) DomainMigratePrepare ¶
func (l *Libvirt) DomainMigratePrepare(UriIn OptString, Flags uint64, Dname OptString, Resource uint64) (rCookie []byte, rUriOut OptString, err error)
DomainMigratePrepare is the go wrapper for REMOTE_PROC_DOMAIN_MIGRATE_PREPARE.
func (*Libvirt) DomainMigratePrepare2 ¶
func (l *Libvirt) DomainMigratePrepare2(UriIn OptString, Flags uint64, Dname OptString, Resource uint64, DomXML string) (rCookie []byte, rUriOut OptString, err error)
DomainMigratePrepare2 is the go wrapper for REMOTE_PROC_DOMAIN_MIGRATE_PREPARE2.
func (*Libvirt) DomainMigratePrepare3 ¶
func (l *Libvirt) DomainMigratePrepare3(CookieIn []byte, UriIn OptString, Flags uint64, Dname OptString, Resource uint64, DomXML string) (rCookieOut []byte, rUriOut OptString, err error)
DomainMigratePrepare3 is the go wrapper for REMOTE_PROC_DOMAIN_MIGRATE_PREPARE3.
func (*Libvirt) DomainMigratePrepare3Params ¶
func (l *Libvirt) DomainMigratePrepare3Params(Params []TypedParam, CookieIn []byte, Flags uint32) (rCookieOut []byte, rUriOut OptString, err error)
DomainMigratePrepare3Params is the go wrapper for REMOTE_PROC_DOMAIN_MIGRATE_PREPARE3_PARAMS.
func (*Libvirt) DomainMigratePrepareTunnel ¶
func (l *Libvirt) DomainMigratePrepareTunnel(Flags uint64, outStream io.Reader, Dname OptString, Resource uint64, DomXML string) (err error)
DomainMigratePrepareTunnel is the go wrapper for REMOTE_PROC_DOMAIN_MIGRATE_PREPARE_TUNNEL.
func (*Libvirt) DomainMigratePrepareTunnel3 ¶
func (l *Libvirt) DomainMigratePrepareTunnel3(CookieIn []byte, outStream io.Reader, Flags uint64, Dname OptString, Resource uint64, DomXML string) (rCookieOut []byte, err error)
DomainMigratePrepareTunnel3 is the go wrapper for REMOTE_PROC_DOMAIN_MIGRATE_PREPARE_TUNNEL3.
func (*Libvirt) DomainMigratePrepareTunnel3Params ¶
func (l *Libvirt) DomainMigratePrepareTunnel3Params(Params []TypedParam, CookieIn []byte, Flags uint32) (rCookieOut []byte, err error)
DomainMigratePrepareTunnel3Params is the go wrapper for REMOTE_PROC_DOMAIN_MIGRATE_PREPARE_TUNNEL3_PARAMS.
func (*Libvirt) DomainMigrateSetCompressionCache ¶
func (l *Libvirt) DomainMigrateSetCompressionCache(Dom Domain, CacheSize uint64, Flags uint32) (err error)
DomainMigrateSetCompressionCache is the go wrapper for REMOTE_PROC_DOMAIN_MIGRATE_SET_COMPRESSION_CACHE.
func (*Libvirt) DomainMigrateSetMaxDowntime ¶
func (l *Libvirt) DomainMigrateSetMaxDowntime(Dom Domain, Downtime uint64, Flags uint32) (err error)
DomainMigrateSetMaxDowntime is the go wrapper for REMOTE_PROC_DOMAIN_MIGRATE_SET_MAX_DOWNTIME.
func (*Libvirt) DomainMigrateSetMaxSpeed ¶
DomainMigrateSetMaxSpeed is the go wrapper for REMOTE_PROC_DOMAIN_MIGRATE_SET_MAX_SPEED.
func (*Libvirt) DomainMigrateStartPostCopy ¶
DomainMigrateStartPostCopy is the go wrapper for REMOTE_PROC_DOMAIN_MIGRATE_START_POST_COPY.
func (*Libvirt) DomainOpenChannel ¶
func (l *Libvirt) DomainOpenChannel(Dom Domain, Name OptString, inStream io.Writer, Flags DomainChannelFlags) (err error)
DomainOpenChannel is the go wrapper for REMOTE_PROC_DOMAIN_OPEN_CHANNEL.
func (*Libvirt) DomainOpenConsole ¶
func (l *Libvirt) DomainOpenConsole(Dom Domain, DevName OptString, inStream io.Writer, Flags uint32) (err error)
DomainOpenConsole is the go wrapper for REMOTE_PROC_DOMAIN_OPEN_CONSOLE.
func (*Libvirt) DomainOpenGraphics ¶
func (l *Libvirt) DomainOpenGraphics(Dom Domain, Idx uint32, Flags DomainOpenGraphicsFlags) (err error)
DomainOpenGraphics is the go wrapper for REMOTE_PROC_DOMAIN_OPEN_GRAPHICS.
func (*Libvirt) DomainOpenGraphicsFd ¶
func (l *Libvirt) DomainOpenGraphicsFd(Dom Domain, Idx uint32, Flags DomainOpenGraphicsFlags) (err error)
DomainOpenGraphicsFd is the go wrapper for REMOTE_PROC_DOMAIN_OPEN_GRAPHICS_FD.
func (*Libvirt) DomainPinEmulator ¶
func (l *Libvirt) DomainPinEmulator(Dom Domain, Cpumap []byte, Flags DomainModificationImpact) (err error)
DomainPinEmulator is the go wrapper for REMOTE_PROC_DOMAIN_PIN_EMULATOR.
func (*Libvirt) DomainPinIothread ¶
func (l *Libvirt) DomainPinIothread(Dom Domain, IothreadsID uint32, Cpumap []byte, Flags DomainModificationImpact) (err error)
DomainPinIothread is the go wrapper for REMOTE_PROC_DOMAIN_PIN_IOTHREAD.
func (*Libvirt) DomainPinVcpu ¶
DomainPinVcpu is the go wrapper for REMOTE_PROC_DOMAIN_PIN_VCPU.
func (*Libvirt) DomainPinVcpuFlags ¶
func (l *Libvirt) DomainPinVcpuFlags(Dom Domain, Vcpu uint32, Cpumap []byte, Flags uint32) (err error)
DomainPinVcpuFlags is the go wrapper for REMOTE_PROC_DOMAIN_PIN_VCPU_FLAGS.
func (*Libvirt) DomainPmSuspendForDuration ¶
func (l *Libvirt) DomainPmSuspendForDuration(Dom Domain, Target uint32, Duration uint64, Flags uint32) (err error)
DomainPmSuspendForDuration is the go wrapper for REMOTE_PROC_DOMAIN_PM_SUSPEND_FOR_DURATION.
func (*Libvirt) DomainPmWakeup ¶
DomainPmWakeup is the go wrapper for REMOTE_PROC_DOMAIN_PM_WAKEUP.
func (*Libvirt) DomainReboot ¶
func (l *Libvirt) DomainReboot(Dom Domain, Flags DomainRebootFlagValues) (err error)
DomainReboot is the go wrapper for REMOTE_PROC_DOMAIN_REBOOT.
func (*Libvirt) DomainRename ¶
func (l *Libvirt) DomainRename(Dom Domain, NewName OptString, Flags uint32) (rRetcode int32, err error)
DomainRename is the go wrapper for REMOTE_PROC_DOMAIN_RENAME.
func (*Libvirt) DomainReset ¶
DomainReset is the go wrapper for REMOTE_PROC_DOMAIN_RESET.
func (*Libvirt) DomainRestore ¶
DomainRestore is the go wrapper for REMOTE_PROC_DOMAIN_RESTORE.
func (*Libvirt) DomainRestoreFlags ¶
DomainRestoreFlags is the go wrapper for REMOTE_PROC_DOMAIN_RESTORE_FLAGS.
func (*Libvirt) DomainResume ¶
DomainResume is the go wrapper for REMOTE_PROC_DOMAIN_RESUME.
func (*Libvirt) DomainRevertToSnapshot ¶
func (l *Libvirt) DomainRevertToSnapshot(Snap DomainSnapshot, Flags uint32) (err error)
DomainRevertToSnapshot is the go wrapper for REMOTE_PROC_DOMAIN_REVERT_TO_SNAPSHOT.
func (*Libvirt) DomainSave ¶
DomainSave is the go wrapper for REMOTE_PROC_DOMAIN_SAVE.
func (*Libvirt) DomainSaveFlags ¶
DomainSaveFlags is the go wrapper for REMOTE_PROC_DOMAIN_SAVE_FLAGS.
func (*Libvirt) DomainSaveImageDefineXML ¶
DomainSaveImageDefineXML is the go wrapper for REMOTE_PROC_DOMAIN_SAVE_IMAGE_DEFINE_XML.
func (*Libvirt) DomainSaveImageGetXMLDesc ¶
DomainSaveImageGetXMLDesc is the go wrapper for REMOTE_PROC_DOMAIN_SAVE_IMAGE_GET_XML_DESC.
func (*Libvirt) DomainScreenshot ¶
func (l *Libvirt) DomainScreenshot(Dom Domain, inStream io.Writer, Screen uint32, Flags uint32) (rMime OptString, err error)
DomainScreenshot is the go wrapper for REMOTE_PROC_DOMAIN_SCREENSHOT.
func (*Libvirt) DomainSendKey ¶
func (l *Libvirt) DomainSendKey(Dom Domain, Codeset uint32, Holdtime uint32, Keycodes []uint32, Flags uint32) (err error)
DomainSendKey is the go wrapper for REMOTE_PROC_DOMAIN_SEND_KEY.
func (*Libvirt) DomainSendProcessSignal ¶
func (l *Libvirt) DomainSendProcessSignal(Dom Domain, PidValue int64, Signum uint32, Flags uint32) (err error)
DomainSendProcessSignal is the go wrapper for REMOTE_PROC_DOMAIN_SEND_PROCESS_SIGNAL.
func (*Libvirt) DomainSetAutostart ¶
DomainSetAutostart is the go wrapper for REMOTE_PROC_DOMAIN_SET_AUTOSTART.
func (*Libvirt) DomainSetBlkioParameters ¶
func (l *Libvirt) DomainSetBlkioParameters(Dom Domain, Params []TypedParam, Flags uint32) (err error)
DomainSetBlkioParameters is the go wrapper for REMOTE_PROC_DOMAIN_SET_BLKIO_PARAMETERS.
func (*Libvirt) DomainSetBlockIOTune ¶
func (l *Libvirt) DomainSetBlockIOTune(Dom Domain, Disk string, Params []TypedParam, Flags uint32) (err error)
DomainSetBlockIOTune is the go wrapper for REMOTE_PROC_DOMAIN_SET_BLOCK_IO_TUNE.
func (*Libvirt) DomainSetBlockThreshold ¶
func (l *Libvirt) DomainSetBlockThreshold(Dom Domain, Dev string, Threshold uint64, Flags uint32) (err error)
DomainSetBlockThreshold is the go wrapper for REMOTE_PROC_DOMAIN_SET_BLOCK_THRESHOLD.
func (*Libvirt) DomainSetGuestVcpus ¶
func (l *Libvirt) DomainSetGuestVcpus(Dom Domain, Cpumap string, State int32, Flags uint32) (err error)
DomainSetGuestVcpus is the go wrapper for REMOTE_PROC_DOMAIN_SET_GUEST_VCPUS.
func (*Libvirt) DomainSetInterfaceParameters ¶
func (l *Libvirt) DomainSetInterfaceParameters(Dom Domain, Device string, Params []TypedParam, Flags uint32) (err error)
DomainSetInterfaceParameters is the go wrapper for REMOTE_PROC_DOMAIN_SET_INTERFACE_PARAMETERS.
func (*Libvirt) DomainSetIothreadParams ¶
func (l *Libvirt) DomainSetIothreadParams(Dom Domain, IothreadID uint32, Params []TypedParam, Flags uint32) (err error)
DomainSetIothreadParams is the go wrapper for REMOTE_PROC_DOMAIN_SET_IOTHREAD_PARAMS.
func (*Libvirt) DomainSetLifecycleAction ¶
func (l *Libvirt) DomainSetLifecycleAction(Dom Domain, Type uint32, Action uint32, Flags DomainModificationImpact) (err error)
DomainSetLifecycleAction is the go wrapper for REMOTE_PROC_DOMAIN_SET_LIFECYCLE_ACTION.
func (*Libvirt) DomainSetMaxMemory ¶
DomainSetMaxMemory is the go wrapper for REMOTE_PROC_DOMAIN_SET_MAX_MEMORY.
func (*Libvirt) DomainSetMemory ¶
DomainSetMemory is the go wrapper for REMOTE_PROC_DOMAIN_SET_MEMORY.
func (*Libvirt) DomainSetMemoryFlags ¶
DomainSetMemoryFlags is the go wrapper for REMOTE_PROC_DOMAIN_SET_MEMORY_FLAGS.
func (*Libvirt) DomainSetMemoryParameters ¶
func (l *Libvirt) DomainSetMemoryParameters(Dom Domain, Params []TypedParam, Flags uint32) (err error)
DomainSetMemoryParameters is the go wrapper for REMOTE_PROC_DOMAIN_SET_MEMORY_PARAMETERS.
func (*Libvirt) DomainSetMemoryStatsPeriod ¶
func (l *Libvirt) DomainSetMemoryStatsPeriod(Dom Domain, Period int32, Flags DomainMemoryModFlags) (err error)
DomainSetMemoryStatsPeriod is the go wrapper for REMOTE_PROC_DOMAIN_SET_MEMORY_STATS_PERIOD.
func (*Libvirt) DomainSetMetadata ¶
func (l *Libvirt) DomainSetMetadata(Dom Domain, Type int32, Metadata OptString, Key OptString, Uri OptString, Flags DomainModificationImpact) (err error)
DomainSetMetadata is the go wrapper for REMOTE_PROC_DOMAIN_SET_METADATA.
func (*Libvirt) DomainSetNumaParameters ¶
func (l *Libvirt) DomainSetNumaParameters(Dom Domain, Params []TypedParam, Flags uint32) (err error)
DomainSetNumaParameters is the go wrapper for REMOTE_PROC_DOMAIN_SET_NUMA_PARAMETERS.
func (*Libvirt) DomainSetPerfEvents ¶
func (l *Libvirt) DomainSetPerfEvents(Dom Domain, Params []TypedParam, Flags DomainModificationImpact) (err error)
DomainSetPerfEvents is the go wrapper for REMOTE_PROC_DOMAIN_SET_PERF_EVENTS.
func (*Libvirt) DomainSetSchedulerParameters ¶
func (l *Libvirt) DomainSetSchedulerParameters(Dom Domain, Params []TypedParam) (err error)
DomainSetSchedulerParameters is the go wrapper for REMOTE_PROC_DOMAIN_SET_SCHEDULER_PARAMETERS.
func (*Libvirt) DomainSetSchedulerParametersFlags ¶
func (l *Libvirt) DomainSetSchedulerParametersFlags(Dom Domain, Params []TypedParam, Flags uint32) (err error)
DomainSetSchedulerParametersFlags is the go wrapper for REMOTE_PROC_DOMAIN_SET_SCHEDULER_PARAMETERS_FLAGS.
func (*Libvirt) DomainSetTime ¶
func (l *Libvirt) DomainSetTime(Dom Domain, Seconds int64, Nseconds uint32, Flags DomainSetTimeFlags) (err error)
DomainSetTime is the go wrapper for REMOTE_PROC_DOMAIN_SET_TIME.
func (*Libvirt) DomainSetUserPassword ¶
func (l *Libvirt) DomainSetUserPassword(Dom Domain, User OptString, Password OptString, Flags DomainSetUserPasswordFlags) (err error)
DomainSetUserPassword is the go wrapper for REMOTE_PROC_DOMAIN_SET_USER_PASSWORD.
func (*Libvirt) DomainSetVcpu ¶
func (l *Libvirt) DomainSetVcpu(Dom Domain, Cpumap string, State int32, Flags DomainModificationImpact) (err error)
DomainSetVcpu is the go wrapper for REMOTE_PROC_DOMAIN_SET_VCPU.
func (*Libvirt) DomainSetVcpus ¶
DomainSetVcpus is the go wrapper for REMOTE_PROC_DOMAIN_SET_VCPUS.
func (*Libvirt) DomainSetVcpusFlags ¶
DomainSetVcpusFlags is the go wrapper for REMOTE_PROC_DOMAIN_SET_VCPUS_FLAGS.
func (*Libvirt) DomainShutdown ¶
DomainShutdown is the go wrapper for REMOTE_PROC_DOMAIN_SHUTDOWN.
func (*Libvirt) DomainShutdownFlags ¶
func (l *Libvirt) DomainShutdownFlags(Dom Domain, Flags DomainShutdownFlagValues) (err error)
DomainShutdownFlags is the go wrapper for REMOTE_PROC_DOMAIN_SHUTDOWN_FLAGS.
func (*Libvirt) DomainSnapshotCreateXML ¶
func (l *Libvirt) DomainSnapshotCreateXML(Dom Domain, XMLDesc string, Flags uint32) (rSnap DomainSnapshot, err error)
DomainSnapshotCreateXML is the go wrapper for REMOTE_PROC_DOMAIN_SNAPSHOT_CREATE_XML.
func (*Libvirt) DomainSnapshotCurrent ¶
func (l *Libvirt) DomainSnapshotCurrent(Dom Domain, Flags uint32) (rSnap DomainSnapshot, err error)
DomainSnapshotCurrent is the go wrapper for REMOTE_PROC_DOMAIN_SNAPSHOT_CURRENT.
func (*Libvirt) DomainSnapshotDelete ¶
func (l *Libvirt) DomainSnapshotDelete(Snap DomainSnapshot, Flags DomainSnapshotDeleteFlags) (err error)
DomainSnapshotDelete is the go wrapper for REMOTE_PROC_DOMAIN_SNAPSHOT_DELETE.
func (*Libvirt) DomainSnapshotGetParent ¶
func (l *Libvirt) DomainSnapshotGetParent(Snap DomainSnapshot, Flags uint32) (rSnap DomainSnapshot, err error)
DomainSnapshotGetParent is the go wrapper for REMOTE_PROC_DOMAIN_SNAPSHOT_GET_PARENT.
func (*Libvirt) DomainSnapshotGetXMLDesc ¶
func (l *Libvirt) DomainSnapshotGetXMLDesc(Snap DomainSnapshot, Flags uint32) (rXML string, err error)
DomainSnapshotGetXMLDesc is the go wrapper for REMOTE_PROC_DOMAIN_SNAPSHOT_GET_XML_DESC.
func (*Libvirt) DomainSnapshotHasMetadata ¶
func (l *Libvirt) DomainSnapshotHasMetadata(Snap DomainSnapshot, Flags uint32) (rMetadata int32, err error)
DomainSnapshotHasMetadata is the go wrapper for REMOTE_PROC_DOMAIN_SNAPSHOT_HAS_METADATA.
func (*Libvirt) DomainSnapshotIsCurrent ¶
func (l *Libvirt) DomainSnapshotIsCurrent(Snap DomainSnapshot, Flags uint32) (rCurrent int32, err error)
DomainSnapshotIsCurrent is the go wrapper for REMOTE_PROC_DOMAIN_SNAPSHOT_IS_CURRENT.
func (*Libvirt) DomainSnapshotListAllChildren ¶
func (l *Libvirt) DomainSnapshotListAllChildren(Snapshot DomainSnapshot, NeedResults int32, Flags uint32) (rSnapshots []DomainSnapshot, rRet int32, err error)
DomainSnapshotListAllChildren is the go wrapper for REMOTE_PROC_DOMAIN_SNAPSHOT_LIST_ALL_CHILDREN.
func (*Libvirt) DomainSnapshotListChildrenNames ¶
func (l *Libvirt) DomainSnapshotListChildrenNames(Snap DomainSnapshot, Maxnames int32, Flags uint32) (rNames []string, err error)
DomainSnapshotListChildrenNames is the go wrapper for REMOTE_PROC_DOMAIN_SNAPSHOT_LIST_CHILDREN_NAMES.
func (*Libvirt) DomainSnapshotListNames ¶
func (l *Libvirt) DomainSnapshotListNames(Dom Domain, Maxnames int32, Flags uint32) (rNames []string, err error)
DomainSnapshotListNames is the go wrapper for REMOTE_PROC_DOMAIN_SNAPSHOT_LIST_NAMES.
func (*Libvirt) DomainSnapshotLookupByName ¶
func (l *Libvirt) DomainSnapshotLookupByName(Dom Domain, Name string, Flags uint32) (rSnap DomainSnapshot, err error)
DomainSnapshotLookupByName is the go wrapper for REMOTE_PROC_DOMAIN_SNAPSHOT_LOOKUP_BY_NAME.
func (*Libvirt) DomainSnapshotNum ¶
DomainSnapshotNum is the go wrapper for REMOTE_PROC_DOMAIN_SNAPSHOT_NUM.
func (*Libvirt) DomainSnapshotNumChildren ¶
func (l *Libvirt) DomainSnapshotNumChildren(Snap DomainSnapshot, Flags uint32) (rNum int32, err error)
DomainSnapshotNumChildren is the go wrapper for REMOTE_PROC_DOMAIN_SNAPSHOT_NUM_CHILDREN.
func (*Libvirt) DomainState
deprecated
func (l *Libvirt) DomainState(dom string) (DomainState, error)
DomainState returns state of the domain managed by libvirt.
Deprecated: use DomainGetState instead.
func (*Libvirt) DomainSuspend ¶
DomainSuspend is the go wrapper for REMOTE_PROC_DOMAIN_SUSPEND.
func (*Libvirt) DomainUndefine ¶
DomainUndefine is the go wrapper for REMOTE_PROC_DOMAIN_UNDEFINE.
func (*Libvirt) DomainUndefineFlags ¶
func (l *Libvirt) DomainUndefineFlags(Dom Domain, Flags DomainUndefineFlagsValues) (err error)
DomainUndefineFlags is the go wrapper for REMOTE_PROC_DOMAIN_UNDEFINE_FLAGS.
func (*Libvirt) DomainUpdateDeviceFlags ¶
func (l *Libvirt) DomainUpdateDeviceFlags(Dom Domain, XML string, Flags DomainDeviceModifyFlags) (err error)
DomainUpdateDeviceFlags is the go wrapper for REMOTE_PROC_DOMAIN_UPDATE_DEVICE_FLAGS.
func (*Libvirt) Events ¶
func (l *Libvirt) Events(dom string) (<-chan DomainEvent, error)
Events streams domain events. If a problem is encountered setting up the event monitor connection an error will be returned. Errors encountered during streaming will cause the returned event channel to be closed.
func (*Libvirt) GetBlockIOTune
deprecated
func (l *Libvirt) GetBlockIOTune(dom string, disk string) ([]BlockLimit, error)
GetBlockIOTune returns a slice containing the current block I/O tunables for a disk.
Deprecated: use DomainGetBlockIOTune instead.
func (*Libvirt) InterfaceChangeBegin ¶
InterfaceChangeBegin is the go wrapper for REMOTE_PROC_INTERFACE_CHANGE_BEGIN.
func (*Libvirt) InterfaceChangeCommit ¶
InterfaceChangeCommit is the go wrapper for REMOTE_PROC_INTERFACE_CHANGE_COMMIT.
func (*Libvirt) InterfaceChangeRollback ¶
InterfaceChangeRollback is the go wrapper for REMOTE_PROC_INTERFACE_CHANGE_ROLLBACK.
func (*Libvirt) InterfaceCreate ¶
InterfaceCreate is the go wrapper for REMOTE_PROC_INTERFACE_CREATE.
func (*Libvirt) InterfaceDefineXML ¶
InterfaceDefineXML is the go wrapper for REMOTE_PROC_INTERFACE_DEFINE_XML.
func (*Libvirt) InterfaceDestroy ¶
InterfaceDestroy is the go wrapper for REMOTE_PROC_INTERFACE_DESTROY.
func (*Libvirt) InterfaceGetXMLDesc ¶
InterfaceGetXMLDesc is the go wrapper for REMOTE_PROC_INTERFACE_GET_XML_DESC.
func (*Libvirt) InterfaceIsActive ¶
InterfaceIsActive is the go wrapper for REMOTE_PROC_INTERFACE_IS_ACTIVE.
func (*Libvirt) InterfaceLookupByMacString ¶
InterfaceLookupByMacString is the go wrapper for REMOTE_PROC_INTERFACE_LOOKUP_BY_MAC_STRING.
func (*Libvirt) InterfaceLookupByName ¶
InterfaceLookupByName is the go wrapper for REMOTE_PROC_INTERFACE_LOOKUP_BY_NAME.
func (*Libvirt) InterfaceUndefine ¶
InterfaceUndefine is the go wrapper for REMOTE_PROC_INTERFACE_UNDEFINE.
func (*Libvirt) LifecycleEvents ¶
func (l *Libvirt) LifecycleEvents() (<-chan DomainEventLifecycleMsg, error)
LifecycleEvents streams lifecycle events. If a problem is encountered setting up the event monitor connection an error will be returned. Errors encountered during streaming will cause the returned event channel to be closed.
func (*Libvirt) NetworkCreate ¶
NetworkCreate is the go wrapper for REMOTE_PROC_NETWORK_CREATE.
func (*Libvirt) NetworkCreateXML ¶
NetworkCreateXML is the go wrapper for REMOTE_PROC_NETWORK_CREATE_XML.
func (*Libvirt) NetworkDefineXML ¶
NetworkDefineXML is the go wrapper for REMOTE_PROC_NETWORK_DEFINE_XML.
func (*Libvirt) NetworkDestroy ¶
NetworkDestroy is the go wrapper for REMOTE_PROC_NETWORK_DESTROY.
func (*Libvirt) NetworkEventLifecycle ¶
NetworkEventLifecycle is the go wrapper for REMOTE_PROC_NETWORK_EVENT_LIFECYCLE.
func (*Libvirt) NetworkGetAutostart ¶
NetworkGetAutostart is the go wrapper for REMOTE_PROC_NETWORK_GET_AUTOSTART.
func (*Libvirt) NetworkGetBridgeName ¶
NetworkGetBridgeName is the go wrapper for REMOTE_PROC_NETWORK_GET_BRIDGE_NAME.
func (*Libvirt) NetworkGetDhcpLeases ¶
func (l *Libvirt) NetworkGetDhcpLeases(Net Network, Mac OptString, NeedResults int32, Flags uint32) (rLeases []NetworkDhcpLease, rRet uint32, err error)
NetworkGetDhcpLeases is the go wrapper for REMOTE_PROC_NETWORK_GET_DHCP_LEASES.
func (*Libvirt) NetworkGetXMLDesc ¶
NetworkGetXMLDesc is the go wrapper for REMOTE_PROC_NETWORK_GET_XML_DESC.
func (*Libvirt) NetworkIsActive ¶
NetworkIsActive is the go wrapper for REMOTE_PROC_NETWORK_IS_ACTIVE.
func (*Libvirt) NetworkIsPersistent ¶
NetworkIsPersistent is the go wrapper for REMOTE_PROC_NETWORK_IS_PERSISTENT.
func (*Libvirt) NetworkLookupByName ¶
NetworkLookupByName is the go wrapper for REMOTE_PROC_NETWORK_LOOKUP_BY_NAME.
func (*Libvirt) NetworkLookupByUUID ¶
NetworkLookupByUUID is the go wrapper for REMOTE_PROC_NETWORK_LOOKUP_BY_UUID.
func (*Libvirt) NetworkSetAutostart ¶
NetworkSetAutostart is the go wrapper for REMOTE_PROC_NETWORK_SET_AUTOSTART.
func (*Libvirt) NetworkUndefine ¶
NetworkUndefine is the go wrapper for REMOTE_PROC_NETWORK_UNDEFINE.
func (*Libvirt) NetworkUpdate ¶
func (l *Libvirt) NetworkUpdate(Net Network, Command uint32, Section uint32, ParentIndex int32, XML string, Flags NetworkUpdateFlags) (err error)
NetworkUpdate is the go wrapper for REMOTE_PROC_NETWORK_UPDATE.
func (*Libvirt) NodeAllocPages ¶
func (l *Libvirt) NodeAllocPages(PageSizes []uint32, PageCounts []uint64, StartCell int32, CellCount uint32, Flags NodeAllocPagesFlags) (rRet int32, err error)
NodeAllocPages is the go wrapper for REMOTE_PROC_NODE_ALLOC_PAGES.
func (*Libvirt) NodeDeviceCreateXML ¶
func (l *Libvirt) NodeDeviceCreateXML(XMLDesc string, Flags uint32) (rDev NodeDevice, err error)
NodeDeviceCreateXML is the go wrapper for REMOTE_PROC_NODE_DEVICE_CREATE_XML.
func (*Libvirt) NodeDeviceDestroy ¶
NodeDeviceDestroy is the go wrapper for REMOTE_PROC_NODE_DEVICE_DESTROY.
func (*Libvirt) NodeDeviceDetachFlags ¶
func (l *Libvirt) NodeDeviceDetachFlags(Name string, DriverName OptString, Flags uint32) (err error)
NodeDeviceDetachFlags is the go wrapper for REMOTE_PROC_NODE_DEVICE_DETACH_FLAGS.
func (*Libvirt) NodeDeviceDettach ¶
NodeDeviceDettach is the go wrapper for REMOTE_PROC_NODE_DEVICE_DETTACH.
func (*Libvirt) NodeDeviceEventLifecycle ¶
NodeDeviceEventLifecycle is the go wrapper for REMOTE_PROC_NODE_DEVICE_EVENT_LIFECYCLE.
func (*Libvirt) NodeDeviceEventUpdate ¶
NodeDeviceEventUpdate is the go wrapper for REMOTE_PROC_NODE_DEVICE_EVENT_UPDATE.
func (*Libvirt) NodeDeviceGetParent ¶
NodeDeviceGetParent is the go wrapper for REMOTE_PROC_NODE_DEVICE_GET_PARENT.
func (*Libvirt) NodeDeviceGetXMLDesc ¶
NodeDeviceGetXMLDesc is the go wrapper for REMOTE_PROC_NODE_DEVICE_GET_XML_DESC.
func (*Libvirt) NodeDeviceListCaps ¶
NodeDeviceListCaps is the go wrapper for REMOTE_PROC_NODE_DEVICE_LIST_CAPS.
func (*Libvirt) NodeDeviceLookupByName ¶
func (l *Libvirt) NodeDeviceLookupByName(Name string) (rDev NodeDevice, err error)
NodeDeviceLookupByName is the go wrapper for REMOTE_PROC_NODE_DEVICE_LOOKUP_BY_NAME.
func (*Libvirt) NodeDeviceLookupScsiHostByWwn ¶
func (l *Libvirt) NodeDeviceLookupScsiHostByWwn(Wwnn string, Wwpn string, Flags uint32) (rDev NodeDevice, err error)
NodeDeviceLookupScsiHostByWwn is the go wrapper for REMOTE_PROC_NODE_DEVICE_LOOKUP_SCSI_HOST_BY_WWN.
func (*Libvirt) NodeDeviceNumOfCaps ¶
NodeDeviceNumOfCaps is the go wrapper for REMOTE_PROC_NODE_DEVICE_NUM_OF_CAPS.
func (*Libvirt) NodeDeviceReAttach ¶
NodeDeviceReAttach is the go wrapper for REMOTE_PROC_NODE_DEVICE_RE_ATTACH.
func (*Libvirt) NodeDeviceReset ¶
NodeDeviceReset is the go wrapper for REMOTE_PROC_NODE_DEVICE_RESET.
func (*Libvirt) NodeGetCPUMap ¶
func (l *Libvirt) NodeGetCPUMap(NeedMap int32, NeedOnline int32, Flags uint32) (rCpumap []byte, rOnline uint32, rRet int32, err error)
NodeGetCPUMap is the go wrapper for REMOTE_PROC_NODE_GET_CPU_MAP.
func (*Libvirt) NodeGetCPUStats ¶
func (l *Libvirt) NodeGetCPUStats(CPUNum int32, Nparams int32, Flags uint32) (rParams []NodeGetCPUStats, rNparams int32, err error)
NodeGetCPUStats is the go wrapper for REMOTE_PROC_NODE_GET_CPU_STATS.
func (*Libvirt) NodeGetCellsFreeMemory ¶
func (l *Libvirt) NodeGetCellsFreeMemory(StartCell int32, Maxcells int32) (rCells []uint64, err error)
NodeGetCellsFreeMemory is the go wrapper for REMOTE_PROC_NODE_GET_CELLS_FREE_MEMORY.
func (*Libvirt) NodeGetFreeMemory ¶
NodeGetFreeMemory is the go wrapper for REMOTE_PROC_NODE_GET_FREE_MEMORY.
func (*Libvirt) NodeGetFreePages ¶
func (l *Libvirt) NodeGetFreePages(Pages []uint32, StartCell int32, CellCount uint32, Flags uint32) (rCounts []uint64, err error)
NodeGetFreePages is the go wrapper for REMOTE_PROC_NODE_GET_FREE_PAGES.
func (*Libvirt) NodeGetInfo ¶
func (l *Libvirt) NodeGetInfo() (rModel [32]int8, rMemory uint64, rCpus int32, rMhz int32, rNodes int32, rSockets int32, rCores int32, rThreads int32, err error)
NodeGetInfo is the go wrapper for REMOTE_PROC_NODE_GET_INFO.
func (*Libvirt) NodeGetMemoryParameters ¶
func (l *Libvirt) NodeGetMemoryParameters(Nparams int32, Flags uint32) (rParams []TypedParam, rNparams int32, err error)
NodeGetMemoryParameters is the go wrapper for REMOTE_PROC_NODE_GET_MEMORY_PARAMETERS.
func (*Libvirt) NodeGetMemoryStats ¶
func (l *Libvirt) NodeGetMemoryStats(Nparams int32, CellNum int32, Flags uint32) (rParams []NodeGetMemoryStats, rNparams int32, err error)
NodeGetMemoryStats is the go wrapper for REMOTE_PROC_NODE_GET_MEMORY_STATS.
func (*Libvirt) NodeGetSecurityModel ¶
NodeGetSecurityModel is the go wrapper for REMOTE_PROC_NODE_GET_SECURITY_MODEL.
func (*Libvirt) NodeGetSevInfo ¶
func (l *Libvirt) NodeGetSevInfo(Nparams int32, Flags uint32) (rParams []TypedParam, rNparams int32, err error)
NodeGetSevInfo is the go wrapper for REMOTE_PROC_NODE_GET_SEV_INFO.
func (*Libvirt) NodeListDevices ¶
func (l *Libvirt) NodeListDevices(Cap OptString, Maxnames int32, Flags uint32) (rNames []string, err error)
NodeListDevices is the go wrapper for REMOTE_PROC_NODE_LIST_DEVICES.
func (*Libvirt) NodeNumOfDevices ¶
NodeNumOfDevices is the go wrapper for REMOTE_PROC_NODE_NUM_OF_DEVICES.
func (*Libvirt) NodeSetMemoryParameters ¶
func (l *Libvirt) NodeSetMemoryParameters(Params []TypedParam, Flags uint32) (err error)
NodeSetMemoryParameters is the go wrapper for REMOTE_PROC_NODE_SET_MEMORY_PARAMETERS.
func (*Libvirt) NodeSuspendForDuration ¶
NodeSuspendForDuration is the go wrapper for REMOTE_PROC_NODE_SUSPEND_FOR_DURATION.
func (*Libvirt) NwfilterBindingCreateXML ¶
func (l *Libvirt) NwfilterBindingCreateXML(XML string, Flags uint32) (rOptNwfilter NwfilterBinding, err error)
NwfilterBindingCreateXML is the go wrapper for REMOTE_PROC_NWFILTER_BINDING_CREATE_XML.
func (*Libvirt) NwfilterBindingDelete ¶
func (l *Libvirt) NwfilterBindingDelete(OptNwfilter NwfilterBinding) (err error)
NwfilterBindingDelete is the go wrapper for REMOTE_PROC_NWFILTER_BINDING_DELETE.
func (*Libvirt) NwfilterBindingGetXMLDesc ¶
func (l *Libvirt) NwfilterBindingGetXMLDesc(OptNwfilter NwfilterBinding, Flags uint32) (rXML string, err error)
NwfilterBindingGetXMLDesc is the go wrapper for REMOTE_PROC_NWFILTER_BINDING_GET_XML_DESC.
func (*Libvirt) NwfilterBindingLookupByPortDev ¶
func (l *Libvirt) NwfilterBindingLookupByPortDev(Name string) (rOptNwfilter NwfilterBinding, err error)
NwfilterBindingLookupByPortDev is the go wrapper for REMOTE_PROC_NWFILTER_BINDING_LOOKUP_BY_PORT_DEV.
func (*Libvirt) NwfilterDefineXML ¶
NwfilterDefineXML is the go wrapper for REMOTE_PROC_NWFILTER_DEFINE_XML.
func (*Libvirt) NwfilterGetXMLDesc ¶
NwfilterGetXMLDesc is the go wrapper for REMOTE_PROC_NWFILTER_GET_XML_DESC.
func (*Libvirt) NwfilterLookupByName ¶
NwfilterLookupByName is the go wrapper for REMOTE_PROC_NWFILTER_LOOKUP_BY_NAME.
func (*Libvirt) NwfilterLookupByUUID ¶
NwfilterLookupByUUID is the go wrapper for REMOTE_PROC_NWFILTER_LOOKUP_BY_UUID.
func (*Libvirt) NwfilterUndefine ¶
NwfilterUndefine is the go wrapper for REMOTE_PROC_NWFILTER_UNDEFINE.
func (*Libvirt) Reboot
deprecated
func (l *Libvirt) Reboot(dom string, flags DomainRebootFlagValues) error
Reboot reboots the domain. Note that the guest OS may ignore the request. If flags is set to zero, then the hypervisor will choose the method of shutdown it considers best.
Deprecated: use DomainReboot instead.
func (*Libvirt) Run ¶
Run executes the given QAPI command against a domain's QEMU instance. For a list of available QAPI commands, see:
http://git.qemu.org/?p=qemu.git;a=blob;f=qapi-schema.json;hb=HEAD
func (*Libvirt) SecretDefineXML ¶
SecretDefineXML is the go wrapper for REMOTE_PROC_SECRET_DEFINE_XML.
func (*Libvirt) SecretEventLifecycle ¶
SecretEventLifecycle is the go wrapper for REMOTE_PROC_SECRET_EVENT_LIFECYCLE.
func (*Libvirt) SecretEventValueChanged ¶
SecretEventValueChanged is the go wrapper for REMOTE_PROC_SECRET_EVENT_VALUE_CHANGED.
func (*Libvirt) SecretGetValue ¶
SecretGetValue is the go wrapper for REMOTE_PROC_SECRET_GET_VALUE.
func (*Libvirt) SecretGetXMLDesc ¶
SecretGetXMLDesc is the go wrapper for REMOTE_PROC_SECRET_GET_XML_DESC.
func (*Libvirt) SecretLookupByUUID ¶
SecretLookupByUUID is the go wrapper for REMOTE_PROC_SECRET_LOOKUP_BY_UUID.
func (*Libvirt) SecretLookupByUsage ¶
func (l *Libvirt) SecretLookupByUsage(UsageType int32, UsageID string) (rOptSecret Secret, err error)
SecretLookupByUsage is the go wrapper for REMOTE_PROC_SECRET_LOOKUP_BY_USAGE.
func (*Libvirt) SecretSetValue ¶
SecretSetValue is the go wrapper for REMOTE_PROC_SECRET_SET_VALUE.
func (*Libvirt) SecretUndefine ¶
SecretUndefine is the go wrapper for REMOTE_PROC_SECRET_UNDEFINE.
func (*Libvirt) SetBlockIOTune
deprecated
func (l *Libvirt) SetBlockIOTune(dom string, disk string, limits ...BlockLimit) error
SetBlockIOTune changes the per-device block I/O tunables within a guest. Parameters are the name of the VM, the name of the disk device to which the limits should be applied, and 1 or more BlockLimit structs containing the actual limits.
The limits which can be applied here are enumerated in the QEMUBlockIO... constants above, and you can also see the full list by executing the 'blkdeviotune' command on a VM in virsh.
Example usage:
SetBlockIOTune("vm-name", "vda", BlockLimit{libvirt.QEMUBlockIOWriteBytesSec, 1000000})
Deprecated: use DomainSetBlockIOTune instead.
func (*Libvirt) Shutdown
deprecated
func (l *Libvirt) Shutdown(dom string, flags DomainShutdownFlagValues) error
Shutdown shuts down a domain. Note that the guest OS may ignore the request. If flags is set to 0 then the hypervisor will choose the method of shutdown it considers best.
Deprecated: use DomainShutdownFlags instead.
func (*Libvirt) StoragePool
deprecated
func (l *Libvirt) StoragePool(name string) (StoragePool, error)
StoragePool returns the storage pool associated with the provided name. An error is returned if the requested storage pool is not found.
Deprecated: use StoragePoolLookupByName instead.
func (*Libvirt) StoragePoolBuild ¶
func (l *Libvirt) StoragePoolBuild(Pool StoragePool, Flags StoragePoolBuildFlags) (err error)
StoragePoolBuild is the go wrapper for REMOTE_PROC_STORAGE_POOL_BUILD.
func (*Libvirt) StoragePoolCreate ¶
func (l *Libvirt) StoragePoolCreate(Pool StoragePool, Flags StoragePoolCreateFlags) (err error)
StoragePoolCreate is the go wrapper for REMOTE_PROC_STORAGE_POOL_CREATE.
func (*Libvirt) StoragePoolCreateXML ¶
func (l *Libvirt) StoragePoolCreateXML(XML string, Flags StoragePoolCreateFlags) (rPool StoragePool, err error)
StoragePoolCreateXML is the go wrapper for REMOTE_PROC_STORAGE_POOL_CREATE_XML.
func (*Libvirt) StoragePoolDefineXML ¶
func (l *Libvirt) StoragePoolDefineXML(XML string, Flags uint32) (rPool StoragePool, err error)
StoragePoolDefineXML is the go wrapper for REMOTE_PROC_STORAGE_POOL_DEFINE_XML.
func (*Libvirt) StoragePoolDelete ¶
func (l *Libvirt) StoragePoolDelete(Pool StoragePool, Flags StoragePoolDeleteFlags) (err error)
StoragePoolDelete is the go wrapper for REMOTE_PROC_STORAGE_POOL_DELETE.
func (*Libvirt) StoragePoolDestroy ¶
func (l *Libvirt) StoragePoolDestroy(Pool StoragePool) (err error)
StoragePoolDestroy is the go wrapper for REMOTE_PROC_STORAGE_POOL_DESTROY.
func (*Libvirt) StoragePoolEventLifecycle ¶
StoragePoolEventLifecycle is the go wrapper for REMOTE_PROC_STORAGE_POOL_EVENT_LIFECYCLE.
func (*Libvirt) StoragePoolEventRefresh ¶
StoragePoolEventRefresh is the go wrapper for REMOTE_PROC_STORAGE_POOL_EVENT_REFRESH.
func (*Libvirt) StoragePoolGetAutostart ¶
func (l *Libvirt) StoragePoolGetAutostart(Pool StoragePool) (rAutostart int32, err error)
StoragePoolGetAutostart is the go wrapper for REMOTE_PROC_STORAGE_POOL_GET_AUTOSTART.
func (*Libvirt) StoragePoolGetInfo ¶
func (l *Libvirt) StoragePoolGetInfo(Pool StoragePool) (rState uint8, rCapacity uint64, rAllocation uint64, rAvailable uint64, err error)
StoragePoolGetInfo is the go wrapper for REMOTE_PROC_STORAGE_POOL_GET_INFO.
func (*Libvirt) StoragePoolGetXMLDesc ¶
func (l *Libvirt) StoragePoolGetXMLDesc(Pool StoragePool, Flags StorageXMLFlags) (rXML string, err error)
StoragePoolGetXMLDesc is the go wrapper for REMOTE_PROC_STORAGE_POOL_GET_XML_DESC.
func (*Libvirt) StoragePoolIsActive ¶
func (l *Libvirt) StoragePoolIsActive(Pool StoragePool) (rActive int32, err error)
StoragePoolIsActive is the go wrapper for REMOTE_PROC_STORAGE_POOL_IS_ACTIVE.
func (*Libvirt) StoragePoolIsPersistent ¶
func (l *Libvirt) StoragePoolIsPersistent(Pool StoragePool) (rPersistent int32, err error)
StoragePoolIsPersistent is the go wrapper for REMOTE_PROC_STORAGE_POOL_IS_PERSISTENT.
func (*Libvirt) StoragePoolListAllVolumes ¶
func (l *Libvirt) StoragePoolListAllVolumes(Pool StoragePool, NeedResults int32, Flags uint32) (rVols []StorageVol, rRet uint32, err error)
StoragePoolListAllVolumes is the go wrapper for REMOTE_PROC_STORAGE_POOL_LIST_ALL_VOLUMES.
func (*Libvirt) StoragePoolListVolumes ¶
func (l *Libvirt) StoragePoolListVolumes(Pool StoragePool, Maxnames int32) (rNames []string, err error)
StoragePoolListVolumes is the go wrapper for REMOTE_PROC_STORAGE_POOL_LIST_VOLUMES.
func (*Libvirt) StoragePoolLookupByName ¶
func (l *Libvirt) StoragePoolLookupByName(Name string) (rPool StoragePool, err error)
StoragePoolLookupByName is the go wrapper for REMOTE_PROC_STORAGE_POOL_LOOKUP_BY_NAME.
func (*Libvirt) StoragePoolLookupByTargetPath ¶
func (l *Libvirt) StoragePoolLookupByTargetPath(Path string) (rPool StoragePool, err error)
StoragePoolLookupByTargetPath is the go wrapper for REMOTE_PROC_STORAGE_POOL_LOOKUP_BY_TARGET_PATH.
func (*Libvirt) StoragePoolLookupByUUID ¶
func (l *Libvirt) StoragePoolLookupByUUID(UUID UUID) (rPool StoragePool, err error)
StoragePoolLookupByUUID is the go wrapper for REMOTE_PROC_STORAGE_POOL_LOOKUP_BY_UUID.
func (*Libvirt) StoragePoolLookupByVolume ¶
func (l *Libvirt) StoragePoolLookupByVolume(Vol StorageVol) (rPool StoragePool, err error)
StoragePoolLookupByVolume is the go wrapper for REMOTE_PROC_STORAGE_POOL_LOOKUP_BY_VOLUME.
func (*Libvirt) StoragePoolNumOfVolumes ¶
func (l *Libvirt) StoragePoolNumOfVolumes(Pool StoragePool) (rNum int32, err error)
StoragePoolNumOfVolumes is the go wrapper for REMOTE_PROC_STORAGE_POOL_NUM_OF_VOLUMES.
func (*Libvirt) StoragePoolRefresh ¶
func (l *Libvirt) StoragePoolRefresh(Pool StoragePool, Flags uint32) (err error)
StoragePoolRefresh is the go wrapper for REMOTE_PROC_STORAGE_POOL_REFRESH.
func (*Libvirt) StoragePoolSetAutostart ¶
func (l *Libvirt) StoragePoolSetAutostart(Pool StoragePool, Autostart int32) (err error)
StoragePoolSetAutostart is the go wrapper for REMOTE_PROC_STORAGE_POOL_SET_AUTOSTART.
func (*Libvirt) StoragePoolUndefine ¶
func (l *Libvirt) StoragePoolUndefine(Pool StoragePool) (err error)
StoragePoolUndefine is the go wrapper for REMOTE_PROC_STORAGE_POOL_UNDEFINE.
func (*Libvirt) StoragePools
deprecated
func (l *Libvirt) StoragePools(flags ConnectListAllStoragePoolsFlags) ([]StoragePool, error)
StoragePools returns a list of defined storage pools. Pools are filtered by the provided flags. See StoragePools*.
Deprecated: use ConnectListAllStoragePools instead.
func (*Libvirt) StorageVolCreateXML ¶
func (l *Libvirt) StorageVolCreateXML(Pool StoragePool, XML string, Flags StorageVolCreateFlags) (rVol StorageVol, err error)
StorageVolCreateXML is the go wrapper for REMOTE_PROC_STORAGE_VOL_CREATE_XML.
func (*Libvirt) StorageVolCreateXMLFrom ¶
func (l *Libvirt) StorageVolCreateXMLFrom(Pool StoragePool, XML string, Clonevol StorageVol, Flags StorageVolCreateFlags) (rVol StorageVol, err error)
StorageVolCreateXMLFrom is the go wrapper for REMOTE_PROC_STORAGE_VOL_CREATE_XML_FROM.
func (*Libvirt) StorageVolDelete ¶
func (l *Libvirt) StorageVolDelete(Vol StorageVol, Flags StorageVolDeleteFlags) (err error)
StorageVolDelete is the go wrapper for REMOTE_PROC_STORAGE_VOL_DELETE.
func (*Libvirt) StorageVolDownload ¶
func (l *Libvirt) StorageVolDownload(Vol StorageVol, inStream io.Writer, Offset uint64, Length uint64, Flags StorageVolDownloadFlags) (err error)
StorageVolDownload is the go wrapper for REMOTE_PROC_STORAGE_VOL_DOWNLOAD.
func (*Libvirt) StorageVolGetInfo ¶
func (l *Libvirt) StorageVolGetInfo(Vol StorageVol) (rType int8, rCapacity uint64, rAllocation uint64, err error)
StorageVolGetInfo is the go wrapper for REMOTE_PROC_STORAGE_VOL_GET_INFO.
func (*Libvirt) StorageVolGetInfoFlags ¶
func (l *Libvirt) StorageVolGetInfoFlags(Vol StorageVol, Flags uint32) (rType int8, rCapacity uint64, rAllocation uint64, err error)
StorageVolGetInfoFlags is the go wrapper for REMOTE_PROC_STORAGE_VOL_GET_INFO_FLAGS.
func (*Libvirt) StorageVolGetPath ¶
func (l *Libvirt) StorageVolGetPath(Vol StorageVol) (rName string, err error)
StorageVolGetPath is the go wrapper for REMOTE_PROC_STORAGE_VOL_GET_PATH.
func (*Libvirt) StorageVolGetXMLDesc ¶
func (l *Libvirt) StorageVolGetXMLDesc(Vol StorageVol, Flags uint32) (rXML string, err error)
StorageVolGetXMLDesc is the go wrapper for REMOTE_PROC_STORAGE_VOL_GET_XML_DESC.
func (*Libvirt) StorageVolLookupByKey ¶
func (l *Libvirt) StorageVolLookupByKey(Key string) (rVol StorageVol, err error)
StorageVolLookupByKey is the go wrapper for REMOTE_PROC_STORAGE_VOL_LOOKUP_BY_KEY.
func (*Libvirt) StorageVolLookupByName ¶
func (l *Libvirt) StorageVolLookupByName(Pool StoragePool, Name string) (rVol StorageVol, err error)
StorageVolLookupByName is the go wrapper for REMOTE_PROC_STORAGE_VOL_LOOKUP_BY_NAME.
func (*Libvirt) StorageVolLookupByPath ¶
func (l *Libvirt) StorageVolLookupByPath(Path string) (rVol StorageVol, err error)
StorageVolLookupByPath is the go wrapper for REMOTE_PROC_STORAGE_VOL_LOOKUP_BY_PATH.
func (*Libvirt) StorageVolResize ¶
func (l *Libvirt) StorageVolResize(Vol StorageVol, Capacity uint64, Flags StorageVolResizeFlags) (err error)
StorageVolResize is the go wrapper for REMOTE_PROC_STORAGE_VOL_RESIZE.
func (*Libvirt) StorageVolUpload ¶
func (l *Libvirt) StorageVolUpload(Vol StorageVol, outStream io.Reader, Offset uint64, Length uint64, Flags StorageVolUploadFlags) (err error)
StorageVolUpload is the go wrapper for REMOTE_PROC_STORAGE_VOL_UPLOAD.
func (*Libvirt) StorageVolWipe ¶
func (l *Libvirt) StorageVolWipe(Vol StorageVol, Flags uint32) (err error)
StorageVolWipe is the go wrapper for REMOTE_PROC_STORAGE_VOL_WIPE.
func (*Libvirt) StorageVolWipePattern ¶
func (l *Libvirt) StorageVolWipePattern(Vol StorageVol, Algorithm uint32, Flags uint32) (err error)
StorageVolWipePattern is the go wrapper for REMOTE_PROC_STORAGE_VOL_WIPE_PATTERN.
func (*Libvirt) Undefine
deprecated
func (l *Libvirt) Undefine(dom string, flags DomainUndefineFlagsValues) error
Undefine undefines the domain specified by dom, e.g., 'prod-lb-01'. The flags argument allows additional options to be specified such as cleaning up snapshot metadata. For more information on available flags, see DomainUndefine*.
Deprecated: use DomainUndefineFlags instead.
type MemoryParameterType ¶
type MemoryParameterType int32
MemoryParameterType as declared in libvirt/libvirt-domain.h:4710
const ( DomainMemoryParamInt MemoryParameterType = 1 DomainMemoryParamUint MemoryParameterType = 2 DomainMemoryParamLlong MemoryParameterType = 3 DomainMemoryParamUllong MemoryParameterType = 4 DomainMemoryParamDouble MemoryParameterType = 5 DomainMemoryParamBoolean MemoryParameterType = 6 )
MemoryParameterType enumeration from libvirt/libvirt-domain.h:4710
type NetworkCreateArgs ¶
type NetworkCreateArgs struct {
Net Network
}
NetworkCreateArgs is libvirt's remote_network_create_args
type NetworkCreateXMLArgs ¶
type NetworkCreateXMLArgs struct {
XML string
}
NetworkCreateXMLArgs is libvirt's remote_network_create_xml_args
type NetworkCreateXMLRet ¶
type NetworkCreateXMLRet struct {
Net Network
}
NetworkCreateXMLRet is libvirt's remote_network_create_xml_ret
type NetworkDefineXMLArgs ¶
type NetworkDefineXMLArgs struct {
XML string
}
NetworkDefineXMLArgs is libvirt's remote_network_define_xml_args
type NetworkDefineXMLRet ¶
type NetworkDefineXMLRet struct {
Net Network
}
NetworkDefineXMLRet is libvirt's remote_network_define_xml_ret
type NetworkDestroyArgs ¶
type NetworkDestroyArgs struct {
Net Network
}
NetworkDestroyArgs is libvirt's remote_network_destroy_args
type NetworkDhcpLease ¶
type NetworkDhcpLease struct { Iface string Expirytime int64 Type int32 Mac OptString Iaid OptString Ipaddr string Prefix uint32 Hostname OptString Clientid OptString }
NetworkDhcpLease is libvirt's remote_network_dhcp_lease
type NetworkEventID ¶
type NetworkEventID int32
NetworkEventID as declared in libvirt/libvirt-network.h:277
const (
NetworkEventIDLifecycle NetworkEventID = iota
)
NetworkEventID enumeration from libvirt/libvirt-network.h:277
type NetworkEventLifecycleMsg ¶
NetworkEventLifecycleMsg is libvirt's remote_network_event_lifecycle_msg
type NetworkEventLifecycleType ¶
type NetworkEventLifecycleType int32
NetworkEventLifecycleType as declared in libvirt/libvirt-network.h:229
const ( NetworkEventDefined NetworkEventLifecycleType = iota NetworkEventUndefined NetworkEventLifecycleType = 1 NetworkEventStarted NetworkEventLifecycleType = 2 NetworkEventStopped NetworkEventLifecycleType = 3 )
NetworkEventLifecycleType enumeration from libvirt/libvirt-network.h:229
type NetworkGetAutostartArgs ¶
type NetworkGetAutostartArgs struct {
Net Network
}
NetworkGetAutostartArgs is libvirt's remote_network_get_autostart_args
type NetworkGetAutostartRet ¶
type NetworkGetAutostartRet struct {
Autostart int32
}
NetworkGetAutostartRet is libvirt's remote_network_get_autostart_ret
type NetworkGetBridgeNameArgs ¶
type NetworkGetBridgeNameArgs struct {
Net Network
}
NetworkGetBridgeNameArgs is libvirt's remote_network_get_bridge_name_args
type NetworkGetBridgeNameRet ¶
type NetworkGetBridgeNameRet struct {
Name string
}
NetworkGetBridgeNameRet is libvirt's remote_network_get_bridge_name_ret
type NetworkGetDhcpLeasesArgs ¶
NetworkGetDhcpLeasesArgs is libvirt's remote_network_get_dhcp_leases_args
type NetworkGetDhcpLeasesRet ¶
type NetworkGetDhcpLeasesRet struct { Leases []NetworkDhcpLease Ret uint32 }
NetworkGetDhcpLeasesRet is libvirt's remote_network_get_dhcp_leases_ret
type NetworkGetXMLDescArgs ¶
NetworkGetXMLDescArgs is libvirt's remote_network_get_xml_desc_args
type NetworkGetXMLDescRet ¶
type NetworkGetXMLDescRet struct {
XML string
}
NetworkGetXMLDescRet is libvirt's remote_network_get_xml_desc_ret
type NetworkIsActiveArgs ¶
type NetworkIsActiveArgs struct {
Net Network
}
NetworkIsActiveArgs is libvirt's remote_network_is_active_args
type NetworkIsActiveRet ¶
type NetworkIsActiveRet struct {
Active int32
}
NetworkIsActiveRet is libvirt's remote_network_is_active_ret
type NetworkIsPersistentArgs ¶
type NetworkIsPersistentArgs struct {
Net Network
}
NetworkIsPersistentArgs is libvirt's remote_network_is_persistent_args
type NetworkIsPersistentRet ¶
type NetworkIsPersistentRet struct {
Persistent int32
}
NetworkIsPersistentRet is libvirt's remote_network_is_persistent_ret
type NetworkLookupByNameArgs ¶
type NetworkLookupByNameArgs struct {
Name string
}
NetworkLookupByNameArgs is libvirt's remote_network_lookup_by_name_args
type NetworkLookupByNameRet ¶
type NetworkLookupByNameRet struct {
Net Network
}
NetworkLookupByNameRet is libvirt's remote_network_lookup_by_name_ret
type NetworkLookupByUUIDArgs ¶
type NetworkLookupByUUIDArgs struct {
UUID UUID
}
NetworkLookupByUUIDArgs is libvirt's remote_network_lookup_by_uuid_args
type NetworkLookupByUUIDRet ¶
type NetworkLookupByUUIDRet struct {
Net Network
}
NetworkLookupByUUIDRet is libvirt's remote_network_lookup_by_uuid_ret
type NetworkSetAutostartArgs ¶
NetworkSetAutostartArgs is libvirt's remote_network_set_autostart_args
type NetworkUndefineArgs ¶
type NetworkUndefineArgs struct {
Net Network
}
NetworkUndefineArgs is libvirt's remote_network_undefine_args
type NetworkUpdateArgs ¶
type NetworkUpdateArgs struct { Net Network Command uint32 Section uint32 ParentIndex int32 XML string Flags NetworkUpdateFlags }
NetworkUpdateArgs is libvirt's remote_network_update_args
type NetworkUpdateCommand ¶
type NetworkUpdateCommand int32
NetworkUpdateCommand as declared in libvirt/libvirt-network.h:133
const ( NetworkUpdateCommandNone NetworkUpdateCommand = iota NetworkUpdateCommandModify NetworkUpdateCommand = 1 NetworkUpdateCommandDelete NetworkUpdateCommand = 2 NetworkUpdateCommandAddLast NetworkUpdateCommand = 3 NetworkUpdateCommandAddFirst NetworkUpdateCommand = 4 )
NetworkUpdateCommand enumeration from libvirt/libvirt-network.h:133
type NetworkUpdateFlags ¶
type NetworkUpdateFlags int32
NetworkUpdateFlags as declared in libvirt/libvirt-network.h:171
const ( NetworkUpdateAffectCurrent NetworkUpdateFlags = iota NetworkUpdateAffectLive NetworkUpdateFlags = 1 NetworkUpdateAffectConfig NetworkUpdateFlags = 2 )
NetworkUpdateFlags enumeration from libvirt/libvirt-network.h:171
type NetworkUpdateSection ¶
type NetworkUpdateSection int32
NetworkUpdateSection as declared in libvirt/libvirt-network.h:159
const ( NetworkSectionNone NetworkUpdateSection = iota NetworkSectionBridge NetworkUpdateSection = 1 NetworkSectionDomain NetworkUpdateSection = 2 NetworkSectionIP NetworkUpdateSection = 3 NetworkSectionIPDhcpHost NetworkUpdateSection = 4 NetworkSectionIPDhcpRange NetworkUpdateSection = 5 NetworkSectionForward NetworkUpdateSection = 6 NetworkSectionForwardInterface NetworkUpdateSection = 7 NetworkSectionForwardPf NetworkUpdateSection = 8 NetworkSectionPortgroup NetworkUpdateSection = 9 NetworkSectionDNSHost NetworkUpdateSection = 10 NetworkSectionDNSTxt NetworkUpdateSection = 11 NetworkSectionDNSSrv NetworkUpdateSection = 12 )
NetworkUpdateSection enumeration from libvirt/libvirt-network.h:159
type NetworkXMLFlags ¶
type NetworkXMLFlags int32
NetworkXMLFlags as declared in libvirt/libvirt-network.h:32
const (
NetworkXMLInactive NetworkXMLFlags = 1
)
NetworkXMLFlags enumeration from libvirt/libvirt-network.h:32
type NodeAllocPagesArgs ¶
type NodeAllocPagesArgs struct { PageSizes []uint32 PageCounts []uint64 StartCell int32 CellCount uint32 Flags NodeAllocPagesFlags }
NodeAllocPagesArgs is libvirt's remote_node_alloc_pages_args
type NodeAllocPagesFlags ¶
type NodeAllocPagesFlags int32
NodeAllocPagesFlags as declared in libvirt/libvirt-host.h:735
const ( NodeAllocPagesAdd NodeAllocPagesFlags = iota NodeAllocPagesSet NodeAllocPagesFlags = 1 )
NodeAllocPagesFlags enumeration from libvirt/libvirt-host.h:735
type NodeAllocPagesRet ¶
type NodeAllocPagesRet struct {
Ret int32
}
NodeAllocPagesRet is libvirt's remote_node_alloc_pages_ret
type NodeDevice ¶
type NodeDevice struct {
Name string
}
NodeDevice is libvirt's remote_nonnull_node_device
type NodeDeviceCreateXMLArgs ¶
NodeDeviceCreateXMLArgs is libvirt's remote_node_device_create_xml_args
type NodeDeviceCreateXMLRet ¶
type NodeDeviceCreateXMLRet struct {
Dev NodeDevice
}
NodeDeviceCreateXMLRet is libvirt's remote_node_device_create_xml_ret
type NodeDeviceDestroyArgs ¶
type NodeDeviceDestroyArgs struct {
Name string
}
NodeDeviceDestroyArgs is libvirt's remote_node_device_destroy_args
type NodeDeviceDetachFlagsArgs ¶
NodeDeviceDetachFlagsArgs is libvirt's remote_node_device_detach_flags_args
type NodeDeviceDettachArgs ¶
type NodeDeviceDettachArgs struct {
Name string
}
NodeDeviceDettachArgs is libvirt's remote_node_device_dettach_args
type NodeDeviceEventID ¶
type NodeDeviceEventID int32
NodeDeviceEventID as declared in libvirt/libvirt-nodedev.h:154
const ( NodeDeviceEventIDLifecycle NodeDeviceEventID = iota NodeDeviceEventIDUpdate NodeDeviceEventID = 1 )
NodeDeviceEventID enumeration from libvirt/libvirt-nodedev.h:154
type NodeDeviceEventLifecycleMsg ¶
type NodeDeviceEventLifecycleMsg struct { CallbackID int32 Dev NodeDevice Event int32 Detail int32 }
NodeDeviceEventLifecycleMsg is libvirt's remote_node_device_event_lifecycle_msg
type NodeDeviceEventLifecycleType ¶
type NodeDeviceEventLifecycleType int32
NodeDeviceEventLifecycleType as declared in libvirt/libvirt-nodedev.h:196
const ( NodeDeviceEventCreated NodeDeviceEventLifecycleType = iota NodeDeviceEventDeleted NodeDeviceEventLifecycleType = 1 )
NodeDeviceEventLifecycleType enumeration from libvirt/libvirt-nodedev.h:196
type NodeDeviceEventUpdateMsg ¶
type NodeDeviceEventUpdateMsg struct { CallbackID int32 Dev NodeDevice }
NodeDeviceEventUpdateMsg is libvirt's remote_node_device_event_update_msg
type NodeDeviceGetParentArgs ¶
type NodeDeviceGetParentArgs struct {
Name string
}
NodeDeviceGetParentArgs is libvirt's remote_node_device_get_parent_args
type NodeDeviceGetParentRet ¶
type NodeDeviceGetParentRet struct {
ParentName OptString
}
NodeDeviceGetParentRet is libvirt's remote_node_device_get_parent_ret
type NodeDeviceGetXMLDescArgs ¶
NodeDeviceGetXMLDescArgs is libvirt's remote_node_device_get_xml_desc_args
type NodeDeviceGetXMLDescRet ¶
type NodeDeviceGetXMLDescRet struct {
XML string
}
NodeDeviceGetXMLDescRet is libvirt's remote_node_device_get_xml_desc_ret
type NodeDeviceListCapsArgs ¶
NodeDeviceListCapsArgs is libvirt's remote_node_device_list_caps_args
type NodeDeviceListCapsRet ¶
type NodeDeviceListCapsRet struct {
Names []string
}
NodeDeviceListCapsRet is libvirt's remote_node_device_list_caps_ret
type NodeDeviceLookupByNameArgs ¶
type NodeDeviceLookupByNameArgs struct {
Name string
}
NodeDeviceLookupByNameArgs is libvirt's remote_node_device_lookup_by_name_args
type NodeDeviceLookupByNameRet ¶
type NodeDeviceLookupByNameRet struct {
Dev NodeDevice
}
NodeDeviceLookupByNameRet is libvirt's remote_node_device_lookup_by_name_ret
type NodeDeviceLookupScsiHostByWwnArgs ¶
NodeDeviceLookupScsiHostByWwnArgs is libvirt's remote_node_device_lookup_scsi_host_by_wwn_args
type NodeDeviceLookupScsiHostByWwnRet ¶
type NodeDeviceLookupScsiHostByWwnRet struct {
Dev NodeDevice
}
NodeDeviceLookupScsiHostByWwnRet is libvirt's remote_node_device_lookup_scsi_host_by_wwn_ret
type NodeDeviceNumOfCapsArgs ¶
type NodeDeviceNumOfCapsArgs struct {
Name string
}
NodeDeviceNumOfCapsArgs is libvirt's remote_node_device_num_of_caps_args
type NodeDeviceNumOfCapsRet ¶
type NodeDeviceNumOfCapsRet struct {
Num int32
}
NodeDeviceNumOfCapsRet is libvirt's remote_node_device_num_of_caps_ret
type NodeDeviceReAttachArgs ¶
type NodeDeviceReAttachArgs struct {
Name string
}
NodeDeviceReAttachArgs is libvirt's remote_node_device_re_attach_args
type NodeDeviceResetArgs ¶
type NodeDeviceResetArgs struct {
Name string
}
NodeDeviceResetArgs is libvirt's remote_node_device_reset_args
type NodeGetCPUMapArgs ¶
NodeGetCPUMapArgs is libvirt's remote_node_get_cpu_map_args
type NodeGetCPUMapRet ¶
NodeGetCPUMapRet is libvirt's remote_node_get_cpu_map_ret
type NodeGetCPUStats ¶
NodeGetCPUStats is libvirt's remote_node_get_cpu_stats
type NodeGetCPUStatsAllCPUs ¶
type NodeGetCPUStatsAllCPUs int32
NodeGetCPUStatsAllCPUs as declared in libvirt/libvirt-host.h:185
const (
NodeCPUStatsAllCpus NodeGetCPUStatsAllCPUs = -1
)
NodeGetCPUStatsAllCPUs enumeration from libvirt/libvirt-host.h:185
type NodeGetCPUStatsArgs ¶
NodeGetCPUStatsArgs is libvirt's remote_node_get_cpu_stats_args
type NodeGetCPUStatsRet ¶
type NodeGetCPUStatsRet struct { Params []NodeGetCPUStats Nparams int32 }
NodeGetCPUStatsRet is libvirt's remote_node_get_cpu_stats_ret
type NodeGetCellsFreeMemoryArgs ¶
NodeGetCellsFreeMemoryArgs is libvirt's remote_node_get_cells_free_memory_args
type NodeGetCellsFreeMemoryRet ¶
type NodeGetCellsFreeMemoryRet struct {
Cells []uint64
}
NodeGetCellsFreeMemoryRet is libvirt's remote_node_get_cells_free_memory_ret
type NodeGetFreeMemoryRet ¶
type NodeGetFreeMemoryRet struct {
FreeMem uint64
}
NodeGetFreeMemoryRet is libvirt's remote_node_get_free_memory_ret
type NodeGetFreePagesArgs ¶
NodeGetFreePagesArgs is libvirt's remote_node_get_free_pages_args
type NodeGetFreePagesRet ¶
type NodeGetFreePagesRet struct {
Counts []uint64
}
NodeGetFreePagesRet is libvirt's remote_node_get_free_pages_ret
type NodeGetInfoRet ¶
type NodeGetInfoRet struct { Model [32]int8 Memory uint64 Cpus int32 Mhz int32 Nodes int32 Sockets int32 Cores int32 Threads int32 }
NodeGetInfoRet is libvirt's remote_node_get_info_ret
type NodeGetMemoryParametersArgs ¶
NodeGetMemoryParametersArgs is libvirt's remote_node_get_memory_parameters_args
type NodeGetMemoryParametersRet ¶
type NodeGetMemoryParametersRet struct { Params []TypedParam Nparams int32 }
NodeGetMemoryParametersRet is libvirt's remote_node_get_memory_parameters_ret
type NodeGetMemoryStats ¶
NodeGetMemoryStats is libvirt's remote_node_get_memory_stats
type NodeGetMemoryStatsAllCells ¶
type NodeGetMemoryStatsAllCells int32
NodeGetMemoryStatsAllCells as declared in libvirt/libvirt-host.h:263
const (
NodeMemoryStatsAllCells NodeGetMemoryStatsAllCells = -1
)
NodeGetMemoryStatsAllCells enumeration from libvirt/libvirt-host.h:263
type NodeGetMemoryStatsArgs ¶
NodeGetMemoryStatsArgs is libvirt's remote_node_get_memory_stats_args
type NodeGetMemoryStatsRet ¶
type NodeGetMemoryStatsRet struct { Params []NodeGetMemoryStats Nparams int32 }
NodeGetMemoryStatsRet is libvirt's remote_node_get_memory_stats_ret
type NodeGetSecurityModelRet ¶
NodeGetSecurityModelRet is libvirt's remote_node_get_security_model_ret
type NodeGetSevInfoArgs ¶
NodeGetSevInfoArgs is libvirt's remote_node_get_sev_info_args
type NodeGetSevInfoRet ¶
type NodeGetSevInfoRet struct { Params []TypedParam Nparams int32 }
NodeGetSevInfoRet is libvirt's remote_node_get_sev_info_ret
type NodeListDevicesArgs ¶
NodeListDevicesArgs is libvirt's remote_node_list_devices_args
type NodeListDevicesRet ¶
type NodeListDevicesRet struct {
Names []string
}
NodeListDevicesRet is libvirt's remote_node_list_devices_ret
type NodeNumOfDevicesArgs ¶
NodeNumOfDevicesArgs is libvirt's remote_node_num_of_devices_args
type NodeNumOfDevicesRet ¶
type NodeNumOfDevicesRet struct {
Num int32
}
NodeNumOfDevicesRet is libvirt's remote_node_num_of_devices_ret
type NodeSetMemoryParametersArgs ¶
type NodeSetMemoryParametersArgs struct { Params []TypedParam Flags uint32 }
NodeSetMemoryParametersArgs is libvirt's remote_node_set_memory_parameters_args
type NodeSuspendForDurationArgs ¶
NodeSuspendForDurationArgs is libvirt's remote_node_suspend_for_duration_args
type NodeSuspendTarget ¶
type NodeSuspendTarget int32
NodeSuspendTarget as declared in libvirt/libvirt-host.h:61
const ( NodeSuspendTargetMem NodeSuspendTarget = iota NodeSuspendTargetDisk NodeSuspendTarget = 1 NodeSuspendTargetHybrid NodeSuspendTarget = 2 )
NodeSuspendTarget enumeration from libvirt/libvirt-host.h:61
type NwfilterBinding ¶
NwfilterBinding is libvirt's remote_nonnull_nwfilter_binding
type NwfilterBindingCreateXMLArgs ¶
NwfilterBindingCreateXMLArgs is libvirt's remote_nwfilter_binding_create_xml_args
type NwfilterBindingCreateXMLRet ¶
type NwfilterBindingCreateXMLRet struct {
OptNwfilter NwfilterBinding
}
NwfilterBindingCreateXMLRet is libvirt's remote_nwfilter_binding_create_xml_ret
type NwfilterBindingDeleteArgs ¶
type NwfilterBindingDeleteArgs struct {
OptNwfilter NwfilterBinding
}
NwfilterBindingDeleteArgs is libvirt's remote_nwfilter_binding_delete_args
type NwfilterBindingGetXMLDescArgs ¶
type NwfilterBindingGetXMLDescArgs struct { OptNwfilter NwfilterBinding Flags uint32 }
NwfilterBindingGetXMLDescArgs is libvirt's remote_nwfilter_binding_get_xml_desc_args
type NwfilterBindingGetXMLDescRet ¶
type NwfilterBindingGetXMLDescRet struct {
XML string
}
NwfilterBindingGetXMLDescRet is libvirt's remote_nwfilter_binding_get_xml_desc_ret
type NwfilterBindingLookupByPortDevArgs ¶
type NwfilterBindingLookupByPortDevArgs struct {
Name string
}
NwfilterBindingLookupByPortDevArgs is libvirt's remote_nwfilter_binding_lookup_by_port_dev_args
type NwfilterBindingLookupByPortDevRet ¶
type NwfilterBindingLookupByPortDevRet struct {
OptNwfilter NwfilterBinding
}
NwfilterBindingLookupByPortDevRet is libvirt's remote_nwfilter_binding_lookup_by_port_dev_ret
type NwfilterDefineXMLArgs ¶
type NwfilterDefineXMLArgs struct {
XML string
}
NwfilterDefineXMLArgs is libvirt's remote_nwfilter_define_xml_args
type NwfilterDefineXMLRet ¶
type NwfilterDefineXMLRet struct {
OptNwfilter Nwfilter
}
NwfilterDefineXMLRet is libvirt's remote_nwfilter_define_xml_ret
type NwfilterGetXMLDescArgs ¶
NwfilterGetXMLDescArgs is libvirt's remote_nwfilter_get_xml_desc_args
type NwfilterGetXMLDescRet ¶
type NwfilterGetXMLDescRet struct {
XML string
}
NwfilterGetXMLDescRet is libvirt's remote_nwfilter_get_xml_desc_ret
type NwfilterLookupByNameArgs ¶
type NwfilterLookupByNameArgs struct {
Name string
}
NwfilterLookupByNameArgs is libvirt's remote_nwfilter_lookup_by_name_args
type NwfilterLookupByNameRet ¶
type NwfilterLookupByNameRet struct {
OptNwfilter Nwfilter
}
NwfilterLookupByNameRet is libvirt's remote_nwfilter_lookup_by_name_ret
type NwfilterLookupByUUIDArgs ¶
type NwfilterLookupByUUIDArgs struct {
UUID UUID
}
NwfilterLookupByUUIDArgs is libvirt's remote_nwfilter_lookup_by_uuid_args
type NwfilterLookupByUUIDRet ¶
type NwfilterLookupByUUIDRet struct {
OptNwfilter Nwfilter
}
NwfilterLookupByUUIDRet is libvirt's remote_nwfilter_lookup_by_uuid_ret
type NwfilterUndefineArgs ¶
type NwfilterUndefineArgs struct {
OptNwfilter Nwfilter
}
NwfilterUndefineArgs is libvirt's remote_nwfilter_undefine_args
type OptNwfilterBinding ¶
type OptNwfilterBinding []NwfilterBinding
OptNwfilterBinding is libvirt's remote_nwfilter_binding
type OptStoragePool ¶
type OptStoragePool []StoragePool
OptStoragePool is libvirt's remote_storage_pool
type SchedParameterType ¶
type SchedParameterType int32
SchedParameterType as declared in libvirt/libvirt-domain.h:4622
const ( DomainSchedFieldInt SchedParameterType = 1 DomainSchedFieldUint SchedParameterType = 2 DomainSchedFieldLlong SchedParameterType = 3 DomainSchedFieldUllong SchedParameterType = 4 DomainSchedFieldDouble SchedParameterType = 5 DomainSchedFieldBoolean SchedParameterType = 6 )
SchedParameterType enumeration from libvirt/libvirt-domain.h:4622
type SecretDefineXMLArgs ¶
SecretDefineXMLArgs is libvirt's remote_secret_define_xml_args
type SecretDefineXMLRet ¶
type SecretDefineXMLRet struct {
OptSecret Secret
}
SecretDefineXMLRet is libvirt's remote_secret_define_xml_ret
type SecretEventID ¶
type SecretEventID int32
SecretEventID as declared in libvirt/libvirt-secret.h:139
const ( SecretEventIDLifecycle SecretEventID = iota SecretEventIDValueChanged SecretEventID = 1 )
SecretEventID enumeration from libvirt/libvirt-secret.h:139
type SecretEventLifecycleMsg ¶
SecretEventLifecycleMsg is libvirt's remote_secret_event_lifecycle_msg
type SecretEventLifecycleType ¶
type SecretEventLifecycleType int32
SecretEventLifecycleType as declared in libvirt/libvirt-secret.h:181
const ( SecretEventDefined SecretEventLifecycleType = iota SecretEventUndefined SecretEventLifecycleType = 1 )
SecretEventLifecycleType enumeration from libvirt/libvirt-secret.h:181
type SecretEventValueChangedMsg ¶
SecretEventValueChangedMsg is libvirt's remote_secret_event_value_changed_msg
type SecretGetValueArgs ¶
SecretGetValueArgs is libvirt's remote_secret_get_value_args
type SecretGetValueRet ¶
type SecretGetValueRet struct {
Value []byte
}
SecretGetValueRet is libvirt's remote_secret_get_value_ret
type SecretGetXMLDescArgs ¶
SecretGetXMLDescArgs is libvirt's remote_secret_get_xml_desc_args
type SecretGetXMLDescRet ¶
type SecretGetXMLDescRet struct {
XML string
}
SecretGetXMLDescRet is libvirt's remote_secret_get_xml_desc_ret
type SecretLookupByUUIDArgs ¶
type SecretLookupByUUIDArgs struct {
UUID UUID
}
SecretLookupByUUIDArgs is libvirt's remote_secret_lookup_by_uuid_args
type SecretLookupByUUIDRet ¶
type SecretLookupByUUIDRet struct {
OptSecret Secret
}
SecretLookupByUUIDRet is libvirt's remote_secret_lookup_by_uuid_ret
type SecretLookupByUsageArgs ¶
SecretLookupByUsageArgs is libvirt's remote_secret_lookup_by_usage_args
type SecretLookupByUsageRet ¶
type SecretLookupByUsageRet struct {
OptSecret Secret
}
SecretLookupByUsageRet is libvirt's remote_secret_lookup_by_usage_ret
type SecretSetValueArgs ¶
SecretSetValueArgs is libvirt's remote_secret_set_value_args
type SecretUndefineArgs ¶
type SecretUndefineArgs struct {
OptSecret Secret
}
SecretUndefineArgs is libvirt's remote_secret_undefine_args
type SecretUsageType ¶
type SecretUsageType int32
SecretUsageType as declared in libvirt/libvirt-secret.h:55
const ( SecretUsageTypeNone SecretUsageType = iota SecretUsageTypeVolume SecretUsageType = 1 SecretUsageTypeCeph SecretUsageType = 2 SecretUsageTypeIscsi SecretUsageType = 3 SecretUsageTypeTLS SecretUsageType = 4 )
SecretUsageType enumeration from libvirt/libvirt-secret.h:55
type StoragePool ¶
StoragePool is libvirt's remote_nonnull_storage_pool
type StoragePoolBuildArgs ¶
type StoragePoolBuildArgs struct { Pool StoragePool Flags StoragePoolBuildFlags }
StoragePoolBuildArgs is libvirt's remote_storage_pool_build_args
type StoragePoolBuildFlags ¶
type StoragePoolBuildFlags int32
StoragePoolBuildFlags as declared in libvirt/libvirt-storage.h:65
const ( StoragePoolBuildNew StoragePoolBuildFlags = iota StoragePoolBuildRepair StoragePoolBuildFlags = 1 StoragePoolBuildResize StoragePoolBuildFlags = 2 StoragePoolBuildNoOverwrite StoragePoolBuildFlags = 4 StoragePoolBuildOverwrite StoragePoolBuildFlags = 8 )
StoragePoolBuildFlags enumeration from libvirt/libvirt-storage.h:65
type StoragePoolCreateArgs ¶
type StoragePoolCreateArgs struct { Pool StoragePool Flags StoragePoolCreateFlags }
StoragePoolCreateArgs is libvirt's remote_storage_pool_create_args
type StoragePoolCreateFlags ¶
type StoragePoolCreateFlags int32
StoragePoolCreateFlags as declared in libvirt/libvirt-storage.h:87
const ( StoragePoolCreateNormal StoragePoolCreateFlags = iota StoragePoolCreateWithBuild StoragePoolCreateFlags = 1 StoragePoolCreateWithBuildOverwrite StoragePoolCreateFlags = 2 StoragePoolCreateWithBuildNoOverwrite StoragePoolCreateFlags = 4 )
StoragePoolCreateFlags enumeration from libvirt/libvirt-storage.h:87
type StoragePoolCreateXMLArgs ¶
type StoragePoolCreateXMLArgs struct { XML string Flags StoragePoolCreateFlags }
StoragePoolCreateXMLArgs is libvirt's remote_storage_pool_create_xml_args
type StoragePoolCreateXMLRet ¶
type StoragePoolCreateXMLRet struct {
Pool StoragePool
}
StoragePoolCreateXMLRet is libvirt's remote_storage_pool_create_xml_ret
type StoragePoolDefineXMLArgs ¶
StoragePoolDefineXMLArgs is libvirt's remote_storage_pool_define_xml_args
type StoragePoolDefineXMLRet ¶
type StoragePoolDefineXMLRet struct {
Pool StoragePool
}
StoragePoolDefineXMLRet is libvirt's remote_storage_pool_define_xml_ret
type StoragePoolDeleteArgs ¶
type StoragePoolDeleteArgs struct { Pool StoragePool Flags StoragePoolDeleteFlags }
StoragePoolDeleteArgs is libvirt's remote_storage_pool_delete_args
type StoragePoolDeleteFlags ¶
type StoragePoolDeleteFlags int32
StoragePoolDeleteFlags as declared in libvirt/libvirt-storage.h:70
const ( StoragePoolDeleteNormal StoragePoolDeleteFlags = iota StoragePoolDeleteZeroed StoragePoolDeleteFlags = 1 )
StoragePoolDeleteFlags enumeration from libvirt/libvirt-storage.h:70
type StoragePoolDestroyArgs ¶
type StoragePoolDestroyArgs struct {
Pool StoragePool
}
StoragePoolDestroyArgs is libvirt's remote_storage_pool_destroy_args
type StoragePoolEventID ¶
type StoragePoolEventID int32
StoragePoolEventID as declared in libvirt/libvirt-storage.h:429
const ( StoragePoolEventIDLifecycle StoragePoolEventID = iota StoragePoolEventIDRefresh StoragePoolEventID = 1 )
StoragePoolEventID enumeration from libvirt/libvirt-storage.h:429
type StoragePoolEventLifecycleMsg ¶
type StoragePoolEventLifecycleMsg struct { CallbackID int32 Pool StoragePool Event int32 Detail int32 }
StoragePoolEventLifecycleMsg is libvirt's remote_storage_pool_event_lifecycle_msg
type StoragePoolEventLifecycleType ¶
type StoragePoolEventLifecycleType int32
StoragePoolEventLifecycleType as declared in libvirt/libvirt-storage.h:475
const ( StoragePoolEventDefined StoragePoolEventLifecycleType = iota StoragePoolEventUndefined StoragePoolEventLifecycleType = 1 StoragePoolEventStarted StoragePoolEventLifecycleType = 2 StoragePoolEventStopped StoragePoolEventLifecycleType = 3 StoragePoolEventCreated StoragePoolEventLifecycleType = 4 StoragePoolEventDeleted StoragePoolEventLifecycleType = 5 )
StoragePoolEventLifecycleType enumeration from libvirt/libvirt-storage.h:475
type StoragePoolEventRefreshMsg ¶
type StoragePoolEventRefreshMsg struct { CallbackID int32 Pool StoragePool }
StoragePoolEventRefreshMsg is libvirt's remote_storage_pool_event_refresh_msg
type StoragePoolGetAutostartArgs ¶
type StoragePoolGetAutostartArgs struct {
Pool StoragePool
}
StoragePoolGetAutostartArgs is libvirt's remote_storage_pool_get_autostart_args
type StoragePoolGetAutostartRet ¶
type StoragePoolGetAutostartRet struct {
Autostart int32
}
StoragePoolGetAutostartRet is libvirt's remote_storage_pool_get_autostart_ret
type StoragePoolGetInfoArgs ¶
type StoragePoolGetInfoArgs struct {
Pool StoragePool
}
StoragePoolGetInfoArgs is libvirt's remote_storage_pool_get_info_args
type StoragePoolGetInfoRet ¶
type StoragePoolGetInfoRet struct { State uint8 Capacity uint64 Allocation uint64 Available uint64 }
StoragePoolGetInfoRet is libvirt's remote_storage_pool_get_info_ret
type StoragePoolGetXMLDescArgs ¶
type StoragePoolGetXMLDescArgs struct { Pool StoragePool Flags StorageXMLFlags }
StoragePoolGetXMLDescArgs is libvirt's remote_storage_pool_get_xml_desc_args
type StoragePoolGetXMLDescRet ¶
type StoragePoolGetXMLDescRet struct {
XML string
}
StoragePoolGetXMLDescRet is libvirt's remote_storage_pool_get_xml_desc_ret
type StoragePoolIsActiveArgs ¶
type StoragePoolIsActiveArgs struct {
Pool StoragePool
}
StoragePoolIsActiveArgs is libvirt's remote_storage_pool_is_active_args
type StoragePoolIsActiveRet ¶
type StoragePoolIsActiveRet struct {
Active int32
}
StoragePoolIsActiveRet is libvirt's remote_storage_pool_is_active_ret
type StoragePoolIsPersistentArgs ¶
type StoragePoolIsPersistentArgs struct {
Pool StoragePool
}
StoragePoolIsPersistentArgs is libvirt's remote_storage_pool_is_persistent_args
type StoragePoolIsPersistentRet ¶
type StoragePoolIsPersistentRet struct {
Persistent int32
}
StoragePoolIsPersistentRet is libvirt's remote_storage_pool_is_persistent_ret
type StoragePoolListAllVolumesArgs ¶
type StoragePoolListAllVolumesArgs struct { Pool StoragePool NeedResults int32 Flags uint32 }
StoragePoolListAllVolumesArgs is libvirt's remote_storage_pool_list_all_volumes_args
type StoragePoolListAllVolumesRet ¶
type StoragePoolListAllVolumesRet struct { Vols []StorageVol Ret uint32 }
StoragePoolListAllVolumesRet is libvirt's remote_storage_pool_list_all_volumes_ret
type StoragePoolListVolumesArgs ¶
type StoragePoolListVolumesArgs struct { Pool StoragePool Maxnames int32 }
StoragePoolListVolumesArgs is libvirt's remote_storage_pool_list_volumes_args
type StoragePoolListVolumesRet ¶
type StoragePoolListVolumesRet struct {
Names []string
}
StoragePoolListVolumesRet is libvirt's remote_storage_pool_list_volumes_ret
type StoragePoolLookupByNameArgs ¶
type StoragePoolLookupByNameArgs struct {
Name string
}
StoragePoolLookupByNameArgs is libvirt's remote_storage_pool_lookup_by_name_args
type StoragePoolLookupByNameRet ¶
type StoragePoolLookupByNameRet struct {
Pool StoragePool
}
StoragePoolLookupByNameRet is libvirt's remote_storage_pool_lookup_by_name_ret
type StoragePoolLookupByTargetPathArgs ¶
type StoragePoolLookupByTargetPathArgs struct {
Path string
}
StoragePoolLookupByTargetPathArgs is libvirt's remote_storage_pool_lookup_by_target_path_args
type StoragePoolLookupByTargetPathRet ¶
type StoragePoolLookupByTargetPathRet struct {
Pool StoragePool
}
StoragePoolLookupByTargetPathRet is libvirt's remote_storage_pool_lookup_by_target_path_ret
type StoragePoolLookupByUUIDArgs ¶
type StoragePoolLookupByUUIDArgs struct {
UUID UUID
}
StoragePoolLookupByUUIDArgs is libvirt's remote_storage_pool_lookup_by_uuid_args
type StoragePoolLookupByUUIDRet ¶
type StoragePoolLookupByUUIDRet struct {
Pool StoragePool
}
StoragePoolLookupByUUIDRet is libvirt's remote_storage_pool_lookup_by_uuid_ret
type StoragePoolLookupByVolumeArgs ¶
type StoragePoolLookupByVolumeArgs struct {
Vol StorageVol
}
StoragePoolLookupByVolumeArgs is libvirt's remote_storage_pool_lookup_by_volume_args
type StoragePoolLookupByVolumeRet ¶
type StoragePoolLookupByVolumeRet struct {
Pool StoragePool
}
StoragePoolLookupByVolumeRet is libvirt's remote_storage_pool_lookup_by_volume_ret
type StoragePoolNumOfVolumesArgs ¶
type StoragePoolNumOfVolumesArgs struct {
Pool StoragePool
}
StoragePoolNumOfVolumesArgs is libvirt's remote_storage_pool_num_of_volumes_args
type StoragePoolNumOfVolumesRet ¶
type StoragePoolNumOfVolumesRet struct {
Num int32
}
StoragePoolNumOfVolumesRet is libvirt's remote_storage_pool_num_of_volumes_ret
type StoragePoolRefreshArgs ¶
type StoragePoolRefreshArgs struct { Pool StoragePool Flags uint32 }
StoragePoolRefreshArgs is libvirt's remote_storage_pool_refresh_args
type StoragePoolSetAutostartArgs ¶
type StoragePoolSetAutostartArgs struct { Pool StoragePool Autostart int32 }
StoragePoolSetAutostartArgs is libvirt's remote_storage_pool_set_autostart_args
type StoragePoolState ¶
type StoragePoolState int32
StoragePoolState as declared in libvirt/libvirt-storage.h:57
const ( StoragePoolInactive StoragePoolState = iota StoragePoolBuilding StoragePoolState = 1 StoragePoolRunning StoragePoolState = 2 StoragePoolDegraded StoragePoolState = 3 StoragePoolInaccessible StoragePoolState = 4 )
StoragePoolState enumeration from libvirt/libvirt-storage.h:57
type StoragePoolUndefineArgs ¶
type StoragePoolUndefineArgs struct {
Pool StoragePool
}
StoragePoolUndefineArgs is libvirt's remote_storage_pool_undefine_args
type StorageVol ¶
StorageVol is libvirt's remote_nonnull_storage_vol
type StorageVolCreateFlags ¶
type StorageVolCreateFlags int32
StorageVolCreateFlags as declared in libvirt/libvirt-storage.h:341
const ( StorageVolCreatePreallocMetadata StorageVolCreateFlags = 1 StorageVolCreateReflink StorageVolCreateFlags = 2 )
StorageVolCreateFlags enumeration from libvirt/libvirt-storage.h:341
type StorageVolCreateXMLArgs ¶
type StorageVolCreateXMLArgs struct { Pool StoragePool XML string Flags StorageVolCreateFlags }
StorageVolCreateXMLArgs is libvirt's remote_storage_vol_create_xml_args
type StorageVolCreateXMLFromArgs ¶
type StorageVolCreateXMLFromArgs struct { Pool StoragePool XML string Clonevol StorageVol Flags StorageVolCreateFlags }
StorageVolCreateXMLFromArgs is libvirt's remote_storage_vol_create_xml_from_args
type StorageVolCreateXMLFromRet ¶
type StorageVolCreateXMLFromRet struct {
Vol StorageVol
}
StorageVolCreateXMLFromRet is libvirt's remote_storage_vol_create_xml_from_ret
type StorageVolCreateXMLRet ¶
type StorageVolCreateXMLRet struct {
Vol StorageVol
}
StorageVolCreateXMLRet is libvirt's remote_storage_vol_create_xml_ret
type StorageVolDeleteArgs ¶
type StorageVolDeleteArgs struct { Vol StorageVol Flags StorageVolDeleteFlags }
StorageVolDeleteArgs is libvirt's remote_storage_vol_delete_args
type StorageVolDeleteFlags ¶
type StorageVolDeleteFlags int32
StorageVolDeleteFlags as declared in libvirt/libvirt-storage.h:135
const ( StorageVolDeleteNormal StorageVolDeleteFlags = iota StorageVolDeleteZeroed StorageVolDeleteFlags = 1 StorageVolDeleteWithSnapshots StorageVolDeleteFlags = 2 )
StorageVolDeleteFlags enumeration from libvirt/libvirt-storage.h:135
type StorageVolDownloadArgs ¶
type StorageVolDownloadArgs struct { Vol StorageVol Offset uint64 Length uint64 Flags StorageVolDownloadFlags }
StorageVolDownloadArgs is libvirt's remote_storage_vol_download_args
type StorageVolDownloadFlags ¶
type StorageVolDownloadFlags int32
StorageVolDownloadFlags as declared in libvirt/libvirt-storage.h:353
const (
StorageVolDownloadSparseStream StorageVolDownloadFlags = 1
)
StorageVolDownloadFlags enumeration from libvirt/libvirt-storage.h:353
type StorageVolGetInfoArgs ¶
type StorageVolGetInfoArgs struct {
Vol StorageVol
}
StorageVolGetInfoArgs is libvirt's remote_storage_vol_get_info_args
type StorageVolGetInfoFlagsArgs ¶
type StorageVolGetInfoFlagsArgs struct { Vol StorageVol Flags uint32 }
StorageVolGetInfoFlagsArgs is libvirt's remote_storage_vol_get_info_flags_args
type StorageVolGetInfoFlagsRet ¶
StorageVolGetInfoFlagsRet is libvirt's remote_storage_vol_get_info_flags_ret
type StorageVolGetInfoRet ¶
StorageVolGetInfoRet is libvirt's remote_storage_vol_get_info_ret
type StorageVolGetPathArgs ¶
type StorageVolGetPathArgs struct {
Vol StorageVol
}
StorageVolGetPathArgs is libvirt's remote_storage_vol_get_path_args
type StorageVolGetPathRet ¶
type StorageVolGetPathRet struct {
Name string
}
StorageVolGetPathRet is libvirt's remote_storage_vol_get_path_ret
type StorageVolGetXMLDescArgs ¶
type StorageVolGetXMLDescArgs struct { Vol StorageVol Flags uint32 }
StorageVolGetXMLDescArgs is libvirt's remote_storage_vol_get_xml_desc_args
type StorageVolGetXMLDescRet ¶
type StorageVolGetXMLDescRet struct {
XML string
}
StorageVolGetXMLDescRet is libvirt's remote_storage_vol_get_xml_desc_ret
type StorageVolInfoFlags ¶
type StorageVolInfoFlags int32
StorageVolInfoFlags as declared in libvirt/libvirt-storage.h:175
const ( StorageVolUseAllocation StorageVolInfoFlags = iota StorageVolGetPhysical StorageVolInfoFlags = 1 )
StorageVolInfoFlags enumeration from libvirt/libvirt-storage.h:175
type StorageVolLookupByKeyArgs ¶
type StorageVolLookupByKeyArgs struct {
Key string
}
StorageVolLookupByKeyArgs is libvirt's remote_storage_vol_lookup_by_key_args
type StorageVolLookupByKeyRet ¶
type StorageVolLookupByKeyRet struct {
Vol StorageVol
}
StorageVolLookupByKeyRet is libvirt's remote_storage_vol_lookup_by_key_ret
type StorageVolLookupByNameArgs ¶
type StorageVolLookupByNameArgs struct { Pool StoragePool Name string }
StorageVolLookupByNameArgs is libvirt's remote_storage_vol_lookup_by_name_args
type StorageVolLookupByNameRet ¶
type StorageVolLookupByNameRet struct {
Vol StorageVol
}
StorageVolLookupByNameRet is libvirt's remote_storage_vol_lookup_by_name_ret
type StorageVolLookupByPathArgs ¶
type StorageVolLookupByPathArgs struct {
Path string
}
StorageVolLookupByPathArgs is libvirt's remote_storage_vol_lookup_by_path_args
type StorageVolLookupByPathRet ¶
type StorageVolLookupByPathRet struct {
Vol StorageVol
}
StorageVolLookupByPathRet is libvirt's remote_storage_vol_lookup_by_path_ret
type StorageVolResizeArgs ¶
type StorageVolResizeArgs struct { Vol StorageVol Capacity uint64 Flags StorageVolResizeFlags }
StorageVolResizeArgs is libvirt's remote_storage_vol_resize_args
type StorageVolResizeFlags ¶
type StorageVolResizeFlags int32
StorageVolResizeFlags as declared in libvirt/libvirt-storage.h:393
const ( StorageVolResizeAllocate StorageVolResizeFlags = 1 StorageVolResizeDelta StorageVolResizeFlags = 2 StorageVolResizeShrink StorageVolResizeFlags = 4 )
StorageVolResizeFlags enumeration from libvirt/libvirt-storage.h:393
type StorageVolType ¶
type StorageVolType int32
StorageVolType as declared in libvirt/libvirt-storage.h:129
const ( StorageVolFile StorageVolType = iota StorageVolBlock StorageVolType = 1 StorageVolDir StorageVolType = 2 StorageVolNetwork StorageVolType = 3 StorageVolNetdir StorageVolType = 4 StorageVolPloop StorageVolType = 5 )
StorageVolType enumeration from libvirt/libvirt-storage.h:129
type StorageVolUploadArgs ¶
type StorageVolUploadArgs struct { Vol StorageVol Offset uint64 Length uint64 Flags StorageVolUploadFlags }
StorageVolUploadArgs is libvirt's remote_storage_vol_upload_args
type StorageVolUploadFlags ¶
type StorageVolUploadFlags int32
StorageVolUploadFlags as declared in libvirt/libvirt-storage.h:362
const (
StorageVolUploadSparseStream StorageVolUploadFlags = 1
)
StorageVolUploadFlags enumeration from libvirt/libvirt-storage.h:362
type StorageVolWipeAlgorithm ¶
type StorageVolWipeAlgorithm int32
StorageVolWipeAlgorithm as declared in libvirt/libvirt-storage.h:167
const ( StorageVolWipeAlgZero StorageVolWipeAlgorithm = iota StorageVolWipeAlgNnsa StorageVolWipeAlgorithm = 1 StorageVolWipeAlgDod StorageVolWipeAlgorithm = 2 StorageVolWipeAlgBsi StorageVolWipeAlgorithm = 3 StorageVolWipeAlgGutmann StorageVolWipeAlgorithm = 4 StorageVolWipeAlgSchneier StorageVolWipeAlgorithm = 5 StorageVolWipeAlgPfitzner7 StorageVolWipeAlgorithm = 6 StorageVolWipeAlgPfitzner33 StorageVolWipeAlgorithm = 7 StorageVolWipeAlgRandom StorageVolWipeAlgorithm = 8 StorageVolWipeAlgTrim StorageVolWipeAlgorithm = 9 )
StorageVolWipeAlgorithm enumeration from libvirt/libvirt-storage.h:167
type StorageVolWipeArgs ¶
type StorageVolWipeArgs struct { Vol StorageVol Flags uint32 }
StorageVolWipeArgs is libvirt's remote_storage_vol_wipe_args
type StorageVolWipePatternArgs ¶
type StorageVolWipePatternArgs struct { Vol StorageVol Algorithm uint32 Flags uint32 }
StorageVolWipePatternArgs is libvirt's remote_storage_vol_wipe_pattern_args
type StorageXMLFlags ¶
type StorageXMLFlags int32
StorageXMLFlags as declared in libvirt/libvirt-storage.h:189
const (
StorageXMLInactive StorageXMLFlags = 1
)
StorageXMLFlags enumeration from libvirt/libvirt-storage.h:189
type StreamEventType ¶
type StreamEventType int32
StreamEventType as declared in libvirt/libvirt-stream.h:237
const ( StreamEventReadable StreamEventType = 1 StreamEventWritable StreamEventType = 2 StreamEventError StreamEventType = 4 StreamEventHangup StreamEventType = 8 )
StreamEventType enumeration from libvirt/libvirt-stream.h:237
type StreamFlags ¶
type StreamFlags int32
StreamFlags as declared in libvirt/libvirt-stream.h:33
const (
StreamNonblock StreamFlags = 1
)
StreamFlags enumeration from libvirt/libvirt-stream.h:33
type StreamRecvFlagsValues ¶
type StreamRecvFlagsValues int32
StreamRecvFlagsValues as declared in libvirt/libvirt-stream.h:49
const (
StreamRecvStopAtHole StreamRecvFlagsValues = 1
)
StreamRecvFlagsValues enumeration from libvirt/libvirt-stream.h:49
type TypedParam ¶
type TypedParam struct { Field string Value TypedParamValue }
TypedParam is libvirt's remote_typed_param
type TypedParamValue ¶
type TypedParamValue struct { D uint32 I interface{} }
TypedParamValue is a discriminated union.
func NewTypedParamValueBoolean ¶
func NewTypedParamValueBoolean(v int32) *TypedParamValue
NewTypedParamValueBoolean creates a discriminated union value satisfying the TypedParamValue interface.
func NewTypedParamValueDouble ¶
func NewTypedParamValueDouble(v float64) *TypedParamValue
NewTypedParamValueDouble creates a discriminated union value satisfying the TypedParamValue interface.
func NewTypedParamValueInt ¶
func NewTypedParamValueInt(v int32) *TypedParamValue
NewTypedParamValueInt creates a discriminated union value satisfying the TypedParamValue interface.
func NewTypedParamValueLlong ¶
func NewTypedParamValueLlong(v int64) *TypedParamValue
NewTypedParamValueLlong creates a discriminated union value satisfying the TypedParamValue interface.
func NewTypedParamValueString ¶
func NewTypedParamValueString(v string) *TypedParamValue
NewTypedParamValueString creates a discriminated union value satisfying the TypedParamValue interface.
func NewTypedParamValueUint ¶
func NewTypedParamValueUint(v uint32) *TypedParamValue
NewTypedParamValueUint creates a discriminated union value satisfying the TypedParamValue interface.
func NewTypedParamValueUllong ¶
func NewTypedParamValueUllong(v uint64) *TypedParamValue
NewTypedParamValueUllong creates a discriminated union value satisfying the TypedParamValue interface.
type TypedParameterFlags ¶
type TypedParameterFlags int32
TypedParameterFlags as declared in libvirt/libvirt-common.h:163
const (
TypedParamStringOkay TypedParameterFlags = 4
)
TypedParameterFlags enumeration from libvirt/libvirt-common.h:163
type TypedParameterType ¶
type TypedParameterType int32
TypedParameterType as declared in libvirt/libvirt-common.h:138
const ( TypedParamInt TypedParameterType = 1 TypedParamUint TypedParameterType = 2 TypedParamLlong TypedParameterType = 3 TypedParamUllong TypedParameterType = 4 TypedParamDouble TypedParameterType = 5 TypedParamBoolean TypedParameterType = 6 TypedParamString TypedParameterType = 7 )
TypedParameterType enumeration from libvirt/libvirt-common.h:138
Directories
¶
Path | Synopsis |
---|---|
internal
|
|
go-xdr/xdr2
Package xdr implements the data representation portion of the External Data Representation (XDR) standard protocol as specified in RFC 4506 (obsoletes RFC 1832 and RFC 1014).
|
Package xdr implements the data representation portion of the External Data Representation (XDR) standard protocol as specified in RFC 4506 (obsoletes RFC 1832 and RFC 1014). |
lvgen
Package lvgen contains the instructions for regenerating the libvirt bindings.
|
Package lvgen contains the instructions for regenerating the libvirt bindings. |
Package libvirttest provides a mock libvirt server for RPC testing.
|
Package libvirttest provides a mock libvirt server for RPC testing. |