Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
- type MockKeyService
- func (m *MockKeyService) EXPECT() *MockKeyServiceMockRecorder
- func (m *MockKeyService) GetDecrypter(arg0 []byte) (crypto.Decrypter, error)
- func (m *MockKeyService) GetSigner(arg0 []byte) (crypto.Signer, error)
- func (m *MockKeyService) HaveKey(arg0 [][]byte) (bool, []byte, error)
- func (m *MockKeyService) Keygrips() ([][]byte, error)
- func (m *MockKeyService) Name() string
- type MockKeyServiceMockRecorder
- func (mr *MockKeyServiceMockRecorder) GetDecrypter(arg0 any) *gomock.Call
- func (mr *MockKeyServiceMockRecorder) GetSigner(arg0 any) *gomock.Call
- func (mr *MockKeyServiceMockRecorder) HaveKey(arg0 any) *gomock.Call
- func (mr *MockKeyServiceMockRecorder) Keygrips() *gomock.Call
- func (mr *MockKeyServiceMockRecorder) Name() *gomock.Call
- type MockPINEntryService
- type MockPINEntryServiceMockRecorder
- type MockSecurityKey
- func (m *MockSecurityKey) AttestationCertificate() (*x509.Certificate, error)
- func (m *MockSecurityKey) Card() string
- func (m *MockSecurityKey) Close() error
- func (m *MockSecurityKey) Comment(arg0 *securitykey.SlotSpec) string
- func (m *MockSecurityKey) CryptoKeys() []securitykey.CryptoKey
- func (m *MockSecurityKey) EXPECT() *MockSecurityKeyMockRecorder
- func (m *MockSecurityKey) PrivateKey(arg0 *securitykey.CryptoKey) (crypto.PrivateKey, error)
- func (m *MockSecurityKey) SigningKeys() []securitykey.SigningKey
- func (m *MockSecurityKey) StringsGPG(arg0, arg1 string) ([]string, error)
- func (m *MockSecurityKey) StringsSSH() []string
- type MockSecurityKeyMockRecorder
- func (mr *MockSecurityKeyMockRecorder) AttestationCertificate() *gomock.Call
- func (mr *MockSecurityKeyMockRecorder) Card() *gomock.Call
- func (mr *MockSecurityKeyMockRecorder) Close() *gomock.Call
- func (mr *MockSecurityKeyMockRecorder) Comment(arg0 any) *gomock.Call
- func (mr *MockSecurityKeyMockRecorder) CryptoKeys() *gomock.Call
- func (mr *MockSecurityKeyMockRecorder) PrivateKey(arg0 any) *gomock.Call
- func (mr *MockSecurityKeyMockRecorder) SigningKeys() *gomock.Call
- func (mr *MockSecurityKeyMockRecorder) StringsGPG(arg0, arg1 any) *gomock.Call
- func (mr *MockSecurityKeyMockRecorder) StringsSSH() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockKeyService ¶ added in v0.4.0
type MockKeyService struct {
// contains filtered or unexported fields
}
MockKeyService is a mock of KeyService interface.
func NewMockKeyService ¶ added in v0.4.0
func NewMockKeyService(ctrl *gomock.Controller) *MockKeyService
NewMockKeyService creates a new mock instance.
func (*MockKeyService) EXPECT ¶ added in v0.4.0
func (m *MockKeyService) EXPECT() *MockKeyServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockKeyService) GetDecrypter ¶ added in v0.4.0
func (m *MockKeyService) GetDecrypter(arg0 []byte) (crypto.Decrypter, error)
GetDecrypter mocks base method.
func (*MockKeyService) GetSigner ¶ added in v0.4.0
func (m *MockKeyService) GetSigner(arg0 []byte) (crypto.Signer, error)
GetSigner mocks base method.
func (*MockKeyService) HaveKey ¶ added in v0.4.0
func (m *MockKeyService) HaveKey(arg0 [][]byte) (bool, []byte, error)
HaveKey mocks base method.
func (*MockKeyService) Keygrips ¶ added in v0.9.0
func (m *MockKeyService) Keygrips() ([][]byte, error)
Keygrips mocks base method.
func (*MockKeyService) Name ¶ added in v0.4.0
func (m *MockKeyService) Name() string
Name mocks base method.
type MockKeyServiceMockRecorder ¶ added in v0.4.0
type MockKeyServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockKeyServiceMockRecorder is the mock recorder for MockKeyService.
func (*MockKeyServiceMockRecorder) GetDecrypter ¶ added in v0.4.0
func (mr *MockKeyServiceMockRecorder) GetDecrypter(arg0 any) *gomock.Call
GetDecrypter indicates an expected call of GetDecrypter.
func (*MockKeyServiceMockRecorder) GetSigner ¶ added in v0.4.0
func (mr *MockKeyServiceMockRecorder) GetSigner(arg0 any) *gomock.Call
GetSigner indicates an expected call of GetSigner.
func (*MockKeyServiceMockRecorder) HaveKey ¶ added in v0.4.0
func (mr *MockKeyServiceMockRecorder) HaveKey(arg0 any) *gomock.Call
HaveKey indicates an expected call of HaveKey.
func (*MockKeyServiceMockRecorder) Keygrips ¶ added in v0.9.0
func (mr *MockKeyServiceMockRecorder) Keygrips() *gomock.Call
Keygrips indicates an expected call of Keygrips.
func (*MockKeyServiceMockRecorder) Name ¶ added in v0.4.0
func (mr *MockKeyServiceMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
type MockPINEntryService ¶ added in v0.4.0
type MockPINEntryService struct {
// contains filtered or unexported fields
}
MockPINEntryService is a mock of PINEntryService interface.
func NewMockPINEntryService ¶ added in v0.4.0
func NewMockPINEntryService(ctrl *gomock.Controller) *MockPINEntryService
NewMockPINEntryService creates a new mock instance.
func (*MockPINEntryService) EXPECT ¶ added in v0.4.0
func (m *MockPINEntryService) EXPECT() *MockPINEntryServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPINEntryService) GetPassphrase ¶ added in v0.7.0
func (m *MockPINEntryService) GetPassphrase(arg0, arg1 string, arg2 int) ([]byte, error)
GetPassphrase mocks base method.
type MockPINEntryServiceMockRecorder ¶ added in v0.4.0
type MockPINEntryServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockPINEntryServiceMockRecorder is the mock recorder for MockPINEntryService.
func (*MockPINEntryServiceMockRecorder) GetPassphrase ¶ added in v0.7.0
func (mr *MockPINEntryServiceMockRecorder) GetPassphrase(arg0, arg1, arg2 any) *gomock.Call
GetPassphrase indicates an expected call of GetPassphrase.
type MockSecurityKey ¶
type MockSecurityKey struct {
// contains filtered or unexported fields
}
MockSecurityKey is a mock of SecurityKey interface.
func NewMockSecurityKey ¶
func NewMockSecurityKey(ctrl *gomock.Controller) *MockSecurityKey
NewMockSecurityKey creates a new mock instance.
func (*MockSecurityKey) AttestationCertificate ¶
func (m *MockSecurityKey) AttestationCertificate() (*x509.Certificate, error)
AttestationCertificate mocks base method.
func (*MockSecurityKey) Comment ¶ added in v0.4.0
func (m *MockSecurityKey) Comment(arg0 *securitykey.SlotSpec) string
Comment mocks base method.
func (*MockSecurityKey) CryptoKeys ¶ added in v0.9.0
func (m *MockSecurityKey) CryptoKeys() []securitykey.CryptoKey
CryptoKeys mocks base method.
func (*MockSecurityKey) EXPECT ¶
func (m *MockSecurityKey) EXPECT() *MockSecurityKeyMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSecurityKey) PrivateKey ¶
func (m *MockSecurityKey) PrivateKey(arg0 *securitykey.CryptoKey) (crypto.PrivateKey, error)
PrivateKey mocks base method.
func (*MockSecurityKey) SigningKeys ¶
func (m *MockSecurityKey) SigningKeys() []securitykey.SigningKey
SigningKeys mocks base method.
func (*MockSecurityKey) StringsGPG ¶
func (m *MockSecurityKey) StringsGPG(arg0, arg1 string) ([]string, error)
StringsGPG mocks base method.
func (*MockSecurityKey) StringsSSH ¶
func (m *MockSecurityKey) StringsSSH() []string
StringsSSH mocks base method.
type MockSecurityKeyMockRecorder ¶
type MockSecurityKeyMockRecorder struct {
// contains filtered or unexported fields
}
MockSecurityKeyMockRecorder is the mock recorder for MockSecurityKey.
func (*MockSecurityKeyMockRecorder) AttestationCertificate ¶
func (mr *MockSecurityKeyMockRecorder) AttestationCertificate() *gomock.Call
AttestationCertificate indicates an expected call of AttestationCertificate.
func (*MockSecurityKeyMockRecorder) Card ¶
func (mr *MockSecurityKeyMockRecorder) Card() *gomock.Call
Card indicates an expected call of Card.
func (*MockSecurityKeyMockRecorder) Close ¶
func (mr *MockSecurityKeyMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockSecurityKeyMockRecorder) Comment ¶ added in v0.4.0
func (mr *MockSecurityKeyMockRecorder) Comment(arg0 any) *gomock.Call
Comment indicates an expected call of Comment.
func (*MockSecurityKeyMockRecorder) CryptoKeys ¶ added in v0.9.0
func (mr *MockSecurityKeyMockRecorder) CryptoKeys() *gomock.Call
CryptoKeys indicates an expected call of CryptoKeys.
func (*MockSecurityKeyMockRecorder) PrivateKey ¶
func (mr *MockSecurityKeyMockRecorder) PrivateKey(arg0 any) *gomock.Call
PrivateKey indicates an expected call of PrivateKey.
func (*MockSecurityKeyMockRecorder) SigningKeys ¶
func (mr *MockSecurityKeyMockRecorder) SigningKeys() *gomock.Call
SigningKeys indicates an expected call of SigningKeys.
func (*MockSecurityKeyMockRecorder) StringsGPG ¶
func (mr *MockSecurityKeyMockRecorder) StringsGPG(arg0, arg1 any) *gomock.Call
StringsGPG indicates an expected call of StringsGPG.
func (*MockSecurityKeyMockRecorder) StringsSSH ¶
func (mr *MockSecurityKeyMockRecorder) StringsSSH() *gomock.Call
StringsSSH indicates an expected call of StringsSSH.