Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockAPIKeyService
- func (m *MockAPIKeyService) CreateAPIKey(arg0 context.Context, arg1 model.CreateAPIKeyParams) (model.APIKey, string, error)
- func (m *MockAPIKeyService) DeleteAPIKeyByID(arg0 context.Context, arg1 uint) error
- func (m *MockAPIKeyService) EXPECT() *MockAPIKeyServiceMockRecorder
- func (m *MockAPIKeyService) GetAllAPIKeys(arg0 context.Context) ([]model.APIKey, error)
- type MockAPIKeyServiceMockRecorder
- type MockAdhocService
- func (m *MockAdhocService) EXPECT() *MockAdhocServiceMockRecorder
- func (m *MockAdhocService) GetAllProfiles(arg0 context.Context) ([]model.AdhocProfile, error)
- func (m *MockAdhocService) GetProfileByID(arg0 context.Context, arg1 string) (*flamebearer.FlamebearerProfile, error)
- func (m *MockAdhocService) GetProfileDiffByID(arg0 context.Context, arg1 model.GetAdhocProfileDiffByIDParams) (*flamebearer.FlamebearerProfile, error)
- func (m *MockAdhocService) UploadProfile(arg0 context.Context, arg1 model.UploadAdhocProfileParams) (*flamebearer.FlamebearerProfile, string, error)
- type MockAdhocServiceMockRecorder
- func (mr *MockAdhocServiceMockRecorder) GetAllProfiles(arg0 interface{}) *gomock.Call
- func (mr *MockAdhocServiceMockRecorder) GetProfileByID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAdhocServiceMockRecorder) GetProfileDiffByID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAdhocServiceMockRecorder) UploadProfile(arg0, arg1 interface{}) *gomock.Call
- type MockAuthService
- func (m *MockAuthService) APIKeyFromToken(arg0 context.Context, arg1 string) (model.APIKey, error)
- func (m *MockAuthService) AuthenticateUser(arg0 context.Context, arg1, arg2 string) (model.User, error)
- func (m *MockAuthService) EXPECT() *MockAuthServiceMockRecorder
- func (m *MockAuthService) UserFromJWTToken(arg0 context.Context, arg1 string) (model.User, error)
- type MockAuthServiceMockRecorder
- type MockUserService
- func (m *MockUserService) CreateUser(arg0 context.Context, arg1 model.CreateUserParams) (model.User, error)
- func (m *MockUserService) DeleteUserByID(arg0 context.Context, arg1 uint) error
- func (m *MockUserService) EXPECT() *MockUserServiceMockRecorder
- func (m *MockUserService) FindUserByID(arg0 context.Context, arg1 uint) (model.User, error)
- func (m *MockUserService) GetAllUsers(arg0 context.Context) ([]model.User, error)
- func (m *MockUserService) UpdateUserByID(arg0 context.Context, arg1 uint, arg2 model.UpdateUserParams) (model.User, error)
- func (m *MockUserService) UpdateUserPasswordByID(arg0 context.Context, arg1 uint, arg2 model.UpdateUserPasswordParams) error
- type MockUserServiceMockRecorder
- func (mr *MockUserServiceMockRecorder) CreateUser(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockUserServiceMockRecorder) DeleteUserByID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockUserServiceMockRecorder) FindUserByID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockUserServiceMockRecorder) GetAllUsers(arg0 interface{}) *gomock.Call
- func (mr *MockUserServiceMockRecorder) UpdateUserByID(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockUserServiceMockRecorder) UpdateUserPasswordByID(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAPIKeyService ¶
type MockAPIKeyService struct {
// contains filtered or unexported fields
}
MockAPIKeyService is a mock of APIKeyService interface.
func NewMockAPIKeyService ¶
func NewMockAPIKeyService(ctrl *gomock.Controller) *MockAPIKeyService
NewMockAPIKeyService creates a new mock instance.
func (*MockAPIKeyService) CreateAPIKey ¶
func (m *MockAPIKeyService) CreateAPIKey(arg0 context.Context, arg1 model.CreateAPIKeyParams) (model.APIKey, string, error)
CreateAPIKey mocks base method.
func (*MockAPIKeyService) DeleteAPIKeyByID ¶
func (m *MockAPIKeyService) DeleteAPIKeyByID(arg0 context.Context, arg1 uint) error
DeleteAPIKeyByID mocks base method.
func (*MockAPIKeyService) EXPECT ¶
func (m *MockAPIKeyService) EXPECT() *MockAPIKeyServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAPIKeyService) GetAllAPIKeys ¶
GetAllAPIKeys mocks base method.
type MockAPIKeyServiceMockRecorder ¶
type MockAPIKeyServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockAPIKeyServiceMockRecorder is the mock recorder for MockAPIKeyService.
func (*MockAPIKeyServiceMockRecorder) CreateAPIKey ¶
func (mr *MockAPIKeyServiceMockRecorder) CreateAPIKey(arg0, arg1 interface{}) *gomock.Call
CreateAPIKey indicates an expected call of CreateAPIKey.
func (*MockAPIKeyServiceMockRecorder) DeleteAPIKeyByID ¶
func (mr *MockAPIKeyServiceMockRecorder) DeleteAPIKeyByID(arg0, arg1 interface{}) *gomock.Call
DeleteAPIKeyByID indicates an expected call of DeleteAPIKeyByID.
func (*MockAPIKeyServiceMockRecorder) GetAllAPIKeys ¶
func (mr *MockAPIKeyServiceMockRecorder) GetAllAPIKeys(arg0 interface{}) *gomock.Call
GetAllAPIKeys indicates an expected call of GetAllAPIKeys.
type MockAdhocService ¶ added in v0.30.0
type MockAdhocService struct {
// contains filtered or unexported fields
}
MockAdhocService is a mock of AdhocService interface.
func NewMockAdhocService ¶ added in v0.30.0
func NewMockAdhocService(ctrl *gomock.Controller) *MockAdhocService
NewMockAdhocService creates a new mock instance.
func (*MockAdhocService) EXPECT ¶ added in v0.30.0
func (m *MockAdhocService) EXPECT() *MockAdhocServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAdhocService) GetAllProfiles ¶ added in v0.30.0
func (m *MockAdhocService) GetAllProfiles(arg0 context.Context) ([]model.AdhocProfile, error)
GetAllProfiles mocks base method.
func (*MockAdhocService) GetProfileByID ¶ added in v0.30.0
func (m *MockAdhocService) GetProfileByID(arg0 context.Context, arg1 string) (*flamebearer.FlamebearerProfile, error)
GetProfileByID mocks base method.
func (*MockAdhocService) GetProfileDiffByID ¶ added in v0.30.0
func (m *MockAdhocService) GetProfileDiffByID(arg0 context.Context, arg1 model.GetAdhocProfileDiffByIDParams) (*flamebearer.FlamebearerProfile, error)
GetProfileDiffByID mocks base method.
func (*MockAdhocService) UploadProfile ¶ added in v0.30.0
func (m *MockAdhocService) UploadProfile(arg0 context.Context, arg1 model.UploadAdhocProfileParams) (*flamebearer.FlamebearerProfile, string, error)
UploadProfile mocks base method.
type MockAdhocServiceMockRecorder ¶ added in v0.30.0
type MockAdhocServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockAdhocServiceMockRecorder is the mock recorder for MockAdhocService.
func (*MockAdhocServiceMockRecorder) GetAllProfiles ¶ added in v0.30.0
func (mr *MockAdhocServiceMockRecorder) GetAllProfiles(arg0 interface{}) *gomock.Call
GetAllProfiles indicates an expected call of GetAllProfiles.
func (*MockAdhocServiceMockRecorder) GetProfileByID ¶ added in v0.30.0
func (mr *MockAdhocServiceMockRecorder) GetProfileByID(arg0, arg1 interface{}) *gomock.Call
GetProfileByID indicates an expected call of GetProfileByID.
func (*MockAdhocServiceMockRecorder) GetProfileDiffByID ¶ added in v0.30.0
func (mr *MockAdhocServiceMockRecorder) GetProfileDiffByID(arg0, arg1 interface{}) *gomock.Call
GetProfileDiffByID indicates an expected call of GetProfileDiffByID.
func (*MockAdhocServiceMockRecorder) UploadProfile ¶ added in v0.30.0
func (mr *MockAdhocServiceMockRecorder) UploadProfile(arg0, arg1 interface{}) *gomock.Call
UploadProfile indicates an expected call of UploadProfile.
type MockAuthService ¶
type MockAuthService struct {
// contains filtered or unexported fields
}
MockAuthService is a mock of AuthService interface.
func NewMockAuthService ¶
func NewMockAuthService(ctrl *gomock.Controller) *MockAuthService
NewMockAuthService creates a new mock instance.
func (*MockAuthService) APIKeyFromToken ¶
APIKeyFromToken mocks base method.
func (*MockAuthService) AuthenticateUser ¶
func (m *MockAuthService) AuthenticateUser(arg0 context.Context, arg1, arg2 string) (model.User, error)
AuthenticateUser mocks base method.
func (*MockAuthService) EXPECT ¶
func (m *MockAuthService) EXPECT() *MockAuthServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAuthService) UserFromJWTToken ¶
UserFromJWTToken mocks base method.
type MockAuthServiceMockRecorder ¶
type MockAuthServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockAuthServiceMockRecorder is the mock recorder for MockAuthService.
func (*MockAuthServiceMockRecorder) APIKeyFromToken ¶
func (mr *MockAuthServiceMockRecorder) APIKeyFromToken(arg0, arg1 interface{}) *gomock.Call
APIKeyFromToken indicates an expected call of APIKeyFromToken.
func (*MockAuthServiceMockRecorder) AuthenticateUser ¶
func (mr *MockAuthServiceMockRecorder) AuthenticateUser(arg0, arg1, arg2 interface{}) *gomock.Call
AuthenticateUser indicates an expected call of AuthenticateUser.
func (*MockAuthServiceMockRecorder) UserFromJWTToken ¶
func (mr *MockAuthServiceMockRecorder) UserFromJWTToken(arg0, arg1 interface{}) *gomock.Call
UserFromJWTToken indicates an expected call of UserFromJWTToken.
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) CreateUser ¶
func (m *MockUserService) CreateUser(arg0 context.Context, arg1 model.CreateUserParams) (model.User, error)
CreateUser mocks base method.
func (*MockUserService) DeleteUserByID ¶
func (m *MockUserService) DeleteUserByID(arg0 context.Context, arg1 uint) error
DeleteUserByID mocks base method.
func (*MockUserService) EXPECT ¶
func (m *MockUserService) EXPECT() *MockUserServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUserService) FindUserByID ¶
FindUserByID mocks base method.
func (*MockUserService) GetAllUsers ¶
GetAllUsers mocks base method.
func (*MockUserService) UpdateUserByID ¶
func (m *MockUserService) UpdateUserByID(arg0 context.Context, arg1 uint, arg2 model.UpdateUserParams) (model.User, error)
UpdateUserByID mocks base method.
func (*MockUserService) UpdateUserPasswordByID ¶
func (m *MockUserService) UpdateUserPasswordByID(arg0 context.Context, arg1 uint, arg2 model.UpdateUserPasswordParams) error
UpdateUserPasswordByID mocks base method.
type MockUserServiceMockRecorder ¶
type MockUserServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockUserServiceMockRecorder is the mock recorder for MockUserService.
func (*MockUserServiceMockRecorder) CreateUser ¶
func (mr *MockUserServiceMockRecorder) CreateUser(arg0, arg1 interface{}) *gomock.Call
CreateUser indicates an expected call of CreateUser.
func (*MockUserServiceMockRecorder) DeleteUserByID ¶
func (mr *MockUserServiceMockRecorder) DeleteUserByID(arg0, arg1 interface{}) *gomock.Call
DeleteUserByID indicates an expected call of DeleteUserByID.
func (*MockUserServiceMockRecorder) FindUserByID ¶
func (mr *MockUserServiceMockRecorder) FindUserByID(arg0, arg1 interface{}) *gomock.Call
FindUserByID indicates an expected call of FindUserByID.
func (*MockUserServiceMockRecorder) GetAllUsers ¶
func (mr *MockUserServiceMockRecorder) GetAllUsers(arg0 interface{}) *gomock.Call
GetAllUsers indicates an expected call of GetAllUsers.
func (*MockUserServiceMockRecorder) UpdateUserByID ¶
func (mr *MockUserServiceMockRecorder) UpdateUserByID(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateUserByID indicates an expected call of UpdateUserByID.
func (*MockUserServiceMockRecorder) UpdateUserPasswordByID ¶
func (mr *MockUserServiceMockRecorder) UpdateUserPasswordByID(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateUserPasswordByID indicates an expected call of UpdateUserPasswordByID.