Documentation
¶
Overview ¶
Package resourcequotausage provides Registry interface and it's REST implementation for storing ResourceQuotaUsage api objects.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type REST ¶
type REST struct {
// contains filtered or unexported fields
}
REST implements the RESTStorage interface for ResourceQuotaUsage
func NewREST ¶
func NewREST(registry Registry) *REST
NewREST creates a new REST backed by the given registry.
type Registry ¶
type Registry interface {
// ApplyStatus should update the ResourceQuota.Status with latest observed state.
// This should be atomic, and idempotent based on the ResourceVersion
ApplyStatus(ctx api.Context, usage *api.ResourceQuotaUsage) error
}
Registry contains the functions needed to support a ResourceQuotaUsage
Click to show internal directories.
Click to hide internal directories.