organizationsfakes

package
v6.22.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 24, 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 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)

	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) Invocations

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

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)

Jump to

Keyboard shortcuts

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