fakes

package
v6.16.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2016 License: Apache-2.0 Imports: 3 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 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)

Jump to

Keyboard shortcuts

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