Versions in this module Expand all Collapse all v6 v6.4.2 Aug 17, 2020 Changes in this version + type FakeAgent struct + CheckStub func(policy.PolicyCheckInput) (bool, error) + 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 struct + DescriptionStub func() string + IsConfiguredStub func() bool + NewAgentStub func(lager.Logger) (policy.Agent, error) + 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)