mocks

package
v0.0.0-...-4515e61 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2019 License: AGPL-3.0 Imports: 4 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 FakeRepository

type FakeRepository struct {
	LoginAttemptsCountSinceStub func(ctx context.Context, id string, t time.Time) (uint64, error)

	AddLoginAttemptStub func(ctx context.Context, id string, t time.Time) error
	// contains filtered or unexported fields
}

func (*FakeRepository) AddLoginAttempt

func (fake *FakeRepository) AddLoginAttempt(ctx context.Context, id string, t time.Time) error

func (*FakeRepository) AddLoginAttemptArgsForCall

func (fake *FakeRepository) AddLoginAttemptArgsForCall(i int) (context.Context, string, time.Time)

func (*FakeRepository) AddLoginAttemptCallCount

func (fake *FakeRepository) AddLoginAttemptCallCount() int

func (*FakeRepository) AddLoginAttemptReturns

func (fake *FakeRepository) AddLoginAttemptReturns(result1 error)

func (*FakeRepository) AddLoginAttemptReturnsOnCall

func (fake *FakeRepository) AddLoginAttemptReturnsOnCall(i int, result1 error)

func (*FakeRepository) Invocations

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

func (*FakeRepository) LoginAttemptsCountSince

func (fake *FakeRepository) LoginAttemptsCountSince(ctx context.Context, id string, t time.Time) (uint64, error)

func (*FakeRepository) LoginAttemptsCountSinceArgsForCall

func (fake *FakeRepository) LoginAttemptsCountSinceArgsForCall(i int) (context.Context, string, time.Time)

func (*FakeRepository) LoginAttemptsCountSinceCallCount

func (fake *FakeRepository) LoginAttemptsCountSinceCallCount() int

func (*FakeRepository) LoginAttemptsCountSinceReturns

func (fake *FakeRepository) LoginAttemptsCountSinceReturns(result1 uint64, result2 error)

func (*FakeRepository) LoginAttemptsCountSinceReturnsOnCall

func (fake *FakeRepository) LoginAttemptsCountSinceReturnsOnCall(i int, result1 uint64, result2 error)

Jump to

Keyboard shortcuts

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