mock_cipher

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2025 License: GPL-3.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 MockCipher

type MockCipher struct {
	// contains filtered or unexported fields
}

MockCipher is a mock of Cipher interface.

func NewMockCipher

func NewMockCipher(ctrl *gomock.Controller) *MockCipher

NewMockCipher creates a new mock instance.

func (*MockCipher) Decrypt

func (m *MockCipher) Decrypt(arg0 []byte) ([]byte, error)

Decrypt mocks base method.

func (*MockCipher) EXPECT

func (m *MockCipher) EXPECT() *MockCipherMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockCipher) Encrypt

func (m *MockCipher) Encrypt(arg0 []byte) ([]byte, error)

Encrypt mocks base method.

func (*MockCipher) FromBinary

func (m *MockCipher) FromBinary(arg0 []byte) (cipher.Cipher, error)

FromBinary mocks base method.

func (*MockCipher) Kind

func (m *MockCipher) Kind() string

Kind mocks base method.

func (*MockCipher) ToBinary

func (m *MockCipher) ToBinary() ([]byte, error)

ToBinary mocks base method.

type MockCipherMockRecorder

type MockCipherMockRecorder struct {
	// contains filtered or unexported fields
}

MockCipherMockRecorder is the mock recorder for MockCipher.

func (*MockCipherMockRecorder) Decrypt

func (mr *MockCipherMockRecorder) Decrypt(arg0 any) *gomock.Call

Decrypt indicates an expected call of Decrypt.

func (*MockCipherMockRecorder) Encrypt

func (mr *MockCipherMockRecorder) Encrypt(arg0 any) *gomock.Call

Encrypt indicates an expected call of Encrypt.

func (*MockCipherMockRecorder) FromBinary

func (mr *MockCipherMockRecorder) FromBinary(arg0 any) *gomock.Call

FromBinary indicates an expected call of FromBinary.

func (*MockCipherMockRecorder) Kind

func (mr *MockCipherMockRecorder) Kind() *gomock.Call

Kind indicates an expected call of Kind.

func (*MockCipherMockRecorder) ToBinary

func (mr *MockCipherMockRecorder) ToBinary() *gomock.Call

ToBinary indicates an expected call of ToBinary.

Jump to

Keyboard shortcuts

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