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.