gcfakes

package
v4.2.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2018 License: Apache-2.0 Imports: 4 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 FakeCollector

type FakeCollector struct {
	RunStub func(context.Context) error
	// contains filtered or unexported fields
}

func (*FakeCollector) Invocations

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

func (*FakeCollector) Run

func (fake *FakeCollector) Run(arg1 context.Context) error

func (*FakeCollector) RunArgsForCall

func (fake *FakeCollector) RunArgsForCall(i int) context.Context

func (*FakeCollector) RunCallCount

func (fake *FakeCollector) RunCallCount() int

func (*FakeCollector) RunReturns

func (fake *FakeCollector) RunReturns(result1 error)

func (*FakeCollector) RunReturnsOnCall

func (fake *FakeCollector) RunReturnsOnCall(i int, result1 error)

type FakeDestroyer

type FakeDestroyer struct {
	FindDestroyingVolumesForGcStub func(workerName string) ([]string, error)

	DestroyContainersStub func(workerName string, handles []string) error

	DestroyVolumesStub func(workerName string, handles []string) error
	// contains filtered or unexported fields
}

func (*FakeDestroyer) DestroyContainers

func (fake *FakeDestroyer) DestroyContainers(workerName string, handles []string) error

func (*FakeDestroyer) DestroyContainersArgsForCall

func (fake *FakeDestroyer) DestroyContainersArgsForCall(i int) (string, []string)

func (*FakeDestroyer) DestroyContainersCallCount

func (fake *FakeDestroyer) DestroyContainersCallCount() int

func (*FakeDestroyer) DestroyContainersReturns

func (fake *FakeDestroyer) DestroyContainersReturns(result1 error)

func (*FakeDestroyer) DestroyContainersReturnsOnCall

func (fake *FakeDestroyer) DestroyContainersReturnsOnCall(i int, result1 error)

func (*FakeDestroyer) DestroyVolumes

func (fake *FakeDestroyer) DestroyVolumes(workerName string, handles []string) error

func (*FakeDestroyer) DestroyVolumesArgsForCall

func (fake *FakeDestroyer) DestroyVolumesArgsForCall(i int) (string, []string)

func (*FakeDestroyer) DestroyVolumesCallCount

func (fake *FakeDestroyer) DestroyVolumesCallCount() int

func (*FakeDestroyer) DestroyVolumesReturns

func (fake *FakeDestroyer) DestroyVolumesReturns(result1 error)

func (*FakeDestroyer) DestroyVolumesReturnsOnCall

func (fake *FakeDestroyer) DestroyVolumesReturnsOnCall(i int, result1 error)

func (*FakeDestroyer) FindDestroyingVolumesForGc

func (fake *FakeDestroyer) FindDestroyingVolumesForGc(workerName string) ([]string, error)

func (*FakeDestroyer) FindDestroyingVolumesForGcArgsForCall

func (fake *FakeDestroyer) FindDestroyingVolumesForGcArgsForCall(i int) string

func (*FakeDestroyer) FindDestroyingVolumesForGcCallCount

func (fake *FakeDestroyer) FindDestroyingVolumesForGcCallCount() int

func (*FakeDestroyer) FindDestroyingVolumesForGcReturns

func (fake *FakeDestroyer) FindDestroyingVolumesForGcReturns(result1 []string, result2 error)

func (*FakeDestroyer) FindDestroyingVolumesForGcReturnsOnCall

func (fake *FakeDestroyer) FindDestroyingVolumesForGcReturnsOnCall(i int, result1 []string, result2 error)

func (*FakeDestroyer) Invocations

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

type FakeWorkerJobRunner

type FakeWorkerJobRunner struct {
	TryStub func(lager.Logger, string, gc.Job)
	// contains filtered or unexported fields
}

func (*FakeWorkerJobRunner) Invocations

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

func (*FakeWorkerJobRunner) Try

func (fake *FakeWorkerJobRunner) Try(arg1 lager.Logger, arg2 string, arg3 gc.Job)

func (*FakeWorkerJobRunner) TryArgsForCall

func (fake *FakeWorkerJobRunner) TryArgsForCall(i int) (lager.Logger, string, gc.Job)

func (*FakeWorkerJobRunner) TryCallCount

func (fake *FakeWorkerJobRunner) TryCallCount() int

Jump to

Keyboard shortcuts

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