Documentation ¶
Overview ¶
This file was generated by counterfeiter
Index ¶
- type FakeSpaceRepository
- func (fake *FakeSpaceRepository) Create(name string, orgGuid string, spaceQuotaGuid string) (space models.Space, apiErr error)
- func (fake *FakeSpaceRepository) CreateArgsForCall(i int) (string, string, string)
- func (fake *FakeSpaceRepository) CreateCallCount() int
- func (fake *FakeSpaceRepository) CreateReturns(result1 models.Space, result2 error)
- func (fake *FakeSpaceRepository) Delete(spaceGuid string) (apiErr error)
- func (fake *FakeSpaceRepository) DeleteArgsForCall(i int) string
- func (fake *FakeSpaceRepository) DeleteCallCount() int
- func (fake *FakeSpaceRepository) DeleteReturns(result1 error)
- func (fake *FakeSpaceRepository) FindByName(name string) (space models.Space, apiErr error)
- func (fake *FakeSpaceRepository) FindByNameArgsForCall(i int) string
- func (fake *FakeSpaceRepository) FindByNameCallCount() int
- func (fake *FakeSpaceRepository) FindByNameInOrg(name string, orgGuid string) (space models.Space, apiErr error)
- func (fake *FakeSpaceRepository) FindByNameInOrgArgsForCall(i int) (string, string)
- func (fake *FakeSpaceRepository) FindByNameInOrgCallCount() int
- func (fake *FakeSpaceRepository) FindByNameInOrgReturns(result1 models.Space, result2 error)
- func (fake *FakeSpaceRepository) FindByNameReturns(result1 models.Space, result2 error)
- func (fake *FakeSpaceRepository) ListSpaces(arg1 func(models.Space) bool) error
- func (fake *FakeSpaceRepository) ListSpacesArgsForCall(i int) func(models.Space) bool
- func (fake *FakeSpaceRepository) ListSpacesCallCount() int
- func (fake *FakeSpaceRepository) ListSpacesReturns(result1 error)
- func (fake *FakeSpaceRepository) Rename(spaceGuid string, newName string) (apiErr error)
- func (fake *FakeSpaceRepository) RenameArgsForCall(i int) (string, string)
- func (fake *FakeSpaceRepository) RenameCallCount() int
- func (fake *FakeSpaceRepository) RenameReturns(result1 error)
- func (fake *FakeSpaceRepository) SetAllowSSH(spaceGuid string, allow bool) (apiErr error)
- func (fake *FakeSpaceRepository) SetAllowSSHArgsForCall(i int) (string, bool)
- func (fake *FakeSpaceRepository) SetAllowSSHCallCount() int
- func (fake *FakeSpaceRepository) SetAllowSSHReturns(result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeSpaceRepository ¶
type FakeSpaceRepository struct { ListSpacesStub func(func(models.Space) bool) error FindByNameStub func(name string) (space models.Space, apiErr error) FindByNameInOrgStub func(name, orgGuid string) (space models.Space, apiErr error) CreateStub func(name string, orgGuid string, spaceQuotaGuid string) (space models.Space, apiErr error) RenameStub func(spaceGuid, newName string) (apiErr error) SetAllowSSHStub func(spaceGuid string, allow bool) (apiErr error) DeleteStub func(spaceGuid string) (apiErr error) // contains filtered or unexported fields }
func (*FakeSpaceRepository) CreateArgsForCall ¶
func (fake *FakeSpaceRepository) CreateArgsForCall(i int) (string, string, string)
func (*FakeSpaceRepository) CreateCallCount ¶
func (fake *FakeSpaceRepository) CreateCallCount() int
func (*FakeSpaceRepository) CreateReturns ¶
func (fake *FakeSpaceRepository) CreateReturns(result1 models.Space, result2 error)
func (*FakeSpaceRepository) Delete ¶
func (fake *FakeSpaceRepository) Delete(spaceGuid string) (apiErr error)
func (*FakeSpaceRepository) DeleteArgsForCall ¶
func (fake *FakeSpaceRepository) DeleteArgsForCall(i int) string
func (*FakeSpaceRepository) DeleteCallCount ¶
func (fake *FakeSpaceRepository) DeleteCallCount() int
func (*FakeSpaceRepository) DeleteReturns ¶
func (fake *FakeSpaceRepository) DeleteReturns(result1 error)
func (*FakeSpaceRepository) FindByName ¶
func (fake *FakeSpaceRepository) FindByName(name string) (space models.Space, apiErr error)
func (*FakeSpaceRepository) FindByNameArgsForCall ¶
func (fake *FakeSpaceRepository) FindByNameArgsForCall(i int) string
func (*FakeSpaceRepository) FindByNameCallCount ¶
func (fake *FakeSpaceRepository) FindByNameCallCount() int
func (*FakeSpaceRepository) FindByNameInOrg ¶
func (*FakeSpaceRepository) FindByNameInOrgArgsForCall ¶
func (fake *FakeSpaceRepository) FindByNameInOrgArgsForCall(i int) (string, string)
func (*FakeSpaceRepository) FindByNameInOrgCallCount ¶
func (fake *FakeSpaceRepository) FindByNameInOrgCallCount() int
func (*FakeSpaceRepository) FindByNameInOrgReturns ¶
func (fake *FakeSpaceRepository) FindByNameInOrgReturns(result1 models.Space, result2 error)
func (*FakeSpaceRepository) FindByNameReturns ¶
func (fake *FakeSpaceRepository) FindByNameReturns(result1 models.Space, result2 error)
func (*FakeSpaceRepository) ListSpaces ¶
func (fake *FakeSpaceRepository) ListSpaces(arg1 func(models.Space) bool) error
func (*FakeSpaceRepository) ListSpacesArgsForCall ¶
func (fake *FakeSpaceRepository) ListSpacesArgsForCall(i int) func(models.Space) bool
func (*FakeSpaceRepository) ListSpacesCallCount ¶
func (fake *FakeSpaceRepository) ListSpacesCallCount() int
func (*FakeSpaceRepository) ListSpacesReturns ¶
func (fake *FakeSpaceRepository) ListSpacesReturns(result1 error)
func (*FakeSpaceRepository) Rename ¶
func (fake *FakeSpaceRepository) Rename(spaceGuid string, newName string) (apiErr error)
func (*FakeSpaceRepository) RenameArgsForCall ¶
func (fake *FakeSpaceRepository) RenameArgsForCall(i int) (string, string)
func (*FakeSpaceRepository) RenameCallCount ¶
func (fake *FakeSpaceRepository) RenameCallCount() int
func (*FakeSpaceRepository) RenameReturns ¶
func (fake *FakeSpaceRepository) RenameReturns(result1 error)
func (*FakeSpaceRepository) SetAllowSSH ¶
func (fake *FakeSpaceRepository) SetAllowSSH(spaceGuid string, allow bool) (apiErr error)
func (*FakeSpaceRepository) SetAllowSSHArgsForCall ¶
func (fake *FakeSpaceRepository) SetAllowSSHArgsForCall(i int) (string, bool)
func (*FakeSpaceRepository) SetAllowSSHCallCount ¶
func (fake *FakeSpaceRepository) SetAllowSSHCallCount() int
func (*FakeSpaceRepository) SetAllowSSHReturns ¶
func (fake *FakeSpaceRepository) SetAllowSSHReturns(result1 error)
Click to show internal directories.
Click to hide internal directories.