mocks

package
v1.0.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2022 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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PolicyStore

type PolicyStore struct {
	GetPolicyStub func() (string, error)

	PutPolicyStub func(string) error
	// contains filtered or unexported fields
}

func (*PolicyStore) GetPolicy

func (fake *PolicyStore) GetPolicy() (string, error)

func (*PolicyStore) GetPolicyCallCount

func (fake *PolicyStore) GetPolicyCallCount() int

func (*PolicyStore) GetPolicyCalls

func (fake *PolicyStore) GetPolicyCalls(stub func() (string, error))

func (*PolicyStore) GetPolicyReturns

func (fake *PolicyStore) GetPolicyReturns(result1 string, result2 error)

func (*PolicyStore) GetPolicyReturnsOnCall

func (fake *PolicyStore) GetPolicyReturnsOnCall(i int, result1 string, result2 error)

func (*PolicyStore) Invocations

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

func (*PolicyStore) PutPolicy

func (fake *PolicyStore) PutPolicy(arg1 string) error

func (*PolicyStore) PutPolicyArgsForCall

func (fake *PolicyStore) PutPolicyArgsForCall(i int) string

func (*PolicyStore) PutPolicyCallCount

func (fake *PolicyStore) PutPolicyCallCount() int

func (*PolicyStore) PutPolicyCalls

func (fake *PolicyStore) PutPolicyCalls(stub func(string) error)

func (*PolicyStore) PutPolicyReturns

func (fake *PolicyStore) PutPolicyReturns(result1 error)

func (*PolicyStore) PutPolicyReturnsOnCall

func (fake *PolicyStore) PutPolicyReturnsOnCall(i int, result1 error)

type WitnessStore

type WitnessStore struct {
	GetStub func(string) ([]*proof.WitnessProof, error)

	UpdateWitnessSelectionStub func(string, []*url.URL, bool) error
	// contains filtered or unexported fields
}

func (*WitnessStore) Get

func (fake *WitnessStore) Get(arg1 string) ([]*proof.WitnessProof, error)

func (*WitnessStore) GetArgsForCall

func (fake *WitnessStore) GetArgsForCall(i int) string

func (*WitnessStore) GetCallCount

func (fake *WitnessStore) GetCallCount() int

func (*WitnessStore) GetCalls

func (fake *WitnessStore) GetCalls(stub func(string) ([]*proof.WitnessProof, error))

func (*WitnessStore) GetReturns

func (fake *WitnessStore) GetReturns(result1 []*proof.WitnessProof, result2 error)

func (*WitnessStore) GetReturnsOnCall

func (fake *WitnessStore) GetReturnsOnCall(i int, result1 []*proof.WitnessProof, result2 error)

func (*WitnessStore) Invocations

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

func (*WitnessStore) UpdateWitnessSelection

func (fake *WitnessStore) UpdateWitnessSelection(arg1 string, arg2 []*url.URL, arg3 bool) error

func (*WitnessStore) UpdateWitnessSelectionArgsForCall

func (fake *WitnessStore) UpdateWitnessSelectionArgsForCall(i int) (string, []*url.URL, bool)

func (*WitnessStore) UpdateWitnessSelectionCallCount

func (fake *WitnessStore) UpdateWitnessSelectionCallCount() int

func (*WitnessStore) UpdateWitnessSelectionCalls

func (fake *WitnessStore) UpdateWitnessSelectionCalls(stub func(string, []*url.URL, bool) error)

func (*WitnessStore) UpdateWitnessSelectionReturns

func (fake *WitnessStore) UpdateWitnessSelectionReturns(result1 error)

func (*WitnessStore) UpdateWitnessSelectionReturnsOnCall

func (fake *WitnessStore) UpdateWitnessSelectionReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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