mock_scm

package
v2.0.8+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 30, 2017 License: MIT Imports: 5 Imported by: 0

Documentation

Index

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) Cleanup

func (_m *MockInterface) Cleanup() error

Cleanup mocks base method

func (*MockInterface) EXPECT

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 string, state string, message string) error

Notify mocks base method

func (*MockInterface) Publish

func (_m *MockInterface) Publish() error

Publish 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(arg0 interface{}) *gomock.Call

CheckoutPullRequestPayload indicates an expected call of CheckoutPullRequestPayload

func (*MockInterfaceMockRecorder) CheckoutPushPayload

func (_mr *MockInterfaceMockRecorder) CheckoutPushPayload(arg0 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(arg0, arg1, arg2 interface{}) *gomock.Call

Init indicates an expected call of Init

func (*MockInterfaceMockRecorder) Notify

func (_mr *MockInterfaceMockRecorder) Notify(arg0, arg1, arg2 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(arg0 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL