Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeEvictor
- func (fake *FakeEvictor) CanUseEvictions() error
- func (fake *FakeEvictor) CanUseEvictionsCallCount() int
- func (fake *FakeEvictor) CanUseEvictionsCalls(stub func() error)
- func (fake *FakeEvictor) CanUseEvictionsReturns(result1 error)
- func (fake *FakeEvictor) CanUseEvictionsReturnsOnCall(i int, result1 error)
- func (fake *FakeEvictor) EvictOrDeletePod(arg1 v1.Pod) error
- func (fake *FakeEvictor) EvictOrDeletePodArgsForCall(i int) v1.Pod
- func (fake *FakeEvictor) EvictOrDeletePodCallCount() int
- func (fake *FakeEvictor) EvictOrDeletePodCalls(stub func(v1.Pod) error)
- func (fake *FakeEvictor) EvictOrDeletePodReturns(result1 error)
- func (fake *FakeEvictor) EvictOrDeletePodReturnsOnCall(i int, result1 error)
- func (fake *FakeEvictor) GetPodsForEviction(arg1 string) (*evictor.PodDeleteList, []error)
- func (fake *FakeEvictor) GetPodsForEvictionArgsForCall(i int) string
- func (fake *FakeEvictor) GetPodsForEvictionCallCount() int
- func (fake *FakeEvictor) GetPodsForEvictionCalls(stub func(string) (*evictor.PodDeleteList, []error))
- func (fake *FakeEvictor) GetPodsForEvictionReturns(result1 *evictor.PodDeleteList, result2 []error)
- func (fake *FakeEvictor) GetPodsForEvictionReturnsOnCall(i int, result1 *evictor.PodDeleteList, result2 []error)
- func (fake *FakeEvictor) Invocations() map[string][][]interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeEvictor ¶
type FakeEvictor struct { CanUseEvictionsStub func() error EvictOrDeletePodStub func(v1.Pod) error GetPodsForEvictionStub func(string) (*evictor.PodDeleteList, []error) // contains filtered or unexported fields }
func (*FakeEvictor) CanUseEvictions ¶
func (fake *FakeEvictor) CanUseEvictions() error
func (*FakeEvictor) CanUseEvictionsCallCount ¶
func (fake *FakeEvictor) CanUseEvictionsCallCount() int
func (*FakeEvictor) CanUseEvictionsCalls ¶
func (fake *FakeEvictor) CanUseEvictionsCalls(stub func() error)
func (*FakeEvictor) CanUseEvictionsReturns ¶
func (fake *FakeEvictor) CanUseEvictionsReturns(result1 error)
func (*FakeEvictor) CanUseEvictionsReturnsOnCall ¶
func (fake *FakeEvictor) CanUseEvictionsReturnsOnCall(i int, result1 error)
func (*FakeEvictor) EvictOrDeletePod ¶
func (fake *FakeEvictor) EvictOrDeletePod(arg1 v1.Pod) error
func (*FakeEvictor) EvictOrDeletePodArgsForCall ¶
func (fake *FakeEvictor) EvictOrDeletePodArgsForCall(i int) v1.Pod
func (*FakeEvictor) EvictOrDeletePodCallCount ¶
func (fake *FakeEvictor) EvictOrDeletePodCallCount() int
func (*FakeEvictor) EvictOrDeletePodCalls ¶
func (fake *FakeEvictor) EvictOrDeletePodCalls(stub func(v1.Pod) error)
func (*FakeEvictor) EvictOrDeletePodReturns ¶
func (fake *FakeEvictor) EvictOrDeletePodReturns(result1 error)
func (*FakeEvictor) EvictOrDeletePodReturnsOnCall ¶
func (fake *FakeEvictor) EvictOrDeletePodReturnsOnCall(i int, result1 error)
func (*FakeEvictor) GetPodsForEviction ¶
func (fake *FakeEvictor) GetPodsForEviction(arg1 string) (*evictor.PodDeleteList, []error)
func (*FakeEvictor) GetPodsForEvictionArgsForCall ¶
func (fake *FakeEvictor) GetPodsForEvictionArgsForCall(i int) string
func (*FakeEvictor) GetPodsForEvictionCallCount ¶
func (fake *FakeEvictor) GetPodsForEvictionCallCount() int
func (*FakeEvictor) GetPodsForEvictionCalls ¶
func (fake *FakeEvictor) GetPodsForEvictionCalls(stub func(string) (*evictor.PodDeleteList, []error))
func (*FakeEvictor) GetPodsForEvictionReturns ¶
func (fake *FakeEvictor) GetPodsForEvictionReturns(result1 *evictor.PodDeleteList, result2 []error)
func (*FakeEvictor) GetPodsForEvictionReturnsOnCall ¶
func (fake *FakeEvictor) GetPodsForEvictionReturnsOnCall(i int, result1 *evictor.PodDeleteList, result2 []error)
func (*FakeEvictor) Invocations ¶
func (fake *FakeEvictor) Invocations() map[string][][]interface{}
Click to show internal directories.
Click to hide internal directories.