mocks

package
v0.3.11 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2026 License: AGPL-3.0 Imports: 8 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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClaimsMapper

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

MockClaimsMapper is a mock of ClaimsMapper interface.

func NewMockClaimsMapper

func NewMockClaimsMapper(ctrl *gomock.Controller) *MockClaimsMapper

NewMockClaimsMapper creates a new mock instance.

func (*MockClaimsMapper) EXPECT

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

func (*MockClaimsMapper) MapClaims

func (m *MockClaimsMapper) MapClaims(ctx context.Context, ApplicationId uuid.UUID, params claimsMapping.Params) map[string]any

MapClaims mocks base method.

type MockClaimsMapperMockRecorder

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

MockClaimsMapperMockRecorder is the mock recorder for MockClaimsMapper.

func (*MockClaimsMapperMockRecorder) MapClaims

func (mr *MockClaimsMapperMockRecorder) MapClaims(ctx, ApplicationId, params any) *gomock.Call

MapClaims indicates an expected call of MapClaims.

type MockKeyService

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

MockKeyService is a mock of KeyService interface.

func NewMockKeyService

func NewMockKeyService(ctrl *gomock.Controller) *MockKeyService

NewMockKeyService creates a new mock instance.

func (*MockKeyService) EXPECT

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

func (*MockKeyService) Generate

func (m *MockKeyService) Generate(clockService clock.Service, virtualServerName string, algorithm config.SigningAlgorithm) (services.KeyPair, error)

Generate mocks base method.

func (*MockKeyService) GetKey

func (m *MockKeyService) GetKey(virtualServerName string, algorithm config.SigningAlgorithm) services.KeyPair

GetKey mocks base method.

type MockKeyServiceMockRecorder

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

MockKeyServiceMockRecorder is the mock recorder for MockKeyService.

func (*MockKeyServiceMockRecorder) Generate

func (mr *MockKeyServiceMockRecorder) Generate(clockService, virtualServerName, algorithm any) *gomock.Call

Generate indicates an expected call of Generate.

func (*MockKeyServiceMockRecorder) GetKey

func (mr *MockKeyServiceMockRecorder) GetKey(virtualServerName, algorithm any) *gomock.Call

GetKey indicates an expected call of GetKey.

type MockKeyStore

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

MockKeyStore is a mock of KeyStore interface.

func NewMockKeyStore

func NewMockKeyStore(ctrl *gomock.Controller) *MockKeyStore

NewMockKeyStore creates a new mock instance.

func (*MockKeyStore) Add

func (m *MockKeyStore) Add(virtualServerName string, keyPair services.KeyPair) error

Add mocks base method.

func (*MockKeyStore) EXPECT

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

func (*MockKeyStore) Get

func (m *MockKeyStore) Get(virtualServerName string, algorithm config.SigningAlgorithm, kid string) (*services.KeyPair, error)

Get mocks base method.

func (*MockKeyStore) GetAll

func (m *MockKeyStore) GetAll(virtualServerName string) ([]services.KeyPair, error)

GetAll mocks base method.

func (*MockKeyStore) GetAllForAlgorithm

func (m *MockKeyStore) GetAllForAlgorithm(virtualServerName string, algorithm config.SigningAlgorithm) ([]services.KeyPair, error)

GetAllForAlgorithm mocks base method.

func (*MockKeyStore) Remove

func (m *MockKeyStore) Remove(virtualServerName string, algorithm config.SigningAlgorithm, kid string) error

Remove mocks base method.

type MockKeyStoreMockRecorder

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

MockKeyStoreMockRecorder is the mock recorder for MockKeyStore.

func (*MockKeyStoreMockRecorder) Add

func (mr *MockKeyStoreMockRecorder) Add(virtualServerName, keyPair any) *gomock.Call

Add indicates an expected call of Add.

func (*MockKeyStoreMockRecorder) Get

func (mr *MockKeyStoreMockRecorder) Get(virtualServerName, algorithm, kid any) *gomock.Call

Get indicates an expected call of Get.

func (*MockKeyStoreMockRecorder) GetAll

func (mr *MockKeyStoreMockRecorder) GetAll(virtualServerName any) *gomock.Call

GetAll indicates an expected call of GetAll.

func (*MockKeyStoreMockRecorder) GetAllForAlgorithm

func (mr *MockKeyStoreMockRecorder) GetAllForAlgorithm(virtualServerName, algorithm any) *gomock.Call

GetAllForAlgorithm indicates an expected call of GetAllForAlgorithm.

func (*MockKeyStoreMockRecorder) Remove

func (mr *MockKeyStoreMockRecorder) Remove(virtualServerName, algorithm, kid any) *gomock.Call

Remove indicates an expected call of Remove.

Jump to

Keyboard shortcuts

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