implemented oclib and generates argo yaml

This commit is contained in:
pb
2024-08-02 13:34:39 +02:00
parent 9ecea6dece
commit aaac37a883
14 changed files with 955 additions and 0 deletions

19
models/volume_models.go Normal file
View File

@@ -0,0 +1,19 @@
package models
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"`
}