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 MockPermissionService ¶
type MockPermissionService struct {
// contains filtered or unexported fields
}
MockPermissionService is a mock of PermissionService interface
func NewMockPermissionService ¶
func NewMockPermissionService(ctrl *gomock.Controller) *MockPermissionService
NewMockPermissionService creates a new mock instance
func (*MockPermissionService) EXPECT ¶
func (m *MockPermissionService) EXPECT() *MockPermissionServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockPermissionService) FindPermissionForUser ¶
func (m *MockPermissionService) FindPermissionForUser(ctx context.Context, UserID influxdb.ID) (influxdb.PermissionSet, error)
FindPermissionForUser mocks base method
type MockPermissionServiceMockRecorder ¶
type MockPermissionServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockPermissionServiceMockRecorder is the mock recorder for MockPermissionService
func (*MockPermissionServiceMockRecorder) FindPermissionForUser ¶
func (mr *MockPermissionServiceMockRecorder) FindPermissionForUser(ctx, UserID interface{}) *gomock.Call
FindPermissionForUser indicates an expected call of FindPermissionForUser
type MockPromise ¶
type MockPromise struct {
// contains filtered or unexported fields
}
MockPromise is a mock of Promise interface
func NewMockPromise ¶
func NewMockPromise(ctrl *gomock.Controller) *MockPromise
NewMockPromise creates a new mock instance
func (*MockPromise) Cancel ¶
func (m *MockPromise) Cancel(ctx context.Context)
Cancel mocks base method
func (*MockPromise) EXPECT ¶
func (m *MockPromise) EXPECT() *MockPromiseMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockPromiseMockRecorder ¶
type MockPromiseMockRecorder struct {
// contains filtered or unexported fields
}
MockPromiseMockRecorder is the mock recorder for MockPromise
func (*MockPromiseMockRecorder) Cancel ¶
func (mr *MockPromiseMockRecorder) Cancel(ctx interface{}) *gomock.Call
Cancel indicates an expected call of Cancel
func (*MockPromiseMockRecorder) Done ¶
func (mr *MockPromiseMockRecorder) Done() *gomock.Call
Done indicates an expected call of Done
func (*MockPromiseMockRecorder) Error ¶
func (mr *MockPromiseMockRecorder) Error() *gomock.Call
Error indicates an expected call of Error
func (*MockPromiseMockRecorder) ID ¶
func (mr *MockPromiseMockRecorder) ID() *gomock.Call
ID indicates an expected call of ID