mocks

package
v1.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 29, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mock_cipher is a generated GoMock package.

Index

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL