mirror of
https://github.com/projectcapsule/capsule.git
synced 2026-02-14 09:59:57 +00:00
* fix(controller): decode old object for delete requests Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> * chore: modernize golang Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> * chore: modernize golang Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> * chore: modernize golang Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com> --------- Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com>
19 lines
435 B
Go
19 lines
435 B
Go
// Copyright 2020-2025 Project Capsule Authors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package api
|
|
|
|
import (
|
|
"k8s.io/apimachinery/pkg/api/resource"
|
|
)
|
|
|
|
// +kubebuilder:object:generate=true
|
|
type PoolExhaustionResource struct {
|
|
// Available Resources to be claimed
|
|
// +optional
|
|
Available resource.Quantity `json:"available,omitzero"`
|
|
// Requesting Resources
|
|
// +optional
|
|
Requesting resource.Quantity `json:"requesting,omitzero"`
|
|
}
|