mock

package
v1.5.10 Latest Latest
Warning

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

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

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCrypto

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

MockCrypto is a mock of Crypto interface

func NewMockCrypto

func NewMockCrypto(ctrl *gomock.Controller) *MockCrypto

NewMockCrypto creates a new mock instance

func (*MockCrypto) Decrypt

func (m *MockCrypto) Decrypt(arg0 io.Reader) (io.Reader, error)

Decrypt mocks base method

func (*MockCrypto) EXPECT

func (m *MockCrypto) EXPECT() *MockCryptoMockRecorder

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

func (*MockCrypto) Encrypt

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

Encrypt mocks base method

type MockCryptoMockRecorder

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

MockCryptoMockRecorder is the mock recorder for MockCrypto

func (*MockCryptoMockRecorder) Decrypt

func (mr *MockCryptoMockRecorder) Decrypt(arg0 interface{}) *gomock.Call

Decrypt indicates an expected call of Decrypt

func (*MockCryptoMockRecorder) Encrypt

func (mr *MockCryptoMockRecorder) Encrypt(arg0 interface{}) *gomock.Call

Encrypt indicates an expected call of Encrypt

Jump to

Keyboard shortcuts

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