feat: adding terraform readme generator

This commit is contained in:
allanice001
2025-11-05 23:00:45 +00:00
parent b09c3179c7
commit ea26b8526c
7 changed files with 483 additions and 3 deletions

View File

@@ -13,6 +13,7 @@ type Taint struct {
Key string `gorm:"not null" json:"key"`
Value string `gorm:"not null" json:"value"`
Effect string `gorm:"not null" json:"effect"`
NodePools []NodePool `gorm:"many2many:node_taints;constraint:OnDelete:CASCADE" json:"servers,omitempty"`
CreatedAt time.Time `gorm:"column:created_at;not null;default:now()" json:"created_at" format:"date-time"`
UpdatedAt time.Time `gorm:"autoUpdateTime;column:updated_at;not null;default:now()" json:"updated_at" format:"date-time"`
}