imagepluginfakes

package
v0.0.0-...-cf22b21 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2018 License: Apache-2.0 Imports: 6 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 FakeCommandCreator

type FakeCommandCreator struct {
	CreateCommandStub func(log lager.Logger, handle string, spec gardener.RootfsSpec) (*exec.Cmd, error)

	DestroyCommandStub func(log lager.Logger, handle string) *exec.Cmd

	MetricsCommandStub func(log lager.Logger, handle string) *exec.Cmd
	// contains filtered or unexported fields
}

func (*FakeCommandCreator) CreateCommand

func (fake *FakeCommandCreator) CreateCommand(log lager.Logger, handle string, spec gardener.RootfsSpec) (*exec.Cmd, error)

func (*FakeCommandCreator) CreateCommandArgsForCall

func (fake *FakeCommandCreator) CreateCommandArgsForCall(i int) (lager.Logger, string, gardener.RootfsSpec)

func (*FakeCommandCreator) CreateCommandCallCount

func (fake *FakeCommandCreator) CreateCommandCallCount() int

func (*FakeCommandCreator) CreateCommandReturns

func (fake *FakeCommandCreator) CreateCommandReturns(result1 *exec.Cmd, result2 error)

func (*FakeCommandCreator) CreateCommandReturnsOnCall

func (fake *FakeCommandCreator) CreateCommandReturnsOnCall(i int, result1 *exec.Cmd, result2 error)

func (*FakeCommandCreator) DestroyCommand

func (fake *FakeCommandCreator) DestroyCommand(log lager.Logger, handle string) *exec.Cmd

func (*FakeCommandCreator) DestroyCommandArgsForCall

func (fake *FakeCommandCreator) DestroyCommandArgsForCall(i int) (lager.Logger, string)

func (*FakeCommandCreator) DestroyCommandCallCount

func (fake *FakeCommandCreator) DestroyCommandCallCount() int

func (*FakeCommandCreator) DestroyCommandReturns

func (fake *FakeCommandCreator) DestroyCommandReturns(result1 *exec.Cmd)

func (*FakeCommandCreator) DestroyCommandReturnsOnCall

func (fake *FakeCommandCreator) DestroyCommandReturnsOnCall(i int, result1 *exec.Cmd)

func (*FakeCommandCreator) Invocations

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

func (*FakeCommandCreator) MetricsCommand

func (fake *FakeCommandCreator) MetricsCommand(log lager.Logger, handle string) *exec.Cmd

func (*FakeCommandCreator) MetricsCommandArgsForCall

func (fake *FakeCommandCreator) MetricsCommandArgsForCall(i int) (lager.Logger, string)

func (*FakeCommandCreator) MetricsCommandCallCount

func (fake *FakeCommandCreator) MetricsCommandCallCount() int

func (*FakeCommandCreator) MetricsCommandReturns

func (fake *FakeCommandCreator) MetricsCommandReturns(result1 *exec.Cmd)

func (*FakeCommandCreator) MetricsCommandReturnsOnCall

func (fake *FakeCommandCreator) MetricsCommandReturnsOnCall(i int, result1 *exec.Cmd)

type FakeImageSpecCreator

type FakeImageSpecCreator struct {
	CreateImageSpecStub func(rootFS *url.URL, handle string) (*url.URL, error)
	// contains filtered or unexported fields
}

func (*FakeImageSpecCreator) CreateImageSpec

func (fake *FakeImageSpecCreator) CreateImageSpec(rootFS *url.URL, handle string) (*url.URL, error)

func (*FakeImageSpecCreator) CreateImageSpecArgsForCall

func (fake *FakeImageSpecCreator) CreateImageSpecArgsForCall(i int) (*url.URL, string)

func (*FakeImageSpecCreator) CreateImageSpecCallCount

func (fake *FakeImageSpecCreator) CreateImageSpecCallCount() int

func (*FakeImageSpecCreator) CreateImageSpecReturns

func (fake *FakeImageSpecCreator) CreateImageSpecReturns(result1 *url.URL, result2 error)

func (*FakeImageSpecCreator) CreateImageSpecReturnsOnCall

func (fake *FakeImageSpecCreator) CreateImageSpecReturnsOnCall(i int, result1 *url.URL, result2 error)

func (*FakeImageSpecCreator) Invocations

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

Jump to

Keyboard shortcuts

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