policyfakes

package
v6.4.2 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2020 License: Apache-2.0 Imports: 3 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 FakeAgent

type FakeAgent struct {
	CheckStub func(policy.PolicyCheckInput) (bool, error)
	// contains filtered or unexported fields
}

func (*FakeAgent) Check

func (fake *FakeAgent) Check(arg1 policy.PolicyCheckInput) (bool, error)

func (*FakeAgent) CheckArgsForCall

func (fake *FakeAgent) CheckArgsForCall(i int) policy.PolicyCheckInput

func (*FakeAgent) CheckCallCount

func (fake *FakeAgent) CheckCallCount() int

func (*FakeAgent) CheckCalls

func (fake *FakeAgent) CheckCalls(stub func(policy.PolicyCheckInput) (bool, error))

func (*FakeAgent) CheckReturns

func (fake *FakeAgent) CheckReturns(result1 bool, result2 error)

func (*FakeAgent) CheckReturnsOnCall

func (fake *FakeAgent) CheckReturnsOnCall(i int, result1 bool, result2 error)

func (*FakeAgent) Invocations

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

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) NewAgent

func (fake *FakeAgentFactory) NewAgent(arg1 lager.Logger) (policy.Agent, error)

func (*FakeAgentFactory) NewAgentArgsForCall

func (fake *FakeAgentFactory) NewAgentArgsForCall(i int) lager.Logger

func (*FakeAgentFactory) NewAgentCallCount

func (fake *FakeAgentFactory) NewAgentCallCount() int

func (*FakeAgentFactory) NewAgentCalls

func (fake *FakeAgentFactory) NewAgentCalls(stub func(lager.Logger) (policy.Agent, error))

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)

Jump to

Keyboard shortcuts

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