This is an automated email from the ASF dual-hosted git repository.
zhongxjian pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-kubernetes.git
The following commit(s) were added to refs/heads/master by this push:
new f5efec6b [charts] Improve register plane configuration (#666)
f5efec6b is described below
commit f5efec6b6bc7887b90ab16e40b1e23d3b94a2c6a
Author: Jian Zhong <[email protected]>
AuthorDate: Sat Mar 29 15:22:30 2025 +0800
[charts] Improve register plane configuration (#666)
---
manifests/charts/base/templates/_helpers.tpl | 6 -
manifests/charts/base/values.yaml | 7 +-
.../nacos/templates/configmap.yaml | 14 +-
.../nacos/templates/mysql-configmap.yaml | 193 ++++
.../nacos/templates/mysql-statefulset.yaml | 71 +-
.../nacos/templates/statefulset.yaml | 36 +-
.../register-discovery/nacos/values.yaml | 28 +-
.../zookeeper/templates/configmap.yaml | 5 +-
.../zookeeper/templates/statefulset.yaml | 111 +--
.../register-discovery/zookeeper/values.yaml | 63 +-
manifests/profiles/default.yaml | 4 +-
operator/pkg/apis/proto/values_types.proto | 123 +--
operator/pkg/apis/values_types.pb.go | 1042 +++-----------------
13 files changed, 439 insertions(+), 1264 deletions(-)
diff --git a/manifests/charts/base/templates/_helpers.tpl
b/manifests/charts/base/templates/_helpers.tpl
index 508181af..e69de29b 100644
--- a/manifests/charts/base/templates/_helpers.tpl
+++ b/manifests/charts/base/templates/_helpers.tpl
@@ -1,6 +0,0 @@
-{{/*
-Return Dubbo Namespace to use.
-*/}}
-{{- define "dubbo.namespace" -}}
-{{- "dubbo-system" | default }}
-{{- end }}
diff --git a/manifests/charts/base/values.yaml
b/manifests/charts/base/values.yaml
index f97a6955..d14bce2c 100644
--- a/manifests/charts/base/values.yaml
+++ b/manifests/charts/base/values.yaml
@@ -14,8 +14,5 @@
# limitations under the License.
_internal_default_values_not_set:
- global:
- dubboNamespace: dubbo-system
- base:
- # For dubboctl usage to disable dubbo config crds in base
- enabledubboConfigCRDs: true
+ global: {}
+ base: {}
diff --git
a/manifests/charts/dubbo-control/register-discovery/nacos/templates/configmap.yaml
b/manifests/charts/dubbo-control/register-discovery/nacos/templates/configmap.yaml
index 1ad4b959..04a2c57e 100644
---
a/manifests/charts/dubbo-control/register-discovery/nacos/templates/configmap.yaml
+++
b/manifests/charts/dubbo-control/register-discovery/nacos/templates/configmap.yaml
@@ -15,12 +15,12 @@ metadata:
release: {{ .Release.Name }}
app.kubernetes.io/name: "register"
data:
- {{- with $nacos.storage | default $ncs.storage }}
- mysql.db.host: {{ .database.host | default $ncs.database.host }}
- mysql.db.name: {{ .database.name | default $ncs.database.name }}
- mysql.port: "{{ .database.host | default $ncs.database.host | default 3306
}}"
- mysql.user: {{ .database.username | default $ncs.database.username }}
- mysql.password: {{ .database.password | default $ncs.database.password }}
- mysql.param: {{ .database.param | default $ncs.database.param | default
"characterEncoding=utf8&connectTimeout=1000&socketTimeout=3000&autoReconnect=true&useSSL=false"
}}
+ {{- with $nacos.storage }}
+ mysql.db.host: {{ .database.host }}
+ mysql.db.name: {{ .database.name }}
+ mysql.port: "{{ .database.port | default 3306 }}"
+ mysql.user: {{ .database.username }}
+ mysql.password: {{ .database.password }}
+ mysql.param: {{ .database.param | default
"characterEncoding=utf8&connectTimeout=1000&socketTimeout=3000&autoReconnect=true&useSSL=false&allowPublicKeyRetrieval=true"
}}
{{- end -}}
{{- end -}}
diff --git
a/manifests/charts/dubbo-control/register-discovery/nacos/templates/mysql-configmap.yaml
b/manifests/charts/dubbo-control/register-discovery/nacos/templates/mysql-configmap.yaml
new file mode 100644
index 00000000..cc5911a6
--- /dev/null
+++
b/manifests/charts/dubbo-control/register-discovery/nacos/templates/mysql-configmap.yaml
@@ -0,0 +1,193 @@
+# mysql -unacos -pnacos nacos < mysql-schema.sql
+{{- $nacos := .Values -}}
+{{- $ncs := .Values.nacos }}
+{{- if eq $nacos.storage.type "mysql" }}
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: nacos-table-config
+ namespace: {{ .Release.Namespace }}
+ labels:
+ app: nacos
+ dubbo.io/rev: {{ default "default" | quote }}
+ install.operator.dubbo.io/owning-resource: {{ default "unknown" }}
+ operator.dubbo.io/component: "Nacos"
+ dubbo: nacos
+ release: {{ .Release.Name }}
+ app.kubernetes.io/name: "register"
+data:
+ #
https://github.com/alibaba/nacos/blob/develop/distribution/conf/mysql-schema.sql
+ mysql-schema.sql: |-
+ /******************************************/
+ /* 表名称 = config_info */
+ /******************************************/
+ CREATE TABLE `config_info`
+ (
+ `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id',
+ `data_id` varchar(255) NOT NULL COMMENT 'data_id',
+ `group_id` varchar(128) DEFAULT NULL COMMENT
'group_id',
+ `content` longtext NOT NULL COMMENT 'content',
+ `md5` varchar(32) DEFAULT NULL COMMENT 'md5',
+ `gmt_create` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP
COMMENT '创建时间',
+ `gmt_modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP
COMMENT '修改时间',
+ `src_user` text COMMENT 'source user',
+ `src_ip` varchar(50) DEFAULT NULL COMMENT
'source ip',
+ `app_name` varchar(128) DEFAULT NULL COMMENT
'app_name',
+ `tenant_id` varchar(128) DEFAULT '' COMMENT '租户字段',
+ `c_desc` varchar(256) DEFAULT NULL COMMENT
'configuration description',
+ `c_use` varchar(64) DEFAULT NULL COMMENT
'configuration usage',
+ `effect` varchar(64) DEFAULT NULL COMMENT
'配置生效的描述',
+ `type` varchar(64) DEFAULT NULL COMMENT
'配置的类型',
+ `c_schema` text COMMENT '配置的模式',
+ `encrypted_data_key` varchar(1024) NOT NULL DEFAULT '' COMMENT '密钥',
+ PRIMARY KEY (`id`),
+ UNIQUE KEY `uk_configinfo_datagrouptenant`
(`data_id`,`group_id`,`tenant_id`)
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin
COMMENT='config_info';
+
+ /******************************************/
+ /* 表名称 = config_info since 2.5.0 */
+ /******************************************/
+ CREATE TABLE `config_info_gray`
+ (
+ `id` bigint unsigned NOT NULL AUTO_INCREMENT COMMENT
'id',
+ `data_id` varchar(255) NOT NULL COMMENT 'data_id',
+ `group_id` varchar(128) NOT NULL COMMENT 'group_id',
+ `content` longtext NOT NULL COMMENT 'content',
+ `md5` varchar(32) DEFAULT NULL COMMENT 'md5',
+ `src_user` text COMMENT 'src_user',
+ `src_ip` varchar(100) DEFAULT NULL COMMENT
'src_ip',
+ `gmt_create` datetime(3) NOT NULL DEFAULT CURRENT_TIMESTAMP
(3) COMMENT 'gmt_create',
+ `gmt_modified` datetime(3) NOT NULL DEFAULT CURRENT_TIMESTAMP
(3) COMMENT 'gmt_modified',
+ `app_name` varchar(128) DEFAULT NULL COMMENT
'app_name',
+ `tenant_id` varchar(128) DEFAULT '' COMMENT
'tenant_id',
+ `gray_name` varchar(128) NOT NULL COMMENT 'gray_name',
+ `gray_rule` text NOT NULL COMMENT 'gray_rule',
+ `encrypted_data_key` varchar(256) NOT NULL DEFAULT '' COMMENT
'encrypted_data_key',
+ PRIMARY KEY (`id`),
+ UNIQUE KEY `uk_configinfogray_datagrouptenantgray`
(`data_id`,`group_id`,`tenant_id`,`gray_name`),
+ KEY `idx_dataid_gmt_modified`
(`data_id`,`gmt_modified`),
+ KEY `idx_gmt_modified` (`gmt_modified`)
+ ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8
COMMENT='config_info_gray';
+
+ /******************************************/
+ /* 表名称 = config_tags_relation */
+ /******************************************/
+ CREATE TABLE `config_tags_relation`
+ (
+ `id` bigint(20) NOT NULL COMMENT 'id',
+ `tag_name` varchar(128) NOT NULL COMMENT 'tag_name',
+ `tag_type` varchar(64) DEFAULT NULL COMMENT 'tag_type',
+ `data_id` varchar(255) NOT NULL COMMENT 'data_id',
+ `group_id` varchar(128) NOT NULL COMMENT 'group_id',
+ `tenant_id` varchar(128) DEFAULT '' COMMENT 'tenant_id',
+ `nid` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'nid, 自增长标识',
+ PRIMARY KEY (`nid`),
+ UNIQUE KEY `uk_configtagrelation_configidtag`
(`id`,`tag_name`,`tag_type`),
+ KEY `idx_tenant_id` (`tenant_id`)
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin
COMMENT='config_tag_relation';
+
+ /******************************************/
+ /* 表名称 = group_capacity */
+ /******************************************/
+ CREATE TABLE `group_capacity`
+ (
+ `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT
COMMENT '主键ID',
+ `group_id` varchar(128) NOT NULL DEFAULT '' COMMENT 'Group
ID,空字符表示整个集群',
+ `quota` int(10) unsigned NOT NULL DEFAULT '0' COMMENT
'配额,0表示使用默认值',
+ `usage` int(10) unsigned NOT NULL DEFAULT '0' COMMENT
'使用量',
+ `max_size` int(10) unsigned NOT NULL DEFAULT '0' COMMENT
'单个配置大小上限,单位为字节,0表示使用默认值',
+ `max_aggr_count` int(10) unsigned NOT NULL DEFAULT '0' COMMENT
'聚合子配置最大个数,,0表示使用默认值',
+ `max_aggr_size` int(10) unsigned NOT NULL DEFAULT '0' COMMENT
'单个聚合数据的子配置大小上限,单位为字节,0表示使用默认值',
+ `max_history_count` int(10) unsigned NOT NULL DEFAULT '0' COMMENT
'最大变更历史数量',
+ `gmt_create` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP
COMMENT '创建时间',
+ `gmt_modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP
COMMENT '修改时间',
+ PRIMARY KEY (`id`),
+ UNIQUE KEY `uk_group_id` (`group_id`)
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin
COMMENT='集群、各Group容量信息表';
+
+ /******************************************/
+ /* 表名称 = his_config_info */
+ /******************************************/
+ CREATE TABLE `his_config_info`
+ (
+ `id` bigint(20) unsigned NOT NULL COMMENT 'id',
+ `nid` bigint(20) unsigned NOT NULL AUTO_INCREMENT
COMMENT 'nid, 自增标识',
+ `data_id` varchar(255) NOT NULL COMMENT 'data_id',
+ `group_id` varchar(128) NOT NULL COMMENT 'group_id',
+ `app_name` varchar(128) DEFAULT NULL COMMENT
'app_name',
+ `content` longtext NOT NULL COMMENT 'content',
+ `md5` varchar(32) DEFAULT NULL COMMENT 'md5',
+ `gmt_create` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP
COMMENT '创建时间',
+ `gmt_modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP
COMMENT '修改时间',
+ `src_user` text COMMENT 'source user',
+ `src_ip` varchar(50) DEFAULT NULL COMMENT
'source ip',
+ `op_type` char(10) DEFAULT NULL COMMENT
'operation type',
+ `tenant_id` varchar(128) DEFAULT '' COMMENT '租户字段',
+ `encrypted_data_key` varchar(1024) NOT NULL DEFAULT '' COMMENT '密钥',
+ `publish_type` varchar(50) DEFAULT 'formal' COMMENT
'publish type gray or formal',
+ `gray_name` varchar(50) DEFAULT NULL COMMENT 'gray
name',
+ `ext_info` longtext DEFAULT NULL COMMENT 'ext
info',
+ PRIMARY KEY (`nid`),
+ KEY `idx_gmt_create` (`gmt_create`),
+ KEY `idx_gmt_modified` (`gmt_modified`),
+ KEY `idx_did` (`data_id`)
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='多租户改造';
+
+
+ /******************************************/
+ /* 表名称 = tenant_capacity */
+ /******************************************/
+ CREATE TABLE `tenant_capacity`
+ (
+ `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT
COMMENT '主键ID',
+ `tenant_id` varchar(128) NOT NULL DEFAULT '' COMMENT 'Tenant
ID',
+ `quota` int(10) unsigned NOT NULL DEFAULT '0' COMMENT
'配额,0表示使用默认值',
+ `usage` int(10) unsigned NOT NULL DEFAULT '0' COMMENT
'使用量',
+ `max_size` int(10) unsigned NOT NULL DEFAULT '0' COMMENT
'单个配置大小上限,单位为字节,0表示使用默认值',
+ `max_aggr_count` int(10) unsigned NOT NULL DEFAULT '0' COMMENT
'聚合子配置最大个数',
+ `max_aggr_size` int(10) unsigned NOT NULL DEFAULT '0' COMMENT
'单个聚合数据的子配置大小上限,单位为字节,0表示使用默认值',
+ `max_history_count` int(10) unsigned NOT NULL DEFAULT '0' COMMENT
'最大变更历史数量',
+ `gmt_create` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP
COMMENT '创建时间',
+ `gmt_modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP
COMMENT '修改时间',
+ PRIMARY KEY (`id`),
+ UNIQUE KEY `uk_tenant_id` (`tenant_id`)
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='租户容量信息表';
+
+
+ CREATE TABLE `tenant_info`
+ (
+ `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id',
+ `kp` varchar(128) NOT NULL COMMENT 'kp',
+ `tenant_id` varchar(128) default '' COMMENT 'tenant_id',
+ `tenant_name` varchar(128) default '' COMMENT 'tenant_name',
+ `tenant_desc` varchar(256) DEFAULT NULL COMMENT 'tenant_desc',
+ `create_source` varchar(32) DEFAULT NULL COMMENT 'create_source',
+ `gmt_create` bigint(20) NOT NULL COMMENT '创建时间',
+ `gmt_modified` bigint(20) NOT NULL COMMENT '修改时间',
+ PRIMARY KEY (`id`),
+ UNIQUE KEY `uk_tenant_info_kptenantid` (`kp`,`tenant_id`),
+ KEY `idx_tenant_id` (`tenant_id`)
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin
COMMENT='tenant_info';
+
+ CREATE TABLE `users`
+ (
+ `username` varchar(50) NOT NULL PRIMARY KEY COMMENT 'username',
+ `password` varchar(500) NOT NULL COMMENT 'password',
+ `enabled` boolean NOT NULL COMMENT 'enabled'
+ );
+
+ CREATE TABLE `roles`
+ (
+ `username` varchar(50) NOT NULL COMMENT 'username',
+ `role` varchar(50) NOT NULL COMMENT 'role',
+ UNIQUE INDEX `idx_user_role` (`username` ASC, `role` ASC) USING BTREE
+ );
+
+ CREATE TABLE `permissions`
+ (
+ `role` varchar(50) NOT NULL COMMENT 'role',
+ `resource` varchar(128) NOT NULL COMMENT 'resource',
+ `action` varchar(8) NOT NULL COMMENT 'action',
+ UNIQUE INDEX `uk_role_permission` (`role`,`resource`,`action`) USING
BTREE
+ );
+{{- end -}}
\ No newline at end of file
diff --git
a/manifests/charts/dubbo-control/register-discovery/nacos/templates/mysql-statefulset.yaml
b/manifests/charts/dubbo-control/register-discovery/nacos/templates/mysql-statefulset.yaml
index 7af15f6d..09c40abf 100644
---
a/manifests/charts/dubbo-control/register-discovery/nacos/templates/mysql-statefulset.yaml
+++
b/manifests/charts/dubbo-control/register-discovery/nacos/templates/mysql-statefulset.yaml
@@ -15,7 +15,7 @@ metadata:
app.kubernetes.io/name: "register"
spec:
replicas: 1
- serviceName: nacos-mysql-headless
+ serviceName: nacos-mysql
selector:
matchLabels:
app: nacos-mysql
@@ -33,33 +33,46 @@ spec:
app.kubernetes.io/name: "register"
spec:
containers:
- - name: mysql
- image: bitnami/mysql:latest
- ports:
- - containerPort: 3306
- env:
- - name: MYSQL_ROOT_PASSWORD
- value: "root"
- - name: MYSQL_DATABASE
- valueFrom:
- configMapKeyRef:
- name: nacos-db-config
- key: mysql.db.name
- - name: MYSQL_USER
- valueFrom:
- configMapKeyRef:
- name: nacos-db-config
- key: mysql.user
- - name: MYSQL_PASSWORD
- valueFrom:
- configMapKeyRef:
- name: nacos-db-config
- key: mysql.password
- volumeMounts:
- - name: data
- mountPath: /var/lib/mysql
- volumes:
+ - name: mysql
+ image: mysql:latest
+ ports:
+ - containerPort: 3306
+ env:
+ {{/* MySQL initialization first startup specifies password*/}}
+ - name: MYSQL_ROOT_PASSWORD
+ value: "root"
+ - name: MYSQL_DATABASE
+ valueFrom:
+ configMapKeyRef:
+ name: nacos-db-config
+ key: mysql.db.name
+ - name: MYSQL_USER
+ valueFrom:
+ configMapKeyRef:
+ name: nacos-db-config
+ key: mysql.user
+ - name: MYSQL_PASSWORD
+ valueFrom:
+ configMapKeyRef:
+ name: nacos-db-config
+ key: mysql.password
+ lifecycle:
+ postStart:
+ exec:
+{{/* command: [ "/bin/sh", "-c", "sleep 30 && mysql -unacos
-pnacos nacos < /mysql-schema.sql" ]*/}}
+ command: [ "/bin/sh", "-c", "sleep 30 && mysql -unacos -pnacos
-e 'SELECT 1 FROM nacos.config_info LIMIT 1;' || mysql -unacos -pnacos nacos <
/mysql-schema.sql" ]
+ volumeMounts:
+ - name: table-data
+ mountPath: mysql-schema.sql
+ subPath: mysql-schema.sql
- name: data
- hostPath:
- path: /var/lib/mysql
+ mountPath: /var/lib/mysql
+ volumes:
+ - name: table-data
+ configMap:
+ name: nacos-table-config
+ defaultMode: 0755
+ - name: data
+ hostPath:
+ path: /var/lib/mysql
{{- end -}}
\ No newline at end of file
diff --git
a/manifests/charts/dubbo-control/register-discovery/nacos/templates/statefulset.yaml
b/manifests/charts/dubbo-control/register-discovery/nacos/templates/statefulset.yaml
index 04111dea..34841142 100644
---
a/manifests/charts/dubbo-control/register-discovery/nacos/templates/statefulset.yaml
+++
b/manifests/charts/dubbo-control/register-discovery/nacos/templates/statefulset.yaml
@@ -36,15 +36,14 @@ spec:
release: {{ .Release.Name }}
app.kubernetes.io/name: "register"
spec:
- {{- if and (eq $nacos.mode "cluster" | default $ncs.mode)
($nacos.plugin.enabled | default $ncs.plugin.enabled) }}
+ {{- if eq $nacos.storage.type "mysql" }}
initContainers:
- - name: peer-finder-plugin-install
- image: {{ $nacos.plugin.image.registry }}:{{ $nacos.plugin.image.tag }}
- imagePullPolicy: {{ $nacos.plugin.image.pullPolicy }}
- volumeMounts:
- - name: data
- mountPath: /home/nacos/plugins/peer-finder
- subPath: peer-finder
+ - name: wait-init-mysql
+ image: busybox
+ command:
+ - "/bin/sh"
+ - "-c"
+ - "sleep 45"
{{- end }}
containers:
- name: nacos
@@ -66,18 +65,20 @@ spec:
value: "8848"
- name: PREFER_HOST_MODE
value: hostname
- {{- if eq $nacos.mode "standalone" | default $ncs.mode }}
+ {{- if eq $nacos.mode "cluster" | default $ncs.mode }}
- name: MODE
- value: "standalone"
- {{- else if eq $nacos.mode "cluster" | default $ncs.mode }}
+ value: "cluster"
- name: SERVICE_NAME
value: "nacos-headless"
- name: DOMAIN_NAME
value: "cluster.local"
+ {{- else }}
+ - name: MODE
+ value: "standalone"
{{- end }}
- {{- if eq $nacos.storage.type "mysql" }}
- name: SPRING_DATASOURCE_PLATFORM
value: "mysql"
+ {{- if eq $nacos.storage.type "mysql" }}
- name: MYSQL_SERVICE_HOST
valueFrom:
configMapKeyRef:
@@ -112,14 +113,6 @@ spec:
- name: EMBEDDED_STORAGE
value: embedded
{{- end }}
- readinessProbe:
- httpGet:
- path: /nacos/v1/console/health/readiness
- port: 8848
- scheme: HTTP
- initialDelaySeconds: 10
- periodSeconds: 5
- timeoutSeconds: 10
volumeMounts:
- name: data
mountPath: /home/nacos/data
@@ -127,9 +120,6 @@ spec:
- name: data
mountPath: /home/nacos/logs
subPath: logs
- - name: data
- mountPath: /home/nacos/plugins/peer-finder
- subPath: peer-finder
volumes:
- name: data
emptyDir: {}
\ No newline at end of file
diff --git
a/manifests/charts/dubbo-control/register-discovery/nacos/values.yaml
b/manifests/charts/dubbo-control/register-discovery/nacos/values.yaml
index 00a90fec..47e15d43 100644
--- a/manifests/charts/dubbo-control/register-discovery/nacos/values.yaml
+++ b/manifests/charts/dubbo-control/register-discovery/nacos/values.yaml
@@ -17,10 +17,15 @@ _internal_default_values_not_set:
## Whether to enable the nacos.
enabled: false
## Specifies the mode in which nacos is running (standalone, cluster, etc.).
- mode: standalone
+ mode: "cluster"
## Number of replicas for the Deployment.
replicas: 1
+ resources:
+ requests:
+ cpu: 250m
+ memory: 256Mi
+
## Configure the application image
image:
# Source of the container image.
@@ -30,34 +35,17 @@ _internal_default_values_not_set:
# Image pull policy, available options are: Always, IfNotPresent, Never.
imagePullPolicy: ~
- plugin:
- # Whether to enable the plugin.
- enabled: true
- # Configure the container image for the plugin.
- image:
- # Docker registry where the plugin image is hosted.
- registry: nacos/nacos-peer-finder-plugin
- # Specifies the image tag to use.
- tag: 1.1
- # Image pull policy (IfNotPresent, Always, Never).
- imagePullPolicy: IfNotPresent
-
- resources:
- requests:
- cpu: 250m
- memory: 256Mi
-
storage:
# Specifies the storage type (embedded, mysql, etc.).
type: "mysql"
# For MySQL storage, you need to change the "embedded" to "mysql" before
you can use the db configuration.
database:
# Specifies the database host.
- host: ""
+ host: "nacos-mysql"
# Specifies the database name.
name: nacos
# Specifies the database port.
- port: 3306
+ port: ""
# Specifies the database username.
username: nacos
# Specifies the database password.
diff --git
a/manifests/charts/dubbo-control/register-discovery/zookeeper/templates/configmap.yaml
b/manifests/charts/dubbo-control/register-discovery/zookeeper/templates/configmap.yaml
index 9a807984..5eb900a5 100644
---
a/manifests/charts/dubbo-control/register-discovery/zookeeper/templates/configmap.yaml
+++
b/manifests/charts/dubbo-control/register-discovery/zookeeper/templates/configmap.yaml
@@ -13,8 +13,6 @@ metadata:
release: {{ .Release.Name }}
app.kubernetes.io/name: "register"
data:
- init-certs.sh: |-
- #!/bin/bash
setup.sh: |-
#!/bin/bash
# Execute entrypoint as usual after obtaining ZOO_SERVER_ID
@@ -31,5 +29,4 @@ data:
echo "Failed to get index from hostname $HOST"
exit 1
fi
- fi
- exec /entrypoint.sh /run.sh
\ No newline at end of file
+ fi
\ No newline at end of file
diff --git
a/manifests/charts/dubbo-control/register-discovery/zookeeper/templates/statefulset.yaml
b/manifests/charts/dubbo-control/register-discovery/zookeeper/templates/statefulset.yaml
index a4ac907c..a51774e6 100644
---
a/manifests/charts/dubbo-control/register-discovery/zookeeper/templates/statefulset.yaml
+++
b/manifests/charts/dubbo-control/register-discovery/zookeeper/templates/statefulset.yaml
@@ -14,12 +14,12 @@ metadata:
release: {{ .Release.Name }}
app.kubernetes.io/name: "register"
spec:
- replicas: {{ $zookeeper.replicas }}
selector:
matchLabels:
app: zookeeper
dubbo.io/rev: {{ default "default" | quote }}
dubbo: zookeeper
+ replicas: {{ $zookeeper.replicas }}
serviceName: zookeeper
template:
metadata:
@@ -36,88 +36,8 @@ spec:
- name: zookeeper
image: {{ $zookeeper.image.registry }}:{{ $zookeeper.image.tag }}
imagePullPolicy: {{ $zookeeper.image.imagePullPolicy }}
- command:
- - /scripts/setup.sh
resources:
{{ toYaml $zookeeper.resources | trim | indent 10 }}
- env:
- - name: BITNAMI_DEBUG
- value: {{ ternary "true" "false" (or $zookeeper.image.debug) | quote
}}
- - name: ZOO_DATA_LOG_DIR
- value: {{ $zookeeper.dataLogDir | default $zoo.dataLogDir | quote }}
- - name: ZOO_PORT_NUMBER
- value: {{ 2181 | quote }}
- - name: ZOO_TICK_TIME
- value: {{ $zookeeper.tickTime | quote }}
- - name: ZOO_INIT_LIMIT
- value: {{ $zookeeper.initLimit | default $zoo.initLimit | quote }}
- - name: ZOO_SYNC_LIMIT
- value: {{ $zookeeper.syncLimit | quote }}
- - name: ZOO_PRE_ALLOC_SIZE
- value: {{ $zookeeper.preAllocSize | quote }}
- - name: ZOO_SNAPCOUNT
- value: {{ $zookeeper.snapCount | quote }}
- - name: ZOO_MAX_CLIENT_CNXNS
- value: {{ $zookeeper.maxClientCnxns | quote }}
- - name: ZOO_4LW_COMMANDS_WHITELIST
- value: {{ $zookeeper.fourlwCommandsWhitelist | quote }}
- - name: ZOO_LISTEN_ALLIPS_ENABLED
- value: {{ ternary "yes" "no" $zookeeper.listenOnAllIPs | quote }}
- - name: ZOO_AUTOPURGE_INTERVAL
- value: {{ $zookeeper.autopurge.purgeInterval | quote }}
- - name: ZOO_AUTOPURGE_RETAIN_COUNT
- value: {{ $zookeeper.autopurge.snapRetainCount | quote }}
- - name: ZOO_MAX_SESSION_TIMEOUT
- value: {{ $zookeeper.maxSessionTimeout | quote }}
- {{- $zooName := "zookeeper" }}
- {{- $zooReplicas := int $zookeeper.replicas }}
- {{- $zooHeadless := printf "%s-%s" $zooName "headless" | trunc 63 }}
- {{- $zooNamespace := .Release.Namespace }}
- {{- $zooDomain := "cluster.local" }}
- - name: ZOO_SERVERS
- value: {{ range $k, $v := until $zooReplicas }}{{ $zooName }}-{{ $v
}}.{{ $zooName }}.{{ $zooNamespace }}.svc.{{ $zooDomain }}:2888:3888::{{ add $v
1 }} {{ end }}
- - name: ZOO_ENABLE_AUTH
- value: {{ ternary "no" "yes" $zookeeper.auth.client.enabled | quote
}}
- - name: ALLOW_ANONYMOUS_LOGIN
- value: {{ ternary "no" "yes" $zookeeper.auth.client.enabled | quote
}}
- {{- if $zookeeper.auth.client.enabled }}
- - name: ZOO_CLIENT_USER
- value: {{ $zookeeper.auth.client.clientUser | quote }}
- - name: ZOO_CLIENT_PASSWORD
- valueFrom:
- secretKeyRef:
- name: {{ include "zookeeper.client.secretName" . }}
- key: client-password
- - name: ZOO_SERVER_USERS
- value: {{ $zookeeper.auth.client.serverUsers | quote }}
- - name: ZOO_SERVER_PASSWORDS
- valueFrom:
- secretKeyRef:
- name: {{ include "zookeeper.client.secretName" . }}
- key: server-password
- {{- end }}
- - name: ZOO_ENABLE_QUORUM_AUTH
- value: {{ ternary "yes" "no" $zookeeper.auth.quorum.enabled | quote
}}
- {{- if $zookeeper.auth.quorum.enabled }}
- - name: ZOO_QUORUM_LEARNER_USER
- value: {{ $zookeeper.auth.quorum.learnerUser | quote }}
- - name: ZOO_QUORUM_LEARNER_PASSWORD
- valueFrom:
- secretKeyRef:
- name: {{ include "zookeeper.quorum.secretName" . }}
- key: quorum-learner-password
- - name: ZOO_QUORUM_SERVER_USERS
- value: {{ $zookeeper.auth.quorum.serverUsers | quote }}
- - name: ZOO_QUORUM_SERVER_PASSWORDS
- valueFrom:
- secretKeyRef:
- name: {{ include "zookeeper.quorum.secretName" . }}
- key: quorum-server-password
- {{- end }}
- - name: ZOO_HEAP_SIZE
- value: {{ $zookeeper.heapSize | quote }}
- - name: ZOO_LOG_LEVEL
- value: {{ $zookeeper.logLevel | quote }}
ports:
- name: client
containerPort: 2181
@@ -125,36 +45,9 @@ spec:
containerPort: 2888
- name: election
containerPort: 3888
- startupProbe:
- exec:
- command: [ '/bin/bash', '-c', 'echo "ruok" | timeout 2 nc -w 2
localhost 2181 | grep imok' ]
- initialDelaySeconds: 5
- periodSeconds: 10
- successThreshold: 1
- failureThreshold: 5
- timeoutSeconds: 5
- readinessProbe:
- exec:
- command: [ '/bin/bash', '-c', 'curl -s -m 2
http://localhost:8080/commands/ruok | grep error | grep null' ]
- initialDelaySeconds: 5
- periodSeconds: 10
- successThreshold: 1
- failureThreshold: 5
- timeoutSeconds: 5
- livenessProbe:
- exec:
- command: [ '/bin/bash', '-c', 'curl -s -m 2
http://localhost:8080/commands/ruok | grep ruok' ]
- initialDelaySeconds: 5
- periodSeconds: 10
- successThreshold: 1
- failureThreshold: 5
- timeoutSeconds: 5
volumeMounts:
- - name: scripts
- mountPath: /scripts/setup.sh
- subPath: setup.sh
- name: data
- mountPath: /zookeeper/zookeeper
+ mountPath: /var/lib/zookeeper
volumes:
- name: scripts
configMap:
diff --git
a/manifests/charts/dubbo-control/register-discovery/zookeeper/values.yaml
b/manifests/charts/dubbo-control/register-discovery/zookeeper/values.yaml
index 4954d1c3..d2dce6a3 100644
--- a/manifests/charts/dubbo-control/register-discovery/zookeeper/values.yaml
+++ b/manifests/charts/dubbo-control/register-discovery/zookeeper/values.yaml
@@ -32,65 +32,4 @@ _internal_default_values_not_set:
resources:
requests:
cpu: 250m
- memory: 256Mi
-
- # This allows a dedicated log device to be used, and helps avoid competition
between logging and snapshots.
- dataLogDir: ""
- # tickTime Basic time unit (in milliseconds) used by ZooKeeper for
heartbeats.
- tickTime: 2000
- # initLimit ZooKeeper uses to limit the length of time the ZooKeeper servers
in quorum have to connect to a leader.
- initLimit: 10
- # syncLimit How far out of date a server can be from a leader.
- syncLimit: 5
- # preAllocSize Block size for transaction log file.
- preAllocSize: 65536
- # snapCount The number of transactions recorded in the transaction log
before a snapshot can be taken (and the transaction log rolled).
- snapCount: 100000
- # fourlwCommandsWhitelist A list of comma separated Four Letter Words
commands that can be executed.
- fourlwCommandsWhitelist: srvr, mntr, ruok
- # listenOnAllIPs Allow ZooKeeper to listen for connections from its peers on
all available IP addresses.
- listenOnAllIPs: false
- # Ongoing data directory cleanup configuration
- autopurge:
- # snapRetainCount The most recent snapshots amount (and corresponding
transaction logs) to retain.
- snapRetainCount: 3
- # purgeInterval The time interval (in hours) for which the purge task has
to be triggered.
- purgeInterval: 0
- # maxClientCnxns Limits the number of concurrent connections that a single
client may make to a single member of the ZooKeeper ensemble.
- maxClientCnxns: 60
- # maxSessionTimeout Maximum session timeout (in milliseconds) that the
server will allow the client to negotiate.
- maxSessionTimeout: 40000
- # heapSize Size (in MB) for the Java Heap options (Xmx and Xms).
- heapSize: 1024
- # logLevel Log level for the ZooKeeper server. ERROR by default.
- logLevel: ERROR
- # authentication parameters.
- auth:
- # authentication client settings.
- client:
- # auth.client.enabled Enable ZooKeeper client-server authentication. It
uses SASL/Digest-MD5.
- enabled: false
- # auth.client.clientUser User that will use ZooKeeper clients to auth.
- clientUser: ""
- # auth.client.clientPassword Password that will use ZooKeeper clients to
auth.
- clientPassword: ""
- # auth.client.serverUsers Comma, semicolon or whitespace separated list
of user to be created.
- serverUsers: ""
- # auth.client.serverPasswords Comma, semicolon or whitespace separated
list of passwords to assign to users when created.
- serverPasswords: ""
- # auth.client.existingSecret Use existing secret (ignores previous
passwords).
- existingSecret: ""
- # authentication quorum settings.
- quorum:
- # auth.quorum.enabled Enable ZooKeeper server-server authentication. It
uses SASL/Digest-MD5.
- enabled: false
- # auth.quorum.learnerUser User that the ZooKeeper quorumLearner will use
to authenticate to quorumServers.
- learnerUser: ""
- # auth.quorum.learnerPassword Password that the ZooKeeper quorumLearner
will use to authenticate to quorumServers.
- learnerPassword: ""
- # auth.quorum.serverUsers Comma, semicolon or whitespace separated list
of users for the quorumServers.
- serverUsers: ""
- # auth.quorum.serverPasswords Comma, semicolon or whitespace separated
list of passwords to assign to users when created.
- serverPasswords: ""
- # auth.quorum.existingSecret Use existing secret (ignores previous
passwords).
- existingSecret: ""
\ No newline at end of file
+ memory: 256Mi
\ No newline at end of file
diff --git a/manifests/profiles/default.yaml b/manifests/profiles/default.yaml
index e81d7657..964755e5 100644
--- a/manifests/profiles/default.yaml
+++ b/manifests/profiles/default.yaml
@@ -31,8 +31,8 @@ spec:
admin:
enabled: true
values:
- global:
- dubboNamespace: dubbo-system
+ global: {}
+ base: {}
nacos:
enabled: true
zookeeper: {}
diff --git a/operator/pkg/apis/proto/values_types.proto
b/operator/pkg/apis/proto/values_types.proto
index 022603b8..be7cacbd 100644
--- a/operator/pkg/apis/proto/values_types.proto
+++ b/operator/pkg/apis/proto/values_types.proto
@@ -25,117 +25,13 @@ import "google/protobuf/wrappers.proto";
option go_package = "dubbo.io/dubbo/operator/pkg/apis";
// Global Configuration for Dubbo components.
-message GlobalConfig {
- // Specifies the default namespace.
- string dubboNamespace = 1;
-}
+message GlobalConfig {}
-message BaseConfig {
- // For dubboctl usage to disable dubbo config crds in base
- google.protobuf.BoolValue enableDubboConfigCRDs = 1;
-}
+message BaseConfig {}
message ZookeeperConfig {
// Controls whether Zookeeper is installed.
google.protobuf.BoolValue enabled = 1;
-
- // Dedicated data log directory.
- google.protobuf.StringValue dataLogDir = 2;
-
- // Basic time unit (in milliseconds) used by ZooKeeper for heartbeats.
- google.protobuf.Int64Value tickTime = 3;
-
- // ZooKeeper uses to limit the length of time the ZooKeeper servers in
quorum have to connect to a leader.
- google.protobuf.Int64Value initLimit = 4;
-
- // How far out of date a server can be from a leader.
- google.protobuf.Int64Value syncLimit = 5;
-
- // Block size for transaction log file.
- google.protobuf.Int64Value preAllocSize = 6;
-
- // The number of transactions recorded in the transaction log before a
snapshot can be taken (and the transaction log rolled).
- google.protobuf.Int64Value snapCount = 7;
-
- // A list of comma separated Four Letter Words commands that can be executed.
- google.protobuf.StringValue fourlwCommandsWhitelist = 8;
-
- // Allow ZooKeeper to listen for connections from its peers on all available
IP addresses.
- google.protobuf.BoolValue listenOnAllIPs = 9;
-
- // Configuration for Zookeeper autopurge.
- ZookeeperAutopurge autopurge = 10;
-
- // Limits the number of concurrent connections that a single client may make
to a single member of the ZooKeeper ensemble.
- google.protobuf.Int64Value maxClientCnxns = 11;
-
- // Maximum session timeout (in milliseconds) that the server will allow the
client to negotiate.
- google.protobuf.Int64Value maxSessionTimeout = 12;
-
- // Size (in MB) for the Java Heap options (Xmx and Xms).
- google.protobuf.Int64Value heapSize = 13;
-
- // Log level for the ZooKeeper server. ERROR by default.
- google.protobuf.StringValue logLevel = 14;
-
- // Configuration for Zookeeper auth.
- ZookeeperAuth auth = 15;
-}
-
-message ZookeeperAutopurge {
- // The most recent snapshots amount (and corresponding transaction logs) to
retain.
- google.protobuf.Int64Value snapRetainCount = 1;
-
- // The time interval (in hours) for which the purge task has to be triggered.
- google.protobuf.Int64Value purgeInterval = 2;
-}
-
-message ZookeeperAuth {
- // Configuration for Zookeeper client.
- ZookeeperAuthClientConfig client = 1;
-
- // Configuration for Zookeeper quorum.
- ZookeeperAuthQuorumConfig quorum = 2;
-}
-
-message ZookeeperAuthClientConfig {
- // Enable ZooKeeper client-server authentication. It uses SASL/Digest-MD5.
- google.protobuf.BoolValue enabled = 1;
-
- // User that will use ZooKeeper clients to auth.
- google.protobuf.StringValue clientUser = 2;
-
- // Password that will use ZooKeeper clients to auth.
- google.protobuf.StringValue clientPassword = 3;
-
- // Comma, semicolon or whitespace separated list of user to be created.
- google.protobuf.StringValue serverUsers = 4;
-
- // Comma, semicolon or whitespace separated list of passwords to assign to
users when created.
- google.protobuf.StringValue serverPasswords = 5;
-
- // Use existing secret (ignores previous passwords).
- google.protobuf.StringValue existingSecret = 6;
-}
-
-message ZookeeperAuthQuorumConfig {
- // Enable ZooKeeper server-server authentication. It uses SASL/Digest-MD5.
- google.protobuf.BoolValue enabled = 1;
-
- // User that the ZooKeeper quorumLearner will use to authenticate to
quorumServers.
- google.protobuf.StringValue learnerUser = 2;
-
- // Password that the ZooKeeper quorumLearner will use to authenticate to
quorumServers.
- google.protobuf.StringValue learnerPassword = 3;
-
- // Comma, semicolon or whitespace separated list of users for the
quorumServers.
- google.protobuf.StringValue serverUsers = 4;
-
- // Comma, semicolon or whitespace separated list of passwords to assign to
users when created.
- google.protobuf.StringValue serverPasswords = 5;
-
- // Use existing secret (ignores previous passwords).
- google.protobuf.StringValue existingSecret = 6;
}
message NacosConfig {
@@ -147,12 +43,6 @@ message NacosConfig {
// Configuration for Nacos storage.
NacosStorage storage = 3;
-
- // Configuration for Nacos plugin.
- NacosPlugin plugin = 4;
-
- // Enable Nacos cluster node domain name support.
- string preferhostmode = 5;
}
message NacosStorage {
@@ -160,10 +50,10 @@ message NacosStorage {
string type = 1;
// Configuration for Nacos db.
- NacosDB db = 2;
+ NacosMYSQLConfig database = 2;
}
-message NacosDB {
+message NacosMYSQLConfig {
// Specify the database host for Nacos storing configuration data.
string host = 1;
@@ -183,11 +73,6 @@ message NacosDB {
string param = 6;
}
-message NacosPlugin {
- // Plugin Status for Nacos.
- google.protobuf.BoolValue enabled = 1;
-}
-
message Values {
// Global configuration for dubbo components.
GlobalConfig global = 1;
diff --git a/operator/pkg/apis/values_types.pb.go
b/operator/pkg/apis/values_types.pb.go
index 77df4af7..fa6e520a 100644
--- a/operator/pkg/apis/values_types.pb.go
+++ b/operator/pkg/apis/values_types.pb.go
@@ -1,19 +1,18 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
@@ -43,9 +42,6 @@ type GlobalConfig struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
-
- // Specifies the default namespace.
- DubboNamespace string
`protobuf:"bytes,1,opt,name=dubboNamespace,proto3"
json:"dubboNamespace,omitempty"`
}
func (x *GlobalConfig) Reset() {
@@ -80,20 +76,10 @@ func (*GlobalConfig) Descriptor() ([]byte, []int) {
return file_values_types_proto_rawDescGZIP(), []int{0}
}
-func (x *GlobalConfig) GetDubboNamespace() string {
- if x != nil {
- return x.DubboNamespace
- }
- return ""
-}
-
type BaseConfig struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
-
- // For dubboctl usage to disable dubbo config crds in base
- EnableDubboConfigCRDs *wrapperspb.BoolValue
`protobuf:"bytes,1,opt,name=enableDubboConfigCRDs,proto3"
json:"enableDubboConfigCRDs,omitempty"`
}
func (x *BaseConfig) Reset() {
@@ -128,33 +114,13 @@ func (*BaseConfig) Descriptor() ([]byte, []int) {
return file_values_types_proto_rawDescGZIP(), []int{1}
}
-func (x *BaseConfig) GetEnableDubboConfigCRDs() *wrapperspb.BoolValue {
- if x != nil {
- return x.EnableDubboConfigCRDs
- }
- return nil
-}
-
type ZookeeperConfig struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Enabled *wrapperspb.BoolValue
`protobuf:"bytes,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
- DataLogDir *wrapperspb.StringValue
`protobuf:"bytes,2,opt,name=dataLogDir,proto3" json:"dataLogDir,omitempty"`
- TickTime *wrapperspb.Int64Value
`protobuf:"bytes,3,opt,name=tickTime,proto3" json:"tickTime,omitempty"`
- InitLimit *wrapperspb.Int64Value
`protobuf:"bytes,4,opt,name=initLimit,proto3" json:"initLimit,omitempty"`
- SyncLimit *wrapperspb.Int64Value
`protobuf:"bytes,5,opt,name=syncLimit,proto3" json:"syncLimit,omitempty"`
- PreAllocSize *wrapperspb.Int64Value
`protobuf:"bytes,6,opt,name=preAllocSize,proto3" json:"preAllocSize,omitempty"`
- SnapCount *wrapperspb.Int64Value
`protobuf:"bytes,7,opt,name=snapCount,proto3" json:"snapCount,omitempty"`
- FourlwCommandsWhitelist *wrapperspb.StringValue
`protobuf:"bytes,8,opt,name=fourlwCommandsWhitelist,proto3"
json:"fourlwCommandsWhitelist,omitempty"`
- ListenOnAllIPs *wrapperspb.BoolValue
`protobuf:"bytes,9,opt,name=listenOnAllIPs,proto3"
json:"listenOnAllIPs,omitempty"`
- Autopurge *ZookeeperAutopurge
`protobuf:"bytes,10,opt,name=autopurge,proto3" json:"autopurge,omitempty"`
- MaxClientCnxns *wrapperspb.Int64Value
`protobuf:"bytes,11,opt,name=maxClientCnxns,proto3"
json:"maxClientCnxns,omitempty"`
- MaxSessionTimeout *wrapperspb.Int64Value
`protobuf:"bytes,12,opt,name=maxSessionTimeout,proto3"
json:"maxSessionTimeout,omitempty"`
- HeapSize *wrapperspb.Int64Value
`protobuf:"bytes,13,opt,name=heapSize,proto3" json:"heapSize,omitempty"`
- LogLevel *wrapperspb.StringValue
`protobuf:"bytes,14,opt,name=logLevel,proto3" json:"logLevel,omitempty"`
- Auth *ZookeeperAuth
`protobuf:"bytes,15,opt,name=auth,proto3" json:"auth,omitempty"`
+ // Controls whether Zookeeper is installed.
+ Enabled *wrapperspb.BoolValue
`protobuf:"bytes,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
}
func (x *ZookeeperConfig) Reset() {
@@ -196,404 +162,23 @@ func (x *ZookeeperConfig) GetEnabled()
*wrapperspb.BoolValue {
return nil
}
-func (x *ZookeeperConfig) GetDataLogDir() *wrapperspb.StringValue {
- if x != nil {
- return x.DataLogDir
- }
- return nil
-}
-
-func (x *ZookeeperConfig) GetTickTime() *wrapperspb.Int64Value {
- if x != nil {
- return x.TickTime
- }
- return nil
-}
-
-func (x *ZookeeperConfig) GetInitLimit() *wrapperspb.Int64Value {
- if x != nil {
- return x.InitLimit
- }
- return nil
-}
-
-func (x *ZookeeperConfig) GetSyncLimit() *wrapperspb.Int64Value {
- if x != nil {
- return x.SyncLimit
- }
- return nil
-}
-
-func (x *ZookeeperConfig) GetPreAllocSize() *wrapperspb.Int64Value {
- if x != nil {
- return x.PreAllocSize
- }
- return nil
-}
-
-func (x *ZookeeperConfig) GetSnapCount() *wrapperspb.Int64Value {
- if x != nil {
- return x.SnapCount
- }
- return nil
-}
-
-func (x *ZookeeperConfig) GetFourlwCommandsWhitelist() *wrapperspb.StringValue
{
- if x != nil {
- return x.FourlwCommandsWhitelist
- }
- return nil
-}
-
-func (x *ZookeeperConfig) GetListenOnAllIPs() *wrapperspb.BoolValue {
- if x != nil {
- return x.ListenOnAllIPs
- }
- return nil
-}
-
-func (x *ZookeeperConfig) GetAutopurge() *ZookeeperAutopurge {
- if x != nil {
- return x.Autopurge
- }
- return nil
-}
-
-func (x *ZookeeperConfig) GetMaxClientCnxns() *wrapperspb.Int64Value {
- if x != nil {
- return x.MaxClientCnxns
- }
- return nil
-}
-
-func (x *ZookeeperConfig) GetMaxSessionTimeout() *wrapperspb.Int64Value {
- if x != nil {
- return x.MaxSessionTimeout
- }
- return nil
-}
-
-func (x *ZookeeperConfig) GetHeapSize() *wrapperspb.Int64Value {
- if x != nil {
- return x.HeapSize
- }
- return nil
-}
-
-func (x *ZookeeperConfig) GetLogLevel() *wrapperspb.StringValue {
- if x != nil {
- return x.LogLevel
- }
- return nil
-}
-
-func (x *ZookeeperConfig) GetAuth() *ZookeeperAuth {
- if x != nil {
- return x.Auth
- }
- return nil
-}
-
-type ZookeeperAutopurge struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- SnapRetainCount *wrapperspb.Int64Value
`protobuf:"bytes,1,opt,name=snapRetainCount,proto3"
json:"snapRetainCount,omitempty"`
- PurgeInterval *wrapperspb.Int64Value
`protobuf:"bytes,2,opt,name=purgeInterval,proto3"
json:"purgeInterval,omitempty"`
-}
-
-func (x *ZookeeperAutopurge) Reset() {
- *x = ZookeeperAutopurge{}
- if protoimpl.UnsafeEnabled {
- mi := &file_values_types_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *ZookeeperAutopurge) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*ZookeeperAutopurge) ProtoMessage() {}
-
-func (x *ZookeeperAutopurge) ProtoReflect() protoreflect.Message {
- mi := &file_values_types_proto_msgTypes[3]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use ZookeeperAutopurge.ProtoReflect.Descriptor instead.
-func (*ZookeeperAutopurge) Descriptor() ([]byte, []int) {
- return file_values_types_proto_rawDescGZIP(), []int{3}
-}
-
-func (x *ZookeeperAutopurge) GetSnapRetainCount() *wrapperspb.Int64Value {
- if x != nil {
- return x.SnapRetainCount
- }
- return nil
-}
-
-func (x *ZookeeperAutopurge) GetPurgeInterval() *wrapperspb.Int64Value {
- if x != nil {
- return x.PurgeInterval
- }
- return nil
-}
-
-type ZookeeperAuth struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Client *ZookeeperAuthClientConfig
`protobuf:"bytes,1,opt,name=client,proto3" json:"client,omitempty"`
- Quorum *ZookeeperAuthQuorumConfig
`protobuf:"bytes,2,opt,name=quorum,proto3" json:"quorum,omitempty"`
-}
-
-func (x *ZookeeperAuth) Reset() {
- *x = ZookeeperAuth{}
- if protoimpl.UnsafeEnabled {
- mi := &file_values_types_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *ZookeeperAuth) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*ZookeeperAuth) ProtoMessage() {}
-
-func (x *ZookeeperAuth) ProtoReflect() protoreflect.Message {
- mi := &file_values_types_proto_msgTypes[4]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use ZookeeperAuth.ProtoReflect.Descriptor instead.
-func (*ZookeeperAuth) Descriptor() ([]byte, []int) {
- return file_values_types_proto_rawDescGZIP(), []int{4}
-}
-
-func (x *ZookeeperAuth) GetClient() *ZookeeperAuthClientConfig {
- if x != nil {
- return x.Client
- }
- return nil
-}
-
-func (x *ZookeeperAuth) GetQuorum() *ZookeeperAuthQuorumConfig {
- if x != nil {
- return x.Quorum
- }
- return nil
-}
-
-type ZookeeperAuthClientConfig struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Enabled *wrapperspb.BoolValue
`protobuf:"bytes,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
- ClientUser *wrapperspb.StringValue
`protobuf:"bytes,2,opt,name=clientUser,proto3" json:"clientUser,omitempty"`
- ClientPassword *wrapperspb.StringValue
`protobuf:"bytes,3,opt,name=clientPassword,proto3"
json:"clientPassword,omitempty"`
- ServerUsers *wrapperspb.StringValue
`protobuf:"bytes,4,opt,name=serverUsers,proto3" json:"serverUsers,omitempty"`
- ServerPasswords *wrapperspb.StringValue
`protobuf:"bytes,5,opt,name=serverPasswords,proto3"
json:"serverPasswords,omitempty"`
- ExistingSecret *wrapperspb.StringValue
`protobuf:"bytes,6,opt,name=existingSecret,proto3"
json:"existingSecret,omitempty"`
-}
-
-func (x *ZookeeperAuthClientConfig) Reset() {
- *x = ZookeeperAuthClientConfig{}
- if protoimpl.UnsafeEnabled {
- mi := &file_values_types_proto_msgTypes[5]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *ZookeeperAuthClientConfig) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*ZookeeperAuthClientConfig) ProtoMessage() {}
-
-func (x *ZookeeperAuthClientConfig) ProtoReflect() protoreflect.Message {
- mi := &file_values_types_proto_msgTypes[5]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use ZookeeperAuthClientConfig.ProtoReflect.Descriptor instead.
-func (*ZookeeperAuthClientConfig) Descriptor() ([]byte, []int) {
- return file_values_types_proto_rawDescGZIP(), []int{5}
-}
-
-func (x *ZookeeperAuthClientConfig) GetEnabled() *wrapperspb.BoolValue {
- if x != nil {
- return x.Enabled
- }
- return nil
-}
-
-func (x *ZookeeperAuthClientConfig) GetClientUser() *wrapperspb.StringValue {
- if x != nil {
- return x.ClientUser
- }
- return nil
-}
-
-func (x *ZookeeperAuthClientConfig) GetClientPassword()
*wrapperspb.StringValue {
- if x != nil {
- return x.ClientPassword
- }
- return nil
-}
-
-func (x *ZookeeperAuthClientConfig) GetServerUsers() *wrapperspb.StringValue {
- if x != nil {
- return x.ServerUsers
- }
- return nil
-}
-
-func (x *ZookeeperAuthClientConfig) GetServerPasswords()
*wrapperspb.StringValue {
- if x != nil {
- return x.ServerPasswords
- }
- return nil
-}
-
-func (x *ZookeeperAuthClientConfig) GetExistingSecret()
*wrapperspb.StringValue {
- if x != nil {
- return x.ExistingSecret
- }
- return nil
-}
-
-type ZookeeperAuthQuorumConfig struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Enabled *wrapperspb.BoolValue
`protobuf:"bytes,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
- LearnerUser *wrapperspb.StringValue
`protobuf:"bytes,2,opt,name=learnerUser,proto3" json:"learnerUser,omitempty"`
- LearnerPassword *wrapperspb.StringValue
`protobuf:"bytes,3,opt,name=learnerPassword,proto3"
json:"learnerPassword,omitempty"`
- ServerUsers *wrapperspb.StringValue
`protobuf:"bytes,4,opt,name=serverUsers,proto3" json:"serverUsers,omitempty"`
- ServerPasswords *wrapperspb.StringValue
`protobuf:"bytes,5,opt,name=serverPasswords,proto3"
json:"serverPasswords,omitempty"`
- ExistingSecret *wrapperspb.StringValue
`protobuf:"bytes,6,opt,name=existingSecret,proto3"
json:"existingSecret,omitempty"`
-}
-
-func (x *ZookeeperAuthQuorumConfig) Reset() {
- *x = ZookeeperAuthQuorumConfig{}
- if protoimpl.UnsafeEnabled {
- mi := &file_values_types_proto_msgTypes[6]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *ZookeeperAuthQuorumConfig) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*ZookeeperAuthQuorumConfig) ProtoMessage() {}
-
-func (x *ZookeeperAuthQuorumConfig) ProtoReflect() protoreflect.Message {
- mi := &file_values_types_proto_msgTypes[6]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use ZookeeperAuthQuorumConfig.ProtoReflect.Descriptor instead.
-func (*ZookeeperAuthQuorumConfig) Descriptor() ([]byte, []int) {
- return file_values_types_proto_rawDescGZIP(), []int{6}
-}
-
-func (x *ZookeeperAuthQuorumConfig) GetEnabled() *wrapperspb.BoolValue {
- if x != nil {
- return x.Enabled
- }
- return nil
-}
-
-func (x *ZookeeperAuthQuorumConfig) GetLearnerUser() *wrapperspb.StringValue {
- if x != nil {
- return x.LearnerUser
- }
- return nil
-}
-
-func (x *ZookeeperAuthQuorumConfig) GetLearnerPassword()
*wrapperspb.StringValue {
- if x != nil {
- return x.LearnerPassword
- }
- return nil
-}
-
-func (x *ZookeeperAuthQuorumConfig) GetServerUsers() *wrapperspb.StringValue {
- if x != nil {
- return x.ServerUsers
- }
- return nil
-}
-
-func (x *ZookeeperAuthQuorumConfig) GetServerPasswords()
*wrapperspb.StringValue {
- if x != nil {
- return x.ServerPasswords
- }
- return nil
-}
-
-func (x *ZookeeperAuthQuorumConfig) GetExistingSecret()
*wrapperspb.StringValue {
- if x != nil {
- return x.ExistingSecret
- }
- return nil
-}
-
type NacosConfig struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Enabled *wrapperspb.BoolValue
`protobuf:"bytes,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
- Mode *wrapperspb.StringValue
`protobuf:"bytes,2,opt,name=mode,proto3" json:"mode,omitempty"`
- Storage *NacosStorage
`protobuf:"bytes,3,opt,name=storage,proto3" json:"storage,omitempty"`
- Plugin *NacosPlugin
`protobuf:"bytes,4,opt,name=plugin,proto3" json:"plugin,omitempty"`
- Preferhostmode string
`protobuf:"bytes,5,opt,name=preferhostmode,proto3"
json:"preferhostmode,omitempty"`
+ // Controls whether Nacos is installed.
+ Enabled *wrapperspb.BoolValue
`protobuf:"bytes,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
+ // Run Mode standalone or cluster.
+ Mode *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=mode,proto3"
json:"mode,omitempty"`
+ // Configuration for Nacos storage.
+ Storage *NacosStorage `protobuf:"bytes,3,opt,name=storage,proto3"
json:"storage,omitempty"`
}
func (x *NacosConfig) Reset() {
*x = NacosConfig{}
if protoimpl.UnsafeEnabled {
- mi := &file_values_types_proto_msgTypes[7]
+ mi := &file_values_types_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -606,7 +191,7 @@ func (x *NacosConfig) String() string {
func (*NacosConfig) ProtoMessage() {}
func (x *NacosConfig) ProtoReflect() protoreflect.Message {
- mi := &file_values_types_proto_msgTypes[7]
+ mi := &file_values_types_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -619,7 +204,7 @@ func (x *NacosConfig) ProtoReflect() protoreflect.Message {
// Deprecated: Use NacosConfig.ProtoReflect.Descriptor instead.
func (*NacosConfig) Descriptor() ([]byte, []int) {
- return file_values_types_proto_rawDescGZIP(), []int{7}
+ return file_values_types_proto_rawDescGZIP(), []int{3}
}
func (x *NacosConfig) GetEnabled() *wrapperspb.BoolValue {
@@ -643,33 +228,21 @@ func (x *NacosConfig) GetStorage() *NacosStorage {
return nil
}
-func (x *NacosConfig) GetPlugin() *NacosPlugin {
- if x != nil {
- return x.Plugin
- }
- return nil
-}
-
-func (x *NacosConfig) GetPreferhostmode() string {
- if x != nil {
- return x.Preferhostmode
- }
- return ""
-}
-
type NacosStorage struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Type string `protobuf:"bytes,1,opt,name=type,proto3"
json:"type,omitempty"`
- Db *NacosDB `protobuf:"bytes,2,opt,name=db,proto3"
json:"db,omitempty"`
+ // Nacos data storage method `mysql` or `embedded`. The `embedded`
supports either standalone or cluster mode.
+ Type string `protobuf:"bytes,1,opt,name=type,proto3"
json:"type,omitempty"`
+ // Configuration for Nacos db.
+ Database *NacosMYSQLConfig `protobuf:"bytes,2,opt,name=database,proto3"
json:"database,omitempty"`
}
func (x *NacosStorage) Reset() {
*x = NacosStorage{}
if protoimpl.UnsafeEnabled {
- mi := &file_values_types_proto_msgTypes[8]
+ mi := &file_values_types_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -682,7 +255,7 @@ func (x *NacosStorage) String() string {
func (*NacosStorage) ProtoMessage() {}
func (x *NacosStorage) ProtoReflect() protoreflect.Message {
- mi := &file_values_types_proto_msgTypes[8]
+ mi := &file_values_types_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -695,7 +268,7 @@ func (x *NacosStorage) ProtoReflect() protoreflect.Message {
// Deprecated: Use NacosStorage.ProtoReflect.Descriptor instead.
func (*NacosStorage) Descriptor() ([]byte, []int) {
- return file_values_types_proto_rawDescGZIP(), []int{8}
+ return file_values_types_proto_rawDescGZIP(), []int{4}
}
func (x *NacosStorage) GetType() string {
@@ -705,43 +278,49 @@ func (x *NacosStorage) GetType() string {
return ""
}
-func (x *NacosStorage) GetDb() *NacosDB {
+func (x *NacosStorage) GetDatabase() *NacosMYSQLConfig {
if x != nil {
- return x.Db
+ return x.Database
}
return nil
}
-type NacosDB struct {
+type NacosMYSQLConfig struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Host string `protobuf:"bytes,1,opt,name=host,proto3"
json:"host,omitempty"`
- Name string `protobuf:"bytes,2,opt,name=name,proto3"
json:"name,omitempty"`
- Port int64 `protobuf:"varint,3,opt,name=port,proto3"
json:"port,omitempty"`
+ // Specify the database host for Nacos storing configuration data.
+ Host string `protobuf:"bytes,1,opt,name=host,proto3"
json:"host,omitempty"`
+ // Specify the database name for Nacos storing configuration data.
+ Name string `protobuf:"bytes,2,opt,name=name,proto3"
json:"name,omitempty"`
+ // Specify the database port for Nacos storing configuration data.
+ Port int64 `protobuf:"varint,3,opt,name=port,proto3"
json:"port,omitempty"`
+ // Specify the database username for Nacos storing configuration data.
Username string `protobuf:"bytes,4,opt,name=username,proto3"
json:"username,omitempty"`
+ // Specify the database password for Nacos storing configuration data.
Password string `protobuf:"bytes,5,opt,name=password,proto3"
json:"password,omitempty"`
- Param string `protobuf:"bytes,6,opt,name=param,proto3"
json:"param,omitempty"`
+ // Specify the database url parameter for Nacos storing configuration
data.
+ Param string `protobuf:"bytes,6,opt,name=param,proto3"
json:"param,omitempty"`
}
-func (x *NacosDB) Reset() {
- *x = NacosDB{}
+func (x *NacosMYSQLConfig) Reset() {
+ *x = NacosMYSQLConfig{}
if protoimpl.UnsafeEnabled {
- mi := &file_values_types_proto_msgTypes[9]
+ mi := &file_values_types_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *NacosDB) String() string {
+func (x *NacosMYSQLConfig) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*NacosDB) ProtoMessage() {}
+func (*NacosMYSQLConfig) ProtoMessage() {}
-func (x *NacosDB) ProtoReflect() protoreflect.Message {
- mi := &file_values_types_proto_msgTypes[9]
+func (x *NacosMYSQLConfig) ProtoReflect() protoreflect.Message {
+ mi := &file_values_types_proto_msgTypes[5]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -752,100 +331,53 @@ func (x *NacosDB) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use NacosDB.ProtoReflect.Descriptor instead.
-func (*NacosDB) Descriptor() ([]byte, []int) {
- return file_values_types_proto_rawDescGZIP(), []int{9}
+// Deprecated: Use NacosMYSQLConfig.ProtoReflect.Descriptor instead.
+func (*NacosMYSQLConfig) Descriptor() ([]byte, []int) {
+ return file_values_types_proto_rawDescGZIP(), []int{5}
}
-func (x *NacosDB) GetHost() string {
+func (x *NacosMYSQLConfig) GetHost() string {
if x != nil {
return x.Host
}
return ""
}
-func (x *NacosDB) GetName() string {
+func (x *NacosMYSQLConfig) GetName() string {
if x != nil {
return x.Name
}
return ""
}
-func (x *NacosDB) GetPort() int64 {
+func (x *NacosMYSQLConfig) GetPort() int64 {
if x != nil {
return x.Port
}
return 0
}
-func (x *NacosDB) GetUsername() string {
+func (x *NacosMYSQLConfig) GetUsername() string {
if x != nil {
return x.Username
}
return ""
}
-func (x *NacosDB) GetPassword() string {
+func (x *NacosMYSQLConfig) GetPassword() string {
if x != nil {
return x.Password
}
return ""
}
-func (x *NacosDB) GetParam() string {
+func (x *NacosMYSQLConfig) GetParam() string {
if x != nil {
return x.Param
}
return ""
}
-type NacosPlugin struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Enabled *wrapperspb.BoolValue
`protobuf:"bytes,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
-}
-
-func (x *NacosPlugin) Reset() {
- *x = NacosPlugin{}
- if protoimpl.UnsafeEnabled {
- mi := &file_values_types_proto_msgTypes[10]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *NacosPlugin) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*NacosPlugin) ProtoMessage() {}
-
-func (x *NacosPlugin) ProtoReflect() protoreflect.Message {
- mi := &file_values_types_proto_msgTypes[10]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use NacosPlugin.ProtoReflect.Descriptor instead.
-func (*NacosPlugin) Descriptor() ([]byte, []int) {
- return file_values_types_proto_rawDescGZIP(), []int{10}
-}
-
-func (x *NacosPlugin) GetEnabled() *wrapperspb.BoolValue {
- if x != nil {
- return x.Enabled
- }
- return nil
-}
-
type Values struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -866,7 +398,7 @@ type Values struct {
func (x *Values) Reset() {
*x = Values{}
if protoimpl.UnsafeEnabled {
- mi := &file_values_types_proto_msgTypes[11]
+ mi := &file_values_types_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -879,7 +411,7 @@ func (x *Values) String() string {
func (*Values) ProtoMessage() {}
func (x *Values) ProtoReflect() protoreflect.Message {
- mi := &file_values_types_proto_msgTypes[11]
+ mi := &file_values_types_proto_msgTypes[6]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -892,7 +424,7 @@ func (x *Values) ProtoReflect() protoreflect.Message {
// Deprecated: Use Values.ProtoReflect.Descriptor instead.
func (*Values) Descriptor() ([]byte, []int) {
- return file_values_types_proto_rawDescGZIP(), []int{11}
+ return file_values_types_proto_rawDescGZIP(), []int{6}
}
func (x *Values) GetGlobal() *GlobalConfig {
@@ -952,7 +484,7 @@ type IntOrString struct {
func (x *IntOrString) Reset() {
*x = IntOrString{}
if protoimpl.UnsafeEnabled {
- mi := &file_values_types_proto_msgTypes[12]
+ mi := &file_values_types_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -965,7 +497,7 @@ func (x *IntOrString) String() string {
func (*IntOrString) ProtoMessage() {}
func (x *IntOrString) ProtoReflect() protoreflect.Message {
- mi := &file_values_types_proto_msgTypes[12]
+ mi := &file_values_types_proto_msgTypes[7]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -978,7 +510,7 @@ func (x *IntOrString) ProtoReflect() protoreflect.Message {
// Deprecated: Use IntOrString.ProtoReflect.Descriptor instead.
func (*IntOrString) Descriptor() ([]byte, []int) {
- return file_values_types_proto_rawDescGZIP(), []int{12}
+ return file_values_types_proto_rawDescGZIP(), []int{7}
}
func (x *IntOrString) GetType() int64 {
@@ -1009,219 +541,72 @@ var file_values_types_proto_rawDesc = []byte{
0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x64, 0x75, 0x62, 0x62, 0x6f, 0x2e,
0x6f, 0x70, 0x65, 0x72,
0x61, 0x74, 0x6f, 0x72, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61,
0x31, 0x1a, 0x1e, 0x67,
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
0x75, 0x66, 0x2f, 0x77,
- 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x22, 0x36, 0x0a,
- 0x0c, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69,
0x67, 0x12, 0x26, 0x0a,
- 0x0e, 0x64, 0x75, 0x62, 0x62, 0x6f, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70,
0x61, 0x63, 0x65, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x64, 0x75, 0x62, 0x62, 0x6f,
0x4e, 0x61, 0x6d, 0x65,
- 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x5e, 0x0a, 0x0a, 0x42, 0x61, 0x73,
0x65, 0x43, 0x6f, 0x6e,
- 0x66, 0x69, 0x67, 0x12, 0x50, 0x0a, 0x15, 0x65, 0x6e, 0x61, 0x62, 0x6c,
0x65, 0x44, 0x75, 0x62,
- 0x62, 0x6f, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x43, 0x52, 0x44, 0x73,
0x18, 0x01, 0x20, 0x01,
- 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c,
0x75, 0x65, 0x52, 0x15,
- 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x44, 0x75, 0x62, 0x62, 0x6f, 0x43,
0x6f, 0x6e, 0x66, 0x69,
- 0x67, 0x43, 0x52, 0x44, 0x73, 0x22, 0xd6, 0x07, 0x0a, 0x0f, 0x5a, 0x6f,
0x6f, 0x6b, 0x65, 0x65,
- 0x70, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x34, 0x0a,
0x07, 0x65, 0x6e, 0x61,
- 0x62, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a,
0x2e, 0x67, 0x6f, 0x6f,
- 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
0x2e, 0x42, 0x6f, 0x6f,
- 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62,
0x6c, 0x65, 0x64, 0x12,
- 0x3c, 0x0a, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x4c, 0x6f, 0x67, 0x44, 0x69,
0x72, 0x18, 0x02, 0x20,
- 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67,
0x56, 0x61, 0x6c, 0x75,
- 0x65, 0x52, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x4c, 0x6f, 0x67, 0x44, 0x69,
0x72, 0x12, 0x37, 0x0a,
- 0x08, 0x74, 0x69, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20,
0x01, 0x28, 0x0b, 0x32,
- 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x62, 0x75,
- 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65,
0x52, 0x08, 0x74, 0x69,
- 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x39, 0x0a, 0x09, 0x69, 0x6e,
0x69, 0x74, 0x4c, 0x69,
- 0x6d, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e,
0x67, 0x6f, 0x6f, 0x67,
- 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
0x49, 0x6e, 0x74, 0x36,
- 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, 0x69, 0x6e, 0x69, 0x74,
0x4c, 0x69, 0x6d, 0x69,
- 0x74, 0x12, 0x39, 0x0a, 0x09, 0x73, 0x79, 0x6e, 0x63, 0x4c, 0x69, 0x6d,
0x69, 0x74, 0x18, 0x05,
- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
0x65, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x36, 0x34,
0x56, 0x61, 0x6c, 0x75,
- 0x65, 0x52, 0x09, 0x73, 0x79, 0x6e, 0x63, 0x4c, 0x69, 0x6d, 0x69, 0x74,
0x12, 0x3f, 0x0a, 0x0c,
- 0x70, 0x72, 0x65, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x53, 0x69, 0x7a, 0x65,
0x18, 0x06, 0x20, 0x01,
- 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61,
0x6c, 0x75, 0x65, 0x52,
- 0x0c, 0x70, 0x72, 0x65, 0x41, 0x6c, 0x6c, 0x6f, 0x63, 0x53, 0x69, 0x7a,
0x65, 0x12, 0x39, 0x0a,
- 0x09, 0x73, 0x6e, 0x61, 0x70, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x07,
0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x62,
- 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75,
0x65, 0x52, 0x09, 0x73,
- 0x6e, 0x61, 0x70, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x56, 0x0a, 0x17,
0x66, 0x6f, 0x75, 0x72,
- 0x6c, 0x77, 0x43, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x57, 0x68,
0x69, 0x74, 0x65, 0x6c,
- 0x69, 0x73, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e,
0x67, 0x6f, 0x6f, 0x67,
- 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
0x53, 0x74, 0x72, 0x69,
- 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x17, 0x66, 0x6f, 0x75,
0x72, 0x6c, 0x77, 0x43,
- 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x57, 0x68, 0x69, 0x74, 0x65,
0x6c, 0x69, 0x73, 0x74,
- 0x12, 0x42, 0x0a, 0x0e, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x4f, 0x6e,
0x41, 0x6c, 0x6c, 0x49,
- 0x50, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,
0x6f, 0x6f, 0x67, 0x6c,
- 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42,
0x6f, 0x6f, 0x6c, 0x56,
- 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0e, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e,
0x4f, 0x6e, 0x41, 0x6c,
- 0x6c, 0x49, 0x50, 0x73, 0x12, 0x49, 0x0a, 0x09, 0x61, 0x75, 0x74, 0x6f,
0x70, 0x75, 0x72, 0x67,
- 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x64, 0x75,
0x62, 0x62, 0x6f, 0x2e,
- 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x76, 0x31, 0x61,
0x6c, 0x70, 0x68, 0x61,
- 0x31, 0x2e, 0x5a, 0x6f, 0x6f, 0x6b, 0x65, 0x65, 0x70, 0x65, 0x72, 0x41,
0x75, 0x74, 0x6f, 0x70,
- 0x75, 0x72, 0x67, 0x65, 0x52, 0x09, 0x61, 0x75, 0x74, 0x6f, 0x70, 0x75,
0x72, 0x67, 0x65, 0x12,
- 0x43, 0x0a, 0x0e, 0x6d, 0x61, 0x78, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74,
0x43, 0x6e, 0x78, 0x6e,
- 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f,
0x6f, 0x67, 0x6c, 0x65,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e,
0x74, 0x36, 0x34, 0x56,
- 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0e, 0x6d, 0x61, 0x78, 0x43, 0x6c, 0x69,
0x65, 0x6e, 0x74, 0x43,
- 0x6e, 0x78, 0x6e, 0x73, 0x12, 0x49, 0x0a, 0x11, 0x6d, 0x61, 0x78, 0x53,
0x65, 0x73, 0x73, 0x69,
- 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x0c, 0x20,
0x01, 0x28, 0x0b, 0x32,
- 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x62, 0x75,
- 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65,
0x52, 0x11, 0x6d, 0x61,
- 0x78, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65,
0x6f, 0x75, 0x74, 0x12,
- 0x37, 0x0a, 0x08, 0x68, 0x65, 0x61, 0x70, 0x53, 0x69, 0x7a, 0x65, 0x18,
0x0d, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
0x72, 0x6f, 0x74, 0x6f,
- 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c,
0x75, 0x65, 0x52, 0x08,
- 0x68, 0x65, 0x61, 0x70, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x38, 0x0a, 0x08,
0x6c, 0x6f, 0x67, 0x4c,
- 0x65, 0x76, 0x65, 0x6c, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c,
0x2e, 0x67, 0x6f, 0x6f,
- 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
0x2e, 0x53, 0x74, 0x72,
- 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x6c, 0x6f,
0x67, 0x4c, 0x65, 0x76,
- 0x65, 0x6c, 0x12, 0x3a, 0x0a, 0x04, 0x61, 0x75, 0x74, 0x68, 0x18, 0x0f,
0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x26, 0x2e, 0x64, 0x75, 0x62, 0x62, 0x6f, 0x2e, 0x6f, 0x70, 0x65,
0x72, 0x61, 0x74, 0x6f,
- 0x72, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x5a,
0x6f, 0x6f, 0x6b, 0x65,
- 0x65, 0x70, 0x65, 0x72, 0x41, 0x75, 0x74, 0x68, 0x52, 0x04, 0x61, 0x75,
0x74, 0x68, 0x22, 0x9e,
- 0x01, 0x0a, 0x12, 0x5a, 0x6f, 0x6f, 0x6b, 0x65, 0x65, 0x70, 0x65, 0x72,
0x41, 0x75, 0x74, 0x6f,
- 0x70, 0x75, 0x72, 0x67, 0x65, 0x12, 0x45, 0x0a, 0x0f, 0x73, 0x6e, 0x61,
0x70, 0x52, 0x65, 0x74,
- 0x61, 0x69, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01,
0x28, 0x0b, 0x32, 0x1b,
- 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x62, 0x75, 0x66,
- 0x2e, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52,
0x0f, 0x73, 0x6e, 0x61,
- 0x70, 0x52, 0x65, 0x74, 0x61, 0x69, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74,
0x12, 0x41, 0x0a, 0x0d,
- 0x70, 0x75, 0x72, 0x67, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61,
0x6c, 0x18, 0x02, 0x20,
- 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56,
0x61, 0x6c, 0x75, 0x65,
- 0x52, 0x0d, 0x70, 0x75, 0x72, 0x67, 0x65, 0x49, 0x6e, 0x74, 0x65, 0x72,
0x76, 0x61, 0x6c, 0x22,
- 0xa7, 0x01, 0x0a, 0x0d, 0x5a, 0x6f, 0x6f, 0x6b, 0x65, 0x65, 0x70, 0x65,
0x72, 0x41, 0x75, 0x74,
- 0x68, 0x12, 0x4a, 0x0a, 0x06, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x18,
0x01, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x32, 0x2e, 0x64, 0x75, 0x62, 0x62, 0x6f, 0x2e, 0x6f, 0x70,
0x65, 0x72, 0x61, 0x74,
- 0x6f, 0x72, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e,
0x5a, 0x6f, 0x6f, 0x6b,
- 0x65, 0x65, 0x70, 0x65, 0x72, 0x41, 0x75, 0x74, 0x68, 0x43, 0x6c, 0x69,
0x65, 0x6e, 0x74, 0x43,
- 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x06, 0x63, 0x6c, 0x69, 0x65, 0x6e,
0x74, 0x12, 0x4a, 0x0a,
- 0x06, 0x71, 0x75, 0x6f, 0x72, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28,
0x0b, 0x32, 0x32, 0x2e,
+ 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x22, 0x0e, 0x0a,
+ 0x0c, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69,
0x67, 0x22, 0x0c, 0x0a,
+ 0x0a, 0x42, 0x61, 0x73, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22,
0x47, 0x0a, 0x0f, 0x5a,
+ 0x6f, 0x6f, 0x6b, 0x65, 0x65, 0x70, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66,
0x69, 0x67, 0x12, 0x34,
+ 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20,
0x01, 0x28, 0x0b, 0x32,
+ 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x62, 0x75,
+ 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52,
0x07, 0x65, 0x6e, 0x61,
+ 0x62, 0x6c, 0x65, 0x64, 0x22, 0xb6, 0x01, 0x0a, 0x0b, 0x4e, 0x61, 0x63,
0x6f, 0x73, 0x43, 0x6f,
+ 0x6e, 0x66, 0x69, 0x67, 0x12, 0x34, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62,
0x6c, 0x65, 0x64, 0x18,
+ 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
0x6c, 0x65, 0x2e, 0x70,
+ 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c,
0x56, 0x61, 0x6c, 0x75,
+ 0x65, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x30,
0x0a, 0x04, 0x6d, 0x6f,
+ 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67,
0x6f, 0x6f, 0x67, 0x6c,
+ 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53,
0x74, 0x72, 0x69, 0x6e,
+ 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65,
0x12, 0x3f, 0x0a, 0x07,
+ 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
0x0b, 0x32, 0x25, 0x2e,
0x64, 0x75, 0x62, 0x62, 0x6f, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
0x6f, 0x72, 0x2e, 0x76,
- 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x5a, 0x6f, 0x6f, 0x6b,
0x65, 0x65, 0x70, 0x65,
- 0x72, 0x41, 0x75, 0x74, 0x68, 0x51, 0x75, 0x6f, 0x72, 0x75, 0x6d, 0x43,
0x6f, 0x6e, 0x66, 0x69,
- 0x67, 0x52, 0x06, 0x71, 0x75, 0x6f, 0x72, 0x75, 0x6d, 0x22, 0xa3, 0x03,
0x0a, 0x19, 0x5a, 0x6f,
- 0x6f, 0x6b, 0x65, 0x65, 0x70, 0x65, 0x72, 0x41, 0x75, 0x74, 0x68, 0x43,
0x6c, 0x69, 0x65, 0x6e,
- 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x34, 0x0a, 0x07, 0x65,
0x6e, 0x61, 0x62, 0x6c,
- 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,
0x6f, 0x6f, 0x67, 0x6c,
- 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42,
0x6f, 0x6f, 0x6c, 0x56,
- 0x61, 0x6c, 0x75, 0x65, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65,
0x64, 0x12, 0x3c, 0x0a,
- 0x0a, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72, 0x18,
0x02, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
0x72, 0x6f, 0x74, 0x6f,
- 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61,
0x6c, 0x75, 0x65, 0x52,
- 0x0a, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72, 0x12,
0x44, 0x0a, 0x0e, 0x63,
- 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72,
0x64, 0x18, 0x03, 0x20,
- 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67,
0x56, 0x61, 0x6c, 0x75,
- 0x65, 0x52, 0x0e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x50, 0x61, 0x73,
0x73, 0x77, 0x6f, 0x72,
- 0x64, 0x12, 0x3e, 0x0a, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x55,
0x73, 0x65, 0x72, 0x73,
- 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f,
0x67, 0x6c, 0x65, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72,
0x69, 0x6e, 0x67, 0x56,
- 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72,
0x55, 0x73, 0x65, 0x72,
- 0x73, 0x12, 0x46, 0x0a, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x50,
0x61, 0x73, 0x73, 0x77,
- 0x6f, 0x72, 0x64, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c,
0x2e, 0x67, 0x6f, 0x6f,
- 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
0x2e, 0x53, 0x74, 0x72,
- 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0f, 0x73, 0x65,
0x72, 0x76, 0x65, 0x72,
- 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x73, 0x12, 0x44, 0x0a,
0x0e, 0x65, 0x78, 0x69,
- 0x73, 0x74, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18,
0x06, 0x20, 0x01, 0x28,
+ 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4e, 0x61, 0x63, 0x6f,
0x73, 0x53, 0x74, 0x6f,
+ 0x72, 0x61, 0x67, 0x65, 0x52, 0x07, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67,
0x65, 0x22, 0x69, 0x0a,
+ 0x0c, 0x4e, 0x61, 0x63, 0x6f, 0x73, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67,
0x65, 0x12, 0x12, 0x0a,
+ 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
0x04, 0x74, 0x79, 0x70,
+ 0x65, 0x12, 0x45, 0x0a, 0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73,
0x65, 0x18, 0x02, 0x20,
+ 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x64, 0x75, 0x62, 0x62, 0x6f, 0x2e,
0x6f, 0x70, 0x65, 0x72,
+ 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61,
0x31, 0x2e, 0x4e, 0x61,
+ 0x63, 0x6f, 0x73, 0x4d, 0x59, 0x53, 0x51, 0x4c, 0x43, 0x6f, 0x6e, 0x66,
0x69, 0x67, 0x52, 0x08,
+ 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x22, 0x9c, 0x01, 0x0a,
0x10, 0x4e, 0x61, 0x63,
+ 0x6f, 0x73, 0x4d, 0x59, 0x53, 0x51, 0x4c, 0x43, 0x6f, 0x6e, 0x66, 0x69,
0x67, 0x12, 0x12, 0x0a,
+ 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
0x04, 0x68, 0x6f, 0x73,
+ 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20,
0x01, 0x28, 0x09, 0x52,
+ 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72,
0x74, 0x18, 0x03, 0x20,
+ 0x01, 0x28, 0x03, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x1a, 0x0a,
0x08, 0x75, 0x73, 0x65,
+ 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
0x08, 0x75, 0x73, 0x65,
+ 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73,
0x73, 0x77, 0x6f, 0x72,
+ 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73,
0x73, 0x77, 0x6f, 0x72,
+ 0x64, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x18, 0x06,
0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x05, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x22, 0x9e, 0x02, 0x0a, 0x06,
0x56, 0x61, 0x6c, 0x75,
+ 0x65, 0x73, 0x12, 0x3d, 0x0a, 0x06, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c,
0x18, 0x01, 0x20, 0x01,
+ 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x64, 0x75, 0x62, 0x62, 0x6f, 0x2e, 0x6f,
0x70, 0x65, 0x72, 0x61,
+ 0x74, 0x6f, 0x72, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31,
0x2e, 0x47, 0x6c, 0x6f,
+ 0x62, 0x61, 0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x06, 0x67,
0x6c, 0x6f, 0x62, 0x61,
+ 0x6c, 0x12, 0x37, 0x0a, 0x04, 0x62, 0x61, 0x73, 0x65, 0x18, 0x02, 0x20,
0x01, 0x28, 0x0b, 0x32,
+ 0x23, 0x2e, 0x64, 0x75, 0x62, 0x62, 0x6f, 0x2e, 0x6f, 0x70, 0x65, 0x72,
0x61, 0x74, 0x6f, 0x72,
+ 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x42, 0x61,
0x73, 0x65, 0x43, 0x6f,
+ 0x6e, 0x66, 0x69, 0x67, 0x52, 0x04, 0x62, 0x61, 0x73, 0x65, 0x12, 0x18,
0x0a, 0x07, 0x70, 0x72,
+ 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
0x07, 0x70, 0x72, 0x6f,
+ 0x66, 0x69, 0x6c, 0x65, 0x12, 0x46, 0x0a, 0x09, 0x7a, 0x6f, 0x6f, 0x6b,
0x65, 0x65, 0x70, 0x65,
+ 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x64, 0x75,
0x62, 0x62, 0x6f, 0x2e,
+ 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x76, 0x31, 0x61,
0x6c, 0x70, 0x68, 0x61,
+ 0x31, 0x2e, 0x5a, 0x6f, 0x6f, 0x6b, 0x65, 0x65, 0x70, 0x65, 0x72, 0x43,
0x6f, 0x6e, 0x66, 0x69,
+ 0x67, 0x52, 0x09, 0x7a, 0x6f, 0x6f, 0x6b, 0x65, 0x65, 0x70, 0x65, 0x72,
0x12, 0x3a, 0x0a, 0x05,
+ 0x6e, 0x61, 0x63, 0x6f, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32,
0x24, 0x2e, 0x64, 0x75,
+ 0x62, 0x62, 0x6f, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72,
0x2e, 0x76, 0x31, 0x61,
+ 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4e, 0x61, 0x63, 0x6f, 0x73, 0x43,
0x6f, 0x6e, 0x66, 0x69,
+ 0x67, 0x52, 0x05, 0x6e, 0x61, 0x63, 0x6f, 0x73, 0x22, 0x8c, 0x01, 0x0a,
0x0b, 0x49, 0x6e, 0x74,
+ 0x4f, 0x72, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x12, 0x0a, 0x04,
0x74, 0x79, 0x70, 0x65,
+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65,
0x12, 0x33, 0x0a, 0x06,
+ 0x69, 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
0x32, 0x1b, 0x2e, 0x67,
+ 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
0x75, 0x66, 0x2e, 0x49,
+ 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x69,
0x6e, 0x74, 0x56, 0x61,
+ 0x6c, 0x12, 0x34, 0x0a, 0x06, 0x73, 0x74, 0x72, 0x56, 0x61, 0x6c, 0x18,
0x03, 0x20, 0x01, 0x28,
0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
0x72, 0x6f, 0x74, 0x6f,
0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61,
0x6c, 0x75, 0x65, 0x52,
- 0x0e, 0x65, 0x78, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x63,
0x72, 0x65, 0x74, 0x22,
- 0xa7, 0x03, 0x0a, 0x19, 0x5a, 0x6f, 0x6f, 0x6b, 0x65, 0x65, 0x70, 0x65,
0x72, 0x41, 0x75, 0x74,
- 0x68, 0x51, 0x75, 0x6f, 0x72, 0x75, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69,
0x67, 0x12, 0x34, 0x0a,
- 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01,
0x28, 0x0b, 0x32, 0x1a,
- 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x62, 0x75, 0x66,
- 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x07,
0x65, 0x6e, 0x61, 0x62,
- 0x6c, 0x65, 0x64, 0x12, 0x3e, 0x0a, 0x0b, 0x6c, 0x65, 0x61, 0x72, 0x6e,
0x65, 0x72, 0x55, 0x73,
- 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67,
0x6f, 0x6f, 0x67, 0x6c,
- 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53,
0x74, 0x72, 0x69, 0x6e,
- 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0b, 0x6c, 0x65, 0x61, 0x72,
0x6e, 0x65, 0x72, 0x55,
- 0x73, 0x65, 0x72, 0x12, 0x46, 0x0a, 0x0f, 0x6c, 0x65, 0x61, 0x72, 0x6e,
0x65, 0x72, 0x50, 0x61,
- 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b,
0x32, 0x1c, 0x2e, 0x67,
- 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
0x75, 0x66, 0x2e, 0x53,
- 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0f,
0x6c, 0x65, 0x61, 0x72,
- 0x6e, 0x65, 0x72, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12,
0x3e, 0x0a, 0x0b, 0x73,
- 0x65, 0x72, 0x76, 0x65, 0x72, 0x55, 0x73, 0x65, 0x72, 0x73, 0x18, 0x04,
0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x62,
- 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c,
0x75, 0x65, 0x52, 0x0b,
- 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x55, 0x73, 0x65, 0x72, 0x73, 0x12,
0x46, 0x0a, 0x0f, 0x73,
- 0x65, 0x72, 0x76, 0x65, 0x72, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72,
0x64, 0x73, 0x18, 0x05,
- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
0x65, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e,
0x67, 0x56, 0x61, 0x6c,
- 0x75, 0x65, 0x52, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x50, 0x61,
0x73, 0x73, 0x77, 0x6f,
- 0x72, 0x64, 0x73, 0x12, 0x44, 0x0a, 0x0e, 0x65, 0x78, 0x69, 0x73, 0x74,
0x69, 0x6e, 0x67, 0x53,
- 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32,
0x1c, 0x2e, 0x67, 0x6f,
- 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
0x66, 0x2e, 0x53, 0x74,
- 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0e, 0x65,
0x78, 0x69, 0x73, 0x74,
- 0x69, 0x6e, 0x67, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x22, 0x9c, 0x02,
0x0a, 0x0b, 0x4e, 0x61,
- 0x63, 0x6f, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x34, 0x0a,
0x07, 0x65, 0x6e, 0x61,
- 0x62, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a,
0x2e, 0x67, 0x6f, 0x6f,
- 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
0x2e, 0x42, 0x6f, 0x6f,
- 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62,
0x6c, 0x65, 0x64, 0x12,
- 0x30, 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
0x0b, 0x32, 0x1c, 0x2e,
- 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x62, 0x75, 0x66, 0x2e,
- 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52,
0x04, 0x6d, 0x6f, 0x64,
- 0x65, 0x12, 0x3f, 0x0a, 0x07, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65,
0x18, 0x03, 0x20, 0x01,
- 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x64, 0x75, 0x62, 0x62, 0x6f, 0x2e, 0x6f,
0x70, 0x65, 0x72, 0x61,
- 0x74, 0x6f, 0x72, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31,
0x2e, 0x4e, 0x61, 0x63,
- 0x6f, 0x73, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x52, 0x07, 0x73,
0x74, 0x6f, 0x72, 0x61,
- 0x67, 0x65, 0x12, 0x3c, 0x0a, 0x06, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e,
0x18, 0x04, 0x20, 0x01,
- 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x64, 0x75, 0x62, 0x62, 0x6f, 0x2e, 0x6f,
0x70, 0x65, 0x72, 0x61,
- 0x74, 0x6f, 0x72, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31,
0x2e, 0x4e, 0x61, 0x63,
- 0x6f, 0x73, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x52, 0x06, 0x70, 0x6c,
0x75, 0x67, 0x69, 0x6e,
- 0x12, 0x26, 0x0a, 0x0e, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x68, 0x6f,
0x73, 0x74, 0x6d, 0x6f,
- 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x72,
0x65, 0x66, 0x65, 0x72,
- 0x68, 0x6f, 0x73, 0x74, 0x6d, 0x6f, 0x64, 0x65, 0x22, 0x54, 0x0a, 0x0c,
0x4e, 0x61, 0x63, 0x6f,
- 0x73, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x12, 0x12, 0x0a, 0x04,
0x74, 0x79, 0x70, 0x65,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65,
0x12, 0x30, 0x0a, 0x02,
- 0x64, 0x62, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x64,
0x75, 0x62, 0x62, 0x6f,
- 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x76, 0x31,
0x61, 0x6c, 0x70, 0x68,
- 0x61, 0x31, 0x2e, 0x4e, 0x61, 0x63, 0x6f, 0x73, 0x44, 0x42, 0x52, 0x02,
0x64, 0x62, 0x22, 0x93,
- 0x01, 0x0a, 0x07, 0x4e, 0x61, 0x63, 0x6f, 0x73, 0x44, 0x42, 0x12, 0x12,
0x0a, 0x04, 0x68, 0x6f,
- 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f,
0x73, 0x74, 0x12, 0x12,
- 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
0x52, 0x04, 0x6e, 0x61,
- 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x03,
0x20, 0x01, 0x28, 0x03,
- 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73,
0x65, 0x72, 0x6e, 0x61,
- 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73,
0x65, 0x72, 0x6e, 0x61,
- 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f,
0x72, 0x64, 0x18, 0x05,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f,
0x72, 0x64, 0x12, 0x14,
- 0x0a, 0x05, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x18, 0x06, 0x20, 0x01, 0x28,
0x09, 0x52, 0x05, 0x70,
- 0x61, 0x72, 0x61, 0x6d, 0x22, 0x43, 0x0a, 0x0b, 0x4e, 0x61, 0x63, 0x6f,
0x73, 0x50, 0x6c, 0x75,
- 0x67, 0x69, 0x6e, 0x12, 0x34, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c,
0x65, 0x64, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
0x65, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56,
0x61, 0x6c, 0x75, 0x65,
- 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x22, 0x9e, 0x02,
0x0a, 0x06, 0x56, 0x61,
- 0x6c, 0x75, 0x65, 0x73, 0x12, 0x3d, 0x0a, 0x06, 0x67, 0x6c, 0x6f, 0x62,
0x61, 0x6c, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x64, 0x75, 0x62, 0x62, 0x6f,
0x2e, 0x6f, 0x70, 0x65,
- 0x72, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68,
0x61, 0x31, 0x2e, 0x47,
- 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52,
0x06, 0x67, 0x6c, 0x6f,
- 0x62, 0x61, 0x6c, 0x12, 0x37, 0x0a, 0x04, 0x62, 0x61, 0x73, 0x65, 0x18,
0x02, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x23, 0x2e, 0x64, 0x75, 0x62, 0x62, 0x6f, 0x2e, 0x6f, 0x70,
0x65, 0x72, 0x61, 0x74,
- 0x6f, 0x72, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e,
0x42, 0x61, 0x73, 0x65,
- 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x04, 0x62, 0x61, 0x73, 0x65,
0x12, 0x18, 0x0a, 0x07,
- 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
0x09, 0x52, 0x07, 0x70,
- 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x46, 0x0a, 0x09, 0x7a, 0x6f,
0x6f, 0x6b, 0x65, 0x65,
- 0x70, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e,
0x64, 0x75, 0x62, 0x62,
- 0x6f, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x76,
0x31, 0x61, 0x6c, 0x70,
- 0x68, 0x61, 0x31, 0x2e, 0x5a, 0x6f, 0x6f, 0x6b, 0x65, 0x65, 0x70, 0x65,
0x72, 0x43, 0x6f, 0x6e,
- 0x66, 0x69, 0x67, 0x52, 0x09, 0x7a, 0x6f, 0x6f, 0x6b, 0x65, 0x65, 0x70,
0x65, 0x72, 0x12, 0x3a,
- 0x0a, 0x05, 0x6e, 0x61, 0x63, 0x6f, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28,
0x0b, 0x32, 0x24, 0x2e,
- 0x64, 0x75, 0x62, 0x62, 0x6f, 0x2e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
0x6f, 0x72, 0x2e, 0x76,
- 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4e, 0x61, 0x63, 0x6f,
0x73, 0x43, 0x6f, 0x6e,
- 0x66, 0x69, 0x67, 0x52, 0x05, 0x6e, 0x61, 0x63, 0x6f, 0x73, 0x22, 0x8c,
0x01, 0x0a, 0x0b, 0x49,
- 0x6e, 0x74, 0x4f, 0x72, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x12,
0x0a, 0x04, 0x74, 0x79,
- 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x74, 0x79,
0x70, 0x65, 0x12, 0x33,
- 0x0a, 0x06, 0x69, 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01,
0x28, 0x0b, 0x32, 0x1b,
- 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x62, 0x75, 0x66,
- 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52,
0x06, 0x69, 0x6e, 0x74,
- 0x56, 0x61, 0x6c, 0x12, 0x34, 0x0a, 0x06, 0x73, 0x74, 0x72, 0x56, 0x61,
0x6c, 0x18, 0x03, 0x20,
- 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67,
0x56, 0x61, 0x6c, 0x75,
- 0x65, 0x52, 0x06, 0x73, 0x74, 0x72, 0x56, 0x61, 0x6c, 0x42, 0x22, 0x5a,
0x20, 0x64, 0x75, 0x62,
- 0x62, 0x6f, 0x2e, 0x69, 0x6f, 0x2f, 0x64, 0x75, 0x62, 0x62, 0x6f, 0x2f,
0x6f, 0x70, 0x65, 0x72,
- 0x61, 0x74, 0x6f, 0x72, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x61, 0x70, 0x69,
0x73, 0x62, 0x06, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x33,
+ 0x06, 0x73, 0x74, 0x72, 0x56, 0x61, 0x6c, 0x42, 0x22, 0x5a, 0x20, 0x64,
0x75, 0x62, 0x62, 0x6f,
+ 0x2e, 0x69, 0x6f, 0x2f, 0x64, 0x75, 0x62, 0x62, 0x6f, 0x2f, 0x6f, 0x70,
0x65, 0x72, 0x61, 0x74,
+ 0x6f, 0x72, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x62,
0x06, 0x70, 0x72, 0x6f,
+ 0x74, 0x6f, 0x33,
}
var (
@@ -1236,76 +621,37 @@ func file_values_types_proto_rawDescGZIP() []byte {
return file_values_types_proto_rawDescData
}
-var file_values_types_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
+var file_values_types_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
var file_values_types_proto_goTypes = []interface{}{
- (*GlobalConfig)(nil), // 0:
dubbo.operator.v1alpha1.GlobalConfig
- (*BaseConfig)(nil), // 1:
dubbo.operator.v1alpha1.BaseConfig
- (*ZookeeperConfig)(nil), // 2:
dubbo.operator.v1alpha1.ZookeeperConfig
- (*ZookeeperAutopurge)(nil), // 3:
dubbo.operator.v1alpha1.ZookeeperAutopurge
- (*ZookeeperAuth)(nil), // 4:
dubbo.operator.v1alpha1.ZookeeperAuth
- (*ZookeeperAuthClientConfig)(nil), // 5:
dubbo.operator.v1alpha1.ZookeeperAuthClientConfig
- (*ZookeeperAuthQuorumConfig)(nil), // 6:
dubbo.operator.v1alpha1.ZookeeperAuthQuorumConfig
- (*NacosConfig)(nil), // 7:
dubbo.operator.v1alpha1.NacosConfig
- (*NacosStorage)(nil), // 8:
dubbo.operator.v1alpha1.NacosStorage
- (*NacosDB)(nil), // 9: dubbo.operator.v1alpha1.NacosDB
- (*NacosPlugin)(nil), // 10:
dubbo.operator.v1alpha1.NacosPlugin
- (*Values)(nil), // 11: dubbo.operator.v1alpha1.Values
- (*IntOrString)(nil), // 12:
dubbo.operator.v1alpha1.IntOrString
- (*wrapperspb.BoolValue)(nil), // 13: google.protobuf.BoolValue
- (*wrapperspb.StringValue)(nil), // 14: google.protobuf.StringValue
- (*wrapperspb.Int64Value)(nil), // 15: google.protobuf.Int64Value
- (*wrapperspb.Int32Value)(nil), // 16: google.protobuf.Int32Value
+ (*GlobalConfig)(nil), // 0:
dubbo.operator.v1alpha1.GlobalConfig
+ (*BaseConfig)(nil), // 1: dubbo.operator.v1alpha1.BaseConfig
+ (*ZookeeperConfig)(nil), // 2:
dubbo.operator.v1alpha1.ZookeeperConfig
+ (*NacosConfig)(nil), // 3:
dubbo.operator.v1alpha1.NacosConfig
+ (*NacosStorage)(nil), // 4:
dubbo.operator.v1alpha1.NacosStorage
+ (*NacosMYSQLConfig)(nil), // 5:
dubbo.operator.v1alpha1.NacosMYSQLConfig
+ (*Values)(nil), // 6: dubbo.operator.v1alpha1.Values
+ (*IntOrString)(nil), // 7:
dubbo.operator.v1alpha1.IntOrString
+ (*wrapperspb.BoolValue)(nil), // 8: google.protobuf.BoolValue
+ (*wrapperspb.StringValue)(nil), // 9: google.protobuf.StringValue
+ (*wrapperspb.Int32Value)(nil), // 10: google.protobuf.Int32Value
}
var file_values_types_proto_depIdxs = []int32{
- 13, // 0:
dubbo.operator.v1alpha1.BaseConfig.enableDubboConfigCRDs:type_name ->
google.protobuf.BoolValue
- 13, // 1: dubbo.operator.v1alpha1.ZookeeperConfig.enabled:type_name ->
google.protobuf.BoolValue
- 14, // 2: dubbo.operator.v1alpha1.ZookeeperConfig.dataLogDir:type_name
-> google.protobuf.StringValue
- 15, // 3: dubbo.operator.v1alpha1.ZookeeperConfig.tickTime:type_name ->
google.protobuf.Int64Value
- 15, // 4: dubbo.operator.v1alpha1.ZookeeperConfig.initLimit:type_name
-> google.protobuf.Int64Value
- 15, // 5: dubbo.operator.v1alpha1.ZookeeperConfig.syncLimit:type_name
-> google.protobuf.Int64Value
- 15, // 6:
dubbo.operator.v1alpha1.ZookeeperConfig.preAllocSize:type_name ->
google.protobuf.Int64Value
- 15, // 7: dubbo.operator.v1alpha1.ZookeeperConfig.snapCount:type_name
-> google.protobuf.Int64Value
- 14, // 8:
dubbo.operator.v1alpha1.ZookeeperConfig.fourlwCommandsWhitelist:type_name ->
google.protobuf.StringValue
- 13, // 9:
dubbo.operator.v1alpha1.ZookeeperConfig.listenOnAllIPs:type_name ->
google.protobuf.BoolValue
- 3, // 10: dubbo.operator.v1alpha1.ZookeeperConfig.autopurge:type_name
-> dubbo.operator.v1alpha1.ZookeeperAutopurge
- 15, // 11:
dubbo.operator.v1alpha1.ZookeeperConfig.maxClientCnxns:type_name ->
google.protobuf.Int64Value
- 15, // 12:
dubbo.operator.v1alpha1.ZookeeperConfig.maxSessionTimeout:type_name ->
google.protobuf.Int64Value
- 15, // 13: dubbo.operator.v1alpha1.ZookeeperConfig.heapSize:type_name
-> google.protobuf.Int64Value
- 14, // 14: dubbo.operator.v1alpha1.ZookeeperConfig.logLevel:type_name
-> google.protobuf.StringValue
- 4, // 15: dubbo.operator.v1alpha1.ZookeeperConfig.auth:type_name ->
dubbo.operator.v1alpha1.ZookeeperAuth
- 15, // 16:
dubbo.operator.v1alpha1.ZookeeperAutopurge.snapRetainCount:type_name ->
google.protobuf.Int64Value
- 15, // 17:
dubbo.operator.v1alpha1.ZookeeperAutopurge.purgeInterval:type_name ->
google.protobuf.Int64Value
- 5, // 18: dubbo.operator.v1alpha1.ZookeeperAuth.client:type_name ->
dubbo.operator.v1alpha1.ZookeeperAuthClientConfig
- 6, // 19: dubbo.operator.v1alpha1.ZookeeperAuth.quorum:type_name ->
dubbo.operator.v1alpha1.ZookeeperAuthQuorumConfig
- 13, // 20:
dubbo.operator.v1alpha1.ZookeeperAuthClientConfig.enabled:type_name ->
google.protobuf.BoolValue
- 14, // 21:
dubbo.operator.v1alpha1.ZookeeperAuthClientConfig.clientUser:type_name ->
google.protobuf.StringValue
- 14, // 22:
dubbo.operator.v1alpha1.ZookeeperAuthClientConfig.clientPassword:type_name ->
google.protobuf.StringValue
- 14, // 23:
dubbo.operator.v1alpha1.ZookeeperAuthClientConfig.serverUsers:type_name ->
google.protobuf.StringValue
- 14, // 24:
dubbo.operator.v1alpha1.ZookeeperAuthClientConfig.serverPasswords:type_name ->
google.protobuf.StringValue
- 14, // 25:
dubbo.operator.v1alpha1.ZookeeperAuthClientConfig.existingSecret:type_name ->
google.protobuf.StringValue
- 13, // 26:
dubbo.operator.v1alpha1.ZookeeperAuthQuorumConfig.enabled:type_name ->
google.protobuf.BoolValue
- 14, // 27:
dubbo.operator.v1alpha1.ZookeeperAuthQuorumConfig.learnerUser:type_name ->
google.protobuf.StringValue
- 14, // 28:
dubbo.operator.v1alpha1.ZookeeperAuthQuorumConfig.learnerPassword:type_name ->
google.protobuf.StringValue
- 14, // 29:
dubbo.operator.v1alpha1.ZookeeperAuthQuorumConfig.serverUsers:type_name ->
google.protobuf.StringValue
- 14, // 30:
dubbo.operator.v1alpha1.ZookeeperAuthQuorumConfig.serverPasswords:type_name ->
google.protobuf.StringValue
- 14, // 31:
dubbo.operator.v1alpha1.ZookeeperAuthQuorumConfig.existingSecret:type_name ->
google.protobuf.StringValue
- 13, // 32: dubbo.operator.v1alpha1.NacosConfig.enabled:type_name ->
google.protobuf.BoolValue
- 14, // 33: dubbo.operator.v1alpha1.NacosConfig.mode:type_name ->
google.protobuf.StringValue
- 8, // 34: dubbo.operator.v1alpha1.NacosConfig.storage:type_name ->
dubbo.operator.v1alpha1.NacosStorage
- 10, // 35: dubbo.operator.v1alpha1.NacosConfig.plugin:type_name ->
dubbo.operator.v1alpha1.NacosPlugin
- 9, // 36: dubbo.operator.v1alpha1.NacosStorage.db:type_name ->
dubbo.operator.v1alpha1.NacosDB
- 13, // 37: dubbo.operator.v1alpha1.NacosPlugin.enabled:type_name ->
google.protobuf.BoolValue
- 0, // 38: dubbo.operator.v1alpha1.Values.global:type_name ->
dubbo.operator.v1alpha1.GlobalConfig
- 1, // 39: dubbo.operator.v1alpha1.Values.base:type_name ->
dubbo.operator.v1alpha1.BaseConfig
- 2, // 40: dubbo.operator.v1alpha1.Values.zookeeper:type_name ->
dubbo.operator.v1alpha1.ZookeeperConfig
- 7, // 41: dubbo.operator.v1alpha1.Values.nacos:type_name ->
dubbo.operator.v1alpha1.NacosConfig
- 16, // 42: dubbo.operator.v1alpha1.IntOrString.intVal:type_name ->
google.protobuf.Int32Value
- 14, // 43: dubbo.operator.v1alpha1.IntOrString.strVal:type_name ->
google.protobuf.StringValue
- 44, // [44:44] is the sub-list for method output_type
- 44, // [44:44] is the sub-list for method input_type
- 44, // [44:44] is the sub-list for extension type_name
- 44, // [44:44] is the sub-list for extension extendee
- 0, // [0:44] is the sub-list for field type_name
+ 8, // 0: dubbo.operator.v1alpha1.ZookeeperConfig.enabled:type_name ->
google.protobuf.BoolValue
+ 8, // 1: dubbo.operator.v1alpha1.NacosConfig.enabled:type_name ->
google.protobuf.BoolValue
+ 9, // 2: dubbo.operator.v1alpha1.NacosConfig.mode:type_name ->
google.protobuf.StringValue
+ 4, // 3: dubbo.operator.v1alpha1.NacosConfig.storage:type_name ->
dubbo.operator.v1alpha1.NacosStorage
+ 5, // 4: dubbo.operator.v1alpha1.NacosStorage.database:type_name ->
dubbo.operator.v1alpha1.NacosMYSQLConfig
+ 0, // 5: dubbo.operator.v1alpha1.Values.global:type_name ->
dubbo.operator.v1alpha1.GlobalConfig
+ 1, // 6: dubbo.operator.v1alpha1.Values.base:type_name ->
dubbo.operator.v1alpha1.BaseConfig
+ 2, // 7: dubbo.operator.v1alpha1.Values.zookeeper:type_name ->
dubbo.operator.v1alpha1.ZookeeperConfig
+ 3, // 8: dubbo.operator.v1alpha1.Values.nacos:type_name ->
dubbo.operator.v1alpha1.NacosConfig
+ 10, // 9: dubbo.operator.v1alpha1.IntOrString.intVal:type_name ->
google.protobuf.Int32Value
+ 9, // 10: dubbo.operator.v1alpha1.IntOrString.strVal:type_name ->
google.protobuf.StringValue
+ 11, // [11:11] is the sub-list for method output_type
+ 11, // [11:11] is the sub-list for method input_type
+ 11, // [11:11] is the sub-list for extension type_name
+ 11, // [11:11] is the sub-list for extension extendee
+ 0, // [0:11] is the sub-list for field type_name
}
func init() { file_values_types_proto_init() }
@@ -1351,7 +697,7 @@ func file_values_types_proto_init() {
}
}
file_values_types_proto_msgTypes[3].Exporter = func(v
interface{}, i int) interface{} {
- switch v := v.(*ZookeeperAutopurge); i {
+ switch v := v.(*NacosConfig); i {
case 0:
return &v.state
case 1:
@@ -1363,7 +709,7 @@ func file_values_types_proto_init() {
}
}
file_values_types_proto_msgTypes[4].Exporter = func(v
interface{}, i int) interface{} {
- switch v := v.(*ZookeeperAuth); i {
+ switch v := v.(*NacosStorage); i {
case 0:
return &v.state
case 1:
@@ -1375,7 +721,7 @@ func file_values_types_proto_init() {
}
}
file_values_types_proto_msgTypes[5].Exporter = func(v
interface{}, i int) interface{} {
- switch v := v.(*ZookeeperAuthClientConfig); i {
+ switch v := v.(*NacosMYSQLConfig); i {
case 0:
return &v.state
case 1:
@@ -1387,66 +733,6 @@ func file_values_types_proto_init() {
}
}
file_values_types_proto_msgTypes[6].Exporter = func(v
interface{}, i int) interface{} {
- switch v := v.(*ZookeeperAuthQuorumConfig); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_values_types_proto_msgTypes[7].Exporter = func(v
interface{}, i int) interface{} {
- switch v := v.(*NacosConfig); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_values_types_proto_msgTypes[8].Exporter = func(v
interface{}, i int) interface{} {
- switch v := v.(*NacosStorage); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_values_types_proto_msgTypes[9].Exporter = func(v
interface{}, i int) interface{} {
- switch v := v.(*NacosDB); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_values_types_proto_msgTypes[10].Exporter = func(v
interface{}, i int) interface{} {
- switch v := v.(*NacosPlugin); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_values_types_proto_msgTypes[11].Exporter = func(v
interface{}, i int) interface{} {
switch v := v.(*Values); i {
case 0:
return &v.state
@@ -1458,7 +744,7 @@ func file_values_types_proto_init() {
return nil
}
}
- file_values_types_proto_msgTypes[12].Exporter = func(v
interface{}, i int) interface{} {
+ file_values_types_proto_msgTypes[7].Exporter = func(v
interface{}, i int) interface{} {
switch v := v.(*IntOrString); i {
case 0:
return &v.state
@@ -1477,7 +763,7 @@ func file_values_types_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_values_types_proto_rawDesc,
NumEnums: 0,
- NumMessages: 13,
+ NumMessages: 8,
NumExtensions: 0,
NumServices: 0,
},