Documentation ¶
Overview ¶
Package mock_grpc is a generated GoMock package.
Index ¶
- type MockEngine
- func (m *MockEngine) DeriveASHost(arg0 context.Context, arg1 drkey.ASHostMeta) (drkey.ASHostKey, error)
- func (m *MockEngine) DeriveHostAS(arg0 context.Context, arg1 drkey.HostASMeta) (drkey.HostASKey, error)
- func (m *MockEngine) DeriveHostHost(arg0 context.Context, arg1 drkey.HostHostMeta) (drkey.HostHostKey, error)
- func (m *MockEngine) DeriveLevel1(arg0 drkey.Level1Meta) (drkey.Level1Key, error)
- func (m *MockEngine) EXPECT() *MockEngineMockRecorder
- func (m *MockEngine) GetLevel1Key(arg0 context.Context, arg1 drkey.Level1Meta) (drkey.Level1Key, error)
- func (m *MockEngine) GetSecretValue(arg0 context.Context, arg1 drkey.SecretValueMeta) (drkey.SecretValue, error)
- type MockEngineMockRecorder
- func (mr *MockEngineMockRecorder) DeriveASHost(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEngineMockRecorder) DeriveHostAS(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEngineMockRecorder) DeriveHostHost(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEngineMockRecorder) DeriveLevel1(arg0 interface{}) *gomock.Call
- func (mr *MockEngineMockRecorder) GetLevel1Key(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEngineMockRecorder) GetSecretValue(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockEngine ¶
type MockEngine struct {
// contains filtered or unexported fields
}
MockEngine is a mock of Engine interface.
func NewMockEngine ¶
func NewMockEngine(ctrl *gomock.Controller) *MockEngine
NewMockEngine creates a new mock instance.
func (*MockEngine) DeriveASHost ¶
func (m *MockEngine) DeriveASHost(arg0 context.Context, arg1 drkey.ASHostMeta) (drkey.ASHostKey, error)
DeriveASHost mocks base method.
func (*MockEngine) DeriveHostAS ¶
func (m *MockEngine) DeriveHostAS(arg0 context.Context, arg1 drkey.HostASMeta) (drkey.HostASKey, error)
DeriveHostAS mocks base method.
func (*MockEngine) DeriveHostHost ¶
func (m *MockEngine) DeriveHostHost(arg0 context.Context, arg1 drkey.HostHostMeta) (drkey.HostHostKey, error)
DeriveHostHost mocks base method.
func (*MockEngine) DeriveLevel1 ¶
func (m *MockEngine) DeriveLevel1(arg0 drkey.Level1Meta) (drkey.Level1Key, error)
DeriveLevel1 mocks base method.
func (*MockEngine) EXPECT ¶
func (m *MockEngine) EXPECT() *MockEngineMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockEngine) GetLevel1Key ¶
func (m *MockEngine) GetLevel1Key(arg0 context.Context, arg1 drkey.Level1Meta) (drkey.Level1Key, error)
GetLevel1Key mocks base method.
func (*MockEngine) GetSecretValue ¶
func (m *MockEngine) GetSecretValue(arg0 context.Context, arg1 drkey.SecretValueMeta) (drkey.SecretValue, error)
GetSecretValue mocks base method.
type MockEngineMockRecorder ¶
type MockEngineMockRecorder struct {
// contains filtered or unexported fields
}
MockEngineMockRecorder is the mock recorder for MockEngine.
func (*MockEngineMockRecorder) DeriveASHost ¶
func (mr *MockEngineMockRecorder) DeriveASHost(arg0, arg1 interface{}) *gomock.Call
DeriveASHost indicates an expected call of DeriveASHost.
func (*MockEngineMockRecorder) DeriveHostAS ¶
func (mr *MockEngineMockRecorder) DeriveHostAS(arg0, arg1 interface{}) *gomock.Call
DeriveHostAS indicates an expected call of DeriveHostAS.
func (*MockEngineMockRecorder) DeriveHostHost ¶
func (mr *MockEngineMockRecorder) DeriveHostHost(arg0, arg1 interface{}) *gomock.Call
DeriveHostHost indicates an expected call of DeriveHostHost.
func (*MockEngineMockRecorder) DeriveLevel1 ¶
func (mr *MockEngineMockRecorder) DeriveLevel1(arg0 interface{}) *gomock.Call
DeriveLevel1 indicates an expected call of DeriveLevel1.
func (*MockEngineMockRecorder) GetLevel1Key ¶
func (mr *MockEngineMockRecorder) GetLevel1Key(arg0, arg1 interface{}) *gomock.Call
GetLevel1Key indicates an expected call of GetLevel1Key.
func (*MockEngineMockRecorder) GetSecretValue ¶
func (mr *MockEngineMockRecorder) GetSecretValue(arg0, arg1 interface{}) *gomock.Call
GetSecretValue indicates an expected call of GetSecretValue.