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 ¶
- type MockCORSService
- func (m *MockCORSService) CreateCORS(arg0 *cors.CORS) (*cors.CORS, error)
- func (m *MockCORSService) DeleteCORS(arg0 string, arg1 cors.ID) error
- func (m *MockCORSService) EXPECT() *MockCORSServiceMockRecorder
- func (m *MockCORSService) GetCORS(arg0 string, arg1 cors.ID) (*cors.CORS, error)
- func (m *MockCORSService) ListCORS(arg0 string, arg1 ...metadata.Filter) (cors.CORSes, error)
- func (m *MockCORSService) UpdateCORS(arg0 *cors.CORS) (*cors.CORS, error)
- type MockCORSServiceMockRecorder
- func (mr *MockCORSServiceMockRecorder) CreateCORS(arg0 interface{}) *gomock.Call
- func (mr *MockCORSServiceMockRecorder) DeleteCORS(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCORSServiceMockRecorder) GetCORS(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCORSServiceMockRecorder) ListCORS(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockCORSServiceMockRecorder) UpdateCORS(arg0 interface{}) *gomock.Call
- type MockEventTypeService
- func (m *MockEventTypeService) CreateEventType(arg0 *event.Type) (*event.Type, error)
- func (m *MockEventTypeService) DeleteEventType(arg0 string, arg1 event.TypeName) error
- func (m *MockEventTypeService) EXPECT() *MockEventTypeServiceMockRecorder
- func (m *MockEventTypeService) GetEventType(arg0 string, arg1 event.TypeName) (*event.Type, error)
- func (m *MockEventTypeService) ListEventTypes(arg0 string, arg1 ...metadata.Filter) (event.Types, error)
- func (m *MockEventTypeService) UpdateEventType(arg0 *event.Type) (*event.Type, error)
- type MockEventTypeServiceMockRecorder
- func (mr *MockEventTypeServiceMockRecorder) CreateEventType(arg0 interface{}) *gomock.Call
- func (mr *MockEventTypeServiceMockRecorder) DeleteEventType(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEventTypeServiceMockRecorder) GetEventType(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEventTypeServiceMockRecorder) ListEventTypes(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockEventTypeServiceMockRecorder) UpdateEventType(arg0 interface{}) *gomock.Call
- type MockFunctionService
- func (m *MockFunctionService) CreateFunction(arg0 *function.Function) (*function.Function, error)
- func (m *MockFunctionService) DeleteFunction(arg0 string, arg1 function.ID) error
- func (m *MockFunctionService) EXPECT() *MockFunctionServiceMockRecorder
- func (m *MockFunctionService) GetFunction(arg0 string, arg1 function.ID) (*function.Function, error)
- func (m *MockFunctionService) ListFunctions(arg0 string, arg1 ...metadata.Filter) (function.Functions, error)
- func (m *MockFunctionService) UpdateFunction(arg0 *function.Function) (*function.Function, error)
- type MockFunctionServiceMockRecorder
- func (mr *MockFunctionServiceMockRecorder) CreateFunction(arg0 interface{}) *gomock.Call
- func (mr *MockFunctionServiceMockRecorder) DeleteFunction(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFunctionServiceMockRecorder) GetFunction(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFunctionServiceMockRecorder) ListFunctions(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockFunctionServiceMockRecorder) UpdateFunction(arg0 interface{}) *gomock.Call
- type MockStore
- func (m *MockStore) AtomicDelete(arg0 string, arg1 *store.KVPair) (bool, error)
- func (m *MockStore) AtomicPut(arg0 string, arg1 []byte, arg2 *store.KVPair, arg3 *store.WriteOptions) (bool, *store.KVPair, error)
- func (m *MockStore) Close()
- func (m *MockStore) Delete(arg0 string) error
- func (m *MockStore) DeleteTree(arg0 string) error
- func (m *MockStore) EXPECT() *MockStoreMockRecorder
- func (m *MockStore) Exists(arg0 string, arg1 *store.ReadOptions) (bool, error)
- func (m *MockStore) Get(arg0 string, arg1 *store.ReadOptions) (*store.KVPair, error)
- func (m *MockStore) List(arg0 string, arg1 *store.ReadOptions) ([]*store.KVPair, error)
- func (m *MockStore) NewLock(arg0 string, arg1 *store.LockOptions) (store.Locker, error)
- func (m *MockStore) Put(arg0 string, arg1 []byte, arg2 *store.WriteOptions) error
- func (m *MockStore) Watch(arg0 string, arg1 <-chan struct{}, arg2 *store.ReadOptions) (<-chan *store.KVPair, error)
- func (m *MockStore) WatchTree(arg0 string, arg1 <-chan struct{}, arg2 *store.ReadOptions) (<-chan []*store.KVPair, error)
- type MockStoreMockRecorder
- func (mr *MockStoreMockRecorder) AtomicDelete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) AtomicPut(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Close() *gomock.Call
- func (mr *MockStoreMockRecorder) Delete(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) DeleteTree(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Exists(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) NewLock(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Put(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Watch(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) WatchTree(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockSubscriptionService
- func (m *MockSubscriptionService) CreateSubscription(arg0 *subscription.Subscription) (*subscription.Subscription, error)
- func (m *MockSubscriptionService) DeleteSubscription(arg0 string, arg1 subscription.ID) error
- func (m *MockSubscriptionService) EXPECT() *MockSubscriptionServiceMockRecorder
- func (m *MockSubscriptionService) GetSubscription(arg0 string, arg1 subscription.ID) (*subscription.Subscription, error)
- func (m *MockSubscriptionService) ListSubscriptions(arg0 string, arg1 ...metadata.Filter) (subscription.Subscriptions, error)
- func (m *MockSubscriptionService) UpdateSubscription(arg0 subscription.ID, arg1 *subscription.Subscription) (*subscription.Subscription, error)
- type MockSubscriptionServiceMockRecorder
- func (mr *MockSubscriptionServiceMockRecorder) CreateSubscription(arg0 interface{}) *gomock.Call
- func (mr *MockSubscriptionServiceMockRecorder) DeleteSubscription(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSubscriptionServiceMockRecorder) GetSubscription(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSubscriptionServiceMockRecorder) ListSubscriptions(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockSubscriptionServiceMockRecorder) UpdateSubscription(arg0, arg1 interface{}) *gomock.Call
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 ¶
CreateCORS mocks base method
func (*MockCORSService) DeleteCORS ¶
func (m *MockCORSService) DeleteCORS(arg0 string, arg1 cors.ID) error
DeleteCORS mocks base method
func (*MockCORSService) EXPECT ¶
func (m *MockCORSService) EXPECT() *MockCORSServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockCORSService) UpdateCORS ¶
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 ¶
CreateEventType mocks base method
func (*MockEventTypeService) DeleteEventType ¶
func (m *MockEventTypeService) DeleteEventType(arg0 string, arg1 event.TypeName) error
DeleteEventType mocks base method
func (*MockEventTypeService) EXPECT ¶
func (m *MockEventTypeService) EXPECT() *MockEventTypeServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockEventTypeService) GetEventType ¶
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 ¶
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 ¶
CreateFunction mocks base method
func (*MockFunctionService) DeleteFunction ¶
func (m *MockFunctionService) DeleteFunction(arg0 string, arg1 function.ID) error
DeleteFunction mocks base method
func (*MockFunctionService) EXPECT ¶
func (m *MockFunctionService) EXPECT() *MockFunctionServiceMockRecorder
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 ¶
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 ¶
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) DeleteTree ¶
DeleteTree mocks base method
func (*MockStore) EXPECT ¶
func (m *MockStore) EXPECT() *MockStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
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 ¶
func (m *MockSubscriptionService) CreateSubscription(arg0 *subscription.Subscription) (*subscription.Subscription, error)
CreateSubscription mocks base method
func (*MockSubscriptionService) DeleteSubscription ¶
func (m *MockSubscriptionService) DeleteSubscription(arg0 string, arg1 subscription.ID) error
DeleteSubscription mocks base method
func (*MockSubscriptionService) EXPECT ¶
func (m *MockSubscriptionService) EXPECT() *MockSubscriptionServiceMockRecorder
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 ¶
func (m *MockSubscriptionService) UpdateSubscription(arg0 subscription.ID, arg1 *subscription.Subscription) (*subscription.Subscription, error)
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