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: 4 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeResourcesDB

type FakeResourcesDB struct {
	GetPipelineNameStub func() string

	GetConfigStub func() (atc.Config, db.ConfigVersion, error)

	GetResourceStub func(string) (db.SavedResource, error)

	GetResourceHistoryStub func(string) ([]*db.VersionHistory, error)
	// contains filtered or unexported fields
}

func (*FakeResourcesDB) GetConfig

func (fake *FakeResourcesDB) GetConfig() (atc.Config, db.ConfigVersion, error)

func (*FakeResourcesDB) GetConfigCallCount

func (fake *FakeResourcesDB) GetConfigCallCount() int

func (*FakeResourcesDB) GetConfigReturns

func (fake *FakeResourcesDB) GetConfigReturns(result1 atc.Config, result2 db.ConfigVersion, result3 error)

func (*FakeResourcesDB) GetPipelineName

func (fake *FakeResourcesDB) GetPipelineName() string

func (*FakeResourcesDB) GetPipelineNameCallCount

func (fake *FakeResourcesDB) GetPipelineNameCallCount() int

func (*FakeResourcesDB) GetPipelineNameReturns

func (fake *FakeResourcesDB) GetPipelineNameReturns(result1 string)

func (*FakeResourcesDB) GetResource

func (fake *FakeResourcesDB) GetResource(arg1 string) (db.SavedResource, error)

func (*FakeResourcesDB) GetResourceArgsForCall

func (fake *FakeResourcesDB) GetResourceArgsForCall(i int) string

func (*FakeResourcesDB) GetResourceCallCount

func (fake *FakeResourcesDB) GetResourceCallCount() int

func (*FakeResourcesDB) GetResourceHistory

func (fake *FakeResourcesDB) GetResourceHistory(arg1 string) ([]*db.VersionHistory, error)

func (*FakeResourcesDB) GetResourceHistoryArgsForCall

func (fake *FakeResourcesDB) GetResourceHistoryArgsForCall(i int) string

func (*FakeResourcesDB) GetResourceHistoryCallCount

func (fake *FakeResourcesDB) GetResourceHistoryCallCount() int

func (*FakeResourcesDB) GetResourceHistoryReturns

func (fake *FakeResourcesDB) GetResourceHistoryReturns(result1 []*db.VersionHistory, result2 error)

func (*FakeResourcesDB) GetResourceReturns

func (fake *FakeResourcesDB) GetResourceReturns(result1 db.SavedResource, result2 error)

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