Documentation ¶
Overview ¶
Package mock_cipher is a generated GoMock package.
Index ¶
- type MockIEdgeCipherer
- func (m *MockIEdgeCipherer) DecryptByte(byteData []byte) ([]byte, error)
- func (m *MockIEdgeCipherer) DecryptByteToJSON(data []byte) (map[string]interface{}, error)
- func (m *MockIEdgeCipherer) EXPECT() *MockIEdgeCiphererMockRecorder
- func (m *MockIEdgeCipherer) EncryptByte(byteData []byte) ([]byte, error)
- func (m *MockIEdgeCipherer) EncryptJSONToByte(jsonMap map[string]interface{}) ([]byte, error)
- type MockIEdgeCiphererMockRecorder
- func (mr *MockIEdgeCiphererMockRecorder) DecryptByte(byteData interface{}) *gomock.Call
- func (mr *MockIEdgeCiphererMockRecorder) DecryptByteToJSON(data interface{}) *gomock.Call
- func (mr *MockIEdgeCiphererMockRecorder) EncryptByte(byteData interface{}) *gomock.Call
- func (mr *MockIEdgeCiphererMockRecorder) EncryptJSONToByte(jsonMap interface{}) *gomock.Call
- type MockSetter
- type MockSetterMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockIEdgeCipherer ¶
type MockIEdgeCipherer struct {
// contains filtered or unexported fields
}
MockIEdgeCipherer is a mock of IEdgeCipherer interface
func NewMockIEdgeCipherer ¶
func NewMockIEdgeCipherer(ctrl *gomock.Controller) *MockIEdgeCipherer
NewMockIEdgeCipherer creates a new mock instance
func (*MockIEdgeCipherer) DecryptByte ¶
func (m *MockIEdgeCipherer) DecryptByte(byteData []byte) ([]byte, error)
DecryptByte mocks base method
func (*MockIEdgeCipherer) DecryptByteToJSON ¶
func (m *MockIEdgeCipherer) DecryptByteToJSON(data []byte) (map[string]interface{}, error)
DecryptByteToJSON mocks base method
func (*MockIEdgeCipherer) EXPECT ¶
func (m *MockIEdgeCipherer) EXPECT() *MockIEdgeCiphererMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockIEdgeCipherer) EncryptByte ¶
func (m *MockIEdgeCipherer) EncryptByte(byteData []byte) ([]byte, error)
EncryptByte mocks base method
func (*MockIEdgeCipherer) EncryptJSONToByte ¶
func (m *MockIEdgeCipherer) EncryptJSONToByte(jsonMap map[string]interface{}) ([]byte, error)
EncryptJSONToByte mocks base method
type MockIEdgeCiphererMockRecorder ¶
type MockIEdgeCiphererMockRecorder struct {
// contains filtered or unexported fields
}
MockIEdgeCiphererMockRecorder is the mock recorder for MockIEdgeCipherer
func (*MockIEdgeCiphererMockRecorder) DecryptByte ¶
func (mr *MockIEdgeCiphererMockRecorder) DecryptByte(byteData interface{}) *gomock.Call
DecryptByte indicates an expected call of DecryptByte
func (*MockIEdgeCiphererMockRecorder) DecryptByteToJSON ¶
func (mr *MockIEdgeCiphererMockRecorder) DecryptByteToJSON(data interface{}) *gomock.Call
DecryptByteToJSON indicates an expected call of DecryptByteToJSON
func (*MockIEdgeCiphererMockRecorder) EncryptByte ¶
func (mr *MockIEdgeCiphererMockRecorder) EncryptByte(byteData interface{}) *gomock.Call
EncryptByte indicates an expected call of EncryptByte
func (*MockIEdgeCiphererMockRecorder) EncryptJSONToByte ¶
func (mr *MockIEdgeCiphererMockRecorder) EncryptJSONToByte(jsonMap interface{}) *gomock.Call
EncryptJSONToByte indicates an expected call of EncryptJSONToByte
type MockSetter ¶
type MockSetter struct {
// contains filtered or unexported fields
}
MockSetter is a mock of Setter interface
func NewMockSetter ¶
func NewMockSetter(ctrl *gomock.Controller) *MockSetter
NewMockSetter creates a new mock instance
func (*MockSetter) EXPECT ¶
func (m *MockSetter) EXPECT() *MockSetterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockSetter) SetCipher ¶
func (m *MockSetter) SetCipher(cipher cipher.IEdgeCipherer)
SetCipher mocks base method
type MockSetterMockRecorder ¶
type MockSetterMockRecorder struct {
// contains filtered or unexported fields
}
MockSetterMockRecorder is the mock recorder for MockSetter
func (*MockSetterMockRecorder) SetCipher ¶
func (mr *MockSetterMockRecorder) SetCipher(cipher interface{}) *gomock.Call
SetCipher indicates an expected call of SetCipher