Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockClaimsMapper
- type MockClaimsMapperMockRecorder
- type MockKeyService
- type MockKeyServiceMockRecorder
- type MockKeyStore
- func (m *MockKeyStore) Add(virtualServerName string, keyPair services.KeyPair) error
- func (m *MockKeyStore) EXPECT() *MockKeyStoreMockRecorder
- func (m *MockKeyStore) Get(virtualServerName string, algorithm config.SigningAlgorithm, kid string) (*services.KeyPair, error)
- func (m *MockKeyStore) GetAll(virtualServerName string) ([]services.KeyPair, error)
- func (m *MockKeyStore) GetAllForAlgorithm(virtualServerName string, algorithm config.SigningAlgorithm) ([]services.KeyPair, error)
- func (m *MockKeyStore) Remove(virtualServerName string, algorithm config.SigningAlgorithm, kid string) error
- type MockKeyStoreMockRecorder
- func (mr *MockKeyStoreMockRecorder) Add(virtualServerName, keyPair any) *gomock.Call
- func (mr *MockKeyStoreMockRecorder) Get(virtualServerName, algorithm, kid any) *gomock.Call
- func (mr *MockKeyStoreMockRecorder) GetAll(virtualServerName any) *gomock.Call
- func (mr *MockKeyStoreMockRecorder) GetAllForAlgorithm(virtualServerName, algorithm any) *gomock.Call
- func (mr *MockKeyStoreMockRecorder) Remove(virtualServerName, algorithm, kid any) *gomock.Call
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 ¶
func (m *MockClaimsMapper) EXPECT() *MockClaimsMapperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockClaimsMapperMockRecorder ¶
type MockClaimsMapperMockRecorder struct {
// contains filtered or unexported fields
}
MockClaimsMapperMockRecorder is the mock recorder for MockClaimsMapper.
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 ¶
func (m *MockKeyService) EXPECT() *MockKeyServiceMockRecorder
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, error)
GetKey mocks base method.
type MockKeyServiceMockRecorder ¶
type MockKeyServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockKeyServiceMockRecorder is the mock recorder for MockKeyService.
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 ¶
func (m *MockKeyStore) EXPECT() *MockKeyStoreMockRecorder
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.