fakes

package
v0.140.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

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 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{}

Jump to

Keyboard shortcuts

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