节点自动升级功能之前的版本

This commit is contained in:
robin
2026-03-02 23:42:55 +08:00
parent 2a76d1773d
commit 853897a6f8
29 changed files with 1063 additions and 81 deletions

View File

@@ -33,6 +33,8 @@ type CreateHTTPDNSClusterRequest struct {
TlsPolicyJSON []byte `protobuf:"bytes,6,opt,name=tlsPolicyJSON,proto3" json:"tlsPolicyJSON,omitempty"`
IsOn bool `protobuf:"varint,7,opt,name=isOn,proto3" json:"isOn,omitempty"`
IsDefault bool `protobuf:"varint,8,opt,name=isDefault,proto3" json:"isDefault,omitempty"`
AutoRemoteStart bool `protobuf:"varint,9,opt,name=autoRemoteStart,proto3" json:"autoRemoteStart,omitempty"`
AccessLogIsOn bool `protobuf:"varint,10,opt,name=accessLogIsOn,proto3" json:"accessLogIsOn,omitempty"`
}
func (x *CreateHTTPDNSClusterRequest) Reset() {
@@ -121,6 +123,20 @@ func (x *CreateHTTPDNSClusterRequest) GetIsDefault() bool {
return false
}
func (x *CreateHTTPDNSClusterRequest) GetAutoRemoteStart() bool {
if x != nil {
return x.AutoRemoteStart
}
return false
}
func (x *CreateHTTPDNSClusterRequest) GetAccessLogIsOn() bool {
if x != nil {
return x.AccessLogIsOn
}
return false
}
type CreateHTTPDNSClusterResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -180,6 +196,8 @@ type UpdateHTTPDNSClusterRequest struct {
TlsPolicyJSON []byte `protobuf:"bytes,7,opt,name=tlsPolicyJSON,proto3" json:"tlsPolicyJSON,omitempty"`
IsOn bool `protobuf:"varint,8,opt,name=isOn,proto3" json:"isOn,omitempty"`
IsDefault bool `protobuf:"varint,9,opt,name=isDefault,proto3" json:"isDefault,omitempty"`
AutoRemoteStart bool `protobuf:"varint,10,opt,name=autoRemoteStart,proto3" json:"autoRemoteStart,omitempty"`
AccessLogIsOn bool `protobuf:"varint,11,opt,name=accessLogIsOn,proto3" json:"accessLogIsOn,omitempty"`
}
func (x *UpdateHTTPDNSClusterRequest) Reset() {
@@ -275,6 +293,20 @@ func (x *UpdateHTTPDNSClusterRequest) GetIsDefault() bool {
return false
}
func (x *UpdateHTTPDNSClusterRequest) GetAutoRemoteStart() bool {
if x != nil {
return x.AutoRemoteStart
}
return false
}
func (x *UpdateHTTPDNSClusterRequest) GetAccessLogIsOn() bool {
if x != nil {
return x.AccessLogIsOn
}
return false
}
type DeleteHTTPDNSClusterRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache