mock

package
v0.0.0-...-35b2663 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2020 License: Apache-2.0 Imports: 4 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 Policy

type Policy struct {
	EvaluateIdentitiesStub func([]msp.Identity) error

	EvaluateSignedDataStub func([]*protoutil.SignedData) error
	// contains filtered or unexported fields
}

func (*Policy) EvaluateIdentities

func (fake *Policy) EvaluateIdentities(arg1 []msp.Identity) error

func (*Policy) EvaluateIdentitiesArgsForCall

func (fake *Policy) EvaluateIdentitiesArgsForCall(i int) []msp.Identity

func (*Policy) EvaluateIdentitiesCallCount

func (fake *Policy) EvaluateIdentitiesCallCount() int

func (*Policy) EvaluateIdentitiesCalls

func (fake *Policy) EvaluateIdentitiesCalls(stub func([]msp.Identity) error)

func (*Policy) EvaluateIdentitiesReturns

func (fake *Policy) EvaluateIdentitiesReturns(result1 error)

func (*Policy) EvaluateIdentitiesReturnsOnCall

func (fake *Policy) EvaluateIdentitiesReturnsOnCall(i int, result1 error)

func (*Policy) EvaluateSignedData

func (fake *Policy) EvaluateSignedData(arg1 []*protoutil.SignedData) error

func (*Policy) EvaluateSignedDataArgsForCall

func (fake *Policy) EvaluateSignedDataArgsForCall(i int) []*protoutil.SignedData

func (*Policy) EvaluateSignedDataCallCount

func (fake *Policy) EvaluateSignedDataCallCount() int

func (*Policy) EvaluateSignedDataCalls

func (fake *Policy) EvaluateSignedDataCalls(stub func([]*protoutil.SignedData) error)

func (*Policy) EvaluateSignedDataReturns

func (fake *Policy) EvaluateSignedDataReturns(result1 error)

func (*Policy) EvaluateSignedDataReturnsOnCall

func (fake *Policy) EvaluateSignedDataReturnsOnCall(i int, result1 error)

func (*Policy) Invocations

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

type PolicyManager

type PolicyManager struct {
	GetPolicyStub func(string) (policies.Policy, bool)

	ManagerStub func([]string) (policies.Manager, bool)
	// contains filtered or unexported fields
}

func (*PolicyManager) GetPolicy

func (fake *PolicyManager) GetPolicy(arg1 string) (policies.Policy, bool)

func (*PolicyManager) GetPolicyArgsForCall

func (fake *PolicyManager) GetPolicyArgsForCall(i int) string

func (*PolicyManager) GetPolicyCallCount

func (fake *PolicyManager) GetPolicyCallCount() int

func (*PolicyManager) GetPolicyCalls

func (fake *PolicyManager) GetPolicyCalls(stub func(string) (policies.Policy, bool))

func (*PolicyManager) GetPolicyReturns

func (fake *PolicyManager) GetPolicyReturns(result1 policies.Policy, result2 bool)

func (*PolicyManager) GetPolicyReturnsOnCall

func (fake *PolicyManager) GetPolicyReturnsOnCall(i int, result1 policies.Policy, result2 bool)

func (*PolicyManager) Invocations

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

func (*PolicyManager) Manager

func (fake *PolicyManager) Manager(arg1 []string) (policies.Manager, bool)

func (*PolicyManager) ManagerArgsForCall

func (fake *PolicyManager) ManagerArgsForCall(i int) []string

func (*PolicyManager) ManagerCallCount

func (fake *PolicyManager) ManagerCallCount() int

func (*PolicyManager) ManagerCalls

func (fake *PolicyManager) ManagerCalls(stub func([]string) (policies.Manager, bool))

func (*PolicyManager) ManagerReturns

func (fake *PolicyManager) ManagerReturns(result1 policies.Manager, result2 bool)

func (*PolicyManager) ManagerReturnsOnCall

func (fake *PolicyManager) ManagerReturnsOnCall(i int, result1 policies.Manager, result2 bool)

Jump to

Keyboard shortcuts

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