func (m *MockInspector) Cancel(reason string) bool {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Cancel", reason)
	ret0, _ := ret[0].(bool)
	return ret0
}
Cancel mocks base method
package diskmocks
import (
	reflect "reflect"
	gomock "github.com/golang/mock/gomock"
	pb "github.com/GoogleCloudPlatform/compute-image-tools/proto/go/pb"
)
type MockInspector struct {
	ctrl     *gomock.Controller
	recorder *MockInspectorMockRecorder
}
type MockInspectorMockRecorder struct {
	mock *MockInspector
}
func NewMockInspector(ctrl *gomock.Controller) *MockInspector {
	mock := &MockInspector{ctrl: ctrl}
	mock.recorder = &MockInspectorMockRecorder{mock}
	return mock
}
func (m *MockInspector) EXPECT() *MockInspectorMockRecorder {
	return m.recorder
}
func (m *MockInspector) Inspect(reference string) (*pb.InspectionResults, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Inspect", reference)
	ret0, _ := ret[0].(*pb.InspectionResults)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}
func (mr *MockInspectorMockRecorder) Inspect(reference interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Inspect", reflect.TypeOf((*MockInspector)(nil).Inspect), reference)
}