Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type PolicyMapper
- func (fake *PolicyMapper) AsBytes(arg1 []store.Policy) ([]byte, error)
- func (fake *PolicyMapper) AsBytesArgsForCall(i int) []store.Policy
- func (fake *PolicyMapper) AsBytesCallCount() int
- func (fake *PolicyMapper) AsBytesReturns(result1 []byte, result2 error)
- func (fake *PolicyMapper) AsBytesReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *PolicyMapper) AsStorePolicy(arg1 []byte) ([]store.Policy, error)
- func (fake *PolicyMapper) AsStorePolicyArgsForCall(i int) []byte
- func (fake *PolicyMapper) AsStorePolicyCallCount() int
- func (fake *PolicyMapper) AsStorePolicyReturns(result1 []store.Policy, result2 error)
- func (fake *PolicyMapper) AsStorePolicyReturnsOnCall(i int, result1 []store.Policy, result2 error)
- func (fake *PolicyMapper) Invocations() map[string][][]interface{}
- type Validator
- func (fake *Validator) Invocations() map[string][][]interface{}
- func (fake *Validator) ValidatePolicies(policies []api.Policy) error
- func (fake *Validator) ValidatePoliciesArgsForCall(i int) []api.Policy
- func (fake *Validator) ValidatePoliciesCallCount() int
- func (fake *Validator) ValidatePoliciesReturns(result1 error)
- func (fake *Validator) ValidatePoliciesReturnsOnCall(i int, result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PolicyMapper ¶
type PolicyMapper struct { AsStorePolicyStub func([]byte) ([]store.Policy, error) AsBytesStub func([]store.Policy) ([]byte, error) // contains filtered or unexported fields }
func (*PolicyMapper) AsBytes ¶
func (fake *PolicyMapper) AsBytes(arg1 []store.Policy) ([]byte, error)
func (*PolicyMapper) AsBytesArgsForCall ¶
func (fake *PolicyMapper) AsBytesArgsForCall(i int) []store.Policy
func (*PolicyMapper) AsBytesCallCount ¶
func (fake *PolicyMapper) AsBytesCallCount() int
func (*PolicyMapper) AsBytesReturns ¶
func (fake *PolicyMapper) AsBytesReturns(result1 []byte, result2 error)
func (*PolicyMapper) AsBytesReturnsOnCall ¶
func (fake *PolicyMapper) AsBytesReturnsOnCall(i int, result1 []byte, result2 error)
func (*PolicyMapper) AsStorePolicy ¶
func (fake *PolicyMapper) AsStorePolicy(arg1 []byte) ([]store.Policy, error)
func (*PolicyMapper) AsStorePolicyArgsForCall ¶
func (fake *PolicyMapper) AsStorePolicyArgsForCall(i int) []byte
func (*PolicyMapper) AsStorePolicyCallCount ¶
func (fake *PolicyMapper) AsStorePolicyCallCount() int
func (*PolicyMapper) AsStorePolicyReturns ¶
func (fake *PolicyMapper) AsStorePolicyReturns(result1 []store.Policy, result2 error)
func (*PolicyMapper) AsStorePolicyReturnsOnCall ¶
func (fake *PolicyMapper) AsStorePolicyReturnsOnCall(i int, result1 []store.Policy, result2 error)
func (*PolicyMapper) Invocations ¶
func (fake *PolicyMapper) Invocations() map[string][][]interface{}
type Validator ¶
type Validator struct { ValidatePoliciesStub func(policies []api.Policy) error // contains filtered or unexported fields }
func (*Validator) Invocations ¶
func (*Validator) ValidatePolicies ¶
func (*Validator) ValidatePoliciesArgsForCall ¶
func (*Validator) ValidatePoliciesCallCount ¶
func (*Validator) ValidatePoliciesReturns ¶
func (*Validator) ValidatePoliciesReturnsOnCall ¶
Click to show internal directories.
Click to hide internal directories.