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) Invocations() map[string][][]interface{}
- 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) ListSpacesFromOrg(orgGUID string, spaceFunc func(models.Space) bool) error
- func (fake *FakeSpaceRepository) ListSpacesFromOrgArgsForCall(i int) (string, func(models.Space) bool)
- func (fake *FakeSpaceRepository) ListSpacesFromOrgCallCount() int
- func (fake *FakeSpaceRepository) ListSpacesFromOrgReturns(result1 error)
- 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 ListSpacesFromOrgStub func(orgGUID string, spaceFunc 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) Invocations ¶
func (fake *FakeSpaceRepository) Invocations() map[string][][]interface{}
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) ListSpacesFromOrg ¶
func (*FakeSpaceRepository) ListSpacesFromOrgArgsForCall ¶
func (*FakeSpaceRepository) ListSpacesFromOrgCallCount ¶
func (fake *FakeSpaceRepository) ListSpacesFromOrgCallCount() int
func (*FakeSpaceRepository) ListSpacesFromOrgReturns ¶
func (fake *FakeSpaceRepository) ListSpacesFromOrgReturns(result1 error)
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.