Documentation ¶
Index ¶
- type MockCandidatePropertyGetter
- func (m *MockCandidatePropertyGetter) CPUArch() string
- func (m *MockCandidatePropertyGetter) Cloudprovider() *models.SCloudprovider
- func (m *MockCandidatePropertyGetter) CreatingGuestCount() int
- func (m *MockCandidatePropertyGetter) DomainId() string
- func (m *MockCandidatePropertyGetter) EXPECT() *MockCandidatePropertyGetterMockRecorder
- func (m *MockCandidatePropertyGetter) Enabled() bool
- func (m *MockCandidatePropertyGetter) FreeCPUCount(arg0 bool) int64
- func (m *MockCandidatePropertyGetter) FreeMemorySize(arg0 bool) int64
- func (m *MockCandidatePropertyGetter) GetAllClassMetadata() (map[string]string, error)
- func (m *MockCandidatePropertyGetter) GetFreeGroupCount(arg0 string) (int, error)
- func (m *MockCandidatePropertyGetter) GetFreePort(arg0 string) int
- func (m *MockCandidatePropertyGetter) GetFreeStorageSizeOfType(arg0 string, arg1 string, arg2 bool, arg3 int64) (int64, int64, error)
- func (m *MockCandidatePropertyGetter) GetIpmiInfo() types.SIPMIInfo
- func (m *MockCandidatePropertyGetter) GetIsolatedDevice(arg0 string) *core.IsolatedDeviceDesc
- func (m *MockCandidatePropertyGetter) GetIsolatedDevices() []*core.IsolatedDeviceDesc
- func (m *MockCandidatePropertyGetter) GetNics() []*types.SNic
- func (m *MockCandidatePropertyGetter) GetPendingUsage() *models0.SPendingUsage
- func (m *MockCandidatePropertyGetter) GetQuotaKeys(arg0 *api.SchedInfo) models.SComputeResourceKeys
- func (m *MockCandidatePropertyGetter) Host() *models.SHost
- func (m *MockCandidatePropertyGetter) HostSchedtags() []models.SSchedtag
- func (m *MockCandidatePropertyGetter) HostStatus() string
- func (m *MockCandidatePropertyGetter) HostType() string
- func (m *MockCandidatePropertyGetter) Id() string
- func (m *MockCandidatePropertyGetter) InstanceGroups() map[string]*api.CandidateGroup
- func (m *MockCandidatePropertyGetter) IsArmHost() bool
- func (m *MockCandidatePropertyGetter) IsEmpty() bool
- func (m *MockCandidatePropertyGetter) IsPublic() bool
- func (m *MockCandidatePropertyGetter) KeywordPlural() string
- func (m *MockCandidatePropertyGetter) Name() string
- func (m *MockCandidatePropertyGetter) NetInterfaces() map[string][]models.SNetInterface
- func (m *MockCandidatePropertyGetter) Networks() []*api.CandidateNetwork
- func (m *MockCandidatePropertyGetter) OvnCapable() bool
- func (m *MockCandidatePropertyGetter) ProjectGuests() map[string]int64
- func (m *MockCandidatePropertyGetter) PublicScope() string
- func (m *MockCandidatePropertyGetter) Region() *models.SCloudregion
- func (m *MockCandidatePropertyGetter) ResourceType() string
- func (m *MockCandidatePropertyGetter) RunningCPUCount() int64
- func (m *MockCandidatePropertyGetter) RunningMemorySize() int64
- func (m *MockCandidatePropertyGetter) SharedDomains() []string
- func (m *MockCandidatePropertyGetter) Sku(arg0 string) *sku.ServerSku
- func (m *MockCandidatePropertyGetter) Status() string
- func (m *MockCandidatePropertyGetter) StorageInfo() []*baremetal.BaremetalStorage
- func (m *MockCandidatePropertyGetter) Storages() []*api.CandidateStorage
- func (m *MockCandidatePropertyGetter) TotalCPUCount(arg0 bool) int64
- func (m *MockCandidatePropertyGetter) TotalMemorySize(arg0 bool) int64
- func (m *MockCandidatePropertyGetter) UnusedGpuDevices() []*core.IsolatedDeviceDesc
- func (m *MockCandidatePropertyGetter) UnusedIsolatedDevices() []*core.IsolatedDeviceDesc
- func (m *MockCandidatePropertyGetter) UnusedIsolatedDevicesByModel(arg0 string) []*core.IsolatedDeviceDesc
- func (m *MockCandidatePropertyGetter) UnusedIsolatedDevicesByModelAndWire(arg0, arg1 string) []*core.IsolatedDeviceDesc
- func (m *MockCandidatePropertyGetter) UnusedIsolatedDevicesByType(arg0 string) []*core.IsolatedDeviceDesc
- func (m *MockCandidatePropertyGetter) UnusedIsolatedDevicesByVendorModel(arg0 string) []*core.IsolatedDeviceDesc
- func (m *MockCandidatePropertyGetter) Zone() *models.SZone
- type MockCandidatePropertyGetterMockRecorder
- func (mr *MockCandidatePropertyGetterMockRecorder) Cloudprovider() *gomock.Call
- func (mr *MockCandidatePropertyGetterMockRecorder) CreatingGuestCount() *gomock.Call
- func (mr *MockCandidatePropertyGetterMockRecorder) DomainId() *gomock.Call
- func (mr *MockCandidatePropertyGetterMockRecorder) Enabled() *gomock.Call
- func (mr *MockCandidatePropertyGetterMockRecorder) FreeCPUCount(arg0 interface{}) *gomock.Call
- func (mr *MockCandidatePropertyGetterMockRecorder) FreeMemorySize(arg0 interface{}) *gomock.Call
- func (mr *MockCandidatePropertyGetterMockRecorder) GetAllClassMetadata() *gomock.Call
- func (mr *MockCandidatePropertyGetterMockRecorder) GetFreeGroupCount(arg0 interface{}) *gomock.Call
- func (mr *MockCandidatePropertyGetterMockRecorder) GetFreePort(arg0 interface{}) *gomock.Call
- func (mr *MockCandidatePropertyGetterMockRecorder) GetFreeStorageSizeOfType(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockCandidatePropertyGetterMockRecorder) GetIpmiInfo() *gomock.Call
- func (mr *MockCandidatePropertyGetterMockRecorder) GetIsolatedDevice(arg0 interface{}) *gomock.Call
- func (mr *MockCandidatePropertyGetterMockRecorder) GetIsolatedDevices() *gomock.Call
- func (mr *MockCandidatePropertyGetterMockRecorder) GetNics() *gomock.Call
- func (mr *MockCandidatePropertyGetterMockRecorder) GetPendingUsage() *gomock.Call
- func (mr *MockCandidatePropertyGetterMockRecorder) GetQuotaKeys(arg0 interface{}) *gomock.Call
- func (mr *MockCandidatePropertyGetterMockRecorder) Host() *gomock.Call
- func (mr *MockCandidatePropertyGetterMockRecorder) HostSchedtags() *gomock.Call
- func (mr *MockCandidatePropertyGetterMockRecorder) HostStatus() *gomock.Call
- func (mr *MockCandidatePropertyGetterMockRecorder) HostType() *gomock.Call
- func (mr *MockCandidatePropertyGetterMockRecorder) Id() *gomock.Call
- func (mr *MockCandidatePropertyGetterMockRecorder) InstanceGroups() *gomock.Call
- func (mr *MockCandidatePropertyGetterMockRecorder) IsEmpty() *gomock.Call
- func (mr *MockCandidatePropertyGetterMockRecorder) IsPublic() *gomock.Call
- func (mr *MockCandidatePropertyGetterMockRecorder) KeywordPlural() *gomock.Call
- func (mr *MockCandidatePropertyGetterMockRecorder) Name() *gomock.Call
- func (mr *MockCandidatePropertyGetterMockRecorder) NetInterfaces() *gomock.Call
- func (mr *MockCandidatePropertyGetterMockRecorder) Networks() *gomock.Call
- func (mr *MockCandidatePropertyGetterMockRecorder) OvnCapable() *gomock.Call
- func (mr *MockCandidatePropertyGetterMockRecorder) ProjectGuests() *gomock.Call
- func (mr *MockCandidatePropertyGetterMockRecorder) PublicScope() *gomock.Call
- func (mr *MockCandidatePropertyGetterMockRecorder) Region() *gomock.Call
- func (mr *MockCandidatePropertyGetterMockRecorder) ResourceType() *gomock.Call
- func (mr *MockCandidatePropertyGetterMockRecorder) RunningCPUCount() *gomock.Call
- func (mr *MockCandidatePropertyGetterMockRecorder) RunningMemorySize() *gomock.Call
- func (mr *MockCandidatePropertyGetterMockRecorder) SharedDomains() *gomock.Call
- func (mr *MockCandidatePropertyGetterMockRecorder) Sku(arg0 interface{}) *gomock.Call
- func (mr *MockCandidatePropertyGetterMockRecorder) Status() *gomock.Call
- func (mr *MockCandidatePropertyGetterMockRecorder) StorageInfo() *gomock.Call
- func (mr *MockCandidatePropertyGetterMockRecorder) Storages() *gomock.Call
- func (mr *MockCandidatePropertyGetterMockRecorder) TotalCPUCount(arg0 interface{}) *gomock.Call
- func (mr *MockCandidatePropertyGetterMockRecorder) TotalMemorySize(arg0 interface{}) *gomock.Call
- func (mr *MockCandidatePropertyGetterMockRecorder) UnusedGpuDevices() *gomock.Call
- func (mr *MockCandidatePropertyGetterMockRecorder) UnusedIsolatedDevices() *gomock.Call
- func (mr *MockCandidatePropertyGetterMockRecorder) UnusedIsolatedDevicesByModel(arg0 interface{}) *gomock.Call
- func (mr *MockCandidatePropertyGetterMockRecorder) UnusedIsolatedDevicesByModelAndWire(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCandidatePropertyGetterMockRecorder) UnusedIsolatedDevicesByType(arg0 interface{}) *gomock.Call
- func (mr *MockCandidatePropertyGetterMockRecorder) UnusedIsolatedDevicesByVendorModel(arg0 interface{}) *gomock.Call
- func (mr *MockCandidatePropertyGetterMockRecorder) Zone() *gomock.Call
- type MockCandidater
- func (m *MockCandidater) EXPECT() *MockCandidaterMockRecorder
- func (m *MockCandidater) GetGuestCount() int64
- func (m *MockCandidater) GetResourceType() string
- func (m *MockCandidater) GetSchedDesc() *jsonutils.JSONDict
- func (m *MockCandidater) Getter() core.CandidatePropertyGetter
- func (m *MockCandidater) IndexKey() string
- func (m *MockCandidater) Type() int
- type MockCandidaterMockRecorder
- func (mr *MockCandidaterMockRecorder) GetGuestCount() *gomock.Call
- func (mr *MockCandidaterMockRecorder) GetResourceType() *gomock.Call
- func (mr *MockCandidaterMockRecorder) GetSchedDesc() *gomock.Call
- func (mr *MockCandidaterMockRecorder) Getter() *gomock.Call
- func (mr *MockCandidaterMockRecorder) IndexKey() *gomock.Call
- func (mr *MockCandidaterMockRecorder) Type() *gomock.Call
- type MockINetworkNicCountGetter
- type MockINetworkNicCountGetterMockRecorder
- type MockScheduler
- type MockSchedulerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCandidatePropertyGetter ¶
type MockCandidatePropertyGetter struct {
// contains filtered or unexported fields
}
MockCandidatePropertyGetter is a mock of CandidatePropertyGetter interface
func NewMockCandidatePropertyGetter ¶
func NewMockCandidatePropertyGetter(ctrl *gomock.Controller) *MockCandidatePropertyGetter
NewMockCandidatePropertyGetter creates a new mock instance
func (*MockCandidatePropertyGetter) CPUArch ¶
func (m *MockCandidatePropertyGetter) CPUArch() string
func (*MockCandidatePropertyGetter) Cloudprovider ¶
func (m *MockCandidatePropertyGetter) Cloudprovider() *models.SCloudprovider
Cloudprovider mocks base method
func (*MockCandidatePropertyGetter) CreatingGuestCount ¶
func (m *MockCandidatePropertyGetter) CreatingGuestCount() int
CreatingGuestCount mocks base method
func (*MockCandidatePropertyGetter) DomainId ¶
func (m *MockCandidatePropertyGetter) DomainId() string
DomainId mocks base method
func (*MockCandidatePropertyGetter) EXPECT ¶
func (m *MockCandidatePropertyGetter) EXPECT() *MockCandidatePropertyGetterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockCandidatePropertyGetter) Enabled ¶
func (m *MockCandidatePropertyGetter) Enabled() bool
Enabled mocks base method
func (*MockCandidatePropertyGetter) FreeCPUCount ¶
func (m *MockCandidatePropertyGetter) FreeCPUCount(arg0 bool) int64
FreeCPUCount mocks base method
func (*MockCandidatePropertyGetter) FreeMemorySize ¶
func (m *MockCandidatePropertyGetter) FreeMemorySize(arg0 bool) int64
FreeMemorySize mocks base method
func (*MockCandidatePropertyGetter) GetAllClassMetadata ¶
func (m *MockCandidatePropertyGetter) GetAllClassMetadata() (map[string]string, error)
GetAllClassMetadata mocks base method
func (*MockCandidatePropertyGetter) GetFreeGroupCount ¶
func (m *MockCandidatePropertyGetter) GetFreeGroupCount(arg0 string) (int, error)
GetFreeGroupCount mocks base method
func (*MockCandidatePropertyGetter) GetFreePort ¶
func (m *MockCandidatePropertyGetter) GetFreePort(arg0 string) int
GetFreePort mocks base method
func (*MockCandidatePropertyGetter) GetFreeStorageSizeOfType ¶
func (m *MockCandidatePropertyGetter) GetFreeStorageSizeOfType(arg0 string, arg1 string, arg2 bool, arg3 int64) (int64, int64, error)
GetFreeStorageSizeOfType mocks base method
func (*MockCandidatePropertyGetter) GetIpmiInfo ¶
func (m *MockCandidatePropertyGetter) GetIpmiInfo() types.SIPMIInfo
GetIpmiInfo mocks base method
func (*MockCandidatePropertyGetter) GetIsolatedDevice ¶
func (m *MockCandidatePropertyGetter) GetIsolatedDevice(arg0 string) *core.IsolatedDeviceDesc
GetIsolatedDevice mocks base method
func (*MockCandidatePropertyGetter) GetIsolatedDevices ¶
func (m *MockCandidatePropertyGetter) GetIsolatedDevices() []*core.IsolatedDeviceDesc
GetIsolatedDevices mocks base method
func (*MockCandidatePropertyGetter) GetNics ¶
func (m *MockCandidatePropertyGetter) GetNics() []*types.SNic
GetNics mocks base method
func (*MockCandidatePropertyGetter) GetPendingUsage ¶
func (m *MockCandidatePropertyGetter) GetPendingUsage() *models0.SPendingUsage
GetPendingUsage mocks base method
func (*MockCandidatePropertyGetter) GetQuotaKeys ¶
func (m *MockCandidatePropertyGetter) GetQuotaKeys(arg0 *api.SchedInfo) models.SComputeResourceKeys
GetQuotaKeys mocks base method
func (*MockCandidatePropertyGetter) Host ¶
func (m *MockCandidatePropertyGetter) Host() *models.SHost
Host mocks base method
func (*MockCandidatePropertyGetter) HostSchedtags ¶
func (m *MockCandidatePropertyGetter) HostSchedtags() []models.SSchedtag
HostSchedtags mocks base method
func (*MockCandidatePropertyGetter) HostStatus ¶
func (m *MockCandidatePropertyGetter) HostStatus() string
HostStatus mocks base method
func (*MockCandidatePropertyGetter) HostType ¶
func (m *MockCandidatePropertyGetter) HostType() string
HostType mocks base method
func (*MockCandidatePropertyGetter) Id ¶
func (m *MockCandidatePropertyGetter) Id() string
Id mocks base method
func (*MockCandidatePropertyGetter) InstanceGroups ¶
func (m *MockCandidatePropertyGetter) InstanceGroups() map[string]*api.CandidateGroup
InstanceGroups mocks base method
func (*MockCandidatePropertyGetter) IsArmHost ¶
func (m *MockCandidatePropertyGetter) IsArmHost() bool
func (*MockCandidatePropertyGetter) IsEmpty ¶
func (m *MockCandidatePropertyGetter) IsEmpty() bool
IsEmpty mocks base method
func (*MockCandidatePropertyGetter) IsPublic ¶
func (m *MockCandidatePropertyGetter) IsPublic() bool
IsPublic mocks base method
func (*MockCandidatePropertyGetter) KeywordPlural ¶
func (m *MockCandidatePropertyGetter) KeywordPlural() string
KeywordPlural mocks base method
func (*MockCandidatePropertyGetter) Name ¶
func (m *MockCandidatePropertyGetter) Name() string
Name mocks base method
func (*MockCandidatePropertyGetter) NetInterfaces ¶
func (m *MockCandidatePropertyGetter) NetInterfaces() map[string][]models.SNetInterface
NetInterfaces mocks base method
func (*MockCandidatePropertyGetter) Networks ¶
func (m *MockCandidatePropertyGetter) Networks() []*api.CandidateNetwork
Networks mocks base method
func (*MockCandidatePropertyGetter) OvnCapable ¶
func (m *MockCandidatePropertyGetter) OvnCapable() bool
OvnCapable mocks base method
func (*MockCandidatePropertyGetter) ProjectGuests ¶
func (m *MockCandidatePropertyGetter) ProjectGuests() map[string]int64
ProjectGuests mocks base method
func (*MockCandidatePropertyGetter) PublicScope ¶
func (m *MockCandidatePropertyGetter) PublicScope() string
PublicScope mocks base method
func (*MockCandidatePropertyGetter) Region ¶
func (m *MockCandidatePropertyGetter) Region() *models.SCloudregion
Region mocks base method
func (*MockCandidatePropertyGetter) ResourceType ¶
func (m *MockCandidatePropertyGetter) ResourceType() string
ResourceType mocks base method
func (*MockCandidatePropertyGetter) RunningCPUCount ¶
func (m *MockCandidatePropertyGetter) RunningCPUCount() int64
RunningCPUCount mocks base method
func (*MockCandidatePropertyGetter) RunningMemorySize ¶
func (m *MockCandidatePropertyGetter) RunningMemorySize() int64
RunningMemorySize mocks base method
func (*MockCandidatePropertyGetter) SharedDomains ¶
func (m *MockCandidatePropertyGetter) SharedDomains() []string
SharedDomains mocks base method
func (*MockCandidatePropertyGetter) Sku ¶
func (m *MockCandidatePropertyGetter) Sku(arg0 string) *sku.ServerSku
Sku mocks base method
func (*MockCandidatePropertyGetter) Status ¶
func (m *MockCandidatePropertyGetter) Status() string
Status mocks base method
func (*MockCandidatePropertyGetter) StorageInfo ¶
func (m *MockCandidatePropertyGetter) StorageInfo() []*baremetal.BaremetalStorage
StorageInfo mocks base method
func (*MockCandidatePropertyGetter) Storages ¶
func (m *MockCandidatePropertyGetter) Storages() []*api.CandidateStorage
Storages mocks base method
func (*MockCandidatePropertyGetter) TotalCPUCount ¶
func (m *MockCandidatePropertyGetter) TotalCPUCount(arg0 bool) int64
TotalCPUCount mocks base method
func (*MockCandidatePropertyGetter) TotalMemorySize ¶
func (m *MockCandidatePropertyGetter) TotalMemorySize(arg0 bool) int64
TotalMemorySize mocks base method
func (*MockCandidatePropertyGetter) UnusedGpuDevices ¶
func (m *MockCandidatePropertyGetter) UnusedGpuDevices() []*core.IsolatedDeviceDesc
UnusedGpuDevices mocks base method
func (*MockCandidatePropertyGetter) UnusedIsolatedDevices ¶
func (m *MockCandidatePropertyGetter) UnusedIsolatedDevices() []*core.IsolatedDeviceDesc
UnusedIsolatedDevices mocks base method
func (*MockCandidatePropertyGetter) UnusedIsolatedDevicesByModel ¶
func (m *MockCandidatePropertyGetter) UnusedIsolatedDevicesByModel(arg0 string) []*core.IsolatedDeviceDesc
UnusedIsolatedDevicesByModel mocks base method
func (*MockCandidatePropertyGetter) UnusedIsolatedDevicesByModelAndWire ¶
func (m *MockCandidatePropertyGetter) UnusedIsolatedDevicesByModelAndWire(arg0, arg1 string) []*core.IsolatedDeviceDesc
UnusedIsolatedDevicesByModelAndWire mocks base method
func (*MockCandidatePropertyGetter) UnusedIsolatedDevicesByType ¶
func (m *MockCandidatePropertyGetter) UnusedIsolatedDevicesByType(arg0 string) []*core.IsolatedDeviceDesc
UnusedIsolatedDevicesByType mocks base method
func (*MockCandidatePropertyGetter) UnusedIsolatedDevicesByVendorModel ¶
func (m *MockCandidatePropertyGetter) UnusedIsolatedDevicesByVendorModel(arg0 string) []*core.IsolatedDeviceDesc
UnusedIsolatedDevicesByVendorModel mocks base method
func (*MockCandidatePropertyGetter) Zone ¶
func (m *MockCandidatePropertyGetter) Zone() *models.SZone
Zone mocks base method
type MockCandidatePropertyGetterMockRecorder ¶
type MockCandidatePropertyGetterMockRecorder struct {
// contains filtered or unexported fields
}
MockCandidatePropertyGetterMockRecorder is the mock recorder for MockCandidatePropertyGetter
func (*MockCandidatePropertyGetterMockRecorder) Cloudprovider ¶
func (mr *MockCandidatePropertyGetterMockRecorder) Cloudprovider() *gomock.Call
Cloudprovider indicates an expected call of Cloudprovider
func (*MockCandidatePropertyGetterMockRecorder) CreatingGuestCount ¶
func (mr *MockCandidatePropertyGetterMockRecorder) CreatingGuestCount() *gomock.Call
CreatingGuestCount indicates an expected call of CreatingGuestCount
func (*MockCandidatePropertyGetterMockRecorder) DomainId ¶
func (mr *MockCandidatePropertyGetterMockRecorder) DomainId() *gomock.Call
DomainId indicates an expected call of DomainId
func (*MockCandidatePropertyGetterMockRecorder) Enabled ¶
func (mr *MockCandidatePropertyGetterMockRecorder) Enabled() *gomock.Call
Enabled indicates an expected call of Enabled
func (*MockCandidatePropertyGetterMockRecorder) FreeCPUCount ¶
func (mr *MockCandidatePropertyGetterMockRecorder) FreeCPUCount(arg0 interface{}) *gomock.Call
FreeCPUCount indicates an expected call of FreeCPUCount
func (*MockCandidatePropertyGetterMockRecorder) FreeMemorySize ¶
func (mr *MockCandidatePropertyGetterMockRecorder) FreeMemorySize(arg0 interface{}) *gomock.Call
FreeMemorySize indicates an expected call of FreeMemorySize
func (*MockCandidatePropertyGetterMockRecorder) GetAllClassMetadata ¶
func (mr *MockCandidatePropertyGetterMockRecorder) GetAllClassMetadata() *gomock.Call
GetAllClassMetadata indicates an expected call of InstanceGroups
func (*MockCandidatePropertyGetterMockRecorder) GetFreeGroupCount ¶
func (mr *MockCandidatePropertyGetterMockRecorder) GetFreeGroupCount(arg0 interface{}) *gomock.Call
GetFreeGroupCount indicates an expected call of GetFreeGroupCount
func (*MockCandidatePropertyGetterMockRecorder) GetFreePort ¶
func (mr *MockCandidatePropertyGetterMockRecorder) GetFreePort(arg0 interface{}) *gomock.Call
GetFreePort indicates an expected call of GetFreePort
func (*MockCandidatePropertyGetterMockRecorder) GetFreeStorageSizeOfType ¶
func (mr *MockCandidatePropertyGetterMockRecorder) GetFreeStorageSizeOfType(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
GetFreeStorageSizeOfType indicates an expected call of GetFreeStorageSizeOfType
func (*MockCandidatePropertyGetterMockRecorder) GetIpmiInfo ¶
func (mr *MockCandidatePropertyGetterMockRecorder) GetIpmiInfo() *gomock.Call
GetIpmiInfo indicates an expected call of GetIpmiInfo
func (*MockCandidatePropertyGetterMockRecorder) GetIsolatedDevice ¶
func (mr *MockCandidatePropertyGetterMockRecorder) GetIsolatedDevice(arg0 interface{}) *gomock.Call
GetIsolatedDevice indicates an expected call of GetIsolatedDevice
func (*MockCandidatePropertyGetterMockRecorder) GetIsolatedDevices ¶
func (mr *MockCandidatePropertyGetterMockRecorder) GetIsolatedDevices() *gomock.Call
GetIsolatedDevices indicates an expected call of GetIsolatedDevices
func (*MockCandidatePropertyGetterMockRecorder) GetNics ¶
func (mr *MockCandidatePropertyGetterMockRecorder) GetNics() *gomock.Call
GetIpmiInfo indicates an expected call of GetIpmiInfo
func (*MockCandidatePropertyGetterMockRecorder) GetPendingUsage ¶
func (mr *MockCandidatePropertyGetterMockRecorder) GetPendingUsage() *gomock.Call
GetPendingUsage indicates an expected call of GetPendingUsage
func (*MockCandidatePropertyGetterMockRecorder) GetQuotaKeys ¶
func (mr *MockCandidatePropertyGetterMockRecorder) GetQuotaKeys(arg0 interface{}) *gomock.Call
GetQuotaKeys indicates an expected call of GetQuotaKeys
func (*MockCandidatePropertyGetterMockRecorder) Host ¶
func (mr *MockCandidatePropertyGetterMockRecorder) Host() *gomock.Call
Host indicates an expected call of Host
func (*MockCandidatePropertyGetterMockRecorder) HostSchedtags ¶
func (mr *MockCandidatePropertyGetterMockRecorder) HostSchedtags() *gomock.Call
HostSchedtags indicates an expected call of HostSchedtags
func (*MockCandidatePropertyGetterMockRecorder) HostStatus ¶
func (mr *MockCandidatePropertyGetterMockRecorder) HostStatus() *gomock.Call
HostStatus indicates an expected call of HostStatus
func (*MockCandidatePropertyGetterMockRecorder) HostType ¶
func (mr *MockCandidatePropertyGetterMockRecorder) HostType() *gomock.Call
HostType indicates an expected call of HostType
func (*MockCandidatePropertyGetterMockRecorder) Id ¶
func (mr *MockCandidatePropertyGetterMockRecorder) Id() *gomock.Call
Id indicates an expected call of Id
func (*MockCandidatePropertyGetterMockRecorder) InstanceGroups ¶
func (mr *MockCandidatePropertyGetterMockRecorder) InstanceGroups() *gomock.Call
InstanceGroups indicates an expected call of InstanceGroups
func (*MockCandidatePropertyGetterMockRecorder) IsEmpty ¶
func (mr *MockCandidatePropertyGetterMockRecorder) IsEmpty() *gomock.Call
IsEmpty indicates an expected call of IsEmpty
func (*MockCandidatePropertyGetterMockRecorder) IsPublic ¶
func (mr *MockCandidatePropertyGetterMockRecorder) IsPublic() *gomock.Call
IsPublic indicates an expected call of IsPublic
func (*MockCandidatePropertyGetterMockRecorder) KeywordPlural ¶
func (mr *MockCandidatePropertyGetterMockRecorder) KeywordPlural() *gomock.Call
KeywordPlural indicates an expected call of KeywordPlural
func (*MockCandidatePropertyGetterMockRecorder) Name ¶
func (mr *MockCandidatePropertyGetterMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name
func (*MockCandidatePropertyGetterMockRecorder) NetInterfaces ¶
func (mr *MockCandidatePropertyGetterMockRecorder) NetInterfaces() *gomock.Call
NetInterfaces indicates an expected call of NetInterfaces
func (*MockCandidatePropertyGetterMockRecorder) Networks ¶
func (mr *MockCandidatePropertyGetterMockRecorder) Networks() *gomock.Call
Networks indicates an expected call of Networks
func (*MockCandidatePropertyGetterMockRecorder) OvnCapable ¶
func (mr *MockCandidatePropertyGetterMockRecorder) OvnCapable() *gomock.Call
OvnCapable indicates an expected call of OvnCapable
func (*MockCandidatePropertyGetterMockRecorder) ProjectGuests ¶
func (mr *MockCandidatePropertyGetterMockRecorder) ProjectGuests() *gomock.Call
ProjectGuests indicates an expected call of ProjectGuests
func (*MockCandidatePropertyGetterMockRecorder) PublicScope ¶
func (mr *MockCandidatePropertyGetterMockRecorder) PublicScope() *gomock.Call
PublicScope indicates an expected call of PublicScope
func (*MockCandidatePropertyGetterMockRecorder) Region ¶
func (mr *MockCandidatePropertyGetterMockRecorder) Region() *gomock.Call
Region indicates an expected call of Region
func (*MockCandidatePropertyGetterMockRecorder) ResourceType ¶
func (mr *MockCandidatePropertyGetterMockRecorder) ResourceType() *gomock.Call
ResourceType indicates an expected call of ResourceType
func (*MockCandidatePropertyGetterMockRecorder) RunningCPUCount ¶
func (mr *MockCandidatePropertyGetterMockRecorder) RunningCPUCount() *gomock.Call
RunningCPUCount indicates an expected call of RunningCPUCount
func (*MockCandidatePropertyGetterMockRecorder) RunningMemorySize ¶
func (mr *MockCandidatePropertyGetterMockRecorder) RunningMemorySize() *gomock.Call
RunningMemorySize indicates an expected call of RunningMemorySize
func (*MockCandidatePropertyGetterMockRecorder) SharedDomains ¶
func (mr *MockCandidatePropertyGetterMockRecorder) SharedDomains() *gomock.Call
SharedDomains indicates an expected call of SharedDomains
func (*MockCandidatePropertyGetterMockRecorder) Sku ¶
func (mr *MockCandidatePropertyGetterMockRecorder) Sku(arg0 interface{}) *gomock.Call
Sku indicates an expected call of Sku
func (*MockCandidatePropertyGetterMockRecorder) Status ¶
func (mr *MockCandidatePropertyGetterMockRecorder) Status() *gomock.Call
Status indicates an expected call of Status
func (*MockCandidatePropertyGetterMockRecorder) StorageInfo ¶
func (mr *MockCandidatePropertyGetterMockRecorder) StorageInfo() *gomock.Call
StorageInfo indicates an expected call of StorageInfo
func (*MockCandidatePropertyGetterMockRecorder) Storages ¶
func (mr *MockCandidatePropertyGetterMockRecorder) Storages() *gomock.Call
Storages indicates an expected call of Storages
func (*MockCandidatePropertyGetterMockRecorder) TotalCPUCount ¶
func (mr *MockCandidatePropertyGetterMockRecorder) TotalCPUCount(arg0 interface{}) *gomock.Call
TotalCPUCount indicates an expected call of TotalCPUCount
func (*MockCandidatePropertyGetterMockRecorder) TotalMemorySize ¶
func (mr *MockCandidatePropertyGetterMockRecorder) TotalMemorySize(arg0 interface{}) *gomock.Call
TotalMemorySize indicates an expected call of TotalMemorySize
func (*MockCandidatePropertyGetterMockRecorder) UnusedGpuDevices ¶
func (mr *MockCandidatePropertyGetterMockRecorder) UnusedGpuDevices() *gomock.Call
UnusedGpuDevices indicates an expected call of UnusedGpuDevices
func (*MockCandidatePropertyGetterMockRecorder) UnusedIsolatedDevices ¶
func (mr *MockCandidatePropertyGetterMockRecorder) UnusedIsolatedDevices() *gomock.Call
UnusedIsolatedDevices indicates an expected call of UnusedIsolatedDevices
func (*MockCandidatePropertyGetterMockRecorder) UnusedIsolatedDevicesByModel ¶
func (mr *MockCandidatePropertyGetterMockRecorder) UnusedIsolatedDevicesByModel(arg0 interface{}) *gomock.Call
UnusedIsolatedDevicesByModel indicates an expected call of UnusedIsolatedDevicesByModel
func (*MockCandidatePropertyGetterMockRecorder) UnusedIsolatedDevicesByModelAndWire ¶
func (mr *MockCandidatePropertyGetterMockRecorder) UnusedIsolatedDevicesByModelAndWire(arg0, arg1 interface{}) *gomock.Call
UnusedIsolatedDevicesByModelAndWire indicates an expected call of UnusedIsolatedDevicesByModelAndWire
func (*MockCandidatePropertyGetterMockRecorder) UnusedIsolatedDevicesByType ¶
func (mr *MockCandidatePropertyGetterMockRecorder) UnusedIsolatedDevicesByType(arg0 interface{}) *gomock.Call
UnusedIsolatedDevicesByType indicates an expected call of UnusedIsolatedDevicesByType
func (*MockCandidatePropertyGetterMockRecorder) UnusedIsolatedDevicesByVendorModel ¶
func (mr *MockCandidatePropertyGetterMockRecorder) UnusedIsolatedDevicesByVendorModel(arg0 interface{}) *gomock.Call
UnusedIsolatedDevicesByVendorModel indicates an expected call of UnusedIsolatedDevicesByVendorModel
func (*MockCandidatePropertyGetterMockRecorder) Zone ¶
func (mr *MockCandidatePropertyGetterMockRecorder) Zone() *gomock.Call
Zone indicates an expected call of Zone
type MockCandidater ¶
type MockCandidater struct {
// contains filtered or unexported fields
}
MockCandidater is a mock of Candidater interface
func NewMockCandidater ¶
func NewMockCandidater(ctrl *gomock.Controller) *MockCandidater
NewMockCandidater creates a new mock instance
func (*MockCandidater) EXPECT ¶
func (m *MockCandidater) EXPECT() *MockCandidaterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockCandidater) GetGuestCount ¶
func (m *MockCandidater) GetGuestCount() int64
GetGuestCount mocks base method
func (*MockCandidater) GetResourceType ¶
func (m *MockCandidater) GetResourceType() string
GetResourceType mocks base method
func (*MockCandidater) GetSchedDesc ¶
func (m *MockCandidater) GetSchedDesc() *jsonutils.JSONDict
GetSchedDesc mocks base method
func (*MockCandidater) Getter ¶
func (m *MockCandidater) Getter() core.CandidatePropertyGetter
Getter mocks base method
func (*MockCandidater) IndexKey ¶
func (m *MockCandidater) IndexKey() string
IndexKey mocks base method
type MockCandidaterMockRecorder ¶
type MockCandidaterMockRecorder struct {
// contains filtered or unexported fields
}
MockCandidaterMockRecorder is the mock recorder for MockCandidater
func (*MockCandidaterMockRecorder) GetGuestCount ¶
func (mr *MockCandidaterMockRecorder) GetGuestCount() *gomock.Call
GetGuestCount indicates an expected call of GetGuestCount
func (*MockCandidaterMockRecorder) GetResourceType ¶
func (mr *MockCandidaterMockRecorder) GetResourceType() *gomock.Call
GetResourceType indicates an expected call of GetResourceType
func (*MockCandidaterMockRecorder) GetSchedDesc ¶
func (mr *MockCandidaterMockRecorder) GetSchedDesc() *gomock.Call
GetSchedDesc indicates an expected call of GetSchedDesc
func (*MockCandidaterMockRecorder) Getter ¶
func (mr *MockCandidaterMockRecorder) Getter() *gomock.Call
Getter indicates an expected call of Getter
func (*MockCandidaterMockRecorder) IndexKey ¶
func (mr *MockCandidaterMockRecorder) IndexKey() *gomock.Call
IndexKey indicates an expected call of IndexKey
func (*MockCandidaterMockRecorder) Type ¶
func (mr *MockCandidaterMockRecorder) Type() *gomock.Call
Type indicates an expected call of Type
type MockINetworkNicCountGetter ¶
type MockINetworkNicCountGetter struct {
// contains filtered or unexported fields
}
MockINetworkNicCountGetter is a mock of INetworkNicCountGetter interface
func NewMockINetworkNicCountGetter ¶
func NewMockINetworkNicCountGetter(ctrl *gomock.Controller) *MockINetworkNicCountGetter
NewMockINetworkNicCountGetter creates a new mock instance
func (*MockINetworkNicCountGetter) EXPECT ¶
func (m *MockINetworkNicCountGetter) EXPECT() *MockINetworkNicCountGetterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockINetworkNicCountGetter) GetTotalNicCount ¶
func (m *MockINetworkNicCountGetter) GetTotalNicCount(arg0 []string) (map[string]int, error)
GetTotalNicCount mocks base method
type MockINetworkNicCountGetterMockRecorder ¶
type MockINetworkNicCountGetterMockRecorder struct {
// contains filtered or unexported fields
}
MockINetworkNicCountGetterMockRecorder is the mock recorder for MockINetworkNicCountGetter
func (*MockINetworkNicCountGetterMockRecorder) GetTotalNicCount ¶
func (mr *MockINetworkNicCountGetterMockRecorder) GetTotalNicCount(arg0 interface{}) *gomock.Call
GetTotalNicCount indicates an expected call of GetTotalNicCount
type MockScheduler ¶
type MockScheduler struct {
// contains filtered or unexported fields
}
MockScheduler is a mock of Scheduler interface
func NewMockScheduler ¶
func NewMockScheduler(ctrl *gomock.Controller) *MockScheduler
NewMockScheduler creates a new mock instance
func (*MockScheduler) BeforePredicate ¶
func (m *MockScheduler) BeforePredicate() error
BeforePredicate mocks base method
func (*MockScheduler) EXPECT ¶
func (m *MockScheduler) EXPECT() *MockSchedulerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockScheduler) Predicates ¶
func (m *MockScheduler) Predicates() (map[string]core.FitPredicate, error)
Predicates mocks base method
func (*MockScheduler) PriorityConfigs ¶
func (m *MockScheduler) PriorityConfigs() ([]core.PriorityConfig, error)
PriorityConfigs mocks base method
type MockSchedulerMockRecorder ¶
type MockSchedulerMockRecorder struct {
// contains filtered or unexported fields
}
MockSchedulerMockRecorder is the mock recorder for MockScheduler
func (*MockSchedulerMockRecorder) BeforePredicate ¶
func (mr *MockSchedulerMockRecorder) BeforePredicate() *gomock.Call
BeforePredicate indicates an expected call of BeforePredicate
func (*MockSchedulerMockRecorder) Predicates ¶
func (mr *MockSchedulerMockRecorder) Predicates() *gomock.Call
Predicates indicates an expected call of Predicates
func (*MockSchedulerMockRecorder) PriorityConfigs ¶
func (mr *MockSchedulerMockRecorder) PriorityConfigs() *gomock.Call
PriorityConfigs indicates an expected call of PriorityConfigs