mock

package
v0.0.0-...-21e40fe Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2019 License: Apache-2.0 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 Credential

type Credential struct {
	PublicStub func() []byte

	PrivateStub func() []byte
	// contains filtered or unexported fields
}

func (*Credential) Invocations

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

func (*Credential) Private

func (fake *Credential) Private() []byte

func (*Credential) PrivateCallCount

func (fake *Credential) PrivateCallCount() int

func (*Credential) PrivateReturns

func (fake *Credential) PrivateReturns(result1 []byte)

func (*Credential) PrivateReturnsOnCall

func (fake *Credential) PrivateReturnsOnCall(i int, result1 []byte)

func (*Credential) Public

func (fake *Credential) Public() []byte

func (*Credential) PublicCallCount

func (fake *Credential) PublicCallCount() int

func (*Credential) PublicReturns

func (fake *Credential) PublicReturns(result1 []byte)

func (*Credential) PublicReturnsOnCall

func (fake *Credential) PublicReturnsOnCall(i int, result1 []byte)

type PolicyValidator

type PolicyValidator struct {
	IsIssuerStub func(creator plain.Credential, tokenType string) error
	// contains filtered or unexported fields
}

func (*PolicyValidator) Invocations

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

func (*PolicyValidator) IsIssuer

func (fake *PolicyValidator) IsIssuer(creator plain.Credential, tokenType string) error

func (*PolicyValidator) IsIssuerArgsForCall

func (fake *PolicyValidator) IsIssuerArgsForCall(i int) (plain.Credential, string)

func (*PolicyValidator) IsIssuerCallCount

func (fake *PolicyValidator) IsIssuerCallCount() int

func (*PolicyValidator) IsIssuerReturns

func (fake *PolicyValidator) IsIssuerReturns(result1 error)

func (*PolicyValidator) IsIssuerReturnsOnCall

func (fake *PolicyValidator) IsIssuerReturnsOnCall(i int, result1 error)

type Pool

type Pool struct {
	CommitUpdateStub func(transactionData []tms.TransactionData) error
	// contains filtered or unexported fields
}

func (*Pool) CommitUpdate

func (fake *Pool) CommitUpdate(transactionData []tms.TransactionData) error

func (*Pool) CommitUpdateArgsForCall

func (fake *Pool) CommitUpdateArgsForCall(i int) []tms.TransactionData

func (*Pool) CommitUpdateCallCount

func (fake *Pool) CommitUpdateCallCount() int

func (*Pool) CommitUpdateReturns

func (fake *Pool) CommitUpdateReturns(result1 error)

func (*Pool) CommitUpdateReturnsOnCall

func (fake *Pool) CommitUpdateReturnsOnCall(i int, result1 error)

func (*Pool) Invocations

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

Jump to

Keyboard shortcuts

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