Skip to content

Commit 719b436

Browse files
authored
feat(lb): add support for IgnoreSslServerVerify (#1460)
1 parent af2cd76 commit 719b436

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

api/lb/v1/lb_sdk.go

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1045,6 +1045,8 @@ type Backend struct {
10451045
FailoverHost *string `json:"failover_host"`
10461046

10471047
SslBridging *bool `json:"ssl_bridging"`
1048+
1049+
IgnoreSslServerVerify *bool `json:"ignore_ssl_server_verify"`
10481050
}
10491051

10501052
func (m *Backend) UnmarshalJSON(b []byte) error {
@@ -2293,6 +2295,8 @@ type CreateBackendRequest struct {
22932295
FailoverHost *string `json:"failover_host"`
22942296
// SslBridging: enable SSL between load balancer and backend servers
22952297
SslBridging *bool `json:"ssl_bridging"`
2298+
// IgnoreSslServerVerify: set to true to ignore server certificate verification
2299+
IgnoreSslServerVerify *bool `json:"ignore_ssl_server_verify"`
22962300
}
22972301

22982302
func (m *CreateBackendRequest) UnmarshalJSON(b []byte) error {
@@ -2474,6 +2478,8 @@ type UpdateBackendRequest struct {
24742478
FailoverHost *string `json:"failover_host"`
24752479
// SslBridging: enable SSL between load balancer and backend servers
24762480
SslBridging *bool `json:"ssl_bridging"`
2481+
// IgnoreSslServerVerify: set to true to ignore server certificate verification
2482+
IgnoreSslServerVerify *bool `json:"ignore_ssl_server_verify"`
24772483
}
24782484

24792485
func (m *UpdateBackendRequest) UnmarshalJSON(b []byte) error {
@@ -5291,6 +5297,8 @@ type ZonedAPICreateBackendRequest struct {
52915297
FailoverHost *string `json:"failover_host"`
52925298
// SslBridging: enable SSL between load balancer and backend servers
52935299
SslBridging *bool `json:"ssl_bridging"`
5300+
// IgnoreSslServerVerify: set to true to ignore server certificate verification
5301+
IgnoreSslServerVerify *bool `json:"ignore_ssl_server_verify"`
52945302
}
52955303

52965304
func (m *ZonedAPICreateBackendRequest) UnmarshalJSON(b []byte) error {
@@ -5472,6 +5480,8 @@ type ZonedAPIUpdateBackendRequest struct {
54725480
FailoverHost *string `json:"failover_host"`
54735481
// SslBridging: enable SSL between load balancer and backend servers
54745482
SslBridging *bool `json:"ssl_bridging"`
5483+
// IgnoreSslServerVerify: set to true to ignore server certificate verification
5484+
IgnoreSslServerVerify *bool `json:"ignore_ssl_server_verify"`
54755485
}
54765486

54775487
func (m *ZonedAPIUpdateBackendRequest) UnmarshalJSON(b []byte) error {

0 commit comments

Comments
 (0)