Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeCryptor
- func (fake *FakeCryptor) Decrypt(arg1 encryption.Encrypted) ([]byte, error)
- func (fake *FakeCryptor) DecryptArgsForCall(i int) encryption.Encrypted
- func (fake *FakeCryptor) DecryptCallCount() int
- func (fake *FakeCryptor) DecryptCalls(stub func(encryption.Encrypted) ([]byte, error))
- func (fake *FakeCryptor) DecryptReturns(result1 []byte, result2 error)
- func (fake *FakeCryptor) DecryptReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *FakeCryptor) Encrypt(arg1 []byte) (encryption.Encrypted, error)
- func (fake *FakeCryptor) EncryptArgsForCall(i int) []byte
- func (fake *FakeCryptor) EncryptCallCount() int
- func (fake *FakeCryptor) EncryptCalls(stub func([]byte) (encryption.Encrypted, error))
- func (fake *FakeCryptor) EncryptReturns(result1 encryption.Encrypted, result2 error)
- func (fake *FakeCryptor) EncryptReturnsOnCall(i int, result1 encryption.Encrypted, result2 error)
- func (fake *FakeCryptor) Invocations() map[string][][]interface{}
- type FakeKey
- func (fake *FakeKey) Block() cipher.Block
- func (fake *FakeKey) BlockCallCount() int
- func (fake *FakeKey) BlockCalls(stub func() cipher.Block)
- func (fake *FakeKey) BlockReturns(result1 cipher.Block)
- func (fake *FakeKey) BlockReturnsOnCall(i int, result1 cipher.Block)
- func (fake *FakeKey) Invocations() map[string][][]interface{}
- func (fake *FakeKey) Label() string
- func (fake *FakeKey) LabelCallCount() int
- func (fake *FakeKey) LabelCalls(stub func() string)
- func (fake *FakeKey) LabelReturns(result1 string)
- func (fake *FakeKey) LabelReturnsOnCall(i int, result1 string)
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) BlockCallCount ¶
func (*FakeKey) BlockCalls ¶
func (*FakeKey) BlockReturns ¶
func (*FakeKey) BlockReturnsOnCall ¶
func (*FakeKey) Invocations ¶
func (*FakeKey) LabelCallCount ¶
func (*FakeKey) LabelCalls ¶
func (*FakeKey) LabelReturns ¶
func (*FakeKey) LabelReturnsOnCall ¶
Click to show internal directories.
Click to hide internal directories.