This repository has been archived by the owner on Jun 18, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
image.go
58 lines (48 loc) · 1.71 KB
/
image.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
// Code generated by MockGen. DO NOT EDIT.
// Source: github.com/sclevine/forge (interfaces: forgeImage)
// Package mocks is a generated GoMock package.
package mocks
import (
gomock "github.com/golang/mock/gomock"
engine "github.com/sclevine/forge/engine"
reflect "reflect"
)
// MockImage is a mock of forgeImage interface
type MockImage struct {
ctrl *gomock.Controller
recorder *MockImageMockRecorder
}
// MockImageMockRecorder is the mock recorder for MockImage
type MockImageMockRecorder struct {
mock *MockImage
}
// NewMockImage creates a new mock instance
func NewMockImage(ctrl *gomock.Controller) *MockImage {
mock := &MockImage{ctrl: ctrl}
mock.recorder = &MockImageMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use
func (m *MockImage) EXPECT() *MockImageMockRecorder {
return m.recorder
}
// Build mocks base method
func (m *MockImage) Build(arg0 string, arg1 engine.Stream) <-chan engine.Progress {
ret := m.ctrl.Call(m, "Build", arg0, arg1)
ret0, _ := ret[0].(<-chan engine.Progress)
return ret0
}
// Build indicates an expected call of Build
func (mr *MockImageMockRecorder) Build(arg0, arg1 interface{}) *gomock.Call {
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Build", reflect.TypeOf((*MockImage)(nil).Build), arg0, arg1)
}
// Pull mocks base method
func (m *MockImage) Pull(arg0 string) <-chan engine.Progress {
ret := m.ctrl.Call(m, "Pull", arg0)
ret0, _ := ret[0].(<-chan engine.Progress)
return ret0
}
// Pull indicates an expected call of Pull
func (mr *MockImageMockRecorder) Pull(arg0 interface{}) *gomock.Call {
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Pull", reflect.TypeOf((*MockImage)(nil).Pull), arg0)
}