Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeAgent
- func (fake *FakeAgent) Check(arg1 policy.PolicyCheckInput) (bool, error)
- func (fake *FakeAgent) CheckArgsForCall(i int) policy.PolicyCheckInput
- func (fake *FakeAgent) CheckCallCount() int
- func (fake *FakeAgent) CheckCalls(stub func(policy.PolicyCheckInput) (bool, error))
- func (fake *FakeAgent) CheckReturns(result1 bool, result2 error)
- func (fake *FakeAgent) CheckReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeAgent) Invocations() map[string][][]interface{}
- type FakeAgentFactory
- func (fake *FakeAgentFactory) Description() string
- func (fake *FakeAgentFactory) DescriptionCallCount() int
- func (fake *FakeAgentFactory) DescriptionCalls(stub func() string)
- func (fake *FakeAgentFactory) DescriptionReturns(result1 string)
- func (fake *FakeAgentFactory) DescriptionReturnsOnCall(i int, result1 string)
- func (fake *FakeAgentFactory) Invocations() map[string][][]interface{}
- func (fake *FakeAgentFactory) IsConfigured() bool
- func (fake *FakeAgentFactory) IsConfiguredCallCount() int
- func (fake *FakeAgentFactory) IsConfiguredCalls(stub func() bool)
- func (fake *FakeAgentFactory) IsConfiguredReturns(result1 bool)
- func (fake *FakeAgentFactory) IsConfiguredReturnsOnCall(i int, result1 bool)
- func (fake *FakeAgentFactory) NewAgent(arg1 lager.Logger) (policy.Agent, error)
- func (fake *FakeAgentFactory) NewAgentArgsForCall(i int) lager.Logger
- func (fake *FakeAgentFactory) NewAgentCallCount() int
- func (fake *FakeAgentFactory) NewAgentCalls(stub func(lager.Logger) (policy.Agent, error))
- func (fake *FakeAgentFactory) NewAgentReturns(result1 policy.Agent, result2 error)
- func (fake *FakeAgentFactory) NewAgentReturnsOnCall(i int, result1 policy.Agent, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAgent ¶
type FakeAgent struct { CheckStub func(policy.PolicyCheckInput) (bool, error) // contains filtered or unexported fields }
func (*FakeAgent) CheckArgsForCall ¶
func (fake *FakeAgent) CheckArgsForCall(i int) policy.PolicyCheckInput
func (*FakeAgent) CheckCallCount ¶
func (*FakeAgent) CheckCalls ¶
func (fake *FakeAgent) CheckCalls(stub func(policy.PolicyCheckInput) (bool, error))
func (*FakeAgent) CheckReturns ¶
func (*FakeAgent) CheckReturnsOnCall ¶
func (*FakeAgent) Invocations ¶
type FakeAgentFactory ¶
type FakeAgentFactory struct { DescriptionStub func() string IsConfiguredStub func() bool NewAgentStub func(lager.Logger) (policy.Agent, error) // contains filtered or unexported fields }
func (*FakeAgentFactory) Description ¶
func (fake *FakeAgentFactory) Description() string
func (*FakeAgentFactory) DescriptionCallCount ¶
func (fake *FakeAgentFactory) DescriptionCallCount() int
func (*FakeAgentFactory) DescriptionCalls ¶
func (fake *FakeAgentFactory) DescriptionCalls(stub func() string)
func (*FakeAgentFactory) DescriptionReturns ¶
func (fake *FakeAgentFactory) DescriptionReturns(result1 string)
func (*FakeAgentFactory) DescriptionReturnsOnCall ¶
func (fake *FakeAgentFactory) DescriptionReturnsOnCall(i int, result1 string)
func (*FakeAgentFactory) Invocations ¶
func (fake *FakeAgentFactory) Invocations() map[string][][]interface{}
func (*FakeAgentFactory) IsConfigured ¶
func (fake *FakeAgentFactory) IsConfigured() bool
func (*FakeAgentFactory) IsConfiguredCallCount ¶
func (fake *FakeAgentFactory) IsConfiguredCallCount() int
func (*FakeAgentFactory) IsConfiguredCalls ¶
func (fake *FakeAgentFactory) IsConfiguredCalls(stub func() bool)
func (*FakeAgentFactory) IsConfiguredReturns ¶
func (fake *FakeAgentFactory) IsConfiguredReturns(result1 bool)
func (*FakeAgentFactory) IsConfiguredReturnsOnCall ¶
func (fake *FakeAgentFactory) IsConfiguredReturnsOnCall(i int, result1 bool)
func (*FakeAgentFactory) NewAgentArgsForCall ¶
func (fake *FakeAgentFactory) NewAgentArgsForCall(i int) lager.Logger
func (*FakeAgentFactory) NewAgentCallCount ¶
func (fake *FakeAgentFactory) NewAgentCallCount() int
func (*FakeAgentFactory) NewAgentCalls ¶
func (*FakeAgentFactory) NewAgentReturns ¶
func (fake *FakeAgentFactory) NewAgentReturns(result1 policy.Agent, result2 error)
func (*FakeAgentFactory) NewAgentReturnsOnCall ¶
func (fake *FakeAgentFactory) NewAgentReturnsOnCall(i int, result1 policy.Agent, result2 error)
Click to show internal directories.
Click to hide internal directories.