organizationsfakes

package
v6.46.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2019 License: Apache-2.0 Imports: 3 Imported by: 1

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 FakeOrganizationRepository

type FakeOrganizationRepository struct {
	CreateStub func(models.Organization) error

	DeleteStub func(string) error

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

	GetManyOrgsByGUIDStub func([]string) ([]models.Organization, error)

	ListOrgsStub func(int) ([]models.Organization, error)

	RenameStub func(string, string) error

	SharePrivateDomainStub func(string, string) error

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

func (*FakeOrganizationRepository) Create

func (*FakeOrganizationRepository) CreateArgsForCall

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

func (*FakeOrganizationRepository) CreateCallCount

func (fake *FakeOrganizationRepository) CreateCallCount() int

func (*FakeOrganizationRepository) CreateCalls

func (fake *FakeOrganizationRepository) CreateCalls(stub func(models.Organization) error)

func (*FakeOrganizationRepository) CreateReturns

func (fake *FakeOrganizationRepository) CreateReturns(result1 error)

func (*FakeOrganizationRepository) CreateReturnsOnCall

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

func (*FakeOrganizationRepository) Delete

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

func (*FakeOrganizationRepository) DeleteArgsForCall

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

func (*FakeOrganizationRepository) DeleteCallCount

func (fake *FakeOrganizationRepository) DeleteCallCount() int

func (*FakeOrganizationRepository) DeleteCalls

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

func (*FakeOrganizationRepository) DeleteReturns

func (fake *FakeOrganizationRepository) DeleteReturns(result1 error)

func (*FakeOrganizationRepository) DeleteReturnsOnCall

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

func (*FakeOrganizationRepository) FindByName

func (fake *FakeOrganizationRepository) FindByName(arg1 string) (models.Organization, error)

func (*FakeOrganizationRepository) FindByNameArgsForCall

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

func (*FakeOrganizationRepository) FindByNameCallCount

func (fake *FakeOrganizationRepository) FindByNameCallCount() int

func (*FakeOrganizationRepository) FindByNameCalls

func (fake *FakeOrganizationRepository) FindByNameCalls(stub func(string) (models.Organization, error))

func (*FakeOrganizationRepository) FindByNameReturns

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

func (*FakeOrganizationRepository) FindByNameReturnsOnCall

func (fake *FakeOrganizationRepository) FindByNameReturnsOnCall(i int, result1 models.Organization, result2 error)

func (*FakeOrganizationRepository) GetManyOrgsByGUID

func (fake *FakeOrganizationRepository) GetManyOrgsByGUID(arg1 []string) ([]models.Organization, error)

func (*FakeOrganizationRepository) GetManyOrgsByGUIDArgsForCall

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

func (*FakeOrganizationRepository) GetManyOrgsByGUIDCallCount

func (fake *FakeOrganizationRepository) GetManyOrgsByGUIDCallCount() int

func (*FakeOrganizationRepository) GetManyOrgsByGUIDCalls

func (fake *FakeOrganizationRepository) GetManyOrgsByGUIDCalls(stub func([]string) ([]models.Organization, error))

func (*FakeOrganizationRepository) GetManyOrgsByGUIDReturns

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

func (*FakeOrganizationRepository) GetManyOrgsByGUIDReturnsOnCall

func (fake *FakeOrganizationRepository) GetManyOrgsByGUIDReturnsOnCall(i int, result1 []models.Organization, result2 error)

func (*FakeOrganizationRepository) Invocations

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

func (*FakeOrganizationRepository) ListOrgs

func (fake *FakeOrganizationRepository) ListOrgs(arg1 int) ([]models.Organization, error)

func (*FakeOrganizationRepository) ListOrgsArgsForCall

func (fake *FakeOrganizationRepository) ListOrgsArgsForCall(i int) int

func (*FakeOrganizationRepository) ListOrgsCallCount

func (fake *FakeOrganizationRepository) ListOrgsCallCount() int

func (*FakeOrganizationRepository) ListOrgsCalls

func (fake *FakeOrganizationRepository) ListOrgsCalls(stub func(int) ([]models.Organization, error))

func (*FakeOrganizationRepository) ListOrgsReturns

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

func (*FakeOrganizationRepository) ListOrgsReturnsOnCall

func (fake *FakeOrganizationRepository) ListOrgsReturnsOnCall(i int, result1 []models.Organization, result2 error)

func (*FakeOrganizationRepository) Rename

func (fake *FakeOrganizationRepository) Rename(arg1 string, arg2 string) error

func (*FakeOrganizationRepository) RenameArgsForCall

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

func (*FakeOrganizationRepository) RenameCallCount

func (fake *FakeOrganizationRepository) RenameCallCount() int

func (*FakeOrganizationRepository) RenameCalls

func (fake *FakeOrganizationRepository) RenameCalls(stub func(string, string) error)

func (*FakeOrganizationRepository) RenameReturns

func (fake *FakeOrganizationRepository) RenameReturns(result1 error)

func (*FakeOrganizationRepository) RenameReturnsOnCall

func (fake *FakeOrganizationRepository) RenameReturnsOnCall(i int, result1 error)

func (*FakeOrganizationRepository) SharePrivateDomain

func (fake *FakeOrganizationRepository) SharePrivateDomain(arg1 string, arg2 string) error

func (*FakeOrganizationRepository) SharePrivateDomainArgsForCall

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

func (*FakeOrganizationRepository) SharePrivateDomainCallCount

func (fake *FakeOrganizationRepository) SharePrivateDomainCallCount() int

func (*FakeOrganizationRepository) SharePrivateDomainCalls

func (fake *FakeOrganizationRepository) SharePrivateDomainCalls(stub func(string, string) error)

func (*FakeOrganizationRepository) SharePrivateDomainReturns

func (fake *FakeOrganizationRepository) SharePrivateDomainReturns(result1 error)

func (*FakeOrganizationRepository) SharePrivateDomainReturnsOnCall

func (fake *FakeOrganizationRepository) SharePrivateDomainReturnsOnCall(i int, result1 error)

func (*FakeOrganizationRepository) UnsharePrivateDomain

func (fake *FakeOrganizationRepository) UnsharePrivateDomain(arg1 string, arg2 string) error

func (*FakeOrganizationRepository) UnsharePrivateDomainArgsForCall

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

func (*FakeOrganizationRepository) UnsharePrivateDomainCallCount

func (fake *FakeOrganizationRepository) UnsharePrivateDomainCallCount() int

func (*FakeOrganizationRepository) UnsharePrivateDomainCalls

func (fake *FakeOrganizationRepository) UnsharePrivateDomainCalls(stub func(string, string) error)

func (*FakeOrganizationRepository) UnsharePrivateDomainReturns

func (fake *FakeOrganizationRepository) UnsharePrivateDomainReturns(result1 error)

func (*FakeOrganizationRepository) UnsharePrivateDomainReturnsOnCall

func (fake *FakeOrganizationRepository) UnsharePrivateDomainReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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