Documentation ¶
Index ¶
- type MockResourceManagerCallback
- func (f *MockResourceManagerCallback) GetStateDump() (string, error)
- func (f *MockResourceManagerCallback) Predicates(args *si.PredicatesArgs) error
- func (f *MockResourceManagerCallback) PreemptionPredicates(args *si.PreemptionPredicatesArgs) *si.PreemptionPredicatesResponse
- func (f *MockResourceManagerCallback) SendEvent(events []*si.EventRecord)
- func (f *MockResourceManagerCallback) UpdateAllocation(response *si.AllocationResponse) error
- func (f *MockResourceManagerCallback) UpdateApplication(response *si.ApplicationResponse) error
- func (f *MockResourceManagerCallback) UpdateContainerSchedulingState(request *si.UpdateContainerSchedulingStateRequest)
- func (f *MockResourceManagerCallback) UpdateNode(response *si.NodeResponse) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockResourceManagerCallback ¶
type MockResourceManagerCallback struct{}
func (*MockResourceManagerCallback) GetStateDump ¶ added in v1.2.0
func (f *MockResourceManagerCallback) GetStateDump() (string, error)
func (*MockResourceManagerCallback) Predicates ¶
func (f *MockResourceManagerCallback) Predicates(args *si.PredicatesArgs) error
func (*MockResourceManagerCallback) PreemptionPredicates ¶ added in v1.3.0
func (f *MockResourceManagerCallback) PreemptionPredicates(args *si.PreemptionPredicatesArgs) *si.PreemptionPredicatesResponse
func (*MockResourceManagerCallback) SendEvent ¶
func (f *MockResourceManagerCallback) SendEvent(events []*si.EventRecord)
func (*MockResourceManagerCallback) UpdateAllocation ¶
func (f *MockResourceManagerCallback) UpdateAllocation(response *si.AllocationResponse) error
func (*MockResourceManagerCallback) UpdateApplication ¶
func (f *MockResourceManagerCallback) UpdateApplication(response *si.ApplicationResponse) error
func (*MockResourceManagerCallback) UpdateContainerSchedulingState ¶
func (f *MockResourceManagerCallback) UpdateContainerSchedulingState(request *si.UpdateContainerSchedulingStateRequest)
func (*MockResourceManagerCallback) UpdateNode ¶
func (f *MockResourceManagerCallback) UpdateNode(response *si.NodeResponse) error
Click to show internal directories.
Click to hide internal directories.