lb: https: allow change certificate (#378)

This commit is contained in:
Yousong Zhou
2019-04-13 16:59:09 +08:00
committed by yunion-ci-robot
parent 34ddb8ea4b
commit 4550229a84
+3 -3
View File
@@ -96,9 +96,9 @@ type SLoadbalancerHTTPListener struct {
// - Use certificate for tcp listener
// - Customize ciphers?
type SLoadbalancerHTTPSListener struct {
CertificateId string `width:"36" charset:"ascii" nullable:"false" list:"user" create:"optional"`
TLSCipherPolicy string `width:"36" charset:"ascii" nullable:"false" list:"user" create:"optional"`
EnableHttp2 bool `create:"optional" list:"user"`
CertificateId string `width:"36" charset:"ascii" nullable:"false" list:"user" create:"optional" update:"user"`
TLSCipherPolicy string `width:"36" charset:"ascii" nullable:"false" list:"user" create:"optional" update:"user"`
EnableHttp2 bool `create:"optional" list:"user" update:"user"`
}
type SLoadbalancerListener struct {