spacequotasfakes

package
v6.36.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2018 License: Apache-2.0 Imports: 3 Imported by: 1

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 FakeSpaceQuotaRepository

type FakeSpaceQuotaRepository struct {
	FindByNameStub func(name string) (quota models.SpaceQuota, apiErr error)

	FindByOrgStub func(guid string) (quota []models.SpaceQuota, apiErr error)

	FindByGUIDStub func(guid string) (quota models.SpaceQuota, apiErr error)

	FindByNameAndOrgGUIDStub func(spaceQuotaName string, orgGUID string) (quota models.SpaceQuota, apiErr error)

	AssociateSpaceWithQuotaStub func(spaceGUID string, quotaGUID string) error

	UnassignQuotaFromSpaceStub func(spaceGUID string, quotaGUID string) error

	CreateStub func(quota models.SpaceQuota) error

	UpdateStub func(quota models.SpaceQuota) error

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

func (*FakeSpaceQuotaRepository) AssociateSpaceWithQuota

func (fake *FakeSpaceQuotaRepository) AssociateSpaceWithQuota(spaceGUID string, quotaGUID string) error

func (*FakeSpaceQuotaRepository) AssociateSpaceWithQuotaArgsForCall

func (fake *FakeSpaceQuotaRepository) AssociateSpaceWithQuotaArgsForCall(i int) (string, string)

func (*FakeSpaceQuotaRepository) AssociateSpaceWithQuotaCallCount

func (fake *FakeSpaceQuotaRepository) AssociateSpaceWithQuotaCallCount() int

func (*FakeSpaceQuotaRepository) AssociateSpaceWithQuotaReturns

func (fake *FakeSpaceQuotaRepository) AssociateSpaceWithQuotaReturns(result1 error)

func (*FakeSpaceQuotaRepository) Create

func (fake *FakeSpaceQuotaRepository) Create(quota models.SpaceQuota) error

func (*FakeSpaceQuotaRepository) CreateArgsForCall

func (fake *FakeSpaceQuotaRepository) CreateArgsForCall(i int) models.SpaceQuota

func (*FakeSpaceQuotaRepository) CreateCallCount

func (fake *FakeSpaceQuotaRepository) CreateCallCount() int

func (*FakeSpaceQuotaRepository) CreateReturns

func (fake *FakeSpaceQuotaRepository) CreateReturns(result1 error)

func (*FakeSpaceQuotaRepository) Delete

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

func (*FakeSpaceQuotaRepository) DeleteArgsForCall

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

func (*FakeSpaceQuotaRepository) DeleteCallCount

func (fake *FakeSpaceQuotaRepository) DeleteCallCount() int

func (*FakeSpaceQuotaRepository) DeleteReturns

func (fake *FakeSpaceQuotaRepository) DeleteReturns(result1 error)

func (*FakeSpaceQuotaRepository) FindByGUID

func (fake *FakeSpaceQuotaRepository) FindByGUID(guid string) (quota models.SpaceQuota, apiErr error)

func (*FakeSpaceQuotaRepository) FindByGUIDArgsForCall

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

func (*FakeSpaceQuotaRepository) FindByGUIDCallCount

func (fake *FakeSpaceQuotaRepository) FindByGUIDCallCount() int

func (*FakeSpaceQuotaRepository) FindByGUIDReturns

func (fake *FakeSpaceQuotaRepository) FindByGUIDReturns(result1 models.SpaceQuota, result2 error)

func (*FakeSpaceQuotaRepository) FindByName

func (fake *FakeSpaceQuotaRepository) FindByName(name string) (quota models.SpaceQuota, apiErr error)

func (*FakeSpaceQuotaRepository) FindByNameAndOrgGUID

func (fake *FakeSpaceQuotaRepository) FindByNameAndOrgGUID(spaceQuotaName string, orgGUID string) (quota models.SpaceQuota, apiErr error)

func (*FakeSpaceQuotaRepository) FindByNameAndOrgGUIDArgsForCall

func (fake *FakeSpaceQuotaRepository) FindByNameAndOrgGUIDArgsForCall(i int) (string, string)

func (*FakeSpaceQuotaRepository) FindByNameAndOrgGUIDCallCount

func (fake *FakeSpaceQuotaRepository) FindByNameAndOrgGUIDCallCount() int

func (*FakeSpaceQuotaRepository) FindByNameAndOrgGUIDReturns

func (fake *FakeSpaceQuotaRepository) FindByNameAndOrgGUIDReturns(result1 models.SpaceQuota, result2 error)

func (*FakeSpaceQuotaRepository) FindByNameArgsForCall

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

func (*FakeSpaceQuotaRepository) FindByNameCallCount

func (fake *FakeSpaceQuotaRepository) FindByNameCallCount() int

func (*FakeSpaceQuotaRepository) FindByNameReturns

func (fake *FakeSpaceQuotaRepository) FindByNameReturns(result1 models.SpaceQuota, result2 error)

func (*FakeSpaceQuotaRepository) FindByOrg

func (fake *FakeSpaceQuotaRepository) FindByOrg(guid string) (quota []models.SpaceQuota, apiErr error)

func (*FakeSpaceQuotaRepository) FindByOrgArgsForCall

func (fake *FakeSpaceQuotaRepository) FindByOrgArgsForCall(i int) string

func (*FakeSpaceQuotaRepository) FindByOrgCallCount

func (fake *FakeSpaceQuotaRepository) FindByOrgCallCount() int

func (*FakeSpaceQuotaRepository) FindByOrgReturns

func (fake *FakeSpaceQuotaRepository) FindByOrgReturns(result1 []models.SpaceQuota, result2 error)

func (*FakeSpaceQuotaRepository) Invocations

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

func (*FakeSpaceQuotaRepository) UnassignQuotaFromSpace

func (fake *FakeSpaceQuotaRepository) UnassignQuotaFromSpace(spaceGUID string, quotaGUID string) error

func (*FakeSpaceQuotaRepository) UnassignQuotaFromSpaceArgsForCall

func (fake *FakeSpaceQuotaRepository) UnassignQuotaFromSpaceArgsForCall(i int) (string, string)

func (*FakeSpaceQuotaRepository) UnassignQuotaFromSpaceCallCount

func (fake *FakeSpaceQuotaRepository) UnassignQuotaFromSpaceCallCount() int

func (*FakeSpaceQuotaRepository) UnassignQuotaFromSpaceReturns

func (fake *FakeSpaceQuotaRepository) UnassignQuotaFromSpaceReturns(result1 error)

func (*FakeSpaceQuotaRepository) Update

func (fake *FakeSpaceQuotaRepository) Update(quota models.SpaceQuota) error

func (*FakeSpaceQuotaRepository) UpdateArgsForCall

func (fake *FakeSpaceQuotaRepository) UpdateArgsForCall(i int) models.SpaceQuota

func (*FakeSpaceQuotaRepository) UpdateCallCount

func (fake *FakeSpaceQuotaRepository) UpdateCallCount() int

func (*FakeSpaceQuotaRepository) UpdateReturns

func (fake *FakeSpaceQuotaRepository) UpdateReturns(result1 error)

Jump to

Keyboard shortcuts

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