Documentation ¶
Overview ¶
Package mock_scm is a generated GoMock package.
Index ¶
- type MockInterface
- func (m *MockInterface) CheckoutPullRequestPayload(payload *scm.Payload) error
- func (m *MockInterface) CheckoutPushPayload(payload *scm.Payload) error
- func (m *MockInterface) Cleanup() error
- func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
- func (m *MockInterface) Init(pipelineData *pipeline.Data, config config.Interface, client *http.Client) error
- func (m *MockInterface) Notify(ref, state, message string) error
- func (m *MockInterface) Publish() error
- func (m *MockInterface) PublishAssets(releaseData interface{}) error
- func (m *MockInterface) RetrievePayload() (*scm.Payload, error)
- type MockInterfaceMockRecorder
- func (mr *MockInterfaceMockRecorder) CheckoutPullRequestPayload(payload interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) CheckoutPushPayload(payload interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) Cleanup() *gomock.Call
- func (mr *MockInterfaceMockRecorder) Init(pipelineData, config, client interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) Notify(ref, state, message interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) Publish() *gomock.Call
- func (mr *MockInterfaceMockRecorder) PublishAssets(releaseData interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) RetrievePayload() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockInterface ¶
type MockInterface struct {
// contains filtered or unexported fields
}
MockInterface is a mock of Interface interface
func NewMockInterface ¶
func NewMockInterface(ctrl *gomock.Controller) *MockInterface
NewMockInterface creates a new mock instance
func (*MockInterface) CheckoutPullRequestPayload ¶
func (m *MockInterface) CheckoutPullRequestPayload(payload *scm.Payload) error
CheckoutPullRequestPayload mocks base method
func (*MockInterface) CheckoutPushPayload ¶
func (m *MockInterface) CheckoutPushPayload(payload *scm.Payload) error
CheckoutPushPayload mocks base method
func (*MockInterface) EXPECT ¶
func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockInterface) Init ¶
func (m *MockInterface) Init(pipelineData *pipeline.Data, config config.Interface, client *http.Client) error
Init mocks base method
func (*MockInterface) Notify ¶
func (m *MockInterface) Notify(ref, state, message string) error
Notify mocks base method
func (*MockInterface) PublishAssets ¶
func (m *MockInterface) PublishAssets(releaseData interface{}) error
PublishAssets mocks base method
func (*MockInterface) RetrievePayload ¶
func (m *MockInterface) RetrievePayload() (*scm.Payload, error)
RetrievePayload mocks base method
type MockInterfaceMockRecorder ¶
type MockInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockInterfaceMockRecorder is the mock recorder for MockInterface
func (*MockInterfaceMockRecorder) CheckoutPullRequestPayload ¶
func (mr *MockInterfaceMockRecorder) CheckoutPullRequestPayload(payload interface{}) *gomock.Call
CheckoutPullRequestPayload indicates an expected call of CheckoutPullRequestPayload
func (*MockInterfaceMockRecorder) CheckoutPushPayload ¶
func (mr *MockInterfaceMockRecorder) CheckoutPushPayload(payload interface{}) *gomock.Call
CheckoutPushPayload indicates an expected call of CheckoutPushPayload
func (*MockInterfaceMockRecorder) Cleanup ¶
func (mr *MockInterfaceMockRecorder) Cleanup() *gomock.Call
Cleanup indicates an expected call of Cleanup
func (*MockInterfaceMockRecorder) Init ¶
func (mr *MockInterfaceMockRecorder) Init(pipelineData, config, client interface{}) *gomock.Call
Init indicates an expected call of Init
func (*MockInterfaceMockRecorder) Notify ¶
func (mr *MockInterfaceMockRecorder) Notify(ref, state, message interface{}) *gomock.Call
Notify indicates an expected call of Notify
func (*MockInterfaceMockRecorder) Publish ¶
func (mr *MockInterfaceMockRecorder) Publish() *gomock.Call
Publish indicates an expected call of Publish
func (*MockInterfaceMockRecorder) PublishAssets ¶
func (mr *MockInterfaceMockRecorder) PublishAssets(releaseData interface{}) *gomock.Call
PublishAssets indicates an expected call of PublishAssets
func (*MockInterfaceMockRecorder) RetrievePayload ¶
func (mr *MockInterfaceMockRecorder) RetrievePayload() *gomock.Call
RetrievePayload indicates an expected call of RetrievePayload