kubernetes/pkg/kubelet/eviction/mock_notifier_factory_test.go

type MockNotifierFactory

type MockNotifierFactory_Expecter

func (_m *MockNotifierFactory) EXPECT() *MockNotifierFactory_Expecter {}

// NewCgroupNotifier provides a mock function with given fields: path, attribute, threshold
func (_m *MockNotifierFactory) NewCgroupNotifier(path string, attribute string, threshold int64) (CgroupNotifier, error) {}

type MockNotifierFactory_NewCgroupNotifier_Call

// NewCgroupNotifier is a helper method to define mock.On call
//   - path string
//   - attribute string
//   - threshold int64
func (_e *MockNotifierFactory_Expecter) NewCgroupNotifier(path interface{}

func (_c *MockNotifierFactory_NewCgroupNotifier_Call) Run(run func(path string, attribute string, threshold int64)) *MockNotifierFactory_NewCgroupNotifier_Call {}

func (_c *MockNotifierFactory_NewCgroupNotifier_Call) Return(_a0 CgroupNotifier, _a1 error) *MockNotifierFactory_NewCgroupNotifier_Call {}

func (_c *MockNotifierFactory_NewCgroupNotifier_Call) RunAndReturn(run func(string, string, int64) (CgroupNotifier, error)) *MockNotifierFactory_NewCgroupNotifier_Call {}

// NewMockNotifierFactory creates a new instance of MockNotifierFactory. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
// The first argument is typically a *testing.T value.
func NewMockNotifierFactory(t interface {}