fakes

package
Version: v0.0.0-...-0e89551 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2015 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

This file was generated by counterfeiter

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 FakeArtifactDestination

type FakeArtifactDestination struct {
	StreamInStub func(string, io.Reader) error
	// contains filtered or unexported fields
}

func (*FakeArtifactDestination) StreamIn

func (fake *FakeArtifactDestination) StreamIn(arg1 string, arg2 io.Reader) error

func (*FakeArtifactDestination) StreamInArgsForCall

func (fake *FakeArtifactDestination) StreamInArgsForCall(i int) (string, io.Reader)

func (*FakeArtifactDestination) StreamInCallCount

func (fake *FakeArtifactDestination) StreamInCallCount() int

func (*FakeArtifactDestination) StreamInReturns

func (fake *FakeArtifactDestination) StreamInReturns(result1 error)

type FakeArtifactSource

type FakeArtifactSource struct {
	StreamToStub func(resource.ArtifactDestination) error
	// contains filtered or unexported fields
}

func (*FakeArtifactSource) StreamTo

func (*FakeArtifactSource) StreamToArgsForCall

func (fake *FakeArtifactSource) StreamToArgsForCall(i int) resource.ArtifactDestination

func (*FakeArtifactSource) StreamToCallCount

func (fake *FakeArtifactSource) StreamToCallCount() int

func (*FakeArtifactSource) StreamToReturns

func (fake *FakeArtifactSource) StreamToReturns(result1 error)

type FakeResource

type FakeResource struct {
	TypeStub func() resource.ResourceType

	GetStub func(resource.IOConfig, atc.Source, atc.Params, atc.Version) resource.VersionedSource

	PutStub func(resource.IOConfig, atc.Source, atc.Params, resource.ArtifactSource) resource.VersionedSource

	CheckStub func(atc.Source, atc.Version) ([]atc.Version, error)

	ReleaseStub func()

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

func (*FakeResource) Check

func (fake *FakeResource) Check(arg1 atc.Source, arg2 atc.Version) ([]atc.Version, error)

func (*FakeResource) CheckArgsForCall

func (fake *FakeResource) CheckArgsForCall(i int) (atc.Source, atc.Version)

func (*FakeResource) CheckCallCount

func (fake *FakeResource) CheckCallCount() int

func (*FakeResource) CheckReturns

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

func (*FakeResource) Destroy

func (fake *FakeResource) Destroy() error

func (*FakeResource) DestroyCallCount

func (fake *FakeResource) DestroyCallCount() int

func (*FakeResource) DestroyReturns

func (fake *FakeResource) DestroyReturns(result1 error)

func (*FakeResource) Get

func (fake *FakeResource) Get(arg1 resource.IOConfig, arg2 atc.Source, arg3 atc.Params, arg4 atc.Version) resource.VersionedSource

func (*FakeResource) GetArgsForCall

func (fake *FakeResource) GetArgsForCall(i int) (resource.IOConfig, atc.Source, atc.Params, atc.Version)

func (*FakeResource) GetCallCount

func (fake *FakeResource) GetCallCount() int

func (*FakeResource) GetReturns

func (fake *FakeResource) GetReturns(result1 resource.VersionedSource)

func (*FakeResource) Put

func (*FakeResource) PutArgsForCall

func (*FakeResource) PutCallCount

func (fake *FakeResource) PutCallCount() int

func (*FakeResource) PutReturns

func (fake *FakeResource) PutReturns(result1 resource.VersionedSource)

func (*FakeResource) Release

func (fake *FakeResource) Release()

func (*FakeResource) ReleaseCallCount

func (fake *FakeResource) ReleaseCallCount() int

func (*FakeResource) Type

func (fake *FakeResource) Type() resource.ResourceType

func (*FakeResource) TypeCallCount

func (fake *FakeResource) TypeCallCount() int

func (*FakeResource) TypeReturns

func (fake *FakeResource) TypeReturns(result1 resource.ResourceType)

type FakeTracker

type FakeTracker struct {
	InitStub func(resource.Session, resource.ResourceType, atc.Tags) (resource.Resource, error)
	// contains filtered or unexported fields
}

func (*FakeTracker) Init

func (fake *FakeTracker) Init(arg1 resource.Session, arg2 resource.ResourceType, arg3 atc.Tags) (resource.Resource, error)

func (*FakeTracker) InitArgsForCall

func (fake *FakeTracker) InitArgsForCall(i int) (resource.Session, resource.ResourceType, atc.Tags)

func (*FakeTracker) InitCallCount

func (fake *FakeTracker) InitCallCount() int

func (*FakeTracker) InitReturns

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

type FakeVersionedSource

type FakeVersionedSource struct {
	RunStub func(signals <-chan os.Signal, ready chan<- struct{}) error

	VersionStub func() atc.Version

	MetadataStub func() []atc.MetadataField

	StreamOutStub func(string) (io.ReadCloser, error)

	StreamInStub func(string, io.Reader) error
	// contains filtered or unexported fields
}

func (*FakeVersionedSource) Metadata

func (fake *FakeVersionedSource) Metadata() []atc.MetadataField

func (*FakeVersionedSource) MetadataCallCount

func (fake *FakeVersionedSource) MetadataCallCount() int

func (*FakeVersionedSource) MetadataReturns

func (fake *FakeVersionedSource) MetadataReturns(result1 []atc.MetadataField)

func (*FakeVersionedSource) Run

func (fake *FakeVersionedSource) Run(signals <-chan os.Signal, ready chan<- struct{}) error

func (*FakeVersionedSource) RunArgsForCall

func (fake *FakeVersionedSource) RunArgsForCall(i int) (<-chan os.Signal, chan<- struct{})

func (*FakeVersionedSource) RunCallCount

func (fake *FakeVersionedSource) RunCallCount() int

func (*FakeVersionedSource) RunReturns

func (fake *FakeVersionedSource) RunReturns(result1 error)

func (*FakeVersionedSource) StreamIn

func (fake *FakeVersionedSource) StreamIn(arg1 string, arg2 io.Reader) error

func (*FakeVersionedSource) StreamInArgsForCall

func (fake *FakeVersionedSource) StreamInArgsForCall(i int) (string, io.Reader)

func (*FakeVersionedSource) StreamInCallCount

func (fake *FakeVersionedSource) StreamInCallCount() int

func (*FakeVersionedSource) StreamInReturns

func (fake *FakeVersionedSource) StreamInReturns(result1 error)

func (*FakeVersionedSource) StreamOut

func (fake *FakeVersionedSource) StreamOut(arg1 string) (io.ReadCloser, error)

func (*FakeVersionedSource) StreamOutArgsForCall

func (fake *FakeVersionedSource) StreamOutArgsForCall(i int) string

func (*FakeVersionedSource) StreamOutCallCount

func (fake *FakeVersionedSource) StreamOutCallCount() int

func (*FakeVersionedSource) StreamOutReturns

func (fake *FakeVersionedSource) StreamOutReturns(result1 io.ReadCloser, result2 error)

func (*FakeVersionedSource) Version

func (fake *FakeVersionedSource) Version() atc.Version

func (*FakeVersionedSource) VersionCallCount

func (fake *FakeVersionedSource) VersionCallCount() int

func (*FakeVersionedSource) VersionReturns

func (fake *FakeVersionedSource) VersionReturns(result1 atc.Version)

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