v1.5.1 增强程序稳定性
This commit is contained in:
106
EdgeCommon/build/check-proto-sync.sh
Normal file
106
EdgeCommon/build/check-proto-sync.sh
Normal file
@@ -0,0 +1,106 @@
|
||||
#!/usr/bin/env bash
|
||||
#
|
||||
# check-proto-sync.sh — 检查 .proto 和 .pb.go 的 rawDesc 是否一致
|
||||
#
|
||||
# 工作原理:从 .proto 文件提取字段数量,从 .pb.go 的 Go struct 提取字段数量,
|
||||
# 如果 struct 的字段比 proto 的字段多(说明手动添加了字段没有重新生成),则报错。
|
||||
#
|
||||
# 用法:
|
||||
# ./check-proto-sync.sh # 检查所有 proto 文件
|
||||
# ./check-proto-sync.sh --fix # 如果有 protoc,自动重新生成
|
||||
|
||||
set -e
|
||||
|
||||
ROOT=$(dirname "$0")/..
|
||||
PROTO_DIR="$ROOT/pkg/rpc/protos"
|
||||
PB_DIR="$ROOT/pkg/rpc/pb"
|
||||
ERRORS=0
|
||||
|
||||
echo "Checking proto <-> pb.go sync ..."
|
||||
|
||||
# 对每个 .proto 文件,检查 message 中的字段数量是否和 .pb.go 一致
|
||||
for proto_file in "$PROTO_DIR"/*.proto "$PROTO_DIR"/models/*.proto; do
|
||||
[ -f "$proto_file" ] || continue
|
||||
|
||||
base=$(basename "$proto_file" .proto)
|
||||
pb_file="$PB_DIR/${base}.pb.go"
|
||||
|
||||
[ -f "$pb_file" ] || continue
|
||||
|
||||
# 从 .proto 提取每个 message 的字段数(格式: "MessageName:N")
|
||||
# 只计算顶层 message 的直接字段(= N 格式的行)
|
||||
current_msg=""
|
||||
declare -A proto_fields
|
||||
while IFS= read -r line; do
|
||||
# 匹配 message 声明
|
||||
if [[ "$line" =~ ^[[:space:]]*message[[:space:]]+([A-Za-z0-9_]+) ]]; then
|
||||
current_msg="${BASH_REMATCH[1]}"
|
||||
proto_fields["$current_msg"]=0
|
||||
fi
|
||||
# 匹配字段声明(type name = N;)
|
||||
if [ -n "$current_msg" ] && [[ "$line" =~ =[[:space:]]*[0-9]+\; ]]; then
|
||||
proto_fields["$current_msg"]=$(( ${proto_fields["$current_msg"]} + 1 ))
|
||||
fi
|
||||
# message 结束
|
||||
if [ -n "$current_msg" ] && [[ "$line" =~ ^[[:space:]]*\} ]]; then
|
||||
current_msg=""
|
||||
fi
|
||||
done < "$proto_file"
|
||||
|
||||
# 从 .pb.go 提取每个 struct 的 protobuf 字段数
|
||||
declare -A pbgo_fields
|
||||
current_struct=""
|
||||
while IFS= read -r line; do
|
||||
if [[ "$line" =~ ^type[[:space:]]+([A-Za-z0-9_]+)[[:space:]]+struct ]]; then
|
||||
current_struct="${BASH_REMATCH[1]}"
|
||||
pbgo_fields["$current_struct"]=0
|
||||
fi
|
||||
if [ -n "$current_struct" ] && [[ "$line" =~ protobuf:\" ]]; then
|
||||
pbgo_fields["$current_struct"]=$(( ${pbgo_fields["$current_struct"]} + 1 ))
|
||||
fi
|
||||
if [ -n "$current_struct" ] && [[ "$line" =~ ^\} ]]; then
|
||||
current_struct=""
|
||||
fi
|
||||
done < "$pb_file"
|
||||
|
||||
# 比较
|
||||
for msg in "${!proto_fields[@]}"; do
|
||||
proto_count=${proto_fields["$msg"]}
|
||||
pbgo_count=${pbgo_fields["$msg"]:-0}
|
||||
|
||||
if [ "$pbgo_count" -gt "$proto_count" ] 2>/dev/null; then
|
||||
echo " [WARN] $base: struct '$msg' has $pbgo_count fields in .pb.go but only $proto_count in .proto (hand-edited?)"
|
||||
ERRORS=$((ERRORS + 1))
|
||||
elif [ "$pbgo_count" -lt "$proto_count" ] 2>/dev/null; then
|
||||
echo " [WARN] $base: struct '$msg' has $pbgo_count fields in .pb.go but $proto_count in .proto (needs regeneration)"
|
||||
ERRORS=$((ERRORS + 1))
|
||||
fi
|
||||
done
|
||||
|
||||
unset proto_fields
|
||||
unset pbgo_fields
|
||||
declare -A proto_fields
|
||||
declare -A pbgo_fields
|
||||
done
|
||||
|
||||
if [ "$ERRORS" -gt 0 ]; then
|
||||
echo ""
|
||||
echo "Found $ERRORS proto sync issue(s)."
|
||||
echo "Fix: install protoc and run 'cd EdgeCommon/build && ./build.sh'"
|
||||
|
||||
if [ "$1" = "--fix" ]; then
|
||||
if command -v protoc &>/dev/null; then
|
||||
echo "Regenerating ..."
|
||||
cd "$(dirname "$0")"
|
||||
./build.sh
|
||||
echo "Done. Please review and commit the changes."
|
||||
else
|
||||
echo "protoc not found, cannot auto-fix."
|
||||
exit 1
|
||||
fi
|
||||
else
|
||||
exit 1
|
||||
fi
|
||||
else
|
||||
echo "All proto files are in sync. OK"
|
||||
fi
|
||||
@@ -20,35 +20,8 @@ func DefaultMessage(messageCode MessageCode, args ...any) string {
|
||||
}
|
||||
|
||||
func ParseLangFromRequest(req *http.Request) (langCode string) {
|
||||
// parse language from cookie
|
||||
const cookieName = "edgelang"
|
||||
cookie, _ := req.Cookie(cookieName)
|
||||
if cookie != nil && len(cookie.Value) > 0 {
|
||||
// HasLang 内部会转换为小写,但这里也转换以确保一致性
|
||||
langCode = strings.ToLower(cookie.Value)
|
||||
if defaultManager.HasLang(langCode) {
|
||||
return langCode
|
||||
}
|
||||
}
|
||||
|
||||
// parse language from 'Accept-Language'
|
||||
var acceptLanguage = req.Header.Get("Accept-Language")
|
||||
if len(acceptLanguage) > 0 {
|
||||
var pieces = strings.Split(acceptLanguage, ",")
|
||||
for _, lang := range pieces {
|
||||
var index = strings.Index(lang, ";")
|
||||
if index >= 0 {
|
||||
lang = lang[:index]
|
||||
}
|
||||
|
||||
var match = defaultManager.MatchLang(lang)
|
||||
if len(match) > 0 {
|
||||
return match
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return defaultManager.DefaultLang()
|
||||
// 强制使用中文
|
||||
return "zh-cn"
|
||||
}
|
||||
|
||||
func ParseLangFromAction(action actions.ActionWrapper) (langCode string) {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: api_method_stat_service.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -156,51 +157,27 @@ func (x *CountAPIMethodStatsWithDayRequest) GetDay() string {
|
||||
|
||||
var File_api_method_stat_service_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_api_method_stat_service_proto_rawDesc = []byte{
|
||||
0x0a, 0x1d, 0x61, 0x70, 0x69, 0x5f, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x5f, 0x73, 0x74, 0x61,
|
||||
0x74, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
|
||||
0x02, 0x70, 0x62, 0x1a, 0x22, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65,
|
||||
0x6c, 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x5f, 0x73, 0x74, 0x61,
|
||||
0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f,
|
||||
0x72, 0x70, 0x63, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f,
|
||||
0x74, 0x6f, 0x22, 0x34, 0x0a, 0x20, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x50, 0x49, 0x4d, 0x65, 0x74,
|
||||
0x68, 0x6f, 0x64, 0x53, 0x74, 0x61, 0x74, 0x73, 0x57, 0x69, 0x74, 0x68, 0x44, 0x61, 0x79, 0x52,
|
||||
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x64, 0x61, 0x79, 0x18, 0x01, 0x20,
|
||||
0x01, 0x28, 0x09, 0x52, 0x03, 0x64, 0x61, 0x79, 0x22, 0x5e, 0x0a, 0x21, 0x46, 0x69, 0x6e, 0x64,
|
||||
0x41, 0x50, 0x49, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x53, 0x74, 0x61, 0x74, 0x73, 0x57, 0x69,
|
||||
0x74, 0x68, 0x44, 0x61, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x39, 0x0a,
|
||||
0x0e, 0x61, 0x70, 0x69, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x53, 0x74, 0x61, 0x74, 0x73, 0x18,
|
||||
0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x41, 0x50, 0x49, 0x4d, 0x65,
|
||||
0x74, 0x68, 0x6f, 0x64, 0x53, 0x74, 0x61, 0x74, 0x52, 0x0e, 0x61, 0x70, 0x69, 0x4d, 0x65, 0x74,
|
||||
0x68, 0x6f, 0x64, 0x53, 0x74, 0x61, 0x74, 0x73, 0x22, 0x35, 0x0a, 0x21, 0x43, 0x6f, 0x75, 0x6e,
|
||||
0x74, 0x41, 0x50, 0x49, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x53, 0x74, 0x61, 0x74, 0x73, 0x57,
|
||||
0x69, 0x74, 0x68, 0x44, 0x61, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a,
|
||||
0x03, 0x64, 0x61, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x64, 0x61, 0x79, 0x32,
|
||||
0xdb, 0x01, 0x0a, 0x14, 0x41, 0x50, 0x49, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x53, 0x74, 0x61,
|
||||
0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x68, 0x0a, 0x19, 0x66, 0x69, 0x6e, 0x64,
|
||||
0x41, 0x50, 0x49, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x53, 0x74, 0x61, 0x74, 0x73, 0x57, 0x69,
|
||||
0x74, 0x68, 0x44, 0x61, 0x79, 0x12, 0x24, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41,
|
||||
0x50, 0x49, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x53, 0x74, 0x61, 0x74, 0x73, 0x57, 0x69, 0x74,
|
||||
0x68, 0x44, 0x61, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x70, 0x62,
|
||||
0x2e, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x50, 0x49, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x53, 0x74,
|
||||
0x61, 0x74, 0x73, 0x57, 0x69, 0x74, 0x68, 0x44, 0x61, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
||||
0x73, 0x65, 0x12, 0x59, 0x0a, 0x1a, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x50, 0x49, 0x4d, 0x65,
|
||||
0x74, 0x68, 0x6f, 0x64, 0x53, 0x74, 0x61, 0x74, 0x73, 0x57, 0x69, 0x74, 0x68, 0x44, 0x61, 0x79,
|
||||
0x12, 0x25, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x50, 0x49, 0x4d, 0x65,
|
||||
0x74, 0x68, 0x6f, 0x64, 0x53, 0x74, 0x61, 0x74, 0x73, 0x57, 0x69, 0x74, 0x68, 0x44, 0x61, 0x79,
|
||||
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x52, 0x50, 0x43,
|
||||
0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x06, 0x5a,
|
||||
0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_api_method_stat_service_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x1dapi_method_stat_service.proto\x12\x02pb\x1a\"models/model_api_method_stat.proto\x1a\x19models/rpc_messages.proto\"4\n" +
|
||||
" FindAPIMethodStatsWithDayRequest\x12\x10\n" +
|
||||
"\x03day\x18\x01 \x01(\tR\x03day\"^\n" +
|
||||
"!FindAPIMethodStatsWithDayResponse\x129\n" +
|
||||
"\x0eapiMethodStats\x18\x01 \x03(\v2\x11.pb.APIMethodStatR\x0eapiMethodStats\"5\n" +
|
||||
"!CountAPIMethodStatsWithDayRequest\x12\x10\n" +
|
||||
"\x03day\x18\x01 \x01(\tR\x03day2\xdb\x01\n" +
|
||||
"\x14APIMethodStatService\x12h\n" +
|
||||
"\x19findAPIMethodStatsWithDay\x12$.pb.FindAPIMethodStatsWithDayRequest\x1a%.pb.FindAPIMethodStatsWithDayResponse\x12Y\n" +
|
||||
"\x1acountAPIMethodStatsWithDay\x12%.pb.CountAPIMethodStatsWithDayRequest\x1a\x14.pb.RPCCountResponseB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_api_method_stat_service_proto_rawDescOnce sync.Once
|
||||
file_api_method_stat_service_proto_rawDescData = file_api_method_stat_service_proto_rawDesc
|
||||
file_api_method_stat_service_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_api_method_stat_service_proto_rawDescGZIP() []byte {
|
||||
file_api_method_stat_service_proto_rawDescOnce.Do(func() {
|
||||
file_api_method_stat_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_api_method_stat_service_proto_rawDescData)
|
||||
file_api_method_stat_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_api_method_stat_service_proto_rawDesc), len(file_api_method_stat_service_proto_rawDesc)))
|
||||
})
|
||||
return file_api_method_stat_service_proto_rawDescData
|
||||
}
|
||||
@@ -237,7 +214,7 @@ func file_api_method_stat_service_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_api_method_stat_service_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_api_method_stat_service_proto_rawDesc), len(file_api_method_stat_service_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 3,
|
||||
NumExtensions: 0,
|
||||
@@ -248,7 +225,6 @@ func file_api_method_stat_service_proto_init() {
|
||||
MessageInfos: file_api_method_stat_service_proto_msgTypes,
|
||||
}.Build()
|
||||
File_api_method_stat_service_proto = out.File
|
||||
file_api_method_stat_service_proto_rawDesc = nil
|
||||
file_api_method_stat_service_proto_goTypes = nil
|
||||
file_api_method_stat_service_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
|
||||
// versions:
|
||||
// - protoc-gen-go-grpc v1.5.1
|
||||
// - protoc v6.33.2
|
||||
// - protoc-gen-go-grpc v1.6.1
|
||||
// - protoc v3.19.6
|
||||
// source: api_method_stat_service.proto
|
||||
|
||||
package pb
|
||||
@@ -83,10 +83,10 @@ type APIMethodStatServiceServer interface {
|
||||
type UnimplementedAPIMethodStatServiceServer struct{}
|
||||
|
||||
func (UnimplementedAPIMethodStatServiceServer) FindAPIMethodStatsWithDay(context.Context, *FindAPIMethodStatsWithDayRequest) (*FindAPIMethodStatsWithDayResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method FindAPIMethodStatsWithDay not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method FindAPIMethodStatsWithDay not implemented")
|
||||
}
|
||||
func (UnimplementedAPIMethodStatServiceServer) CountAPIMethodStatsWithDay(context.Context, *CountAPIMethodStatsWithDayRequest) (*RPCCountResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method CountAPIMethodStatsWithDay not implemented")
|
||||
return nil, status.Error(codes.Unimplemented, "method CountAPIMethodStatsWithDay not implemented")
|
||||
}
|
||||
func (UnimplementedAPIMethodStatServiceServer) testEmbeddedByValue() {}
|
||||
|
||||
@@ -98,7 +98,7 @@ type UnsafeAPIMethodStatServiceServer interface {
|
||||
}
|
||||
|
||||
func RegisterAPIMethodStatServiceServer(s grpc.ServiceRegistrar, srv APIMethodStatServiceServer) {
|
||||
// If the following call pancis, it indicates UnimplementedAPIMethodStatServiceServer was
|
||||
// If the following call panics, it indicates UnimplementedAPIMethodStatServiceServer was
|
||||
// embedded by pointer and is nil. This will cause panics if an
|
||||
// unimplemented method is ever invoked, so we test this at initialization
|
||||
// time to prevent it from happening at runtime later due to I/O.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_acme_provider.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -106,33 +107,27 @@ func (x *ACMEProvider) GetEabDescription() string {
|
||||
|
||||
var File_models_model_acme_provider_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_acme_provider_proto_rawDesc = []byte{
|
||||
0x0a, 0x20, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x61,
|
||||
0x63, 0x6d, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f,
|
||||
0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0xb8, 0x01, 0x0a, 0x0c, 0x41, 0x43, 0x4d, 0x45, 0x50,
|
||||
0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
|
||||
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63,
|
||||
0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12,
|
||||
0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04,
|
||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
|
||||
0x6e, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x70, 0x69, 0x55, 0x52, 0x4c, 0x18, 0x05, 0x20, 0x01, 0x28,
|
||||
0x09, 0x52, 0x06, 0x61, 0x70, 0x69, 0x55, 0x52, 0x4c, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x71,
|
||||
0x75, 0x69, 0x72, 0x65, 0x45, 0x41, 0x42, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x72,
|
||||
0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x45, 0x41, 0x42, 0x12, 0x26, 0x0a, 0x0e, 0x65, 0x61, 0x62,
|
||||
0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28,
|
||||
0x09, 0x52, 0x0e, 0x65, 0x61, 0x62, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
|
||||
0x6e, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
||||
0x33,
|
||||
}
|
||||
const file_models_model_acme_provider_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
" models/model_acme_provider.proto\x12\x02pb\"\xb8\x01\n" +
|
||||
"\fACMEProvider\x12\x12\n" +
|
||||
"\x04name\x18\x01 \x01(\tR\x04name\x12\x12\n" +
|
||||
"\x04code\x18\x02 \x01(\tR\x04code\x12 \n" +
|
||||
"\vdescription\x18\x04 \x01(\tR\vdescription\x12\x16\n" +
|
||||
"\x06apiURL\x18\x05 \x01(\tR\x06apiURL\x12\x1e\n" +
|
||||
"\n" +
|
||||
"requireEAB\x18\x06 \x01(\bR\n" +
|
||||
"requireEAB\x12&\n" +
|
||||
"\x0eeabDescription\x18\a \x01(\tR\x0eeabDescriptionB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_acme_provider_proto_rawDescOnce sync.Once
|
||||
file_models_model_acme_provider_proto_rawDescData = file_models_model_acme_provider_proto_rawDesc
|
||||
file_models_model_acme_provider_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_acme_provider_proto_rawDescGZIP() []byte {
|
||||
file_models_model_acme_provider_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_acme_provider_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_acme_provider_proto_rawDescData)
|
||||
file_models_model_acme_provider_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_acme_provider_proto_rawDesc), len(file_models_model_acme_provider_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_acme_provider_proto_rawDescData
|
||||
}
|
||||
@@ -158,7 +153,7 @@ func file_models_model_acme_provider_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_acme_provider_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_acme_provider_proto_rawDesc), len(file_models_model_acme_provider_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -169,7 +164,6 @@ func file_models_model_acme_provider_proto_init() {
|
||||
MessageInfos: file_models_model_acme_provider_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_acme_provider_proto = out.File
|
||||
file_models_model_acme_provider_proto_rawDesc = nil
|
||||
file_models_model_acme_provider_proto_goTypes = nil
|
||||
file_models_model_acme_provider_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_acme_provider_account.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -122,38 +123,27 @@ func (x *ACMEProviderAccount) GetAcmeProvider() *ACMEProvider {
|
||||
|
||||
var File_models_model_acme_provider_account_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_acme_provider_account_proto_rawDesc = []byte{
|
||||
0x0a, 0x28, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x61,
|
||||
0x63, 0x6d, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f, 0x61, 0x63, 0x63,
|
||||
0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x20,
|
||||
0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x61, 0x63, 0x6d,
|
||||
0x65, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
||||
0x22, 0xed, 0x01, 0x0a, 0x13, 0x41, 0x43, 0x4d, 0x45, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65,
|
||||
0x72, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
|
||||
0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
|
||||
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04,
|
||||
0x69, 0x73, 0x4f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6e,
|
||||
0x12, 0x22, 0x0a, 0x0c, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x64, 0x65,
|
||||
0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72,
|
||||
0x43, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x61, 0x62, 0x4b, 0x69, 0x64, 0x18, 0x05,
|
||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x61, 0x62, 0x4b, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06,
|
||||
0x65, 0x61, 0x62, 0x4b, 0x65, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x61,
|
||||
0x62, 0x4b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x07, 0x20,
|
||||
0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x34, 0x0a, 0x0c, 0x61, 0x63,
|
||||
0x6d, 0x65, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x0b,
|
||||
0x32, 0x10, 0x2e, 0x70, 0x62, 0x2e, 0x41, 0x43, 0x4d, 0x45, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64,
|
||||
0x65, 0x72, 0x52, 0x0c, 0x61, 0x63, 0x6d, 0x65, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72,
|
||||
0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_acme_provider_account_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"(models/model_acme_provider_account.proto\x12\x02pb\x1a models/model_acme_provider.proto\"\xed\x01\n" +
|
||||
"\x13ACMEProviderAccount\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
||||
"\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n" +
|
||||
"\x04isOn\x18\x03 \x01(\bR\x04isOn\x12\"\n" +
|
||||
"\fproviderCode\x18\x04 \x01(\tR\fproviderCode\x12\x16\n" +
|
||||
"\x06eabKid\x18\x05 \x01(\tR\x06eabKid\x12\x16\n" +
|
||||
"\x06eabKey\x18\x06 \x01(\tR\x06eabKey\x12\x14\n" +
|
||||
"\x05error\x18\a \x01(\tR\x05error\x124\n" +
|
||||
"\facmeProvider\x18\x1e \x01(\v2\x10.pb.ACMEProviderR\facmeProviderB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_acme_provider_account_proto_rawDescOnce sync.Once
|
||||
file_models_model_acme_provider_account_proto_rawDescData = file_models_model_acme_provider_account_proto_rawDesc
|
||||
file_models_model_acme_provider_account_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_acme_provider_account_proto_rawDescGZIP() []byte {
|
||||
file_models_model_acme_provider_account_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_acme_provider_account_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_acme_provider_account_proto_rawDescData)
|
||||
file_models_model_acme_provider_account_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_acme_provider_account_proto_rawDesc), len(file_models_model_acme_provider_account_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_acme_provider_account_proto_rawDescData
|
||||
}
|
||||
@@ -182,7 +172,7 @@ func file_models_model_acme_provider_account_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_acme_provider_account_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_acme_provider_account_proto_rawDesc), len(file_models_model_acme_provider_account_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -193,7 +183,6 @@ func file_models_model_acme_provider_account_proto_init() {
|
||||
MessageInfos: file_models_model_acme_provider_account_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_acme_provider_account_proto = out.File
|
||||
file_models_model_acme_provider_account_proto_rawDesc = nil
|
||||
file_models_model_acme_provider_account_proto_goTypes = nil
|
||||
file_models_model_acme_provider_account_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_acme_task.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -154,54 +155,31 @@ func (x *ACMETask) GetLatestACMETaskLog() *ACMETaskLog {
|
||||
|
||||
var File_models_model_acme_task_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_acme_task_proto_rawDesc = []byte{
|
||||
0x0a, 0x1c, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x61,
|
||||
0x63, 0x6d, 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02,
|
||||
0x70, 0x62, 0x1a, 0x1c, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c,
|
||||
0x5f, 0x61, 0x63, 0x6d, 0x65, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
||||
0x1a, 0x1f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x64,
|
||||
0x6e, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
||||
0x6f, 0x1a, 0x1b, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f,
|
||||
0x73, 0x73, 0x6c, 0x5f, 0x63, 0x65, 0x72, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20,
|
||||
0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x61, 0x63, 0x6d,
|
||||
0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x6c, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
||||
0x22, 0x9b, 0x03, 0x0a, 0x08, 0x41, 0x43, 0x4d, 0x45, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x0e, 0x0a,
|
||||
0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a,
|
||||
0x04, 0x69, 0x73, 0x4f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f,
|
||||
0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x03,
|
||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12,
|
||||
0x18, 0x0a, 0x07, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09,
|
||||
0x52, 0x07, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x72, 0x65,
|
||||
0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72,
|
||||
0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x75, 0x74, 0x6f, 0x52,
|
||||
0x65, 0x6e, 0x65, 0x77, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x61, 0x75, 0x74, 0x6f,
|
||||
0x52, 0x65, 0x6e, 0x65, 0x77, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x75, 0x74, 0x68, 0x54, 0x79, 0x70,
|
||||
0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x61, 0x75, 0x74, 0x68, 0x54, 0x79, 0x70,
|
||||
0x65, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x75, 0x74, 0x68, 0x55, 0x52, 0x4c, 0x18, 0x08, 0x20, 0x01,
|
||||
0x28, 0x09, 0x52, 0x07, 0x61, 0x75, 0x74, 0x68, 0x55, 0x52, 0x4c, 0x12, 0x28, 0x0a, 0x08, 0x61,
|
||||
0x63, 0x6d, 0x65, 0x55, 0x73, 0x65, 0x72, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e,
|
||||
0x70, 0x62, 0x2e, 0x41, 0x43, 0x4d, 0x45, 0x55, 0x73, 0x65, 0x72, 0x52, 0x08, 0x61, 0x63, 0x6d,
|
||||
0x65, 0x55, 0x73, 0x65, 0x72, 0x12, 0x31, 0x0a, 0x0b, 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x76,
|
||||
0x69, 0x64, 0x65, 0x72, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e,
|
||||
0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x0b, 0x64, 0x6e, 0x73,
|
||||
0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x25, 0x0a, 0x07, 0x73, 0x73, 0x6c, 0x43,
|
||||
0x65, 0x72, 0x74, 0x18, 0x20, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x53,
|
||||
0x53, 0x4c, 0x43, 0x65, 0x72, 0x74, 0x52, 0x07, 0x73, 0x73, 0x6c, 0x43, 0x65, 0x72, 0x74, 0x12,
|
||||
0x3d, 0x0a, 0x11, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x41, 0x43, 0x4d, 0x45, 0x54, 0x61, 0x73,
|
||||
0x6b, 0x4c, 0x6f, 0x67, 0x18, 0x21, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e,
|
||||
0x41, 0x43, 0x4d, 0x45, 0x54, 0x61, 0x73, 0x6b, 0x4c, 0x6f, 0x67, 0x52, 0x11, 0x6c, 0x61, 0x74,
|
||||
0x65, 0x73, 0x74, 0x41, 0x43, 0x4d, 0x45, 0x54, 0x61, 0x73, 0x6b, 0x4c, 0x6f, 0x67, 0x42, 0x06,
|
||||
0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_acme_task_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x1cmodels/model_acme_task.proto\x12\x02pb\x1a\x1cmodels/model_acme_user.proto\x1a\x1fmodels/model_dns_provider.proto\x1a\x1bmodels/model_ssl_cert.proto\x1a models/model_acme_task_log.proto\"\x9b\x03\n" +
|
||||
"\bACMETask\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
||||
"\x04isOn\x18\x02 \x01(\bR\x04isOn\x12\x1c\n" +
|
||||
"\tdnsDomain\x18\x03 \x01(\tR\tdnsDomain\x12\x18\n" +
|
||||
"\adomains\x18\x04 \x03(\tR\adomains\x12\x1c\n" +
|
||||
"\tcreatedAt\x18\x05 \x01(\x03R\tcreatedAt\x12\x1c\n" +
|
||||
"\tautoRenew\x18\x06 \x01(\bR\tautoRenew\x12\x1a\n" +
|
||||
"\bauthType\x18\a \x01(\tR\bauthType\x12\x18\n" +
|
||||
"\aauthURL\x18\b \x01(\tR\aauthURL\x12(\n" +
|
||||
"\bacmeUser\x18\x1e \x01(\v2\f.pb.ACMEUserR\bacmeUser\x121\n" +
|
||||
"\vdnsProvider\x18\x1f \x01(\v2\x0f.pb.DNSProviderR\vdnsProvider\x12%\n" +
|
||||
"\asslCert\x18 \x01(\v2\v.pb.SSLCertR\asslCert\x12=\n" +
|
||||
"\x11latestACMETaskLog\x18! \x01(\v2\x0f.pb.ACMETaskLogR\x11latestACMETaskLogB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_acme_task_proto_rawDescOnce sync.Once
|
||||
file_models_model_acme_task_proto_rawDescData = file_models_model_acme_task_proto_rawDesc
|
||||
file_models_model_acme_task_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_acme_task_proto_rawDescGZIP() []byte {
|
||||
file_models_model_acme_task_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_acme_task_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_acme_task_proto_rawDescData)
|
||||
file_models_model_acme_task_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_acme_task_proto_rawDesc), len(file_models_model_acme_task_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_acme_task_proto_rawDescData
|
||||
}
|
||||
@@ -239,7 +217,7 @@ func file_models_model_acme_task_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_acme_task_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_acme_task_proto_rawDesc), len(file_models_model_acme_task_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -250,7 +228,6 @@ func file_models_model_acme_task_proto_init() {
|
||||
MessageInfos: file_models_model_acme_task_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_acme_task_proto = out.File
|
||||
file_models_model_acme_task_proto_rawDesc = nil
|
||||
file_models_model_acme_task_proto_goTypes = nil
|
||||
file_models_model_acme_task_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_acme_task_log.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -91,27 +92,23 @@ func (x *ACMETaskLog) GetCreatedAt() int64 {
|
||||
|
||||
var File_models_model_acme_task_log_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_acme_task_log_proto_rawDesc = []byte{
|
||||
0x0a, 0x20, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x61,
|
||||
0x63, 0x6d, 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x6c, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f,
|
||||
0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0x65, 0x0a, 0x0b, 0x41, 0x43, 0x4d, 0x45, 0x54, 0x61,
|
||||
0x73, 0x6b, 0x4c, 0x6f, 0x67, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||
0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, 0x6b, 0x18, 0x02, 0x20,
|
||||
0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6b, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72,
|
||||
0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12,
|
||||
0x1c, 0x0a, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x04, 0x20, 0x01,
|
||||
0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x42, 0x06, 0x5a,
|
||||
0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_acme_task_log_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
" models/model_acme_task_log.proto\x12\x02pb\"e\n" +
|
||||
"\vACMETaskLog\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
||||
"\x04isOk\x18\x02 \x01(\bR\x04isOk\x12\x14\n" +
|
||||
"\x05error\x18\x03 \x01(\tR\x05error\x12\x1c\n" +
|
||||
"\tcreatedAt\x18\x04 \x01(\x03R\tcreatedAtB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_acme_task_log_proto_rawDescOnce sync.Once
|
||||
file_models_model_acme_task_log_proto_rawDescData = file_models_model_acme_task_log_proto_rawDesc
|
||||
file_models_model_acme_task_log_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_acme_task_log_proto_rawDescGZIP() []byte {
|
||||
file_models_model_acme_task_log_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_acme_task_log_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_acme_task_log_proto_rawDescData)
|
||||
file_models_model_acme_task_log_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_acme_task_log_proto_rawDesc), len(file_models_model_acme_task_log_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_acme_task_log_proto_rawDescData
|
||||
}
|
||||
@@ -137,7 +134,7 @@ func file_models_model_acme_task_log_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_acme_task_log_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_acme_task_log_proto_rawDesc), len(file_models_model_acme_task_log_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -148,7 +145,6 @@ func file_models_model_acme_task_log_proto_init() {
|
||||
MessageInfos: file_models_model_acme_task_log_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_acme_task_log_proto = out.File
|
||||
file_models_model_acme_task_log_proto_rawDesc = nil
|
||||
file_models_model_acme_task_log_proto_goTypes = nil
|
||||
file_models_model_acme_task_log_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_acme_user.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -114,43 +115,26 @@ func (x *ACMEUser) GetAcmeProviderAccount() *ACMEProviderAccount {
|
||||
|
||||
var File_models_model_acme_user_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_acme_user_proto_rawDesc = []byte{
|
||||
0x0a, 0x1c, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x61,
|
||||
0x63, 0x6d, 0x65, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02,
|
||||
0x70, 0x62, 0x1a, 0x20, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c,
|
||||
0x5f, 0x61, 0x63, 0x6d, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x70,
|
||||
0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x28, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64,
|
||||
0x65, 0x6c, 0x5f, 0x61, 0x63, 0x6d, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72,
|
||||
0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9d,
|
||||
0x02, 0x0a, 0x08, 0x41, 0x43, 0x4d, 0x45, 0x55, 0x73, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69,
|
||||
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x65,
|
||||
0x6d, 0x61, 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69,
|
||||
0x6c, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e,
|
||||
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74,
|
||||
0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74,
|
||||
0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41,
|
||||
0x74, 0x12, 0x2a, 0x0a, 0x10, 0x61, 0x63, 0x6d, 0x65, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65,
|
||||
0x72, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x63, 0x6d,
|
||||
0x65, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x34, 0x0a,
|
||||
0x0c, 0x61, 0x63, 0x6d, 0x65, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x18, 0x1e, 0x20,
|
||||
0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x62, 0x2e, 0x41, 0x43, 0x4d, 0x45, 0x50, 0x72, 0x6f,
|
||||
0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x0c, 0x61, 0x63, 0x6d, 0x65, 0x50, 0x72, 0x6f, 0x76, 0x69,
|
||||
0x64, 0x65, 0x72, 0x12, 0x49, 0x0a, 0x13, 0x61, 0x63, 0x6d, 0x65, 0x50, 0x72, 0x6f, 0x76, 0x69,
|
||||
0x64, 0x65, 0x72, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x0b,
|
||||
0x32, 0x17, 0x2e, 0x70, 0x62, 0x2e, 0x41, 0x43, 0x4d, 0x45, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64,
|
||||
0x65, 0x72, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x13, 0x61, 0x63, 0x6d, 0x65, 0x50,
|
||||
0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x06,
|
||||
0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_acme_user_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x1cmodels/model_acme_user.proto\x12\x02pb\x1a models/model_acme_provider.proto\x1a(models/model_acme_provider_account.proto\"\x9d\x02\n" +
|
||||
"\bACMEUser\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x14\n" +
|
||||
"\x05email\x18\x02 \x01(\tR\x05email\x12 \n" +
|
||||
"\vdescription\x18\x03 \x01(\tR\vdescription\x12\x1c\n" +
|
||||
"\tcreatedAt\x18\x04 \x01(\x03R\tcreatedAt\x12*\n" +
|
||||
"\x10acmeProviderCode\x18\x05 \x01(\tR\x10acmeProviderCode\x124\n" +
|
||||
"\facmeProvider\x18\x1e \x01(\v2\x10.pb.ACMEProviderR\facmeProvider\x12I\n" +
|
||||
"\x13acmeProviderAccount\x18\x1f \x01(\v2\x17.pb.ACMEProviderAccountR\x13acmeProviderAccountB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_acme_user_proto_rawDescOnce sync.Once
|
||||
file_models_model_acme_user_proto_rawDescData = file_models_model_acme_user_proto_rawDesc
|
||||
file_models_model_acme_user_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_acme_user_proto_rawDescGZIP() []byte {
|
||||
file_models_model_acme_user_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_acme_user_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_acme_user_proto_rawDescData)
|
||||
file_models_model_acme_user_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_acme_user_proto_rawDesc), len(file_models_model_acme_user_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_acme_user_proto_rawDescData
|
||||
}
|
||||
@@ -182,7 +166,7 @@ func file_models_model_acme_user_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_acme_user_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_acme_user_proto_rawDesc), len(file_models_model_acme_user_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -193,7 +177,6 @@ func file_models_model_acme_user_proto_init() {
|
||||
MessageInfos: file_models_model_acme_user_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_acme_user_proto = out.File
|
||||
file_models_model_acme_user_proto_rawDesc = nil
|
||||
file_models_model_acme_user_proto_goTypes = nil
|
||||
file_models_model_acme_user_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_ad_network.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -91,27 +92,23 @@ func (x *ADNetwork) GetDescription() string {
|
||||
|
||||
var File_models_model_ad_network_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_ad_network_proto_rawDesc = []byte{
|
||||
0x0a, 0x1d, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x61,
|
||||
0x64, 0x5f, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
|
||||
0x02, 0x70, 0x62, 0x22, 0x65, 0x0a, 0x09, 0x41, 0x44, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b,
|
||||
0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64,
|
||||
0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04,
|
||||
0x69, 0x73, 0x4f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01,
|
||||
0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63,
|
||||
0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64,
|
||||
0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f,
|
||||
0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_ad_network_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x1dmodels/model_ad_network.proto\x12\x02pb\"e\n" +
|
||||
"\tADNetwork\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
||||
"\x04isOn\x18\x02 \x01(\bR\x04isOn\x12\x12\n" +
|
||||
"\x04name\x18\x03 \x01(\tR\x04name\x12 \n" +
|
||||
"\vdescription\x18\x04 \x01(\tR\vdescriptionB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_ad_network_proto_rawDescOnce sync.Once
|
||||
file_models_model_ad_network_proto_rawDescData = file_models_model_ad_network_proto_rawDesc
|
||||
file_models_model_ad_network_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_ad_network_proto_rawDescGZIP() []byte {
|
||||
file_models_model_ad_network_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_ad_network_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_ad_network_proto_rawDescData)
|
||||
file_models_model_ad_network_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_ad_network_proto_rawDesc), len(file_models_model_ad_network_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_ad_network_proto_rawDescData
|
||||
}
|
||||
@@ -137,7 +134,7 @@ func file_models_model_ad_network_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_ad_network_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_ad_network_proto_rawDesc), len(file_models_model_ad_network_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -148,7 +145,6 @@ func file_models_model_ad_network_proto_init() {
|
||||
MessageInfos: file_models_model_ad_network_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_ad_network_proto = out.File
|
||||
file_models_model_ad_network_proto_rawDesc = nil
|
||||
file_models_model_ad_network_proto_goTypes = nil
|
||||
file_models_model_ad_network_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_ad_package.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -139,50 +140,29 @@ func (x *ADPackage) GetCountIdleADPackageInstances() int64 {
|
||||
|
||||
var File_models_model_ad_package_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_ad_package_proto_rawDesc = []byte{
|
||||
0x0a, 0x1d, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x61,
|
||||
0x64, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
|
||||
0x02, 0x70, 0x62, 0x1a, 0x1d, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65,
|
||||
0x6c, 0x5f, 0x61, 0x64, 0x5f, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x70, 0x72, 0x6f,
|
||||
0x74, 0x6f, 0x22, 0xb2, 0x03, 0x0a, 0x09, 0x41, 0x44, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65,
|
||||
0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64,
|
||||
0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04,
|
||||
0x69, 0x73, 0x4f, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x64, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72,
|
||||
0x6b, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x61, 0x64, 0x4e, 0x65, 0x74,
|
||||
0x77, 0x6f, 0x72, 0x6b, 0x49, 0x64, 0x12, 0x38, 0x0a, 0x17, 0x70, 0x72, 0x6f, 0x74, 0x65, 0x63,
|
||||
0x74, 0x69, 0x6f, 0x6e, 0x42, 0x61, 0x6e, 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, 0x53, 0x69, 0x7a,
|
||||
0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x17, 0x70, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74,
|
||||
0x69, 0x6f, 0x6e, 0x42, 0x61, 0x6e, 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, 0x53, 0x69, 0x7a, 0x65,
|
||||
0x12, 0x38, 0x0a, 0x17, 0x70, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x61,
|
||||
0x6e, 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, 0x55, 0x6e, 0x69, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28,
|
||||
0x09, 0x52, 0x17, 0x70, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x61, 0x6e,
|
||||
0x64, 0x77, 0x69, 0x64, 0x74, 0x68, 0x55, 0x6e, 0x69, 0x74, 0x12, 0x30, 0x0a, 0x13, 0x73, 0x65,
|
||||
0x72, 0x76, 0x65, 0x72, 0x42, 0x61, 0x6e, 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, 0x53, 0x69, 0x7a,
|
||||
0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x13, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x42,
|
||||
0x61, 0x6e, 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x30, 0x0a, 0x13,
|
||||
0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x42, 0x61, 0x6e, 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, 0x55,
|
||||
0x6e, 0x69, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x73, 0x65, 0x72, 0x76, 0x65,
|
||||
0x72, 0x42, 0x61, 0x6e, 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, 0x55, 0x6e, 0x69, 0x74, 0x12, 0x2b,
|
||||
0x0a, 0x09, 0x61, 0x64, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x1e, 0x20, 0x01, 0x28,
|
||||
0x0b, 0x32, 0x0d, 0x2e, 0x70, 0x62, 0x2e, 0x41, 0x44, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b,
|
||||
0x52, 0x09, 0x61, 0x64, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x12, 0x18, 0x0a, 0x07, 0x73,
|
||||
0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x75,
|
||||
0x6d, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x40, 0x0a, 0x1b, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64,
|
||||
0x6c, 0x65, 0x41, 0x44, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61,
|
||||
0x6e, 0x63, 0x65, 0x73, 0x18, 0x20, 0x20, 0x01, 0x28, 0x03, 0x52, 0x1b, 0x63, 0x6f, 0x75, 0x6e,
|
||||
0x74, 0x49, 0x64, 0x6c, 0x65, 0x41, 0x44, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x49, 0x6e,
|
||||
0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62,
|
||||
0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_ad_package_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x1dmodels/model_ad_package.proto\x12\x02pb\x1a\x1dmodels/model_ad_network.proto\"\xb2\x03\n" +
|
||||
"\tADPackage\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
||||
"\x04isOn\x18\x02 \x01(\bR\x04isOn\x12 \n" +
|
||||
"\vadNetworkId\x18\x03 \x01(\x03R\vadNetworkId\x128\n" +
|
||||
"\x17protectionBandwidthSize\x18\x04 \x01(\x05R\x17protectionBandwidthSize\x128\n" +
|
||||
"\x17protectionBandwidthUnit\x18\x05 \x01(\tR\x17protectionBandwidthUnit\x120\n" +
|
||||
"\x13serverBandwidthSize\x18\x06 \x01(\x05R\x13serverBandwidthSize\x120\n" +
|
||||
"\x13serverBandwidthUnit\x18\a \x01(\tR\x13serverBandwidthUnit\x12+\n" +
|
||||
"\tadNetwork\x18\x1e \x01(\v2\r.pb.ADNetworkR\tadNetwork\x12\x18\n" +
|
||||
"\asummary\x18\x1f \x01(\tR\asummary\x12@\n" +
|
||||
"\x1bcountIdleADPackageInstances\x18 \x01(\x03R\x1bcountIdleADPackageInstancesB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_ad_package_proto_rawDescOnce sync.Once
|
||||
file_models_model_ad_package_proto_rawDescData = file_models_model_ad_package_proto_rawDesc
|
||||
file_models_model_ad_package_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_ad_package_proto_rawDescGZIP() []byte {
|
||||
file_models_model_ad_package_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_ad_package_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_ad_package_proto_rawDescData)
|
||||
file_models_model_ad_package_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_ad_package_proto_rawDesc), len(file_models_model_ad_package_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_ad_package_proto_rawDescData
|
||||
}
|
||||
@@ -211,7 +191,7 @@ func file_models_model_ad_package_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_ad_package_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_ad_package_proto_rawDesc), len(file_models_model_ad_package_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -222,7 +202,6 @@ func file_models_model_ad_package_proto_init() {
|
||||
MessageInfos: file_models_model_ad_package_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_ad_package_proto = out.File
|
||||
file_models_model_ad_package_proto_rawDesc = nil
|
||||
file_models_model_ad_package_proto_goTypes = nil
|
||||
file_models_model_ad_package_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_ad_package_instance.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -155,52 +156,31 @@ func (x *ADPackageInstance) GetUser() *User {
|
||||
|
||||
var File_models_model_ad_package_instance_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_ad_package_instance_proto_rawDesc = []byte{
|
||||
0x0a, 0x26, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x61,
|
||||
0x64, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e,
|
||||
0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x1f, 0x6d, 0x6f,
|
||||
0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f,
|
||||
0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x6d,
|
||||
0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x61, 0x64, 0x5f, 0x70,
|
||||
0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x6d, 0x6f,
|
||||
0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x2e,
|
||||
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x97, 0x03, 0x0a, 0x11, 0x41, 0x44, 0x50, 0x61, 0x63, 0x6b,
|
||||
0x61, 0x67, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69,
|
||||
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x69,
|
||||
0x73, 0x4f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x12,
|
||||
0x20, 0x0a, 0x0b, 0x61, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x49, 0x64, 0x18, 0x03,
|
||||
0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x61, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x49,
|
||||
0x64, 0x12, 0x24, 0x0a, 0x0d, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72,
|
||||
0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6c,
|
||||
0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x6e, 0x6f, 0x64, 0x65, 0x49,
|
||||
0x64, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x03, 0x52, 0x07, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64,
|
||||
0x73, 0x12, 0x20, 0x0a, 0x0b, 0x69, 0x70, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73,
|
||||
0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x69, 0x70, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73,
|
||||
0x73, 0x65, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x07, 0x20,
|
||||
0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x75,
|
||||
0x73, 0x65, 0x72, 0x44, 0x61, 0x79, 0x54, 0x6f, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
|
||||
0x75, 0x73, 0x65, 0x72, 0x44, 0x61, 0x79, 0x54, 0x6f, 0x12, 0x26, 0x0a, 0x0e, 0x75, 0x73, 0x65,
|
||||
0x72, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28,
|
||||
0x03, 0x52, 0x0e, 0x75, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x49,
|
||||
0x64, 0x12, 0x31, 0x0a, 0x0b, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72,
|
||||
0x18, 0x1e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65,
|
||||
0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x0b, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75,
|
||||
0x73, 0x74, 0x65, 0x72, 0x12, 0x2b, 0x0a, 0x09, 0x61, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67,
|
||||
0x65, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x70, 0x62, 0x2e, 0x41, 0x44, 0x50,
|
||||
0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x52, 0x09, 0x61, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67,
|
||||
0x65, 0x12, 0x1c, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x20, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
||||
0x08, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x42,
|
||||
0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_ad_package_instance_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"&models/model_ad_package_instance.proto\x12\x02pb\x1a\x1fmodels/model_node_cluster.proto\x1a\x1dmodels/model_ad_package.proto\x1a\x17models/model_user.proto\"\x97\x03\n" +
|
||||
"\x11ADPackageInstance\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
||||
"\x04isOn\x18\x02 \x01(\bR\x04isOn\x12 \n" +
|
||||
"\vadPackageId\x18\x03 \x01(\x03R\vadPackageId\x12$\n" +
|
||||
"\rnodeClusterId\x18\x04 \x01(\x03R\rnodeClusterId\x12\x18\n" +
|
||||
"\anodeIds\x18\x05 \x03(\x03R\anodeIds\x12 \n" +
|
||||
"\vipAddresses\x18\x06 \x03(\tR\vipAddresses\x12\x16\n" +
|
||||
"\x06userId\x18\a \x01(\x03R\x06userId\x12\x1c\n" +
|
||||
"\tuserDayTo\x18\b \x01(\tR\tuserDayTo\x12&\n" +
|
||||
"\x0euserInstanceId\x18\t \x01(\x03R\x0euserInstanceId\x121\n" +
|
||||
"\vnodeCluster\x18\x1e \x01(\v2\x0f.pb.NodeClusterR\vnodeCluster\x12+\n" +
|
||||
"\tadPackage\x18\x1f \x01(\v2\r.pb.ADPackageR\tadPackage\x12\x1c\n" +
|
||||
"\x04user\x18 \x01(\v2\b.pb.UserR\x04userB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_ad_package_instance_proto_rawDescOnce sync.Once
|
||||
file_models_model_ad_package_instance_proto_rawDescData = file_models_model_ad_package_instance_proto_rawDesc
|
||||
file_models_model_ad_package_instance_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_ad_package_instance_proto_rawDescGZIP() []byte {
|
||||
file_models_model_ad_package_instance_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_ad_package_instance_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_ad_package_instance_proto_rawDescData)
|
||||
file_models_model_ad_package_instance_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_ad_package_instance_proto_rawDesc), len(file_models_model_ad_package_instance_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_ad_package_instance_proto_rawDescData
|
||||
}
|
||||
@@ -235,7 +215,7 @@ func file_models_model_ad_package_instance_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_ad_package_instance_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_ad_package_instance_proto_rawDesc), len(file_models_model_ad_package_instance_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -246,7 +226,6 @@ func file_models_model_ad_package_instance_proto_init() {
|
||||
MessageInfos: file_models_model_ad_package_instance_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_ad_package_instance_proto = out.File
|
||||
file_models_model_ad_package_instance_proto_rawDesc = nil
|
||||
file_models_model_ad_package_instance_proto_goTypes = nil
|
||||
file_models_model_ad_package_instance_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_ad_package_period.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -99,29 +100,24 @@ func (x *ADPackagePeriod) GetMonths() int32 {
|
||||
|
||||
var File_models_model_ad_package_period_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_ad_package_period_proto_rawDesc = []byte{
|
||||
0x0a, 0x24, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x61,
|
||||
0x64, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x70, 0x65, 0x72, 0x69, 0x6f, 0x64,
|
||||
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0x77, 0x0a, 0x0f, 0x41, 0x44,
|
||||
0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x12, 0x0e, 0x0a,
|
||||
0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a,
|
||||
0x04, 0x69, 0x73, 0x4f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f,
|
||||
0x6e, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05,
|
||||
0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x6e, 0x69, 0x74, 0x18,
|
||||
0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x6e, 0x69, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6d,
|
||||
0x6f, 0x6e, 0x74, 0x68, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6d, 0x6f, 0x6e,
|
||||
0x74, 0x68, 0x73, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f,
|
||||
0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_ad_package_period_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"$models/model_ad_package_period.proto\x12\x02pb\"w\n" +
|
||||
"\x0fADPackagePeriod\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
||||
"\x04isOn\x18\x02 \x01(\bR\x04isOn\x12\x14\n" +
|
||||
"\x05count\x18\x03 \x01(\x05R\x05count\x12\x12\n" +
|
||||
"\x04unit\x18\x04 \x01(\tR\x04unit\x12\x16\n" +
|
||||
"\x06months\x18\x05 \x01(\x05R\x06monthsB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_ad_package_period_proto_rawDescOnce sync.Once
|
||||
file_models_model_ad_package_period_proto_rawDescData = file_models_model_ad_package_period_proto_rawDesc
|
||||
file_models_model_ad_package_period_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_ad_package_period_proto_rawDescGZIP() []byte {
|
||||
file_models_model_ad_package_period_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_ad_package_period_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_ad_package_period_proto_rawDescData)
|
||||
file_models_model_ad_package_period_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_ad_package_period_proto_rawDesc), len(file_models_model_ad_package_period_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_ad_package_period_proto_rawDescData
|
||||
}
|
||||
@@ -147,7 +143,7 @@ func file_models_model_ad_package_period_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_ad_package_period_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_ad_package_period_proto_rawDesc), len(file_models_model_ad_package_period_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -158,7 +154,6 @@ func file_models_model_ad_package_period_proto_init() {
|
||||
MessageInfos: file_models_model_ad_package_period_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_ad_package_period_proto = out.File
|
||||
file_models_model_ad_package_period_proto_rawDesc = nil
|
||||
file_models_model_ad_package_period_proto_goTypes = nil
|
||||
file_models_model_ad_package_period_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_ad_package_price.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -83,29 +84,22 @@ func (x *ADPackagePrice) GetPrice() float64 {
|
||||
|
||||
var File_models_model_ad_package_price_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_ad_package_price_proto_rawDesc = []byte{
|
||||
0x0a, 0x23, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x61,
|
||||
0x64, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x2e,
|
||||
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0x76, 0x0a, 0x0e, 0x41, 0x44, 0x50,
|
||||
0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x61,
|
||||
0x64, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
|
||||
0x52, 0x0b, 0x61, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x2c, 0x0a,
|
||||
0x11, 0x61, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64,
|
||||
0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x61, 0x64, 0x50, 0x61, 0x63, 0x6b,
|
||||
0x61, 0x67, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x70,
|
||||
0x72, 0x69, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x52, 0x05, 0x70, 0x72, 0x69, 0x63,
|
||||
0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
||||
0x33,
|
||||
}
|
||||
const file_models_model_ad_package_price_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"#models/model_ad_package_price.proto\x12\x02pb\"v\n" +
|
||||
"\x0eADPackagePrice\x12 \n" +
|
||||
"\vadPackageId\x18\x01 \x01(\x03R\vadPackageId\x12,\n" +
|
||||
"\x11adPackagePeriodId\x18\x02 \x01(\x03R\x11adPackagePeriodId\x12\x14\n" +
|
||||
"\x05price\x18\x03 \x01(\x01R\x05priceB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_ad_package_price_proto_rawDescOnce sync.Once
|
||||
file_models_model_ad_package_price_proto_rawDescData = file_models_model_ad_package_price_proto_rawDesc
|
||||
file_models_model_ad_package_price_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_ad_package_price_proto_rawDescGZIP() []byte {
|
||||
file_models_model_ad_package_price_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_ad_package_price_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_ad_package_price_proto_rawDescData)
|
||||
file_models_model_ad_package_price_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_ad_package_price_proto_rawDesc), len(file_models_model_ad_package_price_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_ad_package_price_proto_rawDescData
|
||||
}
|
||||
@@ -131,7 +125,7 @@ func file_models_model_ad_package_price_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_ad_package_price_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_ad_package_price_proto_rawDesc), len(file_models_model_ad_package_price_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -142,7 +136,6 @@ func file_models_model_ad_package_price_proto_init() {
|
||||
MessageInfos: file_models_model_ad_package_price_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_ad_package_price_proto = out.File
|
||||
file_models_model_ad_package_price_proto_rawDesc = nil
|
||||
file_models_model_ad_package_price_proto_goTypes = nil
|
||||
file_models_model_ad_package_price_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_admin.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -138,43 +139,30 @@ func (x *Admin) GetHasWeakPassword() bool {
|
||||
|
||||
var File_models_model_admin_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_admin_proto_rawDesc = []byte{
|
||||
0x0a, 0x18, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x61,
|
||||
0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x1f,
|
||||
0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x61, 0x64, 0x6d,
|
||||
0x69, 0x6e, 0x5f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
|
||||
0x18, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6c, 0x6f,
|
||||
0x67, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb3, 0x02, 0x0a, 0x05, 0x41, 0x64,
|
||||
0x6d, 0x69, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
|
||||
0x02, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x6e, 0x61, 0x6d, 0x65, 0x18,
|
||||
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x6e, 0x61, 0x6d, 0x65, 0x12,
|
||||
0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
|
||||
0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x69,
|
||||
0x73, 0x4f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x12,
|
||||
0x18, 0x0a, 0x07, 0x69, 0x73, 0x53, 0x75, 0x70, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08,
|
||||
0x52, 0x07, 0x69, 0x73, 0x53, 0x75, 0x70, 0x65, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x72, 0x65,
|
||||
0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72,
|
||||
0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x29, 0x0a, 0x07, 0x4d, 0x6f, 0x64, 0x75, 0x6c,
|
||||
0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x41, 0x64,
|
||||
0x6d, 0x69, 0x6e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x07, 0x4d, 0x6f, 0x64, 0x75, 0x6c,
|
||||
0x65, 0x73, 0x12, 0x25, 0x0a, 0x08, 0x6f, 0x74, 0x70, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x18, 0x08,
|
||||
0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52,
|
||||
0x08, 0x6f, 0x74, 0x70, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x61, 0x6e,
|
||||
0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x63, 0x61, 0x6e,
|
||||
0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x12, 0x28, 0x0a, 0x0f, 0x68, 0x61, 0x73, 0x57, 0x65, 0x61, 0x6b,
|
||||
0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f,
|
||||
0x68, 0x61, 0x73, 0x57, 0x65, 0x61, 0x6b, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x42,
|
||||
0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_admin_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x18models/model_admin.proto\x12\x02pb\x1a\x1fmodels/model_admin_module.proto\x1a\x18models/model_login.proto\"\xb3\x02\n" +
|
||||
"\x05Admin\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x1a\n" +
|
||||
"\bfullname\x18\x02 \x01(\tR\bfullname\x12\x1a\n" +
|
||||
"\busername\x18\x03 \x01(\tR\busername\x12\x12\n" +
|
||||
"\x04isOn\x18\x04 \x01(\bR\x04isOn\x12\x18\n" +
|
||||
"\aisSuper\x18\x05 \x01(\bR\aisSuper\x12\x1c\n" +
|
||||
"\tcreatedAt\x18\x06 \x01(\x03R\tcreatedAt\x12)\n" +
|
||||
"\aModules\x18\a \x03(\v2\x0f.pb.AdminModuleR\aModules\x12%\n" +
|
||||
"\botpLogin\x18\b \x01(\v2\t.pb.LoginR\botpLogin\x12\x1a\n" +
|
||||
"\bcanLogin\x18\t \x01(\bR\bcanLogin\x12(\n" +
|
||||
"\x0fhasWeakPassword\x18\n" +
|
||||
" \x01(\bR\x0fhasWeakPasswordB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_admin_proto_rawDescOnce sync.Once
|
||||
file_models_model_admin_proto_rawDescData = file_models_model_admin_proto_rawDesc
|
||||
file_models_model_admin_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_admin_proto_rawDescGZIP() []byte {
|
||||
file_models_model_admin_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_admin_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_admin_proto_rawDescData)
|
||||
file_models_model_admin_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_admin_proto_rawDesc), len(file_models_model_admin_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_admin_proto_rawDescData
|
||||
}
|
||||
@@ -206,7 +194,7 @@ func file_models_model_admin_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_admin_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_admin_proto_rawDesc), len(file_models_model_admin_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -217,7 +205,6 @@ func file_models_model_admin_proto_init() {
|
||||
MessageInfos: file_models_model_admin_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_admin_proto = out.File
|
||||
file_models_model_admin_proto_rawDesc = nil
|
||||
file_models_model_admin_proto_goTypes = nil
|
||||
file_models_model_admin_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_admin_list.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -106,34 +107,25 @@ func (x *AdminModuleList) GetLang() string {
|
||||
|
||||
var File_models_model_admin_list_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_admin_list_proto_rawDesc = []byte{
|
||||
0x0a, 0x1d, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x61,
|
||||
0x64, 0x6d, 0x69, 0x6e, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
|
||||
0x02, 0x70, 0x62, 0x1a, 0x1f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65,
|
||||
0x6c, 0x5f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x5f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x70,
|
||||
0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb6, 0x01, 0x0a, 0x0f, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x4d, 0x6f,
|
||||
0x64, 0x75, 0x6c, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x6d, 0x69,
|
||||
0x6e, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x61, 0x64, 0x6d, 0x69, 0x6e,
|
||||
0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x69, 0x73, 0x53, 0x75, 0x70, 0x65, 0x72, 0x18, 0x02, 0x20,
|
||||
0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, 0x53, 0x75, 0x70, 0x65, 0x72, 0x12, 0x29, 0x0a, 0x07,
|
||||
0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e,
|
||||
0x70, 0x62, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x07,
|
||||
0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x6e,
|
||||
0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x6e,
|
||||
0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x68, 0x65, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01,
|
||||
0x28, 0x09, 0x52, 0x05, 0x74, 0x68, 0x65, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x61, 0x6e,
|
||||
0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6c, 0x61, 0x6e, 0x67, 0x42, 0x06, 0x5a,
|
||||
0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_admin_list_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x1dmodels/model_admin_list.proto\x12\x02pb\x1a\x1fmodels/model_admin_module.proto\"\xb6\x01\n" +
|
||||
"\x0fAdminModuleList\x12\x18\n" +
|
||||
"\aadminId\x18\x01 \x01(\x03R\aadminId\x12\x18\n" +
|
||||
"\aisSuper\x18\x02 \x01(\bR\aisSuper\x12)\n" +
|
||||
"\aModules\x18\x03 \x03(\v2\x0f.pb.AdminModuleR\aModules\x12\x1a\n" +
|
||||
"\bfullname\x18\x04 \x01(\tR\bfullname\x12\x14\n" +
|
||||
"\x05theme\x18\x05 \x01(\tR\x05theme\x12\x12\n" +
|
||||
"\x04lang\x18\x06 \x01(\tR\x04langB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_admin_list_proto_rawDescOnce sync.Once
|
||||
file_models_model_admin_list_proto_rawDescData = file_models_model_admin_list_proto_rawDesc
|
||||
file_models_model_admin_list_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_admin_list_proto_rawDescGZIP() []byte {
|
||||
file_models_model_admin_list_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_admin_list_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_admin_list_proto_rawDescData)
|
||||
file_models_model_admin_list_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_admin_list_proto_rawDesc), len(file_models_model_admin_list_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_admin_list_proto_rawDescData
|
||||
}
|
||||
@@ -162,7 +154,7 @@ func file_models_model_admin_list_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_admin_list_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_admin_list_proto_rawDesc), len(file_models_model_admin_list_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -173,7 +165,6 @@ func file_models_model_admin_list_proto_init() {
|
||||
MessageInfos: file_models_model_admin_list_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_admin_list_proto = out.File
|
||||
file_models_model_admin_list_proto_rawDesc = nil
|
||||
file_models_model_admin_list_proto_goTypes = nil
|
||||
file_models_model_admin_list_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_admin_module.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -82,26 +83,22 @@ func (x *AdminModule) GetActions() []string {
|
||||
|
||||
var File_models_model_admin_module_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_admin_module_proto_rawDesc = []byte{
|
||||
0x0a, 0x1f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x61,
|
||||
0x64, 0x6d, 0x69, 0x6e, 0x5f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
||||
0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0x57, 0x0a, 0x0b, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x4d, 0x6f,
|
||||
0x64, 0x75, 0x6c, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x41, 0x6c, 0x6c,
|
||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x41, 0x6c, 0x6c,
|
||||
0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
|
||||
0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18,
|
||||
0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x06,
|
||||
0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_admin_module_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x1fmodels/model_admin_module.proto\x12\x02pb\"W\n" +
|
||||
"\vAdminModule\x12\x1a\n" +
|
||||
"\ballowAll\x18\x01 \x01(\bR\ballowAll\x12\x12\n" +
|
||||
"\x04code\x18\x02 \x01(\tR\x04code\x12\x18\n" +
|
||||
"\aactions\x18\x03 \x03(\tR\aactionsB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_admin_module_proto_rawDescOnce sync.Once
|
||||
file_models_model_admin_module_proto_rawDescData = file_models_model_admin_module_proto_rawDesc
|
||||
file_models_model_admin_module_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_admin_module_proto_rawDescGZIP() []byte {
|
||||
file_models_model_admin_module_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_admin_module_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_admin_module_proto_rawDescData)
|
||||
file_models_model_admin_module_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_admin_module_proto_rawDesc), len(file_models_model_admin_module_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_admin_module_proto_rawDescData
|
||||
}
|
||||
@@ -127,7 +124,7 @@ func file_models_model_admin_module_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_admin_module_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_admin_module_proto_rawDesc), len(file_models_model_admin_module_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -138,7 +135,6 @@ func file_models_model_admin_module_proto_init() {
|
||||
MessageInfos: file_models_model_admin_module_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_admin_module_proto = out.File
|
||||
file_models_model_admin_module_proto_rawDesc = nil
|
||||
file_models_model_admin_module_proto_goTypes = nil
|
||||
file_models_model_admin_module_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_api_method_stat.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -122,37 +123,29 @@ func (x *APIMethodStat) GetApiNode() *APINode {
|
||||
|
||||
var File_models_model_api_method_stat_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_api_method_stat_proto_rawDesc = []byte{
|
||||
0x0a, 0x22, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x61,
|
||||
0x70, 0x69, 0x5f, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x2e, 0x70,
|
||||
0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x1b, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73,
|
||||
0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x2e,
|
||||
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xde, 0x01, 0x0a, 0x0d, 0x41, 0x50, 0x49, 0x4d, 0x65, 0x74,
|
||||
0x68, 0x6f, 0x64, 0x53, 0x74, 0x61, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,
|
||||
0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x70, 0x69, 0x4e, 0x6f,
|
||||
0x64, 0x65, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x61, 0x70, 0x69, 0x4e,
|
||||
0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18,
|
||||
0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x10, 0x0a,
|
||||
0x03, 0x74, 0x61, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x74, 0x61, 0x67, 0x12,
|
||||
0x16, 0x0a, 0x06, 0x63, 0x6f, 0x73, 0x74, 0x4d, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x02, 0x52,
|
||||
0x06, 0x63, 0x6f, 0x73, 0x74, 0x4d, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x65, 0x65, 0x6b, 0x4d,
|
||||
0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x02, 0x52, 0x06, 0x70, 0x65, 0x65, 0x6b, 0x4d, 0x73, 0x12,
|
||||
0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x61, 0x6c, 0x6c, 0x73, 0x18, 0x07, 0x20,
|
||||
0x01, 0x28, 0x03, 0x52, 0x0a, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x43, 0x61, 0x6c, 0x6c, 0x73, 0x12,
|
||||
0x25, 0x0a, 0x07, 0x61, 0x70, 0x69, 0x4e, 0x6f, 0x64, 0x65, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x0b,
|
||||
0x32, 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x07, 0x61,
|
||||
0x70, 0x69, 0x4e, 0x6f, 0x64, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06,
|
||||
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_api_method_stat_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\"models/model_api_method_stat.proto\x12\x02pb\x1a\x1bmodels/model_api_node.proto\"\xde\x01\n" +
|
||||
"\rAPIMethodStat\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x1c\n" +
|
||||
"\tapiNodeId\x18\x02 \x01(\x03R\tapiNodeId\x12\x16\n" +
|
||||
"\x06method\x18\x03 \x01(\tR\x06method\x12\x10\n" +
|
||||
"\x03tag\x18\x04 \x01(\tR\x03tag\x12\x16\n" +
|
||||
"\x06costMs\x18\x05 \x01(\x02R\x06costMs\x12\x16\n" +
|
||||
"\x06peekMs\x18\x06 \x01(\x02R\x06peekMs\x12\x1e\n" +
|
||||
"\n" +
|
||||
"countCalls\x18\a \x01(\x03R\n" +
|
||||
"countCalls\x12%\n" +
|
||||
"\aapiNode\x18\x1e \x01(\v2\v.pb.APINodeR\aapiNodeB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_api_method_stat_proto_rawDescOnce sync.Once
|
||||
file_models_model_api_method_stat_proto_rawDescData = file_models_model_api_method_stat_proto_rawDesc
|
||||
file_models_model_api_method_stat_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_api_method_stat_proto_rawDescGZIP() []byte {
|
||||
file_models_model_api_method_stat_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_api_method_stat_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_api_method_stat_proto_rawDescData)
|
||||
file_models_model_api_method_stat_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_api_method_stat_proto_rawDesc), len(file_models_model_api_method_stat_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_api_method_stat_proto_rawDescData
|
||||
}
|
||||
@@ -181,7 +174,7 @@ func file_models_model_api_method_stat_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_api_method_stat_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_api_method_stat_proto_rawDesc), len(file_models_model_api_method_stat_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -192,7 +185,6 @@ func file_models_model_api_method_stat_proto_init() {
|
||||
MessageInfos: file_models_model_api_method_stat_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_api_method_stat_proto = out.File
|
||||
file_models_model_api_method_stat_proto_rawDesc = nil
|
||||
file_models_model_api_method_stat_proto_goTypes = nil
|
||||
file_models_model_api_method_stat_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_api_node.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -202,55 +203,40 @@ func (x *APINode) GetInstanceCode() string {
|
||||
|
||||
var File_models_model_api_node_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_api_node_proto_rawDesc = []byte{
|
||||
0x0a, 0x1b, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x61,
|
||||
0x70, 0x69, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70,
|
||||
0x62, 0x22, 0xa1, 0x04, 0x0a, 0x07, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x0e, 0x0a,
|
||||
0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a,
|
||||
0x04, 0x69, 0x73, 0x4f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f,
|
||||
0x6e, 0x12, 0x24, 0x0a, 0x0d, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72,
|
||||
0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6c,
|
||||
0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x6e, 0x69, 0x71, 0x75,
|
||||
0x65, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x6e, 0x69, 0x71, 0x75,
|
||||
0x65, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x05, 0x20,
|
||||
0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e,
|
||||
0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12,
|
||||
0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07,
|
||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
|
||||
0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x74, 0x74, 0x70, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x08, 0x20,
|
||||
0x01, 0x28, 0x0c, 0x52, 0x08, 0x68, 0x74, 0x74, 0x70, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x1c, 0x0a,
|
||||
0x09, 0x68, 0x74, 0x74, 0x70, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0c,
|
||||
0x52, 0x09, 0x68, 0x74, 0x74, 0x70, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x1a, 0x0a, 0x08, 0x52,
|
||||
0x65, 0x73, 0x74, 0x49, 0x73, 0x4f, 0x6e, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x52,
|
||||
0x65, 0x73, 0x74, 0x49, 0x73, 0x4f, 0x6e, 0x12, 0x22, 0x0a, 0x0c, 0x72, 0x65, 0x73, 0x74, 0x48,
|
||||
0x54, 0x54, 0x50, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x72,
|
||||
0x65, 0x73, 0x74, 0x48, 0x54, 0x54, 0x50, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x24, 0x0a, 0x0d, 0x72,
|
||||
0x65, 0x73, 0x74, 0x48, 0x54, 0x54, 0x50, 0x53, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x0f, 0x20, 0x01,
|
||||
0x28, 0x0c, 0x52, 0x0d, 0x72, 0x65, 0x73, 0x74, 0x48, 0x54, 0x54, 0x50, 0x53, 0x4a, 0x53, 0x4f,
|
||||
0x4e, 0x12, 0x28, 0x0a, 0x0f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x41, 0x64, 0x64, 0x72, 0x73,
|
||||
0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x61, 0x63, 0x63, 0x65,
|
||||
0x73, 0x73, 0x41, 0x64, 0x64, 0x72, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x20, 0x0a, 0x0b, 0x61,
|
||||
0x63, 0x63, 0x65, 0x73, 0x73, 0x41, 0x64, 0x64, 0x72, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x09,
|
||||
0x52, 0x0b, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x41, 0x64, 0x64, 0x72, 0x73, 0x12, 0x1e, 0x0a,
|
||||
0x0a, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x0c, 0x20, 0x01, 0x28,
|
||||
0x0c, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x1c, 0x0a,
|
||||
0x09, 0x69, 0x73, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x10, 0x20, 0x01, 0x28, 0x08,
|
||||
0x52, 0x09, 0x69, 0x73, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x64,
|
||||
0x65, 0x62, 0x75, 0x67, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x64, 0x65, 0x62, 0x75,
|
||||
0x67, 0x12, 0x22, 0x0a, 0x0c, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x43, 0x6f, 0x64,
|
||||
0x65, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63,
|
||||
0x65, 0x43, 0x6f, 0x64, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70,
|
||||
0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_api_node_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x1bmodels/model_api_node.proto\x12\x02pb\"\xa1\x04\n" +
|
||||
"\aAPINode\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
||||
"\x04isOn\x18\x02 \x01(\bR\x04isOn\x12$\n" +
|
||||
"\rnodeClusterId\x18\x03 \x01(\x03R\rnodeClusterId\x12\x1a\n" +
|
||||
"\buniqueId\x18\x04 \x01(\tR\buniqueId\x12\x16\n" +
|
||||
"\x06secret\x18\x05 \x01(\tR\x06secret\x12\x12\n" +
|
||||
"\x04name\x18\x06 \x01(\tR\x04name\x12 \n" +
|
||||
"\vdescription\x18\a \x01(\tR\vdescription\x12\x1a\n" +
|
||||
"\bhttpJSON\x18\b \x01(\fR\bhttpJSON\x12\x1c\n" +
|
||||
"\thttpsJSON\x18\t \x01(\fR\thttpsJSON\x12\x1a\n" +
|
||||
"\bRestIsOn\x18\r \x01(\bR\bRestIsOn\x12\"\n" +
|
||||
"\frestHTTPJSON\x18\x0e \x01(\fR\frestHTTPJSON\x12$\n" +
|
||||
"\rrestHTTPSJSON\x18\x0f \x01(\fR\rrestHTTPSJSON\x12(\n" +
|
||||
"\x0faccessAddrsJSON\x18\n" +
|
||||
" \x01(\fR\x0faccessAddrsJSON\x12 \n" +
|
||||
"\vaccessAddrs\x18\v \x03(\tR\vaccessAddrs\x12\x1e\n" +
|
||||
"\n" +
|
||||
"statusJSON\x18\f \x01(\fR\n" +
|
||||
"statusJSON\x12\x1c\n" +
|
||||
"\tisPrimary\x18\x10 \x01(\bR\tisPrimary\x12\x14\n" +
|
||||
"\x05debug\x18\x1e \x01(\bR\x05debug\x12\"\n" +
|
||||
"\finstanceCode\x18\x1f \x01(\tR\finstanceCodeB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_api_node_proto_rawDescOnce sync.Once
|
||||
file_models_model_api_node_proto_rawDescData = file_models_model_api_node_proto_rawDesc
|
||||
file_models_model_api_node_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_api_node_proto_rawDescGZIP() []byte {
|
||||
file_models_model_api_node_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_api_node_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_api_node_proto_rawDescData)
|
||||
file_models_model_api_node_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_api_node_proto_rawDesc), len(file_models_model_api_node_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_api_node_proto_rawDescData
|
||||
}
|
||||
@@ -276,7 +262,7 @@ func file_models_model_api_node_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_api_node_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_api_node_proto_rawDesc), len(file_models_model_api_node_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -287,7 +273,6 @@ func file_models_model_api_node_proto_init() {
|
||||
MessageInfos: file_models_model_api_node_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_api_node_proto = out.File
|
||||
file_models_model_api_node_proto_rawDesc = nil
|
||||
file_models_model_api_node_proto_goTypes = nil
|
||||
file_models_model_api_node_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_api_token.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -91,27 +92,23 @@ func (x *APIToken) GetRole() string {
|
||||
|
||||
var File_models_model_api_token_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_api_token_proto_rawDesc = []byte{
|
||||
0x0a, 0x1c, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x61,
|
||||
0x70, 0x69, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02,
|
||||
0x70, 0x62, 0x22, 0x5e, 0x0a, 0x08, 0x41, 0x50, 0x49, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x0e,
|
||||
0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x16,
|
||||
0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
|
||||
0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74,
|
||||
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x12,
|
||||
0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x72, 0x6f,
|
||||
0x6c, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
|
||||
0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_api_token_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x1cmodels/model_api_token.proto\x12\x02pb\"^\n" +
|
||||
"\bAPIToken\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x16\n" +
|
||||
"\x06nodeId\x18\x02 \x01(\tR\x06nodeId\x12\x16\n" +
|
||||
"\x06secret\x18\x03 \x01(\tR\x06secret\x12\x12\n" +
|
||||
"\x04role\x18\x04 \x01(\tR\x04roleB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_api_token_proto_rawDescOnce sync.Once
|
||||
file_models_model_api_token_proto_rawDescData = file_models_model_api_token_proto_rawDesc
|
||||
file_models_model_api_token_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_api_token_proto_rawDescGZIP() []byte {
|
||||
file_models_model_api_token_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_api_token_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_api_token_proto_rawDescData)
|
||||
file_models_model_api_token_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_api_token_proto_rawDesc), len(file_models_model_api_token_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_api_token_proto_rawDescData
|
||||
}
|
||||
@@ -137,7 +134,7 @@ func file_models_model_api_token_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_api_token_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_api_token_proto_rawDesc), len(file_models_model_api_token_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -148,7 +145,6 @@ func file_models_model_api_token_proto_init() {
|
||||
MessageInfos: file_models_model_api_token_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_api_token_proto = out.File
|
||||
file_models_model_api_token_proto_rawDesc = nil
|
||||
file_models_model_api_token_proto_goTypes = nil
|
||||
file_models_model_api_token_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_authority_key.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -147,41 +148,33 @@ func (x *AuthorityKey) GetRequestCode() string {
|
||||
|
||||
var File_models_model_authority_key_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_authority_key_proto_rawDesc = []byte{
|
||||
0x0a, 0x20, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x61,
|
||||
0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x6b, 0x65, 0x79, 0x2e, 0x70, 0x72, 0x6f,
|
||||
0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0xbe, 0x02, 0x0a, 0x0c, 0x41, 0x75, 0x74, 0x68, 0x6f,
|
||||
0x72, 0x69, 0x74, 0x79, 0x4b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
|
||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x18, 0x0a,
|
||||
0x07, 0x64, 0x61, 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
|
||||
0x64, 0x61, 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x61, 0x79, 0x54, 0x6f,
|
||||
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x61, 0x79, 0x54, 0x6f, 0x12, 0x1a, 0x0a,
|
||||
0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||
0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x6d, 0x61, 0x63,
|
||||
0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52,
|
||||
0x0c, 0x6d, 0x61, 0x63, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x1c, 0x0a,
|
||||
0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03,
|
||||
0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x63,
|
||||
0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f,
|
||||
0x6d, 0x70, 0x61, 0x6e, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x08,
|
||||
0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x63,
|
||||
0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, 0x52,
|
||||
0x0a, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x65,
|
||||
0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, 0x64,
|
||||
0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||||
0x43, 0x6f, 0x64, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x71, 0x75,
|
||||
0x65, 0x73, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62,
|
||||
0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_authority_key_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
" models/model_authority_key.proto\x12\x02pb\"\xbe\x02\n" +
|
||||
"\fAuthorityKey\x12\x14\n" +
|
||||
"\x05value\x18\x01 \x01(\tR\x05value\x12\x18\n" +
|
||||
"\adayFrom\x18\x02 \x01(\tR\adayFrom\x12\x14\n" +
|
||||
"\x05dayTo\x18\x03 \x01(\tR\x05dayTo\x12\x1a\n" +
|
||||
"\bhostname\x18\x04 \x01(\tR\bhostname\x12\"\n" +
|
||||
"\fmacAddresses\x18\x05 \x03(\tR\fmacAddresses\x12\x1c\n" +
|
||||
"\tupdatedAt\x18\x06 \x01(\x03R\tupdatedAt\x12\x18\n" +
|
||||
"\acompany\x18\a \x01(\tR\acompany\x12\x14\n" +
|
||||
"\x05nodes\x18\b \x01(\x05R\x05nodes\x12\x1e\n" +
|
||||
"\n" +
|
||||
"components\x18\t \x03(\tR\n" +
|
||||
"components\x12\x18\n" +
|
||||
"\aedition\x18\n" +
|
||||
" \x01(\tR\aedition\x12 \n" +
|
||||
"\vrequestCode\x18\v \x01(\tR\vrequestCodeB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_authority_key_proto_rawDescOnce sync.Once
|
||||
file_models_model_authority_key_proto_rawDescData = file_models_model_authority_key_proto_rawDesc
|
||||
file_models_model_authority_key_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_authority_key_proto_rawDescGZIP() []byte {
|
||||
file_models_model_authority_key_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_authority_key_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_authority_key_proto_rawDescData)
|
||||
file_models_model_authority_key_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_authority_key_proto_rawDesc), len(file_models_model_authority_key_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_authority_key_proto_rawDescData
|
||||
}
|
||||
@@ -207,7 +200,7 @@ func file_models_model_authority_key_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_authority_key_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_authority_key_proto_rawDesc), len(file_models_model_authority_key_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -218,7 +211,6 @@ func file_models_model_authority_key_proto_init() {
|
||||
MessageInfos: file_models_model_authority_key_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_authority_key_proto = out.File
|
||||
file_models_model_authority_key_proto_rawDesc = nil
|
||||
file_models_model_authority_key_proto_goTypes = nil
|
||||
file_models_model_authority_key_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_authority_node.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -114,33 +115,28 @@ func (x *AuthorityNode) GetStatusJSON() []byte {
|
||||
|
||||
var File_models_model_authority_node_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_authority_node_proto_rawDesc = []byte{
|
||||
0x0a, 0x21, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x61,
|
||||
0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72,
|
||||
0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0xbd, 0x01, 0x0a, 0x0d, 0x41, 0x75, 0x74, 0x68,
|
||||
0x6f, 0x72, 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18,
|
||||
0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f,
|
||||
0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x12, 0x1a, 0x0a,
|
||||
0x08, 0x75, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||
0x08, 0x75, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x63,
|
||||
0x72, 0x65, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65,
|
||||
0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
|
||||
0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63,
|
||||
0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x75,
|
||||
0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x73, 0x74, 0x61,
|
||||
0x74, 0x75, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62,
|
||||
0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_authority_node_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"!models/model_authority_node.proto\x12\x02pb\"\xbd\x01\n" +
|
||||
"\rAuthorityNode\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
||||
"\x04isOn\x18\x02 \x01(\bR\x04isOn\x12\x1a\n" +
|
||||
"\buniqueId\x18\x03 \x01(\tR\buniqueId\x12\x16\n" +
|
||||
"\x06secret\x18\x04 \x01(\tR\x06secret\x12\x12\n" +
|
||||
"\x04name\x18\x05 \x01(\tR\x04name\x12 \n" +
|
||||
"\vdescription\x18\x06 \x01(\tR\vdescription\x12\x1e\n" +
|
||||
"\n" +
|
||||
"statusJSON\x18\a \x01(\fR\n" +
|
||||
"statusJSONB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_authority_node_proto_rawDescOnce sync.Once
|
||||
file_models_model_authority_node_proto_rawDescData = file_models_model_authority_node_proto_rawDesc
|
||||
file_models_model_authority_node_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_authority_node_proto_rawDescGZIP() []byte {
|
||||
file_models_model_authority_node_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_authority_node_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_authority_node_proto_rawDescData)
|
||||
file_models_model_authority_node_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_authority_node_proto_rawDesc), len(file_models_model_authority_node_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_authority_node_proto_rawDescData
|
||||
}
|
||||
@@ -166,7 +162,7 @@ func file_models_model_authority_node_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_authority_node_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_authority_node_proto_rawDesc), len(file_models_model_authority_node_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -177,7 +173,6 @@ func file_models_model_authority_node_proto_init() {
|
||||
MessageInfos: file_models_model_authority_node_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_authority_node_proto = out.File
|
||||
file_models_model_authority_node_proto_rawDesc = nil
|
||||
file_models_model_authority_node_proto_goTypes = nil
|
||||
file_models_model_authority_node_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_client_agent.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -98,29 +99,24 @@ func (x *ClientAgent) GetCountIPs() int64 {
|
||||
|
||||
var File_models_model_client_agent_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_client_agent_proto_rawDesc = []byte{
|
||||
0x0a, 0x1f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x63,
|
||||
0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
||||
0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0x83, 0x01, 0x0a, 0x0b, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74,
|
||||
0x41, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||
0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20,
|
||||
0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64,
|
||||
0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x20, 0x0a,
|
||||
0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01,
|
||||
0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12,
|
||||
0x1a, 0x0a, 0x08, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x50, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28,
|
||||
0x03, 0x52, 0x08, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x50, 0x73, 0x42, 0x06, 0x5a, 0x04, 0x2e,
|
||||
0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_client_agent_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x1fmodels/model_client_agent.proto\x12\x02pb\"\x83\x01\n" +
|
||||
"\vClientAgent\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
||||
"\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n" +
|
||||
"\x04code\x18\x03 \x01(\tR\x04code\x12 \n" +
|
||||
"\vdescription\x18\x04 \x01(\tR\vdescription\x12\x1a\n" +
|
||||
"\bcountIPs\x18\x05 \x01(\x03R\bcountIPsB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_client_agent_proto_rawDescOnce sync.Once
|
||||
file_models_model_client_agent_proto_rawDescData = file_models_model_client_agent_proto_rawDesc
|
||||
file_models_model_client_agent_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_client_agent_proto_rawDescGZIP() []byte {
|
||||
file_models_model_client_agent_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_client_agent_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_client_agent_proto_rawDescData)
|
||||
file_models_model_client_agent_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_client_agent_proto_rawDesc), len(file_models_model_client_agent_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_client_agent_proto_rawDescData
|
||||
}
|
||||
@@ -146,7 +142,7 @@ func file_models_model_client_agent_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_client_agent_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_client_agent_proto_rawDesc), len(file_models_model_client_agent_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -157,7 +153,6 @@ func file_models_model_client_agent_proto_init() {
|
||||
MessageInfos: file_models_model_client_agent_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_client_agent_proto = out.File
|
||||
file_models_model_client_agent_proto_rawDesc = nil
|
||||
file_models_model_client_agent_proto_goTypes = nil
|
||||
file_models_model_client_agent_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_client_agent_ip.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -90,30 +91,23 @@ func (x *ClientAgentIP) GetClientAgent() *ClientAgent {
|
||||
|
||||
var File_models_model_client_agent_ip_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_client_agent_ip_proto_rawDesc = []byte{
|
||||
0x0a, 0x22, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x63,
|
||||
0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x70, 0x2e, 0x70,
|
||||
0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x1f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73,
|
||||
0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x61, 0x67,
|
||||
0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x74, 0x0a, 0x0d, 0x43, 0x6c, 0x69,
|
||||
0x65, 0x6e, 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x49, 0x50, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64,
|
||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x70,
|
||||
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x74,
|
||||
0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x70, 0x74, 0x72, 0x12, 0x31, 0x0a, 0x0b,
|
||||
0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x18, 0x1e, 0x20, 0x01, 0x28,
|
||||
0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x41, 0x67, 0x65,
|
||||
0x6e, 0x74, 0x52, 0x0b, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x42,
|
||||
0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_client_agent_ip_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\"models/model_client_agent_ip.proto\x12\x02pb\x1a\x1fmodels/model_client_agent.proto\"t\n" +
|
||||
"\rClientAgentIP\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x0e\n" +
|
||||
"\x02ip\x18\x02 \x01(\tR\x02ip\x12\x10\n" +
|
||||
"\x03ptr\x18\x03 \x01(\tR\x03ptr\x121\n" +
|
||||
"\vclientAgent\x18\x1e \x01(\v2\x0f.pb.ClientAgentR\vclientAgentB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_client_agent_ip_proto_rawDescOnce sync.Once
|
||||
file_models_model_client_agent_ip_proto_rawDescData = file_models_model_client_agent_ip_proto_rawDesc
|
||||
file_models_model_client_agent_ip_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_client_agent_ip_proto_rawDescGZIP() []byte {
|
||||
file_models_model_client_agent_ip_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_client_agent_ip_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_client_agent_ip_proto_rawDescData)
|
||||
file_models_model_client_agent_ip_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_client_agent_ip_proto_rawDesc), len(file_models_model_client_agent_ip_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_client_agent_ip_proto_rawDescData
|
||||
}
|
||||
@@ -142,7 +136,7 @@ func file_models_model_client_agent_ip_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_client_agent_ip_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_client_agent_ip_proto_rawDesc), len(file_models_model_client_agent_ip_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -153,7 +147,6 @@ func file_models_model_client_agent_ip_proto_init() {
|
||||
MessageInfos: file_models_model_client_agent_ip_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_client_agent_ip_proto = out.File
|
||||
file_models_model_client_agent_ip_proto_rawDesc = nil
|
||||
file_models_model_client_agent_ip_proto_goTypes = nil
|
||||
file_models_model_client_agent_ip_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_client_browser.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -74,24 +75,21 @@ func (x *ClientBrowser) GetName() string {
|
||||
|
||||
var File_models_model_client_browser_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_client_browser_proto_rawDesc = []byte{
|
||||
0x0a, 0x21, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x63,
|
||||
0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x62, 0x72, 0x6f, 0x77, 0x73, 0x65, 0x72, 0x2e, 0x70, 0x72,
|
||||
0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0x33, 0x0a, 0x0d, 0x43, 0x6c, 0x69, 0x65, 0x6e,
|
||||
0x74, 0x42, 0x72, 0x6f, 0x77, 0x73, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
|
||||
0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
|
||||
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x06, 0x5a, 0x04,
|
||||
0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_client_browser_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"!models/model_client_browser.proto\x12\x02pb\"3\n" +
|
||||
"\rClientBrowser\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
||||
"\x04name\x18\x02 \x01(\tR\x04nameB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_client_browser_proto_rawDescOnce sync.Once
|
||||
file_models_model_client_browser_proto_rawDescData = file_models_model_client_browser_proto_rawDesc
|
||||
file_models_model_client_browser_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_client_browser_proto_rawDescGZIP() []byte {
|
||||
file_models_model_client_browser_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_client_browser_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_client_browser_proto_rawDescData)
|
||||
file_models_model_client_browser_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_client_browser_proto_rawDesc), len(file_models_model_client_browser_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_client_browser_proto_rawDescData
|
||||
}
|
||||
@@ -117,7 +115,7 @@ func file_models_model_client_browser_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_client_browser_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_client_browser_proto_rawDesc), len(file_models_model_client_browser_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -128,7 +126,6 @@ func file_models_model_client_browser_proto_init() {
|
||||
MessageInfos: file_models_model_client_browser_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_client_browser_proto = out.File
|
||||
file_models_model_client_browser_proto_rawDesc = nil
|
||||
file_models_model_client_browser_proto_goTypes = nil
|
||||
file_models_model_client_browser_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_client_system.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -74,24 +75,21 @@ func (x *ClientSystem) GetName() string {
|
||||
|
||||
var File_models_model_client_system_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_client_system_proto_rawDesc = []byte{
|
||||
0x0a, 0x20, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x63,
|
||||
0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x70, 0x72, 0x6f,
|
||||
0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0x32, 0x0a, 0x0c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74,
|
||||
0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
|
||||
0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02,
|
||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f,
|
||||
0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_client_system_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
" models/model_client_system.proto\x12\x02pb\"2\n" +
|
||||
"\fClientSystem\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
||||
"\x04name\x18\x02 \x01(\tR\x04nameB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_client_system_proto_rawDescOnce sync.Once
|
||||
file_models_model_client_system_proto_rawDescData = file_models_model_client_system_proto_rawDesc
|
||||
file_models_model_client_system_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_client_system_proto_rawDescGZIP() []byte {
|
||||
file_models_model_client_system_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_client_system_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_client_system_proto_rawDescData)
|
||||
file_models_model_client_system_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_client_system_proto_rawDesc), len(file_models_model_client_system_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_client_system_proto_rawDescData
|
||||
}
|
||||
@@ -117,7 +115,7 @@ func file_models_model_client_system_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_client_system_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_client_system_proto_rawDesc), len(file_models_model_client_system_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -128,7 +126,6 @@ func file_models_model_client_system_proto_init() {
|
||||
MessageInfos: file_models_model_client_system_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_client_system_proto = out.File
|
||||
file_models_model_client_system_proto_rawDesc = nil
|
||||
file_models_model_client_system_proto_goTypes = nil
|
||||
file_models_model_client_system_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_db_node.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -214,45 +215,36 @@ func (x *DBNodeStatus) GetVersion() string {
|
||||
|
||||
var File_models_model_db_node_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_db_node_proto_rawDesc = []byte{
|
||||
0x0a, 0x1a, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x64,
|
||||
0x62, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62,
|
||||
0x22, 0xa2, 0x02, 0x0a, 0x06, 0x44, 0x42, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69,
|
||||
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e,
|
||||
0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12,
|
||||
0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03,
|
||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
|
||||
0x6e, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52,
|
||||
0x04, 0x69, 0x73, 0x4f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x05, 0x20,
|
||||
0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72,
|
||||
0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x1a, 0x0a,
|
||||
0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||
0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65,
|
||||
0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65,
|
||||
0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72,
|
||||
0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72,
|
||||
0x64, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x72, 0x73, 0x65, 0x74, 0x18, 0x0a, 0x20, 0x01,
|
||||
0x28, 0x09, 0x52, 0x07, 0x63, 0x68, 0x61, 0x72, 0x73, 0x65, 0x74, 0x12, 0x28, 0x0a, 0x06, 0x73,
|
||||
0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x62,
|
||||
0x2e, 0x44, 0x42, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73,
|
||||
0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x66, 0x0a, 0x0c, 0x44, 0x42, 0x4e, 0x6f, 0x64, 0x65, 0x53,
|
||||
0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, 0x6b, 0x18, 0x01, 0x20,
|
||||
0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a,
|
||||
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x14, 0x0a,
|
||||
0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72,
|
||||
0x72, 0x6f, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04,
|
||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x06, 0x5a,
|
||||
0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_db_node_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x1amodels/model_db_node.proto\x12\x02pb\"\xa2\x02\n" +
|
||||
"\x06DBNode\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
||||
"\x04name\x18\x02 \x01(\tR\x04name\x12 \n" +
|
||||
"\vdescription\x18\x03 \x01(\tR\vdescription\x12\x12\n" +
|
||||
"\x04isOn\x18\x04 \x01(\bR\x04isOn\x12\x12\n" +
|
||||
"\x04host\x18\x05 \x01(\tR\x04host\x12\x12\n" +
|
||||
"\x04port\x18\x06 \x01(\x05R\x04port\x12\x1a\n" +
|
||||
"\bdatabase\x18\a \x01(\tR\bdatabase\x12\x1a\n" +
|
||||
"\busername\x18\b \x01(\tR\busername\x12\x1a\n" +
|
||||
"\bpassword\x18\t \x01(\tR\bpassword\x12\x18\n" +
|
||||
"\acharset\x18\n" +
|
||||
" \x01(\tR\acharset\x12(\n" +
|
||||
"\x06status\x18\x1e \x01(\v2\x10.pb.DBNodeStatusR\x06status\"f\n" +
|
||||
"\fDBNodeStatus\x12\x12\n" +
|
||||
"\x04isOk\x18\x01 \x01(\bR\x04isOk\x12\x12\n" +
|
||||
"\x04size\x18\x02 \x01(\x03R\x04size\x12\x14\n" +
|
||||
"\x05error\x18\x03 \x01(\tR\x05error\x12\x18\n" +
|
||||
"\aversion\x18\x04 \x01(\tR\aversionB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_db_node_proto_rawDescOnce sync.Once
|
||||
file_models_model_db_node_proto_rawDescData = file_models_model_db_node_proto_rawDesc
|
||||
file_models_model_db_node_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_db_node_proto_rawDescGZIP() []byte {
|
||||
file_models_model_db_node_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_db_node_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_db_node_proto_rawDescData)
|
||||
file_models_model_db_node_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_db_node_proto_rawDesc), len(file_models_model_db_node_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_db_node_proto_rawDescData
|
||||
}
|
||||
@@ -280,7 +272,7 @@ func file_models_model_db_node_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_db_node_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_db_node_proto_rawDesc), len(file_models_model_db_node_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 2,
|
||||
NumExtensions: 0,
|
||||
@@ -291,7 +283,6 @@ func file_models_model_db_node_proto_init() {
|
||||
MessageInfos: file_models_model_db_node_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_db_node_proto = out.File
|
||||
file_models_model_db_node_proto_rawDesc = nil
|
||||
file_models_model_db_node_proto_goTypes = nil
|
||||
file_models_model_db_node_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_db_table.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -155,41 +156,34 @@ func (x *DBTable) GetCanDelete() bool {
|
||||
|
||||
var File_models_model_db_table_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_db_table_proto_rawDesc = []byte{
|
||||
0x0a, 0x1b, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x64,
|
||||
0x62, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70,
|
||||
0x62, 0x22, 0xcb, 0x02, 0x0a, 0x07, 0x44, 0x42, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x12, 0x0a,
|
||||
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
|
||||
0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28,
|
||||
0x09, 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70,
|
||||
0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a,
|
||||
0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65,
|
||||
0x6e, 0x67, 0x69, 0x6e, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x05, 0x20,
|
||||
0x01, 0x28, 0x03, 0x52, 0x04, 0x72, 0x6f, 0x77, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x61, 0x74,
|
||||
0x61, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x64,
|
||||
0x61, 0x74, 0x61, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x20, 0x0a, 0x0b, 0x69, 0x6e, 0x64,
|
||||
0x65, 0x78, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b,
|
||||
0x69, 0x6e, 0x64, 0x65, 0x78, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x18, 0x0a, 0x07, 0x63,
|
||||
0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f,
|
||||
0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x69,
|
||||
0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x74,
|
||||
0x69, 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x69, 0x73, 0x42, 0x61, 0x73, 0x65, 0x54, 0x61, 0x62,
|
||||
0x6c, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x42, 0x61, 0x73, 0x65,
|
||||
0x54, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x61, 0x6e, 0x43, 0x6c, 0x65, 0x61,
|
||||
0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x63, 0x61, 0x6e, 0x43, 0x6c, 0x65, 0x61,
|
||||
0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x61, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x18, 0x0c,
|
||||
0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x63, 0x61, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42,
|
||||
0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_db_table_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x1bmodels/model_db_table.proto\x12\x02pb\"\xcb\x02\n" +
|
||||
"\aDBTable\x12\x12\n" +
|
||||
"\x04name\x18\x01 \x01(\tR\x04name\x12\x16\n" +
|
||||
"\x06schema\x18\x02 \x01(\tR\x06schema\x12\x12\n" +
|
||||
"\x04type\x18\x03 \x01(\tR\x04type\x12\x16\n" +
|
||||
"\x06engine\x18\x04 \x01(\tR\x06engine\x12\x12\n" +
|
||||
"\x04rows\x18\x05 \x01(\x03R\x04rows\x12\x1e\n" +
|
||||
"\n" +
|
||||
"dataLength\x18\x06 \x01(\x03R\n" +
|
||||
"dataLength\x12 \n" +
|
||||
"\vindexLength\x18\a \x01(\x03R\vindexLength\x12\x18\n" +
|
||||
"\acomment\x18\b \x01(\tR\acomment\x12\x1c\n" +
|
||||
"\tcollation\x18\t \x01(\tR\tcollation\x12 \n" +
|
||||
"\visBaseTable\x18\n" +
|
||||
" \x01(\bR\visBaseTable\x12\x1a\n" +
|
||||
"\bcanClean\x18\v \x01(\bR\bcanClean\x12\x1c\n" +
|
||||
"\tcanDelete\x18\f \x01(\bR\tcanDeleteB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_db_table_proto_rawDescOnce sync.Once
|
||||
file_models_model_db_table_proto_rawDescData = file_models_model_db_table_proto_rawDesc
|
||||
file_models_model_db_table_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_db_table_proto_rawDescGZIP() []byte {
|
||||
file_models_model_db_table_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_db_table_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_db_table_proto_rawDescData)
|
||||
file_models_model_db_table_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_db_table_proto_rawDesc), len(file_models_model_db_table_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_db_table_proto_rawDescData
|
||||
}
|
||||
@@ -215,7 +209,7 @@ func file_models_model_db_table_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_db_table_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_db_table_proto_rawDesc), len(file_models_model_db_table_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -226,7 +220,6 @@ func file_models_model_db_table_proto_init() {
|
||||
MessageInfos: file_models_model_db_table_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_db_table_proto = out.File
|
||||
file_models_model_db_table_proto_rawDesc = nil
|
||||
file_models_model_db_table_proto_goTypes = nil
|
||||
file_models_model_db_table_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_dns_domain.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -186,57 +187,38 @@ func (x *DNSDomain) GetIsDeleted() bool {
|
||||
|
||||
var File_models_model_dns_domain_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_dns_domain_proto_rawDesc = []byte{
|
||||
0x0a, 0x1d, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x64,
|
||||
0x6e, 0x73, 0x5f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
|
||||
0x02, 0x70, 0x62, 0x1a, 0x1c, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65,
|
||||
0x6c, 0x5f, 0x64, 0x6e, 0x73, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
||||
0x6f, 0x22, 0xa5, 0x04, 0x0a, 0x09, 0x44, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12,
|
||||
0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12,
|
||||
0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,
|
||||
0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28,
|
||||
0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x12, 0x24, 0x0a, 0x0d, 0x64, 0x61, 0x74, 0x61, 0x55,
|
||||
0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d,
|
||||
0x64, 0x61, 0x74, 0x61, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1c, 0x0a,
|
||||
0x09, 0x64, 0x61, 0x74, 0x61, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09,
|
||||
0x52, 0x09, 0x64, 0x61, 0x74, 0x61, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x2e, 0x0a, 0x12, 0x63,
|
||||
0x6f, 0x75, 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64,
|
||||
0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x65,
|
||||
0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x12, 0x28, 0x0a, 0x0f, 0x63,
|
||||
0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x18, 0x0d,
|
||||
0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x53, 0x65,
|
||||
0x72, 0x76, 0x65, 0x72, 0x73, 0x12, 0x26, 0x0a, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73,
|
||||
0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x73,
|
||||
0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x12, 0x2a, 0x0a,
|
||||
0x10, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64,
|
||||
0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x6f,
|
||||
0x64, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x12, 0x24, 0x0a, 0x0d, 0x63, 0x6f, 0x75,
|
||||
0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x03,
|
||||
0x52, 0x0d, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x12,
|
||||
0x22, 0x0a, 0x0c, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x18,
|
||||
0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x43, 0x68, 0x61, 0x6e,
|
||||
0x67, 0x65, 0x64, 0x12, 0x24, 0x0a, 0x06, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x18, 0x0a, 0x20,
|
||||
0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74,
|
||||
0x65, 0x52, 0x06, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x6f,
|
||||
0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x70,
|
||||
0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x2c, 0x0a, 0x11, 0x63, 0x6f, 0x75,
|
||||
0x6e, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x18, 0x0c,
|
||||
0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x43,
|
||||
0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x55, 0x70, 0x18,
|
||||
0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x55, 0x70, 0x12, 0x1c, 0x0a, 0x09, 0x69,
|
||||
0x73, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x18, 0x10, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09,
|
||||
0x69, 0x73, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70,
|
||||
0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_dns_domain_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x1dmodels/model_dns_domain.proto\x12\x02pb\x1a\x1cmodels/model_dns_route.proto\"\xa5\x04\n" +
|
||||
"\tDNSDomain\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
||||
"\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n" +
|
||||
"\x04isOn\x18\x03 \x01(\bR\x04isOn\x12$\n" +
|
||||
"\rdataUpdatedAt\x18\x04 \x01(\x03R\rdataUpdatedAt\x12\x1c\n" +
|
||||
"\tdataError\x18\x05 \x01(\tR\tdataError\x12.\n" +
|
||||
"\x12countServerRecords\x18\x06 \x01(\x03R\x12countServerRecords\x12(\n" +
|
||||
"\x0fcountAllServers\x18\r \x01(\x03R\x0fcountAllServers\x12&\n" +
|
||||
"\x0eserversChanged\x18\a \x01(\bR\x0eserversChanged\x12*\n" +
|
||||
"\x10countNodeRecords\x18\b \x01(\x03R\x10countNodeRecords\x12$\n" +
|
||||
"\rcountAllNodes\x18\x0e \x01(\x03R\rcountAllNodes\x12\"\n" +
|
||||
"\fnodesChanged\x18\t \x01(\bR\fnodesChanged\x12$\n" +
|
||||
"\x06routes\x18\n" +
|
||||
" \x03(\v2\f.pb.DNSRouteR\x06routes\x12\x1e\n" +
|
||||
"\n" +
|
||||
"providerId\x18\v \x01(\x03R\n" +
|
||||
"providerId\x12,\n" +
|
||||
"\x11countNodeClusters\x18\f \x01(\x03R\x11countNodeClusters\x12\x12\n" +
|
||||
"\x04isUp\x18\x0f \x01(\bR\x04isUp\x12\x1c\n" +
|
||||
"\tisDeleted\x18\x10 \x01(\bR\tisDeletedB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_dns_domain_proto_rawDescOnce sync.Once
|
||||
file_models_model_dns_domain_proto_rawDescData = file_models_model_dns_domain_proto_rawDesc
|
||||
file_models_model_dns_domain_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_dns_domain_proto_rawDescGZIP() []byte {
|
||||
file_models_model_dns_domain_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_dns_domain_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_dns_domain_proto_rawDescData)
|
||||
file_models_model_dns_domain_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_dns_domain_proto_rawDesc), len(file_models_model_dns_domain_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_dns_domain_proto_rawDescData
|
||||
}
|
||||
@@ -265,7 +247,7 @@ func file_models_model_dns_domain_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_dns_domain_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_dns_domain_proto_rawDesc), len(file_models_model_dns_domain_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -276,7 +258,6 @@ func file_models_model_dns_domain_proto_init() {
|
||||
MessageInfos: file_models_model_dns_domain_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_dns_domain_proto = out.File
|
||||
file_models_model_dns_domain_proto_rawDesc = nil
|
||||
file_models_model_dns_domain_proto_goTypes = nil
|
||||
file_models_model_dns_domain_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_dns_issue.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -106,36 +107,28 @@ func (x *DNSIssue) GetMustFix() bool {
|
||||
|
||||
var File_models_model_dns_issue_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_dns_issue_proto_rawDesc = []byte{
|
||||
0x0a, 0x1c, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x64,
|
||||
0x6e, 0x73, 0x5f, 0x69, 0x73, 0x73, 0x75, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02,
|
||||
0x70, 0x62, 0x22, 0xfb, 0x01, 0x0a, 0x08, 0x44, 0x4e, 0x53, 0x49, 0x73, 0x73, 0x75, 0x65, 0x12,
|
||||
0x16, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||
0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x61, 0x72, 0x67, 0x65,
|
||||
0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x74, 0x61, 0x72, 0x67, 0x65,
|
||||
0x74, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
|
||||
0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72,
|
||||
0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65,
|
||||
0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x30, 0x0a, 0x06, 0x70, 0x61, 0x72,
|
||||
0x61, 0x6d, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x44,
|
||||
0x4e, 0x53, 0x49, 0x73, 0x73, 0x75, 0x65, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x45, 0x6e,
|
||||
0x74, 0x72, 0x79, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6d,
|
||||
0x75, 0x73, 0x74, 0x46, 0x69, 0x78, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x6d, 0x75,
|
||||
0x73, 0x74, 0x46, 0x69, 0x78, 0x1a, 0x39, 0x0a, 0x0b, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x45,
|
||||
0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||
0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
|
||||
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01,
|
||||
0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_dns_issue_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x1cmodels/model_dns_issue.proto\x12\x02pb\"\xfb\x01\n" +
|
||||
"\bDNSIssue\x12\x16\n" +
|
||||
"\x06target\x18\x01 \x01(\tR\x06target\x12\x1a\n" +
|
||||
"\btargetId\x18\x02 \x01(\x03R\btargetId\x12\x12\n" +
|
||||
"\x04type\x18\x03 \x01(\tR\x04type\x12 \n" +
|
||||
"\vdescription\x18\x04 \x01(\tR\vdescription\x120\n" +
|
||||
"\x06params\x18\x05 \x03(\v2\x18.pb.DNSIssue.ParamsEntryR\x06params\x12\x18\n" +
|
||||
"\amustFix\x18\x06 \x01(\bR\amustFix\x1a9\n" +
|
||||
"\vParamsEntry\x12\x10\n" +
|
||||
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
|
||||
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01B\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_dns_issue_proto_rawDescOnce sync.Once
|
||||
file_models_model_dns_issue_proto_rawDescData = file_models_model_dns_issue_proto_rawDesc
|
||||
file_models_model_dns_issue_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_dns_issue_proto_rawDescGZIP() []byte {
|
||||
file_models_model_dns_issue_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_dns_issue_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_dns_issue_proto_rawDescData)
|
||||
file_models_model_dns_issue_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_dns_issue_proto_rawDesc), len(file_models_model_dns_issue_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_dns_issue_proto_rawDescData
|
||||
}
|
||||
@@ -163,7 +156,7 @@ func file_models_model_dns_issue_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_dns_issue_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_dns_issue_proto_rawDesc), len(file_models_model_dns_issue_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 2,
|
||||
NumExtensions: 0,
|
||||
@@ -174,7 +167,6 @@ func file_models_model_dns_issue_proto_init() {
|
||||
MessageInfos: file_models_model_dns_issue_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_dns_issue_proto = out.File
|
||||
file_models_model_dns_issue_proto_rawDesc = nil
|
||||
file_models_model_dns_issue_proto_goTypes = nil
|
||||
file_models_model_dns_issue_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_dns_provider.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -114,33 +115,26 @@ func (x *DNSProvider) GetMinTTL() int32 {
|
||||
|
||||
var File_models_model_dns_provider_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_dns_provider_proto_rawDesc = []byte{
|
||||
0x0a, 0x1f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x64,
|
||||
0x6e, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
||||
0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0xc5, 0x01, 0x0a, 0x0b, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f,
|
||||
0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||
0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20,
|
||||
0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70,
|
||||
0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a,
|
||||
0x08, 0x74, 0x79, 0x70, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||
0x08, 0x74, 0x79, 0x70, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x61, 0x70, 0x69,
|
||||
0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c,
|
||||
0x52, 0x0d, 0x61, 0x70, 0x69, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x12,
|
||||
0x24, 0x0a, 0x0d, 0x64, 0x61, 0x74, 0x61, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74,
|
||||
0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x64, 0x61, 0x74, 0x61, 0x55, 0x70, 0x64, 0x61,
|
||||
0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x69, 0x6e, 0x54, 0x54, 0x4c, 0x18,
|
||||
0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6d, 0x69, 0x6e, 0x54, 0x54, 0x4c, 0x42, 0x06, 0x5a,
|
||||
0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_dns_provider_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x1fmodels/model_dns_provider.proto\x12\x02pb\"\xc5\x01\n" +
|
||||
"\vDNSProvider\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
||||
"\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n" +
|
||||
"\x04type\x18\x03 \x01(\tR\x04type\x12\x1a\n" +
|
||||
"\btypeName\x18\x04 \x01(\tR\btypeName\x12$\n" +
|
||||
"\rapiParamsJSON\x18\x05 \x01(\fR\rapiParamsJSON\x12$\n" +
|
||||
"\rdataUpdatedAt\x18\x06 \x01(\x03R\rdataUpdatedAt\x12\x16\n" +
|
||||
"\x06minTTL\x18\a \x01(\x05R\x06minTTLB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_dns_provider_proto_rawDescOnce sync.Once
|
||||
file_models_model_dns_provider_proto_rawDescData = file_models_model_dns_provider_proto_rawDesc
|
||||
file_models_model_dns_provider_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_dns_provider_proto_rawDescGZIP() []byte {
|
||||
file_models_model_dns_provider_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_dns_provider_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_dns_provider_proto_rawDescData)
|
||||
file_models_model_dns_provider_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_dns_provider_proto_rawDesc), len(file_models_model_dns_provider_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_dns_provider_proto_rawDescData
|
||||
}
|
||||
@@ -166,7 +160,7 @@ func file_models_model_dns_provider_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_dns_provider_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_dns_provider_proto_rawDesc), len(file_models_model_dns_provider_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -177,7 +171,6 @@ func file_models_model_dns_provider_proto_init() {
|
||||
MessageInfos: file_models_model_dns_provider_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_dns_provider_proto = out.File
|
||||
file_models_model_dns_provider_proto_rawDesc = nil
|
||||
file_models_model_dns_provider_proto_goTypes = nil
|
||||
file_models_model_dns_provider_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_dns_record.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -98,28 +99,24 @@ func (x *DNSRecord) GetRoute() string {
|
||||
|
||||
var File_models_model_dns_record_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_dns_record_proto_rawDesc = []byte{
|
||||
0x0a, 0x1d, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x64,
|
||||
0x6e, 0x73, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
|
||||
0x02, 0x70, 0x62, 0x22, 0x6f, 0x0a, 0x09, 0x44, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64,
|
||||
0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64,
|
||||
0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
|
||||
0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20,
|
||||
0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79,
|
||||
0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14,
|
||||
0x0a, 0x05, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x72,
|
||||
0x6f, 0x75, 0x74, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72,
|
||||
0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_dns_record_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x1dmodels/model_dns_record.proto\x12\x02pb\"o\n" +
|
||||
"\tDNSRecord\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" +
|
||||
"\x04name\x18\x02 \x01(\tR\x04name\x12\x14\n" +
|
||||
"\x05value\x18\x03 \x01(\tR\x05value\x12\x12\n" +
|
||||
"\x04type\x18\x04 \x01(\tR\x04type\x12\x14\n" +
|
||||
"\x05route\x18\x05 \x01(\tR\x05routeB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_dns_record_proto_rawDescOnce sync.Once
|
||||
file_models_model_dns_record_proto_rawDescData = file_models_model_dns_record_proto_rawDesc
|
||||
file_models_model_dns_record_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_dns_record_proto_rawDescGZIP() []byte {
|
||||
file_models_model_dns_record_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_dns_record_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_dns_record_proto_rawDescData)
|
||||
file_models_model_dns_record_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_dns_record_proto_rawDesc), len(file_models_model_dns_record_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_dns_record_proto_rawDescData
|
||||
}
|
||||
@@ -145,7 +142,7 @@ func file_models_model_dns_record_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_dns_record_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_dns_record_proto_rawDesc), len(file_models_model_dns_record_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -156,7 +153,6 @@ func file_models_model_dns_record_proto_init() {
|
||||
MessageInfos: file_models_model_dns_record_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_dns_record_proto = out.File
|
||||
file_models_model_dns_record_proto_rawDesc = nil
|
||||
file_models_model_dns_record_proto_goTypes = nil
|
||||
file_models_model_dns_record_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_dns_route.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -74,24 +75,21 @@ func (x *DNSRoute) GetCode() string {
|
||||
|
||||
var File_models_model_dns_route_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_dns_route_proto_rawDesc = []byte{
|
||||
0x0a, 0x1c, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x64,
|
||||
0x6e, 0x73, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02,
|
||||
0x70, 0x62, 0x22, 0x32, 0x0a, 0x08, 0x44, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x12, 0x12,
|
||||
0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
|
||||
0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
||||
0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06,
|
||||
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_dns_route_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x1cmodels/model_dns_route.proto\x12\x02pb\"2\n" +
|
||||
"\bDNSRoute\x12\x12\n" +
|
||||
"\x04name\x18\x01 \x01(\tR\x04name\x12\x12\n" +
|
||||
"\x04code\x18\x02 \x01(\tR\x04codeB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_dns_route_proto_rawDescOnce sync.Once
|
||||
file_models_model_dns_route_proto_rawDescData = file_models_model_dns_route_proto_rawDesc
|
||||
file_models_model_dns_route_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_dns_route_proto_rawDescGZIP() []byte {
|
||||
file_models_model_dns_route_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_dns_route_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_dns_route_proto_rawDescData)
|
||||
file_models_model_dns_route_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_dns_route_proto_rawDesc), len(file_models_model_dns_route_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_dns_route_proto_rawDescData
|
||||
}
|
||||
@@ -117,7 +115,7 @@ func file_models_model_dns_route_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_dns_route_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_dns_route_proto_rawDesc), len(file_models_model_dns_route_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -128,7 +126,6 @@ func file_models_model_dns_route_proto_init() {
|
||||
MessageInfos: file_models_model_dns_route_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_dns_route_proto = out.File
|
||||
file_models_model_dns_route_proto_rawDesc = nil
|
||||
file_models_model_dns_route_proto_goTypes = nil
|
||||
file_models_model_dns_route_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_dns_task.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -139,47 +140,30 @@ func (x *DNSTask) GetDnsDomain() *DNSDomain {
|
||||
|
||||
var File_models_model_dns_task_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_dns_task_proto_rawDesc = []byte{
|
||||
0x0a, 0x1b, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x64,
|
||||
0x6e, 0x73, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70,
|
||||
0x62, 0x1a, 0x17, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f,
|
||||
0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x6d, 0x6f, 0x64, 0x65,
|
||||
0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x63, 0x6c,
|
||||
0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x6d, 0x6f, 0x64,
|
||||
0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72,
|
||||
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d,
|
||||
0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x64, 0x6e, 0x73, 0x5f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x2e,
|
||||
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xaf, 0x02, 0x0a, 0x07, 0x44, 0x4e, 0x53, 0x54, 0x61, 0x73,
|
||||
0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69,
|
||||
0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||
0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x73, 0x44, 0x6f, 0x6e, 0x65, 0x18,
|
||||
0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x44, 0x6f, 0x6e, 0x65, 0x12, 0x12, 0x0a,
|
||||
0x04, 0x69, 0x73, 0x4f, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f,
|
||||
0x6b, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09,
|
||||
0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74,
|
||||
0x65, 0x64, 0x41, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61,
|
||||
0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1c, 0x0a, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x1e, 0x20,
|
||||
0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6e,
|
||||
0x6f, 0x64, 0x65, 0x12, 0x31, 0x0a, 0x0b, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74,
|
||||
0x65, 0x72, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f,
|
||||
0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x0b, 0x6e, 0x6f, 0x64, 0x65, 0x43,
|
||||
0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x22, 0x0a, 0x06, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72,
|
||||
0x18, 0x20, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x72, 0x76,
|
||||
0x65, 0x72, 0x52, 0x06, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x2b, 0x0a, 0x09, 0x64, 0x6e,
|
||||
0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x21, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e,
|
||||
0x70, 0x62, 0x2e, 0x44, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52, 0x09, 0x64, 0x6e,
|
||||
0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62,
|
||||
0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_dns_task_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x1bmodels/model_dns_task.proto\x12\x02pb\x1a\x17models/model_node.proto\x1a\x1fmodels/model_node_cluster.proto\x1a\x19models/model_server.proto\x1a\x1dmodels/model_dns_domain.proto\"\xaf\x02\n" +
|
||||
"\aDNSTask\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
||||
"\x04type\x18\x02 \x01(\tR\x04type\x12\x16\n" +
|
||||
"\x06isDone\x18\x03 \x01(\bR\x06isDone\x12\x12\n" +
|
||||
"\x04isOk\x18\x04 \x01(\bR\x04isOk\x12\x14\n" +
|
||||
"\x05error\x18\x05 \x01(\tR\x05error\x12\x1c\n" +
|
||||
"\tupdatedAt\x18\x06 \x01(\x03R\tupdatedAt\x12\x1c\n" +
|
||||
"\x04node\x18\x1e \x01(\v2\b.pb.NodeR\x04node\x121\n" +
|
||||
"\vnodeCluster\x18\x1f \x01(\v2\x0f.pb.NodeClusterR\vnodeCluster\x12\"\n" +
|
||||
"\x06server\x18 \x01(\v2\n" +
|
||||
".pb.ServerR\x06server\x12+\n" +
|
||||
"\tdnsDomain\x18! \x01(\v2\r.pb.DNSDomainR\tdnsDomainB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_dns_task_proto_rawDescOnce sync.Once
|
||||
file_models_model_dns_task_proto_rawDescData = file_models_model_dns_task_proto_rawDesc
|
||||
file_models_model_dns_task_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_dns_task_proto_rawDescGZIP() []byte {
|
||||
file_models_model_dns_task_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_dns_task_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_dns_task_proto_rawDescData)
|
||||
file_models_model_dns_task_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_dns_task_proto_rawDesc), len(file_models_model_dns_task_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_dns_task_proto_rawDescData
|
||||
}
|
||||
@@ -217,7 +201,7 @@ func file_models_model_dns_task_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_dns_task_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_dns_task_proto_rawDesc), len(file_models_model_dns_task_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -228,7 +212,6 @@ func file_models_model_dns_task_proto_init() {
|
||||
MessageInfos: file_models_model_dns_task_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_dns_task_proto = out.File
|
||||
file_models_model_dns_task_proto_rawDesc = nil
|
||||
file_models_model_dns_task_proto_goTypes = nil
|
||||
file_models_model_dns_task_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_file.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -114,31 +115,26 @@ func (x *File) GetType() string {
|
||||
|
||||
var File_models_model_file_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_file_proto_rawDesc = []byte{
|
||||
0x0a, 0x17, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x66,
|
||||
0x69, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0xb0, 0x01,
|
||||
0x0a, 0x04, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
|
||||
0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61,
|
||||
0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61,
|
||||
0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03,
|
||||
0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,
|
||||
0x64, 0x41, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74,
|
||||
0x65, 0x64, 0x41, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63,
|
||||
0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63,
|
||||
0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x69, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01,
|
||||
0x28, 0x09, 0x52, 0x08, 0x6d, 0x69, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04,
|
||||
0x74, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65,
|
||||
0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_file_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x17models/model_file.proto\x12\x02pb\"\xb0\x01\n" +
|
||||
"\x04File\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x1a\n" +
|
||||
"\bfilename\x18\x02 \x01(\tR\bfilename\x12\x12\n" +
|
||||
"\x04size\x18\x03 \x01(\x03R\x04size\x12\x1c\n" +
|
||||
"\tcreatedAt\x18\x04 \x01(\x03R\tcreatedAt\x12\x1a\n" +
|
||||
"\bisPublic\x18\x05 \x01(\bR\bisPublic\x12\x1a\n" +
|
||||
"\bmimeType\x18\x06 \x01(\tR\bmimeType\x12\x12\n" +
|
||||
"\x04type\x18\a \x01(\tR\x04typeB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_file_proto_rawDescOnce sync.Once
|
||||
file_models_model_file_proto_rawDescData = file_models_model_file_proto_rawDesc
|
||||
file_models_model_file_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_file_proto_rawDescGZIP() []byte {
|
||||
file_models_model_file_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_file_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_file_proto_rawDescData)
|
||||
file_models_model_file_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_file_proto_rawDesc), len(file_models_model_file_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_file_proto_rawDescData
|
||||
}
|
||||
@@ -164,7 +160,7 @@ func file_models_model_file_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_file_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_file_proto_rawDesc), len(file_models_model_file_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -175,7 +171,6 @@ func file_models_model_file_proto_init() {
|
||||
MessageInfos: file_models_model_file_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_file_proto = out.File
|
||||
file_models_model_file_proto_rawDesc = nil
|
||||
file_models_model_file_proto_goTypes = nil
|
||||
file_models_model_file_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_file_chunk.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -66,23 +67,20 @@ func (x *FileChunk) GetData() []byte {
|
||||
|
||||
var File_models_model_file_chunk_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_file_chunk_proto_rawDesc = []byte{
|
||||
0x0a, 0x1d, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x66,
|
||||
0x69, 0x6c, 0x65, 0x5f, 0x63, 0x68, 0x75, 0x6e, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
|
||||
0x02, 0x70, 0x62, 0x22, 0x1f, 0x0a, 0x09, 0x46, 0x69, 0x6c, 0x65, 0x43, 0x68, 0x75, 0x6e, 0x6b,
|
||||
0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04,
|
||||
0x64, 0x61, 0x74, 0x61, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72,
|
||||
0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_file_chunk_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x1dmodels/model_file_chunk.proto\x12\x02pb\"\x1f\n" +
|
||||
"\tFileChunk\x12\x12\n" +
|
||||
"\x04data\x18\x01 \x01(\fR\x04dataB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_file_chunk_proto_rawDescOnce sync.Once
|
||||
file_models_model_file_chunk_proto_rawDescData = file_models_model_file_chunk_proto_rawDesc
|
||||
file_models_model_file_chunk_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_file_chunk_proto_rawDescGZIP() []byte {
|
||||
file_models_model_file_chunk_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_file_chunk_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_file_chunk_proto_rawDescData)
|
||||
file_models_model_file_chunk_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_file_chunk_proto_rawDesc), len(file_models_model_file_chunk_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_file_chunk_proto_rawDescData
|
||||
}
|
||||
@@ -108,7 +106,7 @@ func file_models_model_file_chunk_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_file_chunk_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_file_chunk_proto_rawDesc), len(file_models_model_file_chunk_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -119,7 +117,6 @@ func file_models_model_file_chunk_proto_init() {
|
||||
MessageInfos: file_models_model_file_chunk_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_file_chunk_proto = out.File
|
||||
file_models_model_file_chunk_proto_rawDesc = nil
|
||||
file_models_model_file_chunk_proto_goTypes = nil
|
||||
file_models_model_file_chunk_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_formal_client_browser.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -98,29 +99,24 @@ func (x *FormalClientBrowser) GetState() int32 {
|
||||
|
||||
var File_models_model_formal_client_browser_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_formal_client_browser_proto_rawDesc = []byte{
|
||||
0x0a, 0x28, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x66,
|
||||
0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x62, 0x72, 0x6f,
|
||||
0x77, 0x73, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0x7d,
|
||||
0x0a, 0x13, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x42, 0x72,
|
||||
0x6f, 0x77, 0x73, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||
0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20,
|
||||
0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x64,
|
||||
0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x63, 0x6f, 0x64, 0x65, 0x73, 0x12,
|
||||
0x16, 0x0a, 0x06, 0x64, 0x61, 0x74, 0x61, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||
0x06, 0x64, 0x61, 0x74, 0x61, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65,
|
||||
0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x42, 0x06, 0x5a,
|
||||
0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_formal_client_browser_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"(models/model_formal_client_browser.proto\x12\x02pb\"}\n" +
|
||||
"\x13FormalClientBrowser\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
||||
"\x04name\x18\x02 \x01(\tR\x04name\x12\x14\n" +
|
||||
"\x05codes\x18\x03 \x03(\tR\x05codes\x12\x16\n" +
|
||||
"\x06dataId\x18\x04 \x01(\tR\x06dataId\x12\x14\n" +
|
||||
"\x05state\x18\x05 \x01(\x05R\x05stateB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_formal_client_browser_proto_rawDescOnce sync.Once
|
||||
file_models_model_formal_client_browser_proto_rawDescData = file_models_model_formal_client_browser_proto_rawDesc
|
||||
file_models_model_formal_client_browser_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_formal_client_browser_proto_rawDescGZIP() []byte {
|
||||
file_models_model_formal_client_browser_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_formal_client_browser_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_formal_client_browser_proto_rawDescData)
|
||||
file_models_model_formal_client_browser_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_formal_client_browser_proto_rawDesc), len(file_models_model_formal_client_browser_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_formal_client_browser_proto_rawDescData
|
||||
}
|
||||
@@ -146,7 +142,7 @@ func file_models_model_formal_client_browser_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_formal_client_browser_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_formal_client_browser_proto_rawDesc), len(file_models_model_formal_client_browser_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -157,7 +153,6 @@ func file_models_model_formal_client_browser_proto_init() {
|
||||
MessageInfos: file_models_model_formal_client_browser_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_formal_client_browser_proto = out.File
|
||||
file_models_model_formal_client_browser_proto_rawDesc = nil
|
||||
file_models_model_formal_client_browser_proto_goTypes = nil
|
||||
file_models_model_formal_client_browser_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_formal_client_system.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -98,29 +99,24 @@ func (x *FormalClientSystem) GetState() int32 {
|
||||
|
||||
var File_models_model_formal_client_system_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_formal_client_system_proto_rawDesc = []byte{
|
||||
0x0a, 0x27, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x66,
|
||||
0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x79, 0x73,
|
||||
0x74, 0x65, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0x7c, 0x0a,
|
||||
0x12, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x79, 0x73,
|
||||
0x74, 0x65, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
|
||||
0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
|
||||
0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x64, 0x65, 0x73,
|
||||
0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x63, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x16, 0x0a,
|
||||
0x06, 0x64, 0x61, 0x74, 0x61, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64,
|
||||
0x61, 0x74, 0x61, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x05,
|
||||
0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e,
|
||||
0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_formal_client_system_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"'models/model_formal_client_system.proto\x12\x02pb\"|\n" +
|
||||
"\x12FormalClientSystem\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
||||
"\x04name\x18\x02 \x01(\tR\x04name\x12\x14\n" +
|
||||
"\x05codes\x18\x03 \x03(\tR\x05codes\x12\x16\n" +
|
||||
"\x06dataId\x18\x04 \x01(\tR\x06dataId\x12\x14\n" +
|
||||
"\x05state\x18\x05 \x01(\x05R\x05stateB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_formal_client_system_proto_rawDescOnce sync.Once
|
||||
file_models_model_formal_client_system_proto_rawDescData = file_models_model_formal_client_system_proto_rawDesc
|
||||
file_models_model_formal_client_system_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_formal_client_system_proto_rawDescGZIP() []byte {
|
||||
file_models_model_formal_client_system_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_formal_client_system_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_formal_client_system_proto_rawDescData)
|
||||
file_models_model_formal_client_system_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_formal_client_system_proto_rawDesc), len(file_models_model_formal_client_system_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_formal_client_system_proto_rawDescData
|
||||
}
|
||||
@@ -146,7 +142,7 @@ func file_models_model_formal_client_system_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_formal_client_system_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_formal_client_system_proto_rawDesc), len(file_models_model_formal_client_system_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -157,7 +153,6 @@ func file_models_model_formal_client_system_proto_init() {
|
||||
MessageInfos: file_models_model_formal_client_system_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_formal_client_system_proto = out.File
|
||||
file_models_model_formal_client_system_proto_rawDesc = nil
|
||||
file_models_model_formal_client_system_proto_goTypes = nil
|
||||
file_models_model_formal_client_system_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_http_access_log.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -524,153 +525,103 @@ func (x *Strings) GetValues() []string {
|
||||
|
||||
var File_models_model_http_access_log_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_http_access_log_proto_rawDesc = []byte{
|
||||
0x0a, 0x22, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x68,
|
||||
0x74, 0x74, 0x70, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x6c, 0x6f, 0x67, 0x2e, 0x70,
|
||||
0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x17, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73,
|
||||
0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
||||
0x6f, 0x22, 0x81, 0x10, 0x0a, 0x0d, 0x48, 0x54, 0x54, 0x50, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73,
|
||||
0x4c, 0x6f, 0x67, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64,
|
||||
0x18, 0x30, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49,
|
||||
0x64, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20,
|
||||
0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x12, 0x16, 0x0a,
|
||||
0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e,
|
||||
0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
|
||||
0x6e, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x74,
|
||||
0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x77, 0x72, 0x69, 0x74, 0x65,
|
||||
0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x72, 0x65, 0x77, 0x72, 0x69, 0x74,
|
||||
0x65, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x49, 0x64, 0x18,
|
||||
0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x49, 0x64, 0x12,
|
||||
0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x41, 0x64, 0x64, 0x72, 0x18, 0x06, 0x20,
|
||||
0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x41, 0x64, 0x64, 0x72, 0x12,
|
||||
0x24, 0x0a, 0x0d, 0x72, 0x61, 0x77, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x41, 0x64, 0x64, 0x72,
|
||||
0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x72, 0x61, 0x77, 0x52, 0x65, 0x6d, 0x6f, 0x74,
|
||||
0x65, 0x41, 0x64, 0x64, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50,
|
||||
0x6f, 0x72, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74,
|
||||
0x65, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x55,
|
||||
0x73, 0x65, 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74,
|
||||
0x65, 0x55, 0x73, 0x65, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||||
0x55, 0x52, 0x49, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65,
|
||||
0x73, 0x74, 0x55, 0x52, 0x49, 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||||
0x50, 0x61, 0x74, 0x68, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x71, 0x75,
|
||||
0x65, 0x73, 0x74, 0x50, 0x61, 0x74, 0x68, 0x12, 0x24, 0x0a, 0x0d, 0x72, 0x65, 0x71, 0x75, 0x65,
|
||||
0x73, 0x74, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d,
|
||||
0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x20, 0x0a,
|
||||
0x0b, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x0d, 0x20, 0x01,
|
||||
0x28, 0x01, 0x52, 0x0b, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12,
|
||||
0x24, 0x0a, 0x0d, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64,
|
||||
0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d,
|
||||
0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x28, 0x0a, 0x0f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||||
0x46, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f,
|
||||
0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12,
|
||||
0x20, 0x0a, 0x0b, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x42, 0x6f, 0x64, 0x79, 0x18, 0x33,
|
||||
0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x42, 0x6f, 0x64,
|
||||
0x79, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x18, 0x10, 0x20, 0x01, 0x28,
|
||||
0x09, 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x72, 0x6f,
|
||||
0x74, 0x6f, 0x18, 0x11, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
|
||||
0x1c, 0x0a, 0x09, 0x62, 0x79, 0x74, 0x65, 0x73, 0x53, 0x65, 0x6e, 0x74, 0x18, 0x12, 0x20, 0x01,
|
||||
0x28, 0x03, 0x52, 0x09, 0x62, 0x79, 0x74, 0x65, 0x73, 0x53, 0x65, 0x6e, 0x74, 0x12, 0x24, 0x0a,
|
||||
0x0d, 0x62, 0x6f, 0x64, 0x79, 0x42, 0x79, 0x74, 0x65, 0x73, 0x53, 0x65, 0x6e, 0x74, 0x18, 0x13,
|
||||
0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x62, 0x6f, 0x64, 0x79, 0x42, 0x79, 0x74, 0x65, 0x73, 0x53,
|
||||
0x65, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x14, 0x20,
|
||||
0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x24, 0x0a, 0x0d, 0x73,
|
||||
0x74, 0x61, 0x74, 0x75, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x15, 0x20, 0x01,
|
||||
0x28, 0x09, 0x52, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
|
||||
0x65, 0x12, 0x41, 0x0a, 0x0a, 0x73, 0x65, 0x6e, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18,
|
||||
0x16, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x70, 0x62, 0x2e, 0x48, 0x54, 0x54, 0x50, 0x41,
|
||||
0x63, 0x63, 0x65, 0x73, 0x73, 0x4c, 0x6f, 0x67, 0x2e, 0x53, 0x65, 0x6e, 0x74, 0x48, 0x65, 0x61,
|
||||
0x64, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x73, 0x65, 0x6e, 0x74, 0x48, 0x65,
|
||||
0x61, 0x64, 0x65, 0x72, 0x12, 0x20, 0x0a, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x49, 0x53, 0x4f, 0x38,
|
||||
0x36, 0x30, 0x31, 0x18, 0x17, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x49,
|
||||
0x53, 0x4f, 0x38, 0x36, 0x30, 0x31, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x4c, 0x6f,
|
||||
0x63, 0x61, 0x6c, 0x18, 0x18, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x4c,
|
||||
0x6f, 0x63, 0x61, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x73, 0x65, 0x63, 0x18, 0x19, 0x20, 0x01,
|
||||
0x28, 0x01, 0x52, 0x04, 0x6d, 0x73, 0x65, 0x63, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65,
|
||||
0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d,
|
||||
0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x1b,
|
||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65,
|
||||
0x66, 0x65, 0x72, 0x65, 0x72, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x66,
|
||||
0x65, 0x72, 0x65, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x75, 0x73, 0x65, 0x72, 0x41, 0x67, 0x65, 0x6e,
|
||||
0x74, 0x18, 0x1d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x75, 0x73, 0x65, 0x72, 0x41, 0x67, 0x65,
|
||||
0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x1e, 0x20,
|
||||
0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b,
|
||||
0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x18, 0x1f, 0x20, 0x01, 0x28,
|
||||
0x09, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x35,
|
||||
0x0a, 0x06, 0x63, 0x6f, 0x6f, 0x6b, 0x69, 0x65, 0x18, 0x20, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d,
|
||||
0x2e, 0x70, 0x62, 0x2e, 0x48, 0x54, 0x54, 0x50, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4c, 0x6f,
|
||||
0x67, 0x2e, 0x43, 0x6f, 0x6f, 0x6b, 0x69, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x63,
|
||||
0x6f, 0x6f, 0x6b, 0x69, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x72, 0x67, 0x73, 0x18, 0x22, 0x20,
|
||||
0x01, 0x28, 0x09, 0x52, 0x04, 0x61, 0x72, 0x67, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x71, 0x75, 0x65,
|
||||
0x72, 0x79, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x23, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
|
||||
0x71, 0x75, 0x65, 0x72, 0x79, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x35, 0x0a, 0x06, 0x68,
|
||||
0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x24, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x70, 0x62,
|
||||
0x2e, 0x48, 0x54, 0x54, 0x50, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4c, 0x6f, 0x67, 0x2e, 0x48,
|
||||
0x65, 0x61, 0x64, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64,
|
||||
0x65, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65,
|
||||
0x18, 0x25, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x61,
|
||||
0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x50, 0x6f, 0x72, 0x74,
|
||||
0x18, 0x26, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x50, 0x6f,
|
||||
0x72, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74,
|
||||
0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x27, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x73, 0x65, 0x72, 0x76,
|
||||
0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x6f,
|
||||
0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x28, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x6f,
|
||||
0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e,
|
||||
0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x29, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6f,
|
||||
0x72, 0x69, 0x67, 0x69, 0x6e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x22, 0x0a, 0x0c,
|
||||
0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x34, 0x20, 0x01,
|
||||
0x28, 0x05, 0x52, 0x0c, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
|
||||
0x12, 0x16, 0x0a, 0x06, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x18, 0x2a, 0x20, 0x03, 0x28, 0x09,
|
||||
0x52, 0x06, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x12, 0x32, 0x0a, 0x05, 0x61, 0x74, 0x74, 0x72,
|
||||
0x73, 0x18, 0x2b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x62, 0x2e, 0x48, 0x54, 0x54,
|
||||
0x50, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4c, 0x6f, 0x67, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x73,
|
||||
0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x61, 0x74, 0x74, 0x72, 0x73, 0x12, 0x2a, 0x0a, 0x10,
|
||||
0x66, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64,
|
||||
0x18, 0x2c, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x66, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c,
|
||||
0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x13, 0x66, 0x69, 0x72, 0x65,
|
||||
0x77, 0x61, 0x6c, 0x6c, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x18,
|
||||
0x2d, 0x20, 0x01, 0x28, 0x03, 0x52, 0x13, 0x66, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x52,
|
||||
0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x2c, 0x0a, 0x11, 0x66, 0x69,
|
||||
0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x52, 0x75, 0x6c, 0x65, 0x53, 0x65, 0x74, 0x49, 0x64, 0x18,
|
||||
0x2e, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x66, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x52,
|
||||
0x75, 0x6c, 0x65, 0x53, 0x65, 0x74, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0e, 0x66, 0x69, 0x72, 0x65,
|
||||
0x77, 0x61, 0x6c, 0x6c, 0x52, 0x75, 0x6c, 0x65, 0x49, 0x64, 0x18, 0x2f, 0x20, 0x01, 0x28, 0x03,
|
||||
0x52, 0x0e, 0x66, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x52, 0x75, 0x6c, 0x65, 0x49, 0x64,
|
||||
0x12, 0x28, 0x0a, 0x0f, 0x66, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x41, 0x63, 0x74, 0x69,
|
||||
0x6f, 0x6e, 0x73, 0x18, 0x31, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f, 0x66, 0x69, 0x72, 0x65, 0x77,
|
||||
0x61, 0x6c, 0x6c, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x61,
|
||||
0x67, 0x73, 0x18, 0x32, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x1c,
|
||||
0x0a, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x64, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x70,
|
||||
0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x1a, 0x4a, 0x0a, 0x0f,
|
||||
0x53, 0x65, 0x6e, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12,
|
||||
0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65,
|
||||
0x79, 0x12, 0x21, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
|
||||
0x32, 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x05, 0x76,
|
||||
0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x39, 0x0a, 0x0b, 0x43, 0x6f, 0x6f, 0x6b,
|
||||
0x69, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01,
|
||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c,
|
||||
0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a,
|
||||
0x02, 0x38, 0x01, 0x1a, 0x46, 0x0a, 0x0b, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x45, 0x6e, 0x74,
|
||||
0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||
0x03, 0x6b, 0x65, 0x79, 0x12, 0x21, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
|
||||
0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x73,
|
||||
0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x38, 0x0a, 0x0a, 0x41,
|
||||
0x74, 0x74, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79,
|
||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76,
|
||||
0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
|
||||
0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x21, 0x0a, 0x07, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x73,
|
||||
0x12, 0x16, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09,
|
||||
0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62,
|
||||
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_http_access_log_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\"models/model_http_access_log.proto\x12\x02pb\x1a\x17models/model_node.proto\"\x81\x10\n" +
|
||||
"\rHTTPAccessLog\x12\x1c\n" +
|
||||
"\trequestId\x180 \x01(\tR\trequestId\x12\x1a\n" +
|
||||
"\bserverId\x18\x01 \x01(\x03R\bserverId\x12\x16\n" +
|
||||
"\x06nodeId\x18\x02 \x01(\x03R\x06nodeId\x12\x1e\n" +
|
||||
"\n" +
|
||||
"locationId\x18\x03 \x01(\x03R\n" +
|
||||
"locationId\x12\x1c\n" +
|
||||
"\trewriteId\x18\x04 \x01(\x03R\trewriteId\x12\x1a\n" +
|
||||
"\boriginId\x18\x05 \x01(\x03R\boriginId\x12\x1e\n" +
|
||||
"\n" +
|
||||
"remoteAddr\x18\x06 \x01(\tR\n" +
|
||||
"remoteAddr\x12$\n" +
|
||||
"\rrawRemoteAddr\x18\a \x01(\tR\rrawRemoteAddr\x12\x1e\n" +
|
||||
"\n" +
|
||||
"remotePort\x18\b \x01(\x05R\n" +
|
||||
"remotePort\x12\x1e\n" +
|
||||
"\n" +
|
||||
"remoteUser\x18\t \x01(\tR\n" +
|
||||
"remoteUser\x12\x1e\n" +
|
||||
"\n" +
|
||||
"requestURI\x18\n" +
|
||||
" \x01(\tR\n" +
|
||||
"requestURI\x12 \n" +
|
||||
"\vrequestPath\x18\v \x01(\tR\vrequestPath\x12$\n" +
|
||||
"\rrequestLength\x18\f \x01(\x03R\rrequestLength\x12 \n" +
|
||||
"\vrequestTime\x18\r \x01(\x01R\vrequestTime\x12$\n" +
|
||||
"\rrequestMethod\x18\x0e \x01(\tR\rrequestMethod\x12(\n" +
|
||||
"\x0frequestFilename\x18\x0f \x01(\tR\x0frequestFilename\x12 \n" +
|
||||
"\vrequestBody\x183 \x01(\fR\vrequestBody\x12\x16\n" +
|
||||
"\x06scheme\x18\x10 \x01(\tR\x06scheme\x12\x14\n" +
|
||||
"\x05proto\x18\x11 \x01(\tR\x05proto\x12\x1c\n" +
|
||||
"\tbytesSent\x18\x12 \x01(\x03R\tbytesSent\x12$\n" +
|
||||
"\rbodyBytesSent\x18\x13 \x01(\x03R\rbodyBytesSent\x12\x16\n" +
|
||||
"\x06status\x18\x14 \x01(\x05R\x06status\x12$\n" +
|
||||
"\rstatusMessage\x18\x15 \x01(\tR\rstatusMessage\x12A\n" +
|
||||
"\n" +
|
||||
"sentHeader\x18\x16 \x03(\v2!.pb.HTTPAccessLog.SentHeaderEntryR\n" +
|
||||
"sentHeader\x12 \n" +
|
||||
"\vtimeISO8601\x18\x17 \x01(\tR\vtimeISO8601\x12\x1c\n" +
|
||||
"\ttimeLocal\x18\x18 \x01(\tR\ttimeLocal\x12\x12\n" +
|
||||
"\x04msec\x18\x19 \x01(\x01R\x04msec\x12\x1c\n" +
|
||||
"\ttimestamp\x18\x1a \x01(\x03R\ttimestamp\x12\x12\n" +
|
||||
"\x04host\x18\x1b \x01(\tR\x04host\x12\x18\n" +
|
||||
"\areferer\x18\x1c \x01(\tR\areferer\x12\x1c\n" +
|
||||
"\tuserAgent\x18\x1d \x01(\tR\tuserAgent\x12\x18\n" +
|
||||
"\arequest\x18\x1e \x01(\tR\arequest\x12 \n" +
|
||||
"\vcontentType\x18\x1f \x01(\tR\vcontentType\x125\n" +
|
||||
"\x06cookie\x18 \x03(\v2\x1d.pb.HTTPAccessLog.CookieEntryR\x06cookie\x12\x12\n" +
|
||||
"\x04args\x18\" \x01(\tR\x04args\x12 \n" +
|
||||
"\vqueryString\x18# \x01(\tR\vqueryString\x125\n" +
|
||||
"\x06header\x18$ \x03(\v2\x1d.pb.HTTPAccessLog.HeaderEntryR\x06header\x12\x1e\n" +
|
||||
"\n" +
|
||||
"serverName\x18% \x01(\tR\n" +
|
||||
"serverName\x12\x1e\n" +
|
||||
"\n" +
|
||||
"serverPort\x18& \x01(\x05R\n" +
|
||||
"serverPort\x12&\n" +
|
||||
"\x0eserverProtocol\x18' \x01(\tR\x0eserverProtocol\x12\x1a\n" +
|
||||
"\bhostname\x18( \x01(\tR\bhostname\x12$\n" +
|
||||
"\roriginAddress\x18) \x01(\tR\roriginAddress\x12\"\n" +
|
||||
"\foriginStatus\x184 \x01(\x05R\foriginStatus\x12\x16\n" +
|
||||
"\x06errors\x18* \x03(\tR\x06errors\x122\n" +
|
||||
"\x05attrs\x18+ \x03(\v2\x1c.pb.HTTPAccessLog.AttrsEntryR\x05attrs\x12*\n" +
|
||||
"\x10firewallPolicyId\x18, \x01(\x03R\x10firewallPolicyId\x120\n" +
|
||||
"\x13firewallRuleGroupId\x18- \x01(\x03R\x13firewallRuleGroupId\x12,\n" +
|
||||
"\x11firewallRuleSetId\x18. \x01(\x03R\x11firewallRuleSetId\x12&\n" +
|
||||
"\x0efirewallRuleId\x18/ \x01(\x03R\x0efirewallRuleId\x12(\n" +
|
||||
"\x0ffirewallActions\x181 \x03(\tR\x0ffirewallActions\x12\x12\n" +
|
||||
"\x04tags\x182 \x03(\tR\x04tags\x12\x1c\n" +
|
||||
"\x04node\x18d \x01(\v2\b.pb.NodeR\x04node\x1aJ\n" +
|
||||
"\x0fSentHeaderEntry\x12\x10\n" +
|
||||
"\x03key\x18\x01 \x01(\tR\x03key\x12!\n" +
|
||||
"\x05value\x18\x02 \x01(\v2\v.pb.StringsR\x05value:\x028\x01\x1a9\n" +
|
||||
"\vCookieEntry\x12\x10\n" +
|
||||
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
|
||||
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\x1aF\n" +
|
||||
"\vHeaderEntry\x12\x10\n" +
|
||||
"\x03key\x18\x01 \x01(\tR\x03key\x12!\n" +
|
||||
"\x05value\x18\x02 \x01(\v2\v.pb.StringsR\x05value:\x028\x01\x1a8\n" +
|
||||
"\n" +
|
||||
"AttrsEntry\x12\x10\n" +
|
||||
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
|
||||
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"!\n" +
|
||||
"\aStrings\x12\x16\n" +
|
||||
"\x06values\x18\x01 \x03(\tR\x06valuesB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_http_access_log_proto_rawDescOnce sync.Once
|
||||
file_models_model_http_access_log_proto_rawDescData = file_models_model_http_access_log_proto_rawDesc
|
||||
file_models_model_http_access_log_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_http_access_log_proto_rawDescGZIP() []byte {
|
||||
file_models_model_http_access_log_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_http_access_log_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_http_access_log_proto_rawDescData)
|
||||
file_models_model_http_access_log_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_http_access_log_proto_rawDesc), len(file_models_model_http_access_log_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_http_access_log_proto_rawDescData
|
||||
}
|
||||
@@ -710,7 +661,7 @@ func file_models_model_http_access_log_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_http_access_log_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_http_access_log_proto_rawDesc), len(file_models_model_http_access_log_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 6,
|
||||
NumExtensions: 0,
|
||||
@@ -721,7 +672,6 @@ func file_models_model_http_access_log_proto_init() {
|
||||
MessageInfos: file_models_model_http_access_log_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_http_access_log_proto = out.File
|
||||
file_models_model_http_access_log_proto_rawDesc = nil
|
||||
file_models_model_http_access_log_proto_goTypes = nil
|
||||
file_models_model_http_access_log_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_http_access_log_policy.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -31,7 +32,7 @@ type HTTPAccessLogPolicy struct {
|
||||
IsPublic bool `protobuf:"varint,7,opt,name=isPublic,proto3" json:"isPublic,omitempty"` // 是否公用
|
||||
FirewallOnly bool `protobuf:"varint,8,opt,name=firewallOnly,proto3" json:"firewallOnly,omitempty"` // 是否只记录WAF相关访问日志
|
||||
DisableDefaultDB bool `protobuf:"varint,9,opt,name=disableDefaultDB,proto3" json:"disableDefaultDB,omitempty"` // 停用默认数据库存储
|
||||
WriteTargetsJSON []byte `protobuf:"bytes,10,opt,name=writeTargetsJSON,proto3" json:"writeTargetsJSON,omitempty"` // 写入目标 JSON
|
||||
WriteTargetsJSON []byte `protobuf:"bytes,10,opt,name=writeTargetsJSON,proto3" json:"writeTargetsJSON,omitempty"` // 写入目标 JSON: {"file":true,"mysql":true,"clickhouse":false}
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
@@ -138,38 +139,30 @@ func (x *HTTPAccessLogPolicy) GetWriteTargetsJSON() []byte {
|
||||
|
||||
var File_models_model_http_access_log_policy_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_http_access_log_policy_proto_rawDesc = []byte{
|
||||
0x0a, 0x29, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x68,
|
||||
0x74, 0x74, 0x70, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x6c, 0x6f, 0x67, 0x5f, 0x70,
|
||||
0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22,
|
||||
0x8d, 0x02, 0x0a, 0x13, 0x48, 0x54, 0x54, 0x50, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4c, 0x6f,
|
||||
0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,
|
||||
0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
|
||||
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x69,
|
||||
0x73, 0x4f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x12,
|
||||
0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74,
|
||||
0x79, 0x70, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x4a, 0x53,
|
||||
0x4f, 0x4e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
|
||||
0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x4a, 0x53,
|
||||
0x4f, 0x4e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x4a,
|
||||
0x53, 0x4f, 0x4e, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x18,
|
||||
0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x12,
|
||||
0x22, 0x0a, 0x0c, 0x66, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x4f, 0x6e, 0x6c, 0x79, 0x18,
|
||||
0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x66, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x4f,
|
||||
0x6e, 0x6c, 0x79, 0x12, 0x2a, 0x0a, 0x10, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x44, 0x65,
|
||||
0x66, 0x61, 0x75, 0x6c, 0x74, 0x44, 0x42, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x64,
|
||||
0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x44, 0x42, 0x42,
|
||||
0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_http_access_log_policy_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
")models/model_http_access_log_policy.proto\x12\x02pb\"\xb9\x02\n" +
|
||||
"\x13HTTPAccessLogPolicy\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
||||
"\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n" +
|
||||
"\x04isOn\x18\x03 \x01(\bR\x04isOn\x12\x12\n" +
|
||||
"\x04type\x18\x04 \x01(\tR\x04type\x12 \n" +
|
||||
"\voptionsJSON\x18\x05 \x01(\fR\voptionsJSON\x12\x1c\n" +
|
||||
"\tcondsJSON\x18\x06 \x01(\fR\tcondsJSON\x12\x1a\n" +
|
||||
"\bisPublic\x18\a \x01(\bR\bisPublic\x12\"\n" +
|
||||
"\ffirewallOnly\x18\b \x01(\bR\ffirewallOnly\x12*\n" +
|
||||
"\x10disableDefaultDB\x18\t \x01(\bR\x10disableDefaultDB\x12*\n" +
|
||||
"\x10writeTargetsJSON\x18\n" +
|
||||
" \x01(\fR\x10writeTargetsJSONB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_http_access_log_policy_proto_rawDescOnce sync.Once
|
||||
file_models_model_http_access_log_policy_proto_rawDescData = file_models_model_http_access_log_policy_proto_rawDesc
|
||||
file_models_model_http_access_log_policy_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_http_access_log_policy_proto_rawDescGZIP() []byte {
|
||||
file_models_model_http_access_log_policy_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_http_access_log_policy_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_http_access_log_policy_proto_rawDescData)
|
||||
file_models_model_http_access_log_policy_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_http_access_log_policy_proto_rawDesc), len(file_models_model_http_access_log_policy_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_http_access_log_policy_proto_rawDescData
|
||||
}
|
||||
@@ -195,7 +188,7 @@ func file_models_model_http_access_log_policy_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_http_access_log_policy_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_http_access_log_policy_proto_rawDesc), len(file_models_model_http_access_log_policy_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -206,7 +199,6 @@ func file_models_model_http_access_log_policy_proto_init() {
|
||||
MessageInfos: file_models_model_http_access_log_policy_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_http_access_log_policy_proto = out.File
|
||||
file_models_model_http_access_log_policy_proto_rawDesc = nil
|
||||
file_models_model_http_access_log_policy_proto_goTypes = nil
|
||||
file_models_model_http_access_log_policy_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_http_auth_policy.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -99,29 +100,26 @@ func (x *HTTPAuthPolicy) GetParamsJSON() []byte {
|
||||
|
||||
var File_models_model_http_auth_policy_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_http_auth_policy_proto_rawDesc = []byte{
|
||||
0x0a, 0x23, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x68,
|
||||
0x74, 0x74, 0x70, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e,
|
||||
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0x7c, 0x0a, 0x0e, 0x48, 0x54, 0x54,
|
||||
0x50, 0x41, 0x75, 0x74, 0x68, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69,
|
||||
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x69,
|
||||
0x73, 0x4f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x12,
|
||||
0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,
|
||||
0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28,
|
||||
0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d,
|
||||
0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x70, 0x61, 0x72,
|
||||
0x61, 0x6d, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62,
|
||||
0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_http_auth_policy_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"#models/model_http_auth_policy.proto\x12\x02pb\"|\n" +
|
||||
"\x0eHTTPAuthPolicy\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
||||
"\x04isOn\x18\x02 \x01(\bR\x04isOn\x12\x12\n" +
|
||||
"\x04name\x18\x03 \x01(\tR\x04name\x12\x12\n" +
|
||||
"\x04type\x18\x04 \x01(\tR\x04type\x12\x1e\n" +
|
||||
"\n" +
|
||||
"paramsJSON\x18\x05 \x01(\fR\n" +
|
||||
"paramsJSONB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_http_auth_policy_proto_rawDescOnce sync.Once
|
||||
file_models_model_http_auth_policy_proto_rawDescData = file_models_model_http_auth_policy_proto_rawDesc
|
||||
file_models_model_http_auth_policy_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_http_auth_policy_proto_rawDescGZIP() []byte {
|
||||
file_models_model_http_auth_policy_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_http_auth_policy_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_http_auth_policy_proto_rawDescData)
|
||||
file_models_model_http_auth_policy_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_http_auth_policy_proto_rawDesc), len(file_models_model_http_auth_policy_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_http_auth_policy_proto_rawDescData
|
||||
}
|
||||
@@ -147,7 +145,7 @@ func file_models_model_http_auth_policy_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_http_auth_policy_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_http_auth_policy_proto_rawDesc), len(file_models_model_http_auth_policy_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -158,7 +156,6 @@ func file_models_model_http_auth_policy_proto_init() {
|
||||
MessageInfos: file_models_model_http_auth_policy_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_http_auth_policy_proto = out.File
|
||||
file_models_model_http_auth_policy_proto_rawDesc = nil
|
||||
file_models_model_http_auth_policy_proto_goTypes = nil
|
||||
file_models_model_http_auth_policy_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_http_cache_policy.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -90,28 +91,23 @@ func (x *HTTPCachePolicy) GetMaxBytesJSON() []byte {
|
||||
|
||||
var File_models_model_http_cache_policy_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_http_cache_policy_proto_rawDesc = []byte{
|
||||
0x0a, 0x24, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x68,
|
||||
0x74, 0x74, 0x70, 0x5f, 0x63, 0x61, 0x63, 0x68, 0x65, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79,
|
||||
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0x6d, 0x0a, 0x0f, 0x48, 0x54,
|
||||
0x54, 0x50, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x0e, 0x0a,
|
||||
0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a,
|
||||
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
|
||||
0x65, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52,
|
||||
0x04, 0x69, 0x73, 0x4f, 0x6e, 0x12, 0x22, 0x0a, 0x0c, 0x6d, 0x61, 0x78, 0x42, 0x79, 0x74, 0x65,
|
||||
0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6d, 0x61, 0x78,
|
||||
0x42, 0x79, 0x74, 0x65, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70,
|
||||
0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_http_cache_policy_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"$models/model_http_cache_policy.proto\x12\x02pb\"m\n" +
|
||||
"\x0fHTTPCachePolicy\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
||||
"\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n" +
|
||||
"\x04isOn\x18\x03 \x01(\bR\x04isOn\x12\"\n" +
|
||||
"\fmaxBytesJSON\x18\x04 \x01(\fR\fmaxBytesJSONB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_http_cache_policy_proto_rawDescOnce sync.Once
|
||||
file_models_model_http_cache_policy_proto_rawDescData = file_models_model_http_cache_policy_proto_rawDesc
|
||||
file_models_model_http_cache_policy_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_http_cache_policy_proto_rawDescGZIP() []byte {
|
||||
file_models_model_http_cache_policy_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_http_cache_policy_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_http_cache_policy_proto_rawDescData)
|
||||
file_models_model_http_cache_policy_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_http_cache_policy_proto_rawDesc), len(file_models_model_http_cache_policy_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_http_cache_policy_proto_rawDescData
|
||||
}
|
||||
@@ -137,7 +133,7 @@ func file_models_model_http_cache_policy_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_http_cache_policy_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_http_cache_policy_proto_rawDesc), len(file_models_model_http_cache_policy_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -148,7 +144,6 @@ func file_models_model_http_cache_policy_proto_init() {
|
||||
MessageInfos: file_models_model_http_cache_policy_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_http_cache_policy_proto = out.File
|
||||
file_models_model_http_cache_policy_proto_rawDesc = nil
|
||||
file_models_model_http_cache_policy_proto_goTypes = nil
|
||||
file_models_model_http_cache_policy_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_http_cache_task.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -146,46 +147,30 @@ func (x *HTTPCacheTask) GetHttpCacheTaskKeys() []*HTTPCacheTaskKey {
|
||||
|
||||
var File_models_model_http_cache_task_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_http_cache_task_proto_rawDesc = []byte{
|
||||
0x0a, 0x22, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x68,
|
||||
0x74, 0x74, 0x70, 0x5f, 0x63, 0x61, 0x63, 0x68, 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x2e, 0x70,
|
||||
0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x17, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73,
|
||||
0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
||||
0x6f, 0x1a, 0x26, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f,
|
||||
0x68, 0x74, 0x74, 0x70, 0x5f, 0x63, 0x61, 0x63, 0x68, 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x5f,
|
||||
0x6b, 0x65, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xcb, 0x02, 0x0a, 0x0d, 0x48, 0x54,
|
||||
0x54, 0x50, 0x43, 0x61, 0x63, 0x68, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x69,
|
||||
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x75,
|
||||
0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65,
|
||||
0x72, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
|
||||
0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6b, 0x65, 0x79, 0x54, 0x79,
|
||||
0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x54, 0x79, 0x70,
|
||||
0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x05,
|
||||
0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12,
|
||||
0x16, 0x0a, 0x06, 0x64, 0x6f, 0x6e, 0x65, 0x41, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52,
|
||||
0x06, 0x64, 0x6f, 0x6e, 0x65, 0x41, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x73, 0x44, 0x6f, 0x6e,
|
||||
0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x44, 0x6f, 0x6e, 0x65, 0x12,
|
||||
0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, 0x6b, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69,
|
||||
0x73, 0x4f, 0x6b, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69,
|
||||
0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69,
|
||||
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x1e, 0x20,
|
||||
0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75,
|
||||
0x73, 0x65, 0x72, 0x12, 0x42, 0x0a, 0x11, 0x68, 0x74, 0x74, 0x70, 0x43, 0x61, 0x63, 0x68, 0x65,
|
||||
0x54, 0x61, 0x73, 0x6b, 0x4b, 0x65, 0x79, 0x73, 0x18, 0x1f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14,
|
||||
0x2e, 0x70, 0x62, 0x2e, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68, 0x65, 0x54, 0x61, 0x73,
|
||||
0x6b, 0x4b, 0x65, 0x79, 0x52, 0x11, 0x68, 0x74, 0x74, 0x70, 0x43, 0x61, 0x63, 0x68, 0x65, 0x54,
|
||||
0x61, 0x73, 0x6b, 0x4b, 0x65, 0x79, 0x73, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62,
|
||||
0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_http_cache_task_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\"models/model_http_cache_task.proto\x12\x02pb\x1a\x17models/model_user.proto\x1a&models/model_http_cache_task_key.proto\"\xcb\x02\n" +
|
||||
"\rHTTPCacheTask\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x16\n" +
|
||||
"\x06userId\x18\x02 \x01(\x03R\x06userId\x12\x12\n" +
|
||||
"\x04type\x18\x03 \x01(\tR\x04type\x12\x18\n" +
|
||||
"\akeyType\x18\x04 \x01(\tR\akeyType\x12\x1c\n" +
|
||||
"\tcreatedAt\x18\x05 \x01(\x03R\tcreatedAt\x12\x16\n" +
|
||||
"\x06doneAt\x18\x06 \x01(\x03R\x06doneAt\x12\x16\n" +
|
||||
"\x06isDone\x18\a \x01(\bR\x06isDone\x12\x12\n" +
|
||||
"\x04isOk\x18\b \x01(\bR\x04isOk\x12 \n" +
|
||||
"\vdescription\x18\t \x01(\tR\vdescription\x12\x1c\n" +
|
||||
"\x04user\x18\x1e \x01(\v2\b.pb.UserR\x04user\x12B\n" +
|
||||
"\x11httpCacheTaskKeys\x18\x1f \x03(\v2\x14.pb.HTTPCacheTaskKeyR\x11httpCacheTaskKeysB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_http_cache_task_proto_rawDescOnce sync.Once
|
||||
file_models_model_http_cache_task_proto_rawDescData = file_models_model_http_cache_task_proto_rawDesc
|
||||
file_models_model_http_cache_task_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_http_cache_task_proto_rawDescGZIP() []byte {
|
||||
file_models_model_http_cache_task_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_http_cache_task_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_http_cache_task_proto_rawDescData)
|
||||
file_models_model_http_cache_task_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_http_cache_task_proto_rawDesc), len(file_models_model_http_cache_task_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_http_cache_task_proto_rawDescData
|
||||
}
|
||||
@@ -217,7 +202,7 @@ func file_models_model_http_cache_task_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_http_cache_task_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_http_cache_task_proto_rawDesc), len(file_models_model_http_cache_task_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -228,7 +213,6 @@ func file_models_model_http_cache_task_proto_init() {
|
||||
MessageInfos: file_models_model_http_cache_task_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_http_cache_task_proto = out.File
|
||||
file_models_model_http_cache_task_proto_rawDesc = nil
|
||||
file_models_model_http_cache_task_proto_goTypes = nil
|
||||
file_models_model_http_cache_task_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_http_cache_task_key.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -138,42 +139,31 @@ func (x *HTTPCacheTaskKey) GetNodeCluster() *NodeCluster {
|
||||
|
||||
var File_models_model_http_cache_task_key_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_http_cache_task_key_proto_rawDesc = []byte{
|
||||
0x0a, 0x26, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x68,
|
||||
0x74, 0x74, 0x70, 0x5f, 0x63, 0x61, 0x63, 0x68, 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x6b,
|
||||
0x65, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x1f, 0x6d, 0x6f,
|
||||
0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f,
|
||||
0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa5, 0x02,
|
||||
0x0a, 0x10, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x4b,
|
||||
0x65, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02,
|
||||
0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01,
|
||||
0x28, 0x03, 0x52, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65,
|
||||
0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x12, 0x0a, 0x04,
|
||||
0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65,
|
||||
0x12, 0x18, 0x0a, 0x07, 0x6b, 0x65, 0x79, 0x54, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28,
|
||||
0x09, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x73,
|
||||
0x44, 0x6f, 0x6e, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x44, 0x6f,
|
||||
0x6e, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x69, 0x73, 0x44, 0x6f, 0x69, 0x6e, 0x67, 0x18, 0x09, 0x20,
|
||||
0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, 0x44, 0x6f, 0x69, 0x6e, 0x67, 0x12, 0x1e, 0x0a, 0x0a,
|
||||
0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c,
|
||||
0x52, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x24, 0x0a, 0x0d,
|
||||
0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x08, 0x20,
|
||||
0x01, 0x28, 0x03, 0x52, 0x0d, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72,
|
||||
0x49, 0x64, 0x12, 0x31, 0x0a, 0x0b, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65,
|
||||
0x72, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64,
|
||||
0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x0b, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6c,
|
||||
0x75, 0x73, 0x74, 0x65, 0x72, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70,
|
||||
0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_http_cache_task_key_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"&models/model_http_cache_task_key.proto\x12\x02pb\x1a\x1fmodels/model_node_cluster.proto\"\xa5\x02\n" +
|
||||
"\x10HTTPCacheTaskKey\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x16\n" +
|
||||
"\x06taskId\x18\x02 \x01(\x03R\x06taskId\x12\x10\n" +
|
||||
"\x03key\x18\x03 \x01(\tR\x03key\x12\x12\n" +
|
||||
"\x04type\x18\x04 \x01(\tR\x04type\x12\x18\n" +
|
||||
"\akeyType\x18\x05 \x01(\tR\akeyType\x12\x16\n" +
|
||||
"\x06isDone\x18\x06 \x01(\bR\x06isDone\x12\x18\n" +
|
||||
"\aisDoing\x18\t \x01(\bR\aisDoing\x12\x1e\n" +
|
||||
"\n" +
|
||||
"errorsJSON\x18\a \x01(\fR\n" +
|
||||
"errorsJSON\x12$\n" +
|
||||
"\rnodeClusterId\x18\b \x01(\x03R\rnodeClusterId\x121\n" +
|
||||
"\vnodeCluster\x18\x1e \x01(\v2\x0f.pb.NodeClusterR\vnodeClusterB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_http_cache_task_key_proto_rawDescOnce sync.Once
|
||||
file_models_model_http_cache_task_key_proto_rawDescData = file_models_model_http_cache_task_key_proto_rawDesc
|
||||
file_models_model_http_cache_task_key_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_http_cache_task_key_proto_rawDescGZIP() []byte {
|
||||
file_models_model_http_cache_task_key_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_http_cache_task_key_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_http_cache_task_key_proto_rawDescData)
|
||||
file_models_model_http_cache_task_key_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_http_cache_task_key_proto_rawDesc), len(file_models_model_http_cache_task_key_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_http_cache_task_key_proto_rawDescData
|
||||
}
|
||||
@@ -202,7 +192,7 @@ func file_models_model_http_cache_task_key_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_http_cache_task_key_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_http_cache_task_key_proto_rawDesc), len(file_models_model_http_cache_task_key_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -213,7 +203,6 @@ func file_models_model_http_cache_task_key_proto_init() {
|
||||
MessageInfos: file_models_model_http_cache_task_key_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_http_cache_task_key_proto = out.File
|
||||
file_models_model_http_cache_task_key_proto_rawDesc = nil
|
||||
file_models_model_http_cache_task_key_proto_goTypes = nil
|
||||
file_models_model_http_cache_task_key_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_http_fastcgi.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -123,37 +124,29 @@ func (x *HTTPFastcgi) GetPathInfoPattern() string {
|
||||
|
||||
var File_models_model_http_fastcgi_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_http_fastcgi_proto_rawDesc = []byte{
|
||||
0x0a, 0x1f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x68,
|
||||
0x74, 0x74, 0x70, 0x5f, 0x66, 0x61, 0x73, 0x74, 0x63, 0x67, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
||||
0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0x85, 0x02, 0x0a, 0x0b, 0x48, 0x54, 0x54, 0x50, 0x46, 0x61,
|
||||
0x73, 0x74, 0x63, 0x67, 0x69, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||
0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x18, 0x02, 0x20,
|
||||
0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64,
|
||||
0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72,
|
||||
0x65, 0x73, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x4a, 0x53, 0x4f,
|
||||
0x4e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x4a,
|
||||
0x53, 0x4f, 0x4e, 0x12, 0x28, 0x0a, 0x0f, 0x72, 0x65, 0x61, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x6f,
|
||||
0x75, 0x74, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x72, 0x65,
|
||||
0x61, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x28, 0x0a,
|
||||
0x0f, 0x63, 0x6f, 0x6e, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x4a, 0x53, 0x4f, 0x4e,
|
||||
0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x6e, 0x54, 0x69, 0x6d, 0x65,
|
||||
0x6f, 0x75, 0x74, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x6f, 0x6c, 0x53,
|
||||
0x69, 0x7a, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x6f, 0x6f, 0x6c, 0x53,
|
||||
0x69, 0x7a, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x70, 0x61, 0x74, 0x68, 0x49, 0x6e, 0x66, 0x6f, 0x50,
|
||||
0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x70, 0x61,
|
||||
0x74, 0x68, 0x49, 0x6e, 0x66, 0x6f, 0x50, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x42, 0x06, 0x5a,
|
||||
0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_http_fastcgi_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x1fmodels/model_http_fastcgi.proto\x12\x02pb\"\x85\x02\n" +
|
||||
"\vHTTPFastcgi\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
||||
"\x04isOn\x18\x02 \x01(\bR\x04isOn\x12\x18\n" +
|
||||
"\aaddress\x18\x03 \x01(\tR\aaddress\x12\x1e\n" +
|
||||
"\n" +
|
||||
"paramsJSON\x18\x04 \x01(\fR\n" +
|
||||
"paramsJSON\x12(\n" +
|
||||
"\x0freadTimeoutJSON\x18\x05 \x01(\fR\x0freadTimeoutJSON\x12(\n" +
|
||||
"\x0fconnTimeoutJSON\x18\x06 \x01(\fR\x0fconnTimeoutJSON\x12\x1a\n" +
|
||||
"\bpoolSize\x18\a \x01(\x05R\bpoolSize\x12(\n" +
|
||||
"\x0fpathInfoPattern\x18\b \x01(\tR\x0fpathInfoPatternB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_http_fastcgi_proto_rawDescOnce sync.Once
|
||||
file_models_model_http_fastcgi_proto_rawDescData = file_models_model_http_fastcgi_proto_rawDesc
|
||||
file_models_model_http_fastcgi_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_http_fastcgi_proto_rawDescGZIP() []byte {
|
||||
file_models_model_http_fastcgi_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_http_fastcgi_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_http_fastcgi_proto_rawDescData)
|
||||
file_models_model_http_fastcgi_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_http_fastcgi_proto_rawDesc), len(file_models_model_http_fastcgi_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_http_fastcgi_proto_rawDescData
|
||||
}
|
||||
@@ -179,7 +172,7 @@ func file_models_model_http_fastcgi_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_http_fastcgi_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_http_fastcgi_proto_rawDesc), len(file_models_model_http_fastcgi_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -190,7 +183,6 @@ func file_models_model_http_fastcgi_proto_init() {
|
||||
MessageInfos: file_models_model_http_fastcgi_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_http_fastcgi_proto = out.File
|
||||
file_models_model_http_fastcgi_proto_rawDesc = nil
|
||||
file_models_model_http_fastcgi_proto_goTypes = nil
|
||||
file_models_model_http_fastcgi_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_http_firewall_policy.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -171,52 +172,34 @@ func (x *HTTPFirewallPolicy) GetJsCookieOptionsJSON() []byte {
|
||||
|
||||
var File_models_model_http_firewall_policy_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_http_firewall_policy_proto_rawDesc = []byte{
|
||||
0x0a, 0x27, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x68,
|
||||
0x74, 0x74, 0x70, 0x5f, 0x66, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x5f, 0x70, 0x6f, 0x6c,
|
||||
0x69, 0x63, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0xec, 0x03,
|
||||
0x0a, 0x12, 0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f,
|
||||
0x6c, 0x69, 0x63, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
|
||||
0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01,
|
||||
0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65,
|
||||
0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x12, 0x12, 0x0a, 0x04,
|
||||
0x69, 0x73, 0x4f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6e,
|
||||
0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18,
|
||||
0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69,
|
||||
0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x69, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x4a, 0x53, 0x4f,
|
||||
0x4e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x69, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64,
|
||||
0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x22, 0x0a, 0x0c, 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64,
|
||||
0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x75, 0x74, 0x62,
|
||||
0x6f, 0x75, 0x6e, 0x64, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76,
|
||||
0x65, 0x72, 0x49, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76,
|
||||
0x65, 0x72, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x10, 0x75, 0x73, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x6c,
|
||||
0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10,
|
||||
0x75, 0x73, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c,
|
||||
0x12, 0x22, 0x0a, 0x0c, 0x73, 0x79, 0x6e, 0x46, 0x6c, 0x6f, 0x6f, 0x64, 0x4a, 0x53, 0x4f, 0x4e,
|
||||
0x18, 0x0a, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x73, 0x79, 0x6e, 0x46, 0x6c, 0x6f, 0x6f, 0x64,
|
||||
0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x2a, 0x0a, 0x10, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4f, 0x70, 0x74,
|
||||
0x69, 0x6f, 0x6e, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x10,
|
||||
0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x4a, 0x53, 0x4f, 0x4e,
|
||||
0x12, 0x28, 0x0a, 0x0f, 0x70, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x4a,
|
||||
0x53, 0x4f, 0x4e, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x70, 0x61, 0x67, 0x65, 0x4f,
|
||||
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x2e, 0x0a, 0x12, 0x63, 0x61,
|
||||
0x70, 0x74, 0x63, 0x68, 0x61, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x4a, 0x53, 0x4f, 0x4e,
|
||||
0x18, 0x0c, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x12, 0x63, 0x61, 0x70, 0x74, 0x63, 0x68, 0x61, 0x4f,
|
||||
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x30, 0x0a, 0x13, 0x6a, 0x73,
|
||||
0x43, 0x6f, 0x6f, 0x6b, 0x69, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x4a, 0x53, 0x4f,
|
||||
0x4e, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x13, 0x6a, 0x73, 0x43, 0x6f, 0x6f, 0x6b, 0x69,
|
||||
0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x42, 0x06, 0x5a, 0x04,
|
||||
0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_http_firewall_policy_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"'models/model_http_firewall_policy.proto\x12\x02pb\"\xec\x03\n" +
|
||||
"\x12HTTPFirewallPolicy\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
||||
"\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n" +
|
||||
"\x04mode\x18\a \x01(\tR\x04mode\x12\x12\n" +
|
||||
"\x04isOn\x18\x03 \x01(\bR\x04isOn\x12 \n" +
|
||||
"\vdescription\x18\x04 \x01(\tR\vdescription\x12 \n" +
|
||||
"\vinboundJSON\x18\x05 \x01(\fR\vinboundJSON\x12\"\n" +
|
||||
"\foutboundJSON\x18\x06 \x01(\fR\foutboundJSON\x12\x1a\n" +
|
||||
"\bserverId\x18\b \x01(\x03R\bserverId\x12*\n" +
|
||||
"\x10useLocalFirewall\x18\t \x01(\bR\x10useLocalFirewall\x12\"\n" +
|
||||
"\fsynFloodJSON\x18\n" +
|
||||
" \x01(\fR\fsynFloodJSON\x12*\n" +
|
||||
"\x10blockOptionsJSON\x18\v \x01(\fR\x10blockOptionsJSON\x12(\n" +
|
||||
"\x0fpageOptionsJSON\x18\r \x01(\fR\x0fpageOptionsJSON\x12.\n" +
|
||||
"\x12captchaOptionsJSON\x18\f \x01(\fR\x12captchaOptionsJSON\x120\n" +
|
||||
"\x13jsCookieOptionsJSON\x18\x0e \x01(\fR\x13jsCookieOptionsJSONB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_http_firewall_policy_proto_rawDescOnce sync.Once
|
||||
file_models_model_http_firewall_policy_proto_rawDescData = file_models_model_http_firewall_policy_proto_rawDesc
|
||||
file_models_model_http_firewall_policy_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_http_firewall_policy_proto_rawDescGZIP() []byte {
|
||||
file_models_model_http_firewall_policy_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_http_firewall_policy_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_http_firewall_policy_proto_rawDescData)
|
||||
file_models_model_http_firewall_policy_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_http_firewall_policy_proto_rawDesc), len(file_models_model_http_firewall_policy_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_http_firewall_policy_proto_rawDescData
|
||||
}
|
||||
@@ -242,7 +225,7 @@ func file_models_model_http_firewall_policy_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_http_firewall_policy_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_http_firewall_policy_proto_rawDesc), len(file_models_model_http_firewall_policy_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -253,7 +236,6 @@ func file_models_model_http_firewall_policy_proto_init() {
|
||||
MessageInfos: file_models_model_http_firewall_policy_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_http_firewall_policy_proto = out.File
|
||||
file_models_model_http_firewall_policy_proto_rawDesc = nil
|
||||
file_models_model_http_firewall_policy_proto_goTypes = nil
|
||||
file_models_model_http_firewall_policy_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_http_firewall_rule_group.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -98,30 +99,24 @@ func (x *HTTPFirewallRuleGroup) GetCode() string {
|
||||
|
||||
var File_models_model_http_firewall_rule_group_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_http_firewall_rule_group_proto_rawDesc = []byte{
|
||||
0x0a, 0x2b, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x68,
|
||||
0x74, 0x74, 0x70, 0x5f, 0x66, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x5f, 0x72, 0x75, 0x6c,
|
||||
0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70,
|
||||
0x62, 0x22, 0x85, 0x01, 0x0a, 0x15, 0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61,
|
||||
0x6c, 0x6c, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x0e, 0x0a, 0x02, 0x69,
|
||||
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e,
|
||||
0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12,
|
||||
0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69,
|
||||
0x73, 0x4f, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69,
|
||||
0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69,
|
||||
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20,
|
||||
0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70,
|
||||
0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_http_firewall_rule_group_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"+models/model_http_firewall_rule_group.proto\x12\x02pb\"\x85\x01\n" +
|
||||
"\x15HTTPFirewallRuleGroup\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
||||
"\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n" +
|
||||
"\x04isOn\x18\x03 \x01(\bR\x04isOn\x12 \n" +
|
||||
"\vdescription\x18\x04 \x01(\tR\vdescription\x12\x12\n" +
|
||||
"\x04code\x18\x05 \x01(\tR\x04codeB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_http_firewall_rule_group_proto_rawDescOnce sync.Once
|
||||
file_models_model_http_firewall_rule_group_proto_rawDescData = file_models_model_http_firewall_rule_group_proto_rawDesc
|
||||
file_models_model_http_firewall_rule_group_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_http_firewall_rule_group_proto_rawDescGZIP() []byte {
|
||||
file_models_model_http_firewall_rule_group_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_http_firewall_rule_group_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_http_firewall_rule_group_proto_rawDescData)
|
||||
file_models_model_http_firewall_rule_group_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_http_firewall_rule_group_proto_rawDesc), len(file_models_model_http_firewall_rule_group_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_http_firewall_rule_group_proto_rawDescData
|
||||
}
|
||||
@@ -147,7 +142,7 @@ func file_models_model_http_firewall_rule_group_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_http_firewall_rule_group_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_http_firewall_rule_group_proto_rawDesc), len(file_models_model_http_firewall_rule_group_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -158,7 +153,6 @@ func file_models_model_http_firewall_rule_group_proto_init() {
|
||||
MessageInfos: file_models_model_http_firewall_rule_group_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_http_firewall_rule_group_proto = out.File
|
||||
file_models_model_http_firewall_rule_group_proto_rawDesc = nil
|
||||
file_models_model_http_firewall_rule_group_proto_goTypes = nil
|
||||
file_models_model_http_firewall_rule_group_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_http_firewall_rule_set.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -98,30 +99,24 @@ func (x *HTTPFirewallRuleSet) GetCode() string {
|
||||
|
||||
var File_models_model_http_firewall_rule_set_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_http_firewall_rule_set_proto_rawDesc = []byte{
|
||||
0x0a, 0x29, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x68,
|
||||
0x74, 0x74, 0x70, 0x5f, 0x66, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x5f, 0x72, 0x75, 0x6c,
|
||||
0x65, 0x5f, 0x73, 0x65, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22,
|
||||
0x83, 0x01, 0x0a, 0x13, 0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c,
|
||||
0x52, 0x75, 0x6c, 0x65, 0x53, 0x65, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,
|
||||
0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
|
||||
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x69,
|
||||
0x73, 0x4f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x12,
|
||||
0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04,
|
||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
|
||||
0x6e, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||
0x04, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70,
|
||||
0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_http_firewall_rule_set_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
")models/model_http_firewall_rule_set.proto\x12\x02pb\"\x83\x01\n" +
|
||||
"\x13HTTPFirewallRuleSet\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
||||
"\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n" +
|
||||
"\x04isOn\x18\x03 \x01(\bR\x04isOn\x12 \n" +
|
||||
"\vdescription\x18\x04 \x01(\tR\vdescription\x12\x12\n" +
|
||||
"\x04code\x18\x05 \x01(\tR\x04codeB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_http_firewall_rule_set_proto_rawDescOnce sync.Once
|
||||
file_models_model_http_firewall_rule_set_proto_rawDescData = file_models_model_http_firewall_rule_set_proto_rawDesc
|
||||
file_models_model_http_firewall_rule_set_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_http_firewall_rule_set_proto_rawDescGZIP() []byte {
|
||||
file_models_model_http_firewall_rule_set_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_http_firewall_rule_set_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_http_firewall_rule_set_proto_rawDescData)
|
||||
file_models_model_http_firewall_rule_set_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_http_firewall_rule_set_proto_rawDesc), len(file_models_model_http_firewall_rule_set_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_http_firewall_rule_set_proto_rawDescData
|
||||
}
|
||||
@@ -147,7 +142,7 @@ func file_models_model_http_firewall_rule_set_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_http_firewall_rule_set_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_http_firewall_rule_set_proto_rawDesc), len(file_models_model_http_firewall_rule_set_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -158,7 +153,6 @@ func file_models_model_http_firewall_rule_set_proto_init() {
|
||||
MessageInfos: file_models_model_http_firewall_rule_set_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_http_firewall_rule_set_proto = out.File
|
||||
file_models_model_http_firewall_rule_set_proto_rawDesc = nil
|
||||
file_models_model_http_firewall_rule_set_proto_goTypes = nil
|
||||
file_models_model_http_firewall_rule_set_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_http_gzip.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -106,35 +107,25 @@ func (x *HTTPGzip) GetCondsJSON() []byte {
|
||||
|
||||
var File_models_model_http_gzip_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_http_gzip_proto_rawDesc = []byte{
|
||||
0x0a, 0x1c, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x68,
|
||||
0x74, 0x74, 0x70, 0x5f, 0x67, 0x7a, 0x69, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02,
|
||||
0x70, 0x62, 0x1a, 0x20, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c,
|
||||
0x5f, 0x73, 0x69, 0x7a, 0x65, 0x5f, 0x63, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x2e, 0x70,
|
||||
0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc2, 0x01, 0x0a, 0x08, 0x48, 0x54, 0x54, 0x50, 0x47, 0x7a, 0x69,
|
||||
0x70, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69,
|
||||
0x64, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52,
|
||||
0x04, 0x69, 0x73, 0x4f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x03,
|
||||
0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x2e, 0x0a, 0x09, 0x6d,
|
||||
0x69, 0x6e, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10,
|
||||
0x2e, 0x70, 0x62, 0x2e, 0x53, 0x69, 0x7a, 0x65, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79,
|
||||
0x52, 0x09, 0x6d, 0x69, 0x6e, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x2e, 0x0a, 0x09, 0x6d,
|
||||
0x61, 0x78, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10,
|
||||
0x2e, 0x70, 0x62, 0x2e, 0x53, 0x69, 0x7a, 0x65, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79,
|
||||
0x52, 0x09, 0x6d, 0x61, 0x78, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x1c, 0x0a, 0x09, 0x63,
|
||||
0x6f, 0x6e, 0x64, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09,
|
||||
0x63, 0x6f, 0x6e, 0x64, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70,
|
||||
0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_http_gzip_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x1cmodels/model_http_gzip.proto\x12\x02pb\x1a models/model_size_capacity.proto\"\xc2\x01\n" +
|
||||
"\bHTTPGzip\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
||||
"\x04isOn\x18\x02 \x01(\bR\x04isOn\x12\x14\n" +
|
||||
"\x05level\x18\x03 \x01(\x05R\x05level\x12.\n" +
|
||||
"\tminLength\x18\x04 \x01(\v2\x10.pb.SizeCapacityR\tminLength\x12.\n" +
|
||||
"\tmaxLength\x18\x05 \x01(\v2\x10.pb.SizeCapacityR\tmaxLength\x12\x1c\n" +
|
||||
"\tcondsJSON\x18\x06 \x01(\fR\tcondsJSONB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_http_gzip_proto_rawDescOnce sync.Once
|
||||
file_models_model_http_gzip_proto_rawDescData = file_models_model_http_gzip_proto_rawDesc
|
||||
file_models_model_http_gzip_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_http_gzip_proto_rawDescGZIP() []byte {
|
||||
file_models_model_http_gzip_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_http_gzip_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_http_gzip_proto_rawDescData)
|
||||
file_models_model_http_gzip_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_http_gzip_proto_rawDesc), len(file_models_model_http_gzip_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_http_gzip_proto_rawDescData
|
||||
}
|
||||
@@ -164,7 +155,7 @@ func file_models_model_http_gzip_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_http_gzip_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_http_gzip_proto_rawDesc), len(file_models_model_http_gzip_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -175,7 +166,6 @@ func file_models_model_http_gzip_proto_init() {
|
||||
MessageInfos: file_models_model_http_gzip_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_http_gzip_proto = out.File
|
||||
file_models_model_http_gzip_proto_rawDesc = nil
|
||||
file_models_model_http_gzip_proto_goTypes = nil
|
||||
file_models_model_http_gzip_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_http_web.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -74,23 +75,21 @@ func (x *HTTPWeb) GetIsOn() bool {
|
||||
|
||||
var File_models_model_http_web_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_http_web_proto_rawDesc = []byte{
|
||||
0x0a, 0x1b, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x68,
|
||||
0x74, 0x74, 0x70, 0x5f, 0x77, 0x65, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70,
|
||||
0x62, 0x22, 0x2d, 0x0a, 0x07, 0x48, 0x54, 0x54, 0x50, 0x57, 0x65, 0x62, 0x12, 0x0e, 0x0a, 0x02,
|
||||
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04,
|
||||
0x69, 0x73, 0x4f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6e,
|
||||
0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_http_web_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x1bmodels/model_http_web.proto\x12\x02pb\"-\n" +
|
||||
"\aHTTPWeb\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
||||
"\x04isOn\x18\x02 \x01(\bR\x04isOnB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_http_web_proto_rawDescOnce sync.Once
|
||||
file_models_model_http_web_proto_rawDescData = file_models_model_http_web_proto_rawDesc
|
||||
file_models_model_http_web_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_http_web_proto_rawDescGZIP() []byte {
|
||||
file_models_model_http_web_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_http_web_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_http_web_proto_rawDescData)
|
||||
file_models_model_http_web_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_http_web_proto_rawDesc), len(file_models_model_http_web_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_http_web_proto_rawDescData
|
||||
}
|
||||
@@ -116,7 +115,7 @@ func file_models_model_http_web_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_http_web_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_http_web_proto_rawDesc), len(file_models_model_http_web_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -127,7 +126,6 @@ func file_models_model_http_web_proto_init() {
|
||||
MessageInfos: file_models_model_http_web_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_http_web_proto = out.File
|
||||
file_models_model_http_web_proto_rawDesc = nil
|
||||
file_models_model_http_web_proto_goTypes = nil
|
||||
file_models_model_http_web_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.35.1
|
||||
// protoc v3.21.12
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_httpdns_access_log.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -21,32 +22,31 @@ const (
|
||||
)
|
||||
|
||||
type HTTPDNSAccessLog struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
RequestId string `protobuf:"bytes,2,opt,name=requestId,proto3" json:"requestId,omitempty"`
|
||||
ClusterId int64 `protobuf:"varint,3,opt,name=clusterId,proto3" json:"clusterId,omitempty"`
|
||||
NodeId int64 `protobuf:"varint,4,opt,name=nodeId,proto3" json:"nodeId,omitempty"`
|
||||
AppId string `protobuf:"bytes,5,opt,name=appId,proto3" json:"appId,omitempty"`
|
||||
AppName string `protobuf:"bytes,6,opt,name=appName,proto3" json:"appName,omitempty"`
|
||||
Domain string `protobuf:"bytes,7,opt,name=domain,proto3" json:"domain,omitempty"`
|
||||
Qtype string `protobuf:"bytes,8,opt,name=qtype,proto3" json:"qtype,omitempty"`
|
||||
ClientIP string `protobuf:"bytes,9,opt,name=clientIP,proto3" json:"clientIP,omitempty"`
|
||||
ClientRegion string `protobuf:"bytes,10,opt,name=clientRegion,proto3" json:"clientRegion,omitempty"`
|
||||
Carrier string `protobuf:"bytes,11,opt,name=carrier,proto3" json:"carrier,omitempty"`
|
||||
SdkVersion string `protobuf:"bytes,12,opt,name=sdkVersion,proto3" json:"sdkVersion,omitempty"`
|
||||
Os string `protobuf:"bytes,13,opt,name=os,proto3" json:"os,omitempty"`
|
||||
ResultIPs string `protobuf:"bytes,14,opt,name=resultIPs,proto3" json:"resultIPs,omitempty"`
|
||||
Status string `protobuf:"bytes,15,opt,name=status,proto3" json:"status,omitempty"`
|
||||
ErrorCode string `protobuf:"bytes,16,opt,name=errorCode,proto3" json:"errorCode,omitempty"`
|
||||
CostMs int32 `protobuf:"varint,17,opt,name=costMs,proto3" json:"costMs,omitempty"`
|
||||
CreatedAt int64 `protobuf:"varint,18,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
|
||||
Day string `protobuf:"bytes,19,opt,name=day,proto3" json:"day,omitempty"`
|
||||
Summary string `protobuf:"bytes,20,opt,name=summary,proto3" json:"summary,omitempty"`
|
||||
NodeName string `protobuf:"bytes,21,opt,name=nodeName,proto3" json:"nodeName,omitempty"`
|
||||
ClusterName string `protobuf:"bytes,22,opt,name=clusterName,proto3" json:"clusterName,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
RequestId string `protobuf:"bytes,2,opt,name=requestId,proto3" json:"requestId,omitempty"`
|
||||
ClusterId int64 `protobuf:"varint,3,opt,name=clusterId,proto3" json:"clusterId,omitempty"`
|
||||
NodeId int64 `protobuf:"varint,4,opt,name=nodeId,proto3" json:"nodeId,omitempty"`
|
||||
AppId string `protobuf:"bytes,5,opt,name=appId,proto3" json:"appId,omitempty"`
|
||||
AppName string `protobuf:"bytes,6,opt,name=appName,proto3" json:"appName,omitempty"`
|
||||
Domain string `protobuf:"bytes,7,opt,name=domain,proto3" json:"domain,omitempty"`
|
||||
Qtype string `protobuf:"bytes,8,opt,name=qtype,proto3" json:"qtype,omitempty"`
|
||||
ClientIP string `protobuf:"bytes,9,opt,name=clientIP,proto3" json:"clientIP,omitempty"`
|
||||
ClientRegion string `protobuf:"bytes,10,opt,name=clientRegion,proto3" json:"clientRegion,omitempty"`
|
||||
Carrier string `protobuf:"bytes,11,opt,name=carrier,proto3" json:"carrier,omitempty"`
|
||||
SdkVersion string `protobuf:"bytes,12,opt,name=sdkVersion,proto3" json:"sdkVersion,omitempty"`
|
||||
Os string `protobuf:"bytes,13,opt,name=os,proto3" json:"os,omitempty"`
|
||||
ResultIPs string `protobuf:"bytes,14,opt,name=resultIPs,proto3" json:"resultIPs,omitempty"`
|
||||
Status string `protobuf:"bytes,15,opt,name=status,proto3" json:"status,omitempty"`
|
||||
ErrorCode string `protobuf:"bytes,16,opt,name=errorCode,proto3" json:"errorCode,omitempty"`
|
||||
CostMs int32 `protobuf:"varint,17,opt,name=costMs,proto3" json:"costMs,omitempty"`
|
||||
CreatedAt int64 `protobuf:"varint,18,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
|
||||
Day string `protobuf:"bytes,19,opt,name=day,proto3" json:"day,omitempty"`
|
||||
Summary string `protobuf:"bytes,20,opt,name=summary,proto3" json:"summary,omitempty"`
|
||||
NodeName string `protobuf:"bytes,21,opt,name=nodeName,proto3" json:"nodeName,omitempty"`
|
||||
ClusterName string `protobuf:"bytes,22,opt,name=clusterName,proto3" json:"clusterName,omitempty"`
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *HTTPDNSAccessLog) Reset() {
|
||||
@@ -235,58 +235,44 @@ func (x *HTTPDNSAccessLog) GetClusterName() string {
|
||||
|
||||
var File_models_model_httpdns_access_log_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_httpdns_access_log_proto_rawDesc = []byte{
|
||||
0x0a, 0x25, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x68,
|
||||
0x74, 0x74, 0x70, 0x64, 0x6e, 0x73, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x6c, 0x6f,
|
||||
0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0xd2, 0x04, 0x0a, 0x10,
|
||||
0x48, 0x54, 0x54, 0x50, 0x44, 0x4e, 0x53, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4c, 0x6f, 0x67,
|
||||
0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64,
|
||||
0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20,
|
||||
0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x1c,
|
||||
0x0a, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28,
|
||||
0x03, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06,
|
||||
0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x6f,
|
||||
0x64, 0x65, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x18, 0x05, 0x20,
|
||||
0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x70,
|
||||
0x70, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x70, 0x70,
|
||||
0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x07,
|
||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x14, 0x0a, 0x05,
|
||||
0x71, 0x74, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x71, 0x74, 0x79,
|
||||
0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x50, 0x18, 0x09,
|
||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x50, 0x12, 0x22,
|
||||
0x0a, 0x0c, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x0a,
|
||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x67, 0x69,
|
||||
0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x61, 0x72, 0x72, 0x69, 0x65, 0x72, 0x18, 0x0b, 0x20,
|
||||
0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x61, 0x72, 0x72, 0x69, 0x65, 0x72, 0x12, 0x1e, 0x0a, 0x0a,
|
||||
0x73, 0x64, 0x6b, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09,
|
||||
0x52, 0x0a, 0x73, 0x64, 0x6b, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x0a, 0x02,
|
||||
0x6f, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x6f, 0x73, 0x12, 0x1c, 0x0a, 0x09,
|
||||
0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x49, 0x50, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||
0x09, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x49, 0x50, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74,
|
||||
0x61, 0x74, 0x75, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74,
|
||||
0x75, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x18,
|
||||
0x10, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65,
|
||||
0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x73, 0x74, 0x4d, 0x73, 0x18, 0x11, 0x20, 0x01, 0x28, 0x05,
|
||||
0x52, 0x06, 0x63, 0x6f, 0x73, 0x74, 0x4d, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x72, 0x65, 0x61,
|
||||
0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x12, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65,
|
||||
0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x64, 0x61, 0x79, 0x18, 0x13, 0x20,
|
||||
0x01, 0x28, 0x09, 0x52, 0x03, 0x64, 0x61, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x6d, 0x6d,
|
||||
0x61, 0x72, 0x79, 0x18, 0x14, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61,
|
||||
0x72, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x6f, 0x64, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x15,
|
||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x6f, 0x64, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20,
|
||||
0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x16, 0x20,
|
||||
0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65,
|
||||
0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_httpdns_access_log_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"%models/model_httpdns_access_log.proto\x12\x02pb\"\xd2\x04\n" +
|
||||
"\x10HTTPDNSAccessLog\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x1c\n" +
|
||||
"\trequestId\x18\x02 \x01(\tR\trequestId\x12\x1c\n" +
|
||||
"\tclusterId\x18\x03 \x01(\x03R\tclusterId\x12\x16\n" +
|
||||
"\x06nodeId\x18\x04 \x01(\x03R\x06nodeId\x12\x14\n" +
|
||||
"\x05appId\x18\x05 \x01(\tR\x05appId\x12\x18\n" +
|
||||
"\aappName\x18\x06 \x01(\tR\aappName\x12\x16\n" +
|
||||
"\x06domain\x18\a \x01(\tR\x06domain\x12\x14\n" +
|
||||
"\x05qtype\x18\b \x01(\tR\x05qtype\x12\x1a\n" +
|
||||
"\bclientIP\x18\t \x01(\tR\bclientIP\x12\"\n" +
|
||||
"\fclientRegion\x18\n" +
|
||||
" \x01(\tR\fclientRegion\x12\x18\n" +
|
||||
"\acarrier\x18\v \x01(\tR\acarrier\x12\x1e\n" +
|
||||
"\n" +
|
||||
"sdkVersion\x18\f \x01(\tR\n" +
|
||||
"sdkVersion\x12\x0e\n" +
|
||||
"\x02os\x18\r \x01(\tR\x02os\x12\x1c\n" +
|
||||
"\tresultIPs\x18\x0e \x01(\tR\tresultIPs\x12\x16\n" +
|
||||
"\x06status\x18\x0f \x01(\tR\x06status\x12\x1c\n" +
|
||||
"\terrorCode\x18\x10 \x01(\tR\terrorCode\x12\x16\n" +
|
||||
"\x06costMs\x18\x11 \x01(\x05R\x06costMs\x12\x1c\n" +
|
||||
"\tcreatedAt\x18\x12 \x01(\x03R\tcreatedAt\x12\x10\n" +
|
||||
"\x03day\x18\x13 \x01(\tR\x03day\x12\x18\n" +
|
||||
"\asummary\x18\x14 \x01(\tR\asummary\x12\x1a\n" +
|
||||
"\bnodeName\x18\x15 \x01(\tR\bnodeName\x12 \n" +
|
||||
"\vclusterName\x18\x16 \x01(\tR\vclusterNameB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_httpdns_access_log_proto_rawDescOnce sync.Once
|
||||
file_models_model_httpdns_access_log_proto_rawDescData = file_models_model_httpdns_access_log_proto_rawDesc
|
||||
file_models_model_httpdns_access_log_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_httpdns_access_log_proto_rawDescGZIP() []byte {
|
||||
file_models_model_httpdns_access_log_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_httpdns_access_log_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_httpdns_access_log_proto_rawDescData)
|
||||
file_models_model_httpdns_access_log_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_httpdns_access_log_proto_rawDesc), len(file_models_model_httpdns_access_log_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_httpdns_access_log_proto_rawDescData
|
||||
}
|
||||
@@ -312,7 +298,7 @@ func file_models_model_httpdns_access_log_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_httpdns_access_log_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_httpdns_access_log_proto_rawDesc), len(file_models_model_httpdns_access_log_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -323,7 +309,6 @@ func file_models_model_httpdns_access_log_proto_init() {
|
||||
MessageInfos: file_models_model_httpdns_access_log_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_httpdns_access_log_proto = out.File
|
||||
file_models_model_httpdns_access_log_proto_rawDesc = nil
|
||||
file_models_model_httpdns_access_log_proto_goTypes = nil
|
||||
file_models_model_httpdns_access_log_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.21.12
|
||||
// protoc v3.19.6
|
||||
// source: models/model_httpdns_app.proto
|
||||
|
||||
package pb
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.35.1
|
||||
// protoc v3.21.12
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_httpdns_cluster.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -21,24 +22,23 @@ const (
|
||||
)
|
||||
|
||||
type HTTPDNSCluster struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
IsOn bool `protobuf:"varint,2,opt,name=isOn,proto3" json:"isOn,omitempty"`
|
||||
IsDefault bool `protobuf:"varint,3,opt,name=isDefault,proto3" json:"isDefault,omitempty"`
|
||||
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
|
||||
ServiceDomain string `protobuf:"bytes,5,opt,name=serviceDomain,proto3" json:"serviceDomain,omitempty"`
|
||||
DefaultTTL int32 `protobuf:"varint,6,opt,name=defaultTTL,proto3" json:"defaultTTL,omitempty"`
|
||||
FallbackTimeoutMs int32 `protobuf:"varint,7,opt,name=fallbackTimeoutMs,proto3" json:"fallbackTimeoutMs,omitempty"`
|
||||
InstallDir string `protobuf:"bytes,8,opt,name=installDir,proto3" json:"installDir,omitempty"`
|
||||
TlsPolicyJSON []byte `protobuf:"bytes,9,opt,name=tlsPolicyJSON,proto3" json:"tlsPolicyJSON,omitempty"`
|
||||
CreatedAt int64 `protobuf:"varint,10,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
|
||||
UpdatedAt int64 `protobuf:"varint,11,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
|
||||
AutoRemoteStart bool `protobuf:"varint,12,opt,name=autoRemoteStart,proto3" json:"autoRemoteStart,omitempty"`
|
||||
AccessLogIsOn bool `protobuf:"varint,13,opt,name=accessLogIsOn,proto3" json:"accessLogIsOn,omitempty"`
|
||||
TimeZone string `protobuf:"bytes,14,opt,name=timeZone,proto3" json:"timeZone,omitempty"`
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
IsOn bool `protobuf:"varint,2,opt,name=isOn,proto3" json:"isOn,omitempty"`
|
||||
IsDefault bool `protobuf:"varint,3,opt,name=isDefault,proto3" json:"isDefault,omitempty"`
|
||||
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
|
||||
ServiceDomain string `protobuf:"bytes,5,opt,name=serviceDomain,proto3" json:"serviceDomain,omitempty"`
|
||||
DefaultTTL int32 `protobuf:"varint,6,opt,name=defaultTTL,proto3" json:"defaultTTL,omitempty"`
|
||||
FallbackTimeoutMs int32 `protobuf:"varint,7,opt,name=fallbackTimeoutMs,proto3" json:"fallbackTimeoutMs,omitempty"`
|
||||
InstallDir string `protobuf:"bytes,8,opt,name=installDir,proto3" json:"installDir,omitempty"`
|
||||
TlsPolicyJSON []byte `protobuf:"bytes,9,opt,name=tlsPolicyJSON,proto3" json:"tlsPolicyJSON,omitempty"`
|
||||
CreatedAt int64 `protobuf:"varint,10,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
|
||||
UpdatedAt int64 `protobuf:"varint,11,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
|
||||
AutoRemoteStart bool `protobuf:"varint,12,opt,name=autoRemoteStart,proto3" json:"autoRemoteStart,omitempty"`
|
||||
AccessLogIsOn bool `protobuf:"varint,13,opt,name=accessLogIsOn,proto3" json:"accessLogIsOn,omitempty"`
|
||||
TimeZone string `protobuf:"bytes,14,opt,name=timeZone,proto3" json:"timeZone,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *HTTPDNSCluster) Reset() {
|
||||
@@ -171,43 +171,38 @@ func (x *HTTPDNSCluster) GetTimeZone() string {
|
||||
|
||||
var File_models_model_httpdns_cluster_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_httpdns_cluster_proto_rawDesc = []byte{
|
||||
0x0a, 0x22, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x68,
|
||||
0x74, 0x74, 0x70, 0x64, 0x6e, 0x73, 0x5f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x70,
|
||||
0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0xdc, 0x02, 0x0a, 0x0e, 0x48, 0x54, 0x54,
|
||||
0x50, 0x44, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69,
|
||||
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x69,
|
||||
0x73, 0x4f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x12,
|
||||
0x1c, 0x0a, 0x09, 0x69, 0x73, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x18, 0x03, 0x20, 0x01,
|
||||
0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, 0x12, 0x0a,
|
||||
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
|
||||
0x65, 0x12, 0x24, 0x0a, 0x0d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x44, 0x6f, 0x6d, 0x61,
|
||||
0x69, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63,
|
||||
0x65, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x66, 0x61, 0x75,
|
||||
0x6c, 0x74, 0x54, 0x54, 0x4c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x64, 0x65, 0x66,
|
||||
0x61, 0x75, 0x6c, 0x74, 0x54, 0x54, 0x4c, 0x12, 0x2c, 0x0a, 0x11, 0x66, 0x61, 0x6c, 0x6c, 0x62,
|
||||
0x61, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x4d, 0x73, 0x18, 0x07, 0x20, 0x01,
|
||||
0x28, 0x05, 0x52, 0x11, 0x66, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65,
|
||||
0x6f, 0x75, 0x74, 0x4d, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c,
|
||||
0x44, 0x69, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x6e, 0x73, 0x74, 0x61,
|
||||
0x6c, 0x6c, 0x44, 0x69, 0x72, 0x12, 0x24, 0x0a, 0x0d, 0x74, 0x6c, 0x73, 0x50, 0x6f, 0x6c, 0x69,
|
||||
0x63, 0x79, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x74, 0x6c,
|
||||
0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x1c, 0x0a, 0x09, 0x63,
|
||||
0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09,
|
||||
0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x75, 0x70, 0x64,
|
||||
0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x75, 0x70,
|
||||
0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62,
|
||||
0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_httpdns_cluster_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\"models/model_httpdns_cluster.proto\x12\x02pb\"\xc8\x03\n" +
|
||||
"\x0eHTTPDNSCluster\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
||||
"\x04isOn\x18\x02 \x01(\bR\x04isOn\x12\x1c\n" +
|
||||
"\tisDefault\x18\x03 \x01(\bR\tisDefault\x12\x12\n" +
|
||||
"\x04name\x18\x04 \x01(\tR\x04name\x12$\n" +
|
||||
"\rserviceDomain\x18\x05 \x01(\tR\rserviceDomain\x12\x1e\n" +
|
||||
"\n" +
|
||||
"defaultTTL\x18\x06 \x01(\x05R\n" +
|
||||
"defaultTTL\x12,\n" +
|
||||
"\x11fallbackTimeoutMs\x18\a \x01(\x05R\x11fallbackTimeoutMs\x12\x1e\n" +
|
||||
"\n" +
|
||||
"installDir\x18\b \x01(\tR\n" +
|
||||
"installDir\x12$\n" +
|
||||
"\rtlsPolicyJSON\x18\t \x01(\fR\rtlsPolicyJSON\x12\x1c\n" +
|
||||
"\tcreatedAt\x18\n" +
|
||||
" \x01(\x03R\tcreatedAt\x12\x1c\n" +
|
||||
"\tupdatedAt\x18\v \x01(\x03R\tupdatedAt\x12(\n" +
|
||||
"\x0fautoRemoteStart\x18\f \x01(\bR\x0fautoRemoteStart\x12$\n" +
|
||||
"\raccessLogIsOn\x18\r \x01(\bR\raccessLogIsOn\x12\x1a\n" +
|
||||
"\btimeZone\x18\x0e \x01(\tR\btimeZoneB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_httpdns_cluster_proto_rawDescOnce sync.Once
|
||||
file_models_model_httpdns_cluster_proto_rawDescData = file_models_model_httpdns_cluster_proto_rawDesc
|
||||
file_models_model_httpdns_cluster_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_httpdns_cluster_proto_rawDescGZIP() []byte {
|
||||
file_models_model_httpdns_cluster_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_httpdns_cluster_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_httpdns_cluster_proto_rawDescData)
|
||||
file_models_model_httpdns_cluster_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_httpdns_cluster_proto_rawDesc), len(file_models_model_httpdns_cluster_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_httpdns_cluster_proto_rawDescData
|
||||
}
|
||||
@@ -233,7 +228,7 @@ func file_models_model_httpdns_cluster_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_httpdns_cluster_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_httpdns_cluster_proto_rawDesc), len(file_models_model_httpdns_cluster_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -244,7 +239,6 @@ func file_models_model_httpdns_cluster_proto_init() {
|
||||
MessageInfos: file_models_model_httpdns_cluster_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_httpdns_cluster_proto = out.File
|
||||
file_models_model_httpdns_cluster_proto_rawDesc = nil
|
||||
file_models_model_httpdns_cluster_proto_goTypes = nil
|
||||
file_models_model_httpdns_cluster_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.35.1
|
||||
// protoc v3.21.12
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_httpdns_domain.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -21,17 +22,16 @@ const (
|
||||
)
|
||||
|
||||
type HTTPDNSDomain struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
AppId int64 `protobuf:"varint,2,opt,name=appId,proto3" json:"appId,omitempty"`
|
||||
Domain string `protobuf:"bytes,3,opt,name=domain,proto3" json:"domain,omitempty"`
|
||||
IsOn bool `protobuf:"varint,4,opt,name=isOn,proto3" json:"isOn,omitempty"`
|
||||
CreatedAt int64 `protobuf:"varint,5,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
|
||||
UpdatedAt int64 `protobuf:"varint,6,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
|
||||
RuleCount int64 `protobuf:"varint,7,opt,name=ruleCount,proto3" json:"ruleCount,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
AppId int64 `protobuf:"varint,2,opt,name=appId,proto3" json:"appId,omitempty"`
|
||||
Domain string `protobuf:"bytes,3,opt,name=domain,proto3" json:"domain,omitempty"`
|
||||
IsOn bool `protobuf:"varint,4,opt,name=isOn,proto3" json:"isOn,omitempty"`
|
||||
CreatedAt int64 `protobuf:"varint,5,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
|
||||
UpdatedAt int64 `protobuf:"varint,6,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
|
||||
RuleCount int64 `protobuf:"varint,7,opt,name=ruleCount,proto3" json:"ruleCount,omitempty"`
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *HTTPDNSDomain) Reset() {
|
||||
@@ -115,33 +115,26 @@ func (x *HTTPDNSDomain) GetRuleCount() int64 {
|
||||
|
||||
var File_models_model_httpdns_domain_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_httpdns_domain_proto_rawDesc = []byte{
|
||||
0x0a, 0x21, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x68,
|
||||
0x74, 0x74, 0x70, 0x64, 0x6e, 0x73, 0x5f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x2e, 0x70, 0x72,
|
||||
0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0xbb, 0x01, 0x0a, 0x0d, 0x48, 0x54, 0x54, 0x50,
|
||||
0x44, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18,
|
||||
0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70,
|
||||
0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x12,
|
||||
0x16, 0x0a, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||
0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x18,
|
||||
0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x63,
|
||||
0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09,
|
||||
0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x75, 0x70, 0x64,
|
||||
0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x75, 0x70,
|
||||
0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x75, 0x6c, 0x65, 0x43,
|
||||
0x6f, 0x75, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x72, 0x75, 0x6c, 0x65,
|
||||
0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70,
|
||||
0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_httpdns_domain_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"!models/model_httpdns_domain.proto\x12\x02pb\"\xbb\x01\n" +
|
||||
"\rHTTPDNSDomain\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x14\n" +
|
||||
"\x05appId\x18\x02 \x01(\x03R\x05appId\x12\x16\n" +
|
||||
"\x06domain\x18\x03 \x01(\tR\x06domain\x12\x12\n" +
|
||||
"\x04isOn\x18\x04 \x01(\bR\x04isOn\x12\x1c\n" +
|
||||
"\tcreatedAt\x18\x05 \x01(\x03R\tcreatedAt\x12\x1c\n" +
|
||||
"\tupdatedAt\x18\x06 \x01(\x03R\tupdatedAt\x12\x1c\n" +
|
||||
"\truleCount\x18\a \x01(\x03R\truleCountB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_httpdns_domain_proto_rawDescOnce sync.Once
|
||||
file_models_model_httpdns_domain_proto_rawDescData = file_models_model_httpdns_domain_proto_rawDesc
|
||||
file_models_model_httpdns_domain_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_httpdns_domain_proto_rawDescGZIP() []byte {
|
||||
file_models_model_httpdns_domain_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_httpdns_domain_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_httpdns_domain_proto_rawDescData)
|
||||
file_models_model_httpdns_domain_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_httpdns_domain_proto_rawDesc), len(file_models_model_httpdns_domain_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_httpdns_domain_proto_rawDescData
|
||||
}
|
||||
@@ -167,7 +160,7 @@ func file_models_model_httpdns_domain_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_httpdns_domain_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_httpdns_domain_proto_rawDesc), len(file_models_model_httpdns_domain_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -178,7 +171,6 @@ func file_models_model_httpdns_domain_proto_init() {
|
||||
MessageInfos: file_models_model_httpdns_domain_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_httpdns_domain_proto = out.File
|
||||
file_models_model_httpdns_domain_proto_rawDesc = nil
|
||||
file_models_model_httpdns_domain_proto_goTypes = nil
|
||||
file_models_model_httpdns_domain_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.21.12
|
||||
// protoc v3.19.6
|
||||
// source: models/model_httpdns_node.proto
|
||||
|
||||
package pb
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.35.1
|
||||
// protoc v3.21.12
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_httpdns_rule.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -21,16 +22,15 @@ const (
|
||||
)
|
||||
|
||||
type HTTPDNSRuleRecord struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
RuleId int64 `protobuf:"varint,2,opt,name=ruleId,proto3" json:"ruleId,omitempty"`
|
||||
RecordType string `protobuf:"bytes,3,opt,name=recordType,proto3" json:"recordType,omitempty"`
|
||||
RecordValue string `protobuf:"bytes,4,opt,name=recordValue,proto3" json:"recordValue,omitempty"`
|
||||
Weight int32 `protobuf:"varint,5,opt,name=weight,proto3" json:"weight,omitempty"`
|
||||
Sort int32 `protobuf:"varint,6,opt,name=sort,proto3" json:"sort,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
RuleId int64 `protobuf:"varint,2,opt,name=ruleId,proto3" json:"ruleId,omitempty"`
|
||||
RecordType string `protobuf:"bytes,3,opt,name=recordType,proto3" json:"recordType,omitempty"`
|
||||
RecordValue string `protobuf:"bytes,4,opt,name=recordValue,proto3" json:"recordValue,omitempty"`
|
||||
Weight int32 `protobuf:"varint,5,opt,name=weight,proto3" json:"weight,omitempty"`
|
||||
Sort int32 `protobuf:"varint,6,opt,name=sort,proto3" json:"sort,omitempty"`
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *HTTPDNSRuleRecord) Reset() {
|
||||
@@ -106,25 +106,24 @@ func (x *HTTPDNSRuleRecord) GetSort() int32 {
|
||||
}
|
||||
|
||||
type HTTPDNSCustomRule struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
AppId int64 `protobuf:"varint,2,opt,name=appId,proto3" json:"appId,omitempty"`
|
||||
DomainId int64 `protobuf:"varint,3,opt,name=domainId,proto3" json:"domainId,omitempty"`
|
||||
RuleName string `protobuf:"bytes,4,opt,name=ruleName,proto3" json:"ruleName,omitempty"`
|
||||
LineScope string `protobuf:"bytes,5,opt,name=lineScope,proto3" json:"lineScope,omitempty"`
|
||||
LineCarrier string `protobuf:"bytes,6,opt,name=lineCarrier,proto3" json:"lineCarrier,omitempty"`
|
||||
LineRegion string `protobuf:"bytes,7,opt,name=lineRegion,proto3" json:"lineRegion,omitempty"`
|
||||
LineProvince string `protobuf:"bytes,8,opt,name=lineProvince,proto3" json:"lineProvince,omitempty"`
|
||||
LineContinent string `protobuf:"bytes,9,opt,name=lineContinent,proto3" json:"lineContinent,omitempty"`
|
||||
LineCountry string `protobuf:"bytes,10,opt,name=lineCountry,proto3" json:"lineCountry,omitempty"`
|
||||
Ttl int32 `protobuf:"varint,11,opt,name=ttl,proto3" json:"ttl,omitempty"`
|
||||
IsOn bool `protobuf:"varint,12,opt,name=isOn,proto3" json:"isOn,omitempty"`
|
||||
Priority int32 `protobuf:"varint,13,opt,name=priority,proto3" json:"priority,omitempty"`
|
||||
UpdatedAt int64 `protobuf:"varint,14,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
|
||||
Records []*HTTPDNSRuleRecord `protobuf:"bytes,15,rep,name=records,proto3" json:"records,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
AppId int64 `protobuf:"varint,2,opt,name=appId,proto3" json:"appId,omitempty"`
|
||||
DomainId int64 `protobuf:"varint,3,opt,name=domainId,proto3" json:"domainId,omitempty"`
|
||||
RuleName string `protobuf:"bytes,4,opt,name=ruleName,proto3" json:"ruleName,omitempty"`
|
||||
LineScope string `protobuf:"bytes,5,opt,name=lineScope,proto3" json:"lineScope,omitempty"`
|
||||
LineCarrier string `protobuf:"bytes,6,opt,name=lineCarrier,proto3" json:"lineCarrier,omitempty"`
|
||||
LineRegion string `protobuf:"bytes,7,opt,name=lineRegion,proto3" json:"lineRegion,omitempty"`
|
||||
LineProvince string `protobuf:"bytes,8,opt,name=lineProvince,proto3" json:"lineProvince,omitempty"`
|
||||
LineContinent string `protobuf:"bytes,9,opt,name=lineContinent,proto3" json:"lineContinent,omitempty"`
|
||||
LineCountry string `protobuf:"bytes,10,opt,name=lineCountry,proto3" json:"lineCountry,omitempty"`
|
||||
Ttl int32 `protobuf:"varint,11,opt,name=ttl,proto3" json:"ttl,omitempty"`
|
||||
IsOn bool `protobuf:"varint,12,opt,name=isOn,proto3" json:"isOn,omitempty"`
|
||||
Priority int32 `protobuf:"varint,13,opt,name=priority,proto3" json:"priority,omitempty"`
|
||||
UpdatedAt int64 `protobuf:"varint,14,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
|
||||
Records []*HTTPDNSRuleRecord `protobuf:"bytes,15,rep,name=records,proto3" json:"records,omitempty"`
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *HTTPDNSCustomRule) Reset() {
|
||||
@@ -264,61 +263,46 @@ func (x *HTTPDNSCustomRule) GetRecords() []*HTTPDNSRuleRecord {
|
||||
|
||||
var File_models_model_httpdns_rule_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_httpdns_rule_proto_rawDesc = []byte{
|
||||
0x0a, 0x1f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x68,
|
||||
0x74, 0x74, 0x70, 0x64, 0x6e, 0x73, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
||||
0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0xa9, 0x01, 0x0a, 0x11, 0x48, 0x54, 0x54, 0x50, 0x44, 0x4e,
|
||||
0x53, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69,
|
||||
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x72,
|
||||
0x75, 0x6c, 0x65, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x72, 0x75, 0x6c,
|
||||
0x65, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x54, 0x79, 0x70,
|
||||
0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x54,
|
||||
0x79, 0x70, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x56, 0x61, 0x6c,
|
||||
0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64,
|
||||
0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18,
|
||||
0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x12, 0x0a,
|
||||
0x04, 0x73, 0x6f, 0x72, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x73, 0x6f, 0x72,
|
||||
0x74, 0x22, 0xce, 0x03, 0x0a, 0x11, 0x48, 0x54, 0x54, 0x50, 0x44, 0x4e, 0x53, 0x43, 0x75, 0x73,
|
||||
0x74, 0x6f, 0x6d, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,
|
||||
0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64,
|
||||
0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x12, 0x1a, 0x0a,
|
||||
0x08, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52,
|
||||
0x08, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x75, 0x6c,
|
||||
0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x75, 0x6c,
|
||||
0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x6c, 0x69, 0x6e, 0x65, 0x53, 0x63, 0x6f,
|
||||
0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6c, 0x69, 0x6e, 0x65, 0x53, 0x63,
|
||||
0x6f, 0x70, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x6c, 0x69, 0x6e, 0x65, 0x43, 0x61, 0x72, 0x72, 0x69,
|
||||
0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6c, 0x69, 0x6e, 0x65, 0x43, 0x61,
|
||||
0x72, 0x72, 0x69, 0x65, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x6c, 0x69, 0x6e, 0x65, 0x52, 0x65, 0x67,
|
||||
0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x69, 0x6e, 0x65, 0x52,
|
||||
0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x0a, 0x0c, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x72, 0x6f,
|
||||
0x76, 0x69, 0x6e, 0x63, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x69, 0x6e,
|
||||
0x65, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x6e, 0x63, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x6c, 0x69, 0x6e,
|
||||
0x65, 0x43, 0x6f, 0x6e, 0x74, 0x69, 0x6e, 0x65, 0x6e, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09,
|
||||
0x52, 0x0d, 0x6c, 0x69, 0x6e, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x69, 0x6e, 0x65, 0x6e, 0x74, 0x12,
|
||||
0x20, 0x0a, 0x0b, 0x6c, 0x69, 0x6e, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x18, 0x0a,
|
||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6c, 0x69, 0x6e, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x72,
|
||||
0x79, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x74, 0x6c, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03,
|
||||
0x74, 0x74, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x18, 0x0c, 0x20, 0x01, 0x28,
|
||||
0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72,
|
||||
0x69, 0x74, 0x79, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x72, 0x69, 0x6f, 0x72,
|
||||
0x69, 0x74, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74,
|
||||
0x18, 0x0e, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41,
|
||||
0x74, 0x12, 0x2f, 0x0a, 0x07, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x18, 0x0f, 0x20, 0x03,
|
||||
0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x62, 0x2e, 0x48, 0x54, 0x54, 0x50, 0x44, 0x4e, 0x53, 0x52,
|
||||
0x75, 0x6c, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x07, 0x72, 0x65, 0x63, 0x6f, 0x72,
|
||||
0x64, 0x73, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
|
||||
0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_httpdns_rule_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x1fmodels/model_httpdns_rule.proto\x12\x02pb\"\xa9\x01\n" +
|
||||
"\x11HTTPDNSRuleRecord\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x16\n" +
|
||||
"\x06ruleId\x18\x02 \x01(\x03R\x06ruleId\x12\x1e\n" +
|
||||
"\n" +
|
||||
"recordType\x18\x03 \x01(\tR\n" +
|
||||
"recordType\x12 \n" +
|
||||
"\vrecordValue\x18\x04 \x01(\tR\vrecordValue\x12\x16\n" +
|
||||
"\x06weight\x18\x05 \x01(\x05R\x06weight\x12\x12\n" +
|
||||
"\x04sort\x18\x06 \x01(\x05R\x04sort\"\xce\x03\n" +
|
||||
"\x11HTTPDNSCustomRule\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x14\n" +
|
||||
"\x05appId\x18\x02 \x01(\x03R\x05appId\x12\x1a\n" +
|
||||
"\bdomainId\x18\x03 \x01(\x03R\bdomainId\x12\x1a\n" +
|
||||
"\bruleName\x18\x04 \x01(\tR\bruleName\x12\x1c\n" +
|
||||
"\tlineScope\x18\x05 \x01(\tR\tlineScope\x12 \n" +
|
||||
"\vlineCarrier\x18\x06 \x01(\tR\vlineCarrier\x12\x1e\n" +
|
||||
"\n" +
|
||||
"lineRegion\x18\a \x01(\tR\n" +
|
||||
"lineRegion\x12\"\n" +
|
||||
"\flineProvince\x18\b \x01(\tR\flineProvince\x12$\n" +
|
||||
"\rlineContinent\x18\t \x01(\tR\rlineContinent\x12 \n" +
|
||||
"\vlineCountry\x18\n" +
|
||||
" \x01(\tR\vlineCountry\x12\x10\n" +
|
||||
"\x03ttl\x18\v \x01(\x05R\x03ttl\x12\x12\n" +
|
||||
"\x04isOn\x18\f \x01(\bR\x04isOn\x12\x1a\n" +
|
||||
"\bpriority\x18\r \x01(\x05R\bpriority\x12\x1c\n" +
|
||||
"\tupdatedAt\x18\x0e \x01(\x03R\tupdatedAt\x12/\n" +
|
||||
"\arecords\x18\x0f \x03(\v2\x15.pb.HTTPDNSRuleRecordR\arecordsB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_httpdns_rule_proto_rawDescOnce sync.Once
|
||||
file_models_model_httpdns_rule_proto_rawDescData = file_models_model_httpdns_rule_proto_rawDesc
|
||||
file_models_model_httpdns_rule_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_httpdns_rule_proto_rawDescGZIP() []byte {
|
||||
file_models_model_httpdns_rule_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_httpdns_rule_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_httpdns_rule_proto_rawDescData)
|
||||
file_models_model_httpdns_rule_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_httpdns_rule_proto_rawDesc), len(file_models_model_httpdns_rule_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_httpdns_rule_proto_rawDescData
|
||||
}
|
||||
@@ -346,7 +330,7 @@ func file_models_model_httpdns_rule_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_httpdns_rule_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_httpdns_rule_proto_rawDesc), len(file_models_model_httpdns_rule_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 2,
|
||||
NumExtensions: 0,
|
||||
@@ -357,7 +341,6 @@ func file_models_model_httpdns_rule_proto_init() {
|
||||
MessageInfos: file_models_model_httpdns_rule_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_httpdns_rule_proto = out.File
|
||||
file_models_model_httpdns_rule_proto_rawDesc = nil
|
||||
file_models_model_httpdns_rule_proto_goTypes = nil
|
||||
file_models_model_httpdns_rule_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.35.1
|
||||
// protoc v3.21.12
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_httpdns_runtime_log.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -21,23 +22,22 @@ const (
|
||||
)
|
||||
|
||||
type HTTPDNSRuntimeLog struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
ClusterId int64 `protobuf:"varint,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"`
|
||||
NodeId int64 `protobuf:"varint,3,opt,name=nodeId,proto3" json:"nodeId,omitempty"`
|
||||
Level string `protobuf:"bytes,4,opt,name=level,proto3" json:"level,omitempty"`
|
||||
Type string `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty"`
|
||||
Module string `protobuf:"bytes,6,opt,name=module,proto3" json:"module,omitempty"`
|
||||
Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"`
|
||||
Count int64 `protobuf:"varint,8,opt,name=count,proto3" json:"count,omitempty"`
|
||||
RequestId string `protobuf:"bytes,9,opt,name=requestId,proto3" json:"requestId,omitempty"`
|
||||
CreatedAt int64 `protobuf:"varint,10,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
|
||||
Day string `protobuf:"bytes,11,opt,name=day,proto3" json:"day,omitempty"`
|
||||
ClusterName string `protobuf:"bytes,12,opt,name=clusterName,proto3" json:"clusterName,omitempty"`
|
||||
NodeName string `protobuf:"bytes,13,opt,name=nodeName,proto3" json:"nodeName,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
ClusterId int64 `protobuf:"varint,2,opt,name=clusterId,proto3" json:"clusterId,omitempty"`
|
||||
NodeId int64 `protobuf:"varint,3,opt,name=nodeId,proto3" json:"nodeId,omitempty"`
|
||||
Level string `protobuf:"bytes,4,opt,name=level,proto3" json:"level,omitempty"`
|
||||
Type string `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty"`
|
||||
Module string `protobuf:"bytes,6,opt,name=module,proto3" json:"module,omitempty"`
|
||||
Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"`
|
||||
Count int64 `protobuf:"varint,8,opt,name=count,proto3" json:"count,omitempty"`
|
||||
RequestId string `protobuf:"bytes,9,opt,name=requestId,proto3" json:"requestId,omitempty"`
|
||||
CreatedAt int64 `protobuf:"varint,10,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
|
||||
Day string `protobuf:"bytes,11,opt,name=day,proto3" json:"day,omitempty"`
|
||||
ClusterName string `protobuf:"bytes,12,opt,name=clusterName,proto3" json:"clusterName,omitempty"`
|
||||
NodeName string `protobuf:"bytes,13,opt,name=nodeName,proto3" json:"nodeName,omitempty"`
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *HTTPDNSRuntimeLog) Reset() {
|
||||
@@ -163,43 +163,33 @@ func (x *HTTPDNSRuntimeLog) GetNodeName() string {
|
||||
|
||||
var File_models_model_httpdns_runtime_log_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_httpdns_runtime_log_proto_rawDesc = []byte{
|
||||
0x0a, 0x26, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x68,
|
||||
0x74, 0x74, 0x70, 0x64, 0x6e, 0x73, 0x5f, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6c,
|
||||
0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0xdf, 0x02, 0x0a,
|
||||
0x11, 0x48, 0x54, 0x54, 0x50, 0x44, 0x4e, 0x53, 0x52, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x4c,
|
||||
0x6f, 0x67, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02,
|
||||
0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18,
|
||||
0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64,
|
||||
0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03,
|
||||
0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65,
|
||||
0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x12,
|
||||
0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79,
|
||||
0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01,
|
||||
0x28, 0x09, 0x52, 0x06, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65,
|
||||
0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||
0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05,
|
||||
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75,
|
||||
0x6e, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x18,
|
||||
0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64,
|
||||
0x12, 0x1c, 0x0a, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x0a, 0x20,
|
||||
0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x10,
|
||||
0x0a, 0x03, 0x64, 0x61, 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x64, 0x61, 0x79,
|
||||
0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18,
|
||||
0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61,
|
||||
0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x6f, 0x64, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x0d,
|
||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x6f, 0x64, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x42, 0x06,
|
||||
0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_httpdns_runtime_log_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"&models/model_httpdns_runtime_log.proto\x12\x02pb\"\xdf\x02\n" +
|
||||
"\x11HTTPDNSRuntimeLog\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x1c\n" +
|
||||
"\tclusterId\x18\x02 \x01(\x03R\tclusterId\x12\x16\n" +
|
||||
"\x06nodeId\x18\x03 \x01(\x03R\x06nodeId\x12\x14\n" +
|
||||
"\x05level\x18\x04 \x01(\tR\x05level\x12\x12\n" +
|
||||
"\x04type\x18\x05 \x01(\tR\x04type\x12\x16\n" +
|
||||
"\x06module\x18\x06 \x01(\tR\x06module\x12 \n" +
|
||||
"\vdescription\x18\a \x01(\tR\vdescription\x12\x14\n" +
|
||||
"\x05count\x18\b \x01(\x03R\x05count\x12\x1c\n" +
|
||||
"\trequestId\x18\t \x01(\tR\trequestId\x12\x1c\n" +
|
||||
"\tcreatedAt\x18\n" +
|
||||
" \x01(\x03R\tcreatedAt\x12\x10\n" +
|
||||
"\x03day\x18\v \x01(\tR\x03day\x12 \n" +
|
||||
"\vclusterName\x18\f \x01(\tR\vclusterName\x12\x1a\n" +
|
||||
"\bnodeName\x18\r \x01(\tR\bnodeNameB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_httpdns_runtime_log_proto_rawDescOnce sync.Once
|
||||
file_models_model_httpdns_runtime_log_proto_rawDescData = file_models_model_httpdns_runtime_log_proto_rawDesc
|
||||
file_models_model_httpdns_runtime_log_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_httpdns_runtime_log_proto_rawDescGZIP() []byte {
|
||||
file_models_model_httpdns_runtime_log_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_httpdns_runtime_log_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_httpdns_runtime_log_proto_rawDescData)
|
||||
file_models_model_httpdns_runtime_log_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_httpdns_runtime_log_proto_rawDesc), len(file_models_model_httpdns_runtime_log_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_httpdns_runtime_log_proto_rawDescData
|
||||
}
|
||||
@@ -225,7 +215,7 @@ func file_models_model_httpdns_runtime_log_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_httpdns_runtime_log_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_httpdns_runtime_log_proto_rawDesc), len(file_models_model_httpdns_runtime_log_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -236,7 +226,6 @@ func file_models_model_httpdns_runtime_log_proto_init() {
|
||||
MessageInfos: file_models_model_httpdns_runtime_log_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_httpdns_runtime_log_proto = out.File
|
||||
file_models_model_httpdns_runtime_log_proto_rawDesc = nil
|
||||
file_models_model_httpdns_runtime_log_proto_goTypes = nil
|
||||
file_models_model_httpdns_runtime_log_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_ip_item.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -282,101 +283,54 @@ func (x *IPItem) GetSourceNode() *Node {
|
||||
|
||||
var File_models_model_ip_item_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_ip_item_proto_rawDesc = []byte{
|
||||
0x0a, 0x1a, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x69,
|
||||
0x70, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62,
|
||||
0x1a, 0x27, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x68,
|
||||
0x74, 0x74, 0x70, 0x5f, 0x66, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x5f, 0x70, 0x6f, 0x6c,
|
||||
0x69, 0x63, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2b, 0x6d, 0x6f, 0x64, 0x65, 0x6c,
|
||||
0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x66, 0x69, 0x72,
|
||||
0x65, 0x77, 0x61, 0x6c, 0x6c, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70,
|
||||
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x29, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d,
|
||||
0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x66, 0x69, 0x72, 0x65, 0x77, 0x61,
|
||||
0x6c, 0x6c, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
||||
0x6f, 0x1a, 0x19, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f,
|
||||
0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x6d, 0x6f,
|
||||
0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x2e,
|
||||
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd0, 0x08, 0x0a, 0x06, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d,
|
||||
0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64,
|
||||
0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x16, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x70, 0x46, 0x72, 0x6f, 0x6d,
|
||||
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x69, 0x70, 0x46, 0x72, 0x6f, 0x6d, 0x12, 0x12,
|
||||
0x0a, 0x04, 0x69, 0x70, 0x54, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x69, 0x70,
|
||||
0x54, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20,
|
||||
0x01, 0x28, 0x03, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09,
|
||||
0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x64, 0x41, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52,
|
||||
0x09, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x64, 0x41, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65,
|
||||
0x61, 0x73, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73,
|
||||
0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x69, 0x73, 0x74, 0x49, 0x64, 0x18, 0x07, 0x20, 0x01,
|
||||
0x28, 0x03, 0x52, 0x06, 0x6c, 0x69, 0x73, 0x74, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x69, 0x73,
|
||||
0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69,
|
||||
0x73, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65,
|
||||
0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1e, 0x0a, 0x0a,
|
||||
0x65, 0x76, 0x65, 0x6e, 0x74, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09,
|
||||
0x52, 0x0a, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x1a, 0x0a, 0x08,
|
||||
0x6c, 0x69, 0x73, 0x74, 0x54, 0x79, 0x70, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
|
||||
0x6c, 0x69, 0x73, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x47, 0x6c,
|
||||
0x6f, 0x62, 0x61, 0x6c, 0x18, 0x14, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x47, 0x6c,
|
||||
0x6f, 0x62, 0x61, 0x6c, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41,
|
||||
0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64,
|
||||
0x41, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x0d, 0x20, 0x01,
|
||||
0x28, 0x03, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65,
|
||||
0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65,
|
||||
0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
|
||||
0x4e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x73, 0x6f,
|
||||
0x75, 0x72, 0x63, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0e, 0x73, 0x6f,
|
||||
0x75, 0x72, 0x63, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x18, 0x10, 0x20, 0x01,
|
||||
0x28, 0x03, 0x52, 0x0e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72,
|
||||
0x49, 0x64, 0x12, 0x3e, 0x0a, 0x1a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x48, 0x54, 0x54, 0x50,
|
||||
0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64,
|
||||
0x18, 0x11, 0x20, 0x01, 0x28, 0x03, 0x52, 0x1a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x48, 0x54,
|
||||
0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
|
||||
0x49, 0x64, 0x12, 0x44, 0x0a, 0x1d, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x48, 0x54, 0x54, 0x50,
|
||||
0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75,
|
||||
0x70, 0x49, 0x64, 0x18, 0x12, 0x20, 0x01, 0x28, 0x03, 0x52, 0x1d, 0x73, 0x6f, 0x75, 0x72, 0x63,
|
||||
0x65, 0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x52, 0x75, 0x6c,
|
||||
0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x40, 0x0a, 0x1b, 0x73, 0x6f, 0x75, 0x72,
|
||||
0x63, 0x65, 0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x52, 0x75,
|
||||
0x6c, 0x65, 0x53, 0x65, 0x74, 0x49, 0x64, 0x18, 0x13, 0x20, 0x01, 0x28, 0x03, 0x52, 0x1b, 0x73,
|
||||
0x6f, 0x75, 0x72, 0x63, 0x65, 0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c,
|
||||
0x6c, 0x52, 0x75, 0x6c, 0x65, 0x53, 0x65, 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x73,
|
||||
0x52, 0x65, 0x61, 0x64, 0x18, 0x15, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x52, 0x65,
|
||||
0x61, 0x64, 0x12, 0x2e, 0x0a, 0x0c, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x65, 0x72, 0x76,
|
||||
0x65, 0x72, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65,
|
||||
0x72, 0x76, 0x65, 0x72, 0x52, 0x0c, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x65, 0x72, 0x76,
|
||||
0x65, 0x72, 0x12, 0x22, 0x0a, 0x06, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x18, 0x22, 0x20, 0x01,
|
||||
0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x06,
|
||||
0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x52, 0x0a, 0x18, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
|
||||
0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69,
|
||||
0x63, 0x79, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x70, 0x62, 0x2e, 0x48, 0x54,
|
||||
0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
|
||||
0x52, 0x18, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65,
|
||||
0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x5b, 0x0a, 0x1b, 0x73, 0x6f,
|
||||
0x75, 0x72, 0x63, 0x65, 0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c,
|
||||
0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x20, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
||||
0x19, 0x2e, 0x70, 0x62, 0x2e, 0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c,
|
||||
0x6c, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x1b, 0x73, 0x6f, 0x75, 0x72,
|
||||
0x63, 0x65, 0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x52, 0x75,
|
||||
0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x55, 0x0a, 0x19, 0x73, 0x6f, 0x75, 0x72, 0x63,
|
||||
0x65, 0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x52, 0x75, 0x6c,
|
||||
0x65, 0x53, 0x65, 0x74, 0x18, 0x21, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x62, 0x2e,
|
||||
0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x52, 0x75, 0x6c, 0x65,
|
||||
0x53, 0x65, 0x74, 0x52, 0x19, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x48, 0x54, 0x54, 0x50, 0x46,
|
||||
0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x52, 0x75, 0x6c, 0x65, 0x53, 0x65, 0x74, 0x12, 0x28,
|
||||
0x0a, 0x0a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x18, 0x23, 0x20, 0x01,
|
||||
0x28, 0x0b, 0x32, 0x08, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x0a, 0x73, 0x6f,
|
||||
0x75, 0x72, 0x63, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62,
|
||||
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_ip_item_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x1amodels/model_ip_item.proto\x12\x02pb\x1a'models/model_http_firewall_policy.proto\x1a+models/model_http_firewall_rule_group.proto\x1a)models/model_http_firewall_rule_set.proto\x1a\x19models/model_server.proto\x1a\x17models/model_node.proto\"\xd0\b\n" +
|
||||
"\x06IPItem\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x14\n" +
|
||||
"\x05value\x18\x16 \x01(\tR\x05value\x12\x16\n" +
|
||||
"\x06ipFrom\x18\x02 \x01(\tR\x06ipFrom\x12\x12\n" +
|
||||
"\x04ipTo\x18\x03 \x01(\tR\x04ipTo\x12\x18\n" +
|
||||
"\aversion\x18\x04 \x01(\x03R\aversion\x12\x1c\n" +
|
||||
"\texpiredAt\x18\x05 \x01(\x03R\texpiredAt\x12\x16\n" +
|
||||
"\x06reason\x18\x06 \x01(\tR\x06reason\x12\x16\n" +
|
||||
"\x06listId\x18\a \x01(\x03R\x06listId\x12\x1c\n" +
|
||||
"\tisDeleted\x18\b \x01(\bR\tisDeleted\x12\x12\n" +
|
||||
"\x04type\x18\t \x01(\tR\x04type\x12\x1e\n" +
|
||||
"\n" +
|
||||
"eventLevel\x18\n" +
|
||||
" \x01(\tR\n" +
|
||||
"eventLevel\x12\x1a\n" +
|
||||
"\blistType\x18\v \x01(\tR\blistType\x12\x1a\n" +
|
||||
"\bisGlobal\x18\x14 \x01(\bR\bisGlobal\x12\x1c\n" +
|
||||
"\tcreatedAt\x18\f \x01(\x03R\tcreatedAt\x12\x16\n" +
|
||||
"\x06nodeId\x18\r \x01(\x03R\x06nodeId\x12\x1a\n" +
|
||||
"\bserverId\x18\x0e \x01(\x03R\bserverId\x12\"\n" +
|
||||
"\fsourceNodeId\x18\x0f \x01(\x03R\fsourceNodeId\x12&\n" +
|
||||
"\x0esourceServerId\x18\x10 \x01(\x03R\x0esourceServerId\x12>\n" +
|
||||
"\x1asourceHTTPFirewallPolicyId\x18\x11 \x01(\x03R\x1asourceHTTPFirewallPolicyId\x12D\n" +
|
||||
"\x1dsourceHTTPFirewallRuleGroupId\x18\x12 \x01(\x03R\x1dsourceHTTPFirewallRuleGroupId\x12@\n" +
|
||||
"\x1bsourceHTTPFirewallRuleSetId\x18\x13 \x01(\x03R\x1bsourceHTTPFirewallRuleSetId\x12\x16\n" +
|
||||
"\x06isRead\x18\x15 \x01(\bR\x06isRead\x12.\n" +
|
||||
"\fsourceServer\x18\x1e \x01(\v2\n" +
|
||||
".pb.ServerR\fsourceServer\x12\"\n" +
|
||||
"\x06server\x18\" \x01(\v2\n" +
|
||||
".pb.ServerR\x06server\x12R\n" +
|
||||
"\x18sourceHTTPFirewallPolicy\x18\x1f \x01(\v2\x16.pb.HTTPFirewallPolicyR\x18sourceHTTPFirewallPolicy\x12[\n" +
|
||||
"\x1bsourceHTTPFirewallRuleGroup\x18 \x01(\v2\x19.pb.HTTPFirewallRuleGroupR\x1bsourceHTTPFirewallRuleGroup\x12U\n" +
|
||||
"\x19sourceHTTPFirewallRuleSet\x18! \x01(\v2\x17.pb.HTTPFirewallRuleSetR\x19sourceHTTPFirewallRuleSet\x12(\n" +
|
||||
"\n" +
|
||||
"sourceNode\x18# \x01(\v2\b.pb.NodeR\n" +
|
||||
"sourceNodeB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_ip_item_proto_rawDescOnce sync.Once
|
||||
file_models_model_ip_item_proto_rawDescData = file_models_model_ip_item_proto_rawDesc
|
||||
file_models_model_ip_item_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_ip_item_proto_rawDescGZIP() []byte {
|
||||
file_models_model_ip_item_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_ip_item_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_ip_item_proto_rawDescData)
|
||||
file_models_model_ip_item_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_ip_item_proto_rawDesc), len(file_models_model_ip_item_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_ip_item_proto_rawDescData
|
||||
}
|
||||
@@ -418,7 +372,7 @@ func file_models_model_ip_item_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_ip_item_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_ip_item_proto_rawDesc), len(file_models_model_ip_item_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -429,7 +383,6 @@ func file_models_model_ip_item_proto_init() {
|
||||
MessageInfos: file_models_model_ip_item_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_ip_item_proto = out.File
|
||||
file_models_model_ip_item_proto_rawDesc = nil
|
||||
file_models_model_ip_item_proto_goTypes = nil
|
||||
file_models_model_ip_item_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_ip_library.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -90,29 +91,23 @@ func (x *IPLibrary) GetFile() *File {
|
||||
|
||||
var File_models_model_ip_library_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_ip_library_proto_rawDesc = []byte{
|
||||
0x0a, 0x1d, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x69,
|
||||
0x70, 0x5f, 0x6c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
|
||||
0x02, 0x70, 0x62, 0x1a, 0x17, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65,
|
||||
0x6c, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6b, 0x0a, 0x09,
|
||||
0x49, 0x50, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18,
|
||||
0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70,
|
||||
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a,
|
||||
0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03,
|
||||
0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1c, 0x0a, 0x04, 0x66,
|
||||
0x69, 0x6c, 0x65, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x70, 0x62, 0x2e, 0x46,
|
||||
0x69, 0x6c, 0x65, 0x52, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70,
|
||||
0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_ip_library_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x1dmodels/model_ip_library.proto\x12\x02pb\x1a\x17models/model_file.proto\"k\n" +
|
||||
"\tIPLibrary\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
||||
"\x04type\x18\x02 \x01(\tR\x04type\x12\x1c\n" +
|
||||
"\tcreatedAt\x18\x03 \x01(\x03R\tcreatedAt\x12\x1c\n" +
|
||||
"\x04file\x18\x1e \x01(\v2\b.pb.FileR\x04fileB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_ip_library_proto_rawDescOnce sync.Once
|
||||
file_models_model_ip_library_proto_rawDescData = file_models_model_ip_library_proto_rawDesc
|
||||
file_models_model_ip_library_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_ip_library_proto_rawDescGZIP() []byte {
|
||||
file_models_model_ip_library_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_ip_library_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_ip_library_proto_rawDescData)
|
||||
file_models_model_ip_library_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_ip_library_proto_rawDesc), len(file_models_model_ip_library_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_ip_library_proto_rawDescData
|
||||
}
|
||||
@@ -141,7 +136,7 @@ func file_models_model_ip_library_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_ip_library_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_ip_library_proto_rawDesc), len(file_models_model_ip_library_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -152,7 +147,6 @@ func file_models_model_ip_library_proto_init() {
|
||||
MessageInfos: file_models_model_ip_library_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_ip_library_proto = out.File
|
||||
file_models_model_ip_library_proto_rawDesc = nil
|
||||
file_models_model_ip_library_proto_goTypes = nil
|
||||
file_models_model_ip_library_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_ip_library_artifact.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -122,36 +123,27 @@ func (x *IPLibraryArtifact) GetFile() *File {
|
||||
|
||||
var File_models_model_ip_library_artifact_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_ip_library_artifact_proto_rawDesc = []byte{
|
||||
0x0a, 0x26, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x69,
|
||||
0x70, 0x5f, 0x6c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x5f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61,
|
||||
0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x17, 0x6d, 0x6f,
|
||||
0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x2e,
|
||||
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd7, 0x01, 0x0a, 0x11, 0x49, 0x50, 0x4c, 0x69, 0x62, 0x72,
|
||||
0x61, 0x72, 0x79, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69,
|
||||
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x66,
|
||||
0x69, 0x6c, 0x65, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x66, 0x69, 0x6c,
|
||||
0x65, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74,
|
||||
0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41,
|
||||
0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x04, 0x20,
|
||||
0x01, 0x28, 0x0c, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x1a, 0x0a,
|
||||
0x08, 0x69, 0x73, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52,
|
||||
0x08, 0x69, 0x73, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
|
||||
0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a,
|
||||
0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64,
|
||||
0x65, 0x12, 0x1c, 0x0a, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
||||
0x08, 0x2e, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x42,
|
||||
0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_ip_library_artifact_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"&models/model_ip_library_artifact.proto\x12\x02pb\x1a\x17models/model_file.proto\"\xd7\x01\n" +
|
||||
"\x11IPLibraryArtifact\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x16\n" +
|
||||
"\x06fileId\x18\x02 \x01(\x03R\x06fileId\x12\x1c\n" +
|
||||
"\tcreatedAt\x18\x03 \x01(\x03R\tcreatedAt\x12\x1a\n" +
|
||||
"\bmetaJSON\x18\x04 \x01(\fR\bmetaJSON\x12\x1a\n" +
|
||||
"\bisPublic\x18\x05 \x01(\bR\bisPublic\x12\x12\n" +
|
||||
"\x04name\x18\x06 \x01(\tR\x04name\x12\x12\n" +
|
||||
"\x04code\x18\a \x01(\tR\x04code\x12\x1c\n" +
|
||||
"\x04file\x18\x1e \x01(\v2\b.pb.FileR\x04fileB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_ip_library_artifact_proto_rawDescOnce sync.Once
|
||||
file_models_model_ip_library_artifact_proto_rawDescData = file_models_model_ip_library_artifact_proto_rawDesc
|
||||
file_models_model_ip_library_artifact_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_ip_library_artifact_proto_rawDescGZIP() []byte {
|
||||
file_models_model_ip_library_artifact_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_ip_library_artifact_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_ip_library_artifact_proto_rawDescData)
|
||||
file_models_model_ip_library_artifact_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_ip_library_artifact_proto_rawDesc), len(file_models_model_ip_library_artifact_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_ip_library_artifact_proto_rawDescData
|
||||
}
|
||||
@@ -180,7 +172,7 @@ func file_models_model_ip_library_artifact_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_ip_library_artifact_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_ip_library_artifact_proto_rawDesc), len(file_models_model_ip_library_artifact_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -191,7 +183,6 @@ func file_models_model_ip_library_artifact_proto_init() {
|
||||
MessageInfos: file_models_model_ip_library_artifact_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_ip_library_artifact_proto = out.File
|
||||
file_models_model_ip_library_artifact_proto_rawDesc = nil
|
||||
file_models_model_ip_library_artifact_proto_goTypes = nil
|
||||
file_models_model_ip_library_artifact_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_ip_library_file.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -358,74 +359,49 @@ func (x *IPLibraryFile_Town) GetTownName() string {
|
||||
|
||||
var File_models_model_ip_library_file_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_ip_library_file_proto_rawDesc = []byte{
|
||||
0x0a, 0x22, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x69,
|
||||
0x70, 0x5f, 0x6c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x2e, 0x70,
|
||||
0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0xd4, 0x06, 0x0a, 0x0d, 0x49, 0x50, 0x4c,
|
||||
0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64,
|
||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
|
||||
0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16,
|
||||
0x0a, 0x06, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06,
|
||||
0x66, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61,
|
||||
0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61,
|
||||
0x74, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65,
|
||||
0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x56, 0x61,
|
||||
0x6c, 0x75, 0x65, 0x73, 0x12, 0x28, 0x0a, 0x0f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65,
|
||||
0x64, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x67,
|
||||
0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x20,
|
||||
0x0a, 0x0b, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x07, 0x20,
|
||||
0x01, 0x28, 0x03, 0x52, 0x0b, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74,
|
||||
0x12, 0x1e, 0x0a, 0x0a, 0x69, 0x73, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x18, 0x08,
|
||||
0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64,
|
||||
0x12, 0x1c, 0x0a, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x09, 0x20,
|
||||
0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x22,
|
||||
0x0a, 0x0c, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x0a,
|
||||
0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x4e, 0x61, 0x6d,
|
||||
0x65, 0x73, 0x12, 0x38, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x6e, 0x63, 0x65, 0x73, 0x18,
|
||||
0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x49, 0x50, 0x4c, 0x69, 0x62,
|
||||
0x72, 0x61, 0x72, 0x79, 0x46, 0x69, 0x6c, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x6e, 0x63,
|
||||
0x65, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x2e, 0x0a, 0x06,
|
||||
0x63, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x70,
|
||||
0x62, 0x2e, 0x49, 0x50, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x46, 0x69, 0x6c, 0x65, 0x2e,
|
||||
0x43, 0x69, 0x74, 0x79, 0x52, 0x06, 0x63, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x2c, 0x0a, 0x05,
|
||||
0x74, 0x6f, 0x77, 0x6e, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x70, 0x62,
|
||||
0x2e, 0x49, 0x50, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x46, 0x69, 0x6c, 0x65, 0x2e, 0x54,
|
||||
0x6f, 0x77, 0x6e, 0x52, 0x05, 0x74, 0x6f, 0x77, 0x6e, 0x73, 0x12, 0x24, 0x0a, 0x0d, 0x70, 0x72,
|
||||
0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x0e, 0x20, 0x03, 0x28,
|
||||
0x09, 0x52, 0x0d, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73,
|
||||
0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x0f, 0x20, 0x01,
|
||||
0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x1a, 0x50, 0x0a, 0x08,
|
||||
0x50, 0x72, 0x6f, 0x76, 0x69, 0x6e, 0x63, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6f, 0x75, 0x6e,
|
||||
0x74, 0x72, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63,
|
||||
0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x70, 0x72,
|
||||
0x6f, 0x76, 0x69, 0x6e, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
||||
0x52, 0x0c, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x6e, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x1a, 0x68,
|
||||
0x0a, 0x04, 0x43, 0x69, 0x74, 0x79, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72,
|
||||
0x79, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x75,
|
||||
0x6e, 0x74, 0x72, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x70, 0x72, 0x6f, 0x76,
|
||||
0x69, 0x6e, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c,
|
||||
0x70, 0x72, 0x6f, 0x76, 0x69, 0x6e, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08,
|
||||
0x63, 0x69, 0x74, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
|
||||
0x63, 0x69, 0x74, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x1a, 0x84, 0x01, 0x0a, 0x04, 0x54, 0x6f, 0x77,
|
||||
0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x4e, 0x61, 0x6d, 0x65,
|
||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x4e,
|
||||
0x61, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x6e, 0x63, 0x65, 0x4e,
|
||||
0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x70, 0x72, 0x6f, 0x76, 0x69,
|
||||
0x6e, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x69, 0x74, 0x79, 0x4e,
|
||||
0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x69, 0x74, 0x79, 0x4e,
|
||||
0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x6f, 0x77, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x18,
|
||||
0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x6f, 0x77, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x42,
|
||||
0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_ip_library_file_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\"models/model_ip_library_file.proto\x12\x02pb\"\xd4\x06\n" +
|
||||
"\rIPLibraryFile\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
||||
"\x04name\x18\x02 \x01(\tR\x04name\x12\x16\n" +
|
||||
"\x06fileId\x18\x03 \x01(\x03R\x06fileId\x12\x1a\n" +
|
||||
"\btemplate\x18\x04 \x01(\tR\btemplate\x12 \n" +
|
||||
"\vemptyValues\x18\x05 \x03(\tR\vemptyValues\x12(\n" +
|
||||
"\x0fgeneratedFileId\x18\x06 \x01(\x03R\x0fgeneratedFileId\x12 \n" +
|
||||
"\vgeneratedAt\x18\a \x01(\x03R\vgeneratedAt\x12\x1e\n" +
|
||||
"\n" +
|
||||
"isFinished\x18\b \x01(\bR\n" +
|
||||
"isFinished\x12\x1c\n" +
|
||||
"\tcreatedAt\x18\t \x01(\x03R\tcreatedAt\x12\"\n" +
|
||||
"\fcountryNames\x18\n" +
|
||||
" \x03(\tR\fcountryNames\x128\n" +
|
||||
"\tprovinces\x18\v \x03(\v2\x1a.pb.IPLibraryFile.ProvinceR\tprovinces\x12.\n" +
|
||||
"\x06cities\x18\f \x03(\v2\x16.pb.IPLibraryFile.CityR\x06cities\x12,\n" +
|
||||
"\x05towns\x18\r \x03(\v2\x16.pb.IPLibraryFile.TownR\x05towns\x12$\n" +
|
||||
"\rproviderNames\x18\x0e \x03(\tR\rproviderNames\x12\x1a\n" +
|
||||
"\bpassword\x18\x0f \x01(\tR\bpassword\x1aP\n" +
|
||||
"\bProvince\x12 \n" +
|
||||
"\vcountryName\x18\x01 \x01(\tR\vcountryName\x12\"\n" +
|
||||
"\fprovinceName\x18\x02 \x01(\tR\fprovinceName\x1ah\n" +
|
||||
"\x04City\x12 \n" +
|
||||
"\vcountryName\x18\x01 \x01(\tR\vcountryName\x12\"\n" +
|
||||
"\fprovinceName\x18\x02 \x01(\tR\fprovinceName\x12\x1a\n" +
|
||||
"\bcityName\x18\x03 \x01(\tR\bcityName\x1a\x84\x01\n" +
|
||||
"\x04Town\x12 \n" +
|
||||
"\vcountryName\x18\x01 \x01(\tR\vcountryName\x12\"\n" +
|
||||
"\fprovinceName\x18\x02 \x01(\tR\fprovinceName\x12\x1a\n" +
|
||||
"\bcityName\x18\x03 \x01(\tR\bcityName\x12\x1a\n" +
|
||||
"\btownName\x18\x04 \x01(\tR\btownNameB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_ip_library_file_proto_rawDescOnce sync.Once
|
||||
file_models_model_ip_library_file_proto_rawDescData = file_models_model_ip_library_file_proto_rawDesc
|
||||
file_models_model_ip_library_file_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_ip_library_file_proto_rawDescGZIP() []byte {
|
||||
file_models_model_ip_library_file_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_ip_library_file_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_ip_library_file_proto_rawDescData)
|
||||
file_models_model_ip_library_file_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_ip_library_file_proto_rawDesc), len(file_models_model_ip_library_file_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_ip_library_file_proto_rawDescData
|
||||
}
|
||||
@@ -457,7 +433,7 @@ func file_models_model_ip_library_file_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_ip_library_file_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_ip_library_file_proto_rawDesc), len(file_models_model_ip_library_file_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 4,
|
||||
NumExtensions: 0,
|
||||
@@ -468,7 +444,6 @@ func file_models_model_ip_library_file_proto_init() {
|
||||
MessageInfos: file_models_model_ip_library_file_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_ip_library_file_proto = out.File
|
||||
file_models_model_ip_library_file_proto_rawDesc = nil
|
||||
file_models_model_ip_library_file_proto_goTypes = nil
|
||||
file_models_model_ip_library_file_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_ip_list.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -130,35 +131,28 @@ func (x *IPList) GetIsGlobal() bool {
|
||||
|
||||
var File_models_model_ip_list_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_ip_list_proto_rawDesc = []byte{
|
||||
0x0a, 0x1a, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x69,
|
||||
0x70, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62,
|
||||
0x22, 0xe4, 0x01, 0x0a, 0x06, 0x49, 0x50, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69,
|
||||
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x69,
|
||||
0x73, 0x4f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x12,
|
||||
0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74,
|
||||
0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28,
|
||||
0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18,
|
||||
0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x74,
|
||||
0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c,
|
||||
0x52, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x1a, 0x0a,
|
||||
0x08, 0x69, 0x73, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52,
|
||||
0x08, 0x69, 0x73, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73,
|
||||
0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
|
||||
0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x69,
|
||||
0x73, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69,
|
||||
0x73, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62,
|
||||
0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_ip_list_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x1amodels/model_ip_list.proto\x12\x02pb\"\xe4\x01\n" +
|
||||
"\x06IPList\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
||||
"\x04isOn\x18\x02 \x01(\bR\x04isOn\x12\x12\n" +
|
||||
"\x04type\x18\x03 \x01(\tR\x04type\x12\x12\n" +
|
||||
"\x04name\x18\x04 \x01(\tR\x04name\x12\x12\n" +
|
||||
"\x04code\x18\x05 \x01(\tR\x04code\x12 \n" +
|
||||
"\vtimeoutJSON\x18\x06 \x01(\fR\vtimeoutJSON\x12\x1a\n" +
|
||||
"\bisPublic\x18\a \x01(\bR\bisPublic\x12 \n" +
|
||||
"\vdescription\x18\b \x01(\tR\vdescription\x12\x1a\n" +
|
||||
"\bisGlobal\x18\t \x01(\bR\bisGlobalB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_ip_list_proto_rawDescOnce sync.Once
|
||||
file_models_model_ip_list_proto_rawDescData = file_models_model_ip_list_proto_rawDesc
|
||||
file_models_model_ip_list_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_ip_list_proto_rawDescGZIP() []byte {
|
||||
file_models_model_ip_list_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_ip_list_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_ip_list_proto_rawDescData)
|
||||
file_models_model_ip_list_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_ip_list_proto_rawDesc), len(file_models_model_ip_list_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_ip_list_proto_rawDescData
|
||||
}
|
||||
@@ -184,7 +178,7 @@ func file_models_model_ip_list_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_ip_list_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_ip_list_proto_rawDesc), len(file_models_model_ip_list_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -195,7 +189,6 @@ func file_models_model_ip_list_proto_init() {
|
||||
MessageInfos: file_models_model_ip_list_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_ip_list_proto = out.File
|
||||
file_models_model_ip_list_proto_rawDesc = nil
|
||||
file_models_model_ip_list_proto_goTypes = nil
|
||||
file_models_model_ip_list_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_log.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -146,38 +147,33 @@ func (x *Log) GetDescription() string {
|
||||
|
||||
var File_models_model_log_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_log_proto_rawDesc = []byte{
|
||||
0x0a, 0x16, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6c,
|
||||
0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0x95, 0x02, 0x0a,
|
||||
0x03, 0x4c, 0x6f, 0x67, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
|
||||
0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x02, 0x20,
|
||||
0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x63,
|
||||
0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69,
|
||||
0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x49, 0x64, 0x18, 0x04, 0x20,
|
||||
0x01, 0x28, 0x03, 0x52, 0x07, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06,
|
||||
0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73,
|
||||
0x65, 0x72, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72,
|
||||
0x49, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64,
|
||||
0x65, 0x72, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41,
|
||||
0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64,
|
||||
0x41, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09,
|
||||
0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x70, 0x18, 0x09, 0x20, 0x01,
|
||||
0x28, 0x09, 0x52, 0x02, 0x69, 0x70, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61,
|
||||
0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61,
|
||||
0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
|
||||
0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
|
||||
0x74, 0x69, 0x6f, 0x6e, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72,
|
||||
0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_log_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x16models/model_log.proto\x12\x02pb\"\x95\x02\n" +
|
||||
"\x03Log\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x14\n" +
|
||||
"\x05level\x18\x02 \x01(\tR\x05level\x12\x16\n" +
|
||||
"\x06action\x18\x03 \x01(\tR\x06action\x12\x18\n" +
|
||||
"\aadminId\x18\x04 \x01(\x03R\aadminId\x12\x16\n" +
|
||||
"\x06userId\x18\x05 \x01(\x03R\x06userId\x12\x1e\n" +
|
||||
"\n" +
|
||||
"providerId\x18\x06 \x01(\x03R\n" +
|
||||
"providerId\x12\x1c\n" +
|
||||
"\tcreatedAt\x18\a \x01(\x03R\tcreatedAt\x12\x12\n" +
|
||||
"\x04type\x18\b \x01(\tR\x04type\x12\x0e\n" +
|
||||
"\x02ip\x18\t \x01(\tR\x02ip\x12\x1a\n" +
|
||||
"\buserName\x18\n" +
|
||||
" \x01(\tR\buserName\x12 \n" +
|
||||
"\vdescription\x18\v \x01(\tR\vdescriptionB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_log_proto_rawDescOnce sync.Once
|
||||
file_models_model_log_proto_rawDescData = file_models_model_log_proto_rawDesc
|
||||
file_models_model_log_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_log_proto_rawDescGZIP() []byte {
|
||||
file_models_model_log_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_log_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_log_proto_rawDescData)
|
||||
file_models_model_log_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_log_proto_rawDesc), len(file_models_model_log_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_log_proto_rawDescData
|
||||
}
|
||||
@@ -203,7 +199,7 @@ func file_models_model_log_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_log_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_log_proto_rawDesc), len(file_models_model_log_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -214,7 +210,6 @@ func file_models_model_log_proto_init() {
|
||||
MessageInfos: file_models_model_log_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_log_proto = out.File
|
||||
file_models_model_log_proto_rawDesc = nil
|
||||
file_models_model_log_proto_goTypes = nil
|
||||
file_models_model_log_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_login.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -106,30 +107,27 @@ func (x *Login) GetUserId() int64 {
|
||||
|
||||
var File_models_model_login_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_login_proto_rawDesc = []byte{
|
||||
0x0a, 0x18, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6c,
|
||||
0x6f, 0x67, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0x91,
|
||||
0x01, 0x0a, 0x05, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
|
||||
0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65,
|
||||
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1e, 0x0a, 0x0a,
|
||||
0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c,
|
||||
0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x12, 0x0a, 0x04,
|
||||
0x69, 0x73, 0x4f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6e,
|
||||
0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x49, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28,
|
||||
0x03, 0x52, 0x07, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73,
|
||||
0x65, 0x72, 0x49, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72,
|
||||
0x49, 0x64, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
|
||||
0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_login_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x18models/model_login.proto\x12\x02pb\"\x91\x01\n" +
|
||||
"\x05Login\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
||||
"\x04type\x18\x02 \x01(\tR\x04type\x12\x1e\n" +
|
||||
"\n" +
|
||||
"paramsJSON\x18\x03 \x01(\fR\n" +
|
||||
"paramsJSON\x12\x12\n" +
|
||||
"\x04isOn\x18\x04 \x01(\bR\x04isOn\x12\x18\n" +
|
||||
"\aadminId\x18\x05 \x01(\x03R\aadminId\x12\x16\n" +
|
||||
"\x06userId\x18\x06 \x01(\x03R\x06userIdB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_login_proto_rawDescOnce sync.Once
|
||||
file_models_model_login_proto_rawDescData = file_models_model_login_proto_rawDesc
|
||||
file_models_model_login_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_login_proto_rawDescGZIP() []byte {
|
||||
file_models_model_login_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_login_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_login_proto_rawDescData)
|
||||
file_models_model_login_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_login_proto_rawDesc), len(file_models_model_login_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_login_proto_rawDescData
|
||||
}
|
||||
@@ -155,7 +153,7 @@ func file_models_model_login_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_login_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_login_proto_rawDesc), len(file_models_model_login_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -166,7 +164,6 @@ func file_models_model_login_proto_init() {
|
||||
MessageInfos: file_models_model_login_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_login_proto = out.File
|
||||
file_models_model_login_proto_rawDesc = nil
|
||||
file_models_model_login_proto_goTypes = nil
|
||||
file_models_model_login_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_login_session.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -123,34 +124,29 @@ func (x *LoginSession) GetExpiresAt() int64 {
|
||||
|
||||
var File_models_model_login_session_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_login_session_proto_rawDesc = []byte{
|
||||
0x0a, 0x20, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6c,
|
||||
0x6f, 0x67, 0x69, 0x6e, 0x5f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f,
|
||||
0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0xce, 0x01, 0x0a, 0x0c, 0x4c, 0x6f, 0x67, 0x69, 0x6e,
|
||||
0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,
|
||||
0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x6d, 0x69, 0x6e,
|
||||
0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x49,
|
||||
0x64, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28,
|
||||
0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x69, 0x64,
|
||||
0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x73, 0x69, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x76,
|
||||
0x61, 0x6c, 0x75, 0x65, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52,
|
||||
0x0a, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x0e, 0x0a, 0x02, 0x69,
|
||||
0x70, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x70, 0x12, 0x1c, 0x0a, 0x09, 0x63,
|
||||
0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09,
|
||||
0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x65, 0x78, 0x70,
|
||||
0x69, 0x72, 0x65, 0x73, 0x41, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x65, 0x78,
|
||||
0x70, 0x69, 0x72, 0x65, 0x73, 0x41, 0x74, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62,
|
||||
0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_login_session_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
" models/model_login_session.proto\x12\x02pb\"\xce\x01\n" +
|
||||
"\fLoginSession\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x18\n" +
|
||||
"\aadminId\x18\x02 \x01(\x03R\aadminId\x12\x16\n" +
|
||||
"\x06userId\x18\x03 \x01(\x03R\x06userId\x12\x10\n" +
|
||||
"\x03sid\x18\x04 \x01(\tR\x03sid\x12\x1e\n" +
|
||||
"\n" +
|
||||
"valuesJSON\x18\x05 \x01(\fR\n" +
|
||||
"valuesJSON\x12\x0e\n" +
|
||||
"\x02ip\x18\x06 \x01(\tR\x02ip\x12\x1c\n" +
|
||||
"\tcreatedAt\x18\a \x01(\x03R\tcreatedAt\x12\x1c\n" +
|
||||
"\texpiresAt\x18\b \x01(\x03R\texpiresAtB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_login_session_proto_rawDescOnce sync.Once
|
||||
file_models_model_login_session_proto_rawDescData = file_models_model_login_session_proto_rawDesc
|
||||
file_models_model_login_session_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_login_session_proto_rawDescGZIP() []byte {
|
||||
file_models_model_login_session_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_login_session_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_login_session_proto_rawDescData)
|
||||
file_models_model_login_session_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_login_session_proto_rawDesc), len(file_models_model_login_session_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_login_session_proto_rawDescData
|
||||
}
|
||||
@@ -176,7 +172,7 @@ func file_models_model_login_session_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_login_session_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_login_session_proto_rawDesc), len(file_models_model_login_session_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -187,7 +183,6 @@ func file_models_model_login_session_proto_init() {
|
||||
MessageInfos: file_models_model_login_session_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_login_session_proto = out.File
|
||||
file_models_model_login_session_proto_rawDesc = nil
|
||||
file_models_model_login_session_proto_goTypes = nil
|
||||
file_models_model_login_session_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_login_ticket.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -107,30 +108,25 @@ func (x *LoginTicket) GetIp() string {
|
||||
|
||||
var File_models_model_login_ticket_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_login_ticket_proto_rawDesc = []byte{
|
||||
0x0a, 0x1f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6c,
|
||||
0x6f, 0x67, 0x69, 0x6e, 0x5f, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
||||
0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0x93, 0x01, 0x0a, 0x0b, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x54,
|
||||
0x69, 0x63, 0x6b, 0x65, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||
0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73,
|
||||
0x41, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65,
|
||||
0x73, 0x41, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01,
|
||||
0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x6d,
|
||||
0x69, 0x6e, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x61, 0x64, 0x6d, 0x69,
|
||||
0x6e, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x05, 0x20,
|
||||
0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69,
|
||||
0x70, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x70, 0x42, 0x06, 0x5a, 0x04, 0x2e,
|
||||
0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_login_ticket_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x1fmodels/model_login_ticket.proto\x12\x02pb\"\x93\x01\n" +
|
||||
"\vLoginTicket\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x1c\n" +
|
||||
"\texpiresAt\x18\x02 \x01(\x03R\texpiresAt\x12\x14\n" +
|
||||
"\x05value\x18\x03 \x01(\tR\x05value\x12\x18\n" +
|
||||
"\aadminId\x18\x04 \x01(\x03R\aadminId\x12\x16\n" +
|
||||
"\x06userId\x18\x05 \x01(\x03R\x06userId\x12\x0e\n" +
|
||||
"\x02ip\x18\x06 \x01(\tR\x02ipB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_login_ticket_proto_rawDescOnce sync.Once
|
||||
file_models_model_login_ticket_proto_rawDescData = file_models_model_login_ticket_proto_rawDesc
|
||||
file_models_model_login_ticket_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_login_ticket_proto_rawDescGZIP() []byte {
|
||||
file_models_model_login_ticket_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_login_ticket_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_login_ticket_proto_rawDescData)
|
||||
file_models_model_login_ticket_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_login_ticket_proto_rawDesc), len(file_models_model_login_ticket_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_login_ticket_proto_rawDescData
|
||||
}
|
||||
@@ -156,7 +152,7 @@ func file_models_model_login_ticket_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_login_ticket_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_login_ticket_proto_rawDesc), len(file_models_model_login_ticket_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -167,7 +163,6 @@ func file_models_model_login_ticket_proto_init() {
|
||||
MessageInfos: file_models_model_login_ticket_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_login_ticket_proto = out.File
|
||||
file_models_model_login_ticket_proto_rawDesc = nil
|
||||
file_models_model_login_ticket_proto_goTypes = nil
|
||||
file_models_model_login_ticket_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_message.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -138,41 +139,31 @@ func (x *Message) GetNode() *Node {
|
||||
|
||||
var File_models_model_message_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_message_proto_rawDesc = []byte{
|
||||
0x0a, 0x1a, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6d,
|
||||
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62,
|
||||
0x1a, 0x1f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e,
|
||||
0x6f, 0x64, 0x65, 0x5f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
||||
0x6f, 0x1a, 0x17, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f,
|
||||
0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x92, 0x02, 0x0a, 0x07, 0x4d,
|
||||
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
|
||||
0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02,
|
||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x6f,
|
||||
0x64, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x12, 0x14,
|
||||
0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c,
|
||||
0x65, 0x76, 0x65, 0x6c, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x4a, 0x53,
|
||||
0x4f, 0x4e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73,
|
||||
0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x73, 0x52, 0x65, 0x61, 0x64, 0x18, 0x06,
|
||||
0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x52, 0x65, 0x61, 0x64, 0x12, 0x1c, 0x0a, 0x09,
|
||||
0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52,
|
||||
0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x6f,
|
||||
0x6c, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x12, 0x31,
|
||||
0x0a, 0x0b, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x1e, 0x20,
|
||||
0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75,
|
||||
0x73, 0x74, 0x65, 0x72, 0x52, 0x0b, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65,
|
||||
0x72, 0x12, 0x1c, 0x0a, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
||||
0x08, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x42,
|
||||
0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_message_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x1amodels/model_message.proto\x12\x02pb\x1a\x1fmodels/model_node_cluster.proto\x1a\x17models/model_node.proto\"\x92\x02\n" +
|
||||
"\aMessage\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
||||
"\x04type\x18\x02 \x01(\tR\x04type\x12\x12\n" +
|
||||
"\x04body\x18\x03 \x01(\tR\x04body\x12\x14\n" +
|
||||
"\x05level\x18\x04 \x01(\tR\x05level\x12\x1e\n" +
|
||||
"\n" +
|
||||
"paramsJSON\x18\x05 \x01(\fR\n" +
|
||||
"paramsJSON\x12\x16\n" +
|
||||
"\x06isRead\x18\x06 \x01(\bR\x06isRead\x12\x1c\n" +
|
||||
"\tcreatedAt\x18\a \x01(\x03R\tcreatedAt\x12\x12\n" +
|
||||
"\x04role\x18\b \x01(\tR\x04role\x121\n" +
|
||||
"\vnodeCluster\x18\x1e \x01(\v2\x0f.pb.NodeClusterR\vnodeCluster\x12\x1c\n" +
|
||||
"\x04node\x18\x1f \x01(\v2\b.pb.NodeR\x04nodeB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_message_proto_rawDescOnce sync.Once
|
||||
file_models_model_message_proto_rawDescData = file_models_model_message_proto_rawDesc
|
||||
file_models_model_message_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_message_proto_rawDescGZIP() []byte {
|
||||
file_models_model_message_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_message_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_message_proto_rawDescData)
|
||||
file_models_model_message_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_message_proto_rawDesc), len(file_models_model_message_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_message_proto_rawDescData
|
||||
}
|
||||
@@ -204,7 +195,7 @@ func file_models_model_message_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_message_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_message_proto_rawDesc), len(file_models_model_message_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -215,7 +206,6 @@ func file_models_model_message_proto_init() {
|
||||
MessageInfos: file_models_model_message_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_message_proto = out.File
|
||||
file_models_model_message_proto_rawDesc = nil
|
||||
file_models_model_message_proto_goTypes = nil
|
||||
file_models_model_message_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_message_media.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -106,31 +107,25 @@ func (x *MessageMedia) GetIsOn() bool {
|
||||
|
||||
var File_models_model_message_media_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_message_media_proto_rawDesc = []byte{
|
||||
0x0a, 0x20, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6d,
|
||||
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x2e, 0x70, 0x72, 0x6f,
|
||||
0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0xa6, 0x01, 0x0a, 0x0c, 0x4d, 0x65, 0x73, 0x73, 0x61,
|
||||
0x67, 0x65, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,
|
||||
0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18,
|
||||
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e,
|
||||
0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12,
|
||||
0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04,
|
||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
|
||||
0x6e, 0x12, 0x28, 0x0a, 0x0f, 0x75, 0x73, 0x65, 0x72, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
|
||||
0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x75, 0x73, 0x65, 0x72,
|
||||
0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x69,
|
||||
0x73, 0x4f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x42,
|
||||
0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_message_media_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
" models/model_message_media.proto\x12\x02pb\"\xa6\x01\n" +
|
||||
"\fMessageMedia\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
||||
"\x04type\x18\x02 \x01(\tR\x04type\x12\x12\n" +
|
||||
"\x04name\x18\x03 \x01(\tR\x04name\x12 \n" +
|
||||
"\vdescription\x18\x04 \x01(\tR\vdescription\x12(\n" +
|
||||
"\x0fuserDescription\x18\x05 \x01(\tR\x0fuserDescription\x12\x12\n" +
|
||||
"\x04isOn\x18\x06 \x01(\bR\x04isOnB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_message_media_proto_rawDescOnce sync.Once
|
||||
file_models_model_message_media_proto_rawDescData = file_models_model_message_media_proto_rawDesc
|
||||
file_models_model_message_media_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_message_media_proto_rawDescGZIP() []byte {
|
||||
file_models_model_message_media_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_message_media_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_message_media_proto_rawDescData)
|
||||
file_models_model_message_media_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_message_media_proto_rawDesc), len(file_models_model_message_media_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_message_media_proto_rawDescData
|
||||
}
|
||||
@@ -156,7 +151,7 @@ func file_models_model_message_media_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_message_media_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_message_media_proto_rawDesc), len(file_models_model_message_media_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -167,7 +162,6 @@ func file_models_model_message_media_proto_init() {
|
||||
MessageInfos: file_models_model_message_media_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_message_media_proto = out.File
|
||||
file_models_model_message_media_proto_rawDesc = nil
|
||||
file_models_model_message_media_proto_goTypes = nil
|
||||
file_models_model_message_media_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_message_media_instance.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -122,40 +123,29 @@ func (x *MessageMediaInstance) GetHashLife() int32 {
|
||||
|
||||
var File_models_model_message_media_instance_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_message_media_instance_proto_rawDesc = []byte{
|
||||
0x0a, 0x29, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6d,
|
||||
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x5f, 0x69, 0x6e, 0x73,
|
||||
0x74, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a,
|
||||
0x20, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6d, 0x65,
|
||||
0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
||||
0x6f, 0x22, 0xfe, 0x01, 0x0a, 0x14, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4d, 0x65, 0x64,
|
||||
0x69, 0x61, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64,
|
||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73,
|
||||
0x4f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x12, 0x12,
|
||||
0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
|
||||
0x6d, 0x65, 0x12, 0x34, 0x0a, 0x0c, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4d, 0x65, 0x64,
|
||||
0x69, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x62, 0x2e, 0x4d, 0x65,
|
||||
0x73, 0x73, 0x61, 0x67, 0x65, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x52, 0x0c, 0x6d, 0x65, 0x73, 0x73,
|
||||
0x61, 0x67, 0x65, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x61,
|
||||
0x6d, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x70, 0x61,
|
||||
0x72, 0x61, 0x6d, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63,
|
||||
0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64,
|
||||
0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x61,
|
||||
0x74, 0x65, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x61,
|
||||
0x74, 0x65, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x61, 0x73, 0x68, 0x4c, 0x69,
|
||||
0x66, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x68, 0x61, 0x73, 0x68, 0x4c, 0x69,
|
||||
0x66, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
|
||||
0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_message_media_instance_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
")models/model_message_media_instance.proto\x12\x02pb\x1a models/model_message_media.proto\"\xfe\x01\n" +
|
||||
"\x14MessageMediaInstance\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
||||
"\x04isOn\x18\x02 \x01(\bR\x04isOn\x12\x12\n" +
|
||||
"\x04name\x18\x03 \x01(\tR\x04name\x124\n" +
|
||||
"\fmessageMedia\x18\x04 \x01(\v2\x10.pb.MessageMediaR\fmessageMedia\x12\x1e\n" +
|
||||
"\n" +
|
||||
"paramsJSON\x18\x05 \x01(\fR\n" +
|
||||
"paramsJSON\x12 \n" +
|
||||
"\vdescription\x18\x06 \x01(\tR\vdescription\x12\x1a\n" +
|
||||
"\brateJSON\x18\a \x01(\fR\brateJSON\x12\x1a\n" +
|
||||
"\bhashLife\x18\b \x01(\x05R\bhashLifeB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_message_media_instance_proto_rawDescOnce sync.Once
|
||||
file_models_model_message_media_instance_proto_rawDescData = file_models_model_message_media_instance_proto_rawDesc
|
||||
file_models_model_message_media_instance_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_message_media_instance_proto_rawDescGZIP() []byte {
|
||||
file_models_model_message_media_instance_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_message_media_instance_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_message_media_instance_proto_rawDescData)
|
||||
file_models_model_message_media_instance_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_message_media_instance_proto_rawDesc), len(file_models_model_message_media_instance_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_message_media_instance_proto_rawDescData
|
||||
}
|
||||
@@ -184,7 +174,7 @@ func file_models_model_message_media_instance_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_message_media_instance_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_message_media_instance_proto_rawDesc), len(file_models_model_message_media_instance_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -195,7 +185,6 @@ func file_models_model_message_media_instance_proto_init() {
|
||||
MessageInfos: file_models_model_message_media_instance_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_message_media_instance_proto = out.File
|
||||
file_models_model_message_media_instance_proto_rawDesc = nil
|
||||
file_models_model_message_media_instance_proto_goTypes = nil
|
||||
file_models_model_message_media_instance_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_message_receiver.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -130,47 +131,30 @@ func (x *MessageReceiver) GetMessageRecipientGroup() *MessageRecipientGroup {
|
||||
|
||||
var File_models_model_message_receiver_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_message_receiver_proto_rawDesc = []byte{
|
||||
0x0a, 0x23, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6d,
|
||||
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x2e,
|
||||
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x24, 0x6d, 0x6f, 0x64, 0x65, 0x6c,
|
||||
0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f,
|
||||
0x72, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
|
||||
0x2a, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6d, 0x65,
|
||||
0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x5f,
|
||||
0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xce, 0x02, 0x0a, 0x0f,
|
||||
0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x12,
|
||||
0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12,
|
||||
0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01,
|
||||
0x28, 0x03, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x16, 0x0a,
|
||||
0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e,
|
||||
0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49,
|
||||
0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49,
|
||||
0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||
0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x4a,
|
||||
0x53, 0x4f, 0x4e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d,
|
||||
0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x09, 0x20,
|
||||
0x01, 0x28, 0x09, 0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x12, 0x40, 0x0a, 0x10, 0x6d, 0x65, 0x73,
|
||||
0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x18, 0x07, 0x20,
|
||||
0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
|
||||
0x52, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x10, 0x6d, 0x65, 0x73, 0x73, 0x61,
|
||||
0x67, 0x65, 0x52, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x4f, 0x0a, 0x15, 0x6d,
|
||||
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x47,
|
||||
0x72, 0x6f, 0x75, 0x70, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x62, 0x2e,
|
||||
0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74,
|
||||
0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x15, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65,
|
||||
0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x06, 0x5a, 0x04,
|
||||
0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_message_receiver_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"#models/model_message_receiver.proto\x12\x02pb\x1a$models/model_message_recipient.proto\x1a*models/model_message_recipient_group.proto\"\xce\x02\n" +
|
||||
"\x0fMessageReceiver\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x1c\n" +
|
||||
"\tclusterId\x18\x02 \x01(\x03R\tclusterId\x12\x16\n" +
|
||||
"\x06nodeId\x18\x03 \x01(\x03R\x06nodeId\x12\x1a\n" +
|
||||
"\bserverId\x18\x04 \x01(\x03R\bserverId\x12\x12\n" +
|
||||
"\x04type\x18\x05 \x01(\tR\x04type\x12\x1e\n" +
|
||||
"\n" +
|
||||
"paramsJSON\x18\x06 \x01(\fR\n" +
|
||||
"paramsJSON\x12\x12\n" +
|
||||
"\x04role\x18\t \x01(\tR\x04role\x12@\n" +
|
||||
"\x10messageRecipient\x18\a \x01(\v2\x14.pb.MessageRecipientR\x10messageRecipient\x12O\n" +
|
||||
"\x15messageRecipientGroup\x18\b \x01(\v2\x19.pb.MessageRecipientGroupR\x15messageRecipientGroupB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_message_receiver_proto_rawDescOnce sync.Once
|
||||
file_models_model_message_receiver_proto_rawDescData = file_models_model_message_receiver_proto_rawDesc
|
||||
file_models_model_message_receiver_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_message_receiver_proto_rawDescGZIP() []byte {
|
||||
file_models_model_message_receiver_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_message_receiver_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_message_receiver_proto_rawDescData)
|
||||
file_models_model_message_receiver_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_message_receiver_proto_rawDesc), len(file_models_model_message_receiver_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_message_receiver_proto_rawDescData
|
||||
}
|
||||
@@ -202,7 +186,7 @@ func file_models_model_message_receiver_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_message_receiver_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_message_receiver_proto_rawDesc), len(file_models_model_message_receiver_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -213,7 +197,6 @@ func file_models_model_message_receiver_proto_init() {
|
||||
MessageInfos: file_models_model_message_receiver_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_message_receiver_proto = out.File
|
||||
file_models_model_message_receiver_proto_rawDesc = nil
|
||||
file_models_model_message_receiver_proto_goTypes = nil
|
||||
file_models_model_message_receiver_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_message_recipient.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -130,50 +131,28 @@ func (x *MessageRecipient) GetTimeTo() string {
|
||||
|
||||
var File_models_model_message_recipient_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_message_recipient_proto_rawDesc = []byte{
|
||||
0x0a, 0x24, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6d,
|
||||
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74,
|
||||
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x18, 0x6d, 0x6f, 0x64, 0x65,
|
||||
0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x70,
|
||||
0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2a, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64,
|
||||
0x65, 0x6c, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x69, 0x70,
|
||||
0x69, 0x65, 0x6e, 0x74, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
||||
0x1a, 0x29, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6d,
|
||||
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x5f, 0x69, 0x6e, 0x73,
|
||||
0x74, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe2, 0x02, 0x0a, 0x10,
|
||||
0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74,
|
||||
0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64,
|
||||
0x12, 0x1f, 0x0a, 0x05, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
||||
0x09, 0x2e, 0x70, 0x62, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x05, 0x61, 0x64, 0x6d, 0x69,
|
||||
0x6e, 0x12, 0x4c, 0x0a, 0x14, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4d, 0x65, 0x64, 0x69,
|
||||
0x61, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
||||
0x18, 0x2e, 0x70, 0x62, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4d, 0x65, 0x64, 0x69,
|
||||
0x61, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x14, 0x6d, 0x65, 0x73, 0x73, 0x61,
|
||||
0x67, 0x65, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12,
|
||||
0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69,
|
||||
0x73, 0x4f, 0x6e, 0x12, 0x51, 0x0a, 0x16, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65,
|
||||
0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x05, 0x20,
|
||||
0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x62, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
|
||||
0x52, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x16,
|
||||
0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74,
|
||||
0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69,
|
||||
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73,
|
||||
0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72,
|
||||
0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08,
|
||||
0x74, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
|
||||
0x74, 0x69, 0x6d, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x69, 0x6d, 0x65,
|
||||
0x54, 0x6f, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x69, 0x6d, 0x65, 0x54, 0x6f,
|
||||
0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_message_recipient_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"$models/model_message_recipient.proto\x12\x02pb\x1a\x18models/model_admin.proto\x1a*models/model_message_recipient_group.proto\x1a)models/model_message_media_instance.proto\"\xe2\x02\n" +
|
||||
"\x10MessageRecipient\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x1f\n" +
|
||||
"\x05admin\x18\x02 \x01(\v2\t.pb.AdminR\x05admin\x12L\n" +
|
||||
"\x14messageMediaInstance\x18\x03 \x01(\v2\x18.pb.MessageMediaInstanceR\x14messageMediaInstance\x12\x12\n" +
|
||||
"\x04isOn\x18\x04 \x01(\bR\x04isOn\x12Q\n" +
|
||||
"\x16messageRecipientGroups\x18\x05 \x03(\v2\x19.pb.MessageRecipientGroupR\x16messageRecipientGroups\x12 \n" +
|
||||
"\vdescription\x18\x06 \x01(\tR\vdescription\x12\x12\n" +
|
||||
"\x04user\x18\a \x01(\tR\x04user\x12\x1a\n" +
|
||||
"\btimeFrom\x18\b \x01(\tR\btimeFrom\x12\x16\n" +
|
||||
"\x06timeTo\x18\t \x01(\tR\x06timeToB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_message_recipient_proto_rawDescOnce sync.Once
|
||||
file_models_model_message_recipient_proto_rawDescData = file_models_model_message_recipient_proto_rawDesc
|
||||
file_models_model_message_recipient_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_message_recipient_proto_rawDescGZIP() []byte {
|
||||
file_models_model_message_recipient_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_message_recipient_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_message_recipient_proto_rawDescData)
|
||||
file_models_model_message_recipient_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_message_recipient_proto_rawDesc), len(file_models_model_message_recipient_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_message_recipient_proto_rawDescData
|
||||
}
|
||||
@@ -208,7 +187,7 @@ func file_models_model_message_recipient_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_message_recipient_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_message_recipient_proto_rawDesc), len(file_models_model_message_recipient_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -219,7 +198,6 @@ func file_models_model_message_recipient_proto_init() {
|
||||
MessageInfos: file_models_model_message_recipient_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_message_recipient_proto = out.File
|
||||
file_models_model_message_recipient_proto_rawDesc = nil
|
||||
file_models_model_message_recipient_proto_goTypes = nil
|
||||
file_models_model_message_recipient_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_message_recipient_group.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -82,27 +83,22 @@ func (x *MessageRecipientGroup) GetIsOn() bool {
|
||||
|
||||
var File_models_model_message_recipient_group_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_message_recipient_group_proto_rawDesc = []byte{
|
||||
0x0a, 0x2a, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6d,
|
||||
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74,
|
||||
0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62,
|
||||
0x22, 0x4f, 0x0a, 0x15, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x63, 0x69, 0x70,
|
||||
0x69, 0x65, 0x6e, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18,
|
||||
0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
|
||||
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a,
|
||||
0x04, 0x69, 0x73, 0x4f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f,
|
||||
0x6e, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
||||
0x33,
|
||||
}
|
||||
const file_models_model_message_recipient_group_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"*models/model_message_recipient_group.proto\x12\x02pb\"O\n" +
|
||||
"\x15MessageRecipientGroup\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
||||
"\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n" +
|
||||
"\x04isOn\x18\x03 \x01(\bR\x04isOnB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_message_recipient_group_proto_rawDescOnce sync.Once
|
||||
file_models_model_message_recipient_group_proto_rawDescData = file_models_model_message_recipient_group_proto_rawDesc
|
||||
file_models_model_message_recipient_group_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_message_recipient_group_proto_rawDescGZIP() []byte {
|
||||
file_models_model_message_recipient_group_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_message_recipient_group_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_message_recipient_group_proto_rawDescData)
|
||||
file_models_model_message_recipient_group_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_message_recipient_group_proto_rawDesc), len(file_models_model_message_recipient_group_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_message_recipient_group_proto_rawDescData
|
||||
}
|
||||
@@ -128,7 +124,7 @@ func file_models_model_message_recipient_group_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_message_recipient_group_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_message_recipient_group_proto_rawDesc), len(file_models_model_message_recipient_group_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -139,7 +135,6 @@ func file_models_model_message_recipient_group_proto_init() {
|
||||
MessageInfos: file_models_model_message_recipient_group_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_message_recipient_group_proto = out.File
|
||||
file_models_model_message_recipient_group_proto_rawDesc = nil
|
||||
file_models_model_message_recipient_group_proto_goTypes = nil
|
||||
file_models_model_message_recipient_group_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_message_task.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -198,54 +199,34 @@ func (x *MessageTaskResult) GetResponse() string {
|
||||
|
||||
var File_models_model_message_task_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_message_task_proto_rawDesc = []byte{
|
||||
0x0a, 0x1f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6d,
|
||||
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
||||
0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x24, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f,
|
||||
0x64, 0x65, 0x6c, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x69,
|
||||
0x70, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x29, 0x6d, 0x6f, 0x64,
|
||||
0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
|
||||
0x65, 0x5f, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x5f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,
|
||||
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xec, 0x02, 0x0a, 0x0b, 0x4d, 0x65, 0x73, 0x73, 0x61,
|
||||
0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
|
||||
0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x40, 0x0a, 0x10, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
|
||||
0x65, 0x52, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
|
||||
0x32, 0x14, 0x2e, 0x70, 0x62, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x63,
|
||||
0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x10, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52,
|
||||
0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72,
|
||||
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07,
|
||||
0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73,
|
||||
0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x05,
|
||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x72,
|
||||
0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63,
|
||||
0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74,
|
||||
0x75, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73,
|
||||
0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x6e, 0x74, 0x41, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03,
|
||||
0x52, 0x06, 0x73, 0x65, 0x6e, 0x74, 0x41, 0x74, 0x12, 0x2d, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75,
|
||||
0x6c, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x62, 0x2e, 0x4d, 0x65,
|
||||
0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52,
|
||||
0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x4c, 0x0a, 0x14, 0x6d, 0x65, 0x73, 0x73, 0x61,
|
||||
0x67, 0x65, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18,
|
||||
0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61,
|
||||
0x67, 0x65, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52,
|
||||
0x14, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x49, 0x6e, 0x73,
|
||||
0x74, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x59, 0x0a, 0x11, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
|
||||
0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73,
|
||||
0x4f, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6b, 0x12, 0x14,
|
||||
0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65,
|
||||
0x72, 0x72, 0x6f, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
||||
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
||||
0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_message_task_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x1fmodels/model_message_task.proto\x12\x02pb\x1a$models/model_message_recipient.proto\x1a)models/model_message_media_instance.proto\"\xec\x02\n" +
|
||||
"\vMessageTask\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12@\n" +
|
||||
"\x10messageRecipient\x18\x02 \x01(\v2\x14.pb.MessageRecipientR\x10messageRecipient\x12\x12\n" +
|
||||
"\x04user\x18\x03 \x01(\tR\x04user\x12\x18\n" +
|
||||
"\asubject\x18\x04 \x01(\tR\asubject\x12\x12\n" +
|
||||
"\x04body\x18\x05 \x01(\tR\x04body\x12\x1c\n" +
|
||||
"\tcreatedAt\x18\x06 \x01(\x03R\tcreatedAt\x12\x16\n" +
|
||||
"\x06status\x18\a \x01(\x05R\x06status\x12\x16\n" +
|
||||
"\x06sentAt\x18\b \x01(\x03R\x06sentAt\x12-\n" +
|
||||
"\x06result\x18\t \x01(\v2\x15.pb.MessageTaskResultR\x06result\x12L\n" +
|
||||
"\x14messageMediaInstance\x18\n" +
|
||||
" \x01(\v2\x18.pb.MessageMediaInstanceR\x14messageMediaInstance\"Y\n" +
|
||||
"\x11MessageTaskResult\x12\x12\n" +
|
||||
"\x04isOk\x18\x01 \x01(\bR\x04isOk\x12\x14\n" +
|
||||
"\x05error\x18\x02 \x01(\tR\x05error\x12\x1a\n" +
|
||||
"\bresponse\x18\x03 \x01(\tR\bresponseB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_message_task_proto_rawDescOnce sync.Once
|
||||
file_models_model_message_task_proto_rawDescData = file_models_model_message_task_proto_rawDesc
|
||||
file_models_model_message_task_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_message_task_proto_rawDescGZIP() []byte {
|
||||
file_models_model_message_task_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_message_task_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_message_task_proto_rawDescData)
|
||||
file_models_model_message_task_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_message_task_proto_rawDesc), len(file_models_model_message_task_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_message_task_proto_rawDescData
|
||||
}
|
||||
@@ -279,7 +260,7 @@ func file_models_model_message_task_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_message_task_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_message_task_proto_rawDesc), len(file_models_model_message_task_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 2,
|
||||
NumExtensions: 0,
|
||||
@@ -290,7 +271,6 @@ func file_models_model_message_task_proto_init() {
|
||||
MessageInfos: file_models_model_message_task_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_message_task_proto = out.File
|
||||
file_models_model_message_task_proto_rawDesc = nil
|
||||
file_models_model_message_task_proto_goTypes = nil
|
||||
file_models_model_message_task_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_message_task_log.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -107,35 +108,25 @@ func (x *MessageTaskLog) GetMessageTask() *MessageTask {
|
||||
|
||||
var File_models_model_message_task_log_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_message_task_log_proto_rawDesc = []byte{
|
||||
0x0a, 0x23, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6d,
|
||||
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x6c, 0x6f, 0x67, 0x2e,
|
||||
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x1f, 0x6d, 0x6f, 0x64, 0x65, 0x6c,
|
||||
0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f,
|
||||
0x74, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb7, 0x01, 0x0a, 0x0e, 0x4d,
|
||||
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x4c, 0x6f, 0x67, 0x12, 0x0e, 0x0a,
|
||||
0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1c, 0x0a,
|
||||
0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03,
|
||||
0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x69,
|
||||
0x73, 0x4f, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6b, 0x12,
|
||||
0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
|
||||
0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
||||
0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
||||
0x65, 0x12, 0x31, 0x0a, 0x0b, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b,
|
||||
0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x4d, 0x65, 0x73, 0x73,
|
||||
0x61, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x0b, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
|
||||
0x54, 0x61, 0x73, 0x6b, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72,
|
||||
0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_message_task_log_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"#models/model_message_task_log.proto\x12\x02pb\x1a\x1fmodels/model_message_task.proto\"\xb7\x01\n" +
|
||||
"\x0eMessageTaskLog\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x1c\n" +
|
||||
"\tcreatedAt\x18\x02 \x01(\x03R\tcreatedAt\x12\x12\n" +
|
||||
"\x04isOk\x18\x03 \x01(\bR\x04isOk\x12\x14\n" +
|
||||
"\x05error\x18\x04 \x01(\tR\x05error\x12\x1a\n" +
|
||||
"\bresponse\x18\x05 \x01(\tR\bresponse\x121\n" +
|
||||
"\vmessageTask\x18\x06 \x01(\v2\x0f.pb.MessageTaskR\vmessageTaskB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_message_task_log_proto_rawDescOnce sync.Once
|
||||
file_models_model_message_task_log_proto_rawDescData = file_models_model_message_task_log_proto_rawDesc
|
||||
file_models_model_message_task_log_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_message_task_log_proto_rawDescGZIP() []byte {
|
||||
file_models_model_message_task_log_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_message_task_log_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_message_task_log_proto_rawDescData)
|
||||
file_models_model_message_task_log_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_message_task_log_proto_rawDesc), len(file_models_model_message_task_log_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_message_task_log_proto_rawDescData
|
||||
}
|
||||
@@ -164,7 +155,7 @@ func file_models_model_message_task_log_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_message_task_log_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_message_task_log_proto_rawDesc), len(file_models_model_message_task_log_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -175,7 +166,6 @@ func file_models_model_message_task_log_proto_init() {
|
||||
MessageInfos: file_models_model_message_task_log_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_message_task_log_proto = out.File
|
||||
file_models_model_message_task_log_proto_rawDesc = nil
|
||||
file_models_model_message_task_log_proto_goTypes = nil
|
||||
file_models_model_message_task_log_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_metric_chart.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -139,42 +140,33 @@ func (x *MetricChart) GetMetricItem() *MetricItem {
|
||||
|
||||
var File_models_model_metric_chart_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_metric_chart_proto_rawDesc = []byte{
|
||||
0x0a, 0x1f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6d,
|
||||
0x65, 0x74, 0x72, 0x69, 0x63, 0x5f, 0x63, 0x68, 0x61, 0x72, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
||||
0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x1e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f,
|
||||
0x64, 0x65, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x2e,
|
||||
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xad, 0x02, 0x0a, 0x0b, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63,
|
||||
0x43, 0x68, 0x61, 0x72, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||
0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20,
|
||||
0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70,
|
||||
0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a,
|
||||
0x08, 0x77, 0x69, 0x64, 0x74, 0x68, 0x44, 0x69, 0x76, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52,
|
||||
0x08, 0x77, 0x69, 0x64, 0x74, 0x68, 0x44, 0x69, 0x76, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x61, 0x72,
|
||||
0x61, 0x6d, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x70,
|
||||
0x61, 0x72, 0x61, 0x6d, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f,
|
||||
0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x12, 0x1a, 0x0a,
|
||||
0x08, 0x6d, 0x61, 0x78, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52,
|
||||
0x08, 0x6d, 0x61, 0x78, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x28, 0x0a, 0x0f, 0x69, 0x67, 0x6e,
|
||||
0x6f, 0x72, 0x65, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4b, 0x65, 0x79, 0x73, 0x18, 0x08, 0x20, 0x01,
|
||||
0x28, 0x08, 0x52, 0x0f, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4b,
|
||||
0x65, 0x79, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x64, 0x4b, 0x65,
|
||||
0x79, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65,
|
||||
0x64, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x2e, 0x0a, 0x0a, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x49,
|
||||
0x74, 0x65, 0x6d, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x4d,
|
||||
0x65, 0x74, 0x72, 0x69, 0x63, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x0a, 0x6d, 0x65, 0x74, 0x72, 0x69,
|
||||
0x63, 0x49, 0x74, 0x65, 0x6d, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70,
|
||||
0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_metric_chart_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x1fmodels/model_metric_chart.proto\x12\x02pb\x1a\x1emodels/model_metric_item.proto\"\xad\x02\n" +
|
||||
"\vMetricChart\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
||||
"\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n" +
|
||||
"\x04type\x18\x03 \x01(\tR\x04type\x12\x1a\n" +
|
||||
"\bwidthDiv\x18\x04 \x01(\x05R\bwidthDiv\x12\x1e\n" +
|
||||
"\n" +
|
||||
"paramsJSON\x18\x05 \x01(\fR\n" +
|
||||
"paramsJSON\x12\x12\n" +
|
||||
"\x04isOn\x18\x06 \x01(\bR\x04isOn\x12\x1a\n" +
|
||||
"\bmaxItems\x18\a \x01(\x05R\bmaxItems\x12(\n" +
|
||||
"\x0fignoreEmptyKeys\x18\b \x01(\bR\x0fignoreEmptyKeys\x12 \n" +
|
||||
"\vignoredKeys\x18\t \x03(\tR\vignoredKeys\x12.\n" +
|
||||
"\n" +
|
||||
"metricItem\x18\x1e \x01(\v2\x0e.pb.MetricItemR\n" +
|
||||
"metricItemB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_metric_chart_proto_rawDescOnce sync.Once
|
||||
file_models_model_metric_chart_proto_rawDescData = file_models_model_metric_chart_proto_rawDesc
|
||||
file_models_model_metric_chart_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_metric_chart_proto_rawDescGZIP() []byte {
|
||||
file_models_model_metric_chart_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_metric_chart_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_metric_chart_proto_rawDescData)
|
||||
file_models_model_metric_chart_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_metric_chart_proto_rawDesc), len(file_models_model_metric_chart_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_metric_chart_proto_rawDescData
|
||||
}
|
||||
@@ -203,7 +195,7 @@ func file_models_model_metric_chart_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_metric_chart_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_metric_chart_proto_rawDesc), len(file_models_model_metric_chart_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -214,7 +206,6 @@ func file_models_model_metric_chart_proto_init() {
|
||||
MessageInfos: file_models_model_metric_chart_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_metric_chart_proto = out.File
|
||||
file_models_model_metric_chart_proto_rawDesc = nil
|
||||
file_models_model_metric_chart_proto_goTypes = nil
|
||||
file_models_model_metric_chart_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_metric_item.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -147,38 +148,34 @@ func (x *MetricItem) GetIsPublic() bool {
|
||||
|
||||
var File_models_model_metric_item_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_metric_item_proto_rawDesc = []byte{
|
||||
0x0a, 0x1e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6d,
|
||||
0x65, 0x74, 0x72, 0x69, 0x63, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
||||
0x12, 0x02, 0x70, 0x62, 0x22, 0x98, 0x02, 0x0a, 0x0a, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x49,
|
||||
0x74, 0x65, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
|
||||
0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28,
|
||||
0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18,
|
||||
0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x63,
|
||||
0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63,
|
||||
0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
|
||||
0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6b,
|
||||
0x65, 0x79, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x6b, 0x65, 0x79, 0x73, 0x12,
|
||||
0x16, 0x0a, 0x06, 0x70, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52,
|
||||
0x06, 0x70, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x65, 0x72, 0x69, 0x6f,
|
||||
0x64, 0x55, 0x6e, 0x69, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x65, 0x72,
|
||||
0x69, 0x6f, 0x64, 0x55, 0x6e, 0x69, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x65, 0x78, 0x70, 0x69, 0x72,
|
||||
0x65, 0x73, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d,
|
||||
0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x12, 0x14, 0x0a,
|
||||
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61,
|
||||
0x6c, 0x75, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x18,
|
||||
0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x42,
|
||||
0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_metric_item_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x1emodels/model_metric_item.proto\x12\x02pb\"\x98\x02\n" +
|
||||
"\n" +
|
||||
"MetricItem\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
||||
"\x04isOn\x18\x02 \x01(\bR\x04isOn\x12\x12\n" +
|
||||
"\x04code\x18\x03 \x01(\tR\x04code\x12\x1a\n" +
|
||||
"\bcategory\x18\x04 \x01(\tR\bcategory\x12\x12\n" +
|
||||
"\x04name\x18\x05 \x01(\tR\x04name\x12\x12\n" +
|
||||
"\x04keys\x18\x06 \x03(\tR\x04keys\x12\x16\n" +
|
||||
"\x06period\x18\a \x01(\x05R\x06period\x12\x1e\n" +
|
||||
"\n" +
|
||||
"periodUnit\x18\b \x01(\tR\n" +
|
||||
"periodUnit\x12$\n" +
|
||||
"\rexpiresPeriod\x18\f \x01(\x05R\rexpiresPeriod\x12\x14\n" +
|
||||
"\x05value\x18\n" +
|
||||
" \x01(\tR\x05value\x12\x1a\n" +
|
||||
"\bisPublic\x18\v \x01(\bR\bisPublicB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_metric_item_proto_rawDescOnce sync.Once
|
||||
file_models_model_metric_item_proto_rawDescData = file_models_model_metric_item_proto_rawDesc
|
||||
file_models_model_metric_item_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_metric_item_proto_rawDescGZIP() []byte {
|
||||
file_models_model_metric_item_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_metric_item_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_metric_item_proto_rawDescData)
|
||||
file_models_model_metric_item_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_metric_item_proto_rawDesc), len(file_models_model_metric_item_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_metric_item_proto_rawDescData
|
||||
}
|
||||
@@ -204,7 +201,7 @@ func file_models_model_metric_item_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_metric_item_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_metric_item_proto_rawDesc), len(file_models_model_metric_item_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -215,7 +212,6 @@ func file_models_model_metric_item_proto_init() {
|
||||
MessageInfos: file_models_model_metric_item_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_metric_item_proto = out.File
|
||||
file_models_model_metric_item_proto_rawDesc = nil
|
||||
file_models_model_metric_item_proto_goTypes = nil
|
||||
file_models_model_metric_item_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_metric_stat.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -232,55 +233,39 @@ func (x *UploadingMetricStat) GetValue() float32 {
|
||||
|
||||
var File_models_model_metric_stat_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_metric_stat_proto_rawDesc = []byte{
|
||||
0x0a, 0x1e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6d,
|
||||
0x65, 0x74, 0x72, 0x69, 0x63, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
||||
0x12, 0x02, 0x70, 0x62, 0x1a, 0x1f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64,
|
||||
0x65, 0x6c, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e,
|
||||
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f,
|
||||
0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19,
|
||||
0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x73, 0x65, 0x72,
|
||||
0x76, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe9, 0x02, 0x0a, 0x0a, 0x4d, 0x65,
|
||||
0x74, 0x72, 0x69, 0x63, 0x53, 0x74, 0x61, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
|
||||
0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68,
|
||||
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x12, 0x1a, 0x0a, 0x08,
|
||||
0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08,
|
||||
0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x74, 0x65, 0x6d,
|
||||
0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x69, 0x74, 0x65, 0x6d, 0x49, 0x64,
|
||||
0x12, 0x12, 0x0a, 0x04, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04,
|
||||
0x6b, 0x65, 0x79, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x06, 0x20,
|
||||
0x01, 0x28, 0x02, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x69,
|
||||
0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x18,
|
||||
0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52,
|
||||
0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x31, 0x0a, 0x0b, 0x6e, 0x6f, 0x64, 0x65,
|
||||
0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e,
|
||||
0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x0b,
|
||||
0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x1c, 0x0a, 0x04, 0x6e,
|
||||
0x6f, 0x64, 0x65, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x70, 0x62, 0x2e, 0x4e,
|
||||
0x6f, 0x64, 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x12, 0x22, 0x0a, 0x06, 0x73, 0x65, 0x72,
|
||||
0x76, 0x65, 0x72, 0x18, 0x20, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x53,
|
||||
0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x06, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x1a, 0x0a,
|
||||
0x08, 0x73, 0x75, 0x6d, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x28, 0x20, 0x01, 0x28, 0x03, 0x52,
|
||||
0x08, 0x73, 0x75, 0x6d, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x75, 0x6d,
|
||||
0x54, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x29, 0x20, 0x01, 0x28, 0x02, 0x52, 0x08, 0x73, 0x75, 0x6d,
|
||||
0x54, 0x6f, 0x74, 0x61, 0x6c, 0x22, 0x63, 0x0a, 0x13, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x69,
|
||||
0x6e, 0x67, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x53, 0x74, 0x61, 0x74, 0x12, 0x0e, 0x0a, 0x02,
|
||||
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04,
|
||||
0x68, 0x61, 0x73, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68,
|
||||
0x12, 0x12, 0x0a, 0x04, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04,
|
||||
0x6b, 0x65, 0x79, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20,
|
||||
0x01, 0x28, 0x02, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f,
|
||||
0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_metric_stat_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x1emodels/model_metric_stat.proto\x12\x02pb\x1a\x1fmodels/model_node_cluster.proto\x1a\x17models/model_node.proto\x1a\x19models/model_server.proto\"\xe9\x02\n" +
|
||||
"\n" +
|
||||
"MetricStat\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
||||
"\x04hash\x18\x02 \x01(\tR\x04hash\x12\x1a\n" +
|
||||
"\bserverId\x18\x03 \x01(\x03R\bserverId\x12\x16\n" +
|
||||
"\x06itemId\x18\x04 \x01(\x03R\x06itemId\x12\x12\n" +
|
||||
"\x04keys\x18\x05 \x03(\tR\x04keys\x12\x14\n" +
|
||||
"\x05value\x18\x06 \x01(\x02R\x05value\x12\x12\n" +
|
||||
"\x04time\x18\a \x01(\tR\x04time\x12\x18\n" +
|
||||
"\aversion\x18\b \x01(\x05R\aversion\x121\n" +
|
||||
"\vnodeCluster\x18\x1e \x01(\v2\x0f.pb.NodeClusterR\vnodeCluster\x12\x1c\n" +
|
||||
"\x04node\x18\x1f \x01(\v2\b.pb.NodeR\x04node\x12\"\n" +
|
||||
"\x06server\x18 \x01(\v2\n" +
|
||||
".pb.ServerR\x06server\x12\x1a\n" +
|
||||
"\bsumCount\x18( \x01(\x03R\bsumCount\x12\x1a\n" +
|
||||
"\bsumTotal\x18) \x01(\x02R\bsumTotal\"c\n" +
|
||||
"\x13UploadingMetricStat\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
||||
"\x04hash\x18\x02 \x01(\tR\x04hash\x12\x12\n" +
|
||||
"\x04keys\x18\x03 \x03(\tR\x04keys\x12\x14\n" +
|
||||
"\x05value\x18\x04 \x01(\x02R\x05valueB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_metric_stat_proto_rawDescOnce sync.Once
|
||||
file_models_model_metric_stat_proto_rawDescData = file_models_model_metric_stat_proto_rawDesc
|
||||
file_models_model_metric_stat_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_metric_stat_proto_rawDescGZIP() []byte {
|
||||
file_models_model_metric_stat_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_metric_stat_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_metric_stat_proto_rawDescData)
|
||||
file_models_model_metric_stat_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_metric_stat_proto_rawDesc), len(file_models_model_metric_stat_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_metric_stat_proto_rawDescData
|
||||
}
|
||||
@@ -316,7 +301,7 @@ func file_models_model_metric_stat_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_metric_stat_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_metric_stat_proto_rawDesc), len(file_models_model_metric_stat_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 2,
|
||||
NumExtensions: 0,
|
||||
@@ -327,7 +312,6 @@ func file_models_model_metric_stat_proto_init() {
|
||||
MessageInfos: file_models_model_metric_stat_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_metric_stat_proto = out.File
|
||||
file_models_model_metric_stat_proto_rawDesc = nil
|
||||
file_models_model_metric_stat_proto_goTypes = nil
|
||||
file_models_model_metric_stat_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_network_address.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -82,27 +83,22 @@ func (x *NetworkAddress) GetPortRange() string {
|
||||
|
||||
var File_models_model_network_address_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_network_address_proto_rawDesc = []byte{
|
||||
0x0a, 0x22, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e,
|
||||
0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x70,
|
||||
0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0x5e, 0x0a, 0x0e, 0x4e, 0x65, 0x74, 0x77,
|
||||
0x6f, 0x72, 0x6b, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72,
|
||||
0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72,
|
||||
0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x02,
|
||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x6f,
|
||||
0x72, 0x74, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70,
|
||||
0x6f, 0x72, 0x74, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62,
|
||||
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_network_address_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\"models/model_network_address.proto\x12\x02pb\"^\n" +
|
||||
"\x0eNetworkAddress\x12\x1a\n" +
|
||||
"\bprotocol\x18\x01 \x01(\tR\bprotocol\x12\x12\n" +
|
||||
"\x04host\x18\x02 \x01(\tR\x04host\x12\x1c\n" +
|
||||
"\tportRange\x18\x03 \x01(\tR\tportRangeB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_network_address_proto_rawDescOnce sync.Once
|
||||
file_models_model_network_address_proto_rawDescData = file_models_model_network_address_proto_rawDesc
|
||||
file_models_model_network_address_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_network_address_proto_rawDescGZIP() []byte {
|
||||
file_models_model_network_address_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_network_address_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_network_address_proto_rawDescData)
|
||||
file_models_model_network_address_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_network_address_proto_rawDesc), len(file_models_model_network_address_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_network_address_proto_rawDescData
|
||||
}
|
||||
@@ -128,7 +124,7 @@ func file_models_model_network_address_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_network_address_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_network_address_proto_rawDesc), len(file_models_model_network_address_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -139,7 +135,6 @@ func file_models_model_network_address_proto_init() {
|
||||
MessageInfos: file_models_model_network_address_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_network_address_proto = out.File
|
||||
file_models_model_network_address_proto_rawDesc = nil
|
||||
file_models_model_network_address_proto_goTypes = nil
|
||||
file_models_model_network_address_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_node.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -414,130 +415,70 @@ func (x *BasicNode) GetNodeCluster() *NodeCluster {
|
||||
|
||||
var File_models_model_node_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_node_proto_rawDesc = []byte{
|
||||
0x0a, 0x17, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e,
|
||||
0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x1f, 0x6d,
|
||||
0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x6f, 0x64, 0x65,
|
||||
0x5f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d,
|
||||
0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x6f, 0x64,
|
||||
0x65, 0x5f, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x26, 0x6d,
|
||||
0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x6f, 0x64, 0x65,
|
||||
0x5f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e,
|
||||
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x22, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f,
|
||||
0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x69, 0x70, 0x5f, 0x61, 0x64, 0x64, 0x72,
|
||||
0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x6d, 0x6f, 0x64, 0x65, 0x6c,
|
||||
0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x67, 0x72, 0x6f,
|
||||
0x75, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73,
|
||||
0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x72, 0x65, 0x67, 0x69,
|
||||
0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73,
|
||||
0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x64, 0x6e, 0x73, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x65,
|
||||
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d,
|
||||
0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x5f, 0x63, 0x61, 0x70, 0x61, 0x63, 0x69,
|
||||
0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xaa, 0x0a, 0x0a, 0x04, 0x4e, 0x6f, 0x64,
|
||||
0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69,
|
||||
0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x4a,
|
||||
0x53, 0x4f, 0x4e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x75,
|
||||
0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x1e, 0x0a, 0x0a, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c,
|
||||
0x44, 0x69, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x6e, 0x73, 0x74, 0x61,
|
||||
0x6c, 0x6c, 0x44, 0x69, 0x72, 0x12, 0x20, 0x0a, 0x0b, 0x69, 0x73, 0x49, 0x6e, 0x73, 0x74, 0x61,
|
||||
0x6c, 0x6c, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x49, 0x6e,
|
||||
0x73, 0x74, 0x61, 0x6c, 0x6c, 0x65, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18,
|
||||
0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x75,
|
||||
0x6e, 0x69, 0x71, 0x75, 0x65, 0x49, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75,
|
||||
0x6e, 0x69, 0x71, 0x75, 0x65, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65,
|
||||
0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12,
|
||||
0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03,
|
||||
0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x0a, 0x0d, 0x6c, 0x61, 0x74,
|
||||
0x65, 0x73, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03,
|
||||
0x52, 0x0d, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12,
|
||||
0x30, 0x0a, 0x13, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e,
|
||||
0x6f, 0x64, 0x65, 0x49, 0x64, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x03, 0x52, 0x13, 0x63, 0x6f,
|
||||
0x6e, 0x6e, 0x65, 0x63, 0x74, 0x65, 0x64, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x64,
|
||||
0x73, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x61, 0x78, 0x43, 0x50, 0x55, 0x18, 0x0c, 0x20, 0x01, 0x28,
|
||||
0x05, 0x52, 0x06, 0x6d, 0x61, 0x78, 0x43, 0x50, 0x55, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f,
|
||||
0x6e, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x12, 0x12, 0x0a,
|
||||
0x04, 0x69, 0x73, 0x55, 0x70, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x55,
|
||||
0x70, 0x12, 0x2a, 0x0a, 0x09, 0x64, 0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x18, 0x0f,
|
||||
0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x4e, 0x53, 0x52, 0x6f, 0x75,
|
||||
0x74, 0x65, 0x52, 0x09, 0x64, 0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x12, 0x1a, 0x0a,
|
||||
0x08, 0x69, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x10, 0x20, 0x01, 0x28, 0x08, 0x52,
|
||||
0x08, 0x69, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, 0x44, 0x0a, 0x14, 0x6d, 0x61, 0x78,
|
||||
0x43, 0x61, 0x63, 0x68, 0x65, 0x44, 0x69, 0x73, 0x6b, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74,
|
||||
0x79, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x69, 0x7a,
|
||||
0x65, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x52, 0x14, 0x6d, 0x61, 0x78, 0x43, 0x61,
|
||||
0x63, 0x68, 0x65, 0x44, 0x69, 0x73, 0x6b, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x12,
|
||||
0x48, 0x0a, 0x16, 0x6d, 0x61, 0x78, 0x43, 0x61, 0x63, 0x68, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x72,
|
||||
0x79, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
||||
0x10, 0x2e, 0x70, 0x62, 0x2e, 0x53, 0x69, 0x7a, 0x65, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74,
|
||||
0x79, 0x52, 0x16, 0x6d, 0x61, 0x78, 0x43, 0x61, 0x63, 0x68, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x72,
|
||||
0x79, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x12, 0x22, 0x0a, 0x0c, 0x63, 0x61, 0x63,
|
||||
0x68, 0x65, 0x44, 0x69, 0x73, 0x6b, 0x44, 0x69, 0x72, 0x18, 0x13, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||
0x0c, 0x63, 0x61, 0x63, 0x68, 0x65, 0x44, 0x69, 0x73, 0x6b, 0x44, 0x69, 0x72, 0x12, 0x32, 0x0a,
|
||||
0x14, 0x63, 0x61, 0x63, 0x68, 0x65, 0x44, 0x69, 0x73, 0x6b, 0x53, 0x75, 0x62, 0x44, 0x69, 0x72,
|
||||
0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x14, 0x63, 0x61, 0x63,
|
||||
0x68, 0x65, 0x44, 0x69, 0x73, 0x6b, 0x53, 0x75, 0x62, 0x44, 0x69, 0x72, 0x73, 0x4a, 0x53, 0x4f,
|
||||
0x4e, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x14, 0x20, 0x01, 0x28, 0x05,
|
||||
0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x18, 0x0a, 0x07, 0x6c, 0x6e, 0x41, 0x64, 0x64,
|
||||
0x72, 0x73, 0x18, 0x15, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x6c, 0x6e, 0x41, 0x64, 0x64, 0x72,
|
||||
0x73, 0x12, 0x24, 0x0a, 0x0d, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x50, 0x4c, 0x69, 0x73,
|
||||
0x74, 0x73, 0x18, 0x16, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65,
|
||||
0x49, 0x50, 0x4c, 0x69, 0x73, 0x74, 0x73, 0x12, 0x2a, 0x0a, 0x10, 0x61, 0x70, 0x69, 0x4e, 0x6f,
|
||||
0x64, 0x65, 0x41, 0x64, 0x64, 0x72, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x18, 0x20, 0x01, 0x28,
|
||||
0x0c, 0x52, 0x10, 0x61, 0x70, 0x69, 0x4e, 0x6f, 0x64, 0x65, 0x41, 0x64, 0x64, 0x72, 0x73, 0x4a,
|
||||
0x53, 0x4f, 0x4e, 0x12, 0x1e, 0x0a, 0x0a, 0x6f, 0x66, 0x66, 0x6c, 0x69, 0x6e, 0x65, 0x44, 0x61,
|
||||
0x79, 0x18, 0x19, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6f, 0x66, 0x66, 0x6c, 0x69, 0x6e, 0x65,
|
||||
0x44, 0x61, 0x79, 0x12, 0x2e, 0x0a, 0x12, 0x69, 0x73, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x46,
|
||||
0x6f, 0x72, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x08, 0x52,
|
||||
0x12, 0x69, 0x73, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x46, 0x6f, 0x72, 0x43, 0x6c, 0x75, 0x73,
|
||||
0x74, 0x65, 0x72, 0x12, 0x2a, 0x0a, 0x10, 0x69, 0x73, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x46,
|
||||
0x6f, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x69,
|
||||
0x73, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x46, 0x6f, 0x72, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12,
|
||||
0x31, 0x0a, 0x0b, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x20,
|
||||
0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c,
|
||||
0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x0b, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74,
|
||||
0x65, 0x72, 0x12, 0x2b, 0x0a, 0x09, 0x6e, 0x6f, 0x64, 0x65, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x18,
|
||||
0x21, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x4c,
|
||||
0x6f, 0x67, 0x69, 0x6e, 0x52, 0x09, 0x6e, 0x6f, 0x64, 0x65, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x12,
|
||||
0x3b, 0x0a, 0x0d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
|
||||
0x18, 0x22, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65,
|
||||
0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0d, 0x69,
|
||||
0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x33, 0x0a, 0x0b,
|
||||
0x69, 0x70, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x23, 0x20, 0x03, 0x28,
|
||||
0x0b, 0x32, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x50, 0x41, 0x64, 0x64,
|
||||
0x72, 0x65, 0x73, 0x73, 0x52, 0x0b, 0x69, 0x70, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65,
|
||||
0x73, 0x12, 0x2b, 0x0a, 0x09, 0x6e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x24,
|
||||
0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72,
|
||||
0x6f, 0x75, 0x70, 0x52, 0x09, 0x6e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x2e,
|
||||
0x0a, 0x0a, 0x6e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x25, 0x20, 0x01,
|
||||
0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x67, 0x69,
|
||||
0x6f, 0x6e, 0x52, 0x0a, 0x6e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x45,
|
||||
0x0a, 0x15, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x61, 0x72, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x43,
|
||||
0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x18, 0x26, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e,
|
||||
0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x15,
|
||||
0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x61, 0x72, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75,
|
||||
0x73, 0x74, 0x65, 0x72, 0x73, 0x22, 0xa0, 0x01, 0x0a, 0x09, 0x42, 0x61, 0x73, 0x69, 0x63, 0x4e,
|
||||
0x6f, 0x64, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
|
||||
0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
|
||||
0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x18,
|
||||
0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x69,
|
||||
0x73, 0x55, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x55, 0x70, 0x12,
|
||||
0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05,
|
||||
0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x31, 0x0a, 0x0b, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75,
|
||||
0x73, 0x74, 0x65, 0x72, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e,
|
||||
0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x0b, 0x6e, 0x6f, 0x64,
|
||||
0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62,
|
||||
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_node_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x17models/model_node.proto\x12\x02pb\x1a\x1fmodels/model_node_cluster.proto\x1a\x1dmodels/model_node_login.proto\x1a&models/model_node_install_status.proto\x1a\"models/model_node_ip_address.proto\x1a\x1dmodels/model_node_group.proto\x1a\x1emodels/model_node_region.proto\x1a\x1cmodels/model_dns_route.proto\x1a models/model_size_capacity.proto\"\xaa\n" +
|
||||
"\n" +
|
||||
"\x04Node\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
||||
"\x04name\x18\x02 \x01(\tR\x04name\x12\x1e\n" +
|
||||
"\n" +
|
||||
"statusJSON\x18\x03 \x01(\fR\n" +
|
||||
"statusJSON\x12\x1e\n" +
|
||||
"\n" +
|
||||
"installDir\x18\x04 \x01(\tR\n" +
|
||||
"installDir\x12 \n" +
|
||||
"\visInstalled\x18\x05 \x01(\bR\visInstalled\x12\x12\n" +
|
||||
"\x04code\x18\x06 \x01(\tR\x04code\x12\x1a\n" +
|
||||
"\buniqueId\x18\a \x01(\tR\buniqueId\x12\x16\n" +
|
||||
"\x06secret\x18\b \x01(\tR\x06secret\x12\x18\n" +
|
||||
"\aversion\x18\t \x01(\x03R\aversion\x12$\n" +
|
||||
"\rlatestVersion\x18\n" +
|
||||
" \x01(\x03R\rlatestVersion\x120\n" +
|
||||
"\x13connectedAPINodeIds\x18\v \x03(\x03R\x13connectedAPINodeIds\x12\x16\n" +
|
||||
"\x06maxCPU\x18\f \x01(\x05R\x06maxCPU\x12\x12\n" +
|
||||
"\x04isOn\x18\r \x01(\bR\x04isOn\x12\x12\n" +
|
||||
"\x04isUp\x18\x0e \x01(\bR\x04isUp\x12*\n" +
|
||||
"\tdnsRoutes\x18\x0f \x03(\v2\f.pb.DNSRouteR\tdnsRoutes\x12\x1a\n" +
|
||||
"\bisActive\x18\x10 \x01(\bR\bisActive\x12D\n" +
|
||||
"\x14maxCacheDiskCapacity\x18\x11 \x01(\v2\x10.pb.SizeCapacityR\x14maxCacheDiskCapacity\x12H\n" +
|
||||
"\x16maxCacheMemoryCapacity\x18\x12 \x01(\v2\x10.pb.SizeCapacityR\x16maxCacheMemoryCapacity\x12\"\n" +
|
||||
"\fcacheDiskDir\x18\x13 \x01(\tR\fcacheDiskDir\x122\n" +
|
||||
"\x14cacheDiskSubDirsJSON\x18\x17 \x01(\fR\x14cacheDiskSubDirsJSON\x12\x14\n" +
|
||||
"\x05level\x18\x14 \x01(\x05R\x05level\x12\x18\n" +
|
||||
"\alnAddrs\x18\x15 \x03(\tR\alnAddrs\x12$\n" +
|
||||
"\renableIPLists\x18\x16 \x01(\bR\renableIPLists\x12*\n" +
|
||||
"\x10apiNodeAddrsJSON\x18\x18 \x01(\fR\x10apiNodeAddrsJSON\x12\x1e\n" +
|
||||
"\n" +
|
||||
"offlineDay\x18\x19 \x01(\tR\n" +
|
||||
"offlineDay\x12.\n" +
|
||||
"\x12isBackupForCluster\x18\x1a \x01(\bR\x12isBackupForCluster\x12*\n" +
|
||||
"\x10isBackupForGroup\x18\x1b \x01(\bR\x10isBackupForGroup\x121\n" +
|
||||
"\vnodeCluster\x18 \x01(\v2\x0f.pb.NodeClusterR\vnodeCluster\x12+\n" +
|
||||
"\tnodeLogin\x18! \x01(\v2\r.pb.NodeLoginR\tnodeLogin\x12;\n" +
|
||||
"\rinstallStatus\x18\" \x01(\v2\x15.pb.NodeInstallStatusR\rinstallStatus\x123\n" +
|
||||
"\vipAddresses\x18# \x03(\v2\x11.pb.NodeIPAddressR\vipAddresses\x12+\n" +
|
||||
"\tnodeGroup\x18$ \x01(\v2\r.pb.NodeGroupR\tnodeGroup\x12.\n" +
|
||||
"\n" +
|
||||
"nodeRegion\x18% \x01(\v2\x0e.pb.NodeRegionR\n" +
|
||||
"nodeRegion\x12E\n" +
|
||||
"\x15secondaryNodeClusters\x18& \x03(\v2\x0f.pb.NodeClusterR\x15secondaryNodeClusters\"\xa0\x01\n" +
|
||||
"\tBasicNode\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
||||
"\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n" +
|
||||
"\x04isOn\x18\x03 \x01(\bR\x04isOn\x12\x12\n" +
|
||||
"\x04isUp\x18\x04 \x01(\bR\x04isUp\x12\x14\n" +
|
||||
"\x05level\x18\x05 \x01(\x05R\x05level\x121\n" +
|
||||
"\vnodeCluster\x18\x1e \x01(\v2\x0f.pb.NodeClusterR\vnodeClusterB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_node_proto_rawDescOnce sync.Once
|
||||
file_models_model_node_proto_rawDescData = file_models_model_node_proto_rawDesc
|
||||
file_models_model_node_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_node_proto_rawDescGZIP() []byte {
|
||||
file_models_model_node_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_node_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_node_proto_rawDescData)
|
||||
file_models_model_node_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_node_proto_rawDesc), len(file_models_model_node_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_node_proto_rawDescData
|
||||
}
|
||||
@@ -591,7 +532,7 @@ func file_models_model_node_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_node_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_node_proto_rawDesc), len(file_models_model_node_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 2,
|
||||
NumExtensions: 0,
|
||||
@@ -602,7 +543,6 @@ func file_models_model_node_proto_init() {
|
||||
MessageInfos: file_models_model_node_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_node_proto = out.File
|
||||
file_models_model_node_proto_rawDesc = nil
|
||||
file_models_model_node_proto_goTypes = nil
|
||||
file_models_model_node_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_node_action.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -115,33 +116,29 @@ func (x *NodeAction) GetDurationJSON() []byte {
|
||||
|
||||
var File_models_model_node_action_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_node_action_proto_rawDesc = []byte{
|
||||
0x0a, 0x1e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e,
|
||||
0x6f, 0x64, 0x65, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
||||
0x12, 0x02, 0x70, 0x62, 0x22, 0xbe, 0x01, 0x0a, 0x0a, 0x4e, 0x6f, 0x64, 0x65, 0x41, 0x63, 0x74,
|
||||
0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
|
||||
0x02, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x02, 0x20,
|
||||
0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x72,
|
||||
0x6f, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x12,
|
||||
0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69,
|
||||
0x73, 0x4f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x4a, 0x53, 0x4f, 0x4e,
|
||||
0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x4a, 0x53, 0x4f,
|
||||
0x4e, 0x12, 0x1e, 0x0a, 0x0a, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4a, 0x53, 0x4f, 0x4e, 0x18,
|
||||
0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4a, 0x53, 0x4f,
|
||||
0x4e, 0x12, 0x22, 0x0a, 0x0c, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4a, 0x53, 0x4f,
|
||||
0x4e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f,
|
||||
0x6e, 0x4a, 0x53, 0x4f, 0x4e, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70,
|
||||
0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_node_action_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x1emodels/model_node_action.proto\x12\x02pb\"\xbe\x01\n" +
|
||||
"\n" +
|
||||
"NodeAction\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x16\n" +
|
||||
"\x06nodeId\x18\x02 \x01(\x03R\x06nodeId\x12\x12\n" +
|
||||
"\x04role\x18\x03 \x01(\tR\x04role\x12\x12\n" +
|
||||
"\x04isOn\x18\x04 \x01(\bR\x04isOn\x12\x1c\n" +
|
||||
"\tcondsJSON\x18\x05 \x01(\fR\tcondsJSON\x12\x1e\n" +
|
||||
"\n" +
|
||||
"actionJSON\x18\x06 \x01(\fR\n" +
|
||||
"actionJSON\x12\"\n" +
|
||||
"\fdurationJSON\x18\a \x01(\fR\fdurationJSONB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_node_action_proto_rawDescOnce sync.Once
|
||||
file_models_model_node_action_proto_rawDescData = file_models_model_node_action_proto_rawDesc
|
||||
file_models_model_node_action_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_node_action_proto_rawDescGZIP() []byte {
|
||||
file_models_model_node_action_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_node_action_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_node_action_proto_rawDescData)
|
||||
file_models_model_node_action_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_node_action_proto_rawDesc), len(file_models_model_node_action_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_node_action_proto_rawDescData
|
||||
}
|
||||
@@ -167,7 +164,7 @@ func file_models_model_node_action_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_node_action_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_node_action_proto_rawDesc), len(file_models_model_node_action_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -178,7 +175,6 @@ func file_models_model_node_action_proto_init() {
|
||||
MessageInfos: file_models_model_node_action_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_node_action_proto = out.File
|
||||
file_models_model_node_action_proto_rawDesc = nil
|
||||
file_models_model_node_action_proto_goTypes = nil
|
||||
file_models_model_node_action_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_node_cluster.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -258,77 +259,47 @@ func (x *NodeCluster) GetMaxConcurrentWrites() int32 {
|
||||
|
||||
var File_models_model_node_cluster_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_node_cluster_proto_rawDesc = []byte{
|
||||
0x0a, 0x1f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e,
|
||||
0x6f, 0x64, 0x65, 0x5f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
||||
0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0xfb, 0x06, 0x0a, 0x0b, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c,
|
||||
0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||
0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20,
|
||||
0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x72, 0x65,
|
||||
0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72,
|
||||
0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x6e, 0x6f, 0x64, 0x65, 0x47,
|
||||
0x72, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6e, 0x6f,
|
||||
0x64, 0x65, 0x47, 0x72, 0x61, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x69, 0x6e, 0x73,
|
||||
0x74, 0x61, 0x6c, 0x6c, 0x44, 0x69, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69,
|
||||
0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x44, 0x69, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x6e, 0x69,
|
||||
0x71, 0x75, 0x65, 0x49, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x6e, 0x69,
|
||||
0x71, 0x75, 0x65, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18,
|
||||
0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x18, 0x0a,
|
||||
0x07, 0x64, 0x6e, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
|
||||
0x64, 0x6e, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x6e, 0x73, 0x44, 0x6f,
|
||||
0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x64, 0x6e,
|
||||
0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x0f, 0x64, 0x6e, 0x73,
|
||||
0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x18, 0x16, 0x20, 0x01,
|
||||
0x28, 0x09, 0x52, 0x0f, 0x64, 0x6e, 0x73, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x6f,
|
||||
0x75, 0x74, 0x65, 0x12, 0x2c, 0x0a, 0x11, 0x68, 0x74, 0x74, 0x70, 0x43, 0x61, 0x63, 0x68, 0x65,
|
||||
0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11,
|
||||
0x68, 0x74, 0x74, 0x70, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49,
|
||||
0x64, 0x12, 0x32, 0x0a, 0x14, 0x68, 0x74, 0x74, 0x70, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c,
|
||||
0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52,
|
||||
0x14, 0x68, 0x74, 0x74, 0x70, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, 0x6c,
|
||||
0x69, 0x63, 0x79, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x18, 0x0c, 0x20,
|
||||
0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x69, 0x6d,
|
||||
0x65, 0x5a, 0x6f, 0x6e, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x69, 0x6d,
|
||||
0x65, 0x5a, 0x6f, 0x6e, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x6e, 0x6f, 0x64, 0x65, 0x4d, 0x61, 0x78,
|
||||
0x54, 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x6e,
|
||||
0x6f, 0x64, 0x65, 0x4d, 0x61, 0x78, 0x54, 0x68, 0x72, 0x65, 0x61, 0x64, 0x73, 0x12, 0x24, 0x0a,
|
||||
0x0d, 0x61, 0x75, 0x74, 0x6f, 0x4f, 0x70, 0x65, 0x6e, 0x50, 0x6f, 0x72, 0x74, 0x73, 0x18, 0x10,
|
||||
0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x61, 0x75, 0x74, 0x6f, 0x4f, 0x70, 0x65, 0x6e, 0x50, 0x6f,
|
||||
0x72, 0x74, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x50, 0x69, 0x6e, 0x6e, 0x65, 0x64, 0x18,
|
||||
0x11, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x50, 0x69, 0x6e, 0x6e, 0x65, 0x64, 0x12,
|
||||
0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x12, 0x20, 0x01,
|
||||
0x28, 0x0c, 0x52, 0x09, 0x63, 0x6c, 0x6f, 0x63, 0x6b, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x28, 0x0a,
|
||||
0x0f, 0x61, 0x75, 0x74, 0x6f, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74,
|
||||
0x18, 0x13, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x61, 0x75, 0x74, 0x6f, 0x52, 0x65, 0x6d, 0x6f,
|
||||
0x74, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, 0x12, 0x30, 0x0a, 0x13, 0x61, 0x75, 0x74, 0x6f, 0x49,
|
||||
0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x4e, 0x66, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x14,
|
||||
0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x61, 0x75, 0x74, 0x6f, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c,
|
||||
0x6c, 0x4e, 0x66, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x24, 0x0a, 0x0d, 0x73, 0x73, 0x68,
|
||||
0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0c,
|
||||
0x52, 0x0d, 0x73, 0x73, 0x68, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x12,
|
||||
0x2a, 0x0a, 0x10, 0x61, 0x75, 0x74, 0x6f, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x54, 0x75, 0x6e,
|
||||
0x69, 0x6e, 0x67, 0x18, 0x17, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x61, 0x75, 0x74, 0x6f, 0x53,
|
||||
0x79, 0x73, 0x74, 0x65, 0x6d, 0x54, 0x75, 0x6e, 0x69, 0x6e, 0x67, 0x12, 0x24, 0x0a, 0x0d, 0x61,
|
||||
0x75, 0x74, 0x6f, 0x54, 0x72, 0x69, 0x6d, 0x44, 0x69, 0x73, 0x6b, 0x73, 0x18, 0x18, 0x20, 0x01,
|
||||
0x28, 0x08, 0x52, 0x0d, 0x61, 0x75, 0x74, 0x6f, 0x54, 0x72, 0x69, 0x6d, 0x44, 0x69, 0x73, 0x6b,
|
||||
0x73, 0x12, 0x2e, 0x0a, 0x12, 0x6d, 0x61, 0x78, 0x43, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65,
|
||||
0x6e, 0x74, 0x52, 0x65, 0x61, 0x64, 0x73, 0x18, 0x19, 0x20, 0x01, 0x28, 0x05, 0x52, 0x12, 0x6d,
|
||||
0x61, 0x78, 0x43, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x61, 0x64,
|
||||
0x73, 0x12, 0x30, 0x0a, 0x13, 0x6d, 0x61, 0x78, 0x43, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65,
|
||||
0x6e, 0x74, 0x57, 0x72, 0x69, 0x74, 0x65, 0x73, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x13,
|
||||
0x6d, 0x61, 0x78, 0x43, 0x6f, 0x6e, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x57, 0x72, 0x69,
|
||||
0x74, 0x65, 0x73, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f,
|
||||
0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_node_cluster_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x1fmodels/model_node_cluster.proto\x12\x02pb\"\xfb\x06\n" +
|
||||
"\vNodeCluster\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
||||
"\x04name\x18\x02 \x01(\tR\x04name\x12\x1c\n" +
|
||||
"\tcreatedAt\x18\x03 \x01(\x03R\tcreatedAt\x12 \n" +
|
||||
"\vnodeGrantId\x18\x04 \x01(\x03R\vnodeGrantId\x12\x1e\n" +
|
||||
"\n" +
|
||||
"installDir\x18\x05 \x01(\tR\n" +
|
||||
"installDir\x12\x1a\n" +
|
||||
"\buniqueId\x18\x06 \x01(\tR\buniqueId\x12\x16\n" +
|
||||
"\x06secret\x18\a \x01(\tR\x06secret\x12\x18\n" +
|
||||
"\adnsName\x18\b \x01(\tR\adnsName\x12 \n" +
|
||||
"\vdnsDomainId\x18\t \x01(\x03R\vdnsDomainId\x12(\n" +
|
||||
"\x0fdnsDefaultRoute\x18\x16 \x01(\tR\x0fdnsDefaultRoute\x12,\n" +
|
||||
"\x11httpCachePolicyId\x18\n" +
|
||||
" \x01(\x03R\x11httpCachePolicyId\x122\n" +
|
||||
"\x14httpFirewallPolicyId\x18\v \x01(\x03R\x14httpFirewallPolicyId\x12\x12\n" +
|
||||
"\x04isOn\x18\f \x01(\bR\x04isOn\x12\x1a\n" +
|
||||
"\btimeZone\x18\r \x01(\tR\btimeZone\x12&\n" +
|
||||
"\x0enodeMaxThreads\x18\x0e \x01(\x05R\x0enodeMaxThreads\x12$\n" +
|
||||
"\rautoOpenPorts\x18\x10 \x01(\bR\rautoOpenPorts\x12\x1a\n" +
|
||||
"\bisPinned\x18\x11 \x01(\bR\bisPinned\x12\x1c\n" +
|
||||
"\tclockJSON\x18\x12 \x01(\fR\tclockJSON\x12(\n" +
|
||||
"\x0fautoRemoteStart\x18\x13 \x01(\bR\x0fautoRemoteStart\x120\n" +
|
||||
"\x13autoInstallNftables\x18\x14 \x01(\bR\x13autoInstallNftables\x12$\n" +
|
||||
"\rsshParamsJSON\x18\x15 \x01(\fR\rsshParamsJSON\x12*\n" +
|
||||
"\x10autoSystemTuning\x18\x17 \x01(\bR\x10autoSystemTuning\x12$\n" +
|
||||
"\rautoTrimDisks\x18\x18 \x01(\bR\rautoTrimDisks\x12.\n" +
|
||||
"\x12maxConcurrentReads\x18\x19 \x01(\x05R\x12maxConcurrentReads\x120\n" +
|
||||
"\x13maxConcurrentWrites\x18\x1a \x01(\x05R\x13maxConcurrentWritesB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_node_cluster_proto_rawDescOnce sync.Once
|
||||
file_models_model_node_cluster_proto_rawDescData = file_models_model_node_cluster_proto_rawDesc
|
||||
file_models_model_node_cluster_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_node_cluster_proto_rawDescGZIP() []byte {
|
||||
file_models_model_node_cluster_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_node_cluster_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_node_cluster_proto_rawDescData)
|
||||
file_models_model_node_cluster_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_node_cluster_proto_rawDesc), len(file_models_model_node_cluster_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_node_cluster_proto_rawDescData
|
||||
}
|
||||
@@ -354,7 +325,7 @@ func file_models_model_node_cluster_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_node_cluster_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_node_cluster_proto_rawDesc), len(file_models_model_node_cluster_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -365,7 +336,6 @@ func file_models_model_node_cluster_proto_init() {
|
||||
MessageInfos: file_models_model_node_cluster_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_node_cluster_proto = out.File
|
||||
file_models_model_node_cluster_proto_rawDesc = nil
|
||||
file_models_model_node_cluster_proto_goTypes = nil
|
||||
file_models_model_node_cluster_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_node_cluster_firewall_action.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -106,34 +107,29 @@ func (x *NodeClusterFirewallAction) GetType() string {
|
||||
|
||||
var File_models_model_node_cluster_firewall_action_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_node_cluster_firewall_action_proto_rawDesc = []byte{
|
||||
0x0a, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e,
|
||||
0x6f, 0x64, 0x65, 0x5f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x66, 0x69, 0x72, 0x65,
|
||||
0x77, 0x61, 0x6c, 0x6c, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
||||
0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0xb9, 0x01, 0x0a, 0x19, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c,
|
||||
0x75, 0x73, 0x74, 0x65, 0x72, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x41, 0x63, 0x74,
|
||||
0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
|
||||
0x02, 0x69, 0x64, 0x12, 0x24, 0x0a, 0x0d, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74,
|
||||
0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x6e, 0x6f, 0x64, 0x65,
|
||||
0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
|
||||
0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a,
|
||||
0x0a, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28,
|
||||
0x09, 0x52, 0x0a, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x1e, 0x0a,
|
||||
0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x05, 0x20, 0x01, 0x28,
|
||||
0x0c, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x12, 0x0a,
|
||||
0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70,
|
||||
0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
||||
0x33,
|
||||
}
|
||||
const file_models_model_node_cluster_firewall_action_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"/models/model_node_cluster_firewall_action.proto\x12\x02pb\"\xb9\x01\n" +
|
||||
"\x19NodeClusterFirewallAction\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12$\n" +
|
||||
"\rnodeClusterId\x18\x02 \x01(\x03R\rnodeClusterId\x12\x12\n" +
|
||||
"\x04name\x18\x03 \x01(\tR\x04name\x12\x1e\n" +
|
||||
"\n" +
|
||||
"eventLevel\x18\x04 \x01(\tR\n" +
|
||||
"eventLevel\x12\x1e\n" +
|
||||
"\n" +
|
||||
"paramsJSON\x18\x05 \x01(\fR\n" +
|
||||
"paramsJSON\x12\x12\n" +
|
||||
"\x04type\x18\x06 \x01(\tR\x04typeB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_node_cluster_firewall_action_proto_rawDescOnce sync.Once
|
||||
file_models_model_node_cluster_firewall_action_proto_rawDescData = file_models_model_node_cluster_firewall_action_proto_rawDesc
|
||||
file_models_model_node_cluster_firewall_action_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_node_cluster_firewall_action_proto_rawDescGZIP() []byte {
|
||||
file_models_model_node_cluster_firewall_action_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_node_cluster_firewall_action_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_node_cluster_firewall_action_proto_rawDescData)
|
||||
file_models_model_node_cluster_firewall_action_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_node_cluster_firewall_action_proto_rawDesc), len(file_models_model_node_cluster_firewall_action_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_node_cluster_firewall_action_proto_rawDescData
|
||||
}
|
||||
@@ -159,7 +155,7 @@ func file_models_model_node_cluster_firewall_action_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_node_cluster_firewall_action_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_node_cluster_firewall_action_proto_rawDesc), len(file_models_model_node_cluster_firewall_action_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -170,7 +166,6 @@ func file_models_model_node_cluster_firewall_action_proto_init() {
|
||||
MessageInfos: file_models_model_node_cluster_firewall_action_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_node_cluster_firewall_action_proto = out.File
|
||||
file_models_model_node_cluster_firewall_action_proto_rawDesc = nil
|
||||
file_models_model_node_cluster_firewall_action_proto_goTypes = nil
|
||||
file_models_model_node_cluster_firewall_action_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_node_grant.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -138,37 +139,34 @@ func (x *NodeGrant) GetNodeId() int64 {
|
||||
|
||||
var File_models_model_node_grant_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_node_grant_proto_rawDesc = []byte{
|
||||
0x0a, 0x1d, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e,
|
||||
0x6f, 0x64, 0x65, 0x5f, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
|
||||
0x02, 0x70, 0x62, 0x22, 0x89, 0x02, 0x0a, 0x09, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x61, 0x6e,
|
||||
0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69,
|
||||
0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18,
|
||||
0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x1a, 0x0a,
|
||||
0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||
0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73,
|
||||
0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73,
|
||||
0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x73, 0x75, 0x18, 0x06, 0x20, 0x01, 0x28,
|
||||
0x08, 0x52, 0x02, 0x73, 0x75, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65,
|
||||
0x4b, 0x65, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x69, 0x76, 0x61,
|
||||
0x74, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x61, 0x73, 0x73, 0x70, 0x68, 0x72,
|
||||
0x61, 0x73, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x61, 0x73, 0x73, 0x70,
|
||||
0x68, 0x72, 0x61, 0x73, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
|
||||
0x74, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63,
|
||||
0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49,
|
||||
0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x42,
|
||||
0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_node_grant_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x1dmodels/model_node_grant.proto\x12\x02pb\"\x89\x02\n" +
|
||||
"\tNodeGrant\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
||||
"\x04name\x18\x02 \x01(\tR\x04name\x12\x16\n" +
|
||||
"\x06method\x18\x03 \x01(\tR\x06method\x12\x1a\n" +
|
||||
"\busername\x18\x04 \x01(\tR\busername\x12\x1a\n" +
|
||||
"\bpassword\x18\x05 \x01(\tR\bpassword\x12\x0e\n" +
|
||||
"\x02su\x18\x06 \x01(\bR\x02su\x12\x1e\n" +
|
||||
"\n" +
|
||||
"privateKey\x18\a \x01(\tR\n" +
|
||||
"privateKey\x12\x1e\n" +
|
||||
"\n" +
|
||||
"passphrase\x18\n" +
|
||||
" \x01(\tR\n" +
|
||||
"passphrase\x12 \n" +
|
||||
"\vdescription\x18\b \x01(\tR\vdescription\x12\x16\n" +
|
||||
"\x06nodeId\x18\t \x01(\x03R\x06nodeIdB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_node_grant_proto_rawDescOnce sync.Once
|
||||
file_models_model_node_grant_proto_rawDescData = file_models_model_node_grant_proto_rawDesc
|
||||
file_models_model_node_grant_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_node_grant_proto_rawDescGZIP() []byte {
|
||||
file_models_model_node_grant_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_node_grant_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_node_grant_proto_rawDescData)
|
||||
file_models_model_node_grant_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_node_grant_proto_rawDesc), len(file_models_model_node_grant_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_node_grant_proto_rawDescData
|
||||
}
|
||||
@@ -194,7 +192,7 @@ func file_models_model_node_grant_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_node_grant_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_node_grant_proto_rawDesc), len(file_models_model_node_grant_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -205,7 +203,6 @@ func file_models_model_node_grant_proto_init() {
|
||||
MessageInfos: file_models_model_node_grant_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_node_grant_proto = out.File
|
||||
file_models_model_node_grant_proto_rawDesc = nil
|
||||
file_models_model_node_grant_proto_goTypes = nil
|
||||
file_models_model_node_grant_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_node_group.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -74,24 +75,21 @@ func (x *NodeGroup) GetName() string {
|
||||
|
||||
var File_models_model_node_group_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_node_group_proto_rawDesc = []byte{
|
||||
0x0a, 0x1d, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e,
|
||||
0x6f, 0x64, 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
|
||||
0x02, 0x70, 0x62, 0x22, 0x2f, 0x0a, 0x09, 0x4e, 0x6f, 0x64, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70,
|
||||
0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64,
|
||||
0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
|
||||
0x6e, 0x61, 0x6d, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72,
|
||||
0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_node_group_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x1dmodels/model_node_group.proto\x12\x02pb\"/\n" +
|
||||
"\tNodeGroup\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
||||
"\x04name\x18\x02 \x01(\tR\x04nameB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_node_group_proto_rawDescOnce sync.Once
|
||||
file_models_model_node_group_proto_rawDescData = file_models_model_node_group_proto_rawDesc
|
||||
file_models_model_node_group_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_node_group_proto_rawDescGZIP() []byte {
|
||||
file_models_model_node_group_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_node_group_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_node_group_proto_rawDescData)
|
||||
file_models_model_node_group_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_node_group_proto_rawDesc), len(file_models_model_node_group_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_node_group_proto_rawDescData
|
||||
}
|
||||
@@ -117,7 +115,7 @@ func file_models_model_node_group_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_node_group_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_node_group_proto_rawDesc), len(file_models_model_node_group_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -128,7 +126,6 @@ func file_models_model_node_group_proto_init() {
|
||||
MessageInfos: file_models_model_node_group_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_node_group_proto = out.File
|
||||
file_models_model_node_group_proto_rawDesc = nil
|
||||
file_models_model_node_group_proto_goTypes = nil
|
||||
file_models_model_node_group_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_node_install_status.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -106,33 +107,27 @@ func (x *NodeInstallStatus) GetUpdatedAt() int64 {
|
||||
|
||||
var File_models_model_node_install_status_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_node_install_status_proto_rawDesc = []byte{
|
||||
0x0a, 0x26, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e,
|
||||
0x6f, 0x64, 0x65, 0x5f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x5f, 0x73, 0x74, 0x61, 0x74,
|
||||
0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0xb7, 0x01, 0x0a,
|
||||
0x11, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x53, 0x74, 0x61, 0x74,
|
||||
0x75, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x69, 0x73, 0x52, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x18,
|
||||
0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x52, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67,
|
||||
0x12, 0x1e, 0x0a, 0x0a, 0x69, 0x73, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x18, 0x02,
|
||||
0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64,
|
||||
0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04,
|
||||
0x69, 0x73, 0x4f, 0x6b, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x04, 0x20,
|
||||
0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x65, 0x72,
|
||||
0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x65,
|
||||
0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x75, 0x70, 0x64, 0x61,
|
||||
0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x75, 0x70, 0x64,
|
||||
0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06,
|
||||
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_node_install_status_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"&models/model_node_install_status.proto\x12\x02pb\"\xb7\x01\n" +
|
||||
"\x11NodeInstallStatus\x12\x1c\n" +
|
||||
"\tisRunning\x18\x01 \x01(\bR\tisRunning\x12\x1e\n" +
|
||||
"\n" +
|
||||
"isFinished\x18\x02 \x01(\bR\n" +
|
||||
"isFinished\x12\x12\n" +
|
||||
"\x04isOk\x18\x03 \x01(\bR\x04isOk\x12\x14\n" +
|
||||
"\x05error\x18\x04 \x01(\tR\x05error\x12\x1c\n" +
|
||||
"\terrorCode\x18\x06 \x01(\tR\terrorCode\x12\x1c\n" +
|
||||
"\tupdatedAt\x18\x05 \x01(\x03R\tupdatedAtB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_node_install_status_proto_rawDescOnce sync.Once
|
||||
file_models_model_node_install_status_proto_rawDescData = file_models_model_node_install_status_proto_rawDesc
|
||||
file_models_model_node_install_status_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_node_install_status_proto_rawDescGZIP() []byte {
|
||||
file_models_model_node_install_status_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_node_install_status_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_node_install_status_proto_rawDescData)
|
||||
file_models_model_node_install_status_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_node_install_status_proto_rawDesc), len(file_models_model_node_install_status_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_node_install_status_proto_rawDescData
|
||||
}
|
||||
@@ -158,7 +153,7 @@ func file_models_model_node_install_status_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_node_install_status_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_node_install_status_proto_rawDesc), len(file_models_model_node_install_status_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -169,7 +164,6 @@ func file_models_model_node_install_status_proto_init() {
|
||||
MessageInfos: file_models_model_node_install_status_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_node_install_status_proto = out.File
|
||||
file_models_model_node_install_status_proto_rawDesc = nil
|
||||
file_models_model_node_install_status_proto_goTypes = nil
|
||||
file_models_model_node_install_status_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_node_ip_address.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -171,46 +172,34 @@ func (x *NodeIPAddress) GetNodeClusters() []*NodeCluster {
|
||||
|
||||
var File_models_model_node_ip_address_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_node_ip_address_proto_rawDesc = []byte{
|
||||
0x0a, 0x22, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e,
|
||||
0x6f, 0x64, 0x65, 0x5f, 0x69, 0x70, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x70,
|
||||
0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x1f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73,
|
||||
0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x63, 0x6c, 0x75, 0x73,
|
||||
0x74, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf2, 0x02, 0x0a, 0x0d, 0x4e, 0x6f,
|
||||
0x64, 0x65, 0x49, 0x50, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x0e, 0x0a, 0x02, 0x69,
|
||||
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x6e,
|
||||
0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x6f, 0x64,
|
||||
0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
|
||||
0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x70, 0x18, 0x04, 0x20,
|
||||
0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x70, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72,
|
||||
0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65,
|
||||
0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61,
|
||||
0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12,
|
||||
0x14, 0x0a, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05,
|
||||
0x6f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x61, 0x6e, 0x41, 0x63, 0x63, 0x65,
|
||||
0x73, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x63, 0x61, 0x6e, 0x41, 0x63, 0x63,
|
||||
0x65, 0x73, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28,
|
||||
0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x55, 0x70, 0x18,
|
||||
0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x55, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x72,
|
||||
0x6f, 0x6c, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x12,
|
||||
0x1a, 0x0a, 0x08, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x49, 0x50, 0x18, 0x0d, 0x20, 0x01, 0x28,
|
||||
0x09, 0x52, 0x08, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x49, 0x50, 0x12, 0x1c, 0x0a, 0x09, 0x69,
|
||||
0x73, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x79, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09,
|
||||
0x69, 0x73, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x79, 0x12, 0x33, 0x0a, 0x0c, 0x6e, 0x6f, 0x64,
|
||||
0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x18, 0x1e, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
||||
0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72,
|
||||
0x52, 0x0c, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x42, 0x06,
|
||||
0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_node_ip_address_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\"models/model_node_ip_address.proto\x12\x02pb\x1a\x1fmodels/model_node_cluster.proto\"\xf2\x02\n" +
|
||||
"\rNodeIPAddress\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x16\n" +
|
||||
"\x06nodeId\x18\x02 \x01(\x03R\x06nodeId\x12\x12\n" +
|
||||
"\x04name\x18\x03 \x01(\tR\x04name\x12\x0e\n" +
|
||||
"\x02ip\x18\x04 \x01(\tR\x02ip\x12 \n" +
|
||||
"\vdescription\x18\x05 \x01(\tR\vdescription\x12\x14\n" +
|
||||
"\x05state\x18\x06 \x01(\x03R\x05state\x12\x14\n" +
|
||||
"\x05order\x18\a \x01(\x03R\x05order\x12\x1c\n" +
|
||||
"\tcanAccess\x18\b \x01(\bR\tcanAccess\x12\x12\n" +
|
||||
"\x04isOn\x18\t \x01(\bR\x04isOn\x12\x12\n" +
|
||||
"\x04isUp\x18\n" +
|
||||
" \x01(\bR\x04isUp\x12\x12\n" +
|
||||
"\x04role\x18\f \x01(\tR\x04role\x12\x1a\n" +
|
||||
"\bbackupIP\x18\r \x01(\tR\bbackupIP\x12\x1c\n" +
|
||||
"\tisHealthy\x18\x0e \x01(\bR\tisHealthy\x123\n" +
|
||||
"\fnodeClusters\x18\x1e \x03(\v2\x0f.pb.NodeClusterR\fnodeClustersB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_node_ip_address_proto_rawDescOnce sync.Once
|
||||
file_models_model_node_ip_address_proto_rawDescData = file_models_model_node_ip_address_proto_rawDesc
|
||||
file_models_model_node_ip_address_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_node_ip_address_proto_rawDescGZIP() []byte {
|
||||
file_models_model_node_ip_address_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_node_ip_address_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_node_ip_address_proto_rawDescData)
|
||||
file_models_model_node_ip_address_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_node_ip_address_proto_rawDesc), len(file_models_model_node_ip_address_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_node_ip_address_proto_rawDescData
|
||||
}
|
||||
@@ -239,7 +228,7 @@ func file_models_model_node_ip_address_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_node_ip_address_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_node_ip_address_proto_rawDesc), len(file_models_model_node_ip_address_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -250,7 +239,6 @@ func file_models_model_node_ip_address_proto_init() {
|
||||
MessageInfos: file_models_model_node_ip_address_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_node_ip_address_proto = out.File
|
||||
file_models_model_node_ip_address_proto_rawDesc = nil
|
||||
file_models_model_node_ip_address_proto_goTypes = nil
|
||||
file_models_model_node_ip_address_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_node_ip_address_log.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -130,43 +131,28 @@ func (x *NodeIPAddressLog) GetAdmin() *Admin {
|
||||
|
||||
var File_models_model_node_ip_address_log_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_node_ip_address_log_proto_rawDesc = []byte{
|
||||
0x0a, 0x26, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e,
|
||||
0x6f, 0x64, 0x65, 0x5f, 0x69, 0x70, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x6c,
|
||||
0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x22, 0x6d, 0x6f,
|
||||
0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f,
|
||||
0x69, 0x70, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
||||
0x1a, 0x18, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x61,
|
||||
0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9e, 0x02, 0x0a, 0x10, 0x4e,
|
||||
0x6f, 0x64, 0x65, 0x49, 0x50, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x4c, 0x6f, 0x67, 0x12,
|
||||
0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12,
|
||||
0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02,
|
||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
|
||||
0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x03,
|
||||
0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12,
|
||||
0x12, 0x0a, 0x04, 0x69, 0x73, 0x55, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69,
|
||||
0x73, 0x55, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28,
|
||||
0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x61, 0x6e, 0x41, 0x63,
|
||||
0x63, 0x65, 0x73, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x63, 0x61, 0x6e, 0x41,
|
||||
0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x49,
|
||||
0x50, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x49,
|
||||
0x50, 0x12, 0x37, 0x0a, 0x0d, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x50, 0x41, 0x64, 0x64, 0x72, 0x65,
|
||||
0x73, 0x73, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f,
|
||||
0x64, 0x65, 0x49, 0x50, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x0d, 0x6e, 0x6f, 0x64,
|
||||
0x65, 0x49, 0x50, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1f, 0x0a, 0x05, 0x61, 0x64,
|
||||
0x6d, 0x69, 0x6e, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x41,
|
||||
0x64, 0x6d, 0x69, 0x6e, 0x52, 0x05, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x42, 0x06, 0x5a, 0x04, 0x2e,
|
||||
0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_node_ip_address_log_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"&models/model_node_ip_address_log.proto\x12\x02pb\x1a\"models/model_node_ip_address.proto\x1a\x18models/model_admin.proto\"\x9e\x02\n" +
|
||||
"\x10NodeIPAddressLog\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12 \n" +
|
||||
"\vdescription\x18\x02 \x01(\tR\vdescription\x12\x1c\n" +
|
||||
"\tcreatedAt\x18\x03 \x01(\x03R\tcreatedAt\x12\x12\n" +
|
||||
"\x04isUp\x18\x04 \x01(\bR\x04isUp\x12\x12\n" +
|
||||
"\x04isOn\x18\x05 \x01(\bR\x04isOn\x12\x1c\n" +
|
||||
"\tcanAccess\x18\x06 \x01(\bR\tcanAccess\x12\x1a\n" +
|
||||
"\bbackupIP\x18\a \x01(\tR\bbackupIP\x127\n" +
|
||||
"\rnodeIPAddress\x18\x1e \x01(\v2\x11.pb.NodeIPAddressR\rnodeIPAddress\x12\x1f\n" +
|
||||
"\x05admin\x18\x1f \x01(\v2\t.pb.AdminR\x05adminB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_node_ip_address_log_proto_rawDescOnce sync.Once
|
||||
file_models_model_node_ip_address_log_proto_rawDescData = file_models_model_node_ip_address_log_proto_rawDesc
|
||||
file_models_model_node_ip_address_log_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_node_ip_address_log_proto_rawDescGZIP() []byte {
|
||||
file_models_model_node_ip_address_log_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_node_ip_address_log_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_node_ip_address_log_proto_rawDescData)
|
||||
file_models_model_node_ip_address_log_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_node_ip_address_log_proto_rawDesc), len(file_models_model_node_ip_address_log_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_node_ip_address_log_proto_rawDescData
|
||||
}
|
||||
@@ -198,7 +184,7 @@ func file_models_model_node_ip_address_log_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_node_ip_address_log_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_node_ip_address_log_proto_rawDesc), len(file_models_model_node_ip_address_log_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -209,7 +195,6 @@ func file_models_model_node_ip_address_log_proto_init() {
|
||||
MessageInfos: file_models_model_node_ip_address_log_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_node_ip_address_log_proto = out.File
|
||||
file_models_model_node_ip_address_log_proto_rawDesc = nil
|
||||
file_models_model_node_ip_address_log_proto_goTypes = nil
|
||||
file_models_model_node_ip_address_log_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_node_ip_address_threshold.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -82,28 +83,22 @@ func (x *NodeIPAddressThreshold) GetActionsJSON() []byte {
|
||||
|
||||
var File_models_model_node_ip_address_threshold_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_node_ip_address_threshold_proto_rawDesc = []byte{
|
||||
0x0a, 0x2c, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e,
|
||||
0x6f, 0x64, 0x65, 0x5f, 0x69, 0x70, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x74,
|
||||
0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02,
|
||||
0x70, 0x62, 0x22, 0x68, 0x0a, 0x16, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x50, 0x41, 0x64, 0x64, 0x72,
|
||||
0x65, 0x73, 0x73, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x12, 0x0e, 0x0a, 0x02,
|
||||
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09,
|
||||
0x69, 0x74, 0x65, 0x6d, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52,
|
||||
0x09, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x63,
|
||||
0x74, 0x69, 0x6f, 0x6e, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52,
|
||||
0x0b, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x42, 0x06, 0x5a, 0x04,
|
||||
0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_node_ip_address_threshold_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
",models/model_node_ip_address_threshold.proto\x12\x02pb\"h\n" +
|
||||
"\x16NodeIPAddressThreshold\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x1c\n" +
|
||||
"\titemsJSON\x18\x02 \x01(\fR\titemsJSON\x12 \n" +
|
||||
"\vactionsJSON\x18\x03 \x01(\fR\vactionsJSONB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_node_ip_address_threshold_proto_rawDescOnce sync.Once
|
||||
file_models_model_node_ip_address_threshold_proto_rawDescData = file_models_model_node_ip_address_threshold_proto_rawDesc
|
||||
file_models_model_node_ip_address_threshold_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_node_ip_address_threshold_proto_rawDescGZIP() []byte {
|
||||
file_models_model_node_ip_address_threshold_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_node_ip_address_threshold_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_node_ip_address_threshold_proto_rawDescData)
|
||||
file_models_model_node_ip_address_threshold_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_node_ip_address_threshold_proto_rawDesc), len(file_models_model_node_ip_address_threshold_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_node_ip_address_threshold_proto_rawDescData
|
||||
}
|
||||
@@ -129,7 +124,7 @@ func file_models_model_node_ip_address_threshold_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_node_ip_address_threshold_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_node_ip_address_threshold_proto_rawDesc), len(file_models_model_node_ip_address_threshold_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -140,7 +135,6 @@ func file_models_model_node_ip_address_threshold_proto_init() {
|
||||
MessageInfos: file_models_model_node_ip_address_threshold_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_node_ip_address_threshold_proto = out.File
|
||||
file_models_model_node_ip_address_threshold_proto_rawDesc = nil
|
||||
file_models_model_node_ip_address_threshold_proto_goTypes = nil
|
||||
file_models_model_node_ip_address_threshold_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_node_log.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -170,43 +171,36 @@ func (x *NodeLog) GetType() string {
|
||||
|
||||
var File_models_model_node_log_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_node_log_proto_rawDesc = []byte{
|
||||
0x0a, 0x1b, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e,
|
||||
0x6f, 0x64, 0x65, 0x5f, 0x6c, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70,
|
||||
0x62, 0x22, 0xe1, 0x02, 0x0a, 0x07, 0x4e, 0x6f, 0x64, 0x65, 0x4c, 0x6f, 0x67, 0x12, 0x0e, 0x0a,
|
||||
0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a,
|
||||
0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x72, 0x6f, 0x6c,
|
||||
0x65, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x61, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
|
||||
0x74, 0x61, 0x67, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69,
|
||||
0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69,
|
||||
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x05,
|
||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x6e,
|
||||
0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x6f, 0x64,
|
||||
0x65, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74,
|
||||
0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41,
|
||||
0x74, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05,
|
||||
0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65,
|
||||
0x72, 0x49, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65,
|
||||
0x72, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x69, 0x73, 0x46, 0x69, 0x78, 0x65, 0x64, 0x18, 0x0a,
|
||||
0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, 0x46, 0x69, 0x78, 0x65, 0x64, 0x12, 0x1a, 0x0a,
|
||||
0x08, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x49, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52,
|
||||
0x08, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x73, 0x52,
|
||||
0x65, 0x61, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x52, 0x65, 0x61,
|
||||
0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18,
|
||||
0x0d, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x4a, 0x53, 0x4f,
|
||||
0x4e, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||
0x04, 0x74, 0x79, 0x70, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70,
|
||||
0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_node_log_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x1bmodels/model_node_log.proto\x12\x02pb\"\xe1\x02\n" +
|
||||
"\aNodeLog\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
||||
"\x04role\x18\x02 \x01(\tR\x04role\x12\x10\n" +
|
||||
"\x03tag\x18\x03 \x01(\tR\x03tag\x12 \n" +
|
||||
"\vdescription\x18\x04 \x01(\tR\vdescription\x12\x14\n" +
|
||||
"\x05level\x18\x05 \x01(\tR\x05level\x12\x16\n" +
|
||||
"\x06nodeId\x18\x06 \x01(\x03R\x06nodeId\x12\x1c\n" +
|
||||
"\tcreatedAt\x18\a \x01(\x03R\tcreatedAt\x12\x14\n" +
|
||||
"\x05count\x18\b \x01(\x05R\x05count\x12\x1a\n" +
|
||||
"\bserverId\x18\t \x01(\x03R\bserverId\x12\x18\n" +
|
||||
"\aisFixed\x18\n" +
|
||||
" \x01(\bR\aisFixed\x12\x1a\n" +
|
||||
"\boriginId\x18\v \x01(\x03R\boriginId\x12\x16\n" +
|
||||
"\x06isRead\x18\f \x01(\bR\x06isRead\x12\x1e\n" +
|
||||
"\n" +
|
||||
"paramsJSON\x18\r \x01(\fR\n" +
|
||||
"paramsJSON\x12\x12\n" +
|
||||
"\x04type\x18\x0e \x01(\tR\x04typeB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_node_log_proto_rawDescOnce sync.Once
|
||||
file_models_model_node_log_proto_rawDescData = file_models_model_node_log_proto_rawDesc
|
||||
file_models_model_node_log_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_node_log_proto_rawDescGZIP() []byte {
|
||||
file_models_model_node_log_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_node_log_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_node_log_proto_rawDescData)
|
||||
file_models_model_node_log_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_node_log_proto_rawDesc), len(file_models_model_node_log_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_node_log_proto_rawDescData
|
||||
}
|
||||
@@ -232,7 +226,7 @@ func file_models_model_node_log_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_node_log_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_node_log_proto_rawDesc), len(file_models_model_node_log_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -243,7 +237,6 @@ func file_models_model_node_log_proto_init() {
|
||||
MessageInfos: file_models_model_node_log_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_node_log_proto = out.File
|
||||
file_models_model_node_log_proto_rawDesc = nil
|
||||
file_models_model_node_log_proto_goTypes = nil
|
||||
file_models_model_node_log_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_node_login.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -90,26 +91,23 @@ func (x *NodeLogin) GetParams() []byte {
|
||||
|
||||
var File_models_model_node_login_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_node_login_proto_rawDesc = []byte{
|
||||
0x0a, 0x1d, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e,
|
||||
0x6f, 0x64, 0x65, 0x5f, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
|
||||
0x02, 0x70, 0x62, 0x22, 0x5b, 0x0a, 0x09, 0x4e, 0x6f, 0x64, 0x65, 0x4c, 0x6f, 0x67, 0x69, 0x6e,
|
||||
0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64,
|
||||
0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
|
||||
0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01,
|
||||
0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61,
|
||||
0x6d, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73,
|
||||
0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_node_login_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x1dmodels/model_node_login.proto\x12\x02pb\"[\n" +
|
||||
"\tNodeLogin\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
||||
"\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n" +
|
||||
"\x04type\x18\x03 \x01(\tR\x04type\x12\x16\n" +
|
||||
"\x06params\x18\x04 \x01(\fR\x06paramsB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_node_login_proto_rawDescOnce sync.Once
|
||||
file_models_model_node_login_proto_rawDescData = file_models_model_node_login_proto_rawDesc
|
||||
file_models_model_node_login_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_node_login_proto_rawDescGZIP() []byte {
|
||||
file_models_model_node_login_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_node_login_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_node_login_proto_rawDescData)
|
||||
file_models_model_node_login_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_node_login_proto_rawDesc), len(file_models_model_node_login_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_node_login_proto_rawDescData
|
||||
}
|
||||
@@ -135,7 +133,7 @@ func file_models_model_node_login_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_node_login_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_node_login_proto_rawDesc), len(file_models_model_node_login_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -146,7 +144,6 @@ func file_models_model_node_login_proto_init() {
|
||||
MessageInfos: file_models_model_node_login_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_node_login_proto = out.File
|
||||
file_models_model_node_login_proto_rawDesc = nil
|
||||
file_models_model_node_login_proto_goTypes = nil
|
||||
file_models_model_node_login_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_node_price_item.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -106,30 +107,25 @@ func (x *NodePriceItem) GetBitsTo() int64 {
|
||||
|
||||
var File_models_model_node_price_item_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_node_price_item_proto_rawDesc = []byte{
|
||||
0x0a, 0x22, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e,
|
||||
0x6f, 0x64, 0x65, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x2e, 0x70,
|
||||
0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0x8f, 0x01, 0x0a, 0x0d, 0x4e, 0x6f, 0x64,
|
||||
0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64,
|
||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73,
|
||||
0x4f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x12, 0x12,
|
||||
0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
|
||||
0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
|
||||
0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x62, 0x69, 0x74, 0x73, 0x46, 0x72,
|
||||
0x6f, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x62, 0x69, 0x74, 0x73, 0x46, 0x72,
|
||||
0x6f, 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x69, 0x74, 0x73, 0x54, 0x6f, 0x18, 0x06, 0x20, 0x01,
|
||||
0x28, 0x03, 0x52, 0x06, 0x62, 0x69, 0x74, 0x73, 0x54, 0x6f, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f,
|
||||
0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_node_price_item_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\"models/model_node_price_item.proto\x12\x02pb\"\x8f\x01\n" +
|
||||
"\rNodePriceItem\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
||||
"\x04isOn\x18\x02 \x01(\bR\x04isOn\x12\x12\n" +
|
||||
"\x04name\x18\x03 \x01(\tR\x04name\x12\x12\n" +
|
||||
"\x04type\x18\x04 \x01(\tR\x04type\x12\x1a\n" +
|
||||
"\bbitsFrom\x18\x05 \x01(\x03R\bbitsFrom\x12\x16\n" +
|
||||
"\x06bitsTo\x18\x06 \x01(\x03R\x06bitsToB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_node_price_item_proto_rawDescOnce sync.Once
|
||||
file_models_model_node_price_item_proto_rawDescData = file_models_model_node_price_item_proto_rawDesc
|
||||
file_models_model_node_price_item_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_node_price_item_proto_rawDescGZIP() []byte {
|
||||
file_models_model_node_price_item_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_node_price_item_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_node_price_item_proto_rawDescData)
|
||||
file_models_model_node_price_item_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_node_price_item_proto_rawDesc), len(file_models_model_node_price_item_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_node_price_item_proto_rawDescData
|
||||
}
|
||||
@@ -155,7 +151,7 @@ func file_models_model_node_price_item_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_node_price_item_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_node_price_item_proto_rawDesc), len(file_models_model_node_price_item_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -166,7 +162,6 @@ func file_models_model_node_price_item_proto_init() {
|
||||
MessageInfos: file_models_model_node_price_item_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_node_price_item_proto = out.File
|
||||
file_models_model_node_price_item_proto_rawDesc = nil
|
||||
file_models_model_node_price_item_proto_goTypes = nil
|
||||
file_models_model_node_price_item_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_node_region.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -98,29 +99,27 @@ func (x *NodeRegion) GetPricesJSON() []byte {
|
||||
|
||||
var File_models_model_node_region_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_node_region_proto_rawDesc = []byte{
|
||||
0x0a, 0x1e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e,
|
||||
0x6f, 0x64, 0x65, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
||||
0x12, 0x02, 0x70, 0x62, 0x22, 0x86, 0x01, 0x0a, 0x0a, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x67,
|
||||
0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
|
||||
0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28,
|
||||
0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
|
||||
0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64,
|
||||
0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
|
||||
0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a,
|
||||
0x0a, 0x70, 0x72, 0x69, 0x63, 0x65, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x05, 0x20, 0x01, 0x28,
|
||||
0x0c, 0x52, 0x0a, 0x70, 0x72, 0x69, 0x63, 0x65, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x42, 0x06, 0x5a,
|
||||
0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_node_region_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x1emodels/model_node_region.proto\x12\x02pb\"\x86\x01\n" +
|
||||
"\n" +
|
||||
"NodeRegion\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
||||
"\x04isOn\x18\x02 \x01(\bR\x04isOn\x12\x12\n" +
|
||||
"\x04name\x18\x03 \x01(\tR\x04name\x12 \n" +
|
||||
"\vdescription\x18\x04 \x01(\tR\vdescription\x12\x1e\n" +
|
||||
"\n" +
|
||||
"pricesJSON\x18\x05 \x01(\fR\n" +
|
||||
"pricesJSONB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_node_region_proto_rawDescOnce sync.Once
|
||||
file_models_model_node_region_proto_rawDescData = file_models_model_node_region_proto_rawDesc
|
||||
file_models_model_node_region_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_node_region_proto_rawDescGZIP() []byte {
|
||||
file_models_model_node_region_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_node_region_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_node_region_proto_rawDescData)
|
||||
file_models_model_node_region_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_node_region_proto_rawDesc), len(file_models_model_node_region_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_node_region_proto_rawDescData
|
||||
}
|
||||
@@ -146,7 +145,7 @@ func file_models_model_node_region_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_node_region_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_node_region_proto_rawDesc), len(file_models_model_node_region_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -157,7 +156,6 @@ func file_models_model_node_region_proto_init() {
|
||||
MessageInfos: file_models_model_node_region_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_node_region_proto = out.File
|
||||
file_models_model_node_region_proto_rawDesc = nil
|
||||
file_models_model_node_region_proto_goTypes = nil
|
||||
file_models_model_node_region_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_node_task.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -163,48 +164,33 @@ func (x *NodeTask) GetServer() *NodeCluster {
|
||||
|
||||
var File_models_model_node_task_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_node_task_proto_rawDesc = []byte{
|
||||
0x0a, 0x1c, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e,
|
||||
0x6f, 0x64, 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02,
|
||||
0x70, 0x62, 0x1a, 0x17, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c,
|
||||
0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x6d, 0x6f, 0x64,
|
||||
0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x63,
|
||||
0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf4, 0x02, 0x0a,
|
||||
0x08, 0x4e, 0x6f, 0x64, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18,
|
||||
0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70,
|
||||
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a,
|
||||
0x06, 0x69, 0x73, 0x44, 0x6f, 0x6e, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69,
|
||||
0x73, 0x44, 0x6f, 0x6e, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, 0x6b, 0x18, 0x04, 0x20,
|
||||
0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6b, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72,
|
||||
0x6f, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12,
|
||||
0x1c, 0x0a, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x06, 0x20, 0x01,
|
||||
0x28, 0x03, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x18, 0x0a,
|
||||
0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07,
|
||||
0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x69, 0x73, 0x50, 0x72, 0x69,
|
||||
0x6d, 0x61, 0x72, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x50, 0x72,
|
||||
0x69, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49,
|
||||
0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49,
|
||||
0x64, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28,
|
||||
0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x04, 0x6e, 0x6f, 0x64,
|
||||
0x65, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64,
|
||||
0x65, 0x52, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x12, 0x31, 0x0a, 0x0b, 0x6e, 0x6f, 0x64, 0x65, 0x43,
|
||||
0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70,
|
||||
0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x0b, 0x6e,
|
||||
0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x27, 0x0a, 0x06, 0x73, 0x65,
|
||||
0x72, 0x76, 0x65, 0x72, 0x18, 0x20, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e,
|
||||
0x4e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x06, 0x73, 0x65, 0x72,
|
||||
0x76, 0x65, 0x72, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f,
|
||||
0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_node_task_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x1cmodels/model_node_task.proto\x12\x02pb\x1a\x17models/model_node.proto\x1a\x1fmodels/model_node_cluster.proto\"\xf4\x02\n" +
|
||||
"\bNodeTask\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
||||
"\x04type\x18\x02 \x01(\tR\x04type\x12\x16\n" +
|
||||
"\x06isDone\x18\x03 \x01(\bR\x06isDone\x12\x12\n" +
|
||||
"\x04isOk\x18\x04 \x01(\bR\x04isOk\x12\x14\n" +
|
||||
"\x05error\x18\x05 \x01(\tR\x05error\x12\x1c\n" +
|
||||
"\tupdatedAt\x18\x06 \x01(\x03R\tupdatedAt\x12\x18\n" +
|
||||
"\aversion\x18\a \x01(\x03R\aversion\x12\x1c\n" +
|
||||
"\tisPrimary\x18\b \x01(\bR\tisPrimary\x12\x1a\n" +
|
||||
"\bserverId\x18\t \x01(\x03R\bserverId\x12\x16\n" +
|
||||
"\x06userId\x18\n" +
|
||||
" \x01(\x03R\x06userId\x12\x1c\n" +
|
||||
"\x04node\x18\x1e \x01(\v2\b.pb.NodeR\x04node\x121\n" +
|
||||
"\vnodeCluster\x18\x1f \x01(\v2\x0f.pb.NodeClusterR\vnodeCluster\x12'\n" +
|
||||
"\x06server\x18 \x01(\v2\x0f.pb.NodeClusterR\x06serverB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_node_task_proto_rawDescOnce sync.Once
|
||||
file_models_model_node_task_proto_rawDescData = file_models_model_node_task_proto_rawDesc
|
||||
file_models_model_node_task_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_node_task_proto_rawDescGZIP() []byte {
|
||||
file_models_model_node_task_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_node_task_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_node_task_proto_rawDescData)
|
||||
file_models_model_node_task_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_node_task_proto_rawDesc), len(file_models_model_node_task_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_node_task_proto_rawDescData
|
||||
}
|
||||
@@ -237,7 +223,7 @@ func file_models_model_node_task_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_node_task_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_node_task_proto_rawDesc), len(file_models_model_node_task_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -248,7 +234,6 @@ func file_models_model_node_task_proto_init() {
|
||||
MessageInfos: file_models_model_node_task_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_node_task_proto = out.File
|
||||
file_models_model_node_task_proto_rawDesc = nil
|
||||
file_models_model_node_task_proto_goTypes = nil
|
||||
file_models_model_node_task_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_node_threshold.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -162,46 +163,33 @@ func (x *NodeThreshold) GetNotifyDuration() int32 {
|
||||
|
||||
var File_models_model_node_threshold_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_node_threshold_proto_rawDesc = []byte{
|
||||
0x0a, 0x21, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e,
|
||||
0x6f, 0x64, 0x65, 0x5f, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x2e, 0x70, 0x72,
|
||||
0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x17, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f,
|
||||
0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
||||
0x22, 0xf3, 0x02, 0x0a, 0x0d, 0x4e, 0x6f, 0x64, 0x65, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f,
|
||||
0x6c, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02,
|
||||
0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18,
|
||||
0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64,
|
||||
0x12, 0x1c, 0x0a, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08,
|
||||
0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x12, 0x12,
|
||||
0x0a, 0x04, 0x69, 0x74, 0x65, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x69, 0x74,
|
||||
0x65, 0x6d, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28,
|
||||
0x09, 0x52, 0x05, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x70, 0x65, 0x72,
|
||||
0x61, 0x74, 0x6f, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x70, 0x65, 0x72,
|
||||
0x61, 0x74, 0x6f, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x4a, 0x53, 0x4f,
|
||||
0x4e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x4a, 0x53,
|
||||
0x4f, 0x4e, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x08, 0x20,
|
||||
0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1a, 0x0a, 0x08,
|
||||
0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08,
|
||||
0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x0a, 0x0c, 0x64, 0x75, 0x72, 0x61,
|
||||
0x74, 0x69, 0x6f, 0x6e, 0x55, 0x6e, 0x69, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c,
|
||||
0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x6e, 0x69, 0x74, 0x12, 0x1c, 0x0a, 0x09,
|
||||
0x73, 0x75, 0x6d, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||
0x09, 0x73, 0x75, 0x6d, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73,
|
||||
0x4f, 0x6e, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x12, 0x26,
|
||||
0x0a, 0x0e, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
|
||||
0x18, 0x0d, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x44, 0x75,
|
||||
0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06,
|
||||
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_node_threshold_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"!models/model_node_threshold.proto\x12\x02pb\x1a\x17models/model_node.proto\"\xf3\x02\n" +
|
||||
"\rNodeThreshold\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x1c\n" +
|
||||
"\tclusterId\x18\x02 \x01(\x03R\tclusterId\x12\x1c\n" +
|
||||
"\x04node\x18\x03 \x01(\v2\b.pb.NodeR\x04node\x12\x12\n" +
|
||||
"\x04item\x18\x04 \x01(\tR\x04item\x12\x14\n" +
|
||||
"\x05param\x18\x05 \x01(\tR\x05param\x12\x1a\n" +
|
||||
"\boperator\x18\x06 \x01(\tR\boperator\x12\x1c\n" +
|
||||
"\tvalueJSON\x18\a \x01(\fR\tvalueJSON\x12\x18\n" +
|
||||
"\amessage\x18\b \x01(\tR\amessage\x12\x1a\n" +
|
||||
"\bduration\x18\t \x01(\x05R\bduration\x12\"\n" +
|
||||
"\fdurationUnit\x18\n" +
|
||||
" \x01(\tR\fdurationUnit\x12\x1c\n" +
|
||||
"\tsumMethod\x18\v \x01(\tR\tsumMethod\x12\x12\n" +
|
||||
"\x04isOn\x18\f \x01(\bR\x04isOn\x12&\n" +
|
||||
"\x0enotifyDuration\x18\r \x01(\x05R\x0enotifyDurationB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_node_threshold_proto_rawDescOnce sync.Once
|
||||
file_models_model_node_threshold_proto_rawDescData = file_models_model_node_threshold_proto_rawDesc
|
||||
file_models_model_node_threshold_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_node_threshold_proto_rawDescGZIP() []byte {
|
||||
file_models_model_node_threshold_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_node_threshold_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_node_threshold_proto_rawDescData)
|
||||
file_models_model_node_threshold_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_node_threshold_proto_rawDesc), len(file_models_model_node_threshold_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_node_threshold_proto_rawDescData
|
||||
}
|
||||
@@ -230,7 +218,7 @@ func file_models_model_node_threshold_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_node_threshold_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_node_threshold_proto_rawDesc), len(file_models_model_node_threshold_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -241,7 +229,6 @@ func file_models_model_node_threshold_proto_init() {
|
||||
MessageInfos: file_models_model_node_threshold_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_node_threshold_proto = out.File
|
||||
file_models_model_node_threshold_proto_rawDesc = nil
|
||||
file_models_model_node_threshold_proto_goTypes = nil
|
||||
file_models_model_node_threshold_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_node_value.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -75,25 +76,21 @@ func (x *NodeValue) GetCreatedAt() int64 {
|
||||
|
||||
var File_models_model_node_value_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_node_value_proto_rawDesc = []byte{
|
||||
0x0a, 0x1d, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e,
|
||||
0x6f, 0x64, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
|
||||
0x02, 0x70, 0x62, 0x22, 0x47, 0x0a, 0x09, 0x4e, 0x6f, 0x64, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65,
|
||||
0x12, 0x1c, 0x0a, 0x09, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x01, 0x20,
|
||||
0x01, 0x28, 0x0c, 0x52, 0x09, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x1c,
|
||||
0x0a, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28,
|
||||
0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x42, 0x06, 0x5a, 0x04,
|
||||
0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_node_value_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x1dmodels/model_node_value.proto\x12\x02pb\"G\n" +
|
||||
"\tNodeValue\x12\x1c\n" +
|
||||
"\tvalueJSON\x18\x01 \x01(\fR\tvalueJSON\x12\x1c\n" +
|
||||
"\tcreatedAt\x18\x02 \x01(\x03R\tcreatedAtB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_node_value_proto_rawDescOnce sync.Once
|
||||
file_models_model_node_value_proto_rawDescData = file_models_model_node_value_proto_rawDesc
|
||||
file_models_model_node_value_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_node_value_proto_rawDescGZIP() []byte {
|
||||
file_models_model_node_value_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_node_value_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_node_value_proto_rawDescData)
|
||||
file_models_model_node_value_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_node_value_proto_rawDesc), len(file_models_model_node_value_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_node_value_proto_rawDescData
|
||||
}
|
||||
@@ -119,7 +116,7 @@ func file_models_model_node_value_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_node_value_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_node_value_proto_rawDesc), len(file_models_model_node_value_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -130,7 +127,6 @@ func file_models_model_node_value_proto_init() {
|
||||
MessageInfos: file_models_model_node_value_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_node_value_proto = out.File
|
||||
file_models_model_node_value_proto_rawDesc = nil
|
||||
file_models_model_node_value_proto_goTypes = nil
|
||||
file_models_model_node_value_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_ns_access_log.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -213,62 +214,55 @@ func (x *NSAccessLog) GetIsRecursive() bool {
|
||||
|
||||
var File_models_model_ns_access_log_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_ns_access_log_proto_rawDesc = []byte{
|
||||
0x0a, 0x20, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e,
|
||||
0x73, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x6c, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f,
|
||||
0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x1b, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d,
|
||||
0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x73, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x2e, 0x70, 0x72,
|
||||
0x6f, 0x74, 0x6f, 0x22, 0xf6, 0x04, 0x0a, 0x0b, 0x4e, 0x53, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73,
|
||||
0x4c, 0x6f, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x73, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18,
|
||||
0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6e, 0x73, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12,
|
||||
0x1e, 0x0a, 0x0a, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x18, 0x02, 0x20,
|
||||
0x01, 0x28, 0x03, 0x52, 0x0a, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x12,
|
||||
0x1e, 0x0a, 0x0a, 0x6e, 0x73, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x49, 0x64, 0x18, 0x03, 0x20,
|
||||
0x01, 0x28, 0x03, 0x52, 0x0a, 0x6e, 0x73, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x49, 0x64, 0x12,
|
||||
0x22, 0x0a, 0x0a, 0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x49, 0x64, 0x73, 0x18, 0x04, 0x20,
|
||||
0x03, 0x28, 0x03, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0a, 0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65,
|
||||
0x49, 0x64, 0x73, 0x12, 0x22, 0x0a, 0x0c, 0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x43, 0x6f,
|
||||
0x64, 0x65, 0x73, 0x18, 0x11, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x6e, 0x73, 0x52, 0x6f, 0x75,
|
||||
0x74, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x27, 0x0a, 0x08, 0x6e, 0x73, 0x52, 0x6f, 0x75,
|
||||
0x74, 0x65, 0x73, 0x18, 0x12, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x2e, 0x4e,
|
||||
0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x08, 0x6e, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73,
|
||||
0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x41, 0x64, 0x64, 0x72, 0x18, 0x05,
|
||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x41, 0x64, 0x64, 0x72,
|
||||
0x12, 0x22, 0x0a, 0x0c, 0x71, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65,
|
||||
0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x71, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e,
|
||||
0x4e, 0x61, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x71, 0x75, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e,
|
||||
0x54, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x71, 0x75, 0x65, 0x73,
|
||||
0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x63, 0x6f,
|
||||
0x72, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65,
|
||||
0x63, 0x6f, 0x72, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x63, 0x6f,
|
||||
0x72, 0x64, 0x54, 0x79, 0x70, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65,
|
||||
0x63, 0x6f, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x65, 0x63, 0x6f,
|
||||
0x72, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72,
|
||||
0x65, 0x63, 0x6f, 0x72, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x6e, 0x65,
|
||||
0x74, 0x77, 0x6f, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
|
||||
0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x65,
|
||||
0x72, 0x76, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
|
||||
0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69,
|
||||
0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74,
|
||||
0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x71, 0x75,
|
||||
0x65, 0x73, 0x74, 0x49, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71,
|
||||
0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x4c, 0x6f,
|
||||
0x63, 0x61, 0x6c, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x4c,
|
||||
0x6f, 0x63, 0x61, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x10, 0x20,
|
||||
0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x20, 0x0a, 0x0b, 0x69, 0x73,
|
||||
0x52, 0x65, 0x63, 0x75, 0x72, 0x73, 0x69, 0x76, 0x65, 0x18, 0x13, 0x20, 0x01, 0x28, 0x08, 0x52,
|
||||
0x0b, 0x69, 0x73, 0x52, 0x65, 0x63, 0x75, 0x72, 0x73, 0x69, 0x76, 0x65, 0x42, 0x06, 0x5a, 0x04,
|
||||
0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_ns_access_log_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
" models/model_ns_access_log.proto\x12\x02pb\x1a\x1bmodels/model_ns_route.proto\"\xf6\x04\n" +
|
||||
"\vNSAccessLog\x12\x1a\n" +
|
||||
"\bnsNodeId\x18\x01 \x01(\x03R\bnsNodeId\x12\x1e\n" +
|
||||
"\n" +
|
||||
"nsDomainId\x18\x02 \x01(\x03R\n" +
|
||||
"nsDomainId\x12\x1e\n" +
|
||||
"\n" +
|
||||
"nsRecordId\x18\x03 \x01(\x03R\n" +
|
||||
"nsRecordId\x12\"\n" +
|
||||
"\n" +
|
||||
"nsRouteIds\x18\x04 \x03(\x03B\x02\x18\x01R\n" +
|
||||
"nsRouteIds\x12\"\n" +
|
||||
"\fnsRouteCodes\x18\x11 \x03(\tR\fnsRouteCodes\x12'\n" +
|
||||
"\bnsRoutes\x18\x12 \x03(\v2\v.pb.NSRouteR\bnsRoutes\x12\x1e\n" +
|
||||
"\n" +
|
||||
"remoteAddr\x18\x05 \x01(\tR\n" +
|
||||
"remoteAddr\x12\"\n" +
|
||||
"\fquestionName\x18\x06 \x01(\tR\fquestionName\x12\"\n" +
|
||||
"\fquestionType\x18\a \x01(\tR\fquestionType\x12\x1e\n" +
|
||||
"\n" +
|
||||
"recordName\x18\b \x01(\tR\n" +
|
||||
"recordName\x12\x1e\n" +
|
||||
"\n" +
|
||||
"recordType\x18\t \x01(\tR\n" +
|
||||
"recordType\x12 \n" +
|
||||
"\vrecordValue\x18\n" +
|
||||
" \x01(\tR\vrecordValue\x12\x1e\n" +
|
||||
"\n" +
|
||||
"networking\x18\v \x01(\tR\n" +
|
||||
"networking\x12\x1e\n" +
|
||||
"\n" +
|
||||
"serverAddr\x18\f \x01(\tR\n" +
|
||||
"serverAddr\x12\x1c\n" +
|
||||
"\ttimestamp\x18\r \x01(\x03R\ttimestamp\x12\x1c\n" +
|
||||
"\trequestId\x18\x0e \x01(\tR\trequestId\x12\x1c\n" +
|
||||
"\ttimeLocal\x18\x0f \x01(\tR\ttimeLocal\x12\x14\n" +
|
||||
"\x05error\x18\x10 \x01(\tR\x05error\x12 \n" +
|
||||
"\visRecursive\x18\x13 \x01(\bR\visRecursiveB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_ns_access_log_proto_rawDescOnce sync.Once
|
||||
file_models_model_ns_access_log_proto_rawDescData = file_models_model_ns_access_log_proto_rawDesc
|
||||
file_models_model_ns_access_log_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_ns_access_log_proto_rawDescGZIP() []byte {
|
||||
file_models_model_ns_access_log_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_ns_access_log_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_ns_access_log_proto_rawDescData)
|
||||
file_models_model_ns_access_log_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_ns_access_log_proto_rawDesc), len(file_models_model_ns_access_log_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_ns_access_log_proto_rawDescData
|
||||
}
|
||||
@@ -297,7 +291,7 @@ func file_models_model_ns_access_log_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_ns_access_log_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_ns_access_log_proto_rawDesc), len(file_models_model_ns_access_log_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -308,7 +302,6 @@ func file_models_model_ns_access_log_proto_init() {
|
||||
MessageInfos: file_models_model_ns_access_log_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_ns_access_log_proto = out.File
|
||||
file_models_model_ns_access_log_proto_rawDesc = nil
|
||||
file_models_model_ns_access_log_proto_goTypes = nil
|
||||
file_models_model_ns_access_log_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_ns_cluster.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -187,49 +188,40 @@ func (x *NSCluster) GetCheckingPorts() bool {
|
||||
|
||||
var File_models_model_ns_cluster_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_ns_cluster_proto_rawDesc = []byte{
|
||||
0x0a, 0x1d, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e,
|
||||
0x73, 0x5f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
|
||||
0x02, 0x70, 0x62, 0x22, 0xc1, 0x03, 0x0a, 0x09, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65,
|
||||
0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69,
|
||||
0x64, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52,
|
||||
0x04, 0x69, 0x73, 0x4f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20,
|
||||
0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x69, 0x6e, 0x73,
|
||||
0x74, 0x61, 0x6c, 0x6c, 0x44, 0x69, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69,
|
||||
0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x44, 0x69, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x63, 0x70,
|
||||
0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x74, 0x63, 0x70, 0x4a,
|
||||
0x53, 0x4f, 0x4e, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x6c, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x06,
|
||||
0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x74, 0x6c, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x18, 0x0a,
|
||||
0x07, 0x75, 0x64, 0x70, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07,
|
||||
0x75, 0x64, 0x70, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x6f, 0x68, 0x4a, 0x53,
|
||||
0x4f, 0x4e, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x64, 0x6f, 0x68, 0x4a, 0x53, 0x4f,
|
||||
0x4e, 0x12, 0x14, 0x0a, 0x05, 0x68, 0x6f, 0x73, 0x74, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09,
|
||||
0x52, 0x05, 0x68, 0x6f, 0x73, 0x74, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x6f, 0x61, 0x4a, 0x53,
|
||||
0x4f, 0x4e, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x73, 0x6f, 0x61, 0x4a, 0x53, 0x4f,
|
||||
0x4e, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09,
|
||||
0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x28, 0x0a, 0x0f, 0x61, 0x75, 0x74, 0x6f, 0x52,
|
||||
0x65, 0x6d, 0x6f, 0x74, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08,
|
||||
0x52, 0x0f, 0x61, 0x75, 0x74, 0x6f, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x53, 0x74, 0x61, 0x72,
|
||||
0x74, 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x69, 0x6d, 0x65, 0x5a, 0x6f, 0x6e, 0x65, 0x18, 0x0a, 0x20,
|
||||
0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x69, 0x6d, 0x65, 0x5a, 0x6f, 0x6e, 0x65, 0x12, 0x1e, 0x0a,
|
||||
0x0a, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x0b, 0x20, 0x01, 0x28,
|
||||
0x0c, 0x52, 0x0a, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x22, 0x0a,
|
||||
0x0c, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x0e, 0x20,
|
||||
0x01, 0x28, 0x08, 0x52, 0x0c, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74,
|
||||
0x73, 0x12, 0x24, 0x0a, 0x0d, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x72,
|
||||
0x74, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x69,
|
||||
0x6e, 0x67, 0x50, 0x6f, 0x72, 0x74, 0x73, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62,
|
||||
0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_ns_cluster_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x1dmodels/model_ns_cluster.proto\x12\x02pb\"\xc1\x03\n" +
|
||||
"\tNSCluster\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
||||
"\x04isOn\x18\x02 \x01(\bR\x04isOn\x12\x12\n" +
|
||||
"\x04name\x18\x03 \x01(\tR\x04name\x12\x1e\n" +
|
||||
"\n" +
|
||||
"installDir\x18\x04 \x01(\tR\n" +
|
||||
"installDir\x12\x18\n" +
|
||||
"\atcpJSON\x18\x05 \x01(\fR\atcpJSON\x12\x18\n" +
|
||||
"\atlsJSON\x18\x06 \x01(\fR\atlsJSON\x12\x18\n" +
|
||||
"\audpJSON\x18\a \x01(\fR\audpJSON\x12\x18\n" +
|
||||
"\adohJSON\x18\x10 \x01(\fR\adohJSON\x12\x14\n" +
|
||||
"\x05hosts\x18\b \x03(\tR\x05hosts\x12\x18\n" +
|
||||
"\asoaJSON\x18\f \x01(\fR\asoaJSON\x12\x14\n" +
|
||||
"\x05email\x18\r \x01(\tR\x05email\x12(\n" +
|
||||
"\x0fautoRemoteStart\x18\t \x01(\bR\x0fautoRemoteStart\x12\x1a\n" +
|
||||
"\btimeZone\x18\n" +
|
||||
" \x01(\tR\btimeZone\x12\x1e\n" +
|
||||
"\n" +
|
||||
"answerJSON\x18\v \x01(\fR\n" +
|
||||
"answerJSON\x12\"\n" +
|
||||
"\fdetectAgents\x18\x0e \x01(\bR\fdetectAgents\x12$\n" +
|
||||
"\rcheckingPorts\x18\x0f \x01(\bR\rcheckingPortsB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_ns_cluster_proto_rawDescOnce sync.Once
|
||||
file_models_model_ns_cluster_proto_rawDescData = file_models_model_ns_cluster_proto_rawDesc
|
||||
file_models_model_ns_cluster_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_ns_cluster_proto_rawDescGZIP() []byte {
|
||||
file_models_model_ns_cluster_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_ns_cluster_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_ns_cluster_proto_rawDescData)
|
||||
file_models_model_ns_cluster_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_ns_cluster_proto_rawDesc), len(file_models_model_ns_cluster_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_ns_cluster_proto_rawDescData
|
||||
}
|
||||
@@ -255,7 +247,7 @@ func file_models_model_ns_cluster_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_ns_cluster_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_ns_cluster_proto_rawDesc), len(file_models_model_ns_cluster_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -266,7 +258,6 @@ func file_models_model_ns_cluster_proto_init() {
|
||||
MessageInfos: file_models_model_ns_cluster_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_ns_cluster_proto = out.File
|
||||
file_models_model_ns_cluster_proto_rawDesc = nil
|
||||
file_models_model_ns_cluster_proto_goTypes = nil
|
||||
file_models_model_ns_cluster_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_ns_domain.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -171,55 +172,34 @@ func (x *NSDomain) GetNsDomainGroups() []*NSDomainGroup {
|
||||
|
||||
var File_models_model_ns_domain_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_ns_domain_proto_rawDesc = []byte{
|
||||
0x0a, 0x1c, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e,
|
||||
0x73, 0x5f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02,
|
||||
0x70, 0x62, 0x1a, 0x1d, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c,
|
||||
0x5f, 0x6e, 0x73, 0x5f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
||||
0x6f, 0x1a, 0x22, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f,
|
||||
0x6e, 0x73, 0x5f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e,
|
||||
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f,
|
||||
0x64, 0x65, 0x6c, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xce,
|
||||
0x03, 0x0a, 0x08, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69,
|
||||
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e,
|
||||
0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12,
|
||||
0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69,
|
||||
0x73, 0x4f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74,
|
||||
0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41,
|
||||
0x74, 0x12, 0x1c, 0x0a, 0x09, 0x69, 0x73, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x18, 0x05,
|
||||
0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x12,
|
||||
0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03,
|
||||
0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x73, 0x69,
|
||||
0x67, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x74, 0x73, 0x69,
|
||||
0x67, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x2a, 0x0a, 0x10, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69,
|
||||
0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x03, 0x52,
|
||||
0x10, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64,
|
||||
0x73, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28,
|
||||
0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65,
|
||||
0x72, 0x49, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49,
|
||||
0x64, 0x12, 0x36, 0x0a, 0x16, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x48, 0x65, 0x61, 0x6c,
|
||||
0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x0b, 0x20, 0x01, 0x28,
|
||||
0x0c, 0x52, 0x16, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68,
|
||||
0x43, 0x68, 0x65, 0x63, 0x6b, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x2b, 0x0a, 0x09, 0x6e, 0x73, 0x43,
|
||||
0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x70,
|
||||
0x62, 0x2e, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x09, 0x6e, 0x73, 0x43,
|
||||
0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x1c, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x1f,
|
||||
0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x70, 0x62, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04,
|
||||
0x75, 0x73, 0x65, 0x72, 0x12, 0x39, 0x0a, 0x0e, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e,
|
||||
0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x20, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70,
|
||||
0x62, 0x2e, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52,
|
||||
0x0e, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x42,
|
||||
0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_ns_domain_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x1cmodels/model_ns_domain.proto\x12\x02pb\x1a\x1dmodels/model_ns_cluster.proto\x1a\"models/model_ns_domain_group.proto\x1a\x17models/model_user.proto\"\xce\x03\n" +
|
||||
"\bNSDomain\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
||||
"\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n" +
|
||||
"\x04isOn\x18\x03 \x01(\bR\x04isOn\x12\x1c\n" +
|
||||
"\tcreatedAt\x18\x04 \x01(\x03R\tcreatedAt\x12\x1c\n" +
|
||||
"\tisDeleted\x18\x05 \x01(\bR\tisDeleted\x12\x18\n" +
|
||||
"\aversion\x18\x06 \x01(\x03R\aversion\x12\x1a\n" +
|
||||
"\btsigJSON\x18\a \x01(\fR\btsigJSON\x12*\n" +
|
||||
"\x10nsDomainGroupIds\x18\b \x03(\x03R\x10nsDomainGroupIds\x12\x16\n" +
|
||||
"\x06status\x18\t \x01(\tR\x06status\x12\x16\n" +
|
||||
"\x06userId\x18\n" +
|
||||
" \x01(\x03R\x06userId\x126\n" +
|
||||
"\x16recordsHealthCheckJSON\x18\v \x01(\fR\x16recordsHealthCheckJSON\x12+\n" +
|
||||
"\tnsCluster\x18\x1e \x01(\v2\r.pb.NSClusterR\tnsCluster\x12\x1c\n" +
|
||||
"\x04user\x18\x1f \x01(\v2\b.pb.UserR\x04user\x129\n" +
|
||||
"\x0ensDomainGroups\x18 \x03(\v2\x11.pb.NSDomainGroupR\x0ensDomainGroupsB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_ns_domain_proto_rawDescOnce sync.Once
|
||||
file_models_model_ns_domain_proto_rawDescData = file_models_model_ns_domain_proto_rawDesc
|
||||
file_models_model_ns_domain_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_ns_domain_proto_rawDescGZIP() []byte {
|
||||
file_models_model_ns_domain_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_ns_domain_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_ns_domain_proto_rawDescData)
|
||||
file_models_model_ns_domain_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_ns_domain_proto_rawDesc), len(file_models_model_ns_domain_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_ns_domain_proto_rawDescData
|
||||
}
|
||||
@@ -254,7 +234,7 @@ func file_models_model_ns_domain_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_ns_domain_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_ns_domain_proto_rawDesc), len(file_models_model_ns_domain_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -265,7 +245,6 @@ func file_models_model_ns_domain_proto_init() {
|
||||
MessageInfos: file_models_model_ns_domain_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_ns_domain_proto = out.File
|
||||
file_models_model_ns_domain_proto_rawDesc = nil
|
||||
file_models_model_ns_domain_proto_goTypes = nil
|
||||
file_models_model_ns_domain_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_ns_domain_group.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -91,27 +92,23 @@ func (x *NSDomainGroup) GetUserId() int64 {
|
||||
|
||||
var File_models_model_ns_domain_group_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_ns_domain_group_proto_rawDesc = []byte{
|
||||
0x0a, 0x22, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e,
|
||||
0x73, 0x5f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x70,
|
||||
0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0x5f, 0x0a, 0x0d, 0x4e, 0x53, 0x44, 0x6f,
|
||||
0x6d, 0x61, 0x69, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18,
|
||||
0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
|
||||
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a,
|
||||
0x04, 0x69, 0x73, 0x4f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f,
|
||||
0x6e, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28,
|
||||
0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70,
|
||||
0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_ns_domain_group_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\"models/model_ns_domain_group.proto\x12\x02pb\"_\n" +
|
||||
"\rNSDomainGroup\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
||||
"\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n" +
|
||||
"\x04isOn\x18\x03 \x01(\bR\x04isOn\x12\x16\n" +
|
||||
"\x06userId\x18\x04 \x01(\x03R\x06userIdB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_ns_domain_group_proto_rawDescOnce sync.Once
|
||||
file_models_model_ns_domain_group_proto_rawDescData = file_models_model_ns_domain_group_proto_rawDesc
|
||||
file_models_model_ns_domain_group_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_ns_domain_group_proto_rawDescGZIP() []byte {
|
||||
file_models_model_ns_domain_group_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_ns_domain_group_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_ns_domain_group_proto_rawDescData)
|
||||
file_models_model_ns_domain_group_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_ns_domain_group_proto_rawDesc), len(file_models_model_ns_domain_group_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_ns_domain_group_proto_rawDescData
|
||||
}
|
||||
@@ -137,7 +134,7 @@ func file_models_model_ns_domain_group_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_ns_domain_group_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_ns_domain_group_proto_rawDesc), len(file_models_model_ns_domain_group_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -148,7 +145,6 @@ func file_models_model_ns_domain_group_proto_init() {
|
||||
MessageInfos: file_models_model_ns_domain_group_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_ns_domain_group_proto = out.File
|
||||
file_models_model_ns_domain_group_proto_rawDesc = nil
|
||||
file_models_model_ns_domain_group_proto_goTypes = nil
|
||||
file_models_model_ns_domain_group_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_ns_key.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -139,41 +140,32 @@ func (x *NSKey) GetNsZone() *NSZone {
|
||||
|
||||
var File_models_model_ns_key_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_ns_key_proto_rawDesc = []byte{
|
||||
0x0a, 0x19, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e,
|
||||
0x73, 0x5f, 0x6b, 0x65, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a,
|
||||
0x1c, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x73,
|
||||
0x5f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x6d,
|
||||
0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x73, 0x5f, 0x7a,
|
||||
0x6f, 0x6e, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x91, 0x02, 0x0a, 0x05, 0x4e, 0x53,
|
||||
0x4b, 0x65, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
|
||||
0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28,
|
||||
0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
|
||||
0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x61,
|
||||
0x6c, 0x67, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x61, 0x6c, 0x67, 0x6f, 0x12,
|
||||
0x16, 0x0a, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||
0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x65, 0x63, 0x72, 0x65,
|
||||
0x74, 0x54, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x65, 0x63,
|
||||
0x72, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x69, 0x73, 0x44, 0x65, 0x6c,
|
||||
0x65, 0x74, 0x65, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x44, 0x65,
|
||||
0x6c, 0x65, 0x74, 0x65, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
|
||||
0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12,
|
||||
0x28, 0x0a, 0x08, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x1e, 0x20, 0x01, 0x28,
|
||||
0x0b, 0x32, 0x0c, 0x2e, 0x70, 0x62, 0x2e, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x52,
|
||||
0x08, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x22, 0x0a, 0x06, 0x6e, 0x73, 0x5a,
|
||||
0x6f, 0x6e, 0x65, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x4e,
|
||||
0x53, 0x5a, 0x6f, 0x6e, 0x65, 0x52, 0x06, 0x6e, 0x73, 0x5a, 0x6f, 0x6e, 0x65, 0x42, 0x06, 0x5a,
|
||||
0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_ns_key_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x19models/model_ns_key.proto\x12\x02pb\x1a\x1cmodels/model_ns_domain.proto\x1a\x1amodels/model_ns_zone.proto\"\x91\x02\n" +
|
||||
"\x05NSKey\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
||||
"\x04isOn\x18\x02 \x01(\bR\x04isOn\x12\x12\n" +
|
||||
"\x04name\x18\x03 \x01(\tR\x04name\x12\x12\n" +
|
||||
"\x04algo\x18\x04 \x01(\tR\x04algo\x12\x16\n" +
|
||||
"\x06secret\x18\x05 \x01(\tR\x06secret\x12\x1e\n" +
|
||||
"\n" +
|
||||
"secretType\x18\x06 \x01(\tR\n" +
|
||||
"secretType\x12\x1c\n" +
|
||||
"\tisDeleted\x18\a \x01(\bR\tisDeleted\x12\x18\n" +
|
||||
"\aversion\x18\b \x01(\x03R\aversion\x12(\n" +
|
||||
"\bnsDomain\x18\x1e \x01(\v2\f.pb.NSDomainR\bnsDomain\x12\"\n" +
|
||||
"\x06nsZone\x18\x1f \x01(\v2\n" +
|
||||
".pb.NSZoneR\x06nsZoneB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_ns_key_proto_rawDescOnce sync.Once
|
||||
file_models_model_ns_key_proto_rawDescData = file_models_model_ns_key_proto_rawDesc
|
||||
file_models_model_ns_key_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_ns_key_proto_rawDescGZIP() []byte {
|
||||
file_models_model_ns_key_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_ns_key_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_ns_key_proto_rawDescData)
|
||||
file_models_model_ns_key_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_ns_key_proto_rawDesc), len(file_models_model_ns_key_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_ns_key_proto_rawDescData
|
||||
}
|
||||
@@ -205,7 +197,7 @@ func file_models_model_ns_key_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_ns_key_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_ns_key_proto_rawDesc), len(file_models_model_ns_key_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -216,7 +208,6 @@ func file_models_model_ns_key_proto_init() {
|
||||
MessageInfos: file_models_model_ns_key_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_ns_key_proto = out.File
|
||||
file_models_model_ns_key_proto_rawDesc = nil
|
||||
file_models_model_ns_key_proto_goTypes = nil
|
||||
file_models_model_ns_key_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user