kubernetes/pkg/kubelet/container/testing/mockdirentry.go

type MockDirEntry

type MockDirEntry_Expecter

func (_m *MockDirEntry) EXPECT() *MockDirEntry_Expecter {}

// Info provides a mock function with given fields:
func (_m *MockDirEntry) Info() (fs.FileInfo, error) {}

type MockDirEntry_Info_Call

// Info is a helper method to define mock.On call
func (_e *MockDirEntry_Expecter) Info() *MockDirEntry_Info_Call {}

func (_c *MockDirEntry_Info_Call) Run(run func()) *MockDirEntry_Info_Call {}

func (_c *MockDirEntry_Info_Call) Return(_a0 fs.FileInfo, _a1 error) *MockDirEntry_Info_Call {}

func (_c *MockDirEntry_Info_Call) RunAndReturn(run func() (fs.FileInfo, error)) *MockDirEntry_Info_Call {}

// IsDir provides a mock function with given fields:
func (_m *MockDirEntry) IsDir() bool {}

type MockDirEntry_IsDir_Call

// IsDir is a helper method to define mock.On call
func (_e *MockDirEntry_Expecter) IsDir() *MockDirEntry_IsDir_Call {}

func (_c *MockDirEntry_IsDir_Call) Run(run func()) *MockDirEntry_IsDir_Call {}

func (_c *MockDirEntry_IsDir_Call) Return(_a0 bool) *MockDirEntry_IsDir_Call {}

func (_c *MockDirEntry_IsDir_Call) RunAndReturn(run func() bool) *MockDirEntry_IsDir_Call {}

// Name provides a mock function with given fields:
func (_m *MockDirEntry) Name() string {}

type MockDirEntry_Name_Call

// Name is a helper method to define mock.On call
func (_e *MockDirEntry_Expecter) Name() *MockDirEntry_Name_Call {}

func (_c *MockDirEntry_Name_Call) Run(run func()) *MockDirEntry_Name_Call {}

func (_c *MockDirEntry_Name_Call) Return(_a0 string) *MockDirEntry_Name_Call {}

func (_c *MockDirEntry_Name_Call) RunAndReturn(run func() string) *MockDirEntry_Name_Call {}

// Type provides a mock function with given fields:
func (_m *MockDirEntry) Type() fs.FileMode {}

type MockDirEntry_Type_Call

// Type is a helper method to define mock.On call
func (_e *MockDirEntry_Expecter) Type() *MockDirEntry_Type_Call {}

func (_c *MockDirEntry_Type_Call) Run(run func()) *MockDirEntry_Type_Call {}

func (_c *MockDirEntry_Type_Call) Return(_a0 fs.FileMode) *MockDirEntry_Type_Call {}

func (_c *MockDirEntry_Type_Call) RunAndReturn(run func() fs.FileMode) *MockDirEntry_Type_Call {}

// NewMockDirEntry creates a new instance of MockDirEntry. 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 NewMockDirEntry(t interface {}