Documentation ¶
Overview ¶
This file was generated by counterfeiter
This file was generated by counterfeiter
Index ¶
- type FakeCryptor
- func (fake *FakeCryptor) Decrypt(encrypted encryption.Encrypted) ([]byte, error)
- func (fake *FakeCryptor) DecryptArgsForCall(i int) encryption.Encrypted
- func (fake *FakeCryptor) DecryptCallCount() int
- func (fake *FakeCryptor) DecryptReturns(result1 []byte, result2 error)
- func (fake *FakeCryptor) Encrypt(plaintext []byte) (encryption.Encrypted, error)
- func (fake *FakeCryptor) EncryptArgsForCall(i int) []byte
- func (fake *FakeCryptor) EncryptCallCount() int
- func (fake *FakeCryptor) EncryptReturns(result1 encryption.Encrypted, result2 error)
- type FakeKey
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeCryptor ¶
type FakeCryptor struct { EncryptStub func(plaintext []byte) (encryption.Encrypted, error) DecryptStub func(encrypted encryption.Encrypted) ([]byte, error) // contains filtered or unexported fields }
func (*FakeCryptor) Decrypt ¶
func (fake *FakeCryptor) Decrypt(encrypted 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) DecryptReturns ¶
func (fake *FakeCryptor) DecryptReturns(result1 []byte, result2 error)
func (*FakeCryptor) Encrypt ¶
func (fake *FakeCryptor) Encrypt(plaintext []byte) (encryption.Encrypted, error)
func (*FakeCryptor) EncryptArgsForCall ¶
func (fake *FakeCryptor) EncryptArgsForCall(i int) []byte
func (*FakeCryptor) EncryptCallCount ¶
func (fake *FakeCryptor) EncryptCallCount() int
func (*FakeCryptor) EncryptReturns ¶
func (fake *FakeCryptor) EncryptReturns(result1 encryption.Encrypted, result2 error)
type FakeKey ¶
type FakeKey struct { LabelStub func() string BlockStub func() cipher.Block // contains filtered or unexported fields }
func (*FakeKey) BlockCallCount ¶
func (*FakeKey) BlockReturns ¶
func (*FakeKey) LabelCallCount ¶
func (*FakeKey) LabelReturns ¶
Click to show internal directories.
Click to hide internal directories.