This commit is contained in:
2023-12-18 16:27:15 +03:00
parent cd741b7f11
commit d4065938ac
12 changed files with 685 additions and 1064 deletions

View File

@@ -202,7 +202,7 @@ func (k8s K8S) Create(ctx context.Context, req CreateRequest) (string, error) {
url := "/cloudapi/k8s/create"
res, err := k8s.client.DecortApiCall(ctx, http.MethodPost, url, req)
res, err := k8s.client.DecortApiCallMP(ctx, http.MethodPost, url, req)
if err != nil {
return "", err
}

View File

@@ -2,6 +2,9 @@ package locations
// Main information about locations
type ItemLocation struct {
// AuthBroker
AuthBroker []string `json:"authBroker"`
// Grid ID
GID uint64 `json:"gid"`

View File

@@ -486,6 +486,9 @@ type RecordLoadBalancer struct {
// Access Control List
ACL interface{} `json:"acl"`
// BackendHAIP
BackendHAIP string `json:"backendHAIP"`
// List of Backends
Backends ListBackends `json:"backends"`
@@ -510,6 +513,9 @@ type RecordLoadBalancer struct {
// External network ID
ExtNetID uint64 `json:"extnetId"`
// FrontendHAIP
FrontendHAIP string `json:"frontendHAIP"`
// List of frontends
Frontends ListFrontends `json:"frontends"`