encryptionfakes

package
v0.0.0-...-a7ed0dc Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeCryptor

type FakeCryptor struct {
	DecryptStub func(encryption.Encrypted) ([]byte, error)

	EncryptStub func([]byte) (encryption.Encrypted, error)
	// contains filtered or unexported fields
}

func (*FakeCryptor) Decrypt

func (fake *FakeCryptor) Decrypt(arg1 encryption.Encrypted) ([]byte, error)

func (*FakeCryptor) DecryptArgsForCall

func (fake *FakeCryptor) DecryptArgsForCall(i int) encryption.Encrypted

func (*FakeCryptor) DecryptCallCount

func (fake *FakeCryptor) DecryptCallCount() int

func (*FakeCryptor) DecryptCalls

func (fake *FakeCryptor) DecryptCalls(stub func(encryption.Encrypted) ([]byte, error))

func (*FakeCryptor) DecryptReturns

func (fake *FakeCryptor) DecryptReturns(result1 []byte, result2 error)

func (*FakeCryptor) DecryptReturnsOnCall

func (fake *FakeCryptor) DecryptReturnsOnCall(i int, result1 []byte, result2 error)

func (*FakeCryptor) Encrypt

func (fake *FakeCryptor) Encrypt(arg1 []byte) (encryption.Encrypted, error)

func (*FakeCryptor) EncryptArgsForCall

func (fake *FakeCryptor) EncryptArgsForCall(i int) []byte

func (*FakeCryptor) EncryptCallCount

func (fake *FakeCryptor) EncryptCallCount() int

func (*FakeCryptor) EncryptCalls

func (fake *FakeCryptor) EncryptCalls(stub func([]byte) (encryption.Encrypted, error))

func (*FakeCryptor) EncryptReturns

func (fake *FakeCryptor) EncryptReturns(result1 encryption.Encrypted, result2 error)

func (*FakeCryptor) EncryptReturnsOnCall

func (fake *FakeCryptor) EncryptReturnsOnCall(i int, result1 encryption.Encrypted, result2 error)

func (*FakeCryptor) Invocations

func (fake *FakeCryptor) Invocations() map[string][][]interface{}

type FakeKey

type FakeKey struct {
	BlockStub func() cipher.Block

	LabelStub func() string
	// contains filtered or unexported fields
}

func (*FakeKey) Block

func (fake *FakeKey) Block() cipher.Block

func (*FakeKey) BlockCallCount

func (fake *FakeKey) BlockCallCount() int

func (*FakeKey) BlockCalls

func (fake *FakeKey) BlockCalls(stub func() cipher.Block)

func (*FakeKey) BlockReturns

func (fake *FakeKey) BlockReturns(result1 cipher.Block)

func (*FakeKey) BlockReturnsOnCall

func (fake *FakeKey) BlockReturnsOnCall(i int, result1 cipher.Block)

func (*FakeKey) Invocations

func (fake *FakeKey) Invocations() map[string][][]interface{}

func (*FakeKey) Label

func (fake *FakeKey) Label() string

func (*FakeKey) LabelCallCount

func (fake *FakeKey) LabelCallCount() int

func (*FakeKey) LabelCalls

func (fake *FakeKey) LabelCalls(stub func() string)

func (*FakeKey) LabelReturns

func (fake *FakeKey) LabelReturns(result1 string)

func (*FakeKey) LabelReturnsOnCall

func (fake *FakeKey) LabelReturnsOnCall(i int, result1 string)

Jump to

Keyboard shortcuts

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