Skip to content

Commit

Permalink
feat(webhosting): add addon domain quota warning (scaleway#2265)
Browse files Browse the repository at this point in the history
  • Loading branch information
scaleway-bot authored Oct 18, 2024
1 parent f4d9ed3 commit f21f9b3
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions api/webhosting/v1alpha1/webhosting_sdk.go
Original file line number Diff line number Diff line change
Expand Up @@ -365,10 +365,11 @@ func (enum *NameserverStatus) UnmarshalJSON(data []byte) error {
type OfferQuotaWarning string

const (
OfferQuotaWarningUnknownQuotaWarning = OfferQuotaWarning("unknown_quota_warning")
OfferQuotaWarningEmailCountExceeded = OfferQuotaWarning("email_count_exceeded")
OfferQuotaWarningDatabaseCountExceeded = OfferQuotaWarning("database_count_exceeded")
OfferQuotaWarningDiskUsageExceeded = OfferQuotaWarning("disk_usage_exceeded")
OfferQuotaWarningUnknownQuotaWarning = OfferQuotaWarning("unknown_quota_warning")
OfferQuotaWarningEmailCountExceeded = OfferQuotaWarning("email_count_exceeded")
OfferQuotaWarningDatabaseCountExceeded = OfferQuotaWarning("database_count_exceeded")
OfferQuotaWarningDiskUsageExceeded = OfferQuotaWarning("disk_usage_exceeded")
OfferQuotaWarningAddonDomainCountExceeded = OfferQuotaWarning("addon_domain_count_exceeded")
)

func (enum OfferQuotaWarning) String() string {
Expand All @@ -385,6 +386,7 @@ func (enum OfferQuotaWarning) Values() []OfferQuotaWarning {
"email_count_exceeded",
"database_count_exceeded",
"disk_usage_exceeded",
"addon_domain_count_exceeded",
}
}

Expand Down

0 comments on commit f21f9b3

Please sign in to comment.