fakes

package
Version: v0.0.0-...-499d384 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2015 License: MIT, Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

This file was generated by counterfeiter

This file was generated by counterfeiter

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeContainerizer

type FakeContainerizer struct {
	CreateStub func(spec gardener.DesiredContainerSpec) error

	RunStub func(handle string, spec garden.ProcessSpec, io garden.ProcessIO) (garden.Process, error)

	DestroyStub func(handle string) error
	// contains filtered or unexported fields
}

func (*FakeContainerizer) Create

func (*FakeContainerizer) CreateArgsForCall

func (fake *FakeContainerizer) CreateArgsForCall(i int) gardener.DesiredContainerSpec

func (*FakeContainerizer) CreateCallCount

func (fake *FakeContainerizer) CreateCallCount() int

func (*FakeContainerizer) CreateReturns

func (fake *FakeContainerizer) CreateReturns(result1 error)

func (*FakeContainerizer) Destroy

func (fake *FakeContainerizer) Destroy(handle string) error

func (*FakeContainerizer) DestroyArgsForCall

func (fake *FakeContainerizer) DestroyArgsForCall(i int) string

func (*FakeContainerizer) DestroyCallCount

func (fake *FakeContainerizer) DestroyCallCount() int

func (*FakeContainerizer) DestroyReturns

func (fake *FakeContainerizer) DestroyReturns(result1 error)

func (*FakeContainerizer) Run

func (*FakeContainerizer) RunArgsForCall

func (fake *FakeContainerizer) RunArgsForCall(i int) (string, garden.ProcessSpec, garden.ProcessIO)

func (*FakeContainerizer) RunCallCount

func (fake *FakeContainerizer) RunCallCount() int

func (*FakeContainerizer) RunReturns

func (fake *FakeContainerizer) RunReturns(result1 garden.Process, result2 error)

type FakeNetworker

type FakeNetworker struct {
	NetworkStub func(network string) (string, error)
	// contains filtered or unexported fields
}

func (*FakeNetworker) Network

func (fake *FakeNetworker) Network(network string) (string, error)

func (*FakeNetworker) NetworkArgsForCall

func (fake *FakeNetworker) NetworkArgsForCall(i int) string

func (*FakeNetworker) NetworkCallCount

func (fake *FakeNetworker) NetworkCallCount() int

func (*FakeNetworker) NetworkReturns

func (fake *FakeNetworker) NetworkReturns(result1 string, result2 error)

type FakeUidGenerator

type FakeUidGenerator struct {
	GenerateStub func() string
	// contains filtered or unexported fields
}

func (*FakeUidGenerator) Generate

func (fake *FakeUidGenerator) Generate() string

func (*FakeUidGenerator) GenerateCallCount

func (fake *FakeUidGenerator) GenerateCallCount() int

func (*FakeUidGenerator) GenerateReturns

func (fake *FakeUidGenerator) GenerateReturns(result1 string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL