Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockKeyManager
- func (m *MockKeyManager) Create(ctx context.Context) (string, error)
- func (m *MockKeyManager) Decrypt(ctx context.Context, key string, data []byte) ([]byte, error)
- func (m *MockKeyManager) EXPECT() *MockKeyManagerMockRecorder
- func (m *MockKeyManager) Encrypt(ctx context.Context, key string, data []byte) ([]byte, error)
- type MockKeyManagerMockRecorder
- type MockLogMetadataManager
- type MockLogMetadataManagerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockKeyManager ¶
type MockKeyManager struct {
// contains filtered or unexported fields
}
MockKeyManager is a mock of KeyManager interface
func NewMockKeyManager ¶
func NewMockKeyManager(ctrl *gomock.Controller) *MockKeyManager
NewMockKeyManager creates a new mock instance
func (*MockKeyManager) Create ¶
func (m *MockKeyManager) Create(ctx context.Context) (string, error)
Create mocks base method
func (*MockKeyManager) EXPECT ¶
func (m *MockKeyManager) EXPECT() *MockKeyManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockKeyManagerMockRecorder ¶
type MockKeyManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockKeyManagerMockRecorder is the mock recorder for MockKeyManager
func (*MockKeyManagerMockRecorder) Create ¶
func (mr *MockKeyManagerMockRecorder) Create(ctx interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockKeyManagerMockRecorder) Decrypt ¶
func (mr *MockKeyManagerMockRecorder) Decrypt(ctx, key, data interface{}) *gomock.Call
Decrypt indicates an expected call of Decrypt
func (*MockKeyManagerMockRecorder) Encrypt ¶
func (mr *MockKeyManagerMockRecorder) Encrypt(ctx, key, data interface{}) *gomock.Call
Encrypt indicates an expected call of Encrypt
type MockLogMetadataManager ¶
type MockLogMetadataManager struct {
// contains filtered or unexported fields
}
MockLogMetadataManager is a mock of LogMetadataManager interface
func NewMockLogMetadataManager ¶
func NewMockLogMetadataManager(ctrl *gomock.Controller) *MockLogMetadataManager
NewMockLogMetadataManager creates a new mock instance
func (*MockLogMetadataManager) Create ¶
func (m *MockLogMetadataManager) Create(ctx context.Context, log *model.Log) (*model.LogMetadata, error)
Create mocks base method
func (*MockLogMetadataManager) EXPECT ¶
func (m *MockLogMetadataManager) EXPECT() *MockLogMetadataManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockLogMetadataManager) Get ¶
func (m *MockLogMetadataManager) Get(ctx context.Context, id string) (*model.LogMetadata, error)
Get mocks base method
type MockLogMetadataManagerMockRecorder ¶
type MockLogMetadataManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockLogMetadataManagerMockRecorder is the mock recorder for MockLogMetadataManager
func (*MockLogMetadataManagerMockRecorder) Create ¶
func (mr *MockLogMetadataManagerMockRecorder) Create(ctx, log interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockLogMetadataManagerMockRecorder) Get ¶
func (mr *MockLogMetadataManagerMockRecorder) Get(ctx, id interface{}) *gomock.Call
Get indicates an expected call of Get