2024-07-05 15:28:24 +02:00
|
|
|
package models
|
2024-07-05 14:45:08 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
type VolumeClaimTemplate struct {
|
|
|
|
Metadata struct {
|
|
|
|
Name string `yaml:"name"`
|
|
|
|
} `yaml:"metadata"`
|
|
|
|
Spec VolumeSpec `yaml:"spec"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type VolumeSpec struct {
|
|
|
|
AccessModes []string `yaml:"accessModes,flow"`
|
|
|
|
Resources struct {
|
|
|
|
Requests struct {
|
|
|
|
Storage string `yaml:"storage"`
|
|
|
|
} `yaml:"requests"`
|
|
|
|
} `yaml:"resources"`
|
|
|
|
}
|