Documentation ¶
Overview ¶
Package mock_lifecycle is a generated GoMock package.
Index ¶
- type MockCache
- func (m *MockCache) AddPod(arg0 lifecycle.Job) error
- func (m *MockCache) AllAdded(arg0 string) error
- func (m *MockCache) Config() config.Config
- func (m *MockCache) EXPECT() *MockCacheMockRecorder
- func (m *MockCache) Has(arg0, arg1 string) bool
- func (m *MockCache) NewExecution() string
- func (m *MockCache) PodTerminated(arg0, arg1 string, arg2 v1.PodPhase) error
- func (m *MockCache) ReportReceived(arg0, arg1 string, arg2 error, arg3 lifecycle.Results)
- type MockCacheMockRecorder
- func (mr *MockCacheMockRecorder) AddPod(arg0 interface{}) *gomock.Call
- func (mr *MockCacheMockRecorder) AllAdded(arg0 interface{}) *gomock.Call
- func (mr *MockCacheMockRecorder) Config() *gomock.Call
- func (mr *MockCacheMockRecorder) Has(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCacheMockRecorder) NewExecution() *gomock.Call
- func (mr *MockCacheMockRecorder) PodTerminated(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockCacheMockRecorder) ReportReceived(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCache ¶
type MockCache struct {
// contains filtered or unexported fields
}
MockCache is a mock of Cache interface
func NewMockCache ¶
func NewMockCache(ctrl *gomock.Controller) *MockCache
NewMockCache creates a new mock instance
func (*MockCache) EXPECT ¶
func (m *MockCache) EXPECT() *MockCacheMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockCache) NewExecution ¶
NewExecution mocks base method
func (*MockCache) PodTerminated ¶
PodTerminated mocks base method
type MockCacheMockRecorder ¶
type MockCacheMockRecorder struct {
// contains filtered or unexported fields
}
MockCacheMockRecorder is the mock recorder for MockCache
func (*MockCacheMockRecorder) AddPod ¶
func (mr *MockCacheMockRecorder) AddPod(arg0 interface{}) *gomock.Call
AddPod indicates an expected call of AddPod
func (*MockCacheMockRecorder) AllAdded ¶
func (mr *MockCacheMockRecorder) AllAdded(arg0 interface{}) *gomock.Call
AllAdded indicates an expected call of AllAdded
func (*MockCacheMockRecorder) Config ¶
func (mr *MockCacheMockRecorder) Config() *gomock.Call
Config indicates an expected call of Config
func (*MockCacheMockRecorder) Has ¶
func (mr *MockCacheMockRecorder) Has(arg0, arg1 interface{}) *gomock.Call
Has indicates an expected call of Has
func (*MockCacheMockRecorder) NewExecution ¶
func (mr *MockCacheMockRecorder) NewExecution() *gomock.Call
NewExecution indicates an expected call of NewExecution
func (*MockCacheMockRecorder) PodTerminated ¶
func (mr *MockCacheMockRecorder) PodTerminated(arg0, arg1, arg2 interface{}) *gomock.Call
PodTerminated indicates an expected call of PodTerminated
func (*MockCacheMockRecorder) ReportReceived ¶
func (mr *MockCacheMockRecorder) ReportReceived(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
ReportReceived indicates an expected call of ReportReceived