add worker ndoes

This commit is contained in:
Ybehrooz
2025-08-26 19:52:27 +03:30
parent d3df2b60f0
commit 821ead675f
5 changed files with 45 additions and 4 deletions

View File

@@ -1,6 +1,8 @@
package models
import "go.mongodb.org/mongo-driver/bson/primitive"
import (
"go.mongodb.org/mongo-driver/bson/primitive"
)
type User struct {
ID string `json:"id,omitempty"`
@@ -99,3 +101,10 @@ type StatefulSet struct {
Ready string `json:Ready`
Age string `json:age`
}
type WorkerNodesPlans struct {
Plan string `json:plan`
Cpu string `json:cpu`
Memory string `json:memory`
Storage string `;sjon:storage`
}