v1.5.1 增强程序稳定性

This commit is contained in:
robin
2026-03-22 17:37:40 +08:00
parent afbaaa869c
commit 17e182b413
652 changed files with 22949 additions and 34397 deletions

11
.gitignore vendored
View File

@@ -7,6 +7,17 @@ deploy/fluent-bit/logs.db-wal
deploy/fluent-bit/storage/ deploy/fluent-bit/storage/
/pkg/ /pkg/
/.claude/ /.claude/
CLAUDE.md
CHANGELOG-1.5.1.md
docs/*
# Test artifacts
EdgeDNS/agents.test.exe
EdgeAdmin/test_db2.go
# Runtime data (generated at runtime, not source)
EdgeNode/build/data/
EdgeDNS/build/data/
# Local large build artifacts # Local large build artifacts
EdgeAdmin/edge-admin.exe EdgeAdmin/edge-admin.exe

View File

@@ -41,17 +41,7 @@ function build() {
cd "$ROOT""/../../EdgeNode/build" || exit cd "$ROOT""/../../EdgeNode/build" || exit
echo "==============================" echo "=============================="
for arch in "${NODE_ARCHITECTS[@]}"; do for arch in "${NODE_ARCHITECTS[@]}"; do
# 查找 zip 文件时不包含 plus 标记 ./build.sh linux "$arch" $TAG
if [ "${TAG}" = "plus" ]; then
NODE_ZIP_FILE="$ROOT""/../../EdgeNode/dist/edge-node-linux-${arch}-v${NodeVersion}.zip"
else
NODE_ZIP_FILE="$ROOT""/../../EdgeNode/dist/edge-node-linux-${arch}-${TAG}-v${NodeVersion}.zip"
fi
if [ ! -f "$NODE_ZIP_FILE" ]; then
./build.sh linux "$arch" $TAG
else
echo "use built node linux/$arch/v${NodeVersion}"
fi
done done
echo "==============================" echo "=============================="
cd - || exit cd - || exit

View File

@@ -1,5 +1,5 @@
user: root user: root
password: 123456 password: 123456
host: 127.0.0.1:3306 host: 127.0.0.1:3308
database: db_edge database: db_edge
boolFields: [ "uamIsOn", "followPort", "requestHostExcludingPort", "autoRemoteStart", "autoInstallNftables", "enableIPLists", "detectAgents", "checkingPorts", "enableRecordHealthCheck", "offlineIsNotified", "http2Enabled", "http3Enabled", "enableHTTP2", "retry50X", "retry40X", "autoSystemTuning", "disableDefaultDB", "autoTrimDisks", "enableGlobalPages", "ignoreLocal", "ignoreSearchEngine" ] boolFields: [ "uamIsOn", "followPort", "requestHostExcludingPort", "autoRemoteStart", "autoInstallNftables", "enableIPLists", "detectAgents", "checkingPorts", "enableRecordHealthCheck", "offlineIsNotified", "http2Enabled", "http3Enabled", "enableHTTP2", "retry50X", "retry40X", "autoSystemTuning", "disableDefaultDB", "autoTrimDisks", "enableGlobalPages", "ignoreLocal", "ignoreSearchEngine" ]

View File

@@ -5,8 +5,9 @@
CWD="$(dirname "$0")" CWD="$(dirname "$0")"
SQL_JSON="${CWD}/../internal/setup/sql.json" SQL_JSON="${CWD}/../internal/setup/sql.json"
if [ -f "$SQL_JSON" ]; then if [ "$1" = "--force" ] || [ ! -f "$SQL_JSON" ]; then
echo "sql.json already exists, skipping sql-dump (delete it manually to regenerate)" rm -f "$SQL_JSON"
else
go run "${CWD}"/../cmd/sql-dump/main.go -dir="${CWD}" go run "${CWD}"/../cmd/sql-dump/main.go -dir="${CWD}"
else
echo "sql.json exists, skip (use --force to regenerate)"
fi fi

View File

@@ -39,6 +39,7 @@ type LogsIngestRow struct {
RequestBody string RequestBody string
ResponseHeaders string ResponseHeaders string
ResponseBody string ResponseBody string
Attrs string
} }
// ListFilter 列表查询条件(与 ListHTTPAccessLogsRequest 对齐) // ListFilter 列表查询条件(与 ListHTTPAccessLogsRequest 对齐)
@@ -178,7 +179,7 @@ func (s *LogsIngestStore) List(ctx context.Context, f ListFilter) (rows []*LogsI
// 列表查询不 SELECT 大字段request_headers / request_body / response_headers / response_body // 列表查询不 SELECT 大字段request_headers / request_body / response_headers / response_body
// 避免每次翻页读取 GB 级数据。详情查看时通过 FindByTraceId 单独获取。 // 避免每次翻页读取 GB 级数据。详情查看时通过 FindByTraceId 单独获取。
query := fmt.Sprintf("SELECT timestamp, node_id, cluster_id, server_id, host, ip, method, path, status, bytes_in, bytes_out, cost_ms, ua, referer, log_type, trace_id, firewall_policy_id, firewall_rule_group_id, firewall_rule_set_id, firewall_rule_id FROM %s WHERE %s ORDER BY %s LIMIT %d", query := fmt.Sprintf("SELECT timestamp, node_id, cluster_id, server_id, host, ip, method, path, status, bytes_in, bytes_out, cost_ms, ua, referer, log_type, trace_id, firewall_policy_id, firewall_rule_group_id, firewall_rule_set_id, firewall_rule_id, attrs FROM %s WHERE %s ORDER BY %s LIMIT %d",
table, where, orderBy, limit+1) table, where, orderBy, limit+1)
var rawRows []map[string]interface{} var rawRows []map[string]interface{}
@@ -225,7 +226,7 @@ func (s *LogsIngestStore) FindByTraceId(ctx context.Context, traceId string) (*L
} }
table := quoteIdent("logs_ingest") table := quoteIdent("logs_ingest")
query := fmt.Sprintf("SELECT timestamp, node_id, cluster_id, server_id, host, ip, method, path, status, bytes_in, bytes_out, cost_ms, ua, referer, log_type, trace_id, firewall_policy_id, firewall_rule_group_id, firewall_rule_set_id, firewall_rule_id, request_headers, request_body, response_headers, response_body FROM %s WHERE trace_id = '%s' LIMIT 1", query := fmt.Sprintf("SELECT timestamp, node_id, cluster_id, server_id, host, ip, method, path, status, bytes_in, bytes_out, cost_ms, ua, referer, log_type, trace_id, firewall_policy_id, firewall_rule_group_id, firewall_rule_set_id, firewall_rule_id, request_headers, request_body, response_headers, response_body, attrs FROM %s WHERE trace_id = '%s' LIMIT 1",
table, escapeString(traceId)) table, escapeString(traceId))
var rawRows []map[string]interface{} var rawRows []map[string]interface{}
@@ -333,6 +334,7 @@ func mapToLogsIngestRow(m map[string]interface{}) *LogsIngestRow {
r.RequestBody = str("request_body") r.RequestBody = str("request_body")
r.ResponseHeaders = str("response_headers") r.ResponseHeaders = str("response_headers")
r.ResponseBody = str("response_body") r.ResponseBody = str("response_body")
r.Attrs = str("attrs")
return r return r
} }
@@ -401,6 +403,14 @@ func RowToPB(r *LogsIngestRow) *pb.HTTPAccessLog {
a.RequestBody = []byte(r.RequestBody) a.RequestBody = []byte(r.RequestBody)
} }
// 扩展属性cache.status 等)
if r.Attrs != "" {
var attrs map[string]string
if err := json.Unmarshal([]byte(r.Attrs), &attrs); err == nil && len(attrs) > 0 {
a.Attrs = attrs
}
}
return a return a
} }

View File

@@ -1,7 +1,7 @@
package teaconst package teaconst
const ( const (
Version = "1.5.0" //1.3.9 Version = "1.5.1" //1.3.9
ProductName = "Edge API" ProductName = "Edge API"
ProcessName = "edge-api" ProcessName = "edge-api"
@@ -17,6 +17,6 @@ const (
// 其他节点版本号,用来检测是否有需要升级的节点 // 其他节点版本号,用来检测是否有需要升级的节点
NodeVersion = "1.5.0" //1.3.8.2 NodeVersion = "1.5.1" //1.3.8.2
) )

View File

@@ -4,9 +4,9 @@
package teaconst package teaconst
const ( const (
DNSNodeVersion = "1.5.0" //1.3.8.2 DNSNodeVersion = "1.5.1" //1.3.8.2
UserNodeVersion = "1.5.0" //1.3.8.2 UserNodeVersion = "1.5.1" //1.3.8.2
ReportNodeVersion = "1.5.0" ReportNodeVersion = "1.5.1"
DefaultMaxNodes int32 = 50 DefaultMaxNodes int32 = 50
) )

View File

@@ -19,7 +19,7 @@ func TestDB_Env(t *testing.T) {
func TestDB_Instance(t *testing.T) { func TestDB_Instance(t *testing.T) {
for i := 0; i < 10; i++ { for i := 0; i < 10; i++ {
db, err := sql.Open("mysql", "root:123456@tcp(127.0.0.1:3306)/db_edge?charset=utf8mb4&timeout=30s") db, err := sql.Open("mysql", "root:123456@tcp(127.0.0.1:3308)/db_edge?charset=utf8mb4&timeout=30s")
if err != nil { if err != nil {
t.Fatal(i, "open:", err) t.Fatal(i, "open:", err)
} }

View File

@@ -14,7 +14,7 @@ import (
func TestNewHTTPAccessLogManager(t *testing.T) { func TestNewHTTPAccessLogManager(t *testing.T) {
var config = &dbs.DBConfig{ var config = &dbs.DBConfig{
Driver: "mysql", Driver: "mysql",
Dsn: "root:123456@tcp(127.0.0.1:3306)/db_edge_log?charset=utf8mb4&timeout=30s", Dsn: "root:123456@tcp(127.0.0.1:3308)/db_edge_log?charset=utf8mb4&timeout=30s",
Prefix: "edge", Prefix: "edge",
Connections: struct { Connections: struct {
Pool int `yaml:"pool"` Pool int `yaml:"pool"`
@@ -45,7 +45,7 @@ func TestNewHTTPAccessLogManager(t *testing.T) {
func TestHTTPAccessLogManager_FindTableNames(t *testing.T) { func TestHTTPAccessLogManager_FindTableNames(t *testing.T) {
var config = &dbs.DBConfig{ var config = &dbs.DBConfig{
Driver: "mysql", Driver: "mysql",
Dsn: "root:123456@tcp(127.0.0.1:3306)/db_edge_log?charset=utf8mb4&timeout=30s", Dsn: "root:123456@tcp(127.0.0.1:3308)/db_edge_log?charset=utf8mb4&timeout=30s",
Prefix: "edge", Prefix: "edge",
Connections: struct { Connections: struct {
Pool int `yaml:"pool"` Pool int `yaml:"pool"`
@@ -84,7 +84,7 @@ func TestHTTPAccessLogManager_FindTableNames(t *testing.T) {
func TestHTTPAccessLogManager_FindTables(t *testing.T) { func TestHTTPAccessLogManager_FindTables(t *testing.T) {
var config = &dbs.DBConfig{ var config = &dbs.DBConfig{
Driver: "mysql", Driver: "mysql",
Dsn: "root:123456@tcp(127.0.0.1:3306)/db_edge_log?charset=utf8mb4&timeout=30s", Dsn: "root:123456@tcp(127.0.0.1:3308)/db_edge_log?charset=utf8mb4&timeout=30s",
Prefix: "edge", Prefix: "edge",
Connections: struct { Connections: struct {
Pool int `yaml:"pool"` Pool int `yaml:"pool"`
@@ -123,7 +123,7 @@ func TestHTTPAccessLogManager_FindTables(t *testing.T) {
func TestHTTPAccessLogManager_FindLastTable(t *testing.T) { func TestHTTPAccessLogManager_FindLastTable(t *testing.T) {
var config = &dbs.DBConfig{ var config = &dbs.DBConfig{
Driver: "mysql", Driver: "mysql",
Dsn: "root:123456@tcp(127.0.0.1:3306)/db_edge_log?charset=utf8mb4&timeout=30s", Dsn: "root:123456@tcp(127.0.0.1:3308)/db_edge_log?charset=utf8mb4&timeout=30s",
Prefix: "edge", Prefix: "edge",
Connections: struct { Connections: struct {
Pool int `yaml:"pool"` Pool int `yaml:"pool"`
@@ -162,7 +162,7 @@ func TestHTTPAccessLogManager_FindLastTable(t *testing.T) {
func TestHTTPAccessLogManager_FindPartitionTable(t *testing.T) { func TestHTTPAccessLogManager_FindPartitionTable(t *testing.T) {
var config = &dbs.DBConfig{ var config = &dbs.DBConfig{
Driver: "mysql", Driver: "mysql",
Dsn: "root:123456@tcp(127.0.0.1:3306)/db_edge_log?charset=utf8mb4&timeout=30s", Dsn: "root:123456@tcp(127.0.0.1:3308)/db_edge_log?charset=utf8mb4&timeout=30s",
Prefix: "edge", Prefix: "edge",
Connections: struct { Connections: struct {
Pool int `yaml:"pool"` Pool int `yaml:"pool"`

View File

@@ -6,15 +6,15 @@ import "github.com/iwind/TeaGo/dbs"
type HTTPDNSCluster struct { type HTTPDNSCluster struct {
Id uint32 `field:"id"` // ID Id uint32 `field:"id"` // ID
Name string `field:"name"` // 集群名称 Name string `field:"name"` // 集群名称
IsOn bool `field:"isOn"` // 是否启用 IsOn uint8 `field:"isOn"` // 是否启用tinyint unsigned
IsDefault bool `field:"isDefault"` // 默认集群 IsDefault uint8 `field:"isDefault"` // 默认集群tinyint unsigned
ServiceDomain string `field:"serviceDomain"` // 服务域名 ServiceDomain string `field:"serviceDomain"` // 服务域名
DefaultTTL int32 `field:"defaultTTL"` // 默认TTL DefaultTTL int32 `field:"defaultTTL"` // 默认TTL
FallbackTimeoutMs int32 `field:"fallbackTimeoutMs"` // 降级超时 FallbackTimeoutMs int32 `field:"fallbackTimeoutMs"` // 降级超时
InstallDir string `field:"installDir"` // 安装目录 InstallDir string `field:"installDir"` // 安装目录
TLSPolicy dbs.JSON `field:"tlsPolicy"` // TLS策略 TLSPolicy dbs.JSON `field:"tlsPolicy"` // TLS策略
AutoRemoteStart bool `field:"autoRemoteStart"` // 自动远程启动 AutoRemoteStart uint8 `field:"autoRemoteStart"` // 自动远程启动tinyint unsigned
AccessLogIsOn bool `field:"accessLogIsOn"` // 访问日志是否开启 AccessLogIsOn uint8 `field:"accessLogIsOn"` // 访问日志是否开启tinyint unsigned
TimeZone string `field:"timeZone"` // 时区 TimeZone string `field:"timeZone"` // 时区
CreatedAt uint64 `field:"createdAt"` // 创建时间 CreatedAt uint64 `field:"createdAt"` // 创建时间
UpdatedAt uint64 `field:"updatedAt"` // 修改时间 UpdatedAt uint64 `field:"updatedAt"` // 修改时间

View File

@@ -19,7 +19,7 @@ func TestIsLocalAddr(t *testing.T) {
a.IsTrue(dbutils.IsLocalAddr("127.0.0.1")) a.IsTrue(dbutils.IsLocalAddr("127.0.0.1"))
a.IsTrue(dbutils.IsLocalAddr("localhost")) a.IsTrue(dbutils.IsLocalAddr("localhost"))
a.IsTrue(dbutils.IsLocalAddr("::1")) a.IsTrue(dbutils.IsLocalAddr("::1"))
a.IsTrue(dbutils.IsLocalAddr("127.0.0.1:3306")) a.IsTrue(dbutils.IsLocalAddr("127.0.0.1:3308"))
a.IsFalse(dbutils.IsLocalAddr("192.168.2.200")) a.IsFalse(dbutils.IsLocalAddr("192.168.2.200"))
a.IsFalse(dbutils.IsLocalAddr("192.168.2.200:3306")) a.IsFalse(dbutils.IsLocalAddr("192.168.2.200:3306"))
} }

View File

@@ -198,6 +198,21 @@ func (this *DeployManager) FindHTTPDNSNodeFile(os string, arch string) *DeployFi
return nil return nil
} }
// LatestNodeVersion 获取部署目录中边缘节点的最新版本号
func (this *DeployManager) LatestNodeVersion() string {
return latestVersion(this.LoadNodeFiles())
}
// LatestNSNodeVersion 获取部署目录中DNS节点的最新版本号
func (this *DeployManager) LatestNSNodeVersion() string {
return latestVersion(this.LoadNSNodeFiles())
}
// LatestHTTPDNSNodeVersion 获取部署目录中HTTPDNS节点的最新版本号
func (this *DeployManager) LatestHTTPDNSNodeVersion() string {
return latestVersion(this.LoadHTTPDNSNodeFiles())
}
// Reload 重置缓存 // Reload 重置缓存
func (this *DeployManager) Reload() { func (this *DeployManager) Reload() {
this.locker.Lock() this.locker.Lock()
@@ -207,3 +222,13 @@ func (this *DeployManager) Reload() {
this.nsNodeFiles = nil this.nsNodeFiles = nil
this.httpdnsNodeFiles = nil this.httpdnsNodeFiles = nil
} }
func latestVersion(files []*DeployFile) string {
var latest string
for _, f := range files {
if len(latest) == 0 || stringutil.VersionCompare(f.Version, latest) > 0 {
latest = f.Version
}
}
return latest
}

View File

@@ -16,8 +16,8 @@ func toPBCluster(cluster *models.HTTPDNSCluster) *pb.HTTPDNSCluster {
} }
return &pb.HTTPDNSCluster{ return &pb.HTTPDNSCluster{
Id: int64(cluster.Id), Id: int64(cluster.Id),
IsOn: cluster.IsOn, IsOn: cluster.IsOn > 0,
IsDefault: cluster.IsDefault, IsDefault: cluster.IsDefault > 0,
Name: cluster.Name, Name: cluster.Name,
ServiceDomain: cluster.ServiceDomain, ServiceDomain: cluster.ServiceDomain,
DefaultTTL: cluster.DefaultTTL, DefaultTTL: cluster.DefaultTTL,
@@ -26,8 +26,8 @@ func toPBCluster(cluster *models.HTTPDNSCluster) *pb.HTTPDNSCluster {
TlsPolicyJSON: cluster.TLSPolicy, TlsPolicyJSON: cluster.TLSPolicy,
CreatedAt: int64(cluster.CreatedAt), CreatedAt: int64(cluster.CreatedAt),
UpdatedAt: int64(cluster.UpdatedAt), UpdatedAt: int64(cluster.UpdatedAt),
AutoRemoteStart: cluster.AutoRemoteStart, AutoRemoteStart: cluster.AutoRemoteStart > 0,
AccessLogIsOn: cluster.AccessLogIsOn, AccessLogIsOn: cluster.AccessLogIsOn > 0,
TimeZone: cluster.TimeZone, TimeZone: cluster.TimeZone,
} }
} }

View File

@@ -127,7 +127,7 @@ func readHTTPDNSDefaultClusterIdList(tx *dbs.Tx) ([]int64, error) {
if err != nil { if err != nil {
return nil, err return nil, err
} }
if cluster != nil && cluster.IsOn { if cluster != nil && cluster.IsOn > 0 {
validIds = append(validIds, id) validIds = append(validIds, id)
} }
} }

View File

@@ -120,8 +120,8 @@ func (this *HTTPDNSClusterService) FindHTTPDNSCluster(ctx context.Context, req *
} }
if cluster != nil { if cluster != nil {
_ = grpc.SetHeader(ctx, metadata.Pairs( _ = grpc.SetHeader(ctx, metadata.Pairs(
"x-httpdns-auto-remote-start", fmt.Sprintf("%t", cluster.AutoRemoteStart), "x-httpdns-auto-remote-start", fmt.Sprintf("%t", cluster.AutoRemoteStart > 0),
"x-httpdns-access-log-is-on", fmt.Sprintf("%t", cluster.AccessLogIsOn), "x-httpdns-access-log-is-on", fmt.Sprintf("%t", cluster.AccessLogIsOn > 0),
"x-httpdns-time-zone", cluster.TimeZone, "x-httpdns-time-zone", cluster.TimeZone,
)) ))
} }

View File

@@ -6,7 +6,6 @@ package nameservers
import ( import (
"context" "context"
"encoding/json" "encoding/json"
teaconst "github.com/TeaOSLab/EdgeAPI/internal/const"
"github.com/TeaOSLab/EdgeAPI/internal/db/models" "github.com/TeaOSLab/EdgeAPI/internal/db/models"
"github.com/TeaOSLab/EdgeAPI/internal/errors" "github.com/TeaOSLab/EdgeAPI/internal/errors"
"github.com/TeaOSLab/EdgeAPI/internal/goman" "github.com/TeaOSLab/EdgeAPI/internal/goman"
@@ -475,7 +474,7 @@ func (this *NSNodeService) FindLatestNSNodeVersion(ctx context.Context, req *pb.
return nil, err return nil, err
} }
return &pb.FindLatestNSNodeVersionResponse{Version: teaconst.DNSNodeVersion}, nil return &pb.FindLatestNSNodeVersionResponse{Version: installers.SharedDeployManager.LatestNSNodeVersion()}, nil
} }
// DownloadNSNodeInstallationFile 下载最新DNS节点安装文件 // DownloadNSNodeInstallationFile 下载最新DNS节点安装文件

View File

@@ -7,6 +7,7 @@ import (
"github.com/TeaOSLab/EdgeAPI/internal/db/models" "github.com/TeaOSLab/EdgeAPI/internal/db/models"
"github.com/TeaOSLab/EdgeAPI/internal/db/models/stats" "github.com/TeaOSLab/EdgeAPI/internal/db/models/stats"
"github.com/TeaOSLab/EdgeAPI/internal/errors" "github.com/TeaOSLab/EdgeAPI/internal/errors"
"github.com/TeaOSLab/EdgeAPI/internal/installers"
"github.com/TeaOSLab/EdgeAPI/internal/rpc/tasks" "github.com/TeaOSLab/EdgeAPI/internal/rpc/tasks"
rpcutils "github.com/TeaOSLab/EdgeAPI/internal/rpc/utils" rpcutils "github.com/TeaOSLab/EdgeAPI/internal/rpc/utils"
"github.com/TeaOSLab/EdgeAPI/internal/utils" "github.com/TeaOSLab/EdgeAPI/internal/utils"
@@ -689,17 +690,20 @@ func (this *AdminService) ComposeAdminDashboard(ctx context.Context, req *pb.Com
// 边缘节点升级信息 // 边缘节点升级信息
{ {
upgradeInfo := &pb.ComposeAdminDashboardResponse_UpgradeInfo{ var nodeVersion = installers.SharedDeployManager.LatestNodeVersion()
NewVersion: teaconst.NodeVersion, if len(nodeVersion) > 0 {
upgradeInfo := &pb.ComposeAdminDashboardResponse_UpgradeInfo{
NewVersion: nodeVersion,
}
this.BeginTag(ctx, "SharedNodeDAO.CountAllLowerVersionNodes")
countNodes, err := models.SharedNodeDAO.CountAllLowerVersionNodes(tx, upgradeInfo.NewVersion)
this.EndTag(ctx, "SharedNodeDAO.CountAllLowerVersionNodes")
if err != nil {
return nil, err
}
upgradeInfo.CountNodes = countNodes
result.NodeUpgradeInfo = upgradeInfo
} }
this.BeginTag(ctx, "SharedNodeDAO.CountAllLowerVersionNodes")
countNodes, err := models.SharedNodeDAO.CountAllLowerVersionNodes(tx, upgradeInfo.NewVersion)
this.EndTag(ctx, "SharedNodeDAO.CountAllLowerVersionNodes")
if err != nil {
return nil, err
}
upgradeInfo.CountNodes = countNodes
result.NodeUpgradeInfo = upgradeInfo
} }
// API节点升级信息 // API节点升级信息

View File

@@ -7,6 +7,7 @@ import (
"context" "context"
teaconst "github.com/TeaOSLab/EdgeAPI/internal/const" teaconst "github.com/TeaOSLab/EdgeAPI/internal/const"
"github.com/TeaOSLab/EdgeAPI/internal/db/models" "github.com/TeaOSLab/EdgeAPI/internal/db/models"
"github.com/TeaOSLab/EdgeAPI/internal/installers"
"github.com/TeaOSLab/EdgeAPI/internal/db/models/regions" "github.com/TeaOSLab/EdgeAPI/internal/db/models/regions"
"github.com/TeaOSLab/EdgeAPI/internal/db/models/stats" "github.com/TeaOSLab/EdgeAPI/internal/db/models/stats"
"github.com/TeaOSLab/EdgeCommon/pkg/rpc/pb" "github.com/TeaOSLab/EdgeCommon/pkg/rpc/pb"
@@ -36,17 +37,20 @@ func (this *AdminService) composeAdminDashboardExt(tx *dbs.Tx, ctx context.Conte
// DNS节点升级信息 // DNS节点升级信息
if isPlus { if isPlus {
upgradeInfo := &pb.ComposeAdminDashboardResponse_UpgradeInfo{ var dnsNodeVersion = installers.SharedDeployManager.LatestNSNodeVersion()
NewVersion: teaconst.DNSNodeVersion, if len(dnsNodeVersion) > 0 {
upgradeInfo := &pb.ComposeAdminDashboardResponse_UpgradeInfo{
NewVersion: dnsNodeVersion,
}
this.BeginTag(ctx, "SharedNSNodeDAO.CountAllLowerVersionNodes")
countNodes, err := models.SharedNSNodeDAO.CountAllLowerVersionNodes(tx, upgradeInfo.NewVersion)
this.EndTag(ctx, "SharedNSNodeDAO.CountAllLowerVersionNodes")
if err != nil {
return err
}
upgradeInfo.CountNodes = countNodes
result.NsNodeUpgradeInfo = upgradeInfo
} }
this.BeginTag(ctx, "SharedNSNodeDAO.CountAllLowerVersionNodes")
countNodes, err := models.SharedNSNodeDAO.CountAllLowerVersionNodes(tx, upgradeInfo.NewVersion)
this.EndTag(ctx, "SharedNSNodeDAO.CountAllLowerVersionNodes")
if err != nil {
return err
}
upgradeInfo.CountNodes = countNodes
result.NsNodeUpgradeInfo = upgradeInfo
} }
// Report节点升级信息 // Report节点升级信息

View File

@@ -46,6 +46,7 @@ func EnsureClickHouseTables() error {
request_body String DEFAULT '' CODEC(ZSTD(3)), request_body String DEFAULT '' CODEC(ZSTD(3)),
response_headers String DEFAULT '' CODEC(ZSTD(3)), response_headers String DEFAULT '' CODEC(ZSTD(3)),
response_body String DEFAULT '' CODEC(ZSTD(3)), response_body String DEFAULT '' CODEC(ZSTD(3)),
attrs String DEFAULT '' CODEC(ZSTD(3)),
INDEX idx_trace_id trace_id TYPE bloom_filter(0.01) GRANULARITY 4, INDEX idx_trace_id trace_id TYPE bloom_filter(0.01) GRANULARITY 4,
INDEX idx_ip ip TYPE bloom_filter(0.01) GRANULARITY 4, INDEX idx_ip ip TYPE bloom_filter(0.01) GRANULARITY 4,
INDEX idx_host host TYPE tokenbf_v1(10240, 3, 0) GRANULARITY 4, INDEX idx_host host TYPE tokenbf_v1(10240, 3, 0) GRANULARITY 4,
@@ -128,5 +129,19 @@ SETTINGS index_granularity = 8192`,
} }
} }
// v1.5.1: 为 logs_ingest 添加 attrs 列(存储 cache.status 等扩展属性)
upgradeSQLs := []string{
`ALTER TABLE logs_ingest ADD COLUMN IF NOT EXISTS attrs String DEFAULT '' CODEC(ZSTD(3)) AFTER response_body`,
}
for _, sql := range upgradeSQLs {
stmt := strings.TrimSpace(sql)
if len(stmt) == 0 {
continue
}
if err := client.Execute(ctx, stmt); err != nil {
return err
}
}
return nil return nil
} }

File diff suppressed because it is too large Load Diff

View File

@@ -10,7 +10,7 @@ import (
func TestSQLDump_Dump(t *testing.T) { func TestSQLDump_Dump(t *testing.T) {
db, err := dbs.NewInstanceFromConfig(&dbs.DBConfig{ db, err := dbs.NewInstanceFromConfig(&dbs.DBConfig{
Driver: "mysql", Driver: "mysql",
Dsn: "root:123456@tcp(127.0.0.1:3306)/db_edge?charset=utf8mb4&timeout=30s", Dsn: "root:123456@tcp(127.0.0.1:3308)/db_edge?charset=utf8mb4&timeout=30s",
Prefix: "edge", Prefix: "edge",
}) })
if err != nil { if err != nil {
@@ -53,7 +53,7 @@ func TestSQLDump_Dump(t *testing.T) {
func TestSQLDump_Apply(t *testing.T) { func TestSQLDump_Apply(t *testing.T) {
db, err := dbs.NewInstanceFromConfig(&dbs.DBConfig{ db, err := dbs.NewInstanceFromConfig(&dbs.DBConfig{
Driver: "mysql", Driver: "mysql",
Dsn: "root:123456@tcp(127.0.0.1:3306)/db_edge?charset=utf8mb4&timeout=30s", Dsn: "root:123456@tcp(127.0.0.1:3308)/db_edge?charset=utf8mb4&timeout=30s",
Prefix: "edge", Prefix: "edge",
}) })
if err != nil { if err != nil {

View File

@@ -9,7 +9,7 @@ func TestSQLExecutor_Run(t *testing.T) {
var executor = NewSQLExecutor(&dbs.DBConfig{ var executor = NewSQLExecutor(&dbs.DBConfig{
Driver: "mysql", Driver: "mysql",
Prefix: "edge", Prefix: "edge",
Dsn: "root:123456@tcp(127.0.0.1:3306)/db_edge_new?charset=utf8mb4&multiStatements=true", Dsn: "root:123456@tcp(127.0.0.1:3308)/db_edge_new?charset=utf8mb4&multiStatements=true",
}) })
err := executor.Run(false) err := executor.Run(false)
if err != nil { if err != nil {
@@ -22,7 +22,7 @@ func TestSQLExecutor_checkCluster(t *testing.T) {
var executor = NewSQLExecutor(&dbs.DBConfig{ var executor = NewSQLExecutor(&dbs.DBConfig{
Driver: "mysql", Driver: "mysql",
Prefix: "edge", Prefix: "edge",
Dsn: "root:123456@tcp(127.0.0.1:3306)/db_edge_new?charset=utf8mb4&multiStatements=true", Dsn: "root:123456@tcp(127.0.0.1:3308)/db_edge_new?charset=utf8mb4&multiStatements=true",
}) })
db, err := dbs.NewInstanceFromConfig(executor.dbConfig) db, err := dbs.NewInstanceFromConfig(executor.dbConfig)
if err != nil { if err != nil {
@@ -43,7 +43,7 @@ func TestSQLExecutor_checkMetricItems(t *testing.T) {
var executor = NewSQLExecutor(&dbs.DBConfig{ var executor = NewSQLExecutor(&dbs.DBConfig{
Driver: "mysql", Driver: "mysql",
Prefix: "edge", Prefix: "edge",
Dsn: "root:123456@tcp(127.0.0.1:3306)/db_edge_new?charset=utf8mb4&multiStatements=true", Dsn: "root:123456@tcp(127.0.0.1:3308)/db_edge_new?charset=utf8mb4&multiStatements=true",
}) })
db, err := dbs.NewInstanceFromConfig(executor.dbConfig) db, err := dbs.NewInstanceFromConfig(executor.dbConfig)
if err != nil { if err != nil {
@@ -64,7 +64,7 @@ func TestSQLExecutor_checkNS(t *testing.T) {
var executor = NewSQLExecutor(&dbs.DBConfig{ var executor = NewSQLExecutor(&dbs.DBConfig{
Driver: "mysql", Driver: "mysql",
Prefix: "edge", Prefix: "edge",
Dsn: "root:123456@tcp(127.0.0.1:3306)/db_edge_new?charset=utf8mb4&multiStatements=true", Dsn: "root:123456@tcp(127.0.0.1:3308)/db_edge_new?charset=utf8mb4&multiStatements=true",
}) })
db, err := dbs.NewInstanceFromConfig(executor.dbConfig) db, err := dbs.NewInstanceFromConfig(executor.dbConfig)
if err != nil { if err != nil {
@@ -85,7 +85,7 @@ func TestSQLExecutor_checkClientAgents(t *testing.T) {
var executor = NewSQLExecutor(&dbs.DBConfig{ var executor = NewSQLExecutor(&dbs.DBConfig{
Driver: "mysql", Driver: "mysql",
Prefix: "edge", Prefix: "edge",
Dsn: "root:123456@tcp(127.0.0.1:3306)/db_edge?charset=utf8mb4&multiStatements=true", Dsn: "root:123456@tcp(127.0.0.1:3308)/db_edge?charset=utf8mb4&multiStatements=true",
}) })
db, err := dbs.NewInstanceFromConfig(executor.dbConfig) db, err := dbs.NewInstanceFromConfig(executor.dbConfig)
if err != nil { if err != nil {

View File

@@ -116,6 +116,9 @@ var upgradeFuncs = []*upgradeVersion{
{ {
"1.4.9", upgradeV1_4_9, "1.4.9", upgradeV1_4_9,
}, },
{
"1.5.1", upgradeV1_5_1,
},
} }
// UpgradeSQLData 升级SQL数据 // UpgradeSQLData 升级SQL数据
@@ -1292,6 +1295,27 @@ func upgradeV1_4_9(db *dbs.DB) error {
return nil return nil
} }
// v1.5.1
func upgradeV1_5_1(db *dbs.DB) error {
// 补充 httpdnsClusterIds 字段1.4.8 升级可能因版本号跳过未执行)
_, err := db.Exec("ALTER TABLE `edgeUsers` ADD COLUMN `httpdnsClusterIds` text DEFAULT NULL COMMENT 'HTTPDNS关联集群ID列表'")
if err != nil {
if strings.Contains(err.Error(), "Duplicate column") {
// 字段已存在,忽略
} else {
return err
}
}
// 确保 HTTPDNS 相关表存在
err = createHTTPDNSTables(db)
if err != nil {
return err
}
return nil
}
func createHTTPDNSTables(db *dbs.DB) error { func createHTTPDNSTables(db *dbs.DB) error {
sqls := []string{ sqls := []string{
"CREATE TABLE IF NOT EXISTS `edgeHTTPDNSClusters` (`id` bigint unsigned NOT NULL AUTO_INCREMENT,`name` varchar(255) DEFAULT NULL,`isOn` tinyint unsigned DEFAULT '1',`isDefault` tinyint unsigned DEFAULT '0',`serviceDomain` varchar(255) DEFAULT NULL,`defaultTTL` int unsigned DEFAULT '30',`fallbackTimeoutMs` int unsigned DEFAULT '300',`installDir` varchar(255) DEFAULT '/root/edge-httpdns',`tlsPolicy` json DEFAULT NULL,`autoRemoteStart` tinyint unsigned DEFAULT '0',`accessLogIsOn` tinyint unsigned DEFAULT '0',`timeZone` varchar(128) NOT NULL DEFAULT '',`createdAt` bigint unsigned DEFAULT '0',`updatedAt` bigint unsigned DEFAULT '0',`state` tinyint unsigned DEFAULT '1',PRIMARY KEY (`id`),KEY `name` (`name`),KEY `isDefault` (`isDefault`),KEY `state` (`state`)) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='HTTPDNS集群配置表默认TTL、回退超时、服务域名等'", "CREATE TABLE IF NOT EXISTS `edgeHTTPDNSClusters` (`id` bigint unsigned NOT NULL AUTO_INCREMENT,`name` varchar(255) DEFAULT NULL,`isOn` tinyint unsigned DEFAULT '1',`isDefault` tinyint unsigned DEFAULT '0',`serviceDomain` varchar(255) DEFAULT NULL,`defaultTTL` int unsigned DEFAULT '30',`fallbackTimeoutMs` int unsigned DEFAULT '300',`installDir` varchar(255) DEFAULT '/root/edge-httpdns',`tlsPolicy` json DEFAULT NULL,`autoRemoteStart` tinyint unsigned DEFAULT '0',`accessLogIsOn` tinyint unsigned DEFAULT '0',`timeZone` varchar(128) NOT NULL DEFAULT '',`createdAt` bigint unsigned DEFAULT '0',`updatedAt` bigint unsigned DEFAULT '0',`state` tinyint unsigned DEFAULT '1',PRIMARY KEY (`id`),KEY `name` (`name`),KEY `isDefault` (`isDefault`),KEY `state` (`state`)) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='HTTPDNS集群配置表默认TTL、回退超时、服务域名等'",

View File

@@ -11,7 +11,7 @@ import (
func TestUpgradeSQLData_v0_5_6(t *testing.T) { func TestUpgradeSQLData_v0_5_6(t *testing.T) {
db, err := dbs.NewInstanceFromConfig(&dbs.DBConfig{ db, err := dbs.NewInstanceFromConfig(&dbs.DBConfig{
Driver: "mysql", Driver: "mysql",
Dsn: "root:123456@tcp(127.0.0.1:3306)/db_edge?charset=utf8mb4&timeout=30s", Dsn: "root:123456@tcp(127.0.0.1:3308)/db_edge?charset=utf8mb4&timeout=30s",
Prefix: "edge", Prefix: "edge",
}) })
if err != nil { if err != nil {
@@ -31,7 +31,7 @@ func TestUpgradeSQLData_v0_5_6(t *testing.T) {
func TestUpgradeSQLData_v1_3_4(t *testing.T) { func TestUpgradeSQLData_v1_3_4(t *testing.T) {
db, err := dbs.NewInstanceFromConfig(&dbs.DBConfig{ db, err := dbs.NewInstanceFromConfig(&dbs.DBConfig{
Driver: "mysql", Driver: "mysql",
Dsn: "root:123456@tcp(127.0.0.1:3306)/db_edge?charset=utf8mb4&timeout=30s", Dsn: "root:123456@tcp(127.0.0.1:3308)/db_edge?charset=utf8mb4&timeout=30s",
Prefix: "edge", Prefix: "edge",
}) })
if err != nil { if err != nil {

View File

@@ -10,7 +10,7 @@ import (
func TestUpgradeSQLData_v0_5_6(t *testing.T) { func TestUpgradeSQLData_v0_5_6(t *testing.T) {
db, err := dbs.NewInstanceFromConfig(&dbs.DBConfig{ db, err := dbs.NewInstanceFromConfig(&dbs.DBConfig{
Driver: "mysql", Driver: "mysql",
Dsn: "root:123456@tcp(127.0.0.1:3306)/db_edge?charset=utf8mb4&timeout=30s", Dsn: "root:123456@tcp(127.0.0.1:3308)/db_edge?charset=utf8mb4&timeout=30s",
Prefix: "edge", Prefix: "edge",
}) })
if err != nil { if err != nil {
@@ -29,7 +29,7 @@ func TestUpgradeSQLData_v0_5_6(t *testing.T) {
func TestUpgradeSQLData_v0_5_8(t *testing.T) { func TestUpgradeSQLData_v0_5_8(t *testing.T) {
db, err := dbs.NewInstanceFromConfig(&dbs.DBConfig{ db, err := dbs.NewInstanceFromConfig(&dbs.DBConfig{
Driver: "mysql", Driver: "mysql",
Dsn: "root:123456@tcp(127.0.0.1:3306)/db_edge?charset=utf8mb4&timeout=30s", Dsn: "root:123456@tcp(127.0.0.1:3308)/db_edge?charset=utf8mb4&timeout=30s",
Prefix: "edge", Prefix: "edge",
}) })
if err != nil { if err != nil {
@@ -48,7 +48,7 @@ func TestUpgradeSQLData_v0_5_8(t *testing.T) {
func TestUpgradeSQLData_v1_2_9(t *testing.T) { func TestUpgradeSQLData_v1_2_9(t *testing.T) {
db, err := dbs.NewInstanceFromConfig(&dbs.DBConfig{ db, err := dbs.NewInstanceFromConfig(&dbs.DBConfig{
Driver: "mysql", Driver: "mysql",
Dsn: "root:123456@tcp(127.0.0.1:3306)/db_edge?charset=utf8mb4&timeout=30s", Dsn: "root:123456@tcp(127.0.0.1:3308)/db_edge?charset=utf8mb4&timeout=30s",
Prefix: "edge", Prefix: "edge",
}) })
if err != nil { if err != nil {

View File

@@ -8,7 +8,7 @@ import (
func TestUpgradeSQLData(t *testing.T) { func TestUpgradeSQLData(t *testing.T) {
db, err := dbs.NewInstanceFromConfig(&dbs.DBConfig{ db, err := dbs.NewInstanceFromConfig(&dbs.DBConfig{
Driver: "mysql", Driver: "mysql",
Dsn: "root:123456@tcp(127.0.0.1:3306)/db_edge_new?charset=utf8mb4&timeout=30s", Dsn: "root:123456@tcp(127.0.0.1:3308)/db_edge_new?charset=utf8mb4&timeout=30s",
Prefix: "edge", Prefix: "edge",
}) })
if err != nil { if err != nil {
@@ -27,7 +27,7 @@ func TestUpgradeSQLData(t *testing.T) {
func TestUpgradeSQLData_v0_3_1(t *testing.T) { func TestUpgradeSQLData_v0_3_1(t *testing.T) {
db, err := dbs.NewInstanceFromConfig(&dbs.DBConfig{ db, err := dbs.NewInstanceFromConfig(&dbs.DBConfig{
Driver: "mysql", Driver: "mysql",
Dsn: "root:123456@tcp(127.0.0.1:3306)/db_edge_new?charset=utf8mb4&timeout=30s", Dsn: "root:123456@tcp(127.0.0.1:3308)/db_edge_new?charset=utf8mb4&timeout=30s",
Prefix: "edge", Prefix: "edge",
}) })
if err != nil { if err != nil {
@@ -46,7 +46,7 @@ func TestUpgradeSQLData_v0_3_1(t *testing.T) {
func TestUpgradeSQLData_v0_3_2(t *testing.T) { func TestUpgradeSQLData_v0_3_2(t *testing.T) {
db, err := dbs.NewInstanceFromConfig(&dbs.DBConfig{ db, err := dbs.NewInstanceFromConfig(&dbs.DBConfig{
Driver: "mysql", Driver: "mysql",
Dsn: "root:123456@tcp(127.0.0.1:3306)/db_edge?charset=utf8mb4&timeout=30s", Dsn: "root:123456@tcp(127.0.0.1:3308)/db_edge?charset=utf8mb4&timeout=30s",
Prefix: "edge", Prefix: "edge",
}) })
if err != nil { if err != nil {
@@ -65,7 +65,7 @@ func TestUpgradeSQLData_v0_3_2(t *testing.T) {
func TestUpgradeSQLData_v0_3_3(t *testing.T) { func TestUpgradeSQLData_v0_3_3(t *testing.T) {
db, err := dbs.NewInstanceFromConfig(&dbs.DBConfig{ db, err := dbs.NewInstanceFromConfig(&dbs.DBConfig{
Driver: "mysql", Driver: "mysql",
Dsn: "root:123456@tcp(127.0.0.1:3306)/db_edge?charset=utf8mb4&timeout=30s", Dsn: "root:123456@tcp(127.0.0.1:3308)/db_edge?charset=utf8mb4&timeout=30s",
Prefix: "edge", Prefix: "edge",
}) })
if err != nil { if err != nil {
@@ -84,7 +84,7 @@ func TestUpgradeSQLData_v0_3_3(t *testing.T) {
func TestUpgradeSQLData_v0_3_7(t *testing.T) { func TestUpgradeSQLData_v0_3_7(t *testing.T) {
db, err := dbs.NewInstanceFromConfig(&dbs.DBConfig{ db, err := dbs.NewInstanceFromConfig(&dbs.DBConfig{
Driver: "mysql", Driver: "mysql",
Dsn: "root:123456@tcp(127.0.0.1:3306)/db_edge?charset=utf8mb4&timeout=30s", Dsn: "root:123456@tcp(127.0.0.1:3308)/db_edge?charset=utf8mb4&timeout=30s",
Prefix: "edge", Prefix: "edge",
}) })
if err != nil { if err != nil {
@@ -103,7 +103,7 @@ func TestUpgradeSQLData_v0_3_7(t *testing.T) {
func TestUpgradeSQLData_v0_4_0(t *testing.T) { func TestUpgradeSQLData_v0_4_0(t *testing.T) {
db, err := dbs.NewInstanceFromConfig(&dbs.DBConfig{ db, err := dbs.NewInstanceFromConfig(&dbs.DBConfig{
Driver: "mysql", Driver: "mysql",
Dsn: "root:123456@tcp(127.0.0.1:3306)/db_edge?charset=utf8mb4&timeout=30s", Dsn: "root:123456@tcp(127.0.0.1:3308)/db_edge?charset=utf8mb4&timeout=30s",
Prefix: "edge", Prefix: "edge",
}) })
if err != nil { if err != nil {
@@ -122,7 +122,7 @@ func TestUpgradeSQLData_v0_4_0(t *testing.T) {
func TestUpgradeSQLData_v0_4_1(t *testing.T) { func TestUpgradeSQLData_v0_4_1(t *testing.T) {
db, err := dbs.NewInstanceFromConfig(&dbs.DBConfig{ db, err := dbs.NewInstanceFromConfig(&dbs.DBConfig{
Driver: "mysql", Driver: "mysql",
Dsn: "root:123456@tcp(127.0.0.1:3306)/db_edge?charset=utf8mb4&timeout=30s", Dsn: "root:123456@tcp(127.0.0.1:3308)/db_edge?charset=utf8mb4&timeout=30s",
Prefix: "edge", Prefix: "edge",
}) })
if err != nil { if err != nil {
@@ -141,7 +141,7 @@ func TestUpgradeSQLData_v0_4_1(t *testing.T) {
func TestUpgradeSQLData_v0_4_5(t *testing.T) { func TestUpgradeSQLData_v0_4_5(t *testing.T) {
db, err := dbs.NewInstanceFromConfig(&dbs.DBConfig{ db, err := dbs.NewInstanceFromConfig(&dbs.DBConfig{
Driver: "mysql", Driver: "mysql",
Dsn: "root:123456@tcp(127.0.0.1:3306)/db_edge?charset=utf8mb4&timeout=30s", Dsn: "root:123456@tcp(127.0.0.1:3308)/db_edge?charset=utf8mb4&timeout=30s",
Prefix: "edge", Prefix: "edge",
}) })
if err != nil { if err != nil {
@@ -160,7 +160,7 @@ func TestUpgradeSQLData_v0_4_5(t *testing.T) {
func TestUpgradeSQLData_v0_4_7(t *testing.T) { func TestUpgradeSQLData_v0_4_7(t *testing.T) {
db, err := dbs.NewInstanceFromConfig(&dbs.DBConfig{ db, err := dbs.NewInstanceFromConfig(&dbs.DBConfig{
Driver: "mysql", Driver: "mysql",
Dsn: "root:123456@tcp(127.0.0.1:3306)/db_edge?charset=utf8mb4&timeout=30s", Dsn: "root:123456@tcp(127.0.0.1:3308)/db_edge?charset=utf8mb4&timeout=30s",
Prefix: "edge", Prefix: "edge",
}) })
if err != nil { if err != nil {
@@ -179,7 +179,7 @@ func TestUpgradeSQLData_v0_4_7(t *testing.T) {
func TestUpgradeSQLData_v0_4_8(t *testing.T) { func TestUpgradeSQLData_v0_4_8(t *testing.T) {
db, err := dbs.NewInstanceFromConfig(&dbs.DBConfig{ db, err := dbs.NewInstanceFromConfig(&dbs.DBConfig{
Driver: "mysql", Driver: "mysql",
Dsn: "root:123456@tcp(127.0.0.1:3306)/db_edge?charset=utf8mb4&timeout=30s", Dsn: "root:123456@tcp(127.0.0.1:3308)/db_edge?charset=utf8mb4&timeout=30s",
Prefix: "edge", Prefix: "edge",
}) })
if err != nil { if err != nil {
@@ -198,7 +198,7 @@ func TestUpgradeSQLData_v0_4_8(t *testing.T) {
func TestUpgradeSQLData_v0_4_9(t *testing.T) { func TestUpgradeSQLData_v0_4_9(t *testing.T) {
db, err := dbs.NewInstanceFromConfig(&dbs.DBConfig{ db, err := dbs.NewInstanceFromConfig(&dbs.DBConfig{
Driver: "mysql", Driver: "mysql",
Dsn: "root:123456@tcp(127.0.0.1:3306)/db_edge?charset=utf8mb4&timeout=30s", Dsn: "root:123456@tcp(127.0.0.1:3308)/db_edge?charset=utf8mb4&timeout=30s",
Prefix: "edge", Prefix: "edge",
}) })
if err != nil { if err != nil {
@@ -217,7 +217,7 @@ func TestUpgradeSQLData_v0_4_9(t *testing.T) {
func TestUpgradeSQLData_v0_4_11(t *testing.T) { func TestUpgradeSQLData_v0_4_11(t *testing.T) {
db, err := dbs.NewInstanceFromConfig(&dbs.DBConfig{ db, err := dbs.NewInstanceFromConfig(&dbs.DBConfig{
Driver: "mysql", Driver: "mysql",
Dsn: "root:123456@tcp(127.0.0.1:3306)/db_edge?charset=utf8mb4&timeout=30s", Dsn: "root:123456@tcp(127.0.0.1:3308)/db_edge?charset=utf8mb4&timeout=30s",
Prefix: "edge", Prefix: "edge",
}) })
if err != nil { if err != nil {
@@ -236,7 +236,7 @@ func TestUpgradeSQLData_v0_4_11(t *testing.T) {
func TestUpgradeSQLData_v0_5_3(t *testing.T) { func TestUpgradeSQLData_v0_5_3(t *testing.T) {
db, err := dbs.NewInstanceFromConfig(&dbs.DBConfig{ db, err := dbs.NewInstanceFromConfig(&dbs.DBConfig{
Driver: "mysql", Driver: "mysql",
Dsn: "root:123456@tcp(127.0.0.1:3306)/db_edge?charset=utf8mb4&timeout=30s", Dsn: "root:123456@tcp(127.0.0.1:3308)/db_edge?charset=utf8mb4&timeout=30s",
Prefix: "edge", Prefix: "edge",
}) })
if err != nil { if err != nil {
@@ -255,7 +255,7 @@ func TestUpgradeSQLData_v0_5_3(t *testing.T) {
func TestUpgradeSQLData_v1_2_1(t *testing.T) { func TestUpgradeSQLData_v1_2_1(t *testing.T) {
db, err := dbs.NewInstanceFromConfig(&dbs.DBConfig{ db, err := dbs.NewInstanceFromConfig(&dbs.DBConfig{
Driver: "mysql", Driver: "mysql",
Dsn: "root:123456@tcp(127.0.0.1:3306)/db_edge?charset=utf8mb4&timeout=30s", Dsn: "root:123456@tcp(127.0.0.1:3308)/db_edge?charset=utf8mb4&timeout=30s",
Prefix: "edge", Prefix: "edge",
}) })
if err != nil { if err != nil {
@@ -274,7 +274,7 @@ func TestUpgradeSQLData_v1_2_1(t *testing.T) {
func TestUpgradeSQLData_v1_2_10(t *testing.T) { func TestUpgradeSQLData_v1_2_10(t *testing.T) {
db, err := dbs.NewInstanceFromConfig(&dbs.DBConfig{ db, err := dbs.NewInstanceFromConfig(&dbs.DBConfig{
Driver: "mysql", Driver: "mysql",
Dsn: "root:123456@tcp(127.0.0.1:3306)/db_edge?charset=utf8mb4&timeout=30s", Dsn: "root:123456@tcp(127.0.0.1:3308)/db_edge?charset=utf8mb4&timeout=30s",
Prefix: "edge", Prefix: "edge",
}) })
if err != nil { if err != nil {
@@ -293,7 +293,7 @@ func TestUpgradeSQLData_v1_2_10(t *testing.T) {
func TestUpgradeSQLData_v1_3_2(t *testing.T) { func TestUpgradeSQLData_v1_3_2(t *testing.T) {
db, err := dbs.NewInstanceFromConfig(&dbs.DBConfig{ db, err := dbs.NewInstanceFromConfig(&dbs.DBConfig{
Driver: "mysql", Driver: "mysql",
Dsn: "root:123456@tcp(127.0.0.1:3306)/db_edge?charset=utf8mb4&timeout=30s", Dsn: "root:123456@tcp(127.0.0.1:3308)/db_edge?charset=utf8mb4&timeout=30s",
Prefix: "edge", Prefix: "edge",
}) })
if err != nil { if err != nil {

View File

@@ -59,7 +59,7 @@ func (t *HTTPDNSNodeMonitorTask) Loop() error {
} }
for _, cluster := range clusters { for _, cluster := range clusters {
if cluster == nil || !cluster.IsOn || !cluster.AutoRemoteStart { if cluster == nil || cluster.IsOn == 0 || cluster.AutoRemoteStart == 0 {
continue continue
} }
clusterID := int64(cluster.Id) clusterID := int64(cluster.Id)

View File

@@ -47,7 +47,7 @@ function build() {
# checking environment # checking environment
echo "checking required commands ..." echo "checking required commands ..."
commands=("zip" "unzip" "go" "find" "sed") commands=("zip" "unzip" "go" "find" "sed" "protoc")
for cmd in "${commands[@]}"; do for cmd in "${commands[@]}"; do
if [ "$(which "${cmd}")" ]; then if [ "$(which "${cmd}")" ]; then
echo "checking ${cmd}: ok" echo "checking ${cmd}: ok"
@@ -65,6 +65,19 @@ function build() {
ZIP="${NAME}-${OS}-${ARCH}-${TAG}-v${VERSION}.zip" ZIP="${NAME}-${OS}-${ARCH}-${TAG}-v${VERSION}.zip"
fi fi
# regenerate protobuf files to keep rawDesc in sync with .proto
echo "regenerating protobuf files ..."
EDGE_COMMON_BUILD="$ROOT/../../EdgeCommon/build"
if [ -f "$EDGE_COMMON_BUILD/build.sh" ]; then
(cd "$EDGE_COMMON_BUILD" && ./build.sh)
if [ $? -ne 0 ]; then
echo "protobuf generation failed! Fix errors before building."
exit 1
fi
else
echo "EdgeCommon/build/build.sh not found, skipping protobuf generation"
fi
# build edge-api # build edge-api
APINodeVersion=$(lookup-version "$ROOT""/../../EdgeAPI/internal/const/const.go") APINodeVersion=$(lookup-version "$ROOT""/../../EdgeAPI/internal/const/const.go")
echo "building edge-api v${APINodeVersion} ..." echo "building edge-api v${APINodeVersion} ..."

View File

@@ -5,7 +5,7 @@ default:
dbs: dbs:
prod: prod:
driver: "mysql" driver: "mysql"
dsn: "root:123456@tcp(127.0.0.1:3306)/db_edge?charset=utf8mb4&timeout=30s" dsn: "root:123456@tcp(127.0.0.1:3308)/db_edge?charset=utf8mb4&timeout=30s"
prefix: "edge" prefix: "edge"
models: models:
package: internal/web/models package: internal/web/models

View File

@@ -10,7 +10,7 @@ require (
github.com/TeaOSLab/EdgeCommon v0.0.0-00010101000000-000000000000 github.com/TeaOSLab/EdgeCommon v0.0.0-00010101000000-000000000000
github.com/TeaOSLab/EdgePlus v0.0.0-00010101000000-000000000000 github.com/TeaOSLab/EdgePlus v0.0.0-00010101000000-000000000000
github.com/cespare/xxhash/v2 v2.3.0 github.com/cespare/xxhash/v2 v2.3.0
github.com/go-sql-driver/mysql v1.5.0 github.com/go-sql-driver/mysql v1.7.0
github.com/iwind/TeaGo v0.0.0-20240429060313-31a7bc8e9cc9 github.com/iwind/TeaGo v0.0.0-20240429060313-31a7bc8e9cc9
github.com/iwind/gosock v0.0.0-20211103081026-ee4652210ca4 github.com/iwind/gosock v0.0.0-20211103081026-ee4652210ca4
github.com/miekg/dns v1.1.43 github.com/miekg/dns v1.1.43

View File

@@ -1,3 +1,9 @@
github.com/OneOfOne/xxhash v1.2.2 h1:KMrpdQIwFcEqXDklaen+P1axHaj9BSKzvpUUfnHldSE=
github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU=
github.com/TeaOSLab/EdgeAPI v1.3.9 h1:qUSQJsDmxb6XBatu2tKMZ24+6hmJHhBBGx5WXBTbfN4=
github.com/TeaOSLab/EdgeAPI v1.3.9/go.mod h1:/XK/wF+DcEeQ0v42VpWC/co5sRUuExbs7wvTNv6b8EE=
github.com/cespare/xxhash v1.1.0 h1:a6HrQnmkObjyL+Gs60czilIUGqrzKutQD6XZog3p+ko=
github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc=
github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs= github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs=
github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
@@ -7,14 +13,16 @@ github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSs
github.com/frankban/quicktest v1.5.0/go.mod h1:jaStnuzAqU1AJdCO0l53JDCJrVDKcS03DbaAcR7Ks/o= github.com/frankban/quicktest v1.5.0/go.mod h1:jaStnuzAqU1AJdCO0l53JDCJrVDKcS03DbaAcR7Ks/o=
github.com/frankban/quicktest v1.11.3 h1:8sXhOn0uLys67V8EsXLc6eszDs8VXWxL3iRvebPhedY= github.com/frankban/quicktest v1.11.3 h1:8sXhOn0uLys67V8EsXLc6eszDs8VXWxL3iRvebPhedY=
github.com/frankban/quicktest v1.11.3/go.mod h1:wRf/ReqHper53s+kmmSZizM8NamnL3IM0I9ntUbOk+k= github.com/frankban/quicktest v1.11.3/go.mod h1:wRf/ReqHper53s+kmmSZizM8NamnL3IM0I9ntUbOk+k=
github.com/fsnotify/fsnotify v1.7.0 h1:8JEhPFa5W2WU7YfeZzPNqzMP6Lwt7L2715Ggo0nosvA=
github.com/fsnotify/fsnotify v1.7.0/go.mod h1:40Bi/Hjc2AVfZrqy+aj+yEI+/bRxZnMJyTJwOpGvigM=
github.com/go-logr/logr v1.4.3 h1:CjnDlHq8ikf6E492q6eKboGOC0T8CDaOvkHCIg8idEI= github.com/go-logr/logr v1.4.3 h1:CjnDlHq8ikf6E492q6eKboGOC0T8CDaOvkHCIg8idEI=
github.com/go-logr/logr v1.4.3/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= github.com/go-logr/logr v1.4.3/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY=
github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag= github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag=
github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE=
github.com/go-ole/go-ole v1.2.6 h1:/Fpf6oFPoeFik9ty7siob0G6Ke8QvQEuVcuChpwXzpY= github.com/go-ole/go-ole v1.2.6 h1:/Fpf6oFPoeFik9ty7siob0G6Ke8QvQEuVcuChpwXzpY=
github.com/go-ole/go-ole v1.2.6/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0= github.com/go-ole/go-ole v1.2.6/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0=
github.com/go-sql-driver/mysql v1.5.0 h1:ozyZYNQW3x3HtqT1jira07DN2PArx2v7/mN66gGcHOs= github.com/go-sql-driver/mysql v1.7.0 h1:ueSltNNllEqE3qcWBTD0iQd3IpL/6U+mJxLkazJ7YPc=
github.com/go-sql-driver/mysql v1.5.0/go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LBy8hT2VhHyBg= github.com/go-sql-driver/mysql v1.7.0/go.mod h1:OXbVy3sEdcQ2Doequ6Z5BW6fXNQTmx+9S1MCJN5yJMI=
github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 h1:tfuBGBXKqDEevZMzYi5KSi8KkcZtzBcTgAUUtapy0OI= github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 h1:tfuBGBXKqDEevZMzYi5KSi8KkcZtzBcTgAUUtapy0OI=
github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572/go.mod h1:9Pwr4B2jHnOSGXyyzV8ROjYa2ojvAY6HCGYYfMoC3Ls= github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572/go.mod h1:9Pwr4B2jHnOSGXyyzV8ROjYa2ojvAY6HCGYYfMoC3Ls=
github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek= github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek=
@@ -34,8 +42,12 @@ github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/iwind/TeaGo v0.0.0-20240429060313-31a7bc8e9cc9 h1:lqSd+OeAMzPlejoVtsmHJEeQ6/MWXCr+Ws2eX9/Rewg= github.com/iwind/TeaGo v0.0.0-20240429060313-31a7bc8e9cc9 h1:lqSd+OeAMzPlejoVtsmHJEeQ6/MWXCr+Ws2eX9/Rewg=
github.com/iwind/TeaGo v0.0.0-20240429060313-31a7bc8e9cc9/go.mod h1:SfqVbWyIPdVflyA6lMgicZzsoGS8pyeLiTRe8/CIpGI= github.com/iwind/TeaGo v0.0.0-20240429060313-31a7bc8e9cc9/go.mod h1:SfqVbWyIPdVflyA6lMgicZzsoGS8pyeLiTRe8/CIpGI=
github.com/iwind/TeaGo v0.0.0-20240508072741-7647e70b7070 h1:0YHZBcuXYbvtQ0XfEdtzr/XybiMrwD8vV1lvgAwzUW4=
github.com/iwind/TeaGo v0.0.0-20240508072741-7647e70b7070/go.mod h1:SfqVbWyIPdVflyA6lMgicZzsoGS8pyeLiTRe8/CIpGI=
github.com/iwind/gosock v0.0.0-20211103081026-ee4652210ca4 h1:VWGsCqTzObdlbf7UUE3oceIpcEKi4C/YBUszQXk118A= github.com/iwind/gosock v0.0.0-20211103081026-ee4652210ca4 h1:VWGsCqTzObdlbf7UUE3oceIpcEKi4C/YBUszQXk118A=
github.com/iwind/gosock v0.0.0-20211103081026-ee4652210ca4/go.mod h1:H5Q7SXwbx3a97ecJkaS2sD77gspzE7HFUafBO0peEyA= github.com/iwind/gosock v0.0.0-20211103081026-ee4652210ca4/go.mod h1:H5Q7SXwbx3a97ecJkaS2sD77gspzE7HFUafBO0peEyA=
github.com/iwind/gosock v0.0.0-20220505115348-f88412125a62 h1:HJH6RDheAY156DnIfJSD/bEvqyXzsZuE2gzs8PuUjoo=
github.com/iwind/gosock v0.0.0-20220505115348-f88412125a62/go.mod h1:H5Q7SXwbx3a97ecJkaS2sD77gspzE7HFUafBO0peEyA=
github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
github.com/kr/pretty v0.2.1 h1:Fmg33tUaq4/8ym9TJN1x7sLJnHVwhP33CNkpYV/7rwI= github.com/kr/pretty v0.2.1 h1:Fmg33tUaq4/8ym9TJN1x7sLJnHVwhP33CNkpYV/7rwI=
github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI=
@@ -43,11 +55,16 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 h1:6E+4a0GO5zZEnZ81pIr0yLvtUWk2if982qA3F3QD6H4=
github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0/go.mod h1:zJYVVT2jmtg6P3p1VtQj7WsuWi/y4VnjVBn7F8KPB3I= github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0/go.mod h1:zJYVVT2jmtg6P3p1VtQj7WsuWi/y4VnjVBn7F8KPB3I=
github.com/miekg/dns v1.1.43 h1:JKfpVSCB84vrAmHzyrsxB5NAr5kLoMXZArPSw7Qlgyg= github.com/miekg/dns v1.1.43 h1:JKfpVSCB84vrAmHzyrsxB5NAr5kLoMXZArPSw7Qlgyg=
github.com/miekg/dns v1.1.43/go.mod h1:+evo5L0630/F6ca/Z9+GAqzhjGyn8/c+TBaOyfEl0V4= github.com/miekg/dns v1.1.43/go.mod h1:+evo5L0630/F6ca/Z9+GAqzhjGyn8/c+TBaOyfEl0V4=
github.com/miekg/dns v1.1.58 h1:ca2Hdkz+cDg/7eNF6V56jjzuZ4aCAE+DbVkILdQWG/4=
github.com/miekg/dns v1.1.58/go.mod h1:Ypv+3b/KadlvW9vJfXOTf300O4UqaHFzFCuHz+rPkBY=
github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826 h1:RWengNIwukTxcDr9M+97sNutRR1RKhG96O6jWumTTnw= github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826 h1:RWengNIwukTxcDr9M+97sNutRR1RKhG96O6jWumTTnw=
github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826/go.mod h1:TaXosZuwdSHYgviHp1DAtfrULt5eUgsSMsZf+YrPgl8= github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826/go.mod h1:TaXosZuwdSHYgviHp1DAtfrULt5eUgsSMsZf+YrPgl8=
github.com/mozillazg/go-pinyin v0.18.0 h1:hQompXO23/0ohH8YNjvfsAITnCQImCiR/Fny8EhIeW0=
github.com/mozillazg/go-pinyin v0.18.0/go.mod h1:iR4EnMMRXkfpFVV5FMi4FNB6wGq9NV6uDWbUuPhP4Yc=
github.com/onsi/ginkgo/v2 v2.17.1 h1:V++EzdbhI4ZV4ev0UTIj0PzhzOcReJFyJaLjtSF55M8= github.com/onsi/ginkgo/v2 v2.17.1 h1:V++EzdbhI4ZV4ev0UTIj0PzhzOcReJFyJaLjtSF55M8=
github.com/onsi/ginkgo/v2 v2.17.1/go.mod h1:llBI3WDLL9Z6taip6f33H76YcWtJv+7R3HigUjbIBOs= github.com/onsi/ginkgo/v2 v2.17.1/go.mod h1:llBI3WDLL9Z6taip6f33H76YcWtJv+7R3HigUjbIBOs=
github.com/onsi/gomega v1.30.0 h1:hvMK7xYz4D3HapigLTeGdId/NcfQx1VHMJc60ew99+8= github.com/onsi/gomega v1.30.0 h1:hvMK7xYz4D3HapigLTeGdId/NcfQx1VHMJc60ew99+8=
@@ -81,6 +98,8 @@ github.com/shirou/gopsutil/v3 v3.22.5 h1:atX36I/IXgFiB81687vSiBI5zrMsxcIBkP9cQMJ
github.com/shirou/gopsutil/v3 v3.22.5/go.mod h1:so9G9VzeHt/hsd0YwqprnjHnfARAUktauykSbr+y2gA= github.com/shirou/gopsutil/v3 v3.22.5/go.mod h1:so9G9VzeHt/hsd0YwqprnjHnfARAUktauykSbr+y2gA=
github.com/skip2/go-qrcode v0.0.0-20200617195104-da1b6568686e h1:MRM5ITcdelLK2j1vwZ3Je0FKVCfqOLp5zO6trqMLYs0= github.com/skip2/go-qrcode v0.0.0-20200617195104-da1b6568686e h1:MRM5ITcdelLK2j1vwZ3Je0FKVCfqOLp5zO6trqMLYs0=
github.com/skip2/go-qrcode v0.0.0-20200617195104-da1b6568686e/go.mod h1:XV66xRDqSt+GTGFMVlhk3ULuV0y9ZmzeVGR4mloJI3M= github.com/skip2/go-qrcode v0.0.0-20200617195104-da1b6568686e/go.mod h1:XV66xRDqSt+GTGFMVlhk3ULuV0y9ZmzeVGR4mloJI3M=
github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72 h1:qLC7fQah7D6K1B0ujays3HV9gkFtllcxhzImRR7ArPQ=
github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
@@ -122,24 +141,18 @@ golang.org/x/image v0.18.0 h1:jGzIakQa/ZXI1I0Fxvaa9W7yP25TqT6cHIHn+6CqvSQ=
golang.org/x/image v0.18.0/go.mod h1:4yyo5vMFQjVjUcVk4jEQcU9MGy/rulF5WvUILseCM2E= golang.org/x/image v0.18.0/go.mod h1:4yyo5vMFQjVjUcVk4jEQcU9MGy/rulF5WvUILseCM2E=
golang.org/x/mod v0.29.0 h1:HV8lRxZC4l2cr3Zq1LvtOsi/ThTgWnUk/y64QSs8GwA= golang.org/x/mod v0.29.0 h1:HV8lRxZC4l2cr3Zq1LvtOsi/ThTgWnUk/y64QSs8GwA=
golang.org/x/mod v0.29.0/go.mod h1:NyhrlYXJ2H4eJiRy/WDBO6HMqZQ6q9nk4JzS3NuCK+w= golang.org/x/mod v0.29.0/go.mod h1:NyhrlYXJ2H4eJiRy/WDBO6HMqZQ6q9nk4JzS3NuCK+w=
golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
golang.org/x/net v0.47.0 h1:Mx+4dIFzqraBXUugkia1OOvlD6LemFo1ALMHjrXDOhY= golang.org/x/net v0.47.0 h1:Mx+4dIFzqraBXUugkia1OOvlD6LemFo1ALMHjrXDOhY=
golang.org/x/net v0.47.0/go.mod h1:/jNxtkgq5yWUGYkaZGqo27cfGZ1c5Nen03aYrrKpVRU= golang.org/x/net v0.47.0/go.mod h1:/jNxtkgq5yWUGYkaZGqo27cfGZ1c5Nen03aYrrKpVRU=
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.18.0 h1:kr88TuHDroi+UVf+0hZnirlk8o8T+4MrK6mr60WkH/I= golang.org/x/sync v0.18.0 h1:kr88TuHDroi+UVf+0hZnirlk8o8T+4MrK6mr60WkH/I=
golang.org/x/sync v0.18.0/go.mod h1:9KTHXmSnoGruLpwFjVSX0lNNA75CykiMECbovNTZqGI= golang.org/x/sync v0.18.0/go.mod h1:9KTHXmSnoGruLpwFjVSX0lNNA75CykiMECbovNTZqGI=
golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20201204225414-ed752295db88/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201204225414-ed752295db88/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210303074136-134d130e1a04/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20220128215802-99c3d69c2c27/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220128215802-99c3d69c2c27/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.38.0 h1:3yZWxaJjBmCWXqhN1qh02AkOnCQ1poK6oF+a7xWL6Gc= golang.org/x/sys v0.38.0 h1:3yZWxaJjBmCWXqhN1qh02AkOnCQ1poK6oF+a7xWL6Gc=
golang.org/x/sys v0.38.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks= golang.org/x/sys v0.38.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/term v0.37.0 h1:8EGAD0qCmHYZg6J17DvsMy9/wJ7/D/4pV/wfnld5lTU= golang.org/x/term v0.37.0 h1:8EGAD0qCmHYZg6J17DvsMy9/wJ7/D/4pV/wfnld5lTU=
golang.org/x/term v0.37.0/go.mod h1:5pB4lxRNYYVZuTLmy8oR2BH8dflOR+IbTYFD8fi3254= golang.org/x/term v0.37.0/go.mod h1:5pB4lxRNYYVZuTLmy8oR2BH8dflOR+IbTYFD8fi3254=
golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.31.0 h1:aC8ghyu4JhP8VojJ2lEHBnochRno1sgL6nEi9WGFGMM= golang.org/x/text v0.31.0 h1:aC8ghyu4JhP8VojJ2lEHBnochRno1sgL6nEi9WGFGMM=
golang.org/x/text v0.31.0/go.mod h1:tKRAlv61yKIjGGHX/4tP1LTbc13YSec1pxVEWXzfoeM= golang.org/x/text v0.31.0/go.mod h1:tKRAlv61yKIjGGHX/4tP1LTbc13YSec1pxVEWXzfoeM=
golang.org/x/time v0.5.0 h1:o7cqy6amK/52YcAKIPlM3a+Fpj35zvRj2TP+e1xFSfk= golang.org/x/time v0.5.0 h1:o7cqy6amK/52YcAKIPlM3a+Fpj35zvRj2TP+e1xFSfk=

View File

@@ -1,9 +1,9 @@
package teaconst package teaconst
const ( const (
Version = "1.5.0" //1.3.9 Version = "1.5.1" //1.3.9
APINodeVersion = "1.5.0" //1.3.9 APINodeVersion = "1.5.1" //1.3.9
ProductName = "Edge Admin" ProductName = "Edge Admin"
ProcessName = "edge-admin" ProcessName = "edge-admin"

View File

@@ -377,6 +377,10 @@ func (this *RPCClient) HTTPDNSRuntimeLogRPC() pb.HTTPDNSRuntimeLogServiceClient
return pb.NewHTTPDNSRuntimeLogServiceClient(this.pickConn()) return pb.NewHTTPDNSRuntimeLogServiceClient(this.pickConn())
} }
func (this *RPCClient) HTTPDNSBoardRPC() pb.HTTPDNSBoardServiceClient {
return pb.NewHTTPDNSBoardServiceClient(this.pickConn())
}
func (this *RPCClient) HTTPDNSSandboxRPC() pb.HTTPDNSSandboxServiceClient { func (this *RPCClient) HTTPDNSSandboxRPC() pb.HTTPDNSSandboxServiceClient {
return pb.NewHTTPDNSSandboxServiceClient(this.pickConn()) return pb.NewHTTPDNSSandboxServiceClient(this.pickConn())
} }

View File

@@ -249,6 +249,3 @@ func (this *RPCClient) PostRPC() pb.PostServiceClient {
return pb.NewPostServiceClient(this.pickConn()) return pb.NewPostServiceClient(this.pickConn())
} }
func (this *RPCClient) HTTPDNSBoardRPC() pb.HTTPDNSBoardServiceClient {
return pb.NewHTTPDNSBoardServiceClient(this.pickConn())
}

View File

@@ -359,7 +359,7 @@ func (this *MySQLInstaller) InstallFromFile(xzFilePath string, targetDir string)
// waiting for startup // waiting for startup
for i := 0; i < 30; i++ { for i := 0; i < 30; i++ {
var conn net.Conn var conn net.Conn
conn, err = net.Dial("tcp", "127.0.0.1:3306") conn, err = net.Dial("tcp", "127.0.0.1:3308")
if err != nil { if err != nil {
time.Sleep(1 * time.Second) time.Sleep(1 * time.Second)
} else { } else {

View File

@@ -1 +0,0 @@
package main; import ("fmt"; "github.com/TeaOSLab/EdgeAPI/internal/db/models"; _ "github.com/go-sql-driver/mysql"; "github.com/iwind/TeaGo/dbs"; "github.com/iwind/TeaGo/Tea"); func main() { Tea.Env = "prod"; dbConfig := &dbs.Config{Driver: "mysql", Dsn: "edge:123456@tcp(127.0.0.1:3306)/edge?charset=utf8mb4&parseTime=true&loc=Local", Prefix: "edge"}; dbs.DefaultDB(dbConfig); apps, _ := models.SharedHTTPDNSAppDAO.FindAllEnabledApps(nil); for _, app := range apps { fmt.Printf("App: %s, Primary: %d\n", app.AppId, app.PrimaryClusterId) } }

View File

@@ -126,8 +126,8 @@
<!-- 模块 --> <!-- 模块 -->
<div v-for="module in teaModules"> <div v-for="module in teaModules">
<a class="item" :href="Tea.url(module.code)" <a class="item" :href="Tea.url(module.code)"
:class="{active:teaMenu == module.code && teaSubMenu.length == 0, separator:module.code.length == 0, expend: teaMenu == module.code}" :class="{active:teaMenu == module.code, separator:module.code.length == 0, expend: teaMenu == module.code}"
:style="(teaMenu == module.code && teaSubMenu.length == 0) ? 'background: rgba(230, 230, 230, 0.45) !important;' : ''" :style="(teaMenu == module.code) ? 'background: rgba(230, 230, 230, 0.45) !important;' : ''"
v-if="module.isOn !== false"> v-if="module.isOn !== false">
<span v-if="module.code.length > 0"> <span v-if="module.code.length > 0">
<i class="window restore outline icon" v-if="module.icon == null"></i> <i class="window restore outline icon" v-if="module.icon == null"></i>

View File

@@ -37,6 +37,7 @@ Tea.context(function () {
this.reloadHourlyTrafficChart = function () { this.reloadHourlyTrafficChart = function () {
let stats = this.hourlyStats let stats = this.hourlyStats
if (stats == null || stats.length == 0) { if (stats == null || stats.length == 0) {
this.renderEmptyBarChart("hourly-traffic-chart", "暂无请求趋势数据")
return return
} }
this.reloadTrafficChart("hourly-traffic-chart", stats, function (args) { this.reloadTrafficChart("hourly-traffic-chart", stats, function (args) {
@@ -47,6 +48,7 @@ Tea.context(function () {
this.reloadDailyTrafficChart = function () { this.reloadDailyTrafficChart = function () {
let stats = this.dailyStats let stats = this.dailyStats
if (stats == null || stats.length == 0) { if (stats == null || stats.length == 0) {
this.renderEmptyBarChart("daily-traffic-chart", "暂无请求趋势数据")
return return
} }
this.reloadTrafficChart("daily-traffic-chart", stats, function (args) { this.reloadTrafficChart("daily-traffic-chart", stats, function (args) {
@@ -116,6 +118,7 @@ Tea.context(function () {
this.reloadTopAppsChart = function () { this.reloadTopAppsChart = function () {
if (this.topAppStats == null || this.topAppStats.length == 0) { if (this.topAppStats == null || this.topAppStats.length == 0) {
this.renderEmptyBarChart("top-apps-chart", "暂无应用请求数据")
return return
} }
let axis = teaweb.countAxis(this.topAppStats, function (v) { let axis = teaweb.countAxis(this.topAppStats, function (v) {
@@ -140,6 +143,7 @@ Tea.context(function () {
this.reloadTopDomainsChart = function () { this.reloadTopDomainsChart = function () {
if (this.topDomainStats == null || this.topDomainStats.length == 0) { if (this.topDomainStats == null || this.topDomainStats.length == 0) {
this.renderEmptyBarChart("top-domains-chart", "暂无域名请求数据")
return return
} }
let axis = teaweb.countAxis(this.topDomainStats, function (v) { let axis = teaweb.countAxis(this.topDomainStats, function (v) {
@@ -164,6 +168,7 @@ Tea.context(function () {
this.reloadTopNodesChart = function () { this.reloadTopNodesChart = function () {
if (this.topNodeStats == null || this.topNodeStats.length == 0) { if (this.topNodeStats == null || this.topNodeStats.length == 0) {
this.renderEmptyBarChart("top-nodes-chart", "暂无节点访问数据")
return return
} }
let axis = teaweb.countAxis(this.topNodeStats, function (v) { let axis = teaweb.countAxis(this.topNodeStats, function (v) {
@@ -189,4 +194,39 @@ Tea.context(function () {
}) })
} }
this.renderEmptyBarChart = function (chartId, message) {
let chartBox = document.getElementById(chartId)
if (chartBox == null) {
return
}
let chart = teaweb.initChart(chartBox)
chart.setOption({
xAxis: {
data: [],
axisLabel: { show: false }
},
yAxis: {
axisLabel: { show: false },
splitLine: { show: true }
},
grid: {
left: 50,
top: 40,
right: 20,
bottom: 20
},
graphic: [{
type: "text",
left: "center",
top: "middle",
style: {
text: message,
fontSize: 13,
fill: "#999"
}
}],
series: []
})
chart.resize()
}
}) })

View File

@@ -37,6 +37,7 @@ Tea.context(function () {
this.reloadHourlyTrafficChart = function () { this.reloadHourlyTrafficChart = function () {
let stats = this.hourlyStats let stats = this.hourlyStats
if (stats == null || stats.length == 0) { if (stats == null || stats.length == 0) {
this.renderEmptyBarChart("hourly-traffic-chart", "暂无请求趋势数据")
return return
} }
this.reloadTrafficChart("hourly-traffic-chart", stats, function (args) { this.reloadTrafficChart("hourly-traffic-chart", stats, function (args) {
@@ -47,6 +48,7 @@ Tea.context(function () {
this.reloadDailyTrafficChart = function () { this.reloadDailyTrafficChart = function () {
let stats = this.dailyStats let stats = this.dailyStats
if (stats == null || stats.length == 0) { if (stats == null || stats.length == 0) {
this.renderEmptyBarChart("daily-traffic-chart", "暂无请求趋势数据")
return return
} }
this.reloadTrafficChart("daily-traffic-chart", stats, function (args) { this.reloadTrafficChart("daily-traffic-chart", stats, function (args) {
@@ -116,6 +118,7 @@ Tea.context(function () {
this.reloadTopAppsChart = function () { this.reloadTopAppsChart = function () {
if (this.topAppStats == null || this.topAppStats.length == 0) { if (this.topAppStats == null || this.topAppStats.length == 0) {
this.renderEmptyBarChart("top-apps-chart", "暂无应用请求数据")
return return
} }
let axis = teaweb.countAxis(this.topAppStats, function (v) { let axis = teaweb.countAxis(this.topAppStats, function (v) {
@@ -140,6 +143,7 @@ Tea.context(function () {
this.reloadTopDomainsChart = function () { this.reloadTopDomainsChart = function () {
if (this.topDomainStats == null || this.topDomainStats.length == 0) { if (this.topDomainStats == null || this.topDomainStats.length == 0) {
this.renderEmptyBarChart("top-domains-chart", "暂无域名请求数据")
return return
} }
let axis = teaweb.countAxis(this.topDomainStats, function (v) { let axis = teaweb.countAxis(this.topDomainStats, function (v) {
@@ -164,6 +168,7 @@ Tea.context(function () {
this.reloadTopNodesChart = function () { this.reloadTopNodesChart = function () {
if (this.topNodeStats == null || this.topNodeStats.length == 0) { if (this.topNodeStats == null || this.topNodeStats.length == 0) {
this.renderEmptyBarChart("top-nodes-chart", "暂无节点访问数据")
return return
} }
let axis = teaweb.countAxis(this.topNodeStats, function (v) { let axis = teaweb.countAxis(this.topNodeStats, function (v) {
@@ -188,4 +193,40 @@ Tea.context(function () {
} }
}) })
} }
this.renderEmptyBarChart = function (chartId, message) {
let chartBox = document.getElementById(chartId)
if (chartBox == null) {
return
}
let chart = teaweb.initChart(chartBox)
chart.setOption({
xAxis: {
data: [],
axisLabel: { show: false }
},
yAxis: {
axisLabel: { show: false },
splitLine: { show: true }
},
grid: {
left: 50,
top: 40,
right: 20,
bottom: 20
},
graphic: [{
type: "text",
left: "center",
top: "middle",
style: {
text: message,
fontSize: 13,
fill: "#999"
}
}],
series: []
})
chart.resize()
}
}) })

View File

@@ -355,7 +355,8 @@ Tea.context(function () {
cluster.nodes.forEach(function (node) { cluster.nodes.forEach(function (node) {
if (node.id == nodeId && installStatus != null) { if (node.id == nodeId && installStatus != null) {
node.installStatus = installStatus node.installStatus = installStatus
// 升级完成移除跟踪 // 仅在升级完成isFinished时才移除跟踪
// 不要仅凭 !isRunning 就移除,因为批量升级时排队的节点尚未开始
if (installStatus.isFinished) { if (installStatus.isFinished) {
node.isUpgrading = false node.isUpgrading = false
let idx = that.upgradingNodeIds[moduleCode].indexOf(nodeId) let idx = that.upgradingNodeIds[moduleCode].indexOf(nodeId)

View 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

View File

@@ -20,35 +20,8 @@ func DefaultMessage(messageCode MessageCode, args ...any) string {
} }
func ParseLangFromRequest(req *http.Request) (langCode string) { func ParseLangFromRequest(req *http.Request) (langCode string) {
// parse language from cookie // 强制使用中文
const cookieName = "edgelang" return "zh-cn"
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()
} }
func ParseLangFromAction(action actions.ActionWrapper) (langCode string) { func ParseLangFromAction(action actions.ActionWrapper) (langCode string) {

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.36.0 // protoc-gen-go v1.36.11
// protoc v6.33.2 // protoc v3.19.6
// source: api_method_stat_service.proto // source: api_method_stat_service.proto
package pb package pb
@@ -11,6 +11,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl" protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect" reflect "reflect"
sync "sync" sync "sync"
unsafe "unsafe"
) )
const ( 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 protoreflect.FileDescriptor
var file_api_method_stat_service_proto_rawDesc = []byte{ const file_api_method_stat_service_proto_rawDesc = "" +
0x0a, 0x1d, 0x61, 0x70, 0x69, 0x5f, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x5f, 0x73, 0x74, 0x61, "\n" +
0x74, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, "\x1dapi_method_stat_service.proto\x12\x02pb\x1a\"models/model_api_method_stat.proto\x1a\x19models/rpc_messages.proto\"4\n" +
0x02, 0x70, 0x62, 0x1a, 0x22, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, " FindAPIMethodStatsWithDayRequest\x12\x10\n" +
0x6c, 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x5f, 0x73, 0x74, 0x61, "\x03day\x18\x01 \x01(\tR\x03day\"^\n" +
0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, "!FindAPIMethodStatsWithDayResponse\x129\n" +
0x72, 0x70, 0x63, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, "\x0eapiMethodStats\x18\x01 \x03(\v2\x11.pb.APIMethodStatR\x0eapiMethodStats\"5\n" +
0x74, 0x6f, 0x22, 0x34, 0x0a, 0x20, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x50, 0x49, 0x4d, 0x65, 0x74, "!CountAPIMethodStatsWithDayRequest\x12\x10\n" +
0x68, 0x6f, 0x64, 0x53, 0x74, 0x61, 0x74, 0x73, 0x57, 0x69, 0x74, 0x68, 0x44, 0x61, 0x79, 0x52, "\x03day\x18\x01 \x01(\tR\x03day2\xdb\x01\n" +
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x64, 0x61, 0x79, 0x18, 0x01, 0x20, "\x14APIMethodStatService\x12h\n" +
0x01, 0x28, 0x09, 0x52, 0x03, 0x64, 0x61, 0x79, 0x22, 0x5e, 0x0a, 0x21, 0x46, 0x69, 0x6e, 0x64, "\x19findAPIMethodStatsWithDay\x12$.pb.FindAPIMethodStatsWithDayRequest\x1a%.pb.FindAPIMethodStatsWithDayResponse\x12Y\n" +
0x41, 0x50, 0x49, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x53, 0x74, 0x61, 0x74, 0x73, 0x57, 0x69, "\x1acountAPIMethodStatsWithDay\x12%.pb.CountAPIMethodStatsWithDayRequest\x1a\x14.pb.RPCCountResponseB\x06Z\x04./pbb\x06proto3"
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,
}
var ( var (
file_api_method_stat_service_proto_rawDescOnce sync.Once 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 { func file_api_method_stat_service_proto_rawDescGZIP() []byte {
file_api_method_stat_service_proto_rawDescOnce.Do(func() { 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 return file_api_method_stat_service_proto_rawDescData
} }
@@ -237,7 +214,7 @@ func file_api_method_stat_service_proto_init() {
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 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, NumEnums: 0,
NumMessages: 3, NumMessages: 3,
NumExtensions: 0, NumExtensions: 0,
@@ -248,7 +225,6 @@ func file_api_method_stat_service_proto_init() {
MessageInfos: file_api_method_stat_service_proto_msgTypes, MessageInfos: file_api_method_stat_service_proto_msgTypes,
}.Build() }.Build()
File_api_method_stat_service_proto = out.File 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_goTypes = nil
file_api_method_stat_service_proto_depIdxs = nil file_api_method_stat_service_proto_depIdxs = nil
} }

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go-grpc. DO NOT EDIT. // Code generated by protoc-gen-go-grpc. DO NOT EDIT.
// versions: // versions:
// - protoc-gen-go-grpc v1.5.1 // - protoc-gen-go-grpc v1.6.1
// - protoc v6.33.2 // - protoc v3.19.6
// source: api_method_stat_service.proto // source: api_method_stat_service.proto
package pb package pb
@@ -83,10 +83,10 @@ type APIMethodStatServiceServer interface {
type UnimplementedAPIMethodStatServiceServer struct{} type UnimplementedAPIMethodStatServiceServer struct{}
func (UnimplementedAPIMethodStatServiceServer) FindAPIMethodStatsWithDay(context.Context, *FindAPIMethodStatsWithDayRequest) (*FindAPIMethodStatsWithDayResponse, error) { 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) { 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() {} func (UnimplementedAPIMethodStatServiceServer) testEmbeddedByValue() {}
@@ -98,7 +98,7 @@ type UnsafeAPIMethodStatServiceServer interface {
} }
func RegisterAPIMethodStatServiceServer(s grpc.ServiceRegistrar, srv APIMethodStatServiceServer) { 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 // embedded by pointer and is nil. This will cause panics if an
// unimplemented method is ever invoked, so we test this at initialization // unimplemented method is ever invoked, so we test this at initialization
// time to prevent it from happening at runtime later due to I/O. // time to prevent it from happening at runtime later due to I/O.

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.36.0 // protoc-gen-go v1.36.11
// protoc v6.33.2 // protoc v3.19.6
// source: models/model_acme_provider.proto // source: models/model_acme_provider.proto
package pb package pb
@@ -11,6 +11,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl" protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect" reflect "reflect"
sync "sync" sync "sync"
unsafe "unsafe"
) )
const ( 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 protoreflect.FileDescriptor
var file_models_model_acme_provider_proto_rawDesc = []byte{ const file_models_model_acme_provider_proto_rawDesc = "" +
0x0a, 0x20, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x61, "\n" +
0x63, 0x6d, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, " models/model_acme_provider.proto\x12\x02pb\"\xb8\x01\n" +
0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0xb8, 0x01, 0x0a, 0x0c, 0x41, 0x43, 0x4d, 0x45, 0x50, "\fACMEProvider\x12\x12\n" +
0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, "\x04name\x18\x01 \x01(\tR\x04name\x12\x12\n" +
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, "\x04code\x18\x02 \x01(\tR\x04code\x12 \n" +
0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, "\vdescription\x18\x04 \x01(\tR\vdescription\x12\x16\n" +
0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, "\x06apiURL\x18\x05 \x01(\tR\x06apiURL\x12\x1e\n" +
0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, "\n" +
0x6e, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x70, 0x69, 0x55, 0x52, 0x4c, 0x18, 0x05, 0x20, 0x01, 0x28, "requireEAB\x18\x06 \x01(\bR\n" +
0x09, 0x52, 0x06, 0x61, 0x70, 0x69, 0x55, 0x52, 0x4c, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x71, "requireEAB\x12&\n" +
0x75, 0x69, 0x72, 0x65, 0x45, 0x41, 0x42, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x72, "\x0eeabDescription\x18\a \x01(\tR\x0eeabDescriptionB\x06Z\x04./pbb\x06proto3"
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,
}
var ( var (
file_models_model_acme_provider_proto_rawDescOnce sync.Once 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 { func file_models_model_acme_provider_proto_rawDescGZIP() []byte {
file_models_model_acme_provider_proto_rawDescOnce.Do(func() { 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 return file_models_model_acme_provider_proto_rawDescData
} }
@@ -158,7 +153,7 @@ func file_models_model_acme_provider_proto_init() {
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 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, NumEnums: 0,
NumMessages: 1, NumMessages: 1,
NumExtensions: 0, NumExtensions: 0,
@@ -169,7 +164,6 @@ func file_models_model_acme_provider_proto_init() {
MessageInfos: file_models_model_acme_provider_proto_msgTypes, MessageInfos: file_models_model_acme_provider_proto_msgTypes,
}.Build() }.Build()
File_models_model_acme_provider_proto = out.File 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_goTypes = nil
file_models_model_acme_provider_proto_depIdxs = nil file_models_model_acme_provider_proto_depIdxs = nil
} }

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.36.0 // protoc-gen-go v1.36.11
// protoc v6.33.2 // protoc v3.19.6
// source: models/model_acme_provider_account.proto // source: models/model_acme_provider_account.proto
package pb package pb
@@ -11,6 +11,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl" protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect" reflect "reflect"
sync "sync" sync "sync"
unsafe "unsafe"
) )
const ( 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 protoreflect.FileDescriptor
var file_models_model_acme_provider_account_proto_rawDesc = []byte{ const file_models_model_acme_provider_account_proto_rawDesc = "" +
0x0a, 0x28, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x61, "\n" +
0x63, 0x6d, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f, 0x61, 0x63, 0x63, "(models/model_acme_provider_account.proto\x12\x02pb\x1a models/model_acme_provider.proto\"\xed\x01\n" +
0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x20, "\x13ACMEProviderAccount\x12\x0e\n" +
0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x61, 0x63, 0x6d, "\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
0x65, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, "\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n" +
0x22, 0xed, 0x01, 0x0a, 0x13, 0x41, 0x43, 0x4d, 0x45, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, "\x04isOn\x18\x03 \x01(\bR\x04isOn\x12\"\n" +
0x72, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, "\fproviderCode\x18\x04 \x01(\tR\fproviderCode\x12\x16\n" +
0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, "\x06eabKid\x18\x05 \x01(\tR\x06eabKid\x12\x16\n" +
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, "\x06eabKey\x18\x06 \x01(\tR\x06eabKey\x12\x14\n" +
0x69, 0x73, 0x4f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6e, "\x05error\x18\a \x01(\tR\x05error\x124\n" +
0x12, 0x22, 0x0a, 0x0c, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x64, 0x65, "\facmeProvider\x18\x1e \x01(\v2\x10.pb.ACMEProviderR\facmeProviderB\x06Z\x04./pbb\x06proto3"
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,
}
var ( var (
file_models_model_acme_provider_account_proto_rawDescOnce sync.Once 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 { 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_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 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{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 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, NumEnums: 0,
NumMessages: 1, NumMessages: 1,
NumExtensions: 0, NumExtensions: 0,
@@ -193,7 +183,6 @@ func file_models_model_acme_provider_account_proto_init() {
MessageInfos: file_models_model_acme_provider_account_proto_msgTypes, MessageInfos: file_models_model_acme_provider_account_proto_msgTypes,
}.Build() }.Build()
File_models_model_acme_provider_account_proto = out.File 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_goTypes = nil
file_models_model_acme_provider_account_proto_depIdxs = nil file_models_model_acme_provider_account_proto_depIdxs = nil
} }

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.36.0 // protoc-gen-go v1.36.11
// protoc v6.33.2 // protoc v3.19.6
// source: models/model_acme_task.proto // source: models/model_acme_task.proto
package pb package pb
@@ -11,6 +11,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl" protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect" reflect "reflect"
sync "sync" sync "sync"
unsafe "unsafe"
) )
const ( 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 protoreflect.FileDescriptor
var file_models_model_acme_task_proto_rawDesc = []byte{ const file_models_model_acme_task_proto_rawDesc = "" +
0x0a, 0x1c, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x61, "\n" +
0x63, 0x6d, 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, "\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" +
0x70, 0x62, 0x1a, 0x1c, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, "\bACMETask\x12\x0e\n" +
0x5f, 0x61, 0x63, 0x6d, 0x65, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, "\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
0x1a, 0x1f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x64, "\x04isOn\x18\x02 \x01(\bR\x04isOn\x12\x1c\n" +
0x6e, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, "\tdnsDomain\x18\x03 \x01(\tR\tdnsDomain\x12\x18\n" +
0x6f, 0x1a, 0x1b, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, "\adomains\x18\x04 \x03(\tR\adomains\x12\x1c\n" +
0x73, 0x73, 0x6c, 0x5f, 0x63, 0x65, 0x72, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, "\tcreatedAt\x18\x05 \x01(\x03R\tcreatedAt\x12\x1c\n" +
0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x61, 0x63, 0x6d, "\tautoRenew\x18\x06 \x01(\bR\tautoRenew\x12\x1a\n" +
0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x6c, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, "\bauthType\x18\a \x01(\tR\bauthType\x12\x18\n" +
0x22, 0x9b, 0x03, 0x0a, 0x08, 0x41, 0x43, 0x4d, 0x45, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x0e, 0x0a, "\aauthURL\x18\b \x01(\tR\aauthURL\x12(\n" +
0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, "\bacmeUser\x18\x1e \x01(\v2\f.pb.ACMEUserR\bacmeUser\x121\n" +
0x04, 0x69, 0x73, 0x4f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, "\vdnsProvider\x18\x1f \x01(\v2\x0f.pb.DNSProviderR\vdnsProvider\x12%\n" +
0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x03, "\asslCert\x18 \x01(\v2\v.pb.SSLCertR\asslCert\x12=\n" +
0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x6e, 0x73, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, "\x11latestACMETaskLog\x18! \x01(\v2\x0f.pb.ACMETaskLogR\x11latestACMETaskLogB\x06Z\x04./pbb\x06proto3"
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,
}
var ( var (
file_models_model_acme_task_proto_rawDescOnce sync.Once 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 { func file_models_model_acme_task_proto_rawDescGZIP() []byte {
file_models_model_acme_task_proto_rawDescOnce.Do(func() { 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 return file_models_model_acme_task_proto_rawDescData
} }
@@ -239,7 +217,7 @@ func file_models_model_acme_task_proto_init() {
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 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, NumEnums: 0,
NumMessages: 1, NumMessages: 1,
NumExtensions: 0, NumExtensions: 0,
@@ -250,7 +228,6 @@ func file_models_model_acme_task_proto_init() {
MessageInfos: file_models_model_acme_task_proto_msgTypes, MessageInfos: file_models_model_acme_task_proto_msgTypes,
}.Build() }.Build()
File_models_model_acme_task_proto = out.File 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_goTypes = nil
file_models_model_acme_task_proto_depIdxs = nil file_models_model_acme_task_proto_depIdxs = nil
} }

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.36.0 // protoc-gen-go v1.36.11
// protoc v6.33.2 // protoc v3.19.6
// source: models/model_acme_task_log.proto // source: models/model_acme_task_log.proto
package pb package pb
@@ -11,6 +11,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl" protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect" reflect "reflect"
sync "sync" sync "sync"
unsafe "unsafe"
) )
const ( 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 protoreflect.FileDescriptor
var file_models_model_acme_task_log_proto_rawDesc = []byte{ const file_models_model_acme_task_log_proto_rawDesc = "" +
0x0a, 0x20, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x61, "\n" +
0x63, 0x6d, 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x6c, 0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, " models/model_acme_task_log.proto\x12\x02pb\"e\n" +
0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0x65, 0x0a, 0x0b, 0x41, 0x43, 0x4d, 0x45, 0x54, 0x61, "\vACMETaskLog\x12\x0e\n" +
0x73, 0x6b, 0x4c, 0x6f, 0x67, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, "\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, 0x6b, 0x18, 0x02, 0x20, "\x04isOk\x18\x02 \x01(\bR\x04isOk\x12\x14\n" +
0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6b, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, "\x05error\x18\x03 \x01(\tR\x05error\x12\x1c\n" +
0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, "\tcreatedAt\x18\x04 \x01(\x03R\tcreatedAtB\x06Z\x04./pbb\x06proto3"
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,
}
var ( var (
file_models_model_acme_task_log_proto_rawDescOnce sync.Once 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 { 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_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 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{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 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, NumEnums: 0,
NumMessages: 1, NumMessages: 1,
NumExtensions: 0, NumExtensions: 0,
@@ -148,7 +145,6 @@ func file_models_model_acme_task_log_proto_init() {
MessageInfos: file_models_model_acme_task_log_proto_msgTypes, MessageInfos: file_models_model_acme_task_log_proto_msgTypes,
}.Build() }.Build()
File_models_model_acme_task_log_proto = out.File 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_goTypes = nil
file_models_model_acme_task_log_proto_depIdxs = nil file_models_model_acme_task_log_proto_depIdxs = nil
} }

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.36.0 // protoc-gen-go v1.36.11
// protoc v6.33.2 // protoc v3.19.6
// source: models/model_acme_user.proto // source: models/model_acme_user.proto
package pb package pb
@@ -11,6 +11,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl" protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect" reflect "reflect"
sync "sync" sync "sync"
unsafe "unsafe"
) )
const ( 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 protoreflect.FileDescriptor
var file_models_model_acme_user_proto_rawDesc = []byte{ const file_models_model_acme_user_proto_rawDesc = "" +
0x0a, 0x1c, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x61, "\n" +
0x63, 0x6d, 0x65, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, "\x1cmodels/model_acme_user.proto\x12\x02pb\x1a models/model_acme_provider.proto\x1a(models/model_acme_provider_account.proto\"\x9d\x02\n" +
0x70, 0x62, 0x1a, 0x20, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, "\bACMEUser\x12\x0e\n" +
0x5f, 0x61, 0x63, 0x6d, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x70, "\x02id\x18\x01 \x01(\x03R\x02id\x12\x14\n" +
0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x28, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, "\x05email\x18\x02 \x01(\tR\x05email\x12 \n" +
0x65, 0x6c, 0x5f, 0x61, 0x63, 0x6d, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, "\vdescription\x18\x03 \x01(\tR\vdescription\x12\x1c\n" +
0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9d, "\tcreatedAt\x18\x04 \x01(\x03R\tcreatedAt\x12*\n" +
0x02, 0x0a, 0x08, 0x41, 0x43, 0x4d, 0x45, 0x55, 0x73, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, "\x10acmeProviderCode\x18\x05 \x01(\tR\x10acmeProviderCode\x124\n" +
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x65, "\facmeProvider\x18\x1e \x01(\v2\x10.pb.ACMEProviderR\facmeProvider\x12I\n" +
0x6d, 0x61, 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, "\x13acmeProviderAccount\x18\x1f \x01(\v2\x17.pb.ACMEProviderAccountR\x13acmeProviderAccountB\x06Z\x04./pbb\x06proto3"
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,
}
var ( var (
file_models_model_acme_user_proto_rawDescOnce sync.Once 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 { func file_models_model_acme_user_proto_rawDescGZIP() []byte {
file_models_model_acme_user_proto_rawDescOnce.Do(func() { 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 return file_models_model_acme_user_proto_rawDescData
} }
@@ -182,7 +166,7 @@ func file_models_model_acme_user_proto_init() {
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 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, NumEnums: 0,
NumMessages: 1, NumMessages: 1,
NumExtensions: 0, NumExtensions: 0,
@@ -193,7 +177,6 @@ func file_models_model_acme_user_proto_init() {
MessageInfos: file_models_model_acme_user_proto_msgTypes, MessageInfos: file_models_model_acme_user_proto_msgTypes,
}.Build() }.Build()
File_models_model_acme_user_proto = out.File 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_goTypes = nil
file_models_model_acme_user_proto_depIdxs = nil file_models_model_acme_user_proto_depIdxs = nil
} }

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.36.0 // protoc-gen-go v1.36.11
// protoc v6.33.2 // protoc v3.19.6
// source: models/model_ad_network.proto // source: models/model_ad_network.proto
package pb package pb
@@ -11,6 +11,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl" protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect" reflect "reflect"
sync "sync" sync "sync"
unsafe "unsafe"
) )
const ( 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 protoreflect.FileDescriptor
var file_models_model_ad_network_proto_rawDesc = []byte{ const file_models_model_ad_network_proto_rawDesc = "" +
0x0a, 0x1d, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x61, "\n" +
0x64, 0x5f, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, "\x1dmodels/model_ad_network.proto\x12\x02pb\"e\n" +
0x02, 0x70, 0x62, 0x22, 0x65, 0x0a, 0x09, 0x41, 0x44, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, "\tADNetwork\x12\x0e\n" +
0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, "\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, "\x04isOn\x18\x02 \x01(\bR\x04isOn\x12\x12\n" +
0x69, 0x73, 0x4f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, "\x04name\x18\x03 \x01(\tR\x04name\x12 \n" +
0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, "\vdescription\x18\x04 \x01(\tR\vdescriptionB\x06Z\x04./pbb\x06proto3"
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,
}
var ( var (
file_models_model_ad_network_proto_rawDescOnce sync.Once 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 { func file_models_model_ad_network_proto_rawDescGZIP() []byte {
file_models_model_ad_network_proto_rawDescOnce.Do(func() { 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 return file_models_model_ad_network_proto_rawDescData
} }
@@ -137,7 +134,7 @@ func file_models_model_ad_network_proto_init() {
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 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, NumEnums: 0,
NumMessages: 1, NumMessages: 1,
NumExtensions: 0, NumExtensions: 0,
@@ -148,7 +145,6 @@ func file_models_model_ad_network_proto_init() {
MessageInfos: file_models_model_ad_network_proto_msgTypes, MessageInfos: file_models_model_ad_network_proto_msgTypes,
}.Build() }.Build()
File_models_model_ad_network_proto = out.File 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_goTypes = nil
file_models_model_ad_network_proto_depIdxs = nil file_models_model_ad_network_proto_depIdxs = nil
} }

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.36.0 // protoc-gen-go v1.36.11
// protoc v6.33.2 // protoc v3.19.6
// source: models/model_ad_package.proto // source: models/model_ad_package.proto
package pb package pb
@@ -11,6 +11,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl" protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect" reflect "reflect"
sync "sync" sync "sync"
unsafe "unsafe"
) )
const ( 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 protoreflect.FileDescriptor
var file_models_model_ad_package_proto_rawDesc = []byte{ const file_models_model_ad_package_proto_rawDesc = "" +
0x0a, 0x1d, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x61, "\n" +
0x64, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, "\x1dmodels/model_ad_package.proto\x12\x02pb\x1a\x1dmodels/model_ad_network.proto\"\xb2\x03\n" +
0x02, 0x70, 0x62, 0x1a, 0x1d, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, "\tADPackage\x12\x0e\n" +
0x6c, 0x5f, 0x61, 0x64, 0x5f, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x70, 0x72, 0x6f, "\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
0x74, 0x6f, 0x22, 0xb2, 0x03, 0x0a, 0x09, 0x41, 0x44, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, "\x04isOn\x18\x02 \x01(\bR\x04isOn\x12 \n" +
0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, "\vadNetworkId\x18\x03 \x01(\x03R\vadNetworkId\x128\n" +
0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, "\x17protectionBandwidthSize\x18\x04 \x01(\x05R\x17protectionBandwidthSize\x128\n" +
0x69, 0x73, 0x4f, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x64, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, "\x17protectionBandwidthUnit\x18\x05 \x01(\tR\x17protectionBandwidthUnit\x120\n" +
0x6b, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x61, 0x64, 0x4e, 0x65, 0x74, "\x13serverBandwidthSize\x18\x06 \x01(\x05R\x13serverBandwidthSize\x120\n" +
0x77, 0x6f, 0x72, 0x6b, 0x49, 0x64, 0x12, 0x38, 0x0a, 0x17, 0x70, 0x72, 0x6f, 0x74, 0x65, 0x63, "\x13serverBandwidthUnit\x18\a \x01(\tR\x13serverBandwidthUnit\x12+\n" +
0x74, 0x69, 0x6f, 0x6e, 0x42, 0x61, 0x6e, 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, 0x53, 0x69, 0x7a, "\tadNetwork\x18\x1e \x01(\v2\r.pb.ADNetworkR\tadNetwork\x12\x18\n" +
0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x17, 0x70, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, "\asummary\x18\x1f \x01(\tR\asummary\x12@\n" +
0x69, 0x6f, 0x6e, 0x42, 0x61, 0x6e, 0x64, 0x77, 0x69, 0x64, 0x74, 0x68, 0x53, 0x69, 0x7a, 0x65, "\x1bcountIdleADPackageInstances\x18 \x01(\x03R\x1bcountIdleADPackageInstancesB\x06Z\x04./pbb\x06proto3"
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,
}
var ( var (
file_models_model_ad_package_proto_rawDescOnce sync.Once 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 { func file_models_model_ad_package_proto_rawDescGZIP() []byte {
file_models_model_ad_package_proto_rawDescOnce.Do(func() { 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 return file_models_model_ad_package_proto_rawDescData
} }
@@ -211,7 +191,7 @@ func file_models_model_ad_package_proto_init() {
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 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, NumEnums: 0,
NumMessages: 1, NumMessages: 1,
NumExtensions: 0, NumExtensions: 0,
@@ -222,7 +202,6 @@ func file_models_model_ad_package_proto_init() {
MessageInfos: file_models_model_ad_package_proto_msgTypes, MessageInfos: file_models_model_ad_package_proto_msgTypes,
}.Build() }.Build()
File_models_model_ad_package_proto = out.File 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_goTypes = nil
file_models_model_ad_package_proto_depIdxs = nil file_models_model_ad_package_proto_depIdxs = nil
} }

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.36.0 // protoc-gen-go v1.36.11
// protoc v6.33.2 // protoc v3.19.6
// source: models/model_ad_package_instance.proto // source: models/model_ad_package_instance.proto
package pb package pb
@@ -11,6 +11,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl" protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect" reflect "reflect"
sync "sync" sync "sync"
unsafe "unsafe"
) )
const ( 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 protoreflect.FileDescriptor
var file_models_model_ad_package_instance_proto_rawDesc = []byte{ const file_models_model_ad_package_instance_proto_rawDesc = "" +
0x0a, 0x26, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x61, "\n" +
0x64, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, "&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" +
0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x1f, 0x6d, 0x6f, "\x11ADPackageInstance\x12\x0e\n" +
0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, "\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x6d, "\x04isOn\x18\x02 \x01(\bR\x04isOn\x12 \n" +
0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x61, 0x64, 0x5f, 0x70, "\vadPackageId\x18\x03 \x01(\x03R\vadPackageId\x12$\n" +
0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x6d, 0x6f, "\rnodeClusterId\x18\x04 \x01(\x03R\rnodeClusterId\x12\x18\n" +
0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x2e, "\anodeIds\x18\x05 \x03(\x03R\anodeIds\x12 \n" +
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x97, 0x03, 0x0a, 0x11, 0x41, 0x44, 0x50, 0x61, 0x63, 0x6b, "\vipAddresses\x18\x06 \x03(\tR\vipAddresses\x12\x16\n" +
0x61, 0x67, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, "\x06userId\x18\a \x01(\x03R\x06userId\x12\x1c\n" +
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x69, "\tuserDayTo\x18\b \x01(\tR\tuserDayTo\x12&\n" +
0x73, 0x4f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x12, "\x0euserInstanceId\x18\t \x01(\x03R\x0euserInstanceId\x121\n" +
0x20, 0x0a, 0x0b, 0x61, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x49, 0x64, 0x18, 0x03, "\vnodeCluster\x18\x1e \x01(\v2\x0f.pb.NodeClusterR\vnodeCluster\x12+\n" +
0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x61, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x49, "\tadPackage\x18\x1f \x01(\v2\r.pb.ADPackageR\tadPackage\x12\x1c\n" +
0x64, 0x12, 0x24, 0x0a, 0x0d, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, "\x04user\x18 \x01(\v2\b.pb.UserR\x04userB\x06Z\x04./pbb\x06proto3"
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,
}
var ( var (
file_models_model_ad_package_instance_proto_rawDescOnce sync.Once 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 { 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_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 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{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 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, NumEnums: 0,
NumMessages: 1, NumMessages: 1,
NumExtensions: 0, NumExtensions: 0,
@@ -246,7 +226,6 @@ func file_models_model_ad_package_instance_proto_init() {
MessageInfos: file_models_model_ad_package_instance_proto_msgTypes, MessageInfos: file_models_model_ad_package_instance_proto_msgTypes,
}.Build() }.Build()
File_models_model_ad_package_instance_proto = out.File 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_goTypes = nil
file_models_model_ad_package_instance_proto_depIdxs = nil file_models_model_ad_package_instance_proto_depIdxs = nil
} }

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.36.0 // protoc-gen-go v1.36.11
// protoc v6.33.2 // protoc v3.19.6
// source: models/model_ad_package_period.proto // source: models/model_ad_package_period.proto
package pb package pb
@@ -11,6 +11,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl" protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect" reflect "reflect"
sync "sync" sync "sync"
unsafe "unsafe"
) )
const ( 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 protoreflect.FileDescriptor
var file_models_model_ad_package_period_proto_rawDesc = []byte{ const file_models_model_ad_package_period_proto_rawDesc = "" +
0x0a, 0x24, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x61, "\n" +
0x64, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x70, 0x65, 0x72, 0x69, 0x6f, 0x64, "$models/model_ad_package_period.proto\x12\x02pb\"w\n" +
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0x77, 0x0a, 0x0f, 0x41, 0x44, "\x0fADPackagePeriod\x12\x0e\n" +
0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x12, 0x0e, 0x0a, "\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, "\x04isOn\x18\x02 \x01(\bR\x04isOn\x12\x14\n" +
0x04, 0x69, 0x73, 0x4f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, "\x05count\x18\x03 \x01(\x05R\x05count\x12\x12\n" +
0x6e, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, "\x04unit\x18\x04 \x01(\tR\x04unit\x12\x16\n" +
0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x6e, 0x69, 0x74, 0x18, "\x06months\x18\x05 \x01(\x05R\x06monthsB\x06Z\x04./pbb\x06proto3"
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,
}
var ( var (
file_models_model_ad_package_period_proto_rawDescOnce sync.Once 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 { 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_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 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{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 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, NumEnums: 0,
NumMessages: 1, NumMessages: 1,
NumExtensions: 0, NumExtensions: 0,
@@ -158,7 +154,6 @@ func file_models_model_ad_package_period_proto_init() {
MessageInfos: file_models_model_ad_package_period_proto_msgTypes, MessageInfos: file_models_model_ad_package_period_proto_msgTypes,
}.Build() }.Build()
File_models_model_ad_package_period_proto = out.File 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_goTypes = nil
file_models_model_ad_package_period_proto_depIdxs = nil file_models_model_ad_package_period_proto_depIdxs = nil
} }

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.36.0 // protoc-gen-go v1.36.11
// protoc v6.33.2 // protoc v3.19.6
// source: models/model_ad_package_price.proto // source: models/model_ad_package_price.proto
package pb package pb
@@ -11,6 +11,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl" protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect" reflect "reflect"
sync "sync" sync "sync"
unsafe "unsafe"
) )
const ( 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 protoreflect.FileDescriptor
var file_models_model_ad_package_price_proto_rawDesc = []byte{ const file_models_model_ad_package_price_proto_rawDesc = "" +
0x0a, 0x23, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x61, "\n" +
0x64, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x2e, "#models/model_ad_package_price.proto\x12\x02pb\"v\n" +
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0x76, 0x0a, 0x0e, 0x41, 0x44, 0x50, "\x0eADPackagePrice\x12 \n" +
0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x61, "\vadPackageId\x18\x01 \x01(\x03R\vadPackageId\x12,\n" +
0x64, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, "\x11adPackagePeriodId\x18\x02 \x01(\x03R\x11adPackagePeriodId\x12\x14\n" +
0x52, 0x0b, 0x61, 0x64, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x49, 0x64, 0x12, 0x2c, 0x0a, "\x05price\x18\x03 \x01(\x01R\x05priceB\x06Z\x04./pbb\x06proto3"
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,
}
var ( var (
file_models_model_ad_package_price_proto_rawDescOnce sync.Once 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 { 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_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 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{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 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, NumEnums: 0,
NumMessages: 1, NumMessages: 1,
NumExtensions: 0, NumExtensions: 0,
@@ -142,7 +136,6 @@ func file_models_model_ad_package_price_proto_init() {
MessageInfos: file_models_model_ad_package_price_proto_msgTypes, MessageInfos: file_models_model_ad_package_price_proto_msgTypes,
}.Build() }.Build()
File_models_model_ad_package_price_proto = out.File 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_goTypes = nil
file_models_model_ad_package_price_proto_depIdxs = nil file_models_model_ad_package_price_proto_depIdxs = nil
} }

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.36.0 // protoc-gen-go v1.36.11
// protoc v6.33.2 // protoc v3.19.6
// source: models/model_admin.proto // source: models/model_admin.proto
package pb package pb
@@ -11,6 +11,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl" protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect" reflect "reflect"
sync "sync" sync "sync"
unsafe "unsafe"
) )
const ( const (
@@ -138,43 +139,30 @@ func (x *Admin) GetHasWeakPassword() bool {
var File_models_model_admin_proto protoreflect.FileDescriptor var File_models_model_admin_proto protoreflect.FileDescriptor
var file_models_model_admin_proto_rawDesc = []byte{ const file_models_model_admin_proto_rawDesc = "" +
0x0a, 0x18, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x61, "\n" +
0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x1f, "\x18models/model_admin.proto\x12\x02pb\x1a\x1fmodels/model_admin_module.proto\x1a\x18models/model_login.proto\"\xb3\x02\n" +
0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x61, 0x64, 0x6d, "\x05Admin\x12\x0e\n" +
0x69, 0x6e, 0x5f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, "\x02id\x18\x01 \x01(\x03R\x02id\x12\x1a\n" +
0x18, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6c, 0x6f, "\bfullname\x18\x02 \x01(\tR\bfullname\x12\x1a\n" +
0x67, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb3, 0x02, 0x0a, 0x05, 0x41, 0x64, "\busername\x18\x03 \x01(\tR\busername\x12\x12\n" +
0x6d, 0x69, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, "\x04isOn\x18\x04 \x01(\bR\x04isOn\x12\x18\n" +
0x02, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x6e, 0x61, 0x6d, 0x65, 0x18, "\aisSuper\x18\x05 \x01(\bR\aisSuper\x12\x1c\n" +
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x6e, 0x61, 0x6d, 0x65, 0x12, "\tcreatedAt\x18\x06 \x01(\x03R\tcreatedAt\x12)\n" +
0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, "\aModules\x18\a \x03(\v2\x0f.pb.AdminModuleR\aModules\x12%\n" +
0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x69, "\botpLogin\x18\b \x01(\v2\t.pb.LoginR\botpLogin\x12\x1a\n" +
0x73, 0x4f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x12, "\bcanLogin\x18\t \x01(\bR\bcanLogin\x12(\n" +
0x18, 0x0a, 0x07, 0x69, 0x73, 0x53, 0x75, 0x70, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, "\x0fhasWeakPassword\x18\n" +
0x52, 0x07, 0x69, 0x73, 0x53, 0x75, 0x70, 0x65, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x72, 0x65, " \x01(\bR\x0fhasWeakPasswordB\x06Z\x04./pbb\x06proto3"
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,
}
var ( var (
file_models_model_admin_proto_rawDescOnce sync.Once 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 { func file_models_model_admin_proto_rawDescGZIP() []byte {
file_models_model_admin_proto_rawDescOnce.Do(func() { 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 return file_models_model_admin_proto_rawDescData
} }
@@ -206,7 +194,7 @@ func file_models_model_admin_proto_init() {
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 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, NumEnums: 0,
NumMessages: 1, NumMessages: 1,
NumExtensions: 0, NumExtensions: 0,
@@ -217,7 +205,6 @@ func file_models_model_admin_proto_init() {
MessageInfos: file_models_model_admin_proto_msgTypes, MessageInfos: file_models_model_admin_proto_msgTypes,
}.Build() }.Build()
File_models_model_admin_proto = out.File 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_goTypes = nil
file_models_model_admin_proto_depIdxs = nil file_models_model_admin_proto_depIdxs = nil
} }

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.36.0 // protoc-gen-go v1.36.11
// protoc v6.33.2 // protoc v3.19.6
// source: models/model_admin_list.proto // source: models/model_admin_list.proto
package pb package pb
@@ -11,6 +11,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl" protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect" reflect "reflect"
sync "sync" sync "sync"
unsafe "unsafe"
) )
const ( 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 protoreflect.FileDescriptor
var file_models_model_admin_list_proto_rawDesc = []byte{ const file_models_model_admin_list_proto_rawDesc = "" +
0x0a, 0x1d, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x61, "\n" +
0x64, 0x6d, 0x69, 0x6e, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, "\x1dmodels/model_admin_list.proto\x12\x02pb\x1a\x1fmodels/model_admin_module.proto\"\xb6\x01\n" +
0x02, 0x70, 0x62, 0x1a, 0x1f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, "\x0fAdminModuleList\x12\x18\n" +
0x6c, 0x5f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x5f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x70, "\aadminId\x18\x01 \x01(\x03R\aadminId\x12\x18\n" +
0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb6, 0x01, 0x0a, 0x0f, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x4d, 0x6f, "\aisSuper\x18\x02 \x01(\bR\aisSuper\x12)\n" +
0x64, 0x75, 0x6c, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x6d, 0x69, "\aModules\x18\x03 \x03(\v2\x0f.pb.AdminModuleR\aModules\x12\x1a\n" +
0x6e, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x61, 0x64, 0x6d, 0x69, 0x6e, "\bfullname\x18\x04 \x01(\tR\bfullname\x12\x14\n" +
0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x69, 0x73, 0x53, 0x75, 0x70, 0x65, 0x72, 0x18, 0x02, 0x20, "\x05theme\x18\x05 \x01(\tR\x05theme\x12\x12\n" +
0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, 0x53, 0x75, 0x70, 0x65, 0x72, 0x12, 0x29, 0x0a, 0x07, "\x04lang\x18\x06 \x01(\tR\x04langB\x06Z\x04./pbb\x06proto3"
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,
}
var ( var (
file_models_model_admin_list_proto_rawDescOnce sync.Once 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 { func file_models_model_admin_list_proto_rawDescGZIP() []byte {
file_models_model_admin_list_proto_rawDescOnce.Do(func() { 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 return file_models_model_admin_list_proto_rawDescData
} }
@@ -162,7 +154,7 @@ func file_models_model_admin_list_proto_init() {
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 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, NumEnums: 0,
NumMessages: 1, NumMessages: 1,
NumExtensions: 0, NumExtensions: 0,
@@ -173,7 +165,6 @@ func file_models_model_admin_list_proto_init() {
MessageInfos: file_models_model_admin_list_proto_msgTypes, MessageInfos: file_models_model_admin_list_proto_msgTypes,
}.Build() }.Build()
File_models_model_admin_list_proto = out.File 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_goTypes = nil
file_models_model_admin_list_proto_depIdxs = nil file_models_model_admin_list_proto_depIdxs = nil
} }

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.36.0 // protoc-gen-go v1.36.11
// protoc v6.33.2 // protoc v3.19.6
// source: models/model_admin_module.proto // source: models/model_admin_module.proto
package pb package pb
@@ -11,6 +11,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl" protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect" reflect "reflect"
sync "sync" sync "sync"
unsafe "unsafe"
) )
const ( 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 protoreflect.FileDescriptor
var file_models_model_admin_module_proto_rawDesc = []byte{ const file_models_model_admin_module_proto_rawDesc = "" +
0x0a, 0x1f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x61, "\n" +
0x64, 0x6d, 0x69, 0x6e, 0x5f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, "\x1fmodels/model_admin_module.proto\x12\x02pb\"W\n" +
0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0x57, 0x0a, 0x0b, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x4d, 0x6f, "\vAdminModule\x12\x1a\n" +
0x64, 0x75, 0x6c, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x41, 0x6c, 0x6c, "\ballowAll\x18\x01 \x01(\bR\ballowAll\x12\x12\n" +
0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x41, 0x6c, 0x6c, "\x04code\x18\x02 \x01(\tR\x04code\x12\x18\n" +
0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, "\aactions\x18\x03 \x03(\tR\aactionsB\x06Z\x04./pbb\x06proto3"
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,
}
var ( var (
file_models_model_admin_module_proto_rawDescOnce sync.Once 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 { func file_models_model_admin_module_proto_rawDescGZIP() []byte {
file_models_model_admin_module_proto_rawDescOnce.Do(func() { 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 return file_models_model_admin_module_proto_rawDescData
} }
@@ -127,7 +124,7 @@ func file_models_model_admin_module_proto_init() {
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 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, NumEnums: 0,
NumMessages: 1, NumMessages: 1,
NumExtensions: 0, NumExtensions: 0,
@@ -138,7 +135,6 @@ func file_models_model_admin_module_proto_init() {
MessageInfos: file_models_model_admin_module_proto_msgTypes, MessageInfos: file_models_model_admin_module_proto_msgTypes,
}.Build() }.Build()
File_models_model_admin_module_proto = out.File 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_goTypes = nil
file_models_model_admin_module_proto_depIdxs = nil file_models_model_admin_module_proto_depIdxs = nil
} }

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.36.0 // protoc-gen-go v1.36.11
// protoc v6.33.2 // protoc v3.19.6
// source: models/model_api_method_stat.proto // source: models/model_api_method_stat.proto
package pb package pb
@@ -11,6 +11,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl" protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect" reflect "reflect"
sync "sync" sync "sync"
unsafe "unsafe"
) )
const ( 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 protoreflect.FileDescriptor
var file_models_model_api_method_stat_proto_rawDesc = []byte{ const file_models_model_api_method_stat_proto_rawDesc = "" +
0x0a, 0x22, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x61, "\n" +
0x70, 0x69, 0x5f, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x2e, 0x70, "\"models/model_api_method_stat.proto\x12\x02pb\x1a\x1bmodels/model_api_node.proto\"\xde\x01\n" +
0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x1b, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, "\rAPIMethodStat\x12\x0e\n" +
0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x2e, "\x02id\x18\x01 \x01(\x03R\x02id\x12\x1c\n" +
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xde, 0x01, 0x0a, 0x0d, 0x41, 0x50, 0x49, 0x4d, 0x65, 0x74, "\tapiNodeId\x18\x02 \x01(\x03R\tapiNodeId\x12\x16\n" +
0x68, 0x6f, 0x64, 0x53, 0x74, 0x61, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, "\x06method\x18\x03 \x01(\tR\x06method\x12\x10\n" +
0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x70, 0x69, 0x4e, 0x6f, "\x03tag\x18\x04 \x01(\tR\x03tag\x12\x16\n" +
0x64, 0x65, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x61, 0x70, 0x69, 0x4e, "\x06costMs\x18\x05 \x01(\x02R\x06costMs\x12\x16\n" +
0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, "\x06peekMs\x18\x06 \x01(\x02R\x06peekMs\x12\x1e\n" +
0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x10, 0x0a, "\n" +
0x03, 0x74, 0x61, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x74, 0x61, 0x67, 0x12, "countCalls\x18\a \x01(\x03R\n" +
0x16, 0x0a, 0x06, 0x63, 0x6f, 0x73, 0x74, 0x4d, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x02, 0x52, "countCalls\x12%\n" +
0x06, 0x63, 0x6f, 0x73, 0x74, 0x4d, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x65, 0x65, 0x6b, 0x4d, "\aapiNode\x18\x1e \x01(\v2\v.pb.APINodeR\aapiNodeB\x06Z\x04./pbb\x06proto3"
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,
}
var ( var (
file_models_model_api_method_stat_proto_rawDescOnce sync.Once 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 { 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_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 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{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 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, NumEnums: 0,
NumMessages: 1, NumMessages: 1,
NumExtensions: 0, NumExtensions: 0,
@@ -192,7 +185,6 @@ func file_models_model_api_method_stat_proto_init() {
MessageInfos: file_models_model_api_method_stat_proto_msgTypes, MessageInfos: file_models_model_api_method_stat_proto_msgTypes,
}.Build() }.Build()
File_models_model_api_method_stat_proto = out.File 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_goTypes = nil
file_models_model_api_method_stat_proto_depIdxs = nil file_models_model_api_method_stat_proto_depIdxs = nil
} }

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.36.0 // protoc-gen-go v1.36.11
// protoc v6.33.2 // protoc v3.19.6
// source: models/model_api_node.proto // source: models/model_api_node.proto
package pb package pb
@@ -11,6 +11,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl" protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect" reflect "reflect"
sync "sync" sync "sync"
unsafe "unsafe"
) )
const ( 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 protoreflect.FileDescriptor
var file_models_model_api_node_proto_rawDesc = []byte{ const file_models_model_api_node_proto_rawDesc = "" +
0x0a, 0x1b, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x61, "\n" +
0x70, 0x69, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, "\x1bmodels/model_api_node.proto\x12\x02pb\"\xa1\x04\n" +
0x62, 0x22, 0xa1, 0x04, 0x0a, 0x07, 0x41, 0x50, 0x49, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x0e, 0x0a, "\aAPINode\x12\x0e\n" +
0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, "\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
0x04, 0x69, 0x73, 0x4f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, "\x04isOn\x18\x02 \x01(\bR\x04isOn\x12$\n" +
0x6e, 0x12, 0x24, 0x0a, 0x0d, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, "\rnodeClusterId\x18\x03 \x01(\x03R\rnodeClusterId\x12\x1a\n" +
0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6c, "\buniqueId\x18\x04 \x01(\tR\buniqueId\x12\x16\n" +
0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x6e, 0x69, 0x71, 0x75, "\x06secret\x18\x05 \x01(\tR\x06secret\x12\x12\n" +
0x65, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x6e, 0x69, 0x71, 0x75, "\x04name\x18\x06 \x01(\tR\x04name\x12 \n" +
0x65, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x05, 0x20, "\vdescription\x18\a \x01(\tR\vdescription\x12\x1a\n" +
0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, "\bhttpJSON\x18\b \x01(\fR\bhttpJSON\x12\x1c\n" +
0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, "\thttpsJSON\x18\t \x01(\fR\thttpsJSON\x12\x1a\n" +
0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, "\bRestIsOn\x18\r \x01(\bR\bRestIsOn\x12\"\n" +
0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, "\frestHTTPJSON\x18\x0e \x01(\fR\frestHTTPJSON\x12$\n" +
0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x74, 0x74, 0x70, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x08, 0x20, "\rrestHTTPSJSON\x18\x0f \x01(\fR\rrestHTTPSJSON\x12(\n" +
0x01, 0x28, 0x0c, 0x52, 0x08, 0x68, 0x74, 0x74, 0x70, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x1c, 0x0a, "\x0faccessAddrsJSON\x18\n" +
0x09, 0x68, 0x74, 0x74, 0x70, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0c, " \x01(\fR\x0faccessAddrsJSON\x12 \n" +
0x52, 0x09, 0x68, 0x74, 0x74, 0x70, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x1a, 0x0a, 0x08, 0x52, "\vaccessAddrs\x18\v \x03(\tR\vaccessAddrs\x12\x1e\n" +
0x65, 0x73, 0x74, 0x49, 0x73, 0x4f, 0x6e, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x52, "\n" +
0x65, 0x73, 0x74, 0x49, 0x73, 0x4f, 0x6e, 0x12, 0x22, 0x0a, 0x0c, 0x72, 0x65, 0x73, 0x74, 0x48, "statusJSON\x18\f \x01(\fR\n" +
0x54, 0x54, 0x50, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x72, "statusJSON\x12\x1c\n" +
0x65, 0x73, 0x74, 0x48, 0x54, 0x54, 0x50, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x24, 0x0a, 0x0d, 0x72, "\tisPrimary\x18\x10 \x01(\bR\tisPrimary\x12\x14\n" +
0x65, 0x73, 0x74, 0x48, 0x54, 0x54, 0x50, 0x53, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x0f, 0x20, 0x01, "\x05debug\x18\x1e \x01(\bR\x05debug\x12\"\n" +
0x28, 0x0c, 0x52, 0x0d, 0x72, 0x65, 0x73, 0x74, 0x48, 0x54, 0x54, 0x50, 0x53, 0x4a, 0x53, 0x4f, "\finstanceCode\x18\x1f \x01(\tR\finstanceCodeB\x06Z\x04./pbb\x06proto3"
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,
}
var ( var (
file_models_model_api_node_proto_rawDescOnce sync.Once 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 { func file_models_model_api_node_proto_rawDescGZIP() []byte {
file_models_model_api_node_proto_rawDescOnce.Do(func() { 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 return file_models_model_api_node_proto_rawDescData
} }
@@ -276,7 +262,7 @@ func file_models_model_api_node_proto_init() {
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 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, NumEnums: 0,
NumMessages: 1, NumMessages: 1,
NumExtensions: 0, NumExtensions: 0,
@@ -287,7 +273,6 @@ func file_models_model_api_node_proto_init() {
MessageInfos: file_models_model_api_node_proto_msgTypes, MessageInfos: file_models_model_api_node_proto_msgTypes,
}.Build() }.Build()
File_models_model_api_node_proto = out.File 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_goTypes = nil
file_models_model_api_node_proto_depIdxs = nil file_models_model_api_node_proto_depIdxs = nil
} }

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.36.0 // protoc-gen-go v1.36.11
// protoc v6.33.2 // protoc v3.19.6
// source: models/model_api_token.proto // source: models/model_api_token.proto
package pb package pb
@@ -11,6 +11,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl" protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect" reflect "reflect"
sync "sync" sync "sync"
unsafe "unsafe"
) )
const ( 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 protoreflect.FileDescriptor
var file_models_model_api_token_proto_rawDesc = []byte{ const file_models_model_api_token_proto_rawDesc = "" +
0x0a, 0x1c, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x61, "\n" +
0x70, 0x69, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, "\x1cmodels/model_api_token.proto\x12\x02pb\"^\n" +
0x70, 0x62, 0x22, 0x5e, 0x0a, 0x08, 0x41, 0x50, 0x49, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x0e, "\bAPIToken\x12\x0e\n" +
0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x16, "\x02id\x18\x01 \x01(\x03R\x02id\x12\x16\n" +
0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, "\x06nodeId\x18\x02 \x01(\tR\x06nodeId\x12\x16\n" +
0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, "\x06secret\x18\x03 \x01(\tR\x06secret\x12\x12\n" +
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x12, "\x04role\x18\x04 \x01(\tR\x04roleB\x06Z\x04./pbb\x06proto3"
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,
}
var ( var (
file_models_model_api_token_proto_rawDescOnce sync.Once 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 { func file_models_model_api_token_proto_rawDescGZIP() []byte {
file_models_model_api_token_proto_rawDescOnce.Do(func() { 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 return file_models_model_api_token_proto_rawDescData
} }
@@ -137,7 +134,7 @@ func file_models_model_api_token_proto_init() {
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 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, NumEnums: 0,
NumMessages: 1, NumMessages: 1,
NumExtensions: 0, NumExtensions: 0,
@@ -148,7 +145,6 @@ func file_models_model_api_token_proto_init() {
MessageInfos: file_models_model_api_token_proto_msgTypes, MessageInfos: file_models_model_api_token_proto_msgTypes,
}.Build() }.Build()
File_models_model_api_token_proto = out.File 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_goTypes = nil
file_models_model_api_token_proto_depIdxs = nil file_models_model_api_token_proto_depIdxs = nil
} }

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.36.0 // protoc-gen-go v1.36.11
// protoc v6.33.2 // protoc v3.19.6
// source: models/model_authority_key.proto // source: models/model_authority_key.proto
package pb package pb
@@ -11,6 +11,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl" protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect" reflect "reflect"
sync "sync" sync "sync"
unsafe "unsafe"
) )
const ( 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 protoreflect.FileDescriptor
var file_models_model_authority_key_proto_rawDesc = []byte{ const file_models_model_authority_key_proto_rawDesc = "" +
0x0a, 0x20, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x61, "\n" +
0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x6b, 0x65, 0x79, 0x2e, 0x70, 0x72, 0x6f, " models/model_authority_key.proto\x12\x02pb\"\xbe\x02\n" +
0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0xbe, 0x02, 0x0a, 0x0c, 0x41, 0x75, 0x74, 0x68, 0x6f, "\fAuthorityKey\x12\x14\n" +
0x72, 0x69, 0x74, 0x79, 0x4b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, "\x05value\x18\x01 \x01(\tR\x05value\x12\x18\n" +
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x18, 0x0a, "\adayFrom\x18\x02 \x01(\tR\adayFrom\x12\x14\n" +
0x07, 0x64, 0x61, 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, "\x05dayTo\x18\x03 \x01(\tR\x05dayTo\x12\x1a\n" +
0x64, 0x61, 0x79, 0x46, 0x72, 0x6f, 0x6d, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x61, 0x79, 0x54, 0x6f, "\bhostname\x18\x04 \x01(\tR\bhostname\x12\"\n" +
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x61, 0x79, 0x54, 0x6f, 0x12, 0x1a, 0x0a, "\fmacAddresses\x18\x05 \x03(\tR\fmacAddresses\x12\x1c\n" +
0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, "\tupdatedAt\x18\x06 \x01(\x03R\tupdatedAt\x12\x18\n" +
0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x6d, 0x61, 0x63, "\acompany\x18\a \x01(\tR\acompany\x12\x14\n" +
0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, "\x05nodes\x18\b \x01(\x05R\x05nodes\x12\x1e\n" +
0x0c, 0x6d, 0x61, 0x63, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x1c, 0x0a, "\n" +
0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, "components\x18\t \x03(\tR\n" +
0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x63, "components\x12\x18\n" +
0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, "\aedition\x18\n" +
0x6d, 0x70, 0x61, 0x6e, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x08, " \x01(\tR\aedition\x12 \n" +
0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x63, "\vrequestCode\x18\v \x01(\tR\vrequestCodeB\x06Z\x04./pbb\x06proto3"
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,
}
var ( var (
file_models_model_authority_key_proto_rawDescOnce sync.Once 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 { func file_models_model_authority_key_proto_rawDescGZIP() []byte {
file_models_model_authority_key_proto_rawDescOnce.Do(func() { 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 return file_models_model_authority_key_proto_rawDescData
} }
@@ -207,7 +200,7 @@ func file_models_model_authority_key_proto_init() {
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 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, NumEnums: 0,
NumMessages: 1, NumMessages: 1,
NumExtensions: 0, NumExtensions: 0,
@@ -218,7 +211,6 @@ func file_models_model_authority_key_proto_init() {
MessageInfos: file_models_model_authority_key_proto_msgTypes, MessageInfos: file_models_model_authority_key_proto_msgTypes,
}.Build() }.Build()
File_models_model_authority_key_proto = out.File 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_goTypes = nil
file_models_model_authority_key_proto_depIdxs = nil file_models_model_authority_key_proto_depIdxs = nil
} }

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.36.0 // protoc-gen-go v1.36.11
// protoc v6.33.2 // protoc v3.19.6
// source: models/model_authority_node.proto // source: models/model_authority_node.proto
package pb package pb
@@ -11,6 +11,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl" protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect" reflect "reflect"
sync "sync" sync "sync"
unsafe "unsafe"
) )
const ( 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 protoreflect.FileDescriptor
var file_models_model_authority_node_proto_rawDesc = []byte{ const file_models_model_authority_node_proto_rawDesc = "" +
0x0a, 0x21, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x61, "\n" +
0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, "!models/model_authority_node.proto\x12\x02pb\"\xbd\x01\n" +
0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0xbd, 0x01, 0x0a, 0x0d, 0x41, 0x75, 0x74, 0x68, "\rAuthorityNode\x12\x0e\n" +
0x6f, 0x72, 0x69, 0x74, 0x79, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, "\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, "\x04isOn\x18\x02 \x01(\bR\x04isOn\x12\x1a\n" +
0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x12, 0x1a, 0x0a, "\buniqueId\x18\x03 \x01(\tR\buniqueId\x12\x16\n" +
0x08, 0x75, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, "\x06secret\x18\x04 \x01(\tR\x06secret\x12\x12\n" +
0x08, 0x75, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x63, "\x04name\x18\x05 \x01(\tR\x04name\x12 \n" +
0x72, 0x65, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, "\vdescription\x18\x06 \x01(\tR\vdescription\x12\x1e\n" +
0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, "\n" +
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, "statusJSON\x18\a \x01(\fR\n" +
0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, "statusJSONB\x06Z\x04./pbb\x06proto3"
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,
}
var ( var (
file_models_model_authority_node_proto_rawDescOnce sync.Once 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 { func file_models_model_authority_node_proto_rawDescGZIP() []byte {
file_models_model_authority_node_proto_rawDescOnce.Do(func() { 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 return file_models_model_authority_node_proto_rawDescData
} }
@@ -166,7 +162,7 @@ func file_models_model_authority_node_proto_init() {
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 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, NumEnums: 0,
NumMessages: 1, NumMessages: 1,
NumExtensions: 0, NumExtensions: 0,
@@ -177,7 +173,6 @@ func file_models_model_authority_node_proto_init() {
MessageInfos: file_models_model_authority_node_proto_msgTypes, MessageInfos: file_models_model_authority_node_proto_msgTypes,
}.Build() }.Build()
File_models_model_authority_node_proto = out.File 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_goTypes = nil
file_models_model_authority_node_proto_depIdxs = nil file_models_model_authority_node_proto_depIdxs = nil
} }

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.36.0 // protoc-gen-go v1.36.11
// protoc v6.33.2 // protoc v3.19.6
// source: models/model_client_agent.proto // source: models/model_client_agent.proto
package pb package pb
@@ -11,6 +11,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl" protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect" reflect "reflect"
sync "sync" sync "sync"
unsafe "unsafe"
) )
const ( 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 protoreflect.FileDescriptor
var file_models_model_client_agent_proto_rawDesc = []byte{ const file_models_model_client_agent_proto_rawDesc = "" +
0x0a, 0x1f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x63, "\n" +
0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, "\x1fmodels/model_client_agent.proto\x12\x02pb\"\x83\x01\n" +
0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0x83, 0x01, 0x0a, 0x0b, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, "\vClientAgent\x12\x0e\n" +
0x41, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, "\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, "\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n" +
0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, "\x04code\x18\x03 \x01(\tR\x04code\x12 \n" +
0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x20, 0x0a, "\vdescription\x18\x04 \x01(\tR\vdescription\x12\x1a\n" +
0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, "\bcountIPs\x18\x05 \x01(\x03R\bcountIPsB\x06Z\x04./pbb\x06proto3"
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,
}
var ( var (
file_models_model_client_agent_proto_rawDescOnce sync.Once 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 { func file_models_model_client_agent_proto_rawDescGZIP() []byte {
file_models_model_client_agent_proto_rawDescOnce.Do(func() { 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 return file_models_model_client_agent_proto_rawDescData
} }
@@ -146,7 +142,7 @@ func file_models_model_client_agent_proto_init() {
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 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, NumEnums: 0,
NumMessages: 1, NumMessages: 1,
NumExtensions: 0, NumExtensions: 0,
@@ -157,7 +153,6 @@ func file_models_model_client_agent_proto_init() {
MessageInfos: file_models_model_client_agent_proto_msgTypes, MessageInfos: file_models_model_client_agent_proto_msgTypes,
}.Build() }.Build()
File_models_model_client_agent_proto = out.File 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_goTypes = nil
file_models_model_client_agent_proto_depIdxs = nil file_models_model_client_agent_proto_depIdxs = nil
} }

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.36.0 // protoc-gen-go v1.36.11
// protoc v6.33.2 // protoc v3.19.6
// source: models/model_client_agent_ip.proto // source: models/model_client_agent_ip.proto
package pb package pb
@@ -11,6 +11,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl" protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect" reflect "reflect"
sync "sync" sync "sync"
unsafe "unsafe"
) )
const ( 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 protoreflect.FileDescriptor
var file_models_model_client_agent_ip_proto_rawDesc = []byte{ const file_models_model_client_agent_ip_proto_rawDesc = "" +
0x0a, 0x22, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x63, "\n" +
0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x70, 0x2e, 0x70, "\"models/model_client_agent_ip.proto\x12\x02pb\x1a\x1fmodels/model_client_agent.proto\"t\n" +
0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x1f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, "\rClientAgentIP\x12\x0e\n" +
0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x61, 0x67, "\x02id\x18\x01 \x01(\x03R\x02id\x12\x0e\n" +
0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x74, 0x0a, 0x0d, 0x43, 0x6c, 0x69, "\x02ip\x18\x02 \x01(\tR\x02ip\x12\x10\n" +
0x65, 0x6e, 0x74, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x49, 0x50, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, "\x03ptr\x18\x03 \x01(\tR\x03ptr\x121\n" +
0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x70, "\vclientAgent\x18\x1e \x01(\v2\x0f.pb.ClientAgentR\vclientAgentB\x06Z\x04./pbb\x06proto3"
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,
}
var ( var (
file_models_model_client_agent_ip_proto_rawDescOnce sync.Once 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 { 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_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 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{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 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, NumEnums: 0,
NumMessages: 1, NumMessages: 1,
NumExtensions: 0, NumExtensions: 0,
@@ -153,7 +147,6 @@ func file_models_model_client_agent_ip_proto_init() {
MessageInfos: file_models_model_client_agent_ip_proto_msgTypes, MessageInfos: file_models_model_client_agent_ip_proto_msgTypes,
}.Build() }.Build()
File_models_model_client_agent_ip_proto = out.File 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_goTypes = nil
file_models_model_client_agent_ip_proto_depIdxs = nil file_models_model_client_agent_ip_proto_depIdxs = nil
} }

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.36.0 // protoc-gen-go v1.36.11
// protoc v6.33.2 // protoc v3.19.6
// source: models/model_client_browser.proto // source: models/model_client_browser.proto
package pb package pb
@@ -11,6 +11,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl" protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect" reflect "reflect"
sync "sync" sync "sync"
unsafe "unsafe"
) )
const ( 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 protoreflect.FileDescriptor
var file_models_model_client_browser_proto_rawDesc = []byte{ const file_models_model_client_browser_proto_rawDesc = "" +
0x0a, 0x21, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x63, "\n" +
0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x62, 0x72, 0x6f, 0x77, 0x73, 0x65, 0x72, 0x2e, 0x70, 0x72, "!models/model_client_browser.proto\x12\x02pb\"3\n" +
0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0x33, 0x0a, 0x0d, 0x43, 0x6c, 0x69, 0x65, 0x6e, "\rClientBrowser\x12\x0e\n" +
0x74, 0x42, 0x72, 0x6f, 0x77, 0x73, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, "\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, "\x04name\x18\x02 \x01(\tR\x04nameB\x06Z\x04./pbb\x06proto3"
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,
}
var ( var (
file_models_model_client_browser_proto_rawDescOnce sync.Once 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 { func file_models_model_client_browser_proto_rawDescGZIP() []byte {
file_models_model_client_browser_proto_rawDescOnce.Do(func() { 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 return file_models_model_client_browser_proto_rawDescData
} }
@@ -117,7 +115,7 @@ func file_models_model_client_browser_proto_init() {
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 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, NumEnums: 0,
NumMessages: 1, NumMessages: 1,
NumExtensions: 0, NumExtensions: 0,
@@ -128,7 +126,6 @@ func file_models_model_client_browser_proto_init() {
MessageInfos: file_models_model_client_browser_proto_msgTypes, MessageInfos: file_models_model_client_browser_proto_msgTypes,
}.Build() }.Build()
File_models_model_client_browser_proto = out.File 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_goTypes = nil
file_models_model_client_browser_proto_depIdxs = nil file_models_model_client_browser_proto_depIdxs = nil
} }

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.36.0 // protoc-gen-go v1.36.11
// protoc v6.33.2 // protoc v3.19.6
// source: models/model_client_system.proto // source: models/model_client_system.proto
package pb package pb
@@ -11,6 +11,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl" protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect" reflect "reflect"
sync "sync" sync "sync"
unsafe "unsafe"
) )
const ( 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 protoreflect.FileDescriptor
var file_models_model_client_system_proto_rawDesc = []byte{ const file_models_model_client_system_proto_rawDesc = "" +
0x0a, 0x20, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x63, "\n" +
0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x70, 0x72, 0x6f, " models/model_client_system.proto\x12\x02pb\"2\n" +
0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0x32, 0x0a, 0x0c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, "\fClientSystem\x12\x0e\n" +
0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, "\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, "\x04name\x18\x02 \x01(\tR\x04nameB\x06Z\x04./pbb\x06proto3"
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,
}
var ( var (
file_models_model_client_system_proto_rawDescOnce sync.Once 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 { func file_models_model_client_system_proto_rawDescGZIP() []byte {
file_models_model_client_system_proto_rawDescOnce.Do(func() { 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 return file_models_model_client_system_proto_rawDescData
} }
@@ -117,7 +115,7 @@ func file_models_model_client_system_proto_init() {
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 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, NumEnums: 0,
NumMessages: 1, NumMessages: 1,
NumExtensions: 0, NumExtensions: 0,
@@ -128,7 +126,6 @@ func file_models_model_client_system_proto_init() {
MessageInfos: file_models_model_client_system_proto_msgTypes, MessageInfos: file_models_model_client_system_proto_msgTypes,
}.Build() }.Build()
File_models_model_client_system_proto = out.File 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_goTypes = nil
file_models_model_client_system_proto_depIdxs = nil file_models_model_client_system_proto_depIdxs = nil
} }

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.36.0 // protoc-gen-go v1.36.11
// protoc v6.33.2 // protoc v3.19.6
// source: models/model_db_node.proto // source: models/model_db_node.proto
package pb package pb
@@ -11,6 +11,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl" protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect" reflect "reflect"
sync "sync" sync "sync"
unsafe "unsafe"
) )
const ( 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 protoreflect.FileDescriptor
var file_models_model_db_node_proto_rawDesc = []byte{ const file_models_model_db_node_proto_rawDesc = "" +
0x0a, 0x1a, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x64, "\n" +
0x62, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, "\x1amodels/model_db_node.proto\x12\x02pb\"\xa2\x02\n" +
0x22, 0xa2, 0x02, 0x0a, 0x06, 0x44, 0x42, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, "\x06DBNode\x12\x0e\n" +
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, "\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, "\x04name\x18\x02 \x01(\tR\x04name\x12 \n" +
0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, "\vdescription\x18\x03 \x01(\tR\vdescription\x12\x12\n" +
0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, "\x04isOn\x18\x04 \x01(\bR\x04isOn\x12\x12\n" +
0x6e, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, "\x04host\x18\x05 \x01(\tR\x04host\x12\x12\n" +
0x04, 0x69, 0x73, 0x4f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x05, 0x20, "\x04port\x18\x06 \x01(\x05R\x04port\x12\x1a\n" +
0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, "\bdatabase\x18\a \x01(\tR\bdatabase\x12\x1a\n" +
0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x1a, 0x0a, "\busername\x18\b \x01(\tR\busername\x12\x1a\n" +
0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, "\bpassword\x18\t \x01(\tR\bpassword\x12\x18\n" +
0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, "\acharset\x18\n" +
0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, " \x01(\tR\acharset\x12(\n" +
0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, "\x06status\x18\x1e \x01(\v2\x10.pb.DBNodeStatusR\x06status\"f\n" +
0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, "\fDBNodeStatus\x12\x12\n" +
0x64, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x72, 0x73, 0x65, 0x74, 0x18, 0x0a, 0x20, 0x01, "\x04isOk\x18\x01 \x01(\bR\x04isOk\x12\x12\n" +
0x28, 0x09, 0x52, 0x07, 0x63, 0x68, 0x61, 0x72, 0x73, 0x65, 0x74, 0x12, 0x28, 0x0a, 0x06, 0x73, "\x04size\x18\x02 \x01(\x03R\x04size\x12\x14\n" +
0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x62, "\x05error\x18\x03 \x01(\tR\x05error\x12\x18\n" +
0x2e, 0x44, 0x42, 0x4e, 0x6f, 0x64, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, "\aversion\x18\x04 \x01(\tR\aversionB\x06Z\x04./pbb\x06proto3"
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,
}
var ( var (
file_models_model_db_node_proto_rawDescOnce sync.Once 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 { func file_models_model_db_node_proto_rawDescGZIP() []byte {
file_models_model_db_node_proto_rawDescOnce.Do(func() { 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 return file_models_model_db_node_proto_rawDescData
} }
@@ -280,7 +272,7 @@ func file_models_model_db_node_proto_init() {
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 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, NumEnums: 0,
NumMessages: 2, NumMessages: 2,
NumExtensions: 0, NumExtensions: 0,
@@ -291,7 +283,6 @@ func file_models_model_db_node_proto_init() {
MessageInfos: file_models_model_db_node_proto_msgTypes, MessageInfos: file_models_model_db_node_proto_msgTypes,
}.Build() }.Build()
File_models_model_db_node_proto = out.File 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_goTypes = nil
file_models_model_db_node_proto_depIdxs = nil file_models_model_db_node_proto_depIdxs = nil
} }

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.36.0 // protoc-gen-go v1.36.11
// protoc v6.33.2 // protoc v3.19.6
// source: models/model_db_table.proto // source: models/model_db_table.proto
package pb package pb
@@ -11,6 +11,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl" protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect" reflect "reflect"
sync "sync" sync "sync"
unsafe "unsafe"
) )
const ( 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 protoreflect.FileDescriptor
var file_models_model_db_table_proto_rawDesc = []byte{ const file_models_model_db_table_proto_rawDesc = "" +
0x0a, 0x1b, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x64, "\n" +
0x62, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, "\x1bmodels/model_db_table.proto\x12\x02pb\"\xcb\x02\n" +
0x62, 0x22, 0xcb, 0x02, 0x0a, 0x07, 0x44, 0x42, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x12, 0x0a, "\aDBTable\x12\x12\n" +
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, "\x04name\x18\x01 \x01(\tR\x04name\x12\x16\n" +
0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, "\x06schema\x18\x02 \x01(\tR\x06schema\x12\x12\n" +
0x09, 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, "\x04type\x18\x03 \x01(\tR\x04type\x12\x16\n" +
0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, "\x06engine\x18\x04 \x01(\tR\x06engine\x12\x12\n" +
0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, "\x04rows\x18\x05 \x01(\x03R\x04rows\x12\x1e\n" +
0x6e, 0x67, 0x69, 0x6e, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x05, 0x20, "\n" +
0x01, 0x28, 0x03, 0x52, 0x04, 0x72, 0x6f, 0x77, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x61, 0x74, "dataLength\x18\x06 \x01(\x03R\n" +
0x61, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x64, "dataLength\x12 \n" +
0x61, 0x74, 0x61, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x20, 0x0a, 0x0b, 0x69, 0x6e, 0x64, "\vindexLength\x18\a \x01(\x03R\vindexLength\x12\x18\n" +
0x65, 0x78, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, "\acomment\x18\b \x01(\tR\acomment\x12\x1c\n" +
0x69, 0x6e, 0x64, 0x65, 0x78, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x18, 0x0a, 0x07, 0x63, "\tcollation\x18\t \x01(\tR\tcollation\x12 \n" +
0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, "\visBaseTable\x18\n" +
0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x69, " \x01(\bR\visBaseTable\x12\x1a\n" +
0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x74, "\bcanClean\x18\v \x01(\bR\bcanClean\x12\x1c\n" +
0x69, 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x69, 0x73, 0x42, 0x61, 0x73, 0x65, 0x54, 0x61, 0x62, "\tcanDelete\x18\f \x01(\bR\tcanDeleteB\x06Z\x04./pbb\x06proto3"
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,
}
var ( var (
file_models_model_db_table_proto_rawDescOnce sync.Once 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 { func file_models_model_db_table_proto_rawDescGZIP() []byte {
file_models_model_db_table_proto_rawDescOnce.Do(func() { 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 return file_models_model_db_table_proto_rawDescData
} }
@@ -215,7 +209,7 @@ func file_models_model_db_table_proto_init() {
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 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, NumEnums: 0,
NumMessages: 1, NumMessages: 1,
NumExtensions: 0, NumExtensions: 0,
@@ -226,7 +220,6 @@ func file_models_model_db_table_proto_init() {
MessageInfos: file_models_model_db_table_proto_msgTypes, MessageInfos: file_models_model_db_table_proto_msgTypes,
}.Build() }.Build()
File_models_model_db_table_proto = out.File 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_goTypes = nil
file_models_model_db_table_proto_depIdxs = nil file_models_model_db_table_proto_depIdxs = nil
} }

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.36.0 // protoc-gen-go v1.36.11
// protoc v6.33.2 // protoc v3.19.6
// source: models/model_dns_domain.proto // source: models/model_dns_domain.proto
package pb package pb
@@ -11,6 +11,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl" protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect" reflect "reflect"
sync "sync" sync "sync"
unsafe "unsafe"
) )
const ( 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 protoreflect.FileDescriptor
var file_models_model_dns_domain_proto_rawDesc = []byte{ const file_models_model_dns_domain_proto_rawDesc = "" +
0x0a, 0x1d, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x64, "\n" +
0x6e, 0x73, 0x5f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, "\x1dmodels/model_dns_domain.proto\x12\x02pb\x1a\x1cmodels/model_dns_route.proto\"\xa5\x04\n" +
0x02, 0x70, 0x62, 0x1a, 0x1c, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, "\tDNSDomain\x12\x0e\n" +
0x6c, 0x5f, 0x64, 0x6e, 0x73, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, "\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
0x6f, 0x22, 0xa5, 0x04, 0x0a, 0x09, 0x44, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, "\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n" +
0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, "\x04isOn\x18\x03 \x01(\bR\x04isOn\x12$\n" +
0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, "\rdataUpdatedAt\x18\x04 \x01(\x03R\rdataUpdatedAt\x12\x1c\n" +
0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, "\tdataError\x18\x05 \x01(\tR\tdataError\x12.\n" +
0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x12, 0x24, 0x0a, 0x0d, 0x64, 0x61, 0x74, 0x61, 0x55, "\x12countServerRecords\x18\x06 \x01(\x03R\x12countServerRecords\x12(\n" +
0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, "\x0fcountAllServers\x18\r \x01(\x03R\x0fcountAllServers\x12&\n" +
0x64, 0x61, 0x74, 0x61, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1c, 0x0a, "\x0eserversChanged\x18\a \x01(\bR\x0eserversChanged\x12*\n" +
0x09, 0x64, 0x61, 0x74, 0x61, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, "\x10countNodeRecords\x18\b \x01(\x03R\x10countNodeRecords\x12$\n" +
0x52, 0x09, 0x64, 0x61, 0x74, 0x61, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x2e, 0x0a, 0x12, 0x63, "\rcountAllNodes\x18\x0e \x01(\x03R\rcountAllNodes\x12\"\n" +
0x6f, 0x75, 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, "\fnodesChanged\x18\t \x01(\bR\fnodesChanged\x12$\n" +
0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x65, "\x06routes\x18\n" +
0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x12, 0x28, 0x0a, 0x0f, 0x63, " \x03(\v2\f.pb.DNSRouteR\x06routes\x12\x1e\n" +
0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x18, 0x0d, "\n" +
0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x6c, 0x6c, 0x53, 0x65, "providerId\x18\v \x01(\x03R\n" +
0x72, 0x76, 0x65, 0x72, 0x73, 0x12, 0x26, 0x0a, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, "providerId\x12,\n" +
0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x73, "\x11countNodeClusters\x18\f \x01(\x03R\x11countNodeClusters\x12\x12\n" +
0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x12, 0x2a, 0x0a, "\x04isUp\x18\x0f \x01(\bR\x04isUp\x12\x1c\n" +
0x10, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, "\tisDeleted\x18\x10 \x01(\bR\tisDeletedB\x06Z\x04./pbb\x06proto3"
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,
}
var ( var (
file_models_model_dns_domain_proto_rawDescOnce sync.Once 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 { func file_models_model_dns_domain_proto_rawDescGZIP() []byte {
file_models_model_dns_domain_proto_rawDescOnce.Do(func() { 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 return file_models_model_dns_domain_proto_rawDescData
} }
@@ -265,7 +247,7 @@ func file_models_model_dns_domain_proto_init() {
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 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, NumEnums: 0,
NumMessages: 1, NumMessages: 1,
NumExtensions: 0, NumExtensions: 0,
@@ -276,7 +258,6 @@ func file_models_model_dns_domain_proto_init() {
MessageInfos: file_models_model_dns_domain_proto_msgTypes, MessageInfos: file_models_model_dns_domain_proto_msgTypes,
}.Build() }.Build()
File_models_model_dns_domain_proto = out.File 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_goTypes = nil
file_models_model_dns_domain_proto_depIdxs = nil file_models_model_dns_domain_proto_depIdxs = nil
} }

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.36.0 // protoc-gen-go v1.36.11
// protoc v6.33.2 // protoc v3.19.6
// source: models/model_dns_issue.proto // source: models/model_dns_issue.proto
package pb package pb
@@ -11,6 +11,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl" protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect" reflect "reflect"
sync "sync" sync "sync"
unsafe "unsafe"
) )
const ( 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 protoreflect.FileDescriptor
var file_models_model_dns_issue_proto_rawDesc = []byte{ const file_models_model_dns_issue_proto_rawDesc = "" +
0x0a, 0x1c, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x64, "\n" +
0x6e, 0x73, 0x5f, 0x69, 0x73, 0x73, 0x75, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, "\x1cmodels/model_dns_issue.proto\x12\x02pb\"\xfb\x01\n" +
0x70, 0x62, 0x22, 0xfb, 0x01, 0x0a, 0x08, 0x44, 0x4e, 0x53, 0x49, 0x73, 0x73, 0x75, 0x65, 0x12, "\bDNSIssue\x12\x16\n" +
0x16, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, "\x06target\x18\x01 \x01(\tR\x06target\x12\x1a\n" +
0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x61, 0x72, 0x67, 0x65, "\btargetId\x18\x02 \x01(\x03R\btargetId\x12\x12\n" +
0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x74, 0x61, 0x72, 0x67, 0x65, "\x04type\x18\x03 \x01(\tR\x04type\x12 \n" +
0x74, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, "\vdescription\x18\x04 \x01(\tR\vdescription\x120\n" +
0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, "\x06params\x18\x05 \x03(\v2\x18.pb.DNSIssue.ParamsEntryR\x06params\x12\x18\n" +
0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, "\amustFix\x18\x06 \x01(\bR\amustFix\x1a9\n" +
0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x30, 0x0a, 0x06, 0x70, 0x61, 0x72, "\vParamsEntry\x12\x10\n" +
0x61, 0x6d, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x62, 0x2e, 0x44, "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
0x4e, 0x53, 0x49, 0x73, 0x73, 0x75, 0x65, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x45, 0x6e, "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01B\x06Z\x04./pbb\x06proto3"
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,
}
var ( var (
file_models_model_dns_issue_proto_rawDescOnce sync.Once 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 { func file_models_model_dns_issue_proto_rawDescGZIP() []byte {
file_models_model_dns_issue_proto_rawDescOnce.Do(func() { 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 return file_models_model_dns_issue_proto_rawDescData
} }
@@ -163,7 +156,7 @@ func file_models_model_dns_issue_proto_init() {
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 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, NumEnums: 0,
NumMessages: 2, NumMessages: 2,
NumExtensions: 0, NumExtensions: 0,
@@ -174,7 +167,6 @@ func file_models_model_dns_issue_proto_init() {
MessageInfos: file_models_model_dns_issue_proto_msgTypes, MessageInfos: file_models_model_dns_issue_proto_msgTypes,
}.Build() }.Build()
File_models_model_dns_issue_proto = out.File 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_goTypes = nil
file_models_model_dns_issue_proto_depIdxs = nil file_models_model_dns_issue_proto_depIdxs = nil
} }

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.36.0 // protoc-gen-go v1.36.11
// protoc v6.33.2 // protoc v3.19.6
// source: models/model_dns_provider.proto // source: models/model_dns_provider.proto
package pb package pb
@@ -11,6 +11,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl" protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect" reflect "reflect"
sync "sync" sync "sync"
unsafe "unsafe"
) )
const ( 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 protoreflect.FileDescriptor
var file_models_model_dns_provider_proto_rawDesc = []byte{ const file_models_model_dns_provider_proto_rawDesc = "" +
0x0a, 0x1f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x64, "\n" +
0x6e, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, "\x1fmodels/model_dns_provider.proto\x12\x02pb\"\xc5\x01\n" +
0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0xc5, 0x01, 0x0a, 0x0b, 0x44, 0x4e, 0x53, 0x50, 0x72, 0x6f, "\vDNSProvider\x12\x0e\n" +
0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, "\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, "\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n" +
0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, "\x04type\x18\x03 \x01(\tR\x04type\x12\x1a\n" +
0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, "\btypeName\x18\x04 \x01(\tR\btypeName\x12$\n" +
0x08, 0x74, 0x79, 0x70, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, "\rapiParamsJSON\x18\x05 \x01(\fR\rapiParamsJSON\x12$\n" +
0x08, 0x74, 0x79, 0x70, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x61, 0x70, 0x69, "\rdataUpdatedAt\x18\x06 \x01(\x03R\rdataUpdatedAt\x12\x16\n" +
0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, "\x06minTTL\x18\a \x01(\x05R\x06minTTLB\x06Z\x04./pbb\x06proto3"
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,
}
var ( var (
file_models_model_dns_provider_proto_rawDescOnce sync.Once 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 { func file_models_model_dns_provider_proto_rawDescGZIP() []byte {
file_models_model_dns_provider_proto_rawDescOnce.Do(func() { 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 return file_models_model_dns_provider_proto_rawDescData
} }
@@ -166,7 +160,7 @@ func file_models_model_dns_provider_proto_init() {
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 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, NumEnums: 0,
NumMessages: 1, NumMessages: 1,
NumExtensions: 0, NumExtensions: 0,
@@ -177,7 +171,6 @@ func file_models_model_dns_provider_proto_init() {
MessageInfos: file_models_model_dns_provider_proto_msgTypes, MessageInfos: file_models_model_dns_provider_proto_msgTypes,
}.Build() }.Build()
File_models_model_dns_provider_proto = out.File 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_goTypes = nil
file_models_model_dns_provider_proto_depIdxs = nil file_models_model_dns_provider_proto_depIdxs = nil
} }

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.36.0 // protoc-gen-go v1.36.11
// protoc v6.33.2 // protoc v3.19.6
// source: models/model_dns_record.proto // source: models/model_dns_record.proto
package pb package pb
@@ -11,6 +11,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl" protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect" reflect "reflect"
sync "sync" sync "sync"
unsafe "unsafe"
) )
const ( 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 protoreflect.FileDescriptor
var file_models_model_dns_record_proto_rawDesc = []byte{ const file_models_model_dns_record_proto_rawDesc = "" +
0x0a, 0x1d, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x64, "\n" +
0x6e, 0x73, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, "\x1dmodels/model_dns_record.proto\x12\x02pb\"o\n" +
0x02, 0x70, 0x62, 0x22, 0x6f, 0x0a, 0x09, 0x44, 0x4e, 0x53, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, "\tDNSRecord\x12\x0e\n" +
0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, "\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" +
0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, "\x04name\x18\x02 \x01(\tR\x04name\x12\x14\n" +
0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, "\x05value\x18\x03 \x01(\tR\x05value\x12\x12\n" +
0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, "\x04type\x18\x04 \x01(\tR\x04type\x12\x14\n" +
0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, "\x05route\x18\x05 \x01(\tR\x05routeB\x06Z\x04./pbb\x06proto3"
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,
}
var ( var (
file_models_model_dns_record_proto_rawDescOnce sync.Once 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 { func file_models_model_dns_record_proto_rawDescGZIP() []byte {
file_models_model_dns_record_proto_rawDescOnce.Do(func() { 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 return file_models_model_dns_record_proto_rawDescData
} }
@@ -145,7 +142,7 @@ func file_models_model_dns_record_proto_init() {
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 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, NumEnums: 0,
NumMessages: 1, NumMessages: 1,
NumExtensions: 0, NumExtensions: 0,
@@ -156,7 +153,6 @@ func file_models_model_dns_record_proto_init() {
MessageInfos: file_models_model_dns_record_proto_msgTypes, MessageInfos: file_models_model_dns_record_proto_msgTypes,
}.Build() }.Build()
File_models_model_dns_record_proto = out.File 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_goTypes = nil
file_models_model_dns_record_proto_depIdxs = nil file_models_model_dns_record_proto_depIdxs = nil
} }

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.36.0 // protoc-gen-go v1.36.11
// protoc v6.33.2 // protoc v3.19.6
// source: models/model_dns_route.proto // source: models/model_dns_route.proto
package pb package pb
@@ -11,6 +11,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl" protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect" reflect "reflect"
sync "sync" sync "sync"
unsafe "unsafe"
) )
const ( 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 protoreflect.FileDescriptor
var file_models_model_dns_route_proto_rawDesc = []byte{ const file_models_model_dns_route_proto_rawDesc = "" +
0x0a, 0x1c, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x64, "\n" +
0x6e, 0x73, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, "\x1cmodels/model_dns_route.proto\x12\x02pb\"2\n" +
0x70, 0x62, 0x22, 0x32, 0x0a, 0x08, 0x44, 0x4e, 0x53, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x12, 0x12, "\bDNSRoute\x12\x12\n" +
0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, "\x04name\x18\x01 \x01(\tR\x04name\x12\x12\n" +
0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, "\x04code\x18\x02 \x01(\tR\x04codeB\x06Z\x04./pbb\x06proto3"
0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var ( var (
file_models_model_dns_route_proto_rawDescOnce sync.Once 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 { func file_models_model_dns_route_proto_rawDescGZIP() []byte {
file_models_model_dns_route_proto_rawDescOnce.Do(func() { 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 return file_models_model_dns_route_proto_rawDescData
} }
@@ -117,7 +115,7 @@ func file_models_model_dns_route_proto_init() {
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 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, NumEnums: 0,
NumMessages: 1, NumMessages: 1,
NumExtensions: 0, NumExtensions: 0,
@@ -128,7 +126,6 @@ func file_models_model_dns_route_proto_init() {
MessageInfos: file_models_model_dns_route_proto_msgTypes, MessageInfos: file_models_model_dns_route_proto_msgTypes,
}.Build() }.Build()
File_models_model_dns_route_proto = out.File 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_goTypes = nil
file_models_model_dns_route_proto_depIdxs = nil file_models_model_dns_route_proto_depIdxs = nil
} }

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.36.0 // protoc-gen-go v1.36.11
// protoc v6.33.2 // protoc v3.19.6
// source: models/model_dns_task.proto // source: models/model_dns_task.proto
package pb package pb
@@ -11,6 +11,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl" protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect" reflect "reflect"
sync "sync" sync "sync"
unsafe "unsafe"
) )
const ( 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 protoreflect.FileDescriptor
var file_models_model_dns_task_proto_rawDesc = []byte{ const file_models_model_dns_task_proto_rawDesc = "" +
0x0a, 0x1b, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x64, "\n" +
0x6e, 0x73, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, "\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" +
0x62, 0x1a, 0x17, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, "\aDNSTask\x12\x0e\n" +
0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x6d, 0x6f, 0x64, 0x65, "\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x63, 0x6c, "\x04type\x18\x02 \x01(\tR\x04type\x12\x16\n" +
0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x6d, 0x6f, 0x64, "\x06isDone\x18\x03 \x01(\bR\x06isDone\x12\x12\n" +
0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, "\x04isOk\x18\x04 \x01(\bR\x04isOk\x12\x14\n" +
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, "\x05error\x18\x05 \x01(\tR\x05error\x12\x1c\n" +
0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x64, 0x6e, 0x73, 0x5f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x2e, "\tupdatedAt\x18\x06 \x01(\x03R\tupdatedAt\x12\x1c\n" +
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xaf, 0x02, 0x0a, 0x07, 0x44, 0x4e, 0x53, 0x54, 0x61, 0x73, "\x04node\x18\x1e \x01(\v2\b.pb.NodeR\x04node\x121\n" +
0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, "\vnodeCluster\x18\x1f \x01(\v2\x0f.pb.NodeClusterR\vnodeCluster\x12\"\n" +
0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, "\x06server\x18 \x01(\v2\n" +
0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x73, 0x44, 0x6f, 0x6e, 0x65, 0x18, ".pb.ServerR\x06server\x12+\n" +
0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x44, 0x6f, 0x6e, 0x65, 0x12, 0x12, 0x0a, "\tdnsDomain\x18! \x01(\v2\r.pb.DNSDomainR\tdnsDomainB\x06Z\x04./pbb\x06proto3"
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,
}
var ( var (
file_models_model_dns_task_proto_rawDescOnce sync.Once 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 { func file_models_model_dns_task_proto_rawDescGZIP() []byte {
file_models_model_dns_task_proto_rawDescOnce.Do(func() { 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 return file_models_model_dns_task_proto_rawDescData
} }
@@ -217,7 +201,7 @@ func file_models_model_dns_task_proto_init() {
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 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, NumEnums: 0,
NumMessages: 1, NumMessages: 1,
NumExtensions: 0, NumExtensions: 0,
@@ -228,7 +212,6 @@ func file_models_model_dns_task_proto_init() {
MessageInfos: file_models_model_dns_task_proto_msgTypes, MessageInfos: file_models_model_dns_task_proto_msgTypes,
}.Build() }.Build()
File_models_model_dns_task_proto = out.File 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_goTypes = nil
file_models_model_dns_task_proto_depIdxs = nil file_models_model_dns_task_proto_depIdxs = nil
} }

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.36.0 // protoc-gen-go v1.36.11
// protoc v6.33.2 // protoc v3.19.6
// source: models/model_file.proto // source: models/model_file.proto
package pb package pb
@@ -11,6 +11,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl" protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect" reflect "reflect"
sync "sync" sync "sync"
unsafe "unsafe"
) )
const ( const (
@@ -114,31 +115,26 @@ func (x *File) GetType() string {
var File_models_model_file_proto protoreflect.FileDescriptor var File_models_model_file_proto protoreflect.FileDescriptor
var file_models_model_file_proto_rawDesc = []byte{ const file_models_model_file_proto_rawDesc = "" +
0x0a, 0x17, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x66, "\n" +
0x69, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0xb0, 0x01, "\x17models/model_file.proto\x12\x02pb\"\xb0\x01\n" +
0x0a, 0x04, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, "\x04File\x12\x0e\n" +
0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, "\x02id\x18\x01 \x01(\x03R\x02id\x12\x1a\n" +
0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, "\bfilename\x18\x02 \x01(\tR\bfilename\x12\x12\n" +
0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, "\x04size\x18\x03 \x01(\x03R\x04size\x12\x1c\n" +
0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, "\tcreatedAt\x18\x04 \x01(\x03R\tcreatedAt\x12\x1a\n" +
0x64, 0x41, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, "\bisPublic\x18\x05 \x01(\bR\bisPublic\x12\x1a\n" +
0x65, 0x64, 0x41, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, "\bmimeType\x18\x06 \x01(\tR\bmimeType\x12\x12\n" +
0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, "\x04type\x18\a \x01(\tR\x04typeB\x06Z\x04./pbb\x06proto3"
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,
}
var ( var (
file_models_model_file_proto_rawDescOnce sync.Once 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 { func file_models_model_file_proto_rawDescGZIP() []byte {
file_models_model_file_proto_rawDescOnce.Do(func() { 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 return file_models_model_file_proto_rawDescData
} }
@@ -164,7 +160,7 @@ func file_models_model_file_proto_init() {
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 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, NumEnums: 0,
NumMessages: 1, NumMessages: 1,
NumExtensions: 0, NumExtensions: 0,
@@ -175,7 +171,6 @@ func file_models_model_file_proto_init() {
MessageInfos: file_models_model_file_proto_msgTypes, MessageInfos: file_models_model_file_proto_msgTypes,
}.Build() }.Build()
File_models_model_file_proto = out.File 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_goTypes = nil
file_models_model_file_proto_depIdxs = nil file_models_model_file_proto_depIdxs = nil
} }

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.36.0 // protoc-gen-go v1.36.11
// protoc v6.33.2 // protoc v3.19.6
// source: models/model_file_chunk.proto // source: models/model_file_chunk.proto
package pb package pb
@@ -11,6 +11,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl" protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect" reflect "reflect"
sync "sync" sync "sync"
unsafe "unsafe"
) )
const ( 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 protoreflect.FileDescriptor
var file_models_model_file_chunk_proto_rawDesc = []byte{ const file_models_model_file_chunk_proto_rawDesc = "" +
0x0a, 0x1d, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x66, "\n" +
0x69, 0x6c, 0x65, 0x5f, 0x63, 0x68, 0x75, 0x6e, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, "\x1dmodels/model_file_chunk.proto\x12\x02pb\"\x1f\n" +
0x02, 0x70, 0x62, 0x22, 0x1f, 0x0a, 0x09, 0x46, 0x69, 0x6c, 0x65, 0x43, 0x68, 0x75, 0x6e, 0x6b, "\tFileChunk\x12\x12\n" +
0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, "\x04data\x18\x01 \x01(\fR\x04dataB\x06Z\x04./pbb\x06proto3"
0x64, 0x61, 0x74, 0x61, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x33,
}
var ( var (
file_models_model_file_chunk_proto_rawDescOnce sync.Once 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 { func file_models_model_file_chunk_proto_rawDescGZIP() []byte {
file_models_model_file_chunk_proto_rawDescOnce.Do(func() { 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 return file_models_model_file_chunk_proto_rawDescData
} }
@@ -108,7 +106,7 @@ func file_models_model_file_chunk_proto_init() {
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 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, NumEnums: 0,
NumMessages: 1, NumMessages: 1,
NumExtensions: 0, NumExtensions: 0,
@@ -119,7 +117,6 @@ func file_models_model_file_chunk_proto_init() {
MessageInfos: file_models_model_file_chunk_proto_msgTypes, MessageInfos: file_models_model_file_chunk_proto_msgTypes,
}.Build() }.Build()
File_models_model_file_chunk_proto = out.File 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_goTypes = nil
file_models_model_file_chunk_proto_depIdxs = nil file_models_model_file_chunk_proto_depIdxs = nil
} }

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.36.0 // protoc-gen-go v1.36.11
// protoc v6.33.2 // protoc v3.19.6
// source: models/model_formal_client_browser.proto // source: models/model_formal_client_browser.proto
package pb package pb
@@ -11,6 +11,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl" protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect" reflect "reflect"
sync "sync" sync "sync"
unsafe "unsafe"
) )
const ( 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 protoreflect.FileDescriptor
var file_models_model_formal_client_browser_proto_rawDesc = []byte{ const file_models_model_formal_client_browser_proto_rawDesc = "" +
0x0a, 0x28, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x66, "\n" +
0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x62, 0x72, 0x6f, "(models/model_formal_client_browser.proto\x12\x02pb\"}\n" +
0x77, 0x73, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0x7d, "\x13FormalClientBrowser\x12\x0e\n" +
0x0a, 0x13, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x42, 0x72, "\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
0x6f, 0x77, 0x73, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, "\x04name\x18\x02 \x01(\tR\x04name\x12\x14\n" +
0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, "\x05codes\x18\x03 \x03(\tR\x05codes\x12\x16\n" +
0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x64, "\x06dataId\x18\x04 \x01(\tR\x06dataId\x12\x14\n" +
0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x63, 0x6f, 0x64, 0x65, 0x73, 0x12, "\x05state\x18\x05 \x01(\x05R\x05stateB\x06Z\x04./pbb\x06proto3"
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,
}
var ( var (
file_models_model_formal_client_browser_proto_rawDescOnce sync.Once 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 { 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_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 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{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 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, NumEnums: 0,
NumMessages: 1, NumMessages: 1,
NumExtensions: 0, NumExtensions: 0,
@@ -157,7 +153,6 @@ func file_models_model_formal_client_browser_proto_init() {
MessageInfos: file_models_model_formal_client_browser_proto_msgTypes, MessageInfos: file_models_model_formal_client_browser_proto_msgTypes,
}.Build() }.Build()
File_models_model_formal_client_browser_proto = out.File 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_goTypes = nil
file_models_model_formal_client_browser_proto_depIdxs = nil file_models_model_formal_client_browser_proto_depIdxs = nil
} }

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.36.0 // protoc-gen-go v1.36.11
// protoc v6.33.2 // protoc v3.19.6
// source: models/model_formal_client_system.proto // source: models/model_formal_client_system.proto
package pb package pb
@@ -11,6 +11,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl" protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect" reflect "reflect"
sync "sync" sync "sync"
unsafe "unsafe"
) )
const ( 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 protoreflect.FileDescriptor
var file_models_model_formal_client_system_proto_rawDesc = []byte{ const file_models_model_formal_client_system_proto_rawDesc = "" +
0x0a, 0x27, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x66, "\n" +
0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x79, 0x73, "'models/model_formal_client_system.proto\x12\x02pb\"|\n" +
0x74, 0x65, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0x7c, 0x0a, "\x12FormalClientSystem\x12\x0e\n" +
0x12, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x79, 0x73, "\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
0x74, 0x65, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, "\x04name\x18\x02 \x01(\tR\x04name\x12\x14\n" +
0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, "\x05codes\x18\x03 \x03(\tR\x05codes\x12\x16\n" +
0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x64, 0x65, 0x73, "\x06dataId\x18\x04 \x01(\tR\x06dataId\x12\x14\n" +
0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x63, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x16, 0x0a, "\x05state\x18\x05 \x01(\x05R\x05stateB\x06Z\x04./pbb\x06proto3"
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,
}
var ( var (
file_models_model_formal_client_system_proto_rawDescOnce sync.Once 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 { 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_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 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{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 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, NumEnums: 0,
NumMessages: 1, NumMessages: 1,
NumExtensions: 0, NumExtensions: 0,
@@ -157,7 +153,6 @@ func file_models_model_formal_client_system_proto_init() {
MessageInfos: file_models_model_formal_client_system_proto_msgTypes, MessageInfos: file_models_model_formal_client_system_proto_msgTypes,
}.Build() }.Build()
File_models_model_formal_client_system_proto = out.File 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_goTypes = nil
file_models_model_formal_client_system_proto_depIdxs = nil file_models_model_formal_client_system_proto_depIdxs = nil
} }

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.36.0 // protoc-gen-go v1.36.11
// protoc v6.33.2 // protoc v3.19.6
// source: models/model_http_access_log.proto // source: models/model_http_access_log.proto
package pb package pb
@@ -11,6 +11,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl" protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect" reflect "reflect"
sync "sync" sync "sync"
unsafe "unsafe"
) )
const ( 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 protoreflect.FileDescriptor
var file_models_model_http_access_log_proto_rawDesc = []byte{ const file_models_model_http_access_log_proto_rawDesc = "" +
0x0a, 0x22, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x68, "\n" +
0x74, 0x74, 0x70, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x6c, 0x6f, 0x67, 0x2e, 0x70, "\"models/model_http_access_log.proto\x12\x02pb\x1a\x17models/model_node.proto\"\x81\x10\n" +
0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x17, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, "\rHTTPAccessLog\x12\x1c\n" +
0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, "\trequestId\x180 \x01(\tR\trequestId\x12\x1a\n" +
0x6f, 0x22, 0x81, 0x10, 0x0a, 0x0d, 0x48, 0x54, 0x54, 0x50, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, "\bserverId\x18\x01 \x01(\x03R\bserverId\x12\x16\n" +
0x4c, 0x6f, 0x67, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, "\x06nodeId\x18\x02 \x01(\x03R\x06nodeId\x12\x1e\n" +
0x18, 0x30, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, "\n" +
0x64, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, "locationId\x18\x03 \x01(\x03R\n" +
0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x49, 0x64, 0x12, 0x16, 0x0a, "locationId\x12\x1c\n" +
0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, "\trewriteId\x18\x04 \x01(\x03R\trewriteId\x12\x1a\n" +
0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, "\boriginId\x18\x05 \x01(\x03R\boriginId\x12\x1e\n" +
0x6e, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x74, "\n" +
0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x77, 0x72, 0x69, 0x74, 0x65, "remoteAddr\x18\x06 \x01(\tR\n" +
0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x72, 0x65, 0x77, 0x72, 0x69, 0x74, "remoteAddr\x12$\n" +
0x65, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x49, 0x64, 0x18, "\rrawRemoteAddr\x18\a \x01(\tR\rrawRemoteAddr\x12\x1e\n" +
0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x49, 0x64, 0x12, "\n" +
0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x41, 0x64, 0x64, 0x72, 0x18, 0x06, 0x20, "remotePort\x18\b \x01(\x05R\n" +
0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x41, 0x64, 0x64, 0x72, 0x12, "remotePort\x12\x1e\n" +
0x24, 0x0a, 0x0d, 0x72, 0x61, 0x77, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x41, 0x64, 0x64, 0x72, "\n" +
0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x72, 0x61, 0x77, 0x52, 0x65, 0x6d, 0x6f, 0x74, "remoteUser\x18\t \x01(\tR\n" +
0x65, 0x41, 0x64, 0x64, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, "remoteUser\x12\x1e\n" +
0x6f, 0x72, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74, "\n" +
0x65, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x55, "requestURI\x18\n" +
0x73, 0x65, 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74, " \x01(\tR\n" +
0x65, 0x55, 0x73, 0x65, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, "requestURI\x12 \n" +
0x55, 0x52, 0x49, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, "\vrequestPath\x18\v \x01(\tR\vrequestPath\x12$\n" +
0x73, 0x74, 0x55, 0x52, 0x49, 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, "\rrequestLength\x18\f \x01(\x03R\rrequestLength\x12 \n" +
0x50, 0x61, 0x74, 0x68, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x71, 0x75, "\vrequestTime\x18\r \x01(\x01R\vrequestTime\x12$\n" +
0x65, 0x73, 0x74, 0x50, 0x61, 0x74, 0x68, 0x12, 0x24, 0x0a, 0x0d, 0x72, 0x65, 0x71, 0x75, 0x65, "\rrequestMethod\x18\x0e \x01(\tR\rrequestMethod\x12(\n" +
0x73, 0x74, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, "\x0frequestFilename\x18\x0f \x01(\tR\x0frequestFilename\x12 \n" +
0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x20, 0x0a, "\vrequestBody\x183 \x01(\fR\vrequestBody\x12\x16\n" +
0x0b, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x0d, 0x20, 0x01, "\x06scheme\x18\x10 \x01(\tR\x06scheme\x12\x14\n" +
0x28, 0x01, 0x52, 0x0b, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, "\x05proto\x18\x11 \x01(\tR\x05proto\x12\x1c\n" +
0x24, 0x0a, 0x0d, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, "\tbytesSent\x18\x12 \x01(\x03R\tbytesSent\x12$\n" +
0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x4d, "\rbodyBytesSent\x18\x13 \x01(\x03R\rbodyBytesSent\x12\x16\n" +
0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x28, 0x0a, 0x0f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, "\x06status\x18\x14 \x01(\x05R\x06status\x12$\n" +
0x46, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, "\rstatusMessage\x18\x15 \x01(\tR\rstatusMessage\x12A\n" +
0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12, "\n" +
0x20, 0x0a, 0x0b, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x42, 0x6f, 0x64, 0x79, 0x18, 0x33, "sentHeader\x18\x16 \x03(\v2!.pb.HTTPAccessLog.SentHeaderEntryR\n" +
0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x42, 0x6f, 0x64, "sentHeader\x12 \n" +
0x79, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x18, 0x10, 0x20, 0x01, 0x28, "\vtimeISO8601\x18\x17 \x01(\tR\vtimeISO8601\x12\x1c\n" +
0x09, 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x72, 0x6f, "\ttimeLocal\x18\x18 \x01(\tR\ttimeLocal\x12\x12\n" +
0x74, 0x6f, 0x18, 0x11, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, "\x04msec\x18\x19 \x01(\x01R\x04msec\x12\x1c\n" +
0x1c, 0x0a, 0x09, 0x62, 0x79, 0x74, 0x65, 0x73, 0x53, 0x65, 0x6e, 0x74, 0x18, 0x12, 0x20, 0x01, "\ttimestamp\x18\x1a \x01(\x03R\ttimestamp\x12\x12\n" +
0x28, 0x03, 0x52, 0x09, 0x62, 0x79, 0x74, 0x65, 0x73, 0x53, 0x65, 0x6e, 0x74, 0x12, 0x24, 0x0a, "\x04host\x18\x1b \x01(\tR\x04host\x12\x18\n" +
0x0d, 0x62, 0x6f, 0x64, 0x79, 0x42, 0x79, 0x74, 0x65, 0x73, 0x53, 0x65, 0x6e, 0x74, 0x18, 0x13, "\areferer\x18\x1c \x01(\tR\areferer\x12\x1c\n" +
0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x62, 0x6f, 0x64, 0x79, 0x42, 0x79, 0x74, 0x65, 0x73, 0x53, "\tuserAgent\x18\x1d \x01(\tR\tuserAgent\x12\x18\n" +
0x65, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x14, 0x20, "\arequest\x18\x1e \x01(\tR\arequest\x12 \n" +
0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x24, 0x0a, 0x0d, 0x73, "\vcontentType\x18\x1f \x01(\tR\vcontentType\x125\n" +
0x74, 0x61, 0x74, 0x75, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x15, 0x20, 0x01, "\x06cookie\x18 \x03(\v2\x1d.pb.HTTPAccessLog.CookieEntryR\x06cookie\x12\x12\n" +
0x28, 0x09, 0x52, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, "\x04args\x18\" \x01(\tR\x04args\x12 \n" +
0x65, 0x12, 0x41, 0x0a, 0x0a, 0x73, 0x65, 0x6e, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, "\vqueryString\x18# \x01(\tR\vqueryString\x125\n" +
0x16, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x70, 0x62, 0x2e, 0x48, 0x54, 0x54, 0x50, 0x41, "\x06header\x18$ \x03(\v2\x1d.pb.HTTPAccessLog.HeaderEntryR\x06header\x12\x1e\n" +
0x63, 0x63, 0x65, 0x73, 0x73, 0x4c, 0x6f, 0x67, 0x2e, 0x53, 0x65, 0x6e, 0x74, 0x48, 0x65, 0x61, "\n" +
0x64, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x73, 0x65, 0x6e, 0x74, 0x48, 0x65, "serverName\x18% \x01(\tR\n" +
0x61, 0x64, 0x65, 0x72, 0x12, 0x20, 0x0a, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x49, 0x53, 0x4f, 0x38, "serverName\x12\x1e\n" +
0x36, 0x30, 0x31, 0x18, 0x17, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x49, "\n" +
0x53, 0x4f, 0x38, 0x36, 0x30, 0x31, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x4c, 0x6f, "serverPort\x18& \x01(\x05R\n" +
0x63, 0x61, 0x6c, 0x18, 0x18, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x4c, "serverPort\x12&\n" +
0x6f, 0x63, 0x61, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x73, 0x65, 0x63, 0x18, 0x19, 0x20, 0x01, "\x0eserverProtocol\x18' \x01(\tR\x0eserverProtocol\x12\x1a\n" +
0x28, 0x01, 0x52, 0x04, 0x6d, 0x73, 0x65, 0x63, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, "\bhostname\x18( \x01(\tR\bhostname\x12$\n" +
0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, "\roriginAddress\x18) \x01(\tR\roriginAddress\x12\"\n" +
0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x1b, "\foriginStatus\x184 \x01(\x05R\foriginStatus\x12\x16\n" +
0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, "\x06errors\x18* \x03(\tR\x06errors\x122\n" +
0x66, 0x65, 0x72, 0x65, 0x72, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x66, "\x05attrs\x18+ \x03(\v2\x1c.pb.HTTPAccessLog.AttrsEntryR\x05attrs\x12*\n" +
0x65, 0x72, 0x65, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x75, 0x73, 0x65, 0x72, 0x41, 0x67, 0x65, 0x6e, "\x10firewallPolicyId\x18, \x01(\x03R\x10firewallPolicyId\x120\n" +
0x74, 0x18, 0x1d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x75, 0x73, 0x65, 0x72, 0x41, 0x67, 0x65, "\x13firewallRuleGroupId\x18- \x01(\x03R\x13firewallRuleGroupId\x12,\n" +
0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x1e, 0x20, "\x11firewallRuleSetId\x18. \x01(\x03R\x11firewallRuleSetId\x12&\n" +
0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, "\x0efirewallRuleId\x18/ \x01(\x03R\x0efirewallRuleId\x12(\n" +
0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x18, 0x1f, 0x20, 0x01, 0x28, "\x0ffirewallActions\x181 \x03(\tR\x0ffirewallActions\x12\x12\n" +
0x09, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x35, "\x04tags\x182 \x03(\tR\x04tags\x12\x1c\n" +
0x0a, 0x06, 0x63, 0x6f, 0x6f, 0x6b, 0x69, 0x65, 0x18, 0x20, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, "\x04node\x18d \x01(\v2\b.pb.NodeR\x04node\x1aJ\n" +
0x2e, 0x70, 0x62, 0x2e, 0x48, 0x54, 0x54, 0x50, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4c, 0x6f, "\x0fSentHeaderEntry\x12\x10\n" +
0x67, 0x2e, 0x43, 0x6f, 0x6f, 0x6b, 0x69, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x63, "\x03key\x18\x01 \x01(\tR\x03key\x12!\n" +
0x6f, 0x6f, 0x6b, 0x69, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x72, 0x67, 0x73, 0x18, 0x22, 0x20, "\x05value\x18\x02 \x01(\v2\v.pb.StringsR\x05value:\x028\x01\x1a9\n" +
0x01, 0x28, 0x09, 0x52, 0x04, 0x61, 0x72, 0x67, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x71, 0x75, 0x65, "\vCookieEntry\x12\x10\n" +
0x72, 0x79, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x23, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
0x71, 0x75, 0x65, 0x72, 0x79, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x35, 0x0a, 0x06, 0x68, "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\x1aF\n" +
0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x24, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x70, 0x62, "\vHeaderEntry\x12\x10\n" +
0x2e, 0x48, 0x54, 0x54, 0x50, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4c, 0x6f, 0x67, 0x2e, 0x48, "\x03key\x18\x01 \x01(\tR\x03key\x12!\n" +
0x65, 0x61, 0x64, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, "\x05value\x18\x02 \x01(\v2\v.pb.StringsR\x05value:\x028\x01\x1a8\n" +
0x65, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, "\n" +
0x18, 0x25, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x61, "AttrsEntry\x12\x10\n" +
0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x50, 0x6f, 0x72, 0x74, "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
0x18, 0x26, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x50, 0x6f, "\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"!\n" +
0x72, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, "\aStrings\x12\x16\n" +
0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x27, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x73, 0x65, 0x72, 0x76, "\x06values\x18\x01 \x03(\tR\x06valuesB\x06Z\x04./pbb\x06proto3"
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,
}
var ( var (
file_models_model_http_access_log_proto_rawDescOnce sync.Once 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 { 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_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 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{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 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, NumEnums: 0,
NumMessages: 6, NumMessages: 6,
NumExtensions: 0, NumExtensions: 0,
@@ -721,7 +672,6 @@ func file_models_model_http_access_log_proto_init() {
MessageInfos: file_models_model_http_access_log_proto_msgTypes, MessageInfos: file_models_model_http_access_log_proto_msgTypes,
}.Build() }.Build()
File_models_model_http_access_log_proto = out.File 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_goTypes = nil
file_models_model_http_access_log_proto_depIdxs = nil file_models_model_http_access_log_proto_depIdxs = nil
} }

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.36.0 // protoc-gen-go v1.36.11
// protoc v6.33.2 // protoc v3.19.6
// source: models/model_http_access_log_policy.proto // source: models/model_http_access_log_policy.proto
package pb package pb
@@ -11,6 +11,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl" protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect" reflect "reflect"
sync "sync" sync "sync"
unsafe "unsafe"
) )
const ( const (
@@ -31,7 +32,7 @@ type HTTPAccessLogPolicy struct {
IsPublic bool `protobuf:"varint,7,opt,name=isPublic,proto3" json:"isPublic,omitempty"` // 是否公用 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相关访问日志 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"` // 停用默认数据库存储 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 unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache 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 protoreflect.FileDescriptor
var file_models_model_http_access_log_policy_proto_rawDesc = []byte{ const file_models_model_http_access_log_policy_proto_rawDesc = "" +
0x0a, 0x29, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x68, "\n" +
0x74, 0x74, 0x70, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x6c, 0x6f, 0x67, 0x5f, 0x70, ")models/model_http_access_log_policy.proto\x12\x02pb\"\xb9\x02\n" +
0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, "\x13HTTPAccessLogPolicy\x12\x0e\n" +
0x8d, 0x02, 0x0a, 0x13, 0x48, 0x54, 0x54, 0x50, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4c, 0x6f, "\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, "\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n" +
0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, "\x04isOn\x18\x03 \x01(\bR\x04isOn\x12\x12\n" +
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x69, "\x04type\x18\x04 \x01(\tR\x04type\x12 \n" +
0x73, 0x4f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x12, "\voptionsJSON\x18\x05 \x01(\fR\voptionsJSON\x12\x1c\n" +
0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, "\tcondsJSON\x18\x06 \x01(\fR\tcondsJSON\x12\x1a\n" +
0x79, 0x70, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x4a, 0x53, "\bisPublic\x18\a \x01(\bR\bisPublic\x12\"\n" +
0x4f, 0x4e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, "\ffirewallOnly\x18\b \x01(\bR\ffirewallOnly\x12*\n" +
0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x4a, 0x53, "\x10disableDefaultDB\x18\t \x01(\bR\x10disableDefaultDB\x12*\n" +
0x4f, 0x4e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x4a, "\x10writeTargetsJSON\x18\n" +
0x53, 0x4f, 0x4e, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x18, " \x01(\fR\x10writeTargetsJSONB\x06Z\x04./pbb\x06proto3"
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,
}
var ( var (
file_models_model_http_access_log_policy_proto_rawDescOnce sync.Once 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 { 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_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 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{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 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, NumEnums: 0,
NumMessages: 1, NumMessages: 1,
NumExtensions: 0, 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, MessageInfos: file_models_model_http_access_log_policy_proto_msgTypes,
}.Build() }.Build()
File_models_model_http_access_log_policy_proto = out.File 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_goTypes = nil
file_models_model_http_access_log_policy_proto_depIdxs = nil file_models_model_http_access_log_policy_proto_depIdxs = nil
} }

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.36.0 // protoc-gen-go v1.36.11
// protoc v6.33.2 // protoc v3.19.6
// source: models/model_http_auth_policy.proto // source: models/model_http_auth_policy.proto
package pb package pb
@@ -11,6 +11,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl" protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect" reflect "reflect"
sync "sync" sync "sync"
unsafe "unsafe"
) )
const ( 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 protoreflect.FileDescriptor
var file_models_model_http_auth_policy_proto_rawDesc = []byte{ const file_models_model_http_auth_policy_proto_rawDesc = "" +
0x0a, 0x23, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x68, "\n" +
0x74, 0x74, 0x70, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, "#models/model_http_auth_policy.proto\x12\x02pb\"|\n" +
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0x7c, 0x0a, 0x0e, 0x48, 0x54, 0x54, "\x0eHTTPAuthPolicy\x12\x0e\n" +
0x50, 0x41, 0x75, 0x74, 0x68, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, "\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x69, "\x04isOn\x18\x02 \x01(\bR\x04isOn\x12\x12\n" +
0x73, 0x4f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x12, "\x04name\x18\x03 \x01(\tR\x04name\x12\x12\n" +
0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, "\x04type\x18\x04 \x01(\tR\x04type\x12\x1e\n" +
0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, "\n" +
0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, "paramsJSON\x18\x05 \x01(\fR\n" +
0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x70, 0x61, 0x72, "paramsJSONB\x06Z\x04./pbb\x06proto3"
0x61, 0x6d, 0x73, 0x4a, 0x53, 0x4f, 0x4e, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62,
0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var ( var (
file_models_model_http_auth_policy_proto_rawDescOnce sync.Once 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 { 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_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 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{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 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, NumEnums: 0,
NumMessages: 1, NumMessages: 1,
NumExtensions: 0, NumExtensions: 0,
@@ -158,7 +156,6 @@ func file_models_model_http_auth_policy_proto_init() {
MessageInfos: file_models_model_http_auth_policy_proto_msgTypes, MessageInfos: file_models_model_http_auth_policy_proto_msgTypes,
}.Build() }.Build()
File_models_model_http_auth_policy_proto = out.File 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_goTypes = nil
file_models_model_http_auth_policy_proto_depIdxs = nil file_models_model_http_auth_policy_proto_depIdxs = nil
} }

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.36.0 // protoc-gen-go v1.36.11
// protoc v6.33.2 // protoc v3.19.6
// source: models/model_http_cache_policy.proto // source: models/model_http_cache_policy.proto
package pb package pb
@@ -11,6 +11,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl" protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect" reflect "reflect"
sync "sync" sync "sync"
unsafe "unsafe"
) )
const ( 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 protoreflect.FileDescriptor
var file_models_model_http_cache_policy_proto_rawDesc = []byte{ const file_models_model_http_cache_policy_proto_rawDesc = "" +
0x0a, 0x24, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x68, "\n" +
0x74, 0x74, 0x70, 0x5f, 0x63, 0x61, 0x63, 0x68, 0x65, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, "$models/model_http_cache_policy.proto\x12\x02pb\"m\n" +
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0x6d, 0x0a, 0x0f, 0x48, 0x54, "\x0fHTTPCachePolicy\x12\x0e\n" +
0x54, 0x50, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x0e, 0x0a, "\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, "\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n" +
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, "\x04isOn\x18\x03 \x01(\bR\x04isOn\x12\"\n" +
0x65, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, "\fmaxBytesJSON\x18\x04 \x01(\fR\fmaxBytesJSONB\x06Z\x04./pbb\x06proto3"
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,
}
var ( var (
file_models_model_http_cache_policy_proto_rawDescOnce sync.Once 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 { 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_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 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{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 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, NumEnums: 0,
NumMessages: 1, NumMessages: 1,
NumExtensions: 0, NumExtensions: 0,
@@ -148,7 +144,6 @@ func file_models_model_http_cache_policy_proto_init() {
MessageInfos: file_models_model_http_cache_policy_proto_msgTypes, MessageInfos: file_models_model_http_cache_policy_proto_msgTypes,
}.Build() }.Build()
File_models_model_http_cache_policy_proto = out.File 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_goTypes = nil
file_models_model_http_cache_policy_proto_depIdxs = nil file_models_model_http_cache_policy_proto_depIdxs = nil
} }

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.36.0 // protoc-gen-go v1.36.11
// protoc v6.33.2 // protoc v3.19.6
// source: models/model_http_cache_task.proto // source: models/model_http_cache_task.proto
package pb package pb
@@ -11,6 +11,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl" protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect" reflect "reflect"
sync "sync" sync "sync"
unsafe "unsafe"
) )
const ( 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 protoreflect.FileDescriptor
var file_models_model_http_cache_task_proto_rawDesc = []byte{ const file_models_model_http_cache_task_proto_rawDesc = "" +
0x0a, 0x22, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x68, "\n" +
0x74, 0x74, 0x70, 0x5f, 0x63, 0x61, 0x63, 0x68, 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x2e, 0x70, "\"models/model_http_cache_task.proto\x12\x02pb\x1a\x17models/model_user.proto\x1a&models/model_http_cache_task_key.proto\"\xcb\x02\n" +
0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x17, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, "\rHTTPCacheTask\x12\x0e\n" +
0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, "\x02id\x18\x01 \x01(\x03R\x02id\x12\x16\n" +
0x6f, 0x1a, 0x26, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, "\x06userId\x18\x02 \x01(\x03R\x06userId\x12\x12\n" +
0x68, 0x74, 0x74, 0x70, 0x5f, 0x63, 0x61, 0x63, 0x68, 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x5f, "\x04type\x18\x03 \x01(\tR\x04type\x12\x18\n" +
0x6b, 0x65, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xcb, 0x02, 0x0a, 0x0d, 0x48, 0x54, "\akeyType\x18\x04 \x01(\tR\akeyType\x12\x1c\n" +
0x54, 0x50, 0x43, 0x61, 0x63, 0x68, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x69, "\tcreatedAt\x18\x05 \x01(\x03R\tcreatedAt\x12\x16\n" +
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x75, "\x06doneAt\x18\x06 \x01(\x03R\x06doneAt\x12\x16\n" +
0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, "\x06isDone\x18\a \x01(\bR\x06isDone\x12\x12\n" +
0x72, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, "\x04isOk\x18\b \x01(\bR\x04isOk\x12 \n" +
0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6b, 0x65, 0x79, 0x54, 0x79, "\vdescription\x18\t \x01(\tR\vdescription\x12\x1c\n" +
0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x54, 0x79, 0x70, "\x04user\x18\x1e \x01(\v2\b.pb.UserR\x04user\x12B\n" +
0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x05, "\x11httpCacheTaskKeys\x18\x1f \x03(\v2\x14.pb.HTTPCacheTaskKeyR\x11httpCacheTaskKeysB\x06Z\x04./pbb\x06proto3"
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,
}
var ( var (
file_models_model_http_cache_task_proto_rawDescOnce sync.Once 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 { 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_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 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{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 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, NumEnums: 0,
NumMessages: 1, NumMessages: 1,
NumExtensions: 0, NumExtensions: 0,
@@ -228,7 +213,6 @@ func file_models_model_http_cache_task_proto_init() {
MessageInfos: file_models_model_http_cache_task_proto_msgTypes, MessageInfos: file_models_model_http_cache_task_proto_msgTypes,
}.Build() }.Build()
File_models_model_http_cache_task_proto = out.File 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_goTypes = nil
file_models_model_http_cache_task_proto_depIdxs = nil file_models_model_http_cache_task_proto_depIdxs = nil
} }

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.36.0 // protoc-gen-go v1.36.11
// protoc v6.33.2 // protoc v3.19.6
// source: models/model_http_cache_task_key.proto // source: models/model_http_cache_task_key.proto
package pb package pb
@@ -11,6 +11,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl" protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect" reflect "reflect"
sync "sync" sync "sync"
unsafe "unsafe"
) )
const ( 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 protoreflect.FileDescriptor
var file_models_model_http_cache_task_key_proto_rawDesc = []byte{ const file_models_model_http_cache_task_key_proto_rawDesc = "" +
0x0a, 0x26, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x68, "\n" +
0x74, 0x74, 0x70, 0x5f, 0x63, 0x61, 0x63, 0x68, 0x65, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x6b, "&models/model_http_cache_task_key.proto\x12\x02pb\x1a\x1fmodels/model_node_cluster.proto\"\xa5\x02\n" +
0x65, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x1f, 0x6d, 0x6f, "\x10HTTPCacheTaskKey\x12\x0e\n" +
0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, "\x02id\x18\x01 \x01(\x03R\x02id\x12\x16\n" +
0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa5, 0x02, "\x06taskId\x18\x02 \x01(\x03R\x06taskId\x12\x10\n" +
0x0a, 0x10, 0x48, 0x54, 0x54, 0x50, 0x43, 0x61, 0x63, 0x68, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x4b, "\x03key\x18\x03 \x01(\tR\x03key\x12\x12\n" +
0x65, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, "\x04type\x18\x04 \x01(\tR\x04type\x12\x18\n" +
0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, "\akeyType\x18\x05 \x01(\tR\akeyType\x12\x16\n" +
0x28, 0x03, 0x52, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, "\x06isDone\x18\x06 \x01(\bR\x06isDone\x12\x18\n" +
0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x12, 0x0a, 0x04, "\aisDoing\x18\t \x01(\bR\aisDoing\x12\x1e\n" +
0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, "\n" +
0x12, 0x18, 0x0a, 0x07, 0x6b, 0x65, 0x79, 0x54, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, "errorsJSON\x18\a \x01(\fR\n" +
0x09, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x73, "errorsJSON\x12$\n" +
0x44, 0x6f, 0x6e, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x44, 0x6f, "\rnodeClusterId\x18\b \x01(\x03R\rnodeClusterId\x121\n" +
0x6e, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x69, 0x73, 0x44, 0x6f, 0x69, 0x6e, 0x67, 0x18, 0x09, 0x20, "\vnodeCluster\x18\x1e \x01(\v2\x0f.pb.NodeClusterR\vnodeClusterB\x06Z\x04./pbb\x06proto3"
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,
}
var ( var (
file_models_model_http_cache_task_key_proto_rawDescOnce sync.Once 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 { 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_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 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{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 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, NumEnums: 0,
NumMessages: 1, NumMessages: 1,
NumExtensions: 0, 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, MessageInfos: file_models_model_http_cache_task_key_proto_msgTypes,
}.Build() }.Build()
File_models_model_http_cache_task_key_proto = out.File 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_goTypes = nil
file_models_model_http_cache_task_key_proto_depIdxs = nil file_models_model_http_cache_task_key_proto_depIdxs = nil
} }

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.36.0 // protoc-gen-go v1.36.11
// protoc v6.33.2 // protoc v3.19.6
// source: models/model_http_fastcgi.proto // source: models/model_http_fastcgi.proto
package pb package pb
@@ -11,6 +11,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl" protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect" reflect "reflect"
sync "sync" sync "sync"
unsafe "unsafe"
) )
const ( 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 protoreflect.FileDescriptor
var file_models_model_http_fastcgi_proto_rawDesc = []byte{ const file_models_model_http_fastcgi_proto_rawDesc = "" +
0x0a, 0x1f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x68, "\n" +
0x74, 0x74, 0x70, 0x5f, 0x66, 0x61, 0x73, 0x74, 0x63, 0x67, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, "\x1fmodels/model_http_fastcgi.proto\x12\x02pb\"\x85\x02\n" +
0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0x85, 0x02, 0x0a, 0x0b, 0x48, 0x54, 0x54, 0x50, 0x46, 0x61, "\vHTTPFastcgi\x12\x0e\n" +
0x73, 0x74, 0x63, 0x67, 0x69, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, "\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x18, 0x02, 0x20, "\x04isOn\x18\x02 \x01(\bR\x04isOn\x12\x18\n" +
0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, "\aaddress\x18\x03 \x01(\tR\aaddress\x12\x1e\n" +
0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, "\n" +
0x65, 0x73, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x4a, 0x53, 0x4f, "paramsJSON\x18\x04 \x01(\fR\n" +
0x4e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x4a, "paramsJSON\x12(\n" +
0x53, 0x4f, 0x4e, 0x12, 0x28, 0x0a, 0x0f, 0x72, 0x65, 0x61, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x6f, "\x0freadTimeoutJSON\x18\x05 \x01(\fR\x0freadTimeoutJSON\x12(\n" +
0x75, 0x74, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x72, 0x65, "\x0fconnTimeoutJSON\x18\x06 \x01(\fR\x0fconnTimeoutJSON\x12\x1a\n" +
0x61, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x28, 0x0a, "\bpoolSize\x18\a \x01(\x05R\bpoolSize\x12(\n" +
0x0f, 0x63, 0x6f, 0x6e, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x4a, 0x53, 0x4f, 0x4e, "\x0fpathInfoPattern\x18\b \x01(\tR\x0fpathInfoPatternB\x06Z\x04./pbb\x06proto3"
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,
}
var ( var (
file_models_model_http_fastcgi_proto_rawDescOnce sync.Once 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 { func file_models_model_http_fastcgi_proto_rawDescGZIP() []byte {
file_models_model_http_fastcgi_proto_rawDescOnce.Do(func() { 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 return file_models_model_http_fastcgi_proto_rawDescData
} }
@@ -179,7 +172,7 @@ func file_models_model_http_fastcgi_proto_init() {
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 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, NumEnums: 0,
NumMessages: 1, NumMessages: 1,
NumExtensions: 0, NumExtensions: 0,
@@ -190,7 +183,6 @@ func file_models_model_http_fastcgi_proto_init() {
MessageInfos: file_models_model_http_fastcgi_proto_msgTypes, MessageInfos: file_models_model_http_fastcgi_proto_msgTypes,
}.Build() }.Build()
File_models_model_http_fastcgi_proto = out.File 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_goTypes = nil
file_models_model_http_fastcgi_proto_depIdxs = nil file_models_model_http_fastcgi_proto_depIdxs = nil
} }

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.36.0 // protoc-gen-go v1.36.11
// protoc v6.33.2 // protoc v3.19.6
// source: models/model_http_firewall_policy.proto // source: models/model_http_firewall_policy.proto
package pb package pb
@@ -11,6 +11,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl" protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect" reflect "reflect"
sync "sync" sync "sync"
unsafe "unsafe"
) )
const ( 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 protoreflect.FileDescriptor
var file_models_model_http_firewall_policy_proto_rawDesc = []byte{ const file_models_model_http_firewall_policy_proto_rawDesc = "" +
0x0a, 0x27, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x68, "\n" +
0x74, 0x74, 0x70, 0x5f, 0x66, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x5f, 0x70, 0x6f, 0x6c, "'models/model_http_firewall_policy.proto\x12\x02pb\"\xec\x03\n" +
0x69, 0x63, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0xec, 0x03, "\x12HTTPFirewallPolicy\x12\x0e\n" +
0x0a, 0x12, 0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x50, 0x6f, "\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
0x6c, 0x69, 0x63, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, "\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n" +
0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, "\x04mode\x18\a \x01(\tR\x04mode\x12\x12\n" +
0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65, "\x04isOn\x18\x03 \x01(\bR\x04isOn\x12 \n" +
0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x12, 0x12, 0x0a, 0x04, "\vdescription\x18\x04 \x01(\tR\vdescription\x12 \n" +
0x69, 0x73, 0x4f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6e, "\vinboundJSON\x18\x05 \x01(\fR\vinboundJSON\x12\"\n" +
0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, "\foutboundJSON\x18\x06 \x01(\fR\foutboundJSON\x12\x1a\n" +
0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, "\bserverId\x18\b \x01(\x03R\bserverId\x12*\n" +
0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x69, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x4a, 0x53, 0x4f, "\x10useLocalFirewall\x18\t \x01(\bR\x10useLocalFirewall\x12\"\n" +
0x4e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x69, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, "\fsynFloodJSON\x18\n" +
0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x22, 0x0a, 0x0c, 0x6f, 0x75, 0x74, 0x62, 0x6f, 0x75, 0x6e, 0x64, " \x01(\fR\fsynFloodJSON\x12*\n" +
0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x75, 0x74, 0x62, "\x10blockOptionsJSON\x18\v \x01(\fR\x10blockOptionsJSON\x12(\n" +
0x6f, 0x75, 0x6e, 0x64, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, "\x0fpageOptionsJSON\x18\r \x01(\fR\x0fpageOptionsJSON\x12.\n" +
0x65, 0x72, 0x49, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, "\x12captchaOptionsJSON\x18\f \x01(\fR\x12captchaOptionsJSON\x120\n" +
0x65, 0x72, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x10, 0x75, 0x73, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x6c, "\x13jsCookieOptionsJSON\x18\x0e \x01(\fR\x13jsCookieOptionsJSONB\x06Z\x04./pbb\x06proto3"
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,
}
var ( var (
file_models_model_http_firewall_policy_proto_rawDescOnce sync.Once 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 { 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_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 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{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 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, NumEnums: 0,
NumMessages: 1, NumMessages: 1,
NumExtensions: 0, NumExtensions: 0,
@@ -253,7 +236,6 @@ func file_models_model_http_firewall_policy_proto_init() {
MessageInfos: file_models_model_http_firewall_policy_proto_msgTypes, MessageInfos: file_models_model_http_firewall_policy_proto_msgTypes,
}.Build() }.Build()
File_models_model_http_firewall_policy_proto = out.File 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_goTypes = nil
file_models_model_http_firewall_policy_proto_depIdxs = nil file_models_model_http_firewall_policy_proto_depIdxs = nil
} }

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.36.0 // protoc-gen-go v1.36.11
// protoc v6.33.2 // protoc v3.19.6
// source: models/model_http_firewall_rule_group.proto // source: models/model_http_firewall_rule_group.proto
package pb package pb
@@ -11,6 +11,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl" protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect" reflect "reflect"
sync "sync" sync "sync"
unsafe "unsafe"
) )
const ( 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 protoreflect.FileDescriptor
var file_models_model_http_firewall_rule_group_proto_rawDesc = []byte{ const file_models_model_http_firewall_rule_group_proto_rawDesc = "" +
0x0a, 0x2b, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x68, "\n" +
0x74, 0x74, 0x70, 0x5f, 0x66, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x5f, 0x72, 0x75, 0x6c, "+models/model_http_firewall_rule_group.proto\x12\x02pb\"\x85\x01\n" +
0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, "\x15HTTPFirewallRuleGroup\x12\x0e\n" +
0x62, 0x22, 0x85, 0x01, 0x0a, 0x15, 0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, "\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
0x6c, 0x6c, 0x52, 0x75, 0x6c, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x0e, 0x0a, 0x02, 0x69, "\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n" +
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, "\x04isOn\x18\x03 \x01(\bR\x04isOn\x12 \n" +
0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, "\vdescription\x18\x04 \x01(\tR\vdescription\x12\x12\n" +
0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, "\x04code\x18\x05 \x01(\tR\x04codeB\x06Z\x04./pbb\x06proto3"
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,
}
var ( var (
file_models_model_http_firewall_rule_group_proto_rawDescOnce sync.Once 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 { 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_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 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{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 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, NumEnums: 0,
NumMessages: 1, NumMessages: 1,
NumExtensions: 0, 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, MessageInfos: file_models_model_http_firewall_rule_group_proto_msgTypes,
}.Build() }.Build()
File_models_model_http_firewall_rule_group_proto = out.File 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_goTypes = nil
file_models_model_http_firewall_rule_group_proto_depIdxs = nil file_models_model_http_firewall_rule_group_proto_depIdxs = nil
} }

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.36.0 // protoc-gen-go v1.36.11
// protoc v6.33.2 // protoc v3.19.6
// source: models/model_http_firewall_rule_set.proto // source: models/model_http_firewall_rule_set.proto
package pb package pb
@@ -11,6 +11,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl" protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect" reflect "reflect"
sync "sync" sync "sync"
unsafe "unsafe"
) )
const ( 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 protoreflect.FileDescriptor
var file_models_model_http_firewall_rule_set_proto_rawDesc = []byte{ const file_models_model_http_firewall_rule_set_proto_rawDesc = "" +
0x0a, 0x29, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x68, "\n" +
0x74, 0x74, 0x70, 0x5f, 0x66, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x5f, 0x72, 0x75, 0x6c, ")models/model_http_firewall_rule_set.proto\x12\x02pb\"\x83\x01\n" +
0x65, 0x5f, 0x73, 0x65, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, "\x13HTTPFirewallRuleSet\x12\x0e\n" +
0x83, 0x01, 0x0a, 0x13, 0x48, 0x54, 0x54, 0x50, 0x46, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, "\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
0x52, 0x75, 0x6c, 0x65, 0x53, 0x65, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, "\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n" +
0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, "\x04isOn\x18\x03 \x01(\bR\x04isOn\x12 \n" +
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x69, "\vdescription\x18\x04 \x01(\tR\vdescription\x12\x12\n" +
0x73, 0x4f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x12, "\x04code\x18\x05 \x01(\tR\x04codeB\x06Z\x04./pbb\x06proto3"
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,
}
var ( var (
file_models_model_http_firewall_rule_set_proto_rawDescOnce sync.Once 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 { 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_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 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{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 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, NumEnums: 0,
NumMessages: 1, NumMessages: 1,
NumExtensions: 0, 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, MessageInfos: file_models_model_http_firewall_rule_set_proto_msgTypes,
}.Build() }.Build()
File_models_model_http_firewall_rule_set_proto = out.File 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_goTypes = nil
file_models_model_http_firewall_rule_set_proto_depIdxs = nil file_models_model_http_firewall_rule_set_proto_depIdxs = nil
} }

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.36.0 // protoc-gen-go v1.36.11
// protoc v6.33.2 // protoc v3.19.6
// source: models/model_http_gzip.proto // source: models/model_http_gzip.proto
package pb package pb
@@ -11,6 +11,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl" protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect" reflect "reflect"
sync "sync" sync "sync"
unsafe "unsafe"
) )
const ( 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 protoreflect.FileDescriptor
var file_models_model_http_gzip_proto_rawDesc = []byte{ const file_models_model_http_gzip_proto_rawDesc = "" +
0x0a, 0x1c, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x68, "\n" +
0x74, 0x74, 0x70, 0x5f, 0x67, 0x7a, 0x69, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, "\x1cmodels/model_http_gzip.proto\x12\x02pb\x1a models/model_size_capacity.proto\"\xc2\x01\n" +
0x70, 0x62, 0x1a, 0x20, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, "\bHTTPGzip\x12\x0e\n" +
0x5f, 0x73, 0x69, 0x7a, 0x65, 0x5f, 0x63, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x2e, 0x70, "\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc2, 0x01, 0x0a, 0x08, 0x48, 0x54, 0x54, 0x50, 0x47, 0x7a, 0x69, "\x04isOn\x18\x02 \x01(\bR\x04isOn\x12\x14\n" +
0x70, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, "\x05level\x18\x03 \x01(\x05R\x05level\x12.\n" +
0x64, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, "\tminLength\x18\x04 \x01(\v2\x10.pb.SizeCapacityR\tminLength\x12.\n" +
0x04, 0x69, 0x73, 0x4f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x03, "\tmaxLength\x18\x05 \x01(\v2\x10.pb.SizeCapacityR\tmaxLength\x12\x1c\n" +
0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x2e, 0x0a, 0x09, 0x6d, "\tcondsJSON\x18\x06 \x01(\fR\tcondsJSONB\x06Z\x04./pbb\x06proto3"
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,
}
var ( var (
file_models_model_http_gzip_proto_rawDescOnce sync.Once 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 { func file_models_model_http_gzip_proto_rawDescGZIP() []byte {
file_models_model_http_gzip_proto_rawDescOnce.Do(func() { 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 return file_models_model_http_gzip_proto_rawDescData
} }
@@ -164,7 +155,7 @@ func file_models_model_http_gzip_proto_init() {
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 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, NumEnums: 0,
NumMessages: 1, NumMessages: 1,
NumExtensions: 0, NumExtensions: 0,
@@ -175,7 +166,6 @@ func file_models_model_http_gzip_proto_init() {
MessageInfos: file_models_model_http_gzip_proto_msgTypes, MessageInfos: file_models_model_http_gzip_proto_msgTypes,
}.Build() }.Build()
File_models_model_http_gzip_proto = out.File 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_goTypes = nil
file_models_model_http_gzip_proto_depIdxs = nil file_models_model_http_gzip_proto_depIdxs = nil
} }

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.36.0 // protoc-gen-go v1.36.11
// protoc v6.33.2 // protoc v3.19.6
// source: models/model_http_web.proto // source: models/model_http_web.proto
package pb package pb
@@ -11,6 +11,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl" protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect" reflect "reflect"
sync "sync" sync "sync"
unsafe "unsafe"
) )
const ( 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 protoreflect.FileDescriptor
var file_models_model_http_web_proto_rawDesc = []byte{ const file_models_model_http_web_proto_rawDesc = "" +
0x0a, 0x1b, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x68, "\n" +
0x74, 0x74, 0x70, 0x5f, 0x77, 0x65, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, "\x1bmodels/model_http_web.proto\x12\x02pb\"-\n" +
0x62, 0x22, 0x2d, 0x0a, 0x07, 0x48, 0x54, 0x54, 0x50, 0x57, 0x65, 0x62, 0x12, 0x0e, 0x0a, 0x02, "\aHTTPWeb\x12\x0e\n" +
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, "\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
0x69, 0x73, 0x4f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6e, "\x04isOn\x18\x02 \x01(\bR\x04isOnB\x06Z\x04./pbb\x06proto3"
0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var ( var (
file_models_model_http_web_proto_rawDescOnce sync.Once 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 { func file_models_model_http_web_proto_rawDescGZIP() []byte {
file_models_model_http_web_proto_rawDescOnce.Do(func() { 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 return file_models_model_http_web_proto_rawDescData
} }
@@ -116,7 +115,7 @@ func file_models_model_http_web_proto_init() {
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 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, NumEnums: 0,
NumMessages: 1, NumMessages: 1,
NumExtensions: 0, NumExtensions: 0,
@@ -127,7 +126,6 @@ func file_models_model_http_web_proto_init() {
MessageInfos: file_models_model_http_web_proto_msgTypes, MessageInfos: file_models_model_http_web_proto_msgTypes,
}.Build() }.Build()
File_models_model_http_web_proto = out.File 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_goTypes = nil
file_models_model_http_web_proto_depIdxs = nil file_models_model_http_web_proto_depIdxs = nil
} }

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.35.1 // protoc-gen-go v1.36.11
// protoc v3.21.12 // protoc v3.19.6
// source: models/model_httpdns_access_log.proto // source: models/model_httpdns_access_log.proto
package pb package pb
@@ -11,6 +11,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl" protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect" reflect "reflect"
sync "sync" sync "sync"
unsafe "unsafe"
) )
const ( const (
@@ -21,32 +22,31 @@ const (
) )
type HTTPDNSAccessLog struct { type HTTPDNSAccessLog struct {
state protoimpl.MessageState state protoimpl.MessageState `protogen:"open.v1"`
sizeCache protoimpl.SizeCache 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 unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
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"`
} }
func (x *HTTPDNSAccessLog) Reset() { 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 protoreflect.FileDescriptor
var file_models_model_httpdns_access_log_proto_rawDesc = []byte{ const file_models_model_httpdns_access_log_proto_rawDesc = "" +
0x0a, 0x25, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x68, "\n" +
0x74, 0x74, 0x70, 0x64, 0x6e, 0x73, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x6c, 0x6f, "%models/model_httpdns_access_log.proto\x12\x02pb\"\xd2\x04\n" +
0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0xd2, 0x04, 0x0a, 0x10, "\x10HTTPDNSAccessLog\x12\x0e\n" +
0x48, 0x54, 0x54, 0x50, 0x44, 0x4e, 0x53, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4c, 0x6f, 0x67, "\x02id\x18\x01 \x01(\x03R\x02id\x12\x1c\n" +
0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, "\trequestId\x18\x02 \x01(\tR\trequestId\x12\x1c\n" +
0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, "\tclusterId\x18\x03 \x01(\x03R\tclusterId\x12\x16\n" +
0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x1c, "\x06nodeId\x18\x04 \x01(\x03R\x06nodeId\x12\x14\n" +
0x0a, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, "\x05appId\x18\x05 \x01(\tR\x05appId\x12\x18\n" +
0x03, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, "\aappName\x18\x06 \x01(\tR\aappName\x12\x16\n" +
0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6e, 0x6f, "\x06domain\x18\a \x01(\tR\x06domain\x12\x14\n" +
0x64, 0x65, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x18, 0x05, 0x20, "\x05qtype\x18\b \x01(\tR\x05qtype\x12\x1a\n" +
0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x70, "\bclientIP\x18\t \x01(\tR\bclientIP\x12\"\n" +
0x70, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x70, 0x70, "\fclientRegion\x18\n" +
0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x07, " \x01(\tR\fclientRegion\x12\x18\n" +
0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x14, 0x0a, 0x05, "\acarrier\x18\v \x01(\tR\acarrier\x12\x1e\n" +
0x71, 0x74, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x71, 0x74, 0x79, "\n" +
0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x50, 0x18, 0x09, "sdkVersion\x18\f \x01(\tR\n" +
0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x50, 0x12, 0x22, "sdkVersion\x12\x0e\n" +
0x0a, 0x0c, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x0a, "\x02os\x18\r \x01(\tR\x02os\x12\x1c\n" +
0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x67, 0x69, "\tresultIPs\x18\x0e \x01(\tR\tresultIPs\x12\x16\n" +
0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x61, 0x72, 0x72, 0x69, 0x65, 0x72, 0x18, 0x0b, 0x20, "\x06status\x18\x0f \x01(\tR\x06status\x12\x1c\n" +
0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x61, 0x72, 0x72, 0x69, 0x65, 0x72, 0x12, 0x1e, 0x0a, 0x0a, "\terrorCode\x18\x10 \x01(\tR\terrorCode\x12\x16\n" +
0x73, 0x64, 0x6b, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, "\x06costMs\x18\x11 \x01(\x05R\x06costMs\x12\x1c\n" +
0x52, 0x0a, 0x73, 0x64, 0x6b, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x0a, 0x02, "\tcreatedAt\x18\x12 \x01(\x03R\tcreatedAt\x12\x10\n" +
0x6f, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x6f, 0x73, 0x12, 0x1c, 0x0a, 0x09, "\x03day\x18\x13 \x01(\tR\x03day\x12\x18\n" +
0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x49, 0x50, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, "\asummary\x18\x14 \x01(\tR\asummary\x12\x1a\n" +
0x09, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x49, 0x50, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, "\bnodeName\x18\x15 \x01(\tR\bnodeName\x12 \n" +
0x61, 0x74, 0x75, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, "\vclusterName\x18\x16 \x01(\tR\vclusterNameB\x06Z\x04./pbb\x06proto3"
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,
}
var ( var (
file_models_model_httpdns_access_log_proto_rawDescOnce sync.Once 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 { 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_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 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{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 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, NumEnums: 0,
NumMessages: 1, NumMessages: 1,
NumExtensions: 0, NumExtensions: 0,
@@ -323,7 +309,6 @@ func file_models_model_httpdns_access_log_proto_init() {
MessageInfos: file_models_model_httpdns_access_log_proto_msgTypes, MessageInfos: file_models_model_httpdns_access_log_proto_msgTypes,
}.Build() }.Build()
File_models_model_httpdns_access_log_proto = out.File 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_goTypes = nil
file_models_model_httpdns_access_log_proto_depIdxs = nil file_models_model_httpdns_access_log_proto_depIdxs = nil
} }

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.36.11 // protoc-gen-go v1.36.11
// protoc v3.21.12 // protoc v3.19.6
// source: models/model_httpdns_app.proto // source: models/model_httpdns_app.proto
package pb package pb

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.35.1 // protoc-gen-go v1.36.11
// protoc v3.21.12 // protoc v3.19.6
// source: models/model_httpdns_cluster.proto // source: models/model_httpdns_cluster.proto
package pb package pb
@@ -11,6 +11,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl" protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect" reflect "reflect"
sync "sync" sync "sync"
unsafe "unsafe"
) )
const ( const (
@@ -21,24 +22,23 @@ const (
) )
type HTTPDNSCluster struct { type HTTPDNSCluster struct {
state protoimpl.MessageState state protoimpl.MessageState `protogen:"open.v1"`
sizeCache protoimpl.SizeCache Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
unknownFields protoimpl.UnknownFields IsOn bool `protobuf:"varint,2,opt,name=isOn,proto3" json:"isOn,omitempty"`
IsDefault bool `protobuf:"varint,3,opt,name=isDefault,proto3" json:"isDefault,omitempty"`
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
IsOn bool `protobuf:"varint,2,opt,name=isOn,proto3" json:"isOn,omitempty"` ServiceDomain string `protobuf:"bytes,5,opt,name=serviceDomain,proto3" json:"serviceDomain,omitempty"`
IsDefault bool `protobuf:"varint,3,opt,name=isDefault,proto3" json:"isDefault,omitempty"` DefaultTTL int32 `protobuf:"varint,6,opt,name=defaultTTL,proto3" json:"defaultTTL,omitempty"`
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` FallbackTimeoutMs int32 `protobuf:"varint,7,opt,name=fallbackTimeoutMs,proto3" json:"fallbackTimeoutMs,omitempty"`
ServiceDomain string `protobuf:"bytes,5,opt,name=serviceDomain,proto3" json:"serviceDomain,omitempty"` InstallDir string `protobuf:"bytes,8,opt,name=installDir,proto3" json:"installDir,omitempty"`
DefaultTTL int32 `protobuf:"varint,6,opt,name=defaultTTL,proto3" json:"defaultTTL,omitempty"` TlsPolicyJSON []byte `protobuf:"bytes,9,opt,name=tlsPolicyJSON,proto3" json:"tlsPolicyJSON,omitempty"`
FallbackTimeoutMs int32 `protobuf:"varint,7,opt,name=fallbackTimeoutMs,proto3" json:"fallbackTimeoutMs,omitempty"` CreatedAt int64 `protobuf:"varint,10,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
InstallDir string `protobuf:"bytes,8,opt,name=installDir,proto3" json:"installDir,omitempty"` UpdatedAt int64 `protobuf:"varint,11,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
TlsPolicyJSON []byte `protobuf:"bytes,9,opt,name=tlsPolicyJSON,proto3" json:"tlsPolicyJSON,omitempty"` AutoRemoteStart bool `protobuf:"varint,12,opt,name=autoRemoteStart,proto3" json:"autoRemoteStart,omitempty"`
CreatedAt int64 `protobuf:"varint,10,opt,name=createdAt,proto3" json:"createdAt,omitempty"` AccessLogIsOn bool `protobuf:"varint,13,opt,name=accessLogIsOn,proto3" json:"accessLogIsOn,omitempty"`
UpdatedAt int64 `protobuf:"varint,11,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"` TimeZone string `protobuf:"bytes,14,opt,name=timeZone,proto3" json:"timeZone,omitempty"`
AutoRemoteStart bool `protobuf:"varint,12,opt,name=autoRemoteStart,proto3" json:"autoRemoteStart,omitempty"` unknownFields protoimpl.UnknownFields
AccessLogIsOn bool `protobuf:"varint,13,opt,name=accessLogIsOn,proto3" json:"accessLogIsOn,omitempty"` sizeCache protoimpl.SizeCache
TimeZone string `protobuf:"bytes,14,opt,name=timeZone,proto3" json:"timeZone,omitempty"`
} }
func (x *HTTPDNSCluster) Reset() { 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 protoreflect.FileDescriptor
var file_models_model_httpdns_cluster_proto_rawDesc = []byte{ const file_models_model_httpdns_cluster_proto_rawDesc = "" +
0x0a, 0x22, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x68, "\n" +
0x74, 0x74, 0x70, 0x64, 0x6e, 0x73, 0x5f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x70, "\"models/model_httpdns_cluster.proto\x12\x02pb\"\xc8\x03\n" +
0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0xdc, 0x02, 0x0a, 0x0e, 0x48, 0x54, 0x54, "\x0eHTTPDNSCluster\x12\x0e\n" +
0x50, 0x44, 0x4e, 0x53, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, "\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x69, "\x04isOn\x18\x02 \x01(\bR\x04isOn\x12\x1c\n" +
0x73, 0x4f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x12, "\tisDefault\x18\x03 \x01(\bR\tisDefault\x12\x12\n" +
0x1c, 0x0a, 0x09, 0x69, 0x73, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x18, 0x03, 0x20, 0x01, "\x04name\x18\x04 \x01(\tR\x04name\x12$\n" +
0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, 0x12, 0x0a, "\rserviceDomain\x18\x05 \x01(\tR\rserviceDomain\x12\x1e\n" +
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, "\n" +
0x65, 0x12, 0x24, 0x0a, 0x0d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x44, 0x6f, 0x6d, 0x61, "defaultTTL\x18\x06 \x01(\x05R\n" +
0x69, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, "defaultTTL\x12,\n" +
0x65, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x66, 0x61, 0x75, "\x11fallbackTimeoutMs\x18\a \x01(\x05R\x11fallbackTimeoutMs\x12\x1e\n" +
0x6c, 0x74, 0x54, 0x54, 0x4c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x64, 0x65, 0x66, "\n" +
0x61, 0x75, 0x6c, 0x74, 0x54, 0x54, 0x4c, 0x12, 0x2c, 0x0a, 0x11, 0x66, 0x61, 0x6c, 0x6c, 0x62, "installDir\x18\b \x01(\tR\n" +
0x61, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x4d, 0x73, 0x18, 0x07, 0x20, 0x01, "installDir\x12$\n" +
0x28, 0x05, 0x52, 0x11, 0x66, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, "\rtlsPolicyJSON\x18\t \x01(\fR\rtlsPolicyJSON\x12\x1c\n" +
0x6f, 0x75, 0x74, 0x4d, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, "\tcreatedAt\x18\n" +
0x44, 0x69, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x6e, 0x73, 0x74, 0x61, " \x01(\x03R\tcreatedAt\x12\x1c\n" +
0x6c, 0x6c, 0x44, 0x69, 0x72, 0x12, 0x24, 0x0a, 0x0d, 0x74, 0x6c, 0x73, 0x50, 0x6f, 0x6c, 0x69, "\tupdatedAt\x18\v \x01(\x03R\tupdatedAt\x12(\n" +
0x63, 0x79, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x74, 0x6c, "\x0fautoRemoteStart\x18\f \x01(\bR\x0fautoRemoteStart\x12$\n" +
0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x4a, 0x53, 0x4f, 0x4e, 0x12, 0x1c, 0x0a, 0x09, 0x63, "\raccessLogIsOn\x18\r \x01(\bR\raccessLogIsOn\x12\x1a\n" +
0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, "\btimeZone\x18\x0e \x01(\tR\btimeZoneB\x06Z\x04./pbb\x06proto3"
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,
}
var ( var (
file_models_model_httpdns_cluster_proto_rawDescOnce sync.Once 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 { func file_models_model_httpdns_cluster_proto_rawDescGZIP() []byte {
file_models_model_httpdns_cluster_proto_rawDescOnce.Do(func() { 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 return file_models_model_httpdns_cluster_proto_rawDescData
} }
@@ -233,7 +228,7 @@ func file_models_model_httpdns_cluster_proto_init() {
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 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, NumEnums: 0,
NumMessages: 1, NumMessages: 1,
NumExtensions: 0, NumExtensions: 0,
@@ -244,7 +239,6 @@ func file_models_model_httpdns_cluster_proto_init() {
MessageInfos: file_models_model_httpdns_cluster_proto_msgTypes, MessageInfos: file_models_model_httpdns_cluster_proto_msgTypes,
}.Build() }.Build()
File_models_model_httpdns_cluster_proto = out.File 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_goTypes = nil
file_models_model_httpdns_cluster_proto_depIdxs = nil file_models_model_httpdns_cluster_proto_depIdxs = nil
} }

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.35.1 // protoc-gen-go v1.36.11
// protoc v3.21.12 // protoc v3.19.6
// source: models/model_httpdns_domain.proto // source: models/model_httpdns_domain.proto
package pb package pb
@@ -11,6 +11,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl" protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect" reflect "reflect"
sync "sync" sync "sync"
unsafe "unsafe"
) )
const ( const (
@@ -21,17 +22,16 @@ const (
) )
type HTTPDNSDomain struct { type HTTPDNSDomain struct {
state protoimpl.MessageState state protoimpl.MessageState `protogen:"open.v1"`
sizeCache protoimpl.SizeCache 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 unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
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"`
} }
func (x *HTTPDNSDomain) Reset() { 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 protoreflect.FileDescriptor
var file_models_model_httpdns_domain_proto_rawDesc = []byte{ const file_models_model_httpdns_domain_proto_rawDesc = "" +
0x0a, 0x21, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x68, "\n" +
0x74, 0x74, 0x70, 0x64, 0x6e, 0x73, 0x5f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x2e, 0x70, 0x72, "!models/model_httpdns_domain.proto\x12\x02pb\"\xbb\x01\n" +
0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0xbb, 0x01, 0x0a, 0x0d, 0x48, 0x54, 0x54, 0x50, "\rHTTPDNSDomain\x12\x0e\n" +
0x44, 0x4e, 0x53, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, "\x02id\x18\x01 \x01(\x03R\x02id\x12\x14\n" +
0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, "\x05appId\x18\x02 \x01(\x03R\x05appId\x12\x16\n" +
0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x12, "\x06domain\x18\x03 \x01(\tR\x06domain\x12\x12\n" +
0x16, 0x0a, 0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, "\x04isOn\x18\x04 \x01(\bR\x04isOn\x12\x1c\n" +
0x06, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x18, "\tcreatedAt\x18\x05 \x01(\x03R\tcreatedAt\x12\x1c\n" +
0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x63, "\tupdatedAt\x18\x06 \x01(\x03R\tupdatedAt\x12\x1c\n" +
0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, "\truleCount\x18\a \x01(\x03R\truleCountB\x06Z\x04./pbb\x06proto3"
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,
}
var ( var (
file_models_model_httpdns_domain_proto_rawDescOnce sync.Once 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 { func file_models_model_httpdns_domain_proto_rawDescGZIP() []byte {
file_models_model_httpdns_domain_proto_rawDescOnce.Do(func() { 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 return file_models_model_httpdns_domain_proto_rawDescData
} }
@@ -167,7 +160,7 @@ func file_models_model_httpdns_domain_proto_init() {
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 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, NumEnums: 0,
NumMessages: 1, NumMessages: 1,
NumExtensions: 0, NumExtensions: 0,
@@ -178,7 +171,6 @@ func file_models_model_httpdns_domain_proto_init() {
MessageInfos: file_models_model_httpdns_domain_proto_msgTypes, MessageInfos: file_models_model_httpdns_domain_proto_msgTypes,
}.Build() }.Build()
File_models_model_httpdns_domain_proto = out.File 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_goTypes = nil
file_models_model_httpdns_domain_proto_depIdxs = nil file_models_model_httpdns_domain_proto_depIdxs = nil
} }

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.36.11 // protoc-gen-go v1.36.11
// protoc v3.21.12 // protoc v3.19.6
// source: models/model_httpdns_node.proto // source: models/model_httpdns_node.proto
package pb package pb

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.35.1 // protoc-gen-go v1.36.11
// protoc v3.21.12 // protoc v3.19.6
// source: models/model_httpdns_rule.proto // source: models/model_httpdns_rule.proto
package pb package pb
@@ -11,6 +11,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl" protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect" reflect "reflect"
sync "sync" sync "sync"
unsafe "unsafe"
) )
const ( const (
@@ -21,16 +22,15 @@ const (
) )
type HTTPDNSRuleRecord struct { type HTTPDNSRuleRecord struct {
state protoimpl.MessageState state protoimpl.MessageState `protogen:"open.v1"`
sizeCache protoimpl.SizeCache 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 unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
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"`
} }
func (x *HTTPDNSRuleRecord) Reset() { func (x *HTTPDNSRuleRecord) Reset() {
@@ -106,25 +106,24 @@ func (x *HTTPDNSRuleRecord) GetSort() int32 {
} }
type HTTPDNSCustomRule struct { type HTTPDNSCustomRule struct {
state protoimpl.MessageState state protoimpl.MessageState `protogen:"open.v1"`
sizeCache protoimpl.SizeCache 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 unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
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"`
} }
func (x *HTTPDNSCustomRule) Reset() { 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 protoreflect.FileDescriptor
var file_models_model_httpdns_rule_proto_rawDesc = []byte{ const file_models_model_httpdns_rule_proto_rawDesc = "" +
0x0a, 0x1f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x68, "\n" +
0x74, 0x74, 0x70, 0x64, 0x6e, 0x73, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, "\x1fmodels/model_httpdns_rule.proto\x12\x02pb\"\xa9\x01\n" +
0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0xa9, 0x01, 0x0a, 0x11, 0x48, 0x54, 0x54, 0x50, 0x44, 0x4e, "\x11HTTPDNSRuleRecord\x12\x0e\n" +
0x53, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, "\x02id\x18\x01 \x01(\x03R\x02id\x12\x16\n" +
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x72, "\x06ruleId\x18\x02 \x01(\x03R\x06ruleId\x12\x1e\n" +
0x75, 0x6c, 0x65, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x72, 0x75, 0x6c, "\n" +
0x65, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x54, 0x79, 0x70, "recordType\x18\x03 \x01(\tR\n" +
0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x54, "recordType\x12 \n" +
0x79, 0x70, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x56, 0x61, 0x6c, "\vrecordValue\x18\x04 \x01(\tR\vrecordValue\x12\x16\n" +
0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, "\x06weight\x18\x05 \x01(\x05R\x06weight\x12\x12\n" +
0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, "\x04sort\x18\x06 \x01(\x05R\x04sort\"\xce\x03\n" +
0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x12, 0x0a, "\x11HTTPDNSCustomRule\x12\x0e\n" +
0x04, 0x73, 0x6f, 0x72, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x73, 0x6f, 0x72, "\x02id\x18\x01 \x01(\x03R\x02id\x12\x14\n" +
0x74, 0x22, 0xce, 0x03, 0x0a, 0x11, 0x48, 0x54, 0x54, 0x50, 0x44, 0x4e, 0x53, 0x43, 0x75, 0x73, "\x05appId\x18\x02 \x01(\x03R\x05appId\x12\x1a\n" +
0x74, 0x6f, 0x6d, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, "\bdomainId\x18\x03 \x01(\x03R\bdomainId\x12\x1a\n" +
0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, "\bruleName\x18\x04 \x01(\tR\bruleName\x12\x1c\n" +
0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x12, 0x1a, 0x0a, "\tlineScope\x18\x05 \x01(\tR\tlineScope\x12 \n" +
0x08, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, "\vlineCarrier\x18\x06 \x01(\tR\vlineCarrier\x12\x1e\n" +
0x08, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x75, 0x6c, "\n" +
0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x75, 0x6c, "lineRegion\x18\a \x01(\tR\n" +
0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x6c, 0x69, 0x6e, 0x65, 0x53, 0x63, 0x6f, "lineRegion\x12\"\n" +
0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6c, 0x69, 0x6e, 0x65, 0x53, 0x63, "\flineProvince\x18\b \x01(\tR\flineProvince\x12$\n" +
0x6f, 0x70, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x6c, 0x69, 0x6e, 0x65, 0x43, 0x61, 0x72, 0x72, 0x69, "\rlineContinent\x18\t \x01(\tR\rlineContinent\x12 \n" +
0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6c, 0x69, 0x6e, 0x65, 0x43, 0x61, "\vlineCountry\x18\n" +
0x72, 0x72, 0x69, 0x65, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x6c, 0x69, 0x6e, 0x65, 0x52, 0x65, 0x67, " \x01(\tR\vlineCountry\x12\x10\n" +
0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x69, 0x6e, 0x65, 0x52, "\x03ttl\x18\v \x01(\x05R\x03ttl\x12\x12\n" +
0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x0a, 0x0c, 0x6c, 0x69, 0x6e, 0x65, 0x50, 0x72, 0x6f, "\x04isOn\x18\f \x01(\bR\x04isOn\x12\x1a\n" +
0x76, 0x69, 0x6e, 0x63, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x69, 0x6e, "\bpriority\x18\r \x01(\x05R\bpriority\x12\x1c\n" +
0x65, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x6e, 0x63, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x6c, 0x69, 0x6e, "\tupdatedAt\x18\x0e \x01(\x03R\tupdatedAt\x12/\n" +
0x65, 0x43, 0x6f, 0x6e, 0x74, 0x69, 0x6e, 0x65, 0x6e, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, "\arecords\x18\x0f \x03(\v2\x15.pb.HTTPDNSRuleRecordR\arecordsB\x06Z\x04./pbb\x06proto3"
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,
}
var ( var (
file_models_model_httpdns_rule_proto_rawDescOnce sync.Once 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 { func file_models_model_httpdns_rule_proto_rawDescGZIP() []byte {
file_models_model_httpdns_rule_proto_rawDescOnce.Do(func() { 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 return file_models_model_httpdns_rule_proto_rawDescData
} }
@@ -346,7 +330,7 @@ func file_models_model_httpdns_rule_proto_init() {
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 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, NumEnums: 0,
NumMessages: 2, NumMessages: 2,
NumExtensions: 0, NumExtensions: 0,
@@ -357,7 +341,6 @@ func file_models_model_httpdns_rule_proto_init() {
MessageInfos: file_models_model_httpdns_rule_proto_msgTypes, MessageInfos: file_models_model_httpdns_rule_proto_msgTypes,
}.Build() }.Build()
File_models_model_httpdns_rule_proto = out.File 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_goTypes = nil
file_models_model_httpdns_rule_proto_depIdxs = nil file_models_model_httpdns_rule_proto_depIdxs = nil
} }

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.35.1 // protoc-gen-go v1.36.11
// protoc v3.21.12 // protoc v3.19.6
// source: models/model_httpdns_runtime_log.proto // source: models/model_httpdns_runtime_log.proto
package pb package pb
@@ -11,6 +11,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl" protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect" reflect "reflect"
sync "sync" sync "sync"
unsafe "unsafe"
) )
const ( const (
@@ -21,23 +22,22 @@ const (
) )
type HTTPDNSRuntimeLog struct { type HTTPDNSRuntimeLog struct {
state protoimpl.MessageState state protoimpl.MessageState `protogen:"open.v1"`
sizeCache protoimpl.SizeCache 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 unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
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"`
} }
func (x *HTTPDNSRuntimeLog) Reset() { 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 protoreflect.FileDescriptor
var file_models_model_httpdns_runtime_log_proto_rawDesc = []byte{ const file_models_model_httpdns_runtime_log_proto_rawDesc = "" +
0x0a, 0x26, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x68, "\n" +
0x74, 0x74, 0x70, 0x64, 0x6e, 0x73, 0x5f, 0x72, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6c, "&models/model_httpdns_runtime_log.proto\x12\x02pb\"\xdf\x02\n" +
0x6f, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x22, 0xdf, 0x02, 0x0a, "\x11HTTPDNSRuntimeLog\x12\x0e\n" +
0x11, 0x48, 0x54, 0x54, 0x50, 0x44, 0x4e, 0x53, 0x52, 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x4c, "\x02id\x18\x01 \x01(\x03R\x02id\x12\x1c\n" +
0x6f, 0x67, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, "\tclusterId\x18\x02 \x01(\x03R\tclusterId\x12\x16\n" +
0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, "\x06nodeId\x18\x03 \x01(\x03R\x06nodeId\x12\x14\n" +
0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x64, "\x05level\x18\x04 \x01(\tR\x05level\x12\x12\n" +
0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, "\x04type\x18\x05 \x01(\tR\x04type\x12\x16\n" +
0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, "\x06module\x18\x06 \x01(\tR\x06module\x12 \n" +
0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x12, "\vdescription\x18\a \x01(\tR\vdescription\x12\x14\n" +
0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, "\x05count\x18\b \x01(\x03R\x05count\x12\x1c\n" +
0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, "\trequestId\x18\t \x01(\tR\trequestId\x12\x1c\n" +
0x28, 0x09, 0x52, 0x06, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, "\tcreatedAt\x18\n" +
0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, " \x01(\x03R\tcreatedAt\x12\x10\n" +
0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, "\x03day\x18\v \x01(\tR\x03day\x12 \n" +
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x75, "\vclusterName\x18\f \x01(\tR\vclusterName\x12\x1a\n" +
0x6e, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x18, "\bnodeName\x18\r \x01(\tR\bnodeNameB\x06Z\x04./pbb\x06proto3"
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,
}
var ( var (
file_models_model_httpdns_runtime_log_proto_rawDescOnce sync.Once 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 { 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_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 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{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 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, NumEnums: 0,
NumMessages: 1, NumMessages: 1,
NumExtensions: 0, NumExtensions: 0,
@@ -236,7 +226,6 @@ func file_models_model_httpdns_runtime_log_proto_init() {
MessageInfos: file_models_model_httpdns_runtime_log_proto_msgTypes, MessageInfos: file_models_model_httpdns_runtime_log_proto_msgTypes,
}.Build() }.Build()
File_models_model_httpdns_runtime_log_proto = out.File 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_goTypes = nil
file_models_model_httpdns_runtime_log_proto_depIdxs = nil file_models_model_httpdns_runtime_log_proto_depIdxs = nil
} }

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.36.0 // protoc-gen-go v1.36.11
// protoc v6.33.2 // protoc v3.19.6
// source: models/model_ip_item.proto // source: models/model_ip_item.proto
package pb package pb
@@ -11,6 +11,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl" protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect" reflect "reflect"
sync "sync" sync "sync"
unsafe "unsafe"
) )
const ( 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 protoreflect.FileDescriptor
var file_models_model_ip_item_proto_rawDesc = []byte{ const file_models_model_ip_item_proto_rawDesc = "" +
0x0a, 0x1a, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x69, "\n" +
0x70, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, "\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" +
0x1a, 0x27, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x68, "\x06IPItem\x12\x0e\n" +
0x74, 0x74, 0x70, 0x5f, 0x66, 0x69, 0x72, 0x65, 0x77, 0x61, 0x6c, 0x6c, 0x5f, 0x70, 0x6f, 0x6c, "\x02id\x18\x01 \x01(\x03R\x02id\x12\x14\n" +
0x69, 0x63, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2b, 0x6d, 0x6f, 0x64, 0x65, 0x6c, "\x05value\x18\x16 \x01(\tR\x05value\x12\x16\n" +
0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x66, 0x69, 0x72, "\x06ipFrom\x18\x02 \x01(\tR\x06ipFrom\x12\x12\n" +
0x65, 0x77, 0x61, 0x6c, 0x6c, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, "\x04ipTo\x18\x03 \x01(\tR\x04ipTo\x12\x18\n" +
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x29, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, "\aversion\x18\x04 \x01(\x03R\aversion\x12\x1c\n" +
0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x66, 0x69, 0x72, 0x65, 0x77, 0x61, "\texpiredAt\x18\x05 \x01(\x03R\texpiredAt\x12\x16\n" +
0x6c, 0x6c, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, "\x06reason\x18\x06 \x01(\tR\x06reason\x12\x16\n" +
0x6f, 0x1a, 0x19, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, "\x06listId\x18\a \x01(\x03R\x06listId\x12\x1c\n" +
0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x6d, 0x6f, "\tisDeleted\x18\b \x01(\bR\tisDeleted\x12\x12\n" +
0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x2e, "\x04type\x18\t \x01(\tR\x04type\x12\x1e\n" +
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd0, 0x08, 0x0a, 0x06, 0x49, 0x50, 0x49, 0x74, 0x65, 0x6d, "\n" +
0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, "eventLevel\x18\n" +
0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x16, 0x20, 0x01, 0x28, 0x09, 0x52, " \x01(\tR\n" +
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x70, 0x46, 0x72, 0x6f, 0x6d, "eventLevel\x12\x1a\n" +
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x69, 0x70, 0x46, 0x72, 0x6f, 0x6d, 0x12, 0x12, "\blistType\x18\v \x01(\tR\blistType\x12\x1a\n" +
0x0a, 0x04, 0x69, 0x70, 0x54, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x69, 0x70, "\bisGlobal\x18\x14 \x01(\bR\bisGlobal\x12\x1c\n" +
0x54, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, "\tcreatedAt\x18\f \x01(\x03R\tcreatedAt\x12\x16\n" +
0x01, 0x28, 0x03, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, "\x06nodeId\x18\r \x01(\x03R\x06nodeId\x12\x1a\n" +
0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x64, 0x41, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, "\bserverId\x18\x0e \x01(\x03R\bserverId\x12\"\n" +
0x09, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x64, 0x41, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, "\fsourceNodeId\x18\x0f \x01(\x03R\fsourceNodeId\x12&\n" +
0x61, 0x73, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, "\x0esourceServerId\x18\x10 \x01(\x03R\x0esourceServerId\x12>\n" +
0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x69, 0x73, 0x74, 0x49, 0x64, 0x18, 0x07, 0x20, 0x01, "\x1asourceHTTPFirewallPolicyId\x18\x11 \x01(\x03R\x1asourceHTTPFirewallPolicyId\x12D\n" +
0x28, 0x03, 0x52, 0x06, 0x6c, 0x69, 0x73, 0x74, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x69, 0x73, "\x1dsourceHTTPFirewallRuleGroupId\x18\x12 \x01(\x03R\x1dsourceHTTPFirewallRuleGroupId\x12@\n" +
0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, "\x1bsourceHTTPFirewallRuleSetId\x18\x13 \x01(\x03R\x1bsourceHTTPFirewallRuleSetId\x12\x16\n" +
0x73, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, "\x06isRead\x18\x15 \x01(\bR\x06isRead\x12.\n" +
0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1e, 0x0a, 0x0a, "\fsourceServer\x18\x1e \x01(\v2\n" +
0x65, 0x76, 0x65, 0x6e, 0x74, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, ".pb.ServerR\fsourceServer\x12\"\n" +
0x52, 0x0a, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x1a, 0x0a, 0x08, "\x06server\x18\" \x01(\v2\n" +
0x6c, 0x69, 0x73, 0x74, 0x54, 0x79, 0x70, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, ".pb.ServerR\x06server\x12R\n" +
0x6c, 0x69, 0x73, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x47, 0x6c, "\x18sourceHTTPFirewallPolicy\x18\x1f \x01(\v2\x16.pb.HTTPFirewallPolicyR\x18sourceHTTPFirewallPolicy\x12[\n" +
0x6f, 0x62, 0x61, 0x6c, 0x18, 0x14, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x47, 0x6c, "\x1bsourceHTTPFirewallRuleGroup\x18 \x01(\v2\x19.pb.HTTPFirewallRuleGroupR\x1bsourceHTTPFirewallRuleGroup\x12U\n" +
0x6f, 0x62, 0x61, 0x6c, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, "\x19sourceHTTPFirewallRuleSet\x18! \x01(\v2\x17.pb.HTTPFirewallRuleSetR\x19sourceHTTPFirewallRuleSet\x12(\n" +
0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, "\n" +
0x41, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x18, 0x0d, 0x20, 0x01, "sourceNode\x18# \x01(\v2\b.pb.NodeR\n" +
0x28, 0x03, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, "sourceNodeB\x06Z\x04./pbb\x06proto3"
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,
}
var ( var (
file_models_model_ip_item_proto_rawDescOnce sync.Once 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 { func file_models_model_ip_item_proto_rawDescGZIP() []byte {
file_models_model_ip_item_proto_rawDescOnce.Do(func() { 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 return file_models_model_ip_item_proto_rawDescData
} }
@@ -418,7 +372,7 @@ func file_models_model_ip_item_proto_init() {
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 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, NumEnums: 0,
NumMessages: 1, NumMessages: 1,
NumExtensions: 0, NumExtensions: 0,
@@ -429,7 +383,6 @@ func file_models_model_ip_item_proto_init() {
MessageInfos: file_models_model_ip_item_proto_msgTypes, MessageInfos: file_models_model_ip_item_proto_msgTypes,
}.Build() }.Build()
File_models_model_ip_item_proto = out.File 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_goTypes = nil
file_models_model_ip_item_proto_depIdxs = nil file_models_model_ip_item_proto_depIdxs = nil
} }

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.36.0 // protoc-gen-go v1.36.11
// protoc v6.33.2 // protoc v3.19.6
// source: models/model_ip_library.proto // source: models/model_ip_library.proto
package pb package pb
@@ -11,6 +11,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl" protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect" reflect "reflect"
sync "sync" sync "sync"
unsafe "unsafe"
) )
const ( 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 protoreflect.FileDescriptor
var file_models_model_ip_library_proto_rawDesc = []byte{ const file_models_model_ip_library_proto_rawDesc = "" +
0x0a, 0x1d, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x69, "\n" +
0x70, 0x5f, 0x6c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, "\x1dmodels/model_ip_library.proto\x12\x02pb\x1a\x17models/model_file.proto\"k\n" +
0x02, 0x70, 0x62, 0x1a, 0x17, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, "\tIPLibrary\x12\x0e\n" +
0x6c, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6b, 0x0a, 0x09, "\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
0x49, 0x50, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, "\x04type\x18\x02 \x01(\tR\x04type\x12\x1c\n" +
0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, "\tcreatedAt\x18\x03 \x01(\x03R\tcreatedAt\x12\x1c\n" +
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, "\x04file\x18\x1e \x01(\v2\b.pb.FileR\x04fileB\x06Z\x04./pbb\x06proto3"
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,
}
var ( var (
file_models_model_ip_library_proto_rawDescOnce sync.Once 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 { func file_models_model_ip_library_proto_rawDescGZIP() []byte {
file_models_model_ip_library_proto_rawDescOnce.Do(func() { 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 return file_models_model_ip_library_proto_rawDescData
} }
@@ -141,7 +136,7 @@ func file_models_model_ip_library_proto_init() {
out := protoimpl.TypeBuilder{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 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, NumEnums: 0,
NumMessages: 1, NumMessages: 1,
NumExtensions: 0, NumExtensions: 0,
@@ -152,7 +147,6 @@ func file_models_model_ip_library_proto_init() {
MessageInfos: file_models_model_ip_library_proto_msgTypes, MessageInfos: file_models_model_ip_library_proto_msgTypes,
}.Build() }.Build()
File_models_model_ip_library_proto = out.File 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_goTypes = nil
file_models_model_ip_library_proto_depIdxs = nil file_models_model_ip_library_proto_depIdxs = nil
} }

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.36.0 // protoc-gen-go v1.36.11
// protoc v6.33.2 // protoc v3.19.6
// source: models/model_ip_library_artifact.proto // source: models/model_ip_library_artifact.proto
package pb package pb
@@ -11,6 +11,7 @@ import (
protoimpl "google.golang.org/protobuf/runtime/protoimpl" protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect" reflect "reflect"
sync "sync" sync "sync"
unsafe "unsafe"
) )
const ( 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 protoreflect.FileDescriptor
var file_models_model_ip_library_artifact_proto_rawDesc = []byte{ const file_models_model_ip_library_artifact_proto_rawDesc = "" +
0x0a, 0x26, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x69, "\n" +
0x70, 0x5f, 0x6c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x5f, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, "&models/model_ip_library_artifact.proto\x12\x02pb\x1a\x17models/model_file.proto\"\xd7\x01\n" +
0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x17, 0x6d, 0x6f, "\x11IPLibraryArtifact\x12\x0e\n" +
0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x2e, "\x02id\x18\x01 \x01(\x03R\x02id\x12\x16\n" +
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd7, 0x01, 0x0a, 0x11, 0x49, 0x50, 0x4c, 0x69, 0x62, 0x72, "\x06fileId\x18\x02 \x01(\x03R\x06fileId\x12\x1c\n" +
0x61, 0x72, 0x79, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, "\tcreatedAt\x18\x03 \x01(\x03R\tcreatedAt\x12\x1a\n" +
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x66, "\bmetaJSON\x18\x04 \x01(\fR\bmetaJSON\x12\x1a\n" +
0x69, 0x6c, 0x65, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x66, 0x69, 0x6c, "\bisPublic\x18\x05 \x01(\bR\bisPublic\x12\x12\n" +
0x65, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, "\x04name\x18\x06 \x01(\tR\x04name\x12\x12\n" +
0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, "\x04code\x18\a \x01(\tR\x04code\x12\x1c\n" +
0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x4a, 0x53, 0x4f, 0x4e, 0x18, 0x04, 0x20, "\x04file\x18\x1e \x01(\v2\b.pb.FileR\x04fileB\x06Z\x04./pbb\x06proto3"
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,
}
var ( var (
file_models_model_ip_library_artifact_proto_rawDescOnce sync.Once 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 { 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_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 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{ out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{ File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 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, NumEnums: 0,
NumMessages: 1, NumMessages: 1,
NumExtensions: 0, NumExtensions: 0,
@@ -191,7 +183,6 @@ func file_models_model_ip_library_artifact_proto_init() {
MessageInfos: file_models_model_ip_library_artifact_proto_msgTypes, MessageInfos: file_models_model_ip_library_artifact_proto_msgTypes,
}.Build() }.Build()
File_models_model_ip_library_artifact_proto = out.File 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_goTypes = nil
file_models_model_ip_library_artifact_proto_depIdxs = nil file_models_model_ip_library_artifact_proto_depIdxs = nil
} }

Some files were not shown because too many files have changed in this diff Show More