fakes

package
v6.12.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 15, 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 FakeOrganizationRepository

type FakeOrganizationRepository struct {
	ListOrgsStub func() (orgs []models.Organization, apiErr error)

	GetManyOrgsByGuidStub func(orgGuids []string) (orgs []models.Organization, apiErr error)

	FindByNameStub func(name string) (org models.Organization, apiErr error)

	CreateStub func(org models.Organization) (apiErr error)

	RenameStub func(orgGuid string, name string) (apiErr error)

	DeleteStub func(orgGuid string) (apiErr error)

	SharePrivateDomainStub func(orgGuid string, domainGuid string) (apiErr error)

	UnsharePrivateDomainStub func(orgGuid string, domainGuid string) (apiErr error)
	// contains filtered or unexported fields
}

func (*FakeOrganizationRepository) Create

func (fake *FakeOrganizationRepository) Create(org models.Organization) (apiErr error)

func (*FakeOrganizationRepository) CreateArgsForCall

func (fake *FakeOrganizationRepository) CreateArgsForCall(i int) models.Organization

func (*FakeOrganizationRepository) CreateCallCount

func (fake *FakeOrganizationRepository) CreateCallCount() int

func (*FakeOrganizationRepository) CreateReturns

func (fake *FakeOrganizationRepository) CreateReturns(result1 error)

func (*FakeOrganizationRepository) Delete

func (fake *FakeOrganizationRepository) Delete(orgGuid string) (apiErr error)

func (*FakeOrganizationRepository) DeleteArgsForCall

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

func (*FakeOrganizationRepository) DeleteCallCount

func (fake *FakeOrganizationRepository) DeleteCallCount() int

func (*FakeOrganizationRepository) DeleteReturns

func (fake *FakeOrganizationRepository) DeleteReturns(result1 error)

func (*FakeOrganizationRepository) FindByName

func (fake *FakeOrganizationRepository) FindByName(name string) (org models.Organization, apiErr error)

func (*FakeOrganizationRepository) FindByNameArgsForCall

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

func (*FakeOrganizationRepository) FindByNameCallCount

func (fake *FakeOrganizationRepository) FindByNameCallCount() int

func (*FakeOrganizationRepository) FindByNameReturns

func (fake *FakeOrganizationRepository) FindByNameReturns(result1 models.Organization, result2 error)

func (*FakeOrganizationRepository) GetManyOrgsByGuid

func (fake *FakeOrganizationRepository) GetManyOrgsByGuid(orgGuids []string) (orgs []models.Organization, apiErr error)

func (*FakeOrganizationRepository) GetManyOrgsByGuidArgsForCall

func (fake *FakeOrganizationRepository) GetManyOrgsByGuidArgsForCall(i int) []string

func (*FakeOrganizationRepository) GetManyOrgsByGuidCallCount

func (fake *FakeOrganizationRepository) GetManyOrgsByGuidCallCount() int

func (*FakeOrganizationRepository) GetManyOrgsByGuidReturns

func (fake *FakeOrganizationRepository) GetManyOrgsByGuidReturns(result1 []models.Organization, result2 error)

func (*FakeOrganizationRepository) ListOrgs

func (fake *FakeOrganizationRepository) ListOrgs() (orgs []models.Organization, apiErr error)

func (*FakeOrganizationRepository) ListOrgsCallCount

func (fake *FakeOrganizationRepository) ListOrgsCallCount() int

func (*FakeOrganizationRepository) ListOrgsReturns

func (fake *FakeOrganizationRepository) ListOrgsReturns(result1 []models.Organization, result2 error)

func (*FakeOrganizationRepository) Rename

func (fake *FakeOrganizationRepository) Rename(orgGuid string, name string) (apiErr error)

func (*FakeOrganizationRepository) RenameArgsForCall

func (fake *FakeOrganizationRepository) RenameArgsForCall(i int) (string, string)

func (*FakeOrganizationRepository) RenameCallCount

func (fake *FakeOrganizationRepository) RenameCallCount() int

func (*FakeOrganizationRepository) RenameReturns

func (fake *FakeOrganizationRepository) RenameReturns(result1 error)

func (*FakeOrganizationRepository) SharePrivateDomain

func (fake *FakeOrganizationRepository) SharePrivateDomain(orgGuid string, domainGuid string) (apiErr error)

func (*FakeOrganizationRepository) SharePrivateDomainArgsForCall

func (fake *FakeOrganizationRepository) SharePrivateDomainArgsForCall(i int) (string, string)

func (*FakeOrganizationRepository) SharePrivateDomainCallCount

func (fake *FakeOrganizationRepository) SharePrivateDomainCallCount() int

func (*FakeOrganizationRepository) SharePrivateDomainReturns

func (fake *FakeOrganizationRepository) SharePrivateDomainReturns(result1 error)

func (*FakeOrganizationRepository) UnsharePrivateDomain

func (fake *FakeOrganizationRepository) UnsharePrivateDomain(orgGuid string, domainGuid string) (apiErr error)

func (*FakeOrganizationRepository) UnsharePrivateDomainArgsForCall

func (fake *FakeOrganizationRepository) UnsharePrivateDomainArgsForCall(i int) (string, string)

func (*FakeOrganizationRepository) UnsharePrivateDomainCallCount

func (fake *FakeOrganizationRepository) UnsharePrivateDomainCallCount() int

func (*FakeOrganizationRepository) UnsharePrivateDomainReturns

func (fake *FakeOrganizationRepository) UnsharePrivateDomainReturns(result1 error)

Jump to

Keyboard shortcuts

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