mock

package
v0.0.0-...-089673d Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

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 MockCORSService

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

MockCORSService is a mock of Service interface

func NewMockCORSService

func NewMockCORSService(ctrl *gomock.Controller) *MockCORSService

NewMockCORSService creates a new mock instance

func (*MockCORSService) CreateCORS

func (m *MockCORSService) CreateCORS(arg0 *cors.CORS) (*cors.CORS, error)

CreateCORS mocks base method

func (*MockCORSService) DeleteCORS

func (m *MockCORSService) DeleteCORS(arg0 string, arg1 cors.ID) error

DeleteCORS mocks base method

func (*MockCORSService) EXPECT

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

func (*MockCORSService) GetCORS

func (m *MockCORSService) GetCORS(arg0 string, arg1 cors.ID) (*cors.CORS, error)

GetCORS mocks base method

func (*MockCORSService) ListCORS

func (m *MockCORSService) ListCORS(arg0 string, arg1 ...metadata.Filter) (cors.CORSes, error)

ListCORS mocks base method

func (*MockCORSService) UpdateCORS

func (m *MockCORSService) UpdateCORS(arg0 *cors.CORS) (*cors.CORS, error)

UpdateCORS mocks base method

type MockCORSServiceMockRecorder

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

MockCORSServiceMockRecorder is the mock recorder for MockCORSService

func (*MockCORSServiceMockRecorder) CreateCORS

func (mr *MockCORSServiceMockRecorder) CreateCORS(arg0 interface{}) *gomock.Call

CreateCORS indicates an expected call of CreateCORS

func (*MockCORSServiceMockRecorder) DeleteCORS

func (mr *MockCORSServiceMockRecorder) DeleteCORS(arg0, arg1 interface{}) *gomock.Call

DeleteCORS indicates an expected call of DeleteCORS

func (*MockCORSServiceMockRecorder) GetCORS

func (mr *MockCORSServiceMockRecorder) GetCORS(arg0, arg1 interface{}) *gomock.Call

GetCORS indicates an expected call of GetCORS

func (*MockCORSServiceMockRecorder) ListCORS

func (mr *MockCORSServiceMockRecorder) ListCORS(arg0 interface{}, arg1 ...interface{}) *gomock.Call

ListCORS indicates an expected call of ListCORS

func (*MockCORSServiceMockRecorder) UpdateCORS

func (mr *MockCORSServiceMockRecorder) UpdateCORS(arg0 interface{}) *gomock.Call

UpdateCORS indicates an expected call of UpdateCORS

type MockEventTypeService

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

MockEventTypeService is a mock of Service interface

func NewMockEventTypeService

func NewMockEventTypeService(ctrl *gomock.Controller) *MockEventTypeService

NewMockEventTypeService creates a new mock instance

func (*MockEventTypeService) CreateEventType

func (m *MockEventTypeService) CreateEventType(arg0 *event.Type) (*event.Type, error)

CreateEventType mocks base method

func (*MockEventTypeService) DeleteEventType

func (m *MockEventTypeService) DeleteEventType(arg0 string, arg1 event.TypeName) error

DeleteEventType mocks base method

func (*MockEventTypeService) EXPECT

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

func (*MockEventTypeService) GetEventType

func (m *MockEventTypeService) GetEventType(arg0 string, arg1 event.TypeName) (*event.Type, error)

GetEventType mocks base method

func (*MockEventTypeService) ListEventTypes

func (m *MockEventTypeService) ListEventTypes(arg0 string, arg1 ...metadata.Filter) (event.Types, error)

ListEventTypes mocks base method

func (*MockEventTypeService) UpdateEventType

func (m *MockEventTypeService) UpdateEventType(arg0 *event.Type) (*event.Type, error)

UpdateEventType mocks base method

type MockEventTypeServiceMockRecorder

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

MockEventTypeServiceMockRecorder is the mock recorder for MockEventTypeService

func (*MockEventTypeServiceMockRecorder) CreateEventType

func (mr *MockEventTypeServiceMockRecorder) CreateEventType(arg0 interface{}) *gomock.Call

CreateEventType indicates an expected call of CreateEventType

func (*MockEventTypeServiceMockRecorder) DeleteEventType

func (mr *MockEventTypeServiceMockRecorder) DeleteEventType(arg0, arg1 interface{}) *gomock.Call

DeleteEventType indicates an expected call of DeleteEventType

func (*MockEventTypeServiceMockRecorder) GetEventType

func (mr *MockEventTypeServiceMockRecorder) GetEventType(arg0, arg1 interface{}) *gomock.Call

GetEventType indicates an expected call of GetEventType

func (*MockEventTypeServiceMockRecorder) ListEventTypes

func (mr *MockEventTypeServiceMockRecorder) ListEventTypes(arg0 interface{}, arg1 ...interface{}) *gomock.Call

ListEventTypes indicates an expected call of ListEventTypes

func (*MockEventTypeServiceMockRecorder) UpdateEventType

func (mr *MockEventTypeServiceMockRecorder) UpdateEventType(arg0 interface{}) *gomock.Call

UpdateEventType indicates an expected call of UpdateEventType

type MockFunctionService

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

MockFunctionService is a mock of Service interface

func NewMockFunctionService

func NewMockFunctionService(ctrl *gomock.Controller) *MockFunctionService

NewMockFunctionService creates a new mock instance

func (*MockFunctionService) CreateFunction

func (m *MockFunctionService) CreateFunction(arg0 *function.Function) (*function.Function, error)

CreateFunction mocks base method

func (*MockFunctionService) DeleteFunction

func (m *MockFunctionService) DeleteFunction(arg0 string, arg1 function.ID) error

DeleteFunction mocks base method

func (*MockFunctionService) EXPECT

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

func (*MockFunctionService) GetFunction

func (m *MockFunctionService) GetFunction(arg0 string, arg1 function.ID) (*function.Function, error)

GetFunction mocks base method

func (*MockFunctionService) ListFunctions

func (m *MockFunctionService) ListFunctions(arg0 string, arg1 ...metadata.Filter) (function.Functions, error)

ListFunctions mocks base method

func (*MockFunctionService) UpdateFunction

func (m *MockFunctionService) UpdateFunction(arg0 *function.Function) (*function.Function, error)

UpdateFunction mocks base method

type MockFunctionServiceMockRecorder

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

MockFunctionServiceMockRecorder is the mock recorder for MockFunctionService

func (*MockFunctionServiceMockRecorder) CreateFunction

func (mr *MockFunctionServiceMockRecorder) CreateFunction(arg0 interface{}) *gomock.Call

CreateFunction indicates an expected call of CreateFunction

func (*MockFunctionServiceMockRecorder) DeleteFunction

func (mr *MockFunctionServiceMockRecorder) DeleteFunction(arg0, arg1 interface{}) *gomock.Call

DeleteFunction indicates an expected call of DeleteFunction

func (*MockFunctionServiceMockRecorder) GetFunction

func (mr *MockFunctionServiceMockRecorder) GetFunction(arg0, arg1 interface{}) *gomock.Call

GetFunction indicates an expected call of GetFunction

func (*MockFunctionServiceMockRecorder) ListFunctions

func (mr *MockFunctionServiceMockRecorder) ListFunctions(arg0 interface{}, arg1 ...interface{}) *gomock.Call

ListFunctions indicates an expected call of ListFunctions

func (*MockFunctionServiceMockRecorder) UpdateFunction

func (mr *MockFunctionServiceMockRecorder) UpdateFunction(arg0 interface{}) *gomock.Call

UpdateFunction indicates an expected call of UpdateFunction

type MockStore

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

MockStore is a mock of Store interface

func NewMockStore

func NewMockStore(ctrl *gomock.Controller) *MockStore

NewMockStore creates a new mock instance

func (*MockStore) AtomicDelete

func (m *MockStore) AtomicDelete(arg0 string, arg1 *store.KVPair) (bool, error)

AtomicDelete mocks base method

func (*MockStore) AtomicPut

func (m *MockStore) AtomicPut(arg0 string, arg1 []byte, arg2 *store.KVPair, arg3 *store.WriteOptions) (bool, *store.KVPair, error)

AtomicPut mocks base method

func (*MockStore) Close

func (m *MockStore) Close()

Close mocks base method

func (*MockStore) Delete

func (m *MockStore) Delete(arg0 string) error

Delete mocks base method

func (*MockStore) DeleteTree

func (m *MockStore) DeleteTree(arg0 string) error

DeleteTree mocks base method

func (*MockStore) EXPECT

func (m *MockStore) EXPECT() *MockStoreMockRecorder

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

func (*MockStore) Exists

func (m *MockStore) Exists(arg0 string, arg1 *store.ReadOptions) (bool, error)

Exists mocks base method

func (*MockStore) Get

func (m *MockStore) Get(arg0 string, arg1 *store.ReadOptions) (*store.KVPair, error)

Get mocks base method

func (*MockStore) List

func (m *MockStore) List(arg0 string, arg1 *store.ReadOptions) ([]*store.KVPair, error)

List mocks base method

func (*MockStore) NewLock

func (m *MockStore) NewLock(arg0 string, arg1 *store.LockOptions) (store.Locker, error)

NewLock mocks base method

func (*MockStore) Put

func (m *MockStore) Put(arg0 string, arg1 []byte, arg2 *store.WriteOptions) error

Put mocks base method

func (*MockStore) Watch

func (m *MockStore) Watch(arg0 string, arg1 <-chan struct{}, arg2 *store.ReadOptions) (<-chan *store.KVPair, error)

Watch mocks base method

func (*MockStore) WatchTree

func (m *MockStore) WatchTree(arg0 string, arg1 <-chan struct{}, arg2 *store.ReadOptions) (<-chan []*store.KVPair, error)

WatchTree mocks base method

type MockStoreMockRecorder

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

MockStoreMockRecorder is the mock recorder for MockStore

func (*MockStoreMockRecorder) AtomicDelete

func (mr *MockStoreMockRecorder) AtomicDelete(arg0, arg1 interface{}) *gomock.Call

AtomicDelete indicates an expected call of AtomicDelete

func (*MockStoreMockRecorder) AtomicPut

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

AtomicPut indicates an expected call of AtomicPut

func (*MockStoreMockRecorder) Close

func (mr *MockStoreMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockStoreMockRecorder) Delete

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

Delete indicates an expected call of Delete

func (*MockStoreMockRecorder) DeleteTree

func (mr *MockStoreMockRecorder) DeleteTree(arg0 interface{}) *gomock.Call

DeleteTree indicates an expected call of DeleteTree

func (*MockStoreMockRecorder) Exists

func (mr *MockStoreMockRecorder) Exists(arg0, arg1 interface{}) *gomock.Call

Exists indicates an expected call of Exists

func (*MockStoreMockRecorder) Get

func (mr *MockStoreMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockStoreMockRecorder) List

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

List indicates an expected call of List

func (*MockStoreMockRecorder) NewLock

func (mr *MockStoreMockRecorder) NewLock(arg0, arg1 interface{}) *gomock.Call

NewLock indicates an expected call of NewLock

func (*MockStoreMockRecorder) Put

func (mr *MockStoreMockRecorder) Put(arg0, arg1, arg2 interface{}) *gomock.Call

Put indicates an expected call of Put

func (*MockStoreMockRecorder) Watch

func (mr *MockStoreMockRecorder) Watch(arg0, arg1, arg2 interface{}) *gomock.Call

Watch indicates an expected call of Watch

func (*MockStoreMockRecorder) WatchTree

func (mr *MockStoreMockRecorder) WatchTree(arg0, arg1, arg2 interface{}) *gomock.Call

WatchTree indicates an expected call of WatchTree

type MockSubscriptionService

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

MockSubscriptionService is a mock of Service interface

func NewMockSubscriptionService

func NewMockSubscriptionService(ctrl *gomock.Controller) *MockSubscriptionService

NewMockSubscriptionService creates a new mock instance

func (*MockSubscriptionService) CreateSubscription

CreateSubscription mocks base method

func (*MockSubscriptionService) DeleteSubscription

func (m *MockSubscriptionService) DeleteSubscription(arg0 string, arg1 subscription.ID) error

DeleteSubscription mocks base method

func (*MockSubscriptionService) EXPECT

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

func (*MockSubscriptionService) GetSubscription

func (m *MockSubscriptionService) GetSubscription(arg0 string, arg1 subscription.ID) (*subscription.Subscription, error)

GetSubscription mocks base method

func (*MockSubscriptionService) ListSubscriptions

func (m *MockSubscriptionService) ListSubscriptions(arg0 string, arg1 ...metadata.Filter) (subscription.Subscriptions, error)

ListSubscriptions mocks base method

func (*MockSubscriptionService) UpdateSubscription

UpdateSubscription mocks base method

type MockSubscriptionServiceMockRecorder

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

MockSubscriptionServiceMockRecorder is the mock recorder for MockSubscriptionService

func (*MockSubscriptionServiceMockRecorder) CreateSubscription

func (mr *MockSubscriptionServiceMockRecorder) CreateSubscription(arg0 interface{}) *gomock.Call

CreateSubscription indicates an expected call of CreateSubscription

func (*MockSubscriptionServiceMockRecorder) DeleteSubscription

func (mr *MockSubscriptionServiceMockRecorder) DeleteSubscription(arg0, arg1 interface{}) *gomock.Call

DeleteSubscription indicates an expected call of DeleteSubscription

func (*MockSubscriptionServiceMockRecorder) GetSubscription

func (mr *MockSubscriptionServiceMockRecorder) GetSubscription(arg0, arg1 interface{}) *gomock.Call

GetSubscription indicates an expected call of GetSubscription

func (*MockSubscriptionServiceMockRecorder) ListSubscriptions

func (mr *MockSubscriptionServiceMockRecorder) ListSubscriptions(arg0 interface{}, arg1 ...interface{}) *gomock.Call

ListSubscriptions indicates an expected call of ListSubscriptions

func (*MockSubscriptionServiceMockRecorder) UpdateSubscription

func (mr *MockSubscriptionServiceMockRecorder) UpdateSubscription(arg0, arg1 interface{}) *gomock.Call

UpdateSubscription indicates an expected call of UpdateSubscription

Jump to

Keyboard shortcuts

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