quotasfakes

package
v6.47.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeQuotaRepository

type FakeQuotaRepository struct {
	AssignQuotaToOrgStub func(string, string) error

	CreateStub func(models.QuotaFields) error

	DeleteStub func(string) error

	FindAllStub func() ([]models.QuotaFields, error)

	FindByNameStub func(string) (models.QuotaFields, error)

	UpdateStub func(models.QuotaFields) error
	// contains filtered or unexported fields
}

func (*FakeQuotaRepository) AssignQuotaToOrg

func (fake *FakeQuotaRepository) AssignQuotaToOrg(arg1 string, arg2 string) error

func (*FakeQuotaRepository) AssignQuotaToOrgArgsForCall

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

func (*FakeQuotaRepository) AssignQuotaToOrgCallCount

func (fake *FakeQuotaRepository) AssignQuotaToOrgCallCount() int

func (*FakeQuotaRepository) AssignQuotaToOrgCalls

func (fake *FakeQuotaRepository) AssignQuotaToOrgCalls(stub func(string, string) error)

func (*FakeQuotaRepository) AssignQuotaToOrgReturns

func (fake *FakeQuotaRepository) AssignQuotaToOrgReturns(result1 error)

func (*FakeQuotaRepository) AssignQuotaToOrgReturnsOnCall

func (fake *FakeQuotaRepository) AssignQuotaToOrgReturnsOnCall(i int, result1 error)

func (*FakeQuotaRepository) Create

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

func (*FakeQuotaRepository) CreateArgsForCall

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

func (*FakeQuotaRepository) CreateCallCount

func (fake *FakeQuotaRepository) CreateCallCount() int

func (*FakeQuotaRepository) CreateCalls

func (fake *FakeQuotaRepository) CreateCalls(stub func(models.QuotaFields) error)

func (*FakeQuotaRepository) CreateReturns

func (fake *FakeQuotaRepository) CreateReturns(result1 error)

func (*FakeQuotaRepository) CreateReturnsOnCall

func (fake *FakeQuotaRepository) CreateReturnsOnCall(i int, result1 error)

func (*FakeQuotaRepository) Delete

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

func (*FakeQuotaRepository) DeleteArgsForCall

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

func (*FakeQuotaRepository) DeleteCallCount

func (fake *FakeQuotaRepository) DeleteCallCount() int

func (*FakeQuotaRepository) DeleteCalls

func (fake *FakeQuotaRepository) DeleteCalls(stub func(string) error)

func (*FakeQuotaRepository) DeleteReturns

func (fake *FakeQuotaRepository) DeleteReturns(result1 error)

func (*FakeQuotaRepository) DeleteReturnsOnCall

func (fake *FakeQuotaRepository) DeleteReturnsOnCall(i int, result1 error)

func (*FakeQuotaRepository) FindAll

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

func (*FakeQuotaRepository) FindAllCallCount

func (fake *FakeQuotaRepository) FindAllCallCount() int

func (*FakeQuotaRepository) FindAllCalls

func (fake *FakeQuotaRepository) FindAllCalls(stub func() ([]models.QuotaFields, error))

func (*FakeQuotaRepository) FindAllReturns

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

func (*FakeQuotaRepository) FindAllReturnsOnCall

func (fake *FakeQuotaRepository) FindAllReturnsOnCall(i int, result1 []models.QuotaFields, result2 error)

func (*FakeQuotaRepository) FindByName

func (fake *FakeQuotaRepository) FindByName(arg1 string) (models.QuotaFields, error)

func (*FakeQuotaRepository) FindByNameArgsForCall

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

func (*FakeQuotaRepository) FindByNameCallCount

func (fake *FakeQuotaRepository) FindByNameCallCount() int

func (*FakeQuotaRepository) FindByNameCalls

func (fake *FakeQuotaRepository) FindByNameCalls(stub func(string) (models.QuotaFields, error))

func (*FakeQuotaRepository) FindByNameReturns

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

func (*FakeQuotaRepository) FindByNameReturnsOnCall

func (fake *FakeQuotaRepository) FindByNameReturnsOnCall(i int, result1 models.QuotaFields, result2 error)

func (*FakeQuotaRepository) Invocations

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

func (*FakeQuotaRepository) Update

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

func (*FakeQuotaRepository) UpdateArgsForCall

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

func (*FakeQuotaRepository) UpdateCallCount

func (fake *FakeQuotaRepository) UpdateCallCount() int

func (*FakeQuotaRepository) UpdateCalls

func (fake *FakeQuotaRepository) UpdateCalls(stub func(models.QuotaFields) error)

func (*FakeQuotaRepository) UpdateReturns

func (fake *FakeQuotaRepository) UpdateReturns(result1 error)

func (*FakeQuotaRepository) UpdateReturnsOnCall

func (fake *FakeQuotaRepository) UpdateReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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