mock_lifecycle

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 24, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock_lifecycle is a generated GoMock package.

Index

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) AddPod

func (m *MockCache) AddPod(arg0 lifecycle.Job) error

AddPod mocks base method

func (*MockCache) AllAdded

func (m *MockCache) AllAdded(arg0 string) error

AllAdded mocks base method

func (*MockCache) Config

func (m *MockCache) Config() config.Config

Config mocks base method

func (*MockCache) EXPECT

func (m *MockCache) EXPECT() *MockCacheMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockCache) Has

func (m *MockCache) Has(arg0, arg1 string) bool

Has mocks base method

func (*MockCache) NewExecution

func (m *MockCache) NewExecution() string

NewExecution mocks base method

func (*MockCache) PodTerminated

func (m *MockCache) PodTerminated(arg0, arg1 string, arg2 v1.PodPhase) error

PodTerminated mocks base method

func (*MockCache) ReportReceived

func (m *MockCache) ReportReceived(arg0, arg1 string, arg2 error, arg3 lifecycle.Results)

ReportReceived 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL