fakes

package
v6.14.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2015 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)

	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) 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