stacksfakes

package
v6.25.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2017 License: Apache-2.0 Imports: 3 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 FakeStackRepository

type FakeStackRepository struct {
	FindByNameStub func(name string) (stack models.Stack, apiErr error)

	FindByGUIDStub func(guid string) (models.Stack, error)

	FindAllStub func() (stacks []models.Stack, apiErr error)
	// contains filtered or unexported fields
}

func (*FakeStackRepository) FindAll

func (fake *FakeStackRepository) FindAll() (stacks []models.Stack, apiErr error)

func (*FakeStackRepository) FindAllCallCount

func (fake *FakeStackRepository) FindAllCallCount() int

func (*FakeStackRepository) FindAllReturns

func (fake *FakeStackRepository) FindAllReturns(result1 []models.Stack, result2 error)

func (*FakeStackRepository) FindByGUID

func (fake *FakeStackRepository) FindByGUID(guid string) (models.Stack, error)

func (*FakeStackRepository) FindByGUIDArgsForCall

func (fake *FakeStackRepository) FindByGUIDArgsForCall(i int) string

func (*FakeStackRepository) FindByGUIDCallCount

func (fake *FakeStackRepository) FindByGUIDCallCount() int

func (*FakeStackRepository) FindByGUIDReturns

func (fake *FakeStackRepository) FindByGUIDReturns(result1 models.Stack, result2 error)

func (*FakeStackRepository) FindByName

func (fake *FakeStackRepository) FindByName(name string) (stack models.Stack, apiErr error)

func (*FakeStackRepository) FindByNameArgsForCall

func (fake *FakeStackRepository) FindByNameArgsForCall(i int) string

func (*FakeStackRepository) FindByNameCallCount

func (fake *FakeStackRepository) FindByNameCallCount() int

func (*FakeStackRepository) FindByNameReturns

func (fake *FakeStackRepository) FindByNameReturns(result1 models.Stack, result2 error)

func (*FakeStackRepository) Invocations

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

Jump to

Keyboard shortcuts

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