Documentation ¶
Index ¶
- type CloudControllerSpaceQuotaRepository
- func (repo CloudControllerSpaceQuotaRepository) AssociateSpaceWithQuota(spaceGUID string, quotaGUID string) error
- func (repo CloudControllerSpaceQuotaRepository) Create(quota models.SpaceQuota) error
- func (repo CloudControllerSpaceQuotaRepository) Delete(quotaGUID string) (apiErr error)
- func (repo CloudControllerSpaceQuotaRepository) FindByGUID(guid string) (quota models.SpaceQuota, apiErr error)
- func (repo CloudControllerSpaceQuotaRepository) FindByName(name string) (quota models.SpaceQuota, apiErr error)
- func (repo CloudControllerSpaceQuotaRepository) FindByNameAndOrgGUID(spaceQuotaName string, orgGUID string) (models.SpaceQuota, error)
- func (repo CloudControllerSpaceQuotaRepository) FindByOrg(guid string) ([]models.SpaceQuota, error)
- func (repo CloudControllerSpaceQuotaRepository) UnassignQuotaFromSpace(spaceGUID string, quotaGUID string) error
- func (repo CloudControllerSpaceQuotaRepository) Update(quota models.SpaceQuota) error
- type SpaceQuotaRepository
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudControllerSpaceQuotaRepository ¶
type CloudControllerSpaceQuotaRepository struct {
// contains filtered or unexported fields
}
func NewCloudControllerSpaceQuotaRepository ¶
func NewCloudControllerSpaceQuotaRepository(config coreconfig.Reader, gateway net.Gateway) (repo CloudControllerSpaceQuotaRepository)
func (CloudControllerSpaceQuotaRepository) AssociateSpaceWithQuota ¶
func (repo CloudControllerSpaceQuotaRepository) AssociateSpaceWithQuota(spaceGUID string, quotaGUID string) error
func (CloudControllerSpaceQuotaRepository) Create ¶
func (repo CloudControllerSpaceQuotaRepository) Create(quota models.SpaceQuota) error
func (CloudControllerSpaceQuotaRepository) Delete ¶
func (repo CloudControllerSpaceQuotaRepository) Delete(quotaGUID string) (apiErr error)
func (CloudControllerSpaceQuotaRepository) FindByGUID ¶
func (repo CloudControllerSpaceQuotaRepository) FindByGUID(guid string) (quota models.SpaceQuota, apiErr error)
func (CloudControllerSpaceQuotaRepository) FindByName ¶
func (repo CloudControllerSpaceQuotaRepository) FindByName(name string) (quota models.SpaceQuota, apiErr error)
func (CloudControllerSpaceQuotaRepository) FindByNameAndOrgGUID ¶
func (repo CloudControllerSpaceQuotaRepository) FindByNameAndOrgGUID(spaceQuotaName string, orgGUID string) (models.SpaceQuota, error)
func (CloudControllerSpaceQuotaRepository) FindByOrg ¶
func (repo CloudControllerSpaceQuotaRepository) FindByOrg(guid string) ([]models.SpaceQuota, error)
func (CloudControllerSpaceQuotaRepository) UnassignQuotaFromSpace ¶
func (repo CloudControllerSpaceQuotaRepository) UnassignQuotaFromSpace(spaceGUID string, quotaGUID string) error
func (CloudControllerSpaceQuotaRepository) Update ¶
func (repo CloudControllerSpaceQuotaRepository) Update(quota models.SpaceQuota) error
type SpaceQuotaRepository ¶
type SpaceQuotaRepository interface { FindByName(name string) (quota models.SpaceQuota, apiErr error) FindByOrg(guid string) (quota []models.SpaceQuota, apiErr error) FindByGUID(guid string) (quota models.SpaceQuota, apiErr error) FindByNameAndOrgGUID(spaceQuotaName string, orgGUID string) (quota models.SpaceQuota, apiErr error) AssociateSpaceWithQuota(spaceGUID string, quotaGUID string) error UnassignQuotaFromSpace(spaceGUID string, quotaGUID string) error // CRUD ahoy Create(quota models.SpaceQuota) error Update(quota models.SpaceQuota) error Delete(quotaGUID string) error }
Directories ¶
Path | Synopsis |
---|---|
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
Click to show internal directories.
Click to hide internal directories.