auctioncellrepfakes

package
v0.1442.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

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 FakeAuctionCellClient

type FakeAuctionCellClient struct {
	PerformStub func(lager.Logger, string, rep.Work) (rep.Work, error)

	ResetStub func() error

	StateStub func(lager.Logger) (rep.CellState, bool, error)
	// contains filtered or unexported fields
}

func (*FakeAuctionCellClient) Invocations

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

func (*FakeAuctionCellClient) Perform

func (fake *FakeAuctionCellClient) Perform(arg1 lager.Logger, arg2 string, arg3 rep.Work) (rep.Work, error)

func (*FakeAuctionCellClient) PerformArgsForCall

func (fake *FakeAuctionCellClient) PerformArgsForCall(i int) (lager.Logger, string, rep.Work)

func (*FakeAuctionCellClient) PerformCallCount

func (fake *FakeAuctionCellClient) PerformCallCount() int

func (*FakeAuctionCellClient) PerformCalls

func (fake *FakeAuctionCellClient) PerformCalls(stub func(lager.Logger, string, rep.Work) (rep.Work, error))

func (*FakeAuctionCellClient) PerformReturns

func (fake *FakeAuctionCellClient) PerformReturns(result1 rep.Work, result2 error)

func (*FakeAuctionCellClient) PerformReturnsOnCall

func (fake *FakeAuctionCellClient) PerformReturnsOnCall(i int, result1 rep.Work, result2 error)

func (*FakeAuctionCellClient) Reset

func (fake *FakeAuctionCellClient) Reset() error

func (*FakeAuctionCellClient) ResetCallCount

func (fake *FakeAuctionCellClient) ResetCallCount() int

func (*FakeAuctionCellClient) ResetCalls

func (fake *FakeAuctionCellClient) ResetCalls(stub func() error)

func (*FakeAuctionCellClient) ResetReturns

func (fake *FakeAuctionCellClient) ResetReturns(result1 error)

func (*FakeAuctionCellClient) ResetReturnsOnCall

func (fake *FakeAuctionCellClient) ResetReturnsOnCall(i int, result1 error)

func (*FakeAuctionCellClient) State

func (fake *FakeAuctionCellClient) State(arg1 lager.Logger) (rep.CellState, bool, error)

func (*FakeAuctionCellClient) StateArgsForCall

func (fake *FakeAuctionCellClient) StateArgsForCall(i int) lager.Logger

func (*FakeAuctionCellClient) StateCallCount

func (fake *FakeAuctionCellClient) StateCallCount() int

func (*FakeAuctionCellClient) StateCalls

func (fake *FakeAuctionCellClient) StateCalls(stub func(lager.Logger) (rep.CellState, bool, error))

func (*FakeAuctionCellClient) StateReturns

func (fake *FakeAuctionCellClient) StateReturns(result1 rep.CellState, result2 bool, result3 error)

func (*FakeAuctionCellClient) StateReturnsOnCall

func (fake *FakeAuctionCellClient) StateReturnsOnCall(i int, result1 rep.CellState, result2 bool, result3 error)

type FakeBatchContainerAllocator

type FakeBatchContainerAllocator struct {
	BatchLRPAllocationRequestStub func(lager.Logger, string, bool, int, []rep.LRP) []rep.LRP

	BatchTaskAllocationRequestStub func(lager.Logger, string, []rep.Task) []rep.Task
	// contains filtered or unexported fields
}

func (*FakeBatchContainerAllocator) BatchLRPAllocationRequest

func (fake *FakeBatchContainerAllocator) BatchLRPAllocationRequest(arg1 lager.Logger, arg2 string, arg3 bool, arg4 int, arg5 []rep.LRP) []rep.LRP

func (*FakeBatchContainerAllocator) BatchLRPAllocationRequestArgsForCall

func (fake *FakeBatchContainerAllocator) BatchLRPAllocationRequestArgsForCall(i int) (lager.Logger, string, bool, int, []rep.LRP)

func (*FakeBatchContainerAllocator) BatchLRPAllocationRequestCallCount

func (fake *FakeBatchContainerAllocator) BatchLRPAllocationRequestCallCount() int

func (*FakeBatchContainerAllocator) BatchLRPAllocationRequestCalls

func (fake *FakeBatchContainerAllocator) BatchLRPAllocationRequestCalls(stub func(lager.Logger, string, bool, int, []rep.LRP) []rep.LRP)

func (*FakeBatchContainerAllocator) BatchLRPAllocationRequestReturns

func (fake *FakeBatchContainerAllocator) BatchLRPAllocationRequestReturns(result1 []rep.LRP)

func (*FakeBatchContainerAllocator) BatchLRPAllocationRequestReturnsOnCall

func (fake *FakeBatchContainerAllocator) BatchLRPAllocationRequestReturnsOnCall(i int, result1 []rep.LRP)

func (*FakeBatchContainerAllocator) BatchTaskAllocationRequest

func (fake *FakeBatchContainerAllocator) BatchTaskAllocationRequest(arg1 lager.Logger, arg2 string, arg3 []rep.Task) []rep.Task

func (*FakeBatchContainerAllocator) BatchTaskAllocationRequestArgsForCall

func (fake *FakeBatchContainerAllocator) BatchTaskAllocationRequestArgsForCall(i int) (lager.Logger, string, []rep.Task)

func (*FakeBatchContainerAllocator) BatchTaskAllocationRequestCallCount

func (fake *FakeBatchContainerAllocator) BatchTaskAllocationRequestCallCount() int

func (*FakeBatchContainerAllocator) BatchTaskAllocationRequestCalls

func (fake *FakeBatchContainerAllocator) BatchTaskAllocationRequestCalls(stub func(lager.Logger, string, []rep.Task) []rep.Task)

func (*FakeBatchContainerAllocator) BatchTaskAllocationRequestReturns

func (fake *FakeBatchContainerAllocator) BatchTaskAllocationRequestReturns(result1 []rep.Task)

func (*FakeBatchContainerAllocator) BatchTaskAllocationRequestReturnsOnCall

func (fake *FakeBatchContainerAllocator) BatchTaskAllocationRequestReturnsOnCall(i int, result1 []rep.Task)

func (*FakeBatchContainerAllocator) Invocations

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

type FakeContainerMetricsProvider

type FakeContainerMetricsProvider struct {
	MetricsStub func() map[string]*containermetrics.CachedContainerMetrics
	// contains filtered or unexported fields
}

func (*FakeContainerMetricsProvider) Invocations

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

func (*FakeContainerMetricsProvider) Metrics

func (*FakeContainerMetricsProvider) MetricsCallCount

func (fake *FakeContainerMetricsProvider) MetricsCallCount() int

func (*FakeContainerMetricsProvider) MetricsCalls

func (fake *FakeContainerMetricsProvider) MetricsCalls(stub func() map[string]*containermetrics.CachedContainerMetrics)

func (*FakeContainerMetricsProvider) MetricsReturns

func (*FakeContainerMetricsProvider) MetricsReturnsOnCall

func (fake *FakeContainerMetricsProvider) MetricsReturnsOnCall(i int, result1 map[string]*containermetrics.CachedContainerMetrics)

Jump to

Keyboard shortcuts

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