Adding support for configuring subnet proxy (#1460)

Signed-off-by: Lenin Alevski <alevsk.8772@gmail.com>
This commit is contained in:
Lenin Alevski
2022-01-26 11:53:11 -06:00
committed by GitHub
parent e626f59feb
commit c82782fe9f
10 changed files with 122 additions and 19 deletions

View File

@@ -44,6 +44,9 @@ type SubnetLoginMFARequest struct {
// Required: true
Otp *string `json:"otp"`
// proxy
Proxy string `json:"proxy,omitempty"`
// username
// Required: true
Username *string `json:"username"`

View File

@@ -40,6 +40,9 @@ type SubnetLoginRequest struct {
// password
Password string `json:"password,omitempty"`
// proxy
Proxy string `json:"proxy,omitempty"`
// username
Username string `json:"username,omitempty"`
}

View File

@@ -40,6 +40,9 @@ type SubnetRegisterRequest struct {
// Required: true
AccountID *string `json:"account_id"`
// proxy
Proxy string `json:"proxy,omitempty"`
// token
// Required: true
Token *string `json:"token"`