Documentation ¶
Overview ¶
This file was generated by counterfeiter
Index ¶
- type FakeOrganizationRepository
- func (fake *FakeOrganizationRepository) Create(org models.Organization) (apiErr error)
- func (fake *FakeOrganizationRepository) CreateArgsForCall(i int) models.Organization
- func (fake *FakeOrganizationRepository) CreateCallCount() int
- func (fake *FakeOrganizationRepository) CreateReturns(result1 error)
- func (fake *FakeOrganizationRepository) Delete(orgGuid string) (apiErr error)
- func (fake *FakeOrganizationRepository) DeleteArgsForCall(i int) string
- func (fake *FakeOrganizationRepository) DeleteCallCount() int
- func (fake *FakeOrganizationRepository) DeleteReturns(result1 error)
- func (fake *FakeOrganizationRepository) FindByName(name string) (org models.Organization, apiErr error)
- func (fake *FakeOrganizationRepository) FindByNameArgsForCall(i int) string
- func (fake *FakeOrganizationRepository) FindByNameCallCount() int
- func (fake *FakeOrganizationRepository) FindByNameReturns(result1 models.Organization, result2 error)
- func (fake *FakeOrganizationRepository) GetManyOrgsByGuid(orgGuids []string) (orgs []models.Organization, apiErr error)
- func (fake *FakeOrganizationRepository) GetManyOrgsByGuidArgsForCall(i int) []string
- func (fake *FakeOrganizationRepository) GetManyOrgsByGuidCallCount() int
- func (fake *FakeOrganizationRepository) GetManyOrgsByGuidReturns(result1 []models.Organization, result2 error)
- func (fake *FakeOrganizationRepository) ListOrgs(limit int) ([]models.Organization, error)
- func (fake *FakeOrganizationRepository) ListOrgsArgsForCall(i int) int
- func (fake *FakeOrganizationRepository) ListOrgsCallCount() int
- func (fake *FakeOrganizationRepository) ListOrgsReturns(result1 []models.Organization, result2 error)
- func (fake *FakeOrganizationRepository) Rename(orgGuid string, name string) (apiErr error)
- func (fake *FakeOrganizationRepository) RenameArgsForCall(i int) (string, string)
- func (fake *FakeOrganizationRepository) RenameCallCount() int
- func (fake *FakeOrganizationRepository) RenameReturns(result1 error)
- func (fake *FakeOrganizationRepository) SharePrivateDomain(orgGuid string, domainGuid string) (apiErr error)
- func (fake *FakeOrganizationRepository) SharePrivateDomainArgsForCall(i int) (string, string)
- func (fake *FakeOrganizationRepository) SharePrivateDomainCallCount() int
- func (fake *FakeOrganizationRepository) SharePrivateDomainReturns(result1 error)
- func (fake *FakeOrganizationRepository) UnsharePrivateDomain(orgGuid string, domainGuid string) (apiErr error)
- func (fake *FakeOrganizationRepository) UnsharePrivateDomainArgsForCall(i int) (string, string)
- func (fake *FakeOrganizationRepository) UnsharePrivateDomainCallCount() int
- func (fake *FakeOrganizationRepository) UnsharePrivateDomainReturns(result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeOrganizationRepository ¶
type FakeOrganizationRepository struct { ListOrgsStub func(limit int) ([]models.Organization, 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) // 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(limit int) ([]models.Organization, error)
func (*FakeOrganizationRepository) ListOrgsArgsForCall ¶
func (fake *FakeOrganizationRepository) ListOrgsArgsForCall(i int) int
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)
Click to show internal directories.
Click to hide internal directories.