Documentation ¶
Index ¶
- type CloudControllerQuotaRepository
- func (repo CloudControllerQuotaRepository) AssignQuotaToOrg(orgGUID, quotaGUID string) (apiErr error)
- func (repo CloudControllerQuotaRepository) Create(quota models.QuotaFields) error
- func (repo CloudControllerQuotaRepository) Delete(quotaGUID string) (apiErr error)
- func (repo CloudControllerQuotaRepository) FindAll() (quotas []models.QuotaFields, apiErr error)
- func (repo CloudControllerQuotaRepository) FindByName(name string) (quota models.QuotaFields, apiErr error)
- func (repo CloudControllerQuotaRepository) Update(quota models.QuotaFields) error
- type QuotaRepository
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudControllerQuotaRepository ¶
type CloudControllerQuotaRepository struct {
// contains filtered or unexported fields
}
func NewCloudControllerQuotaRepository ¶
func NewCloudControllerQuotaRepository(config coreconfig.Reader, gateway net.Gateway) (repo CloudControllerQuotaRepository)
func (CloudControllerQuotaRepository) AssignQuotaToOrg ¶
func (repo CloudControllerQuotaRepository) AssignQuotaToOrg(orgGUID, quotaGUID string) (apiErr error)
func (CloudControllerQuotaRepository) Create ¶
func (repo CloudControllerQuotaRepository) Create(quota models.QuotaFields) error
func (CloudControllerQuotaRepository) Delete ¶
func (repo CloudControllerQuotaRepository) Delete(quotaGUID string) (apiErr error)
func (CloudControllerQuotaRepository) FindAll ¶
func (repo CloudControllerQuotaRepository) FindAll() (quotas []models.QuotaFields, apiErr error)
func (CloudControllerQuotaRepository) FindByName ¶
func (repo CloudControllerQuotaRepository) FindByName(name string) (quota models.QuotaFields, apiErr error)
func (CloudControllerQuotaRepository) Update ¶
func (repo CloudControllerQuotaRepository) Update(quota models.QuotaFields) error
type QuotaRepository ¶
type QuotaRepository interface { FindAll() (quotas []models.QuotaFields, apiErr error) FindByName(name string) (quota models.QuotaFields, apiErr error) AssignQuotaToOrg(orgGUID, quotaGUID string) error // CRUD ahoy Create(quota models.QuotaFields) error Update(quota models.QuotaFields) 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.