This commit is contained in:
2024-01-22 14:08:06 +03:00
parent f111787976
commit cf11855fa3
9 changed files with 18 additions and 18 deletions

View File

@@ -38,8 +38,8 @@ type AffinityRuleAddRequest struct {
Key string `url:"key" json:"key" validate:"required"`
// Value that must match the key to be taken into account when analyzing this rule
// Required: true
Value string `url:"value" json:"value" validate:"required"`
// Required: false
Value string `url:"value" json:"value"`
}
// AffinityRuleAdd add affinity rule

View File

@@ -38,8 +38,8 @@ type AffinityRuleRemoveRequest struct {
Key string `url:"key" json:"key" validate:"required"`
// Value that must match the key to be taken into account when analyzing this rule
// Required: true
Value string `url:"value" json:"value" validate:"required"`
// Required: false
Value string `url:"value" json:"value"`
}
// AffinityRuleRemove remove affinity rule

View File

@@ -38,8 +38,8 @@ type AntiAffinityRuleAddRequest struct {
Key string `url:"key" json:"key" validate:"required"`
// Value that must match the key to be taken into account when analyzing this rule
// Required: true
Value string `url:"value" json:"value" validate:"required"`
// Required: false
Value string `url:"value" json:"value"`
}
// AntiAffinityRuleAdd add anti affinity rule

View File

@@ -38,8 +38,8 @@ type AntiAffinityRuleRemoveRequest struct {
Key string `url:"key" json:"key" validate:"required"`
// Value that must match the key to be taken into account when analyzing this rule
// Required: true
Value string `url:"value" json:"value" validate:"required"`
// Required: false
Value string `url:"value" json:"value"`
}
// AntiAffinityRuleRemove remove anti affinity rule