securityfakes

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 10, 2019 License: Apache-2.0, BSD-3-Clause, MIT Imports: 3 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

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 FakeEncrypter

type FakeEncrypter struct {
	DecryptStub func(context.Context, []byte) ([]byte, error)

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

func (*FakeEncrypter) Decrypt

func (fake *FakeEncrypter) Decrypt(arg1 context.Context, arg2 []byte) ([]byte, error)

func (*FakeEncrypter) DecryptArgsForCall

func (fake *FakeEncrypter) DecryptArgsForCall(i int) (context.Context, []byte)

func (*FakeEncrypter) DecryptCallCount

func (fake *FakeEncrypter) DecryptCallCount() int

func (*FakeEncrypter) DecryptCalls added in v0.1.2

func (fake *FakeEncrypter) DecryptCalls(stub func(context.Context, []byte) ([]byte, error))

func (*FakeEncrypter) DecryptReturns

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

func (*FakeEncrypter) DecryptReturnsOnCall

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

func (*FakeEncrypter) Encrypt

func (fake *FakeEncrypter) Encrypt(arg1 context.Context, arg2 []byte) ([]byte, error)

func (*FakeEncrypter) EncryptArgsForCall

func (fake *FakeEncrypter) EncryptArgsForCall(i int) (context.Context, []byte)

func (*FakeEncrypter) EncryptCallCount

func (fake *FakeEncrypter) EncryptCallCount() int

func (*FakeEncrypter) EncryptCalls added in v0.1.2

func (fake *FakeEncrypter) EncryptCalls(stub func(context.Context, []byte) ([]byte, error))

func (*FakeEncrypter) EncryptReturns

func (fake *FakeEncrypter) EncryptReturns(result1 []byte, result2 error)

func (*FakeEncrypter) EncryptReturnsOnCall

func (fake *FakeEncrypter) EncryptReturnsOnCall(i int, result1 []byte, result2 error)

func (*FakeEncrypter) Invocations

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

type FakeKeyFetcher

type FakeKeyFetcher struct {
	GetEncryptionKeyStub func(context.Context) ([]byte, error)
	// contains filtered or unexported fields
}

func (*FakeKeyFetcher) GetEncryptionKey

func (fake *FakeKeyFetcher) GetEncryptionKey(arg1 context.Context) ([]byte, error)

func (*FakeKeyFetcher) GetEncryptionKeyArgsForCall

func (fake *FakeKeyFetcher) GetEncryptionKeyArgsForCall(i int) context.Context

func (*FakeKeyFetcher) GetEncryptionKeyCallCount

func (fake *FakeKeyFetcher) GetEncryptionKeyCallCount() int

func (*FakeKeyFetcher) GetEncryptionKeyCalls added in v0.1.2

func (fake *FakeKeyFetcher) GetEncryptionKeyCalls(stub func(context.Context) ([]byte, error))

func (*FakeKeyFetcher) GetEncryptionKeyReturns

func (fake *FakeKeyFetcher) GetEncryptionKeyReturns(result1 []byte, result2 error)

func (*FakeKeyFetcher) GetEncryptionKeyReturnsOnCall

func (fake *FakeKeyFetcher) GetEncryptionKeyReturnsOnCall(i int, result1 []byte, result2 error)

func (*FakeKeyFetcher) Invocations

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

type FakeKeySetter

type FakeKeySetter struct {
	SetEncryptionKeyStub func(context.Context, []byte) error
	// contains filtered or unexported fields
}

func (*FakeKeySetter) Invocations

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

func (*FakeKeySetter) SetEncryptionKey

func (fake *FakeKeySetter) SetEncryptionKey(arg1 context.Context, arg2 []byte) error

func (*FakeKeySetter) SetEncryptionKeyArgsForCall

func (fake *FakeKeySetter) SetEncryptionKeyArgsForCall(i int) (context.Context, []byte)

func (*FakeKeySetter) SetEncryptionKeyCallCount

func (fake *FakeKeySetter) SetEncryptionKeyCallCount() int

func (*FakeKeySetter) SetEncryptionKeyCalls added in v0.1.2

func (fake *FakeKeySetter) SetEncryptionKeyCalls(stub func(context.Context, []byte) error)

func (*FakeKeySetter) SetEncryptionKeyReturns

func (fake *FakeKeySetter) SetEncryptionKeyReturns(result1 error)

func (*FakeKeySetter) SetEncryptionKeyReturnsOnCall

func (fake *FakeKeySetter) SetEncryptionKeyReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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