Documentation ¶
Overview ¶
Package mock_infra is a generated GoMock package.
Index ¶
- type MockVerifier
- func (m *MockVerifier) EXPECT() *MockVerifierMockRecorder
- func (m *MockVerifier) Verify(arg0 context.Context, arg1 *crypto.SignedMessage, arg2 ...[]byte) (*signed.Message, error)
- func (m *MockVerifier) WithIA(arg0 addr.IA) verifier.Verifier
- func (m *MockVerifier) WithServer(arg0 net.Addr) verifier.Verifier
- func (m *MockVerifier) WithValidity(arg0 cppki.Validity) verifier.Verifier
- type MockVerifierMockRecorder
- func (mr *MockVerifierMockRecorder) Verify(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockVerifierMockRecorder) WithIA(arg0 interface{}) *gomock.Call
- func (mr *MockVerifierMockRecorder) WithServer(arg0 interface{}) *gomock.Call
- func (mr *MockVerifierMockRecorder) WithValidity(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockVerifier ¶
type MockVerifier struct {
// contains filtered or unexported fields
}
MockVerifier is a mock of Verifier interface.
func NewMockVerifier ¶
func NewMockVerifier(ctrl *gomock.Controller) *MockVerifier
NewMockVerifier creates a new mock instance.
func (*MockVerifier) EXPECT ¶
func (m *MockVerifier) EXPECT() *MockVerifierMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockVerifier) Verify ¶
func (m *MockVerifier) Verify(arg0 context.Context, arg1 *crypto.SignedMessage, arg2 ...[]byte) (*signed.Message, error)
Verify mocks base method.
func (*MockVerifier) WithIA ¶
func (m *MockVerifier) WithIA(arg0 addr.IA) verifier.Verifier
WithIA mocks base method.
func (*MockVerifier) WithServer ¶
func (m *MockVerifier) WithServer(arg0 net.Addr) verifier.Verifier
WithServer mocks base method.
func (*MockVerifier) WithValidity ¶ added in v0.11.0
func (m *MockVerifier) WithValidity(arg0 cppki.Validity) verifier.Verifier
WithValidity mocks base method.
type MockVerifierMockRecorder ¶
type MockVerifierMockRecorder struct {
// contains filtered or unexported fields
}
MockVerifierMockRecorder is the mock recorder for MockVerifier.
func (*MockVerifierMockRecorder) Verify ¶
func (mr *MockVerifierMockRecorder) Verify(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Verify indicates an expected call of Verify.
func (*MockVerifierMockRecorder) WithIA ¶
func (mr *MockVerifierMockRecorder) WithIA(arg0 interface{}) *gomock.Call
WithIA indicates an expected call of WithIA.
func (*MockVerifierMockRecorder) WithServer ¶
func (mr *MockVerifierMockRecorder) WithServer(arg0 interface{}) *gomock.Call
WithServer indicates an expected call of WithServer.
func (*MockVerifierMockRecorder) WithValidity ¶ added in v0.11.0
func (mr *MockVerifierMockRecorder) WithValidity(arg0 interface{}) *gomock.Call
WithValidity indicates an expected call of WithValidity.
Click to show internal directories.
Click to hide internal directories.