Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockDrone
- func (m *MockDrone) EXPECT() *MockDroneMockRecorder
- func (m *MockDrone) PromoteLastBuild(arg0, arg1, arg2 string) (*core.Build, error)
- func (m *MockDrone) PromoteLastTag(arg0, arg1 string) (*core.Build, error)
- func (m *MockDrone) RebuildLastBuild(arg0, arg1 string) (*core.Build, error)
- func (m *MockDrone) RebuildLastTag(arg0 string) (*core.Build, error)
- type MockDroneMockRecorder
- func (mr *MockDroneMockRecorder) PromoteLastBuild(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDroneMockRecorder) PromoteLastTag(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDroneMockRecorder) RebuildLastBuild(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDroneMockRecorder) RebuildLastTag(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDrone ¶
type MockDrone struct {
// contains filtered or unexported fields
}
MockDrone is a mock of Drone interface.
func NewMockDrone ¶
func NewMockDrone(ctrl *gomock.Controller) *MockDrone
NewMockDrone creates a new mock instance.
func (*MockDrone) EXPECT ¶
func (m *MockDrone) EXPECT() *MockDroneMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDrone) PromoteLastBuild ¶ added in v0.2.8
PromoteLastBuild mocks base method.
func (*MockDrone) PromoteLastTag ¶ added in v0.2.8
PromoteLastTag mocks base method.
func (*MockDrone) RebuildLastBuild ¶
RebuildLastBuild mocks base method.
type MockDroneMockRecorder ¶
type MockDroneMockRecorder struct {
// contains filtered or unexported fields
}
MockDroneMockRecorder is the mock recorder for MockDrone.
func (*MockDroneMockRecorder) PromoteLastBuild ¶ added in v0.2.8
func (mr *MockDroneMockRecorder) PromoteLastBuild(arg0, arg1, arg2 interface{}) *gomock.Call
PromoteLastBuild indicates an expected call of PromoteLastBuild.
func (*MockDroneMockRecorder) PromoteLastTag ¶ added in v0.2.8
func (mr *MockDroneMockRecorder) PromoteLastTag(arg0, arg1 interface{}) *gomock.Call
PromoteLastTag indicates an expected call of PromoteLastTag.
func (*MockDroneMockRecorder) RebuildLastBuild ¶
func (mr *MockDroneMockRecorder) RebuildLastBuild(arg0, arg1 interface{}) *gomock.Call
RebuildLastBuild indicates an expected call of RebuildLastBuild.
func (*MockDroneMockRecorder) RebuildLastTag ¶ added in v0.2.5
func (mr *MockDroneMockRecorder) RebuildLastTag(arg0 interface{}) *gomock.Call
RebuildLastTag indicates an expected call of RebuildLastTag.
Click to show internal directories.
Click to hide internal directories.