quotasfakes

package
v6.21.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 10, 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 FakeQuotaRepository

type FakeQuotaRepository struct {
	FindAllStub func() (quotas []models.QuotaFields, apiErr error)

	FindByNameStub func(name string) (quota models.QuotaFields, apiErr error)

	AssignQuotaToOrgStub func(orgGUID, quotaGUID string) error

	CreateStub func(quota models.QuotaFields) error

	UpdateStub func(quota models.QuotaFields) error

	DeleteStub func(quotaGUID string) error
	// contains filtered or unexported fields
}

func (*FakeQuotaRepository) AssignQuotaToOrg

func (fake *FakeQuotaRepository) AssignQuotaToOrg(orgGUID string, quotaGUID string) error

func (*FakeQuotaRepository) AssignQuotaToOrgArgsForCall

func (fake *FakeQuotaRepository) AssignQuotaToOrgArgsForCall(i int) (string, string)

func (*FakeQuotaRepository) AssignQuotaToOrgCallCount

func (fake *FakeQuotaRepository) AssignQuotaToOrgCallCount() int

func (*FakeQuotaRepository) AssignQuotaToOrgReturns

func (fake *FakeQuotaRepository) AssignQuotaToOrgReturns(result1 error)

func (*FakeQuotaRepository) Create

func (fake *FakeQuotaRepository) Create(quota models.QuotaFields) error

func (*FakeQuotaRepository) CreateArgsForCall

func (fake *FakeQuotaRepository) CreateArgsForCall(i int) models.QuotaFields

func (*FakeQuotaRepository) CreateCallCount

func (fake *FakeQuotaRepository) CreateCallCount() int

func (*FakeQuotaRepository) CreateReturns

func (fake *FakeQuotaRepository) CreateReturns(result1 error)

func (*FakeQuotaRepository) Delete

func (fake *FakeQuotaRepository) Delete(quotaGUID string) error

func (*FakeQuotaRepository) DeleteArgsForCall

func (fake *FakeQuotaRepository) DeleteArgsForCall(i int) string

func (*FakeQuotaRepository) DeleteCallCount

func (fake *FakeQuotaRepository) DeleteCallCount() int

func (*FakeQuotaRepository) DeleteReturns

func (fake *FakeQuotaRepository) DeleteReturns(result1 error)

func (*FakeQuotaRepository) FindAll

func (fake *FakeQuotaRepository) FindAll() (quotas []models.QuotaFields, apiErr error)

func (*FakeQuotaRepository) FindAllCallCount

func (fake *FakeQuotaRepository) FindAllCallCount() int

func (*FakeQuotaRepository) FindAllReturns

func (fake *FakeQuotaRepository) FindAllReturns(result1 []models.QuotaFields, result2 error)

func (*FakeQuotaRepository) FindByName

func (fake *FakeQuotaRepository) FindByName(name string) (quota models.QuotaFields, apiErr error)

func (*FakeQuotaRepository) FindByNameArgsForCall

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

func (*FakeQuotaRepository) FindByNameCallCount

func (fake *FakeQuotaRepository) FindByNameCallCount() int

func (*FakeQuotaRepository) FindByNameReturns

func (fake *FakeQuotaRepository) FindByNameReturns(result1 models.QuotaFields, result2 error)

func (*FakeQuotaRepository) Update

func (fake *FakeQuotaRepository) Update(quota models.QuotaFields) error

func (*FakeQuotaRepository) UpdateArgsForCall

func (fake *FakeQuotaRepository) UpdateArgsForCall(i int) models.QuotaFields

func (*FakeQuotaRepository) UpdateCallCount

func (fake *FakeQuotaRepository) UpdateCallCount() int

func (*FakeQuotaRepository) UpdateReturns

func (fake *FakeQuotaRepository) UpdateReturns(result1 error)

Jump to

Keyboard shortcuts

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