securityfakes

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2020 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.

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) ([]byte, error)

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

func (*FakeEncrypter) Decrypt

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

func (*FakeEncrypter) DecryptArgsForCall

func (fake *FakeEncrypter) DecryptArgsForCall(i int) (context.Context, []byte, []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) ([]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, arg3 []byte) ([]byte, error)

func (*FakeEncrypter) EncryptArgsForCall

func (fake *FakeEncrypter) EncryptArgsForCall(i int) (context.Context, []byte, []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) ([]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 FakeIntegrityProcessor added in v0.11.0

type FakeIntegrityProcessor struct {
	CalculateIntegrityStub func(security.IntegralObject) ([]byte, error)

	ValidateIntegrityStub func(security.IntegralObject) bool
	// contains filtered or unexported fields
}

func (*FakeIntegrityProcessor) CalculateIntegrity added in v0.11.0

func (fake *FakeIntegrityProcessor) CalculateIntegrity(arg1 security.IntegralObject) ([]byte, error)

func (*FakeIntegrityProcessor) CalculateIntegrityArgsForCall added in v0.11.0

func (fake *FakeIntegrityProcessor) CalculateIntegrityArgsForCall(i int) security.IntegralObject

func (*FakeIntegrityProcessor) CalculateIntegrityCallCount added in v0.11.0

func (fake *FakeIntegrityProcessor) CalculateIntegrityCallCount() int

func (*FakeIntegrityProcessor) CalculateIntegrityCalls added in v0.11.0

func (fake *FakeIntegrityProcessor) CalculateIntegrityCalls(stub func(security.IntegralObject) ([]byte, error))

func (*FakeIntegrityProcessor) CalculateIntegrityReturns added in v0.11.0

func (fake *FakeIntegrityProcessor) CalculateIntegrityReturns(result1 []byte, result2 error)

func (*FakeIntegrityProcessor) CalculateIntegrityReturnsOnCall added in v0.11.0

func (fake *FakeIntegrityProcessor) CalculateIntegrityReturnsOnCall(i int, result1 []byte, result2 error)

func (*FakeIntegrityProcessor) Invocations added in v0.11.0

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

func (*FakeIntegrityProcessor) ValidateIntegrity added in v0.11.0

func (fake *FakeIntegrityProcessor) ValidateIntegrity(arg1 security.IntegralObject) bool

func (*FakeIntegrityProcessor) ValidateIntegrityArgsForCall added in v0.11.0

func (fake *FakeIntegrityProcessor) ValidateIntegrityArgsForCall(i int) security.IntegralObject

func (*FakeIntegrityProcessor) ValidateIntegrityCallCount added in v0.11.0

func (fake *FakeIntegrityProcessor) ValidateIntegrityCallCount() int

func (*FakeIntegrityProcessor) ValidateIntegrityCalls added in v0.11.0

func (fake *FakeIntegrityProcessor) ValidateIntegrityCalls(stub func(security.IntegralObject) bool)

func (*FakeIntegrityProcessor) ValidateIntegrityReturns added in v0.11.0

func (fake *FakeIntegrityProcessor) ValidateIntegrityReturns(result1 bool)

func (*FakeIntegrityProcessor) ValidateIntegrityReturnsOnCall added in v0.11.0

func (fake *FakeIntegrityProcessor) ValidateIntegrityReturnsOnCall(i int, result1 bool)

Jump to

Keyboard shortcuts

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