tests

package
v0.0.0-...-67dc25f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 3, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TwoEqualQueueConfigEnabledPreemption = `` /* 533-byte string literal not displayed */

Functions

This section is empty.

Types

type MockRMCallbackHandler

type MockRMCallbackHandler struct {
	Allocations map[string]*si.Allocation
	// contains filtered or unexported fields
}

func NewMockRMCallbackHandler

func NewMockRMCallbackHandler(t testing.TB) *MockRMCallbackHandler

func (*MockRMCallbackHandler) EvalPredicates

func (m *MockRMCallbackHandler) EvalPredicates(name string, node string) error

func (*MockRMCallbackHandler) RecvUpdateResponse

func (m *MockRMCallbackHandler) RecvUpdateResponse(response *si.UpdateResponse) error

type MockScheduler

type MockScheduler struct {
	// contains filtered or unexported fields
}

func (*MockScheduler) AddApp

func (m *MockScheduler) AddApp(appID string, queue string, partition string)

func (*MockScheduler) AddNode

func (m *MockScheduler) AddNode(nodeID string, resource *si.Resource)

func (*MockScheduler) GetSchedulingQueue

func (m *MockScheduler) GetSchedulingQueue(queue string) *scheduler.SchedulingQueue

func (*MockScheduler) Init

func (m *MockScheduler) Init(t *testing.T, config string)

func (*MockScheduler) Stop

func (m *MockScheduler) Stop()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL