mocks

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2026 License: BSD-2-Clause Imports: 3 Imported by: 0

Documentation

Overview

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 Crypter

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

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

func (*Crypter) Decrypt

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

func (*Crypter) DecryptArgsForCall

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

func (*Crypter) DecryptCallCount

func (fake *Crypter) DecryptCallCount() int

func (*Crypter) DecryptCalls

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

func (*Crypter) DecryptReturns

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

func (*Crypter) DecryptReturnsOnCall

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

func (*Crypter) Encrypt

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

func (*Crypter) EncryptArgsForCall

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

func (*Crypter) EncryptCallCount

func (fake *Crypter) EncryptCallCount() int

func (*Crypter) EncryptCalls

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

func (*Crypter) EncryptReturns

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

func (*Crypter) EncryptReturnsOnCall

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

func (*Crypter) Invocations

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

Jump to

Keyboard shortcuts

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