kubernetes/pkg/kubelet/status/testing/mock_pod_status_provider.go

type MockPodStatusProvider

type MockPodStatusProvider_Expecter

func (_m *MockPodStatusProvider) EXPECT() *MockPodStatusProvider_Expecter {}

// GetPodStatus provides a mock function with given fields: uid
func (_m *MockPodStatusProvider) GetPodStatus(uid types.UID) (v1.PodStatus, bool) {}

type MockPodStatusProvider_GetPodStatus_Call

// GetPodStatus is a helper method to define mock.On call
//   - uid types.UID
func (_e *MockPodStatusProvider_Expecter) GetPodStatus(uid interface{}

func (_c *MockPodStatusProvider_GetPodStatus_Call) Run(run func(uid types.UID)) *MockPodStatusProvider_GetPodStatus_Call {}

func (_c *MockPodStatusProvider_GetPodStatus_Call) Return(_a0 v1.PodStatus, _a1 bool) *MockPodStatusProvider_GetPodStatus_Call {}

func (_c *MockPodStatusProvider_GetPodStatus_Call) RunAndReturn(run func(types.UID) (v1.PodStatus, bool)) *MockPodStatusProvider_GetPodStatus_Call {}

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