This commit is contained in:
stSolo
2023-03-01 19:05:53 +03:00
parent de12bc2acc
commit 42800ac4fe
573 changed files with 2077 additions and 1844 deletions

View File

@@ -11,17 +11,17 @@ import (
type FrontendCreateRequest struct {
// ID of the load balancer instance to FrontendCreate
// Required: true
LBID uint64 `url:"lbId"`
LBID uint64 `url:"lbId" json:"lbId"`
// Must be unique among all frontends of
// this load balancer - name of the new frontend to create
// Required: true
FrontendName string `url:"frontendName"`
FrontendName string `url:"frontendName" json:"frontendName"`
// Should be one of the backends existing on
// this load balancer - name of the backend to use
// Required: true
BackendName string `url:"backendName"`
BackendName string `url:"backendName" json:"backendName"`
}
func (lbrq FrontendCreateRequest) validate() error {