mock

package
v0.0.0-...-e99cc0b Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBatcher

type MockBatcher struct {
	// contains filtered or unexported fields
}

MockBatcher is a mock of Batcher interface

func NewMockBatcher

func NewMockBatcher(ctrl *gomock.Controller) *MockBatcher

NewMockBatcher creates a new mock instance

func (*MockBatcher) Batch

func (m *MockBatcher) Batch(arg0 context.Context, arg1 *core.User, arg2 *core.Batch) error

Batch mocks base method

func (*MockBatcher) EXPECT

func (m *MockBatcher) EXPECT() *MockBatcherMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

type MockBatcherMockRecorder

type MockBatcherMockRecorder struct {
	// contains filtered or unexported fields
}

MockBatcherMockRecorder is the mock recorder for MockBatcher

func (*MockBatcherMockRecorder) Batch

func (mr *MockBatcherMockRecorder) Batch(arg0, arg1, arg2 interface{}) *gomock.Call

Batch indicates an expected call of Batch

type MockBuildStore

type MockBuildStore struct {
	// contains filtered or unexported fields
}

MockBuildStore is a mock of BuildStore interface

func NewMockBuildStore

func NewMockBuildStore(ctrl *gomock.Controller) *MockBuildStore

NewMockBuildStore creates a new mock instance

func (*MockBuildStore) Count

func (m *MockBuildStore) Count(arg0 context.Context) (int64, error)

Count mocks base method

func (*MockBuildStore) Create

func (m *MockBuildStore) Create(arg0 context.Context, arg1 *core.Build, arg2 []*core.Stage) error

Create mocks base method

func (*MockBuildStore) Delete

func (m *MockBuildStore) Delete(arg0 context.Context, arg1 *core.Build) error

Delete mocks base method

func (*MockBuildStore) DeleteBranch

func (m *MockBuildStore) DeleteBranch(arg0 context.Context, arg1 int64, arg2 string) error

DeleteBranch mocks base method

func (*MockBuildStore) DeleteDeploy

func (m *MockBuildStore) DeleteDeploy(arg0 context.Context, arg1 int64, arg2 string) error

DeleteDeploy mocks base method

func (*MockBuildStore) DeletePull

func (m *MockBuildStore) DeletePull(arg0 context.Context, arg1 int64, arg2 int) error

DeletePull mocks base method

func (*MockBuildStore) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockBuildStore) Find

func (m *MockBuildStore) Find(arg0 context.Context, arg1 int64) (*core.Build, error)

Find mocks base method

func (*MockBuildStore) FindNumber

func (m *MockBuildStore) FindNumber(arg0 context.Context, arg1, arg2 int64) (*core.Build, error)

FindNumber mocks base method

func (*MockBuildStore) FindRef

func (m *MockBuildStore) FindRef(arg0 context.Context, arg1 int64, arg2 string) (*core.Build, error)

FindRef mocks base method

func (*MockBuildStore) LatestBranches

func (m *MockBuildStore) LatestBranches(arg0 context.Context, arg1 int64) ([]*core.Build, error)

LatestBranches mocks base method

func (*MockBuildStore) LatestDeploys

func (m *MockBuildStore) LatestDeploys(arg0 context.Context, arg1 int64) ([]*core.Build, error)

LatestDeploys mocks base method

func (*MockBuildStore) LatestPulls

func (m *MockBuildStore) LatestPulls(arg0 context.Context, arg1 int64) ([]*core.Build, error)

LatestPulls mocks base method

func (*MockBuildStore) List

func (m *MockBuildStore) List(arg0 context.Context, arg1 int64, arg2, arg3 int) ([]*core.Build, error)

List mocks base method

func (*MockBuildStore) ListRef

func (m *MockBuildStore) ListRef(arg0 context.Context, arg1 int64, arg2 string, arg3, arg4 int) ([]*core.Build, error)

ListRef mocks base method

func (*MockBuildStore) Pending

func (m *MockBuildStore) Pending(arg0 context.Context) ([]*core.Build, error)

Pending mocks base method

func (*MockBuildStore) Purge

func (m *MockBuildStore) Purge(arg0 context.Context, arg1, arg2 int64) error

Purge mocks base method

func (*MockBuildStore) Running

func (m *MockBuildStore) Running(arg0 context.Context) ([]*core.Build, error)

Running mocks base method

func (*MockBuildStore) Update

func (m *MockBuildStore) Update(arg0 context.Context, arg1 *core.Build) error

Update mocks base method

type MockBuildStoreMockRecorder

type MockBuildStoreMockRecorder struct {
	// contains filtered or unexported fields
}

MockBuildStoreMockRecorder is the mock recorder for MockBuildStore

func (*MockBuildStoreMockRecorder) Count

func (mr *MockBuildStoreMockRecorder) Count(arg0 interface{}) *gomock.Call

Count indicates an expected call of Count

func (*MockBuildStoreMockRecorder) Create

func (mr *MockBuildStoreMockRecorder) Create(arg0, arg1, arg2 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockBuildStoreMockRecorder) Delete

func (mr *MockBuildStoreMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockBuildStoreMockRecorder) DeleteBranch

func (mr *MockBuildStoreMockRecorder) DeleteBranch(arg0, arg1, arg2 interface{}) *gomock.Call

DeleteBranch indicates an expected call of DeleteBranch

func (*MockBuildStoreMockRecorder) DeleteDeploy

func (mr *MockBuildStoreMockRecorder) DeleteDeploy(arg0, arg1, arg2 interface{}) *gomock.Call

DeleteDeploy indicates an expected call of DeleteDeploy

func (*MockBuildStoreMockRecorder) DeletePull

func (mr *MockBuildStoreMockRecorder) DeletePull(arg0, arg1, arg2 interface{}) *gomock.Call

DeletePull indicates an expected call of DeletePull

func (*MockBuildStoreMockRecorder) Find

func (mr *MockBuildStoreMockRecorder) Find(arg0, arg1 interface{}) *gomock.Call

Find indicates an expected call of Find

func (*MockBuildStoreMockRecorder) FindNumber

func (mr *MockBuildStoreMockRecorder) FindNumber(arg0, arg1, arg2 interface{}) *gomock.Call

FindNumber indicates an expected call of FindNumber

func (*MockBuildStoreMockRecorder) FindRef

func (mr *MockBuildStoreMockRecorder) FindRef(arg0, arg1, arg2 interface{}) *gomock.Call

FindRef indicates an expected call of FindRef

func (*MockBuildStoreMockRecorder) LatestBranches

func (mr *MockBuildStoreMockRecorder) LatestBranches(arg0, arg1 interface{}) *gomock.Call

LatestBranches indicates an expected call of LatestBranches

func (*MockBuildStoreMockRecorder) LatestDeploys

func (mr *MockBuildStoreMockRecorder) LatestDeploys(arg0, arg1 interface{}) *gomock.Call

LatestDeploys indicates an expected call of LatestDeploys

func (*MockBuildStoreMockRecorder) LatestPulls

func (mr *MockBuildStoreMockRecorder) LatestPulls(arg0, arg1 interface{}) *gomock.Call

LatestPulls indicates an expected call of LatestPulls

func (*MockBuildStoreMockRecorder) List

func (mr *MockBuildStoreMockRecorder) List(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

List indicates an expected call of List

func (*MockBuildStoreMockRecorder) ListRef

func (mr *MockBuildStoreMockRecorder) ListRef(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

ListRef indicates an expected call of ListRef

func (*MockBuildStoreMockRecorder) Pending

func (mr *MockBuildStoreMockRecorder) Pending(arg0 interface{}) *gomock.Call

Pending indicates an expected call of Pending

func (*MockBuildStoreMockRecorder) Purge

func (mr *MockBuildStoreMockRecorder) Purge(arg0, arg1, arg2 interface{}) *gomock.Call

Purge indicates an expected call of Purge

func (*MockBuildStoreMockRecorder) Running

func (mr *MockBuildStoreMockRecorder) Running(arg0 interface{}) *gomock.Call

Running indicates an expected call of Running

func (*MockBuildStoreMockRecorder) Update

func (mr *MockBuildStoreMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call

Update indicates an expected call of Update

type MockCanceler

type MockCanceler struct {
	// contains filtered or unexported fields
}

MockCanceler is a mock of Canceler interface

func NewMockCanceler

func NewMockCanceler(ctrl *gomock.Controller) *MockCanceler

NewMockCanceler creates a new mock instance

func (*MockCanceler) Cancel

func (m *MockCanceler) Cancel(arg0 context.Context, arg1 *core.Repository, arg2 *core.Build) error

Cancel mocks base method

func (*MockCanceler) CancelPending

func (m *MockCanceler) CancelPending(arg0 context.Context, arg1 *core.Repository, arg2 *core.Build) error

CancelPending mocks base method

func (*MockCanceler) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

type MockCancelerMockRecorder

type MockCancelerMockRecorder struct {
	// contains filtered or unexported fields
}

MockCancelerMockRecorder is the mock recorder for MockCanceler

func (*MockCancelerMockRecorder) Cancel

func (mr *MockCancelerMockRecorder) Cancel(arg0, arg1, arg2 interface{}) *gomock.Call

Cancel indicates an expected call of Cancel

func (*MockCancelerMockRecorder) CancelPending

func (mr *MockCancelerMockRecorder) CancelPending(arg0, arg1, arg2 interface{}) *gomock.Call

CancelPending indicates an expected call of CancelPending

type MockCommitService

type MockCommitService struct {
	// contains filtered or unexported fields
}

MockCommitService is a mock of CommitService interface

func NewMockCommitService

func NewMockCommitService(ctrl *gomock.Controller) *MockCommitService

NewMockCommitService creates a new mock instance

func (*MockCommitService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockCommitService) Find

func (m *MockCommitService) Find(arg0 context.Context, arg1 *core.User, arg2, arg3 string) (*core.Commit, error)

Find mocks base method

func (*MockCommitService) FindRef

func (m *MockCommitService) FindRef(arg0 context.Context, arg1 *core.User, arg2, arg3 string) (*core.Commit, error)

FindRef mocks base method

func (*MockCommitService) ListChanges

func (m *MockCommitService) ListChanges(arg0 context.Context, arg1 *core.User, arg2, arg3, arg4 string) ([]*core.Change, error)

ListChanges mocks base method

type MockCommitServiceMockRecorder

type MockCommitServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockCommitServiceMockRecorder is the mock recorder for MockCommitService

func (*MockCommitServiceMockRecorder) Find

func (mr *MockCommitServiceMockRecorder) Find(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

Find indicates an expected call of Find

func (*MockCommitServiceMockRecorder) FindRef

func (mr *MockCommitServiceMockRecorder) FindRef(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

FindRef indicates an expected call of FindRef

func (*MockCommitServiceMockRecorder) ListChanges

func (mr *MockCommitServiceMockRecorder) ListChanges(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

ListChanges indicates an expected call of ListChanges

type MockConfigService

type MockConfigService struct {
	// contains filtered or unexported fields
}

MockConfigService is a mock of ConfigService interface

func NewMockConfigService

func NewMockConfigService(ctrl *gomock.Controller) *MockConfigService

NewMockConfigService creates a new mock instance

func (*MockConfigService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockConfigService) Find

func (m *MockConfigService) Find(arg0 context.Context, arg1 *core.ConfigArgs) (*core.Config, error)

Find mocks base method

type MockConfigServiceMockRecorder

type MockConfigServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockConfigServiceMockRecorder is the mock recorder for MockConfigService

func (*MockConfigServiceMockRecorder) Find

func (mr *MockConfigServiceMockRecorder) Find(arg0, arg1 interface{}) *gomock.Call

Find indicates an expected call of Find

type MockConvertService

type MockConvertService struct {
	// contains filtered or unexported fields
}

MockConvertService is a mock of ConvertService interface

func NewMockConvertService

func NewMockConvertService(ctrl *gomock.Controller) *MockConvertService

NewMockConvertService creates a new mock instance

func (*MockConvertService) Convert

func (m *MockConvertService) Convert(arg0 context.Context, arg1 *core.ConvertArgs) (*core.Config, error)

Convert mocks base method

func (*MockConvertService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

type MockConvertServiceMockRecorder

type MockConvertServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockConvertServiceMockRecorder is the mock recorder for MockConvertService

func (*MockConvertServiceMockRecorder) Convert

func (mr *MockConvertServiceMockRecorder) Convert(arg0, arg1 interface{}) *gomock.Call

Convert indicates an expected call of Convert

type MockCronStore

type MockCronStore struct {
	// contains filtered or unexported fields
}

MockCronStore is a mock of CronStore interface

func NewMockCronStore

func NewMockCronStore(ctrl *gomock.Controller) *MockCronStore

NewMockCronStore creates a new mock instance

func (*MockCronStore) Create

func (m *MockCronStore) Create(arg0 context.Context, arg1 *core.Cron) error

Create mocks base method

func (*MockCronStore) Delete

func (m *MockCronStore) Delete(arg0 context.Context, arg1 *core.Cron) error

Delete mocks base method

func (*MockCronStore) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockCronStore) Find

func (m *MockCronStore) Find(arg0 context.Context, arg1 int64) (*core.Cron, error)

Find mocks base method

func (*MockCronStore) FindName

func (m *MockCronStore) FindName(arg0 context.Context, arg1 int64, arg2 string) (*core.Cron, error)

FindName mocks base method

func (*MockCronStore) List

func (m *MockCronStore) List(arg0 context.Context, arg1 int64) ([]*core.Cron, error)

List mocks base method

func (*MockCronStore) Ready

func (m *MockCronStore) Ready(arg0 context.Context, arg1 int64) ([]*core.Cron, error)

Ready mocks base method

func (*MockCronStore) Update

func (m *MockCronStore) Update(arg0 context.Context, arg1 *core.Cron) error

Update mocks base method

type MockCronStoreMockRecorder

type MockCronStoreMockRecorder struct {
	// contains filtered or unexported fields
}

MockCronStoreMockRecorder is the mock recorder for MockCronStore

func (*MockCronStoreMockRecorder) Create

func (mr *MockCronStoreMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockCronStoreMockRecorder) Delete

func (mr *MockCronStoreMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockCronStoreMockRecorder) Find

func (mr *MockCronStoreMockRecorder) Find(arg0, arg1 interface{}) *gomock.Call

Find indicates an expected call of Find

func (*MockCronStoreMockRecorder) FindName

func (mr *MockCronStoreMockRecorder) FindName(arg0, arg1, arg2 interface{}) *gomock.Call

FindName indicates an expected call of FindName

func (*MockCronStoreMockRecorder) List

func (mr *MockCronStoreMockRecorder) List(arg0, arg1 interface{}) *gomock.Call

List indicates an expected call of List

func (*MockCronStoreMockRecorder) Ready

func (mr *MockCronStoreMockRecorder) Ready(arg0, arg1 interface{}) *gomock.Call

Ready indicates an expected call of Ready

func (*MockCronStoreMockRecorder) Update

func (mr *MockCronStoreMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call

Update indicates an expected call of Update

type MockFileService

type MockFileService struct {
	// contains filtered or unexported fields
}

MockFileService is a mock of FileService interface

func NewMockFileService

func NewMockFileService(ctrl *gomock.Controller) *MockFileService

NewMockFileService creates a new mock instance

func (*MockFileService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockFileService) Find

func (m *MockFileService) Find(arg0 context.Context, arg1 *core.User, arg2, arg3, arg4, arg5 string) (*core.File, error)

Find mocks base method

type MockFileServiceMockRecorder

type MockFileServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockFileServiceMockRecorder is the mock recorder for MockFileService

func (*MockFileServiceMockRecorder) Find

func (mr *MockFileServiceMockRecorder) Find(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call

Find indicates an expected call of Find

type MockGlobalSecretStore

type MockGlobalSecretStore struct {
	// contains filtered or unexported fields
}

MockGlobalSecretStore is a mock of GlobalSecretStore interface

func NewMockGlobalSecretStore

func NewMockGlobalSecretStore(ctrl *gomock.Controller) *MockGlobalSecretStore

NewMockGlobalSecretStore creates a new mock instance

func (*MockGlobalSecretStore) Create

func (m *MockGlobalSecretStore) Create(arg0 context.Context, arg1 *core.Secret) error

Create mocks base method

func (*MockGlobalSecretStore) Delete

func (m *MockGlobalSecretStore) Delete(arg0 context.Context, arg1 *core.Secret) error

Delete mocks base method

func (*MockGlobalSecretStore) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockGlobalSecretStore) Find

func (m *MockGlobalSecretStore) Find(arg0 context.Context, arg1 int64) (*core.Secret, error)

Find mocks base method

func (*MockGlobalSecretStore) FindName

func (m *MockGlobalSecretStore) FindName(arg0 context.Context, arg1, arg2 string) (*core.Secret, error)

FindName mocks base method

func (*MockGlobalSecretStore) List

func (m *MockGlobalSecretStore) List(arg0 context.Context, arg1 string) ([]*core.Secret, error)

List mocks base method

func (*MockGlobalSecretStore) ListAll

func (m *MockGlobalSecretStore) ListAll(arg0 context.Context) ([]*core.Secret, error)

ListAll mocks base method

func (*MockGlobalSecretStore) Update

func (m *MockGlobalSecretStore) Update(arg0 context.Context, arg1 *core.Secret) error

Update mocks base method

type MockGlobalSecretStoreMockRecorder

type MockGlobalSecretStoreMockRecorder struct {
	// contains filtered or unexported fields
}

MockGlobalSecretStoreMockRecorder is the mock recorder for MockGlobalSecretStore

func (*MockGlobalSecretStoreMockRecorder) Create

func (mr *MockGlobalSecretStoreMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockGlobalSecretStoreMockRecorder) Delete

func (mr *MockGlobalSecretStoreMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockGlobalSecretStoreMockRecorder) Find

func (mr *MockGlobalSecretStoreMockRecorder) Find(arg0, arg1 interface{}) *gomock.Call

Find indicates an expected call of Find

func (*MockGlobalSecretStoreMockRecorder) FindName

func (mr *MockGlobalSecretStoreMockRecorder) FindName(arg0, arg1, arg2 interface{}) *gomock.Call

FindName indicates an expected call of FindName

func (*MockGlobalSecretStoreMockRecorder) List

func (mr *MockGlobalSecretStoreMockRecorder) List(arg0, arg1 interface{}) *gomock.Call

List indicates an expected call of List

func (*MockGlobalSecretStoreMockRecorder) ListAll

func (mr *MockGlobalSecretStoreMockRecorder) ListAll(arg0 interface{}) *gomock.Call

ListAll indicates an expected call of ListAll

func (*MockGlobalSecretStoreMockRecorder) Update

func (mr *MockGlobalSecretStoreMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call

Update indicates an expected call of Update

type MockHookParser

type MockHookParser struct {
	// contains filtered or unexported fields
}

MockHookParser is a mock of HookParser interface

func NewMockHookParser

func NewMockHookParser(ctrl *gomock.Controller) *MockHookParser

NewMockHookParser creates a new mock instance

func (*MockHookParser) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockHookParser) Parse

func (m *MockHookParser) Parse(arg0 *http.Request, arg1 func(string) string) (*core.Hook, *core.Repository, error)

Parse mocks base method

type MockHookParserMockRecorder

type MockHookParserMockRecorder struct {
	// contains filtered or unexported fields
}

MockHookParserMockRecorder is the mock recorder for MockHookParser

func (*MockHookParserMockRecorder) Parse

func (mr *MockHookParserMockRecorder) Parse(arg0, arg1 interface{}) *gomock.Call

Parse indicates an expected call of Parse

type MockHookService

type MockHookService struct {
	// contains filtered or unexported fields
}

MockHookService is a mock of HookService interface

func NewMockHookService

func NewMockHookService(ctrl *gomock.Controller) *MockHookService

NewMockHookService creates a new mock instance

func (*MockHookService) Create

func (m *MockHookService) Create(arg0 context.Context, arg1 *core.User, arg2 *core.Repository) error

Create mocks base method

func (*MockHookService) Delete

func (m *MockHookService) Delete(arg0 context.Context, arg1 *core.User, arg2 *core.Repository) error

Delete mocks base method

func (*MockHookService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

type MockHookServiceMockRecorder

type MockHookServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockHookServiceMockRecorder is the mock recorder for MockHookService

func (*MockHookServiceMockRecorder) Create

func (mr *MockHookServiceMockRecorder) Create(arg0, arg1, arg2 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockHookServiceMockRecorder) Delete

func (mr *MockHookServiceMockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call

Delete indicates an expected call of Delete

type MockLicenseService

type MockLicenseService struct {
	// contains filtered or unexported fields
}

MockLicenseService is a mock of LicenseService interface

func NewMockLicenseService

func NewMockLicenseService(ctrl *gomock.Controller) *MockLicenseService

NewMockLicenseService creates a new mock instance

func (*MockLicenseService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockLicenseService) Exceeded

func (m *MockLicenseService) Exceeded(arg0 context.Context) (bool, error)

Exceeded mocks base method

func (*MockLicenseService) Expired

func (m *MockLicenseService) Expired(arg0 context.Context) bool

Expired mocks base method

type MockLicenseServiceMockRecorder

type MockLicenseServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockLicenseServiceMockRecorder is the mock recorder for MockLicenseService

func (*MockLicenseServiceMockRecorder) Exceeded

func (mr *MockLicenseServiceMockRecorder) Exceeded(arg0 interface{}) *gomock.Call

Exceeded indicates an expected call of Exceeded

func (*MockLicenseServiceMockRecorder) Expired

func (mr *MockLicenseServiceMockRecorder) Expired(arg0 interface{}) *gomock.Call

Expired indicates an expected call of Expired

type MockLogStore

type MockLogStore struct {
	// contains filtered or unexported fields
}

MockLogStore is a mock of LogStore interface

func NewMockLogStore

func NewMockLogStore(ctrl *gomock.Controller) *MockLogStore

NewMockLogStore creates a new mock instance

func (*MockLogStore) Create

func (m *MockLogStore) Create(arg0 context.Context, arg1 int64, arg2 io.Reader) error

Create mocks base method

func (*MockLogStore) Delete

func (m *MockLogStore) Delete(arg0 context.Context, arg1 int64) error

Delete mocks base method

func (*MockLogStore) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockLogStore) Find

func (m *MockLogStore) Find(arg0 context.Context, arg1 int64) (io.ReadCloser, error)

Find mocks base method

func (*MockLogStore) Update

func (m *MockLogStore) Update(arg0 context.Context, arg1 int64, arg2 io.Reader) error

Update mocks base method

type MockLogStoreMockRecorder

type MockLogStoreMockRecorder struct {
	// contains filtered or unexported fields
}

MockLogStoreMockRecorder is the mock recorder for MockLogStore

func (*MockLogStoreMockRecorder) Create

func (mr *MockLogStoreMockRecorder) Create(arg0, arg1, arg2 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockLogStoreMockRecorder) Delete

func (mr *MockLogStoreMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockLogStoreMockRecorder) Find

func (mr *MockLogStoreMockRecorder) Find(arg0, arg1 interface{}) *gomock.Call

Find indicates an expected call of Find

func (*MockLogStoreMockRecorder) Update

func (mr *MockLogStoreMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call

Update indicates an expected call of Update

type MockLogStream

type MockLogStream struct {
	// contains filtered or unexported fields
}

MockLogStream is a mock of LogStream interface

func NewMockLogStream

func NewMockLogStream(ctrl *gomock.Controller) *MockLogStream

NewMockLogStream creates a new mock instance

func (*MockLogStream) Create

func (m *MockLogStream) Create(arg0 context.Context, arg1 int64) error

Create mocks base method

func (*MockLogStream) Delete

func (m *MockLogStream) Delete(arg0 context.Context, arg1 int64) error

Delete mocks base method

func (*MockLogStream) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockLogStream) Info

Info mocks base method

func (*MockLogStream) Tail

func (m *MockLogStream) Tail(arg0 context.Context, arg1 int64) (<-chan *core.Line, <-chan error)

Tail mocks base method

func (*MockLogStream) Write

func (m *MockLogStream) Write(arg0 context.Context, arg1 int64, arg2 *core.Line) error

Write mocks base method

type MockLogStreamMockRecorder

type MockLogStreamMockRecorder struct {
	// contains filtered or unexported fields
}

MockLogStreamMockRecorder is the mock recorder for MockLogStream

func (*MockLogStreamMockRecorder) Create

func (mr *MockLogStreamMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockLogStreamMockRecorder) Delete

func (mr *MockLogStreamMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockLogStreamMockRecorder) Info

func (mr *MockLogStreamMockRecorder) Info(arg0 interface{}) *gomock.Call

Info indicates an expected call of Info

func (*MockLogStreamMockRecorder) Tail

func (mr *MockLogStreamMockRecorder) Tail(arg0, arg1 interface{}) *gomock.Call

Tail indicates an expected call of Tail

func (*MockLogStreamMockRecorder) Write

func (mr *MockLogStreamMockRecorder) Write(arg0, arg1, arg2 interface{}) *gomock.Call

Write indicates an expected call of Write

type MockNetrcService

type MockNetrcService struct {
	// contains filtered or unexported fields
}

MockNetrcService is a mock of NetrcService interface

func NewMockNetrcService

func NewMockNetrcService(ctrl *gomock.Controller) *MockNetrcService

NewMockNetrcService creates a new mock instance

func (*MockNetrcService) Create

func (m *MockNetrcService) Create(arg0 context.Context, arg1 *core.User, arg2 *core.Repository) (*core.Netrc, error)

Create mocks base method

func (*MockNetrcService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

type MockNetrcServiceMockRecorder

type MockNetrcServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockNetrcServiceMockRecorder is the mock recorder for MockNetrcService

func (*MockNetrcServiceMockRecorder) Create

func (mr *MockNetrcServiceMockRecorder) Create(arg0, arg1, arg2 interface{}) *gomock.Call

Create indicates an expected call of Create

type MockOrganizationService

type MockOrganizationService struct {
	// contains filtered or unexported fields
}

MockOrganizationService is a mock of OrganizationService interface

func NewMockOrganizationService

func NewMockOrganizationService(ctrl *gomock.Controller) *MockOrganizationService

NewMockOrganizationService creates a new mock instance

func (*MockOrganizationService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockOrganizationService) List

List mocks base method

func (*MockOrganizationService) Membership

func (m *MockOrganizationService) Membership(arg0 context.Context, arg1 *core.User, arg2 string) (bool, bool, error)

Membership mocks base method

type MockOrganizationServiceMockRecorder

type MockOrganizationServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockOrganizationServiceMockRecorder is the mock recorder for MockOrganizationService

func (*MockOrganizationServiceMockRecorder) List

func (mr *MockOrganizationServiceMockRecorder) List(arg0, arg1 interface{}) *gomock.Call

List indicates an expected call of List

func (*MockOrganizationServiceMockRecorder) Membership

func (mr *MockOrganizationServiceMockRecorder) Membership(arg0, arg1, arg2 interface{}) *gomock.Call

Membership indicates an expected call of Membership

type MockPermStore

type MockPermStore struct {
	// contains filtered or unexported fields
}

MockPermStore is a mock of PermStore interface

func NewMockPermStore

func NewMockPermStore(ctrl *gomock.Controller) *MockPermStore

NewMockPermStore creates a new mock instance

func (*MockPermStore) Delete

func (m *MockPermStore) Delete(arg0 context.Context, arg1 *core.Perm) error

Delete mocks base method

func (*MockPermStore) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockPermStore) Find

func (m *MockPermStore) Find(arg0 context.Context, arg1 string, arg2 int64) (*core.Perm, error)

Find mocks base method

func (*MockPermStore) List

func (m *MockPermStore) List(arg0 context.Context, arg1 string) ([]*core.Collaborator, error)

List mocks base method

func (*MockPermStore) Update

func (m *MockPermStore) Update(arg0 context.Context, arg1 *core.Perm) error

Update mocks base method

type MockPermStoreMockRecorder

type MockPermStoreMockRecorder struct {
	// contains filtered or unexported fields
}

MockPermStoreMockRecorder is the mock recorder for MockPermStore

func (*MockPermStoreMockRecorder) Delete

func (mr *MockPermStoreMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockPermStoreMockRecorder) Find

func (mr *MockPermStoreMockRecorder) Find(arg0, arg1, arg2 interface{}) *gomock.Call

Find indicates an expected call of Find

func (*MockPermStoreMockRecorder) List

func (mr *MockPermStoreMockRecorder) List(arg0, arg1 interface{}) *gomock.Call

List indicates an expected call of List

func (*MockPermStoreMockRecorder) Update

func (mr *MockPermStoreMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call

Update indicates an expected call of Update

type MockPubsub

type MockPubsub struct {
	// contains filtered or unexported fields
}

MockPubsub is a mock of Pubsub interface

func NewMockPubsub

func NewMockPubsub(ctrl *gomock.Controller) *MockPubsub

NewMockPubsub creates a new mock instance

func (*MockPubsub) EXPECT

func (m *MockPubsub) EXPECT() *MockPubsubMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockPubsub) Publish

func (m *MockPubsub) Publish(arg0 context.Context, arg1 *core.Message) error

Publish mocks base method

func (*MockPubsub) Subscribe

func (m *MockPubsub) Subscribe(arg0 context.Context) (<-chan *core.Message, <-chan error)

Subscribe mocks base method

func (*MockPubsub) Subscribers

func (m *MockPubsub) Subscribers() int

Subscribers mocks base method

type MockPubsubMockRecorder

type MockPubsubMockRecorder struct {
	// contains filtered or unexported fields
}

MockPubsubMockRecorder is the mock recorder for MockPubsub

func (*MockPubsubMockRecorder) Publish

func (mr *MockPubsubMockRecorder) Publish(arg0, arg1 interface{}) *gomock.Call

Publish indicates an expected call of Publish

func (*MockPubsubMockRecorder) Subscribe

func (mr *MockPubsubMockRecorder) Subscribe(arg0 interface{}) *gomock.Call

Subscribe indicates an expected call of Subscribe

func (*MockPubsubMockRecorder) Subscribers

func (mr *MockPubsubMockRecorder) Subscribers() *gomock.Call

Subscribers indicates an expected call of Subscribers

type MockRegistryService

type MockRegistryService struct {
	// contains filtered or unexported fields
}

MockRegistryService is a mock of RegistryService interface

func NewMockRegistryService

func NewMockRegistryService(ctrl *gomock.Controller) *MockRegistryService

NewMockRegistryService creates a new mock instance

func (*MockRegistryService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockRegistryService) List

List mocks base method

type MockRegistryServiceMockRecorder

type MockRegistryServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockRegistryServiceMockRecorder is the mock recorder for MockRegistryService

func (*MockRegistryServiceMockRecorder) List

func (mr *MockRegistryServiceMockRecorder) List(arg0, arg1 interface{}) *gomock.Call

List indicates an expected call of List

type MockRenewer

type MockRenewer struct {
	// contains filtered or unexported fields
}

MockRenewer is a mock of Renewer interface

func NewMockRenewer

func NewMockRenewer(ctrl *gomock.Controller) *MockRenewer

NewMockRenewer creates a new mock instance

func (*MockRenewer) EXPECT

func (m *MockRenewer) EXPECT() *MockRenewerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockRenewer) Renew

func (m *MockRenewer) Renew(arg0 context.Context, arg1 *core.User, arg2 bool) error

Renew mocks base method

type MockRenewerMockRecorder

type MockRenewerMockRecorder struct {
	// contains filtered or unexported fields
}

MockRenewerMockRecorder is the mock recorder for MockRenewer

func (*MockRenewerMockRecorder) Renew

func (mr *MockRenewerMockRecorder) Renew(arg0, arg1, arg2 interface{}) *gomock.Call

Renew indicates an expected call of Renew

type MockRepositoryService

type MockRepositoryService struct {
	// contains filtered or unexported fields
}

MockRepositoryService is a mock of RepositoryService interface

func NewMockRepositoryService

func NewMockRepositoryService(ctrl *gomock.Controller) *MockRepositoryService

NewMockRepositoryService creates a new mock instance

func (*MockRepositoryService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockRepositoryService) Find

func (m *MockRepositoryService) Find(arg0 context.Context, arg1 *core.User, arg2 string) (*core.Repository, error)

Find mocks base method

func (*MockRepositoryService) FindPerm

func (m *MockRepositoryService) FindPerm(arg0 context.Context, arg1 *core.User, arg2 string) (*core.Perm, error)

FindPerm mocks base method

func (*MockRepositoryService) List

func (m *MockRepositoryService) List(arg0 context.Context, arg1 *core.User) ([]*core.Repository, error)

List mocks base method

type MockRepositoryServiceMockRecorder

type MockRepositoryServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockRepositoryServiceMockRecorder is the mock recorder for MockRepositoryService

func (*MockRepositoryServiceMockRecorder) Find

func (mr *MockRepositoryServiceMockRecorder) Find(arg0, arg1, arg2 interface{}) *gomock.Call

Find indicates an expected call of Find

func (*MockRepositoryServiceMockRecorder) FindPerm

func (mr *MockRepositoryServiceMockRecorder) FindPerm(arg0, arg1, arg2 interface{}) *gomock.Call

FindPerm indicates an expected call of FindPerm

func (*MockRepositoryServiceMockRecorder) List

func (mr *MockRepositoryServiceMockRecorder) List(arg0, arg1 interface{}) *gomock.Call

List indicates an expected call of List

type MockRepositoryStore

type MockRepositoryStore struct {
	// contains filtered or unexported fields
}

MockRepositoryStore is a mock of RepositoryStore interface

func NewMockRepositoryStore

func NewMockRepositoryStore(ctrl *gomock.Controller) *MockRepositoryStore

NewMockRepositoryStore creates a new mock instance

func (*MockRepositoryStore) Activate

func (m *MockRepositoryStore) Activate(arg0 context.Context, arg1 *core.Repository) error

Activate mocks base method

func (*MockRepositoryStore) Count

func (m *MockRepositoryStore) Count(arg0 context.Context) (int64, error)

Count mocks base method

func (*MockRepositoryStore) Create

func (m *MockRepositoryStore) Create(arg0 context.Context, arg1 *core.Repository) error

Create mocks base method

func (*MockRepositoryStore) Delete

func (m *MockRepositoryStore) Delete(arg0 context.Context, arg1 *core.Repository) error

Delete mocks base method

func (*MockRepositoryStore) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockRepositoryStore) Find

func (m *MockRepositoryStore) Find(arg0 context.Context, arg1 int64) (*core.Repository, error)

Find mocks base method

func (*MockRepositoryStore) FindName

func (m *MockRepositoryStore) FindName(arg0 context.Context, arg1, arg2 string) (*core.Repository, error)

FindName mocks base method

func (*MockRepositoryStore) Increment

func (m *MockRepositoryStore) Increment(arg0 context.Context, arg1 *core.Repository) (*core.Repository, error)

Increment mocks base method

func (*MockRepositoryStore) List

func (m *MockRepositoryStore) List(arg0 context.Context, arg1 int64) ([]*core.Repository, error)

List mocks base method

func (*MockRepositoryStore) ListAll

func (m *MockRepositoryStore) ListAll(arg0 context.Context, arg1, arg2 int) ([]*core.Repository, error)

ListAll mocks base method

func (*MockRepositoryStore) ListIncomplete

func (m *MockRepositoryStore) ListIncomplete(arg0 context.Context) ([]*core.Repository, error)

ListIncomplete mocks base method

func (*MockRepositoryStore) ListLatest

func (m *MockRepositoryStore) ListLatest(arg0 context.Context, arg1 int64) ([]*core.Repository, error)

ListLatest mocks base method

func (*MockRepositoryStore) ListRecent

func (m *MockRepositoryStore) ListRecent(arg0 context.Context, arg1 int64) ([]*core.Repository, error)

ListRecent mocks base method

func (*MockRepositoryStore) Update

func (m *MockRepositoryStore) Update(arg0 context.Context, arg1 *core.Repository) error

Update mocks base method

type MockRepositoryStoreMockRecorder

type MockRepositoryStoreMockRecorder struct {
	// contains filtered or unexported fields
}

MockRepositoryStoreMockRecorder is the mock recorder for MockRepositoryStore

func (*MockRepositoryStoreMockRecorder) Activate

func (mr *MockRepositoryStoreMockRecorder) Activate(arg0, arg1 interface{}) *gomock.Call

Activate indicates an expected call of Activate

func (*MockRepositoryStoreMockRecorder) Count

func (mr *MockRepositoryStoreMockRecorder) Count(arg0 interface{}) *gomock.Call

Count indicates an expected call of Count

func (*MockRepositoryStoreMockRecorder) Create

func (mr *MockRepositoryStoreMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockRepositoryStoreMockRecorder) Delete

func (mr *MockRepositoryStoreMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockRepositoryStoreMockRecorder) Find

func (mr *MockRepositoryStoreMockRecorder) Find(arg0, arg1 interface{}) *gomock.Call

Find indicates an expected call of Find

func (*MockRepositoryStoreMockRecorder) FindName

func (mr *MockRepositoryStoreMockRecorder) FindName(arg0, arg1, arg2 interface{}) *gomock.Call

FindName indicates an expected call of FindName

func (*MockRepositoryStoreMockRecorder) Increment

func (mr *MockRepositoryStoreMockRecorder) Increment(arg0, arg1 interface{}) *gomock.Call

Increment indicates an expected call of Increment

func (*MockRepositoryStoreMockRecorder) List

func (mr *MockRepositoryStoreMockRecorder) List(arg0, arg1 interface{}) *gomock.Call

List indicates an expected call of List

func (*MockRepositoryStoreMockRecorder) ListAll

func (mr *MockRepositoryStoreMockRecorder) ListAll(arg0, arg1, arg2 interface{}) *gomock.Call

ListAll indicates an expected call of ListAll

func (*MockRepositoryStoreMockRecorder) ListIncomplete

func (mr *MockRepositoryStoreMockRecorder) ListIncomplete(arg0 interface{}) *gomock.Call

ListIncomplete indicates an expected call of ListIncomplete

func (*MockRepositoryStoreMockRecorder) ListLatest

func (mr *MockRepositoryStoreMockRecorder) ListLatest(arg0, arg1 interface{}) *gomock.Call

ListLatest indicates an expected call of ListLatest

func (*MockRepositoryStoreMockRecorder) ListRecent

func (mr *MockRepositoryStoreMockRecorder) ListRecent(arg0, arg1 interface{}) *gomock.Call

ListRecent indicates an expected call of ListRecent

func (*MockRepositoryStoreMockRecorder) Update

func (mr *MockRepositoryStoreMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call

Update indicates an expected call of Update

type MockScheduler

type MockScheduler struct {
	// contains filtered or unexported fields
}

MockScheduler is a mock of Scheduler interface

func NewMockScheduler

func NewMockScheduler(ctrl *gomock.Controller) *MockScheduler

NewMockScheduler creates a new mock instance

func (*MockScheduler) Cancel

func (m *MockScheduler) Cancel(arg0 context.Context, arg1 int64) error

Cancel mocks base method

func (*MockScheduler) Cancelled

func (m *MockScheduler) Cancelled(arg0 context.Context, arg1 int64) (bool, error)

Cancelled mocks base method

func (*MockScheduler) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockScheduler) Pause

func (m *MockScheduler) Pause(arg0 context.Context) error

Pause mocks base method

func (*MockScheduler) Request

func (m *MockScheduler) Request(arg0 context.Context, arg1 core.Filter) (*core.Stage, error)

Request mocks base method

func (*MockScheduler) Resume

func (m *MockScheduler) Resume(arg0 context.Context) error

Resume mocks base method

func (*MockScheduler) Schedule

func (m *MockScheduler) Schedule(arg0 context.Context, arg1 *core.Stage) error

Schedule mocks base method

func (*MockScheduler) Stats

func (m *MockScheduler) Stats(arg0 context.Context) (interface{}, error)

Stats mocks base method

type MockSchedulerMockRecorder

type MockSchedulerMockRecorder struct {
	// contains filtered or unexported fields
}

MockSchedulerMockRecorder is the mock recorder for MockScheduler

func (*MockSchedulerMockRecorder) Cancel

func (mr *MockSchedulerMockRecorder) Cancel(arg0, arg1 interface{}) *gomock.Call

Cancel indicates an expected call of Cancel

func (*MockSchedulerMockRecorder) Cancelled

func (mr *MockSchedulerMockRecorder) Cancelled(arg0, arg1 interface{}) *gomock.Call

Cancelled indicates an expected call of Cancelled

func (*MockSchedulerMockRecorder) Pause

func (mr *MockSchedulerMockRecorder) Pause(arg0 interface{}) *gomock.Call

Pause indicates an expected call of Pause

func (*MockSchedulerMockRecorder) Request

func (mr *MockSchedulerMockRecorder) Request(arg0, arg1 interface{}) *gomock.Call

Request indicates an expected call of Request

func (*MockSchedulerMockRecorder) Resume

func (mr *MockSchedulerMockRecorder) Resume(arg0 interface{}) *gomock.Call

Resume indicates an expected call of Resume

func (*MockSchedulerMockRecorder) Schedule

func (mr *MockSchedulerMockRecorder) Schedule(arg0, arg1 interface{}) *gomock.Call

Schedule indicates an expected call of Schedule

func (*MockSchedulerMockRecorder) Stats

func (mr *MockSchedulerMockRecorder) Stats(arg0 interface{}) *gomock.Call

Stats indicates an expected call of Stats

type MockSecretService

type MockSecretService struct {
	// contains filtered or unexported fields
}

MockSecretService is a mock of SecretService interface

func NewMockSecretService

func NewMockSecretService(ctrl *gomock.Controller) *MockSecretService

NewMockSecretService creates a new mock instance

func (*MockSecretService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockSecretService) Find

func (m *MockSecretService) Find(arg0 context.Context, arg1 *core.SecretArgs) (*core.Secret, error)

Find mocks base method

type MockSecretServiceMockRecorder

type MockSecretServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockSecretServiceMockRecorder is the mock recorder for MockSecretService

func (*MockSecretServiceMockRecorder) Find

func (mr *MockSecretServiceMockRecorder) Find(arg0, arg1 interface{}) *gomock.Call

Find indicates an expected call of Find

type MockSecretStore

type MockSecretStore struct {
	// contains filtered or unexported fields
}

MockSecretStore is a mock of SecretStore interface

func NewMockSecretStore

func NewMockSecretStore(ctrl *gomock.Controller) *MockSecretStore

NewMockSecretStore creates a new mock instance

func (*MockSecretStore) Create

func (m *MockSecretStore) Create(arg0 context.Context, arg1 *core.Secret) error

Create mocks base method

func (*MockSecretStore) Delete

func (m *MockSecretStore) Delete(arg0 context.Context, arg1 *core.Secret) error

Delete mocks base method

func (*MockSecretStore) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockSecretStore) Find

func (m *MockSecretStore) Find(arg0 context.Context, arg1 int64) (*core.Secret, error)

Find mocks base method

func (*MockSecretStore) FindName

func (m *MockSecretStore) FindName(arg0 context.Context, arg1 int64, arg2 string) (*core.Secret, error)

FindName mocks base method

func (*MockSecretStore) List

func (m *MockSecretStore) List(arg0 context.Context, arg1 int64) ([]*core.Secret, error)

List mocks base method

func (*MockSecretStore) Update

func (m *MockSecretStore) Update(arg0 context.Context, arg1 *core.Secret) error

Update mocks base method

type MockSecretStoreMockRecorder

type MockSecretStoreMockRecorder struct {
	// contains filtered or unexported fields
}

MockSecretStoreMockRecorder is the mock recorder for MockSecretStore

func (*MockSecretStoreMockRecorder) Create

func (mr *MockSecretStoreMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockSecretStoreMockRecorder) Delete

func (mr *MockSecretStoreMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockSecretStoreMockRecorder) Find

func (mr *MockSecretStoreMockRecorder) Find(arg0, arg1 interface{}) *gomock.Call

Find indicates an expected call of Find

func (*MockSecretStoreMockRecorder) FindName

func (mr *MockSecretStoreMockRecorder) FindName(arg0, arg1, arg2 interface{}) *gomock.Call

FindName indicates an expected call of FindName

func (*MockSecretStoreMockRecorder) List

func (mr *MockSecretStoreMockRecorder) List(arg0, arg1 interface{}) *gomock.Call

List indicates an expected call of List

func (*MockSecretStoreMockRecorder) Update

func (mr *MockSecretStoreMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call

Update indicates an expected call of Update

type MockSession

type MockSession struct {
	// contains filtered or unexported fields
}

MockSession is a mock of Session interface

func NewMockSession

func NewMockSession(ctrl *gomock.Controller) *MockSession

NewMockSession creates a new mock instance

func (*MockSession) Create

func (m *MockSession) Create(arg0 http.ResponseWriter, arg1 *core.User) error

Create mocks base method

func (*MockSession) Delete

func (m *MockSession) Delete(arg0 http.ResponseWriter) error

Delete mocks base method

func (*MockSession) EXPECT

func (m *MockSession) EXPECT() *MockSessionMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockSession) Get

func (m *MockSession) Get(arg0 *http.Request) (*core.User, error)

Get mocks base method

type MockSessionMockRecorder

type MockSessionMockRecorder struct {
	// contains filtered or unexported fields
}

MockSessionMockRecorder is the mock recorder for MockSession

func (*MockSessionMockRecorder) Create

func (mr *MockSessionMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockSessionMockRecorder) Delete

func (mr *MockSessionMockRecorder) Delete(arg0 interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockSessionMockRecorder) Get

func (mr *MockSessionMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get

type MockStageStore

type MockStageStore struct {
	// contains filtered or unexported fields
}

MockStageStore is a mock of StageStore interface

func NewMockStageStore

func NewMockStageStore(ctrl *gomock.Controller) *MockStageStore

NewMockStageStore creates a new mock instance

func (*MockStageStore) Create

func (m *MockStageStore) Create(arg0 context.Context, arg1 *core.Stage) error

Create mocks base method

func (*MockStageStore) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockStageStore) Find

func (m *MockStageStore) Find(arg0 context.Context, arg1 int64) (*core.Stage, error)

Find mocks base method

func (*MockStageStore) FindNumber

func (m *MockStageStore) FindNumber(arg0 context.Context, arg1 int64, arg2 int) (*core.Stage, error)

FindNumber mocks base method

func (*MockStageStore) List

func (m *MockStageStore) List(arg0 context.Context, arg1 int64) ([]*core.Stage, error)

List mocks base method

func (*MockStageStore) ListIncomplete

func (m *MockStageStore) ListIncomplete(arg0 context.Context) ([]*core.Stage, error)

ListIncomplete mocks base method

func (*MockStageStore) ListState

func (m *MockStageStore) ListState(arg0 context.Context, arg1 string) ([]*core.Stage, error)

ListState mocks base method

func (*MockStageStore) ListSteps

func (m *MockStageStore) ListSteps(arg0 context.Context, arg1 int64) ([]*core.Stage, error)

ListSteps mocks base method

func (*MockStageStore) Update

func (m *MockStageStore) Update(arg0 context.Context, arg1 *core.Stage) error

Update mocks base method

type MockStageStoreMockRecorder

type MockStageStoreMockRecorder struct {
	// contains filtered or unexported fields
}

MockStageStoreMockRecorder is the mock recorder for MockStageStore

func (*MockStageStoreMockRecorder) Create

func (mr *MockStageStoreMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockStageStoreMockRecorder) Find

func (mr *MockStageStoreMockRecorder) Find(arg0, arg1 interface{}) *gomock.Call

Find indicates an expected call of Find

func (*MockStageStoreMockRecorder) FindNumber

func (mr *MockStageStoreMockRecorder) FindNumber(arg0, arg1, arg2 interface{}) *gomock.Call

FindNumber indicates an expected call of FindNumber

func (*MockStageStoreMockRecorder) List

func (mr *MockStageStoreMockRecorder) List(arg0, arg1 interface{}) *gomock.Call

List indicates an expected call of List

func (*MockStageStoreMockRecorder) ListIncomplete

func (mr *MockStageStoreMockRecorder) ListIncomplete(arg0 interface{}) *gomock.Call

ListIncomplete indicates an expected call of ListIncomplete

func (*MockStageStoreMockRecorder) ListState

func (mr *MockStageStoreMockRecorder) ListState(arg0, arg1 interface{}) *gomock.Call

ListState indicates an expected call of ListState

func (*MockStageStoreMockRecorder) ListSteps

func (mr *MockStageStoreMockRecorder) ListSteps(arg0, arg1 interface{}) *gomock.Call

ListSteps indicates an expected call of ListSteps

func (*MockStageStoreMockRecorder) Update

func (mr *MockStageStoreMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call

Update indicates an expected call of Update

type MockStatusService

type MockStatusService struct {
	// contains filtered or unexported fields
}

MockStatusService is a mock of StatusService interface

func NewMockStatusService

func NewMockStatusService(ctrl *gomock.Controller) *MockStatusService

NewMockStatusService creates a new mock instance

func (*MockStatusService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockStatusService) Send

func (m *MockStatusService) Send(arg0 context.Context, arg1 *core.User, arg2 *core.StatusInput) error

Send mocks base method

type MockStatusServiceMockRecorder

type MockStatusServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockStatusServiceMockRecorder is the mock recorder for MockStatusService

func (*MockStatusServiceMockRecorder) Send

func (mr *MockStatusServiceMockRecorder) Send(arg0, arg1, arg2 interface{}) *gomock.Call

Send indicates an expected call of Send

type MockStepStore

type MockStepStore struct {
	// contains filtered or unexported fields
}

MockStepStore is a mock of StepStore interface

func NewMockStepStore

func NewMockStepStore(ctrl *gomock.Controller) *MockStepStore

NewMockStepStore creates a new mock instance

func (*MockStepStore) Create

func (m *MockStepStore) Create(arg0 context.Context, arg1 *core.Step) error

Create mocks base method

func (*MockStepStore) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockStepStore) Find

func (m *MockStepStore) Find(arg0 context.Context, arg1 int64) (*core.Step, error)

Find mocks base method

func (*MockStepStore) FindNumber

func (m *MockStepStore) FindNumber(arg0 context.Context, arg1 int64, arg2 int) (*core.Step, error)

FindNumber mocks base method

func (*MockStepStore) List

func (m *MockStepStore) List(arg0 context.Context, arg1 int64) ([]*core.Step, error)

List mocks base method

func (*MockStepStore) Update

func (m *MockStepStore) Update(arg0 context.Context, arg1 *core.Step) error

Update mocks base method

type MockStepStoreMockRecorder

type MockStepStoreMockRecorder struct {
	// contains filtered or unexported fields
}

MockStepStoreMockRecorder is the mock recorder for MockStepStore

func (*MockStepStoreMockRecorder) Create

func (mr *MockStepStoreMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockStepStoreMockRecorder) Find

func (mr *MockStepStoreMockRecorder) Find(arg0, arg1 interface{}) *gomock.Call

Find indicates an expected call of Find

func (*MockStepStoreMockRecorder) FindNumber

func (mr *MockStepStoreMockRecorder) FindNumber(arg0, arg1, arg2 interface{}) *gomock.Call

FindNumber indicates an expected call of FindNumber

func (*MockStepStoreMockRecorder) List

func (mr *MockStepStoreMockRecorder) List(arg0, arg1 interface{}) *gomock.Call

List indicates an expected call of List

func (*MockStepStoreMockRecorder) Update

func (mr *MockStepStoreMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call

Update indicates an expected call of Update

type MockSyncer

type MockSyncer struct {
	// contains filtered or unexported fields
}

MockSyncer is a mock of Syncer interface

func NewMockSyncer

func NewMockSyncer(ctrl *gomock.Controller) *MockSyncer

NewMockSyncer creates a new mock instance

func (*MockSyncer) EXPECT

func (m *MockSyncer) EXPECT() *MockSyncerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockSyncer) Sync

func (m *MockSyncer) Sync(arg0 context.Context, arg1 *core.User) (*core.Batch, error)

Sync mocks base method

type MockSyncerMockRecorder

type MockSyncerMockRecorder struct {
	// contains filtered or unexported fields
}

MockSyncerMockRecorder is the mock recorder for MockSyncer

func (*MockSyncerMockRecorder) Sync

func (mr *MockSyncerMockRecorder) Sync(arg0, arg1 interface{}) *gomock.Call

Sync indicates an expected call of Sync

type MockTransferer

type MockTransferer struct {
	// contains filtered or unexported fields
}

MockTransferer is a mock of Transferer interface

func NewMockTransferer

func NewMockTransferer(ctrl *gomock.Controller) *MockTransferer

NewMockTransferer creates a new mock instance

func (*MockTransferer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockTransferer) Transfer

func (m *MockTransferer) Transfer(arg0 context.Context, arg1 *core.User) error

Transfer mocks base method

type MockTransfererMockRecorder

type MockTransfererMockRecorder struct {
	// contains filtered or unexported fields
}

MockTransfererMockRecorder is the mock recorder for MockTransferer

func (*MockTransfererMockRecorder) Transfer

func (mr *MockTransfererMockRecorder) Transfer(arg0, arg1 interface{}) *gomock.Call

Transfer indicates an expected call of Transfer

type MockTriggerer

type MockTriggerer struct {
	// contains filtered or unexported fields
}

MockTriggerer is a mock of Triggerer interface

func NewMockTriggerer

func NewMockTriggerer(ctrl *gomock.Controller) *MockTriggerer

NewMockTriggerer creates a new mock instance

func (*MockTriggerer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockTriggerer) Trigger

func (m *MockTriggerer) Trigger(arg0 context.Context, arg1 *core.Repository, arg2 *core.Hook) (*core.Build, error)

Trigger mocks base method

type MockTriggererMockRecorder

type MockTriggererMockRecorder struct {
	// contains filtered or unexported fields
}

MockTriggererMockRecorder is the mock recorder for MockTriggerer

func (*MockTriggererMockRecorder) Trigger

func (mr *MockTriggererMockRecorder) Trigger(arg0, arg1, arg2 interface{}) *gomock.Call

Trigger indicates an expected call of Trigger

type MockUserService

type MockUserService struct {
	// contains filtered or unexported fields
}

MockUserService is a mock of UserService interface

func NewMockUserService

func NewMockUserService(ctrl *gomock.Controller) *MockUserService

NewMockUserService creates a new mock instance

func (*MockUserService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockUserService) Find

func (m *MockUserService) Find(arg0 context.Context, arg1, arg2 string) (*core.User, error)

Find mocks base method

func (*MockUserService) FindLogin

func (m *MockUserService) FindLogin(arg0 context.Context, arg1 *core.User, arg2 string) (*core.User, error)

FindLogin mocks base method

type MockUserServiceMockRecorder

type MockUserServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockUserServiceMockRecorder is the mock recorder for MockUserService

func (*MockUserServiceMockRecorder) Find

func (mr *MockUserServiceMockRecorder) Find(arg0, arg1, arg2 interface{}) *gomock.Call

Find indicates an expected call of Find

func (*MockUserServiceMockRecorder) FindLogin

func (mr *MockUserServiceMockRecorder) FindLogin(arg0, arg1, arg2 interface{}) *gomock.Call

FindLogin indicates an expected call of FindLogin

type MockUserStore

type MockUserStore struct {
	// contains filtered or unexported fields
}

MockUserStore is a mock of UserStore interface

func NewMockUserStore

func NewMockUserStore(ctrl *gomock.Controller) *MockUserStore

NewMockUserStore creates a new mock instance

func (*MockUserStore) Count

func (m *MockUserStore) Count(arg0 context.Context) (int64, error)

Count mocks base method

func (*MockUserStore) CountHuman

func (m *MockUserStore) CountHuman(arg0 context.Context) (int64, error)

CountHuman mocks base method

func (*MockUserStore) Create

func (m *MockUserStore) Create(arg0 context.Context, arg1 *core.User) error

Create mocks base method

func (*MockUserStore) Delete

func (m *MockUserStore) Delete(arg0 context.Context, arg1 *core.User) error

Delete mocks base method

func (*MockUserStore) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockUserStore) Find

func (m *MockUserStore) Find(arg0 context.Context, arg1 int64) (*core.User, error)

Find mocks base method

func (*MockUserStore) FindLogin

func (m *MockUserStore) FindLogin(arg0 context.Context, arg1 string) (*core.User, error)

FindLogin mocks base method

func (*MockUserStore) FindToken

func (m *MockUserStore) FindToken(arg0 context.Context, arg1 string) (*core.User, error)

FindToken mocks base method

func (*MockUserStore) List

func (m *MockUserStore) List(arg0 context.Context) ([]*core.User, error)

List mocks base method

func (*MockUserStore) Update

func (m *MockUserStore) Update(arg0 context.Context, arg1 *core.User) error

Update mocks base method

type MockUserStoreMockRecorder

type MockUserStoreMockRecorder struct {
	// contains filtered or unexported fields
}

MockUserStoreMockRecorder is the mock recorder for MockUserStore

func (*MockUserStoreMockRecorder) Count

func (mr *MockUserStoreMockRecorder) Count(arg0 interface{}) *gomock.Call

Count indicates an expected call of Count

func (*MockUserStoreMockRecorder) CountHuman

func (mr *MockUserStoreMockRecorder) CountHuman(arg0 interface{}) *gomock.Call

CountHuman indicates an expected call of CountHuman

func (*MockUserStoreMockRecorder) Create

func (mr *MockUserStoreMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockUserStoreMockRecorder) Delete

func (mr *MockUserStoreMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockUserStoreMockRecorder) Find

func (mr *MockUserStoreMockRecorder) Find(arg0, arg1 interface{}) *gomock.Call

Find indicates an expected call of Find

func (*MockUserStoreMockRecorder) FindLogin

func (mr *MockUserStoreMockRecorder) FindLogin(arg0, arg1 interface{}) *gomock.Call

FindLogin indicates an expected call of FindLogin

func (*MockUserStoreMockRecorder) FindToken

func (mr *MockUserStoreMockRecorder) FindToken(arg0, arg1 interface{}) *gomock.Call

FindToken indicates an expected call of FindToken

func (*MockUserStoreMockRecorder) List

func (mr *MockUserStoreMockRecorder) List(arg0 interface{}) *gomock.Call

List indicates an expected call of List

func (*MockUserStoreMockRecorder) Update

func (mr *MockUserStoreMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call

Update indicates an expected call of Update

type MockValidateService

type MockValidateService struct {
	// contains filtered or unexported fields
}

MockValidateService is a mock of ValidateService interface

func NewMockValidateService

func NewMockValidateService(ctrl *gomock.Controller) *MockValidateService

NewMockValidateService creates a new mock instance

func (*MockValidateService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockValidateService) Validate

func (m *MockValidateService) Validate(arg0 context.Context, arg1 *core.ValidateArgs) error

Validate mocks base method

type MockValidateServiceMockRecorder

type MockValidateServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockValidateServiceMockRecorder is the mock recorder for MockValidateService

func (*MockValidateServiceMockRecorder) Validate

func (mr *MockValidateServiceMockRecorder) Validate(arg0, arg1 interface{}) *gomock.Call

Validate indicates an expected call of Validate

type MockWebhookSender

type MockWebhookSender struct {
	// contains filtered or unexported fields
}

MockWebhookSender is a mock of WebhookSender interface

func NewMockWebhookSender

func NewMockWebhookSender(ctrl *gomock.Controller) *MockWebhookSender

NewMockWebhookSender creates a new mock instance

func (*MockWebhookSender) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockWebhookSender) Send

func (m *MockWebhookSender) Send(arg0 context.Context, arg1 *core.WebhookData) error

Send mocks base method

type MockWebhookSenderMockRecorder

type MockWebhookSenderMockRecorder struct {
	// contains filtered or unexported fields
}

MockWebhookSenderMockRecorder is the mock recorder for MockWebhookSender

func (*MockWebhookSenderMockRecorder) Send

func (mr *MockWebhookSenderMockRecorder) Send(arg0, arg1 interface{}) *gomock.Call

Send indicates an expected call of Send

Directories

Path Synopsis
Package mockscm is a generated GoMock package.
Package mockscm is a generated GoMock package.

Jump to

Keyboard shortcuts

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