Documentation ¶
Overview ¶
Package mock_webhook is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockVcsEventClient ¶
type MockVcsEventClient struct {
// contains filtered or unexported fields
}
MockVcsEventClient is a mock of VcsEventClient interface
func NewMockVcsEventClient ¶
func NewMockVcsEventClient(ctrl *gomock.Controller) *MockVcsEventClient
NewMockVcsEventClient creates a new mock instance
func (*MockVcsEventClient) EXPECT ¶
func (m *MockVcsEventClient) EXPECT() *MockVcsEventClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockVcsEventClient) OnPush ¶
func (m *MockVcsEventClient) OnPush(arg0 context.Context, arg1 *webhook.VcsPushEvent, arg2 ...grpc.CallOption) (*empty.Empty, error)
OnPush mocks base method
type MockVcsEventClientMockRecorder ¶
type MockVcsEventClientMockRecorder struct {
// contains filtered or unexported fields
}
MockVcsEventClientMockRecorder is the mock recorder for MockVcsEventClient
func (*MockVcsEventClientMockRecorder) OnPush ¶
func (mr *MockVcsEventClientMockRecorder) OnPush(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
OnPush indicates an expected call of OnPush
type MockVcsEventServer ¶
type MockVcsEventServer struct {
// contains filtered or unexported fields
}
MockVcsEventServer is a mock of VcsEventServer interface
func NewMockVcsEventServer ¶
func NewMockVcsEventServer(ctrl *gomock.Controller) *MockVcsEventServer
NewMockVcsEventServer creates a new mock instance
func (*MockVcsEventServer) EXPECT ¶
func (m *MockVcsEventServer) EXPECT() *MockVcsEventServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockVcsEventServer) OnPush ¶
func (m *MockVcsEventServer) OnPush(arg0 context.Context, arg1 *webhook.VcsPushEvent) (*empty.Empty, error)
OnPush mocks base method
type MockVcsEventServerMockRecorder ¶
type MockVcsEventServerMockRecorder struct {
// contains filtered or unexported fields
}
MockVcsEventServerMockRecorder is the mock recorder for MockVcsEventServer
func (*MockVcsEventServerMockRecorder) OnPush ¶
func (mr *MockVcsEventServerMockRecorder) OnPush(arg0, arg1 interface{}) *gomock.Call
OnPush indicates an expected call of OnPush
Directories ¶
Path | Synopsis |
---|---|
Package mock_bitbucketserver is a generated GoMock package.
|
Package mock_bitbucketserver is a generated GoMock package. |
Package mock_github is a generated GoMock package.
|
Package mock_github is a generated GoMock package. |