Documentation ¶
Overview ¶
Package genscheduler is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockVolumeScheduler ¶
type MockVolumeScheduler struct {
// contains filtered or unexported fields
}
MockVolumeScheduler is a mock of VolumeScheduler interface.
func NewMockVolumeScheduler ¶
func NewMockVolumeScheduler(ctrl *gomock.Controller) *MockVolumeScheduler
NewMockVolumeScheduler creates a new mock instance.
func (*MockVolumeScheduler) CSIDriverName ¶
func (m *MockVolumeScheduler) CSIDriverName() string
CSIDriverName mocks base method.
func (*MockVolumeScheduler) EXPECT ¶
func (m *MockVolumeScheduler) EXPECT() *MockVolumeSchedulerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockVolumeScheduler) Filter ¶
func (m *MockVolumeScheduler) Filter(existingLocalVolume []string, unboundPVCs []*v1.PersistentVolumeClaim, node *v1.Node) (bool, error)
Filter mocks base method.
type MockVolumeSchedulerMockRecorder ¶
type MockVolumeSchedulerMockRecorder struct {
// contains filtered or unexported fields
}
MockVolumeSchedulerMockRecorder is the mock recorder for MockVolumeScheduler.
func (*MockVolumeSchedulerMockRecorder) CSIDriverName ¶
func (mr *MockVolumeSchedulerMockRecorder) CSIDriverName() *gomock.Call
CSIDriverName indicates an expected call of CSIDriverName.
func (*MockVolumeSchedulerMockRecorder) Filter ¶
func (mr *MockVolumeSchedulerMockRecorder) Filter(existingLocalVolume, unboundPVCs, node interface{}) *gomock.Call
Filter indicates an expected call of Filter.
Click to show internal directories.
Click to hide internal directories.