Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type Policy
- func (fake *Policy) EvaluateIdentities(arg1 []msp.Identity) error
- func (fake *Policy) EvaluateIdentitiesArgsForCall(i int) []msp.Identity
- func (fake *Policy) EvaluateIdentitiesCallCount() int
- func (fake *Policy) EvaluateIdentitiesCalls(stub func([]msp.Identity) error)
- func (fake *Policy) EvaluateIdentitiesReturns(result1 error)
- func (fake *Policy) EvaluateIdentitiesReturnsOnCall(i int, result1 error)
- func (fake *Policy) EvaluateSignedData(arg1 []*protoutil.SignedData) error
- func (fake *Policy) EvaluateSignedDataArgsForCall(i int) []*protoutil.SignedData
- func (fake *Policy) EvaluateSignedDataCallCount() int
- func (fake *Policy) EvaluateSignedDataCalls(stub func([]*protoutil.SignedData) error)
- func (fake *Policy) EvaluateSignedDataReturns(result1 error)
- func (fake *Policy) EvaluateSignedDataReturnsOnCall(i int, result1 error)
- func (fake *Policy) Invocations() map[string][][]interface{}
- type PolicyManager
- func (fake *PolicyManager) GetPolicy(arg1 string) (policies.Policy, bool)
- func (fake *PolicyManager) GetPolicyArgsForCall(i int) string
- func (fake *PolicyManager) GetPolicyCallCount() int
- func (fake *PolicyManager) GetPolicyCalls(stub func(string) (policies.Policy, bool))
- func (fake *PolicyManager) GetPolicyReturns(result1 policies.Policy, result2 bool)
- func (fake *PolicyManager) GetPolicyReturnsOnCall(i int, result1 policies.Policy, result2 bool)
- func (fake *PolicyManager) Invocations() map[string][][]interface{}
- func (fake *PolicyManager) Manager(arg1 []string) (policies.Manager, bool)
- func (fake *PolicyManager) ManagerArgsForCall(i int) []string
- func (fake *PolicyManager) ManagerCallCount() int
- func (fake *PolicyManager) ManagerCalls(stub func([]string) (policies.Manager, bool))
- func (fake *PolicyManager) ManagerReturns(result1 policies.Manager, result2 bool)
- func (fake *PolicyManager) ManagerReturnsOnCall(i int, result1 policies.Manager, result2 bool)
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 (*Policy) EvaluateIdentitiesArgsForCall ¶
func (*Policy) EvaluateIdentitiesCalls ¶
func (*Policy) EvaluateIdentitiesReturns ¶
func (*Policy) EvaluateIdentitiesReturnsOnCall ¶
func (*Policy) EvaluateSignedData ¶
func (fake *Policy) EvaluateSignedData(arg1 []*protoutil.SignedData) error
func (*Policy) EvaluateSignedDataArgsForCall ¶
func (fake *Policy) EvaluateSignedDataArgsForCall(i int) []*protoutil.SignedData
func (*Policy) EvaluateSignedDataCalls ¶
func (fake *Policy) EvaluateSignedDataCalls(stub func([]*protoutil.SignedData) error)
func (*Policy) EvaluateSignedDataReturns ¶
func (*Policy) EvaluateSignedDataReturnsOnCall ¶
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)
Click to show internal directories.
Click to hide internal directories.