Versions in this module Expand all Collapse all v1 v1.1.0 Aug 14, 2015 Changes in this version + type CloudControllerSpaceRepository struct + func NewCloudControllerSpaceRepository(config core_config.Reader, gateway net.Gateway) (repo CloudControllerSpaceRepository) + func (repo CloudControllerSpaceRepository) Create(name, orgGuid, spaceQuotaGuid string) (space models.Space, apiErr error) + func (repo CloudControllerSpaceRepository) Delete(spaceGuid string) (apiErr error) + func (repo CloudControllerSpaceRepository) FindByName(name string) (space models.Space, apiErr error) + func (repo CloudControllerSpaceRepository) FindByNameInOrg(name, orgGuid string) (space models.Space, apiErr error) + func (repo CloudControllerSpaceRepository) ListSpaces(callback func(models.Space) bool) error + func (repo CloudControllerSpaceRepository) Rename(spaceGuid, newName string) (apiErr error) + type SpaceRepository interface + Create func(name string, orgGuid string, spaceQuotaGuid string) (space models.Space, apiErr error) + Delete func(spaceGuid string) (apiErr error) + FindByName func(name string) (space models.Space, apiErr error) + FindByNameInOrg func(name, orgGuid string) (space models.Space, apiErr error) + ListSpaces func(func(models.Space) bool) error + Rename func(spaceGuid, newName string) (apiErr error)