fakes

package
v0.0.0-...-afaf855 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2016 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

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 FakeResource

type FakeResource struct {
	InStub func(turbine.Input) (io.Reader, turbine.Input, turbine.Config, error)

	OutStub func(io.Reader, turbine.Output) (turbine.Output, error)

	CheckStub func(turbine.Input) ([]turbine.Version, error)
	// contains filtered or unexported fields
}

func (*FakeResource) Check

func (fake *FakeResource) Check(arg1 turbine.Input) ([]turbine.Version, error)

func (*FakeResource) CheckArgsForCall

func (fake *FakeResource) CheckArgsForCall(i int) turbine.Input

func (*FakeResource) CheckCallCount

func (fake *FakeResource) CheckCallCount() int

func (*FakeResource) CheckReturns

func (fake *FakeResource) CheckReturns(result1 []turbine.Version, result2 error)

func (*FakeResource) In

func (*FakeResource) InArgsForCall

func (fake *FakeResource) InArgsForCall(i int) turbine.Input

func (*FakeResource) InCallCount

func (fake *FakeResource) InCallCount() int

func (*FakeResource) InReturns

func (fake *FakeResource) InReturns(result1 io.Reader, result2 turbine.Input, result3 turbine.Config, result4 error)

func (*FakeResource) Out

func (fake *FakeResource) Out(arg1 io.Reader, arg2 turbine.Output) (turbine.Output, error)

func (*FakeResource) OutArgsForCall

func (fake *FakeResource) OutArgsForCall(i int) (io.Reader, turbine.Output)

func (*FakeResource) OutCallCount

func (fake *FakeResource) OutCallCount() int

func (*FakeResource) OutReturns

func (fake *FakeResource) OutReturns(result1 turbine.Output, result2 error)

type FakeTracker

type FakeTracker struct {
	InitStub func(typ string, logs io.Writer, abort <-chan struct{}) (resource.Resource, error)

	ReleaseStub func(resource.Resource) error
	// contains filtered or unexported fields
}

func (*FakeTracker) Init

func (fake *FakeTracker) Init(typ string, logs io.Writer, abort <-chan struct{}) (resource.Resource, error)

func (*FakeTracker) InitArgsForCall

func (fake *FakeTracker) InitArgsForCall(i int) (string, io.Writer, <-chan struct{})

func (*FakeTracker) InitCallCount

func (fake *FakeTracker) InitCallCount() int

func (*FakeTracker) InitReturns

func (fake *FakeTracker) InitReturns(result1 resource.Resource, result2 error)

func (*FakeTracker) Release

func (fake *FakeTracker) Release(arg1 resource.Resource) error

func (*FakeTracker) ReleaseArgsForCall

func (fake *FakeTracker) ReleaseArgsForCall(i int) resource.Resource

func (*FakeTracker) ReleaseCallCount

func (fake *FakeTracker) ReleaseCallCount() int

func (*FakeTracker) ReleaseReturns

func (fake *FakeTracker) ReleaseReturns(result1 error)

Jump to

Keyboard shortcuts

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