mocks

package
v0.37.2 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

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

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

CreateAPIKey mocks base method.

func (*MockAPIKeyService) DeleteAPIKeyByID

func (m *MockAPIKeyService) DeleteAPIKeyByID(arg0 context.Context, arg1 uint) error

DeleteAPIKeyByID mocks base method.

func (*MockAPIKeyService) EXPECT

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

func (*MockAPIKeyService) GetAllAPIKeys

func (m *MockAPIKeyService) GetAllAPIKeys(arg0 context.Context) ([]model.APIKey, error)

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

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

GetProfileDiffByID mocks base method.

func (*MockAdhocService) UploadProfile added in v0.30.0

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

func (m *MockAuthService) APIKeyFromToken(arg0 context.Context, arg1 string) (model.APIKey, error)

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

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

func (*MockAuthService) UserFromJWTToken

func (m *MockAuthService) UserFromJWTToken(arg0 context.Context, arg1 string) (model.User, error)

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

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

func (*MockUserService) FindUserByID

func (m *MockUserService) FindUserByID(arg0 context.Context, arg1 uint) (model.User, error)

FindUserByID mocks base method.

func (*MockUserService) GetAllUsers

func (m *MockUserService) GetAllUsers(arg0 context.Context) ([]model.User, error)

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.

Jump to

Keyboard shortcuts

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