From 6bf6e80a9bed4837f0fcbde24c4d8077c439a485 Mon Sep 17 00:00:00 2001 From: vivekhiwarkar Date: Thu, 25 Aug 2022 18:26:34 +0530 Subject: [PATCH 1/3] Fixing buf lint issue --- buf.yaml | 10 + .../pkg/gateway/testdata/test.swagger.json | 6 +- .../proto/rpc/audit/auditlog.swagger.json | 50 +- .../proto/rpc/audit/relayaudit.swagger.json | 94 +- .../proto/rpc/config/override.swagger.json | 4640 ----------------- gen/openapi/proto/rpc/role/role.swagger.json | 326 +- .../rpc/role/rolepermission.swagger.json | 28 +- .../proto/rpc/scheduler/cluster.swagger.json | 564 +- .../proto/rpc/sentry/audit_info.swagger.json | 10 +- .../proto/rpc/sentry/bootstrap.swagger.json | 498 +- .../rpc/sentry/cluster_authz.swagger.json | 6 +- .../proto/rpc/sentry/kubeconfig.swagger.json | 718 ++- .../rpc/sentry/kubectl_cluster.swagger.json | 162 +- .../proto/rpc/sentry/relaypeer.swagger.json | 4 +- gen/openapi/proto/rpc/system/idp.swagger.json | 192 +- .../proto/rpc/system/metro.swagger.json | 382 +- .../rpc/system/oidc_provider.swagger.json | 192 +- .../rpc/system/organization.swagger.json | 430 +- .../proto/rpc/system/partner.swagger.json | 231 +- .../proto/rpc/system/project.swagger.json | 312 +- gen/openapi/proto/rpc/user/group.swagger.json | 298 +- gen/openapi/proto/rpc/user/user.swagger.json | 407 +- gen/openapi/proto/rpc/v3/auth.swagger.json | 2 +- .../proto/types/config/config.swagger.json | 43 - .../proto/types/config/namespace.swagger.json | 43 - .../proto/types/config/override.swagger.json | 43 - .../proto/types/config/placement.swagger.json | 43 - .../types/config/repository.swagger.json | 43 - .../proto/types/config/workload.swagger.json | 43 - main.go | 86 +- pkg/auth/v3/middleware.go | 4 +- pkg/auth/v3/pool.go | 6 +- pkg/gateway/testdata/test.pb.go | 41 +- pkg/gateway/testdata/test.pb.gw.go | 72 +- pkg/gateway/testdata/test.proto | 2 +- pkg/gateway/testdata/test_grpc.pb.go | 56 +- pkg/service/apikey.go | 12 +- pkg/service/audit_log_query.go | 8 +- pkg/service/relay_audit_query.go | 10 +- pkg/service/user.go | 34 +- proto/rpc/audit/auditlog.pb.go | 216 +- proto/rpc/audit/auditlog.pb.gw.go | 122 +- proto/rpc/audit/auditlog.proto | 20 +- proto/rpc/audit/auditlog_grpc.pb.go | 92 +- proto/rpc/audit/relayaudit.pb.go | 276 +- proto/rpc/audit/relayaudit.pb.gw.go | 214 +- proto/rpc/audit/relayaudit.proto | 28 +- proto/rpc/audit/relayaudit_grpc.pb.go | 144 +- proto/rpc/role/role.pb.go | 229 +- proto/rpc/role/role.pb.gw.go | 254 +- proto/rpc/role/role.proto | 4 +- proto/rpc/role/role_grpc.pb.go | 122 +- proto/rpc/role/rolepermission.pb.go | 130 +- proto/rpc/role/rolepermission.pb.gw.go | 76 +- proto/rpc/role/rolepermission.proto | 4 +- proto/rpc/role/rolepermission_grpc.pb.go | 58 +- proto/rpc/scheduler/cluster.pb.go | 219 +- proto/rpc/scheduler/cluster.pb.gw.go | 270 +- proto/rpc/scheduler/cluster.proto | 2 +- proto/rpc/scheduler/cluster_grpc.pb.go | 136 +- proto/rpc/scheduler/internal.go | 6 +- proto/rpc/sentry/audit_info.pb.go | 70 +- proto/rpc/sentry/audit_info.pb.gw.go | 114 +- proto/rpc/sentry/audit_info.proto | 7 +- proto/rpc/sentry/audit_info_grpc.pb.go | 72 +- proto/rpc/sentry/bootstrap.pb.go | 374 +- proto/rpc/sentry/bootstrap.pb.gw.go | 504 +- proto/rpc/sentry/bootstrap.proto | 4 +- proto/rpc/sentry/bootstrap_grpc.pb.go | 232 +- proto/rpc/sentry/cluster_authz.pb.go | 144 +- proto/rpc/sentry/cluster_authz.pb.gw.go | 72 +- proto/rpc/sentry/cluster_authz.proto | 6 +- proto/rpc/sentry/cluster_authz_grpc.pb.go | 56 +- proto/rpc/sentry/internal.go | 30 +- proto/rpc/sentry/kubeconfig.pb.go | 491 +- proto/rpc/sentry/kubeconfig.pb.gw.go | 504 +- proto/rpc/sentry/kubeconfig.proto | 3 +- proto/rpc/sentry/kubeconfig_grpc.pb.go | 200 +- proto/rpc/sentry/kubectl_cluster.pb.go | 198 +- proto/rpc/sentry/kubectl_cluster.pb.gw.go | 108 +- proto/rpc/sentry/kubectl_cluster.proto | 3 +- proto/rpc/sentry/kubectl_cluster_grpc.pb.go | 72 +- proto/rpc/sentry/relaypeer.pb.go | 10 +- proto/rpc/sentry/relaypeer.proto | 6 +- proto/rpc/system/idp.pb.go | 200 +- proto/rpc/system/idp.pb.gw.go | 226 +- proto/rpc/system/idp.proto | 7 +- proto/rpc/system/idp_grpc.pb.go | 122 +- proto/rpc/system/internal.go | 20 +- proto/rpc/system/metro.pb.go | 225 +- proto/rpc/system/metro.pb.gw.go | 232 +- proto/rpc/system/metro.proto | 5 +- proto/rpc/system/metro_grpc.pb.go | 122 +- proto/rpc/system/oidc_provider.pb.go | 225 +- proto/rpc/system/oidc_provider.pb.gw.go | 226 +- proto/rpc/system/oidc_provider.proto | 4 +- proto/rpc/system/oidc_provider_grpc.pb.go | 122 +- proto/rpc/system/organization.pb.go | 232 +- proto/rpc/system/organization.pb.gw.go | 232 +- proto/rpc/system/organization.proto | 5 +- proto/rpc/system/organization_grpc.pb.go | 122 +- proto/rpc/system/partner.pb.go | 204 +- proto/rpc/system/partner.pb.gw.go | 226 +- proto/rpc/system/partner.proto | 5 +- proto/rpc/system/partner_grpc.pb.go | 122 +- proto/rpc/system/project.pb.go | 244 +- proto/rpc/system/project.pb.gw.go | 232 +- proto/rpc/system/project.proto | 4 +- proto/rpc/system/project_grpc.pb.go | 122 +- proto/rpc/user/group.pb.go | 226 +- proto/rpc/user/group.pb.gw.go | 232 +- proto/rpc/user/group.proto | 4 +- proto/rpc/user/group_grpc.pb.go | 122 +- proto/rpc/user/internal.go | 8 +- proto/rpc/user/user.pb.go | 478 +- proto/rpc/user/user.pb.gw.go | 428 +- proto/rpc/user/user.proto | 20 +- proto/rpc/user/user_grpc.pb.go | 228 +- proto/rpc/v3/auth.pb.go | 62 +- proto/rpc/v3/auth.proto | 4 +- proto/rpc/v3/auth_grpc.pb.go | 58 +- proto/types/authz/authz.pb.go | 2 +- proto/types/commonpb/v3/artifacts.pb.go | 837 ++- proto/types/commonpb/v3/artifacts.proto | 1 - proto/types/commonpb/v3/auth.pb.go | 2 +- proto/types/commonpb/v3/common.pb.go | 2 +- .../types/controller/cluster_controller.pb.go | 650 ++- .../types/controller/cluster_controller.proto | 1 - proto/types/infrapb/v3/cluster.pb.go | 2 +- proto/types/rolepb/v3/role.pb.go | 204 +- proto/types/rolepb/v3/role.proto | 1 - proto/types/rolepb/v3/rolepermission.pb.go | 2 +- proto/types/scheduler/namespace.pb.go | 2 +- proto/types/sentry/account_permission.pb.go | 2 +- proto/types/sentry/group_permission.pb.go | 95 +- proto/types/sentry/group_permission.proto | 1 - proto/types/sentry/kubeconfig_setting.pb.go | 2 +- .../sentry/kubectl_cluster_setting.pb.go | 2 +- proto/types/sentry/sentry.pb.go | 2 +- proto/types/systempb/v3/idp.pb.go | 2 +- proto/types/systempb/v3/oidc_provider.pb.go | 2 +- proto/types/systempb/v3/organization.pb.go | 2 +- proto/types/systempb/v3/partner.pb.go | 2 +- proto/types/systempb/v3/project.pb.go | 223 +- proto/types/systempb/v3/project.proto | 1 - proto/types/userpb/v3/group.pb.go | 288 +- proto/types/userpb/v3/group.proto | 1 - proto/types/userpb/v3/user.pb.go | 485 +- proto/types/userpb/v3/user.proto | 2 - server/audit_info.go | 4 +- server/auditlog.go | 8 +- server/auth.go | 2 +- server/bootstrap.go | 4 +- server/cluster.go | 2 +- server/cluster_authz.go | 2 +- server/group.go | 2 +- server/idp.go | 2 +- server/kubeconfig.go | 4 +- server/kubectl_cluster_settings.go | 4 +- server/metro.go | 2 +- server/oidc_provider.go | 2 +- server/organization.go | 2 +- server/partner.go | 2 +- server/project.go | 2 +- server/relayaudit.go | 20 +- server/role.go | 2 +- server/rolepermission.go | 2 +- server/user.go | 12 +- 168 files changed, 11169 insertions(+), 13138 deletions(-) delete mode 100644 gen/openapi/proto/rpc/config/override.swagger.json delete mode 100644 gen/openapi/proto/types/config/config.swagger.json delete mode 100644 gen/openapi/proto/types/config/namespace.swagger.json delete mode 100644 gen/openapi/proto/types/config/override.swagger.json delete mode 100644 gen/openapi/proto/types/config/placement.swagger.json delete mode 100644 gen/openapi/proto/types/config/repository.swagger.json delete mode 100644 gen/openapi/proto/types/config/workload.swagger.json diff --git a/buf.yaml b/buf.yaml index 9e7e586b..d35e2627 100644 --- a/buf.yaml +++ b/buf.yaml @@ -10,3 +10,13 @@ breaking: lint: use: - DEFAULT + except: + - PACKAGE_VERSION_SUFFIX + - FIELD_LOWER_SNAKE_CASE + - RPC_REQUEST_RESPONSE_UNIQUE + - PACKAGE_DIRECTORY_MATCH + - RPC_REQUEST_STANDARD_NAME + - RPC_RESPONSE_STANDARD_NAME + - ENUM_ZERO_VALUE_SUFFIX + - ENUM_VALUE_PREFIX + - ENUM_VALUE_UPPER_SNAKE_CASE diff --git a/gen/openapi/pkg/gateway/testdata/test.swagger.json b/gen/openapi/pkg/gateway/testdata/test.swagger.json index 81c0c099..0bf0b4a2 100644 --- a/gen/openapi/pkg/gateway/testdata/test.swagger.json +++ b/gen/openapi/pkg/gateway/testdata/test.swagger.json @@ -6,7 +6,7 @@ }, "tags": [ { - "name": "Test" + "name": "TestService" } ], "consumes": [ @@ -18,7 +18,7 @@ "paths": { "/v3/test/{metadata.name}/test/{metadata.name}": { "get": { - "operationId": "Test_Get", + "operationId": "TestService_Get", "responses": { "200": { "description": "A successful response.", @@ -48,7 +48,7 @@ } ], "tags": [ - "Test" + "TestService" ] } } diff --git a/gen/openapi/proto/rpc/audit/auditlog.swagger.json b/gen/openapi/proto/rpc/audit/auditlog.swagger.json index ea59b155..d1fa9e15 100644 --- a/gen/openapi/proto/rpc/audit/auditlog.swagger.json +++ b/gen/openapi/proto/rpc/audit/auditlog.swagger.json @@ -9,7 +9,7 @@ }, "tags": [ { - "name": "AuditLog" + "name": "AuditLogService" } ], "schemes": [ @@ -26,12 +26,12 @@ "paths": { "/event/v1/auditlog": { "get": { - "operationId": "AuditLog_getAuditLogByProjects", + "operationId": "AuditLogService_GetAuditLogByProjects", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1auditLogSearchResponse" + "$ref": "#/definitions/v1GetAuditLogSearchResponse" } }, "403": { @@ -55,42 +55,42 @@ "parameters": [ { "name": "metadata.name", - "description": "Name. name of the resource", + "description": "Name\n\nname of the resource", "in": "query", - "required": false, + "required": true, "type": "string" }, { "name": "metadata.displayName", - "description": "Display Name. display name of the resource", + "description": "Display Name\n\ndisplay name of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.description", - "description": "Description. description of the resource", + "description": "Description\n\ndescription of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.project", - "description": "Project. Project of the resource", + "description": "Project\n\nProject of the resource", "in": "query", - "required": false, + "required": true, "type": "string" }, { "name": "metadata.organization", - "description": "Organization. Organization to which the resource belongs", + "description": "Organization\n\nOrganization to which the resource belongs", "in": "query", "required": false, "type": "string" }, { "name": "metadata.partner", - "description": "Partner. Partner to which the resource belongs", + "description": "Partner\n\nPartner to which the resource belongs", "in": "query", "required": false, "type": "string" @@ -199,18 +199,18 @@ } ], "tags": [ - "AuditLog" + "AuditLogService" ] } }, "/event/v1/{metadata.urlScope}/auditlog": { "get": { - "operationId": "AuditLog_getAuditLog", + "operationId": "AuditLogService_GetAuditLog", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1auditLogSearchResponse" + "$ref": "#/definitions/v1GetAuditLogSearchResponse" } }, "403": { @@ -241,42 +241,42 @@ }, { "name": "metadata.name", - "description": "Name. name of the resource", + "description": "Name\n\nname of the resource", "in": "query", - "required": false, + "required": true, "type": "string" }, { "name": "metadata.displayName", - "description": "Display Name. display name of the resource", + "description": "Display Name\n\ndisplay name of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.description", - "description": "Description. description of the resource", + "description": "Description\n\ndescription of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.project", - "description": "Project. Project of the resource", + "description": "Project\n\nProject of the resource", "in": "query", - "required": false, + "required": true, "type": "string" }, { "name": "metadata.organization", - "description": "Organization. Organization to which the resource belongs", + "description": "Organization\n\nOrganization to which the resource belongs", "in": "query", "required": false, "type": "string" }, { "name": "metadata.partner", - "description": "Partner. Partner to which the resource belongs", + "description": "Partner\n\nPartner to which the resource belongs", "in": "query", "required": false, "type": "string" @@ -379,7 +379,7 @@ } ], "tags": [ - "AuditLog" + "AuditLogService" ] } } @@ -420,7 +420,7 @@ "default": "NULL_VALUE", "description": "`NullValue` is a singleton enumeration to represent the null value for the\n`Value` type union.\n\n The JSON representation for `NullValue` is JSON `null`.\n\n - NULL_VALUE: Null value." }, - "v1auditLogQueryFilter": { + "v1AuditLogQueryFilter": { "type": "object", "properties": { "type": { @@ -464,7 +464,7 @@ } } }, - "v1auditLogSearchResponse": { + "v1GetAuditLogSearchResponse": { "type": "object", "properties": { "result": { diff --git a/gen/openapi/proto/rpc/audit/relayaudit.swagger.json b/gen/openapi/proto/rpc/audit/relayaudit.swagger.json index f70f05f9..95801c20 100644 --- a/gen/openapi/proto/rpc/audit/relayaudit.swagger.json +++ b/gen/openapi/proto/rpc/audit/relayaudit.swagger.json @@ -9,7 +9,7 @@ }, "tags": [ { - "name": "RelayAudit" + "name": "RelayAuditService" } ], "schemes": [ @@ -26,12 +26,12 @@ "paths": { "/event/v1/audit/relay": { "get": { - "operationId": "RelayAudit_getRelayAuditByProjects", + "operationId": "RelayAuditService_GetRelayAuditByProjects", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1relayAuditSearchResponse" + "$ref": "#/definitions/v1RelayAuditResponse" } }, "403": { @@ -55,42 +55,42 @@ "parameters": [ { "name": "metadata.name", - "description": "Name. name of the resource", + "description": "Name\n\nname of the resource", "in": "query", - "required": false, + "required": true, "type": "string" }, { "name": "metadata.displayName", - "description": "Display Name. display name of the resource", + "description": "Display Name\n\ndisplay name of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.description", - "description": "Description. description of the resource", + "description": "Description\n\ndescription of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.project", - "description": "Project. Project of the resource", + "description": "Project\n\nProject of the resource", "in": "query", - "required": false, + "required": true, "type": "string" }, { "name": "metadata.organization", - "description": "Organization. Organization to which the resource belongs", + "description": "Organization\n\nOrganization to which the resource belongs", "in": "query", "required": false, "type": "string" }, { "name": "metadata.partner", - "description": "Partner. Partner to which the resource belongs", + "description": "Partner\n\nPartner to which the resource belongs", "in": "query", "required": false, "type": "string" @@ -215,18 +215,18 @@ } ], "tags": [ - "RelayAudit" + "RelayAuditService" ] } }, "/event/v1/relayaudit": { "get": { - "operationId": "RelayAudit_getRelayAPIAuditByProjects", + "operationId": "RelayAuditService_GetRelayAPIAuditByProjects", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1relayAuditSearchResponse" + "$ref": "#/definitions/v1RelayAuditResponse" } }, "403": { @@ -250,42 +250,42 @@ "parameters": [ { "name": "metadata.name", - "description": "Name. name of the resource", + "description": "Name\n\nname of the resource", "in": "query", - "required": false, + "required": true, "type": "string" }, { "name": "metadata.displayName", - "description": "Display Name. display name of the resource", + "description": "Display Name\n\ndisplay name of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.description", - "description": "Description. description of the resource", + "description": "Description\n\ndescription of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.project", - "description": "Project. Project of the resource", + "description": "Project\n\nProject of the resource", "in": "query", - "required": false, + "required": true, "type": "string" }, { "name": "metadata.organization", - "description": "Organization. Organization to which the resource belongs", + "description": "Organization\n\nOrganization to which the resource belongs", "in": "query", "required": false, "type": "string" }, { "name": "metadata.partner", - "description": "Partner. Partner to which the resource belongs", + "description": "Partner\n\nPartner to which the resource belongs", "in": "query", "required": false, "type": "string" @@ -410,18 +410,18 @@ } ], "tags": [ - "RelayAudit" + "RelayAuditService" ] } }, "/event/v1/{metadata.urlScope}/audit/relay": { "get": { - "operationId": "RelayAudit_getRelayAudit", + "operationId": "RelayAuditService_GetRelayAudit", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1relayAuditSearchResponse" + "$ref": "#/definitions/v1RelayAuditResponse" } }, "403": { @@ -452,42 +452,42 @@ }, { "name": "metadata.name", - "description": "Name. name of the resource", + "description": "Name\n\nname of the resource", "in": "query", - "required": false, + "required": true, "type": "string" }, { "name": "metadata.displayName", - "description": "Display Name. display name of the resource", + "description": "Display Name\n\ndisplay name of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.description", - "description": "Description. description of the resource", + "description": "Description\n\ndescription of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.project", - "description": "Project. Project of the resource", + "description": "Project\n\nProject of the resource", "in": "query", - "required": false, + "required": true, "type": "string" }, { "name": "metadata.organization", - "description": "Organization. Organization to which the resource belongs", + "description": "Organization\n\nOrganization to which the resource belongs", "in": "query", "required": false, "type": "string" }, { "name": "metadata.partner", - "description": "Partner. Partner to which the resource belongs", + "description": "Partner\n\nPartner to which the resource belongs", "in": "query", "required": false, "type": "string" @@ -606,18 +606,18 @@ } ], "tags": [ - "RelayAudit" + "RelayAuditService" ] } }, "/event/v1/{metadata.urlScope}/relayaudit": { "get": { - "operationId": "RelayAudit_getRelayAPIAudit", + "operationId": "RelayAuditService_GetRelayAPIAudit", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v1relayAuditSearchResponse" + "$ref": "#/definitions/v1RelayAuditResponse" } }, "403": { @@ -648,42 +648,42 @@ }, { "name": "metadata.name", - "description": "Name. name of the resource", + "description": "Name\n\nname of the resource", "in": "query", - "required": false, + "required": true, "type": "string" }, { "name": "metadata.displayName", - "description": "Display Name. display name of the resource", + "description": "Display Name\n\ndisplay name of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.description", - "description": "Description. description of the resource", + "description": "Description\n\ndescription of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.project", - "description": "Project. Project of the resource", + "description": "Project\n\nProject of the resource", "in": "query", - "required": false, + "required": true, "type": "string" }, { "name": "metadata.organization", - "description": "Organization. Organization to which the resource belongs", + "description": "Organization\n\nOrganization to which the resource belongs", "in": "query", "required": false, "type": "string" }, { "name": "metadata.partner", - "description": "Partner. Partner to which the resource belongs", + "description": "Partner\n\nPartner to which the resource belongs", "in": "query", "required": false, "type": "string" @@ -802,7 +802,7 @@ } ], "tags": [ - "RelayAudit" + "RelayAuditService" ] } } @@ -843,7 +843,7 @@ "default": "NULL_VALUE", "description": "`NullValue` is a singleton enumeration to represent the null value for the\n`Value` type union.\n\n The JSON representation for `NullValue` is JSON `null`.\n\n - NULL_VALUE: Null value." }, - "v1relayAuditQueryFilter": { + "v1RelayAuditQueryFilter": { "type": "object", "properties": { "type": { @@ -893,7 +893,7 @@ } } }, - "v1relayAuditSearchResponse": { + "v1RelayAuditResponse": { "type": "object", "properties": { "result": { diff --git a/gen/openapi/proto/rpc/config/override.swagger.json b/gen/openapi/proto/rpc/config/override.swagger.json deleted file mode 100644 index a2e229e8..00000000 --- a/gen/openapi/proto/rpc/config/override.swagger.json +++ /dev/null @@ -1,4640 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "Override Service", - "version": "2.0", - "contact": { - "name": "Paralus Dev" - } - }, - "tags": [ - { - "name": "Override" - } - ], - "schemes": [ - "https" - ], - "consumes": [ - "application/json", - "application/yaml" - ], - "produces": [ - "application/json", - "application/yaml" - ], - "paths": { - "/v2/config/override/apply": { - "post": { - "operationId": "Override_ApplyOverride", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/rpcApplyOverrideResponse" - } - }, - "403": { - "description": "Returned when the user does not have permission to access the resource.", - "schema": {} - }, - "404": { - "description": "Returned when the resource does not exist.", - "schema": { - "type": "string", - "format": "string" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "#/definitions/googlerpcStatus" - } - } - }, - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/rpcApplyOverrideRequest" - } - } - ], - "tags": [ - "Override" - ] - } - }, - "/v2/config/override/default/cluster": { - "post": { - "operationId": "Override_AddDefaultOverrides", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/rpcAddDefaultOverridesResponse" - } - }, - "403": { - "description": "Returned when the user does not have permission to access the resource.", - "schema": {} - }, - "404": { - "description": "Returned when the resource does not exist.", - "schema": { - "type": "string", - "format": "string" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "#/definitions/googlerpcStatus" - } - } - }, - "parameters": [ - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/rpcAddDefaultOverridesRequest" - } - } - ], - "tags": [ - "Override" - ] - } - }, - "/v2/config/project/{metadata.project}/override": { - "post": { - "operationId": "Override_CreateOverride", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/configOverride" - } - }, - "201": { - "description": "Returned when taskset is created successfully.", - "schema": {} - }, - "403": { - "description": "Returned when the user does not have permission to access the resource.", - "schema": {} - }, - "404": { - "description": "Returned when the resource does not exist.", - "schema": { - "type": "string", - "format": "string" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "#/definitions/googlerpcStatus" - } - } - }, - "parameters": [ - { - "name": "metadata.project", - "description": "Project of the resource", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/configOverride" - } - } - ], - "tags": [ - "Override" - ] - } - }, - "/v2/config/project/{metadata.project}/override/{metadata.name}": { - "get": { - "operationId": "Override_GetOverride", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/configOverride" - } - }, - "403": { - "description": "Returned when the user does not have permission to access the resource.", - "schema": {} - }, - "404": { - "description": "Returned when the resource does not exist.", - "schema": { - "type": "string", - "format": "string" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "#/definitions/googlerpcStatus" - } - } - }, - "parameters": [ - { - "name": "metadata.project", - "description": "Project of the resource", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "metadata.name", - "description": "name of the resource", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "apiVersion", - "description": "API Version. API Version of the resource", - "in": "query", - "required": false, - "type": "string", - "default": "config.k8smgmt.io/v3" - }, - { - "name": "kind", - "description": "Kind. Kind of the resource", - "in": "query", - "required": false, - "type": "string", - "default": "Cluster" - }, - { - "name": "metadata.displayName", - "description": "Display Name. display name of the resource", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "metadata.description", - "description": "Description. description of the resource", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "metadata.organization", - "description": "Organization. Organization to which the resource belongs", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "metadata.partner", - "description": "Partner. Partner to which the resource belongs", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "metadata.id", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "metadata.modifiedAt", - "in": "query", - "required": false, - "type": "string", - "format": "date-time" - }, - { - "name": "spec.resourceSelector", - "description": "an override is only applied if selector matches the taskset/namespace\nlabels.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "spec.valuesFile", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "spec.templateOverrides.clusterName", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "spec.templateOverrides.partnerID", - "in": "query", - "required": false, - "type": "string", - "format": "int64" - }, - { - "name": "spec.templateOverrides.organizationID", - "in": "query", - "required": false, - "type": "string", - "format": "int64" - }, - { - "name": "spec.templateOverrides.projectID", - "in": "query", - "required": false, - "type": "string", - "format": "int64" - }, - { - "name": "spec.templateOverrides.v1EdgeID", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "spec.templateOverrides.v1FluentdAggregatorAddr", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "spec.templateOverrides.v1DeploymentEnv", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "spec.templateOverrides.v1InfluxDBFQDN", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "spec.templateOverrides.v1InfluxDBPassword", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "spec.templateOverrides.v1PromethuesRelayFQDN", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "spec.templateOverrides.v1EdgeDisplayName", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "spec.templateOverrides.organizationHash", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "spec.templateOverrides.partnerHash", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "spec.templateOverrides.orgDisplayName", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "spec.templateOverrides.partnerDisplayName", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "spec.templateOverrides.V2EventFrameworkFQDN", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "spec.templateOverrides.proxyURL", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "spec.clusterSelector", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "spec.clusterPlacement.placementType", - "description": "placementType is the type of placement.", - "in": "query", - "required": false, - "type": "string", - "enum": [ - "ClusterSelector", - "ClusterLocations", - "ClusterLabels", - "ClusterSpecific" - ], - "default": "ClusterSelector" - }, - { - "name": "spec.clusterPlacement.clusterSelector", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "spec.clusterPlacement.driftAction", - "in": "query", - "required": false, - "type": "string", - "enum": [ - "DriftReconcillationActionNotSet", - "DriftReconcillationActionNotify", - "DriftReconcillationActionDeny" - ], - "default": "DriftReconcillationActionNotSet" - }, - { - "name": "spec.clusterPlacement.nodeGroupingKeys", - "in": "query", - "required": false, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "spec.repositoryRef", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "spec.repoArtifactMeta.git.revision", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "spec.repoArtifactMeta.helm.chartName", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "spec.repoArtifactMeta.helm.tag", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "spec.repoArtifactMeta.timeout", - "in": "query", - "required": false, - "type": "string", - "format": "int64" - }, - { - "name": "status.conditionType", - "description": "Condition Type. type of the status condition", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "status.conditionStatus", - "description": "Condition Status. status of the condition", - "in": "query", - "required": false, - "type": "string", - "enum": [ - "StatusNotSet", - "StatusSubmitted", - "StatusOK", - "StatusFailed" - ], - "default": "StatusNotSet" - }, - { - "name": "status.lastUpdated", - "description": "Last Updated. when the condition status is last updated", - "in": "query", - "required": false, - "type": "string", - "format": "date-time" - }, - { - "name": "status.reason", - "description": "Reason. reason of the last condition status", - "in": "query", - "required": false, - "type": "string" - } - ], - "tags": [ - "Override" - ] - }, - "delete": { - "operationId": "Override_DeleteOverride", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/rpcDeleteOverrideResponse" - } - }, - "204": { - "description": "Returned when namespace is deleted successfully.", - "schema": {} - }, - "403": { - "description": "Returned when the user does not have permission to access the resource.", - "schema": {} - }, - "404": { - "description": "Returned when the resource does not exist.", - "schema": { - "type": "string", - "format": "string" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "#/definitions/googlerpcStatus" - } - } - }, - "parameters": [ - { - "name": "metadata.project", - "description": "Project of the resource", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "metadata.name", - "description": "name of the resource", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "apiVersion", - "description": "API Version. API Version of the resource", - "in": "query", - "required": false, - "type": "string", - "default": "config.k8smgmt.io/v3" - }, - { - "name": "kind", - "description": "Kind. Kind of the resource", - "in": "query", - "required": false, - "type": "string", - "default": "Cluster" - }, - { - "name": "metadata.displayName", - "description": "Display Name. display name of the resource", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "metadata.description", - "description": "Description. description of the resource", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "metadata.organization", - "description": "Organization. Organization to which the resource belongs", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "metadata.partner", - "description": "Partner. Partner to which the resource belongs", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "metadata.id", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "metadata.modifiedAt", - "in": "query", - "required": false, - "type": "string", - "format": "date-time" - }, - { - "name": "spec.resourceSelector", - "description": "an override is only applied if selector matches the taskset/namespace\nlabels.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "spec.valuesFile", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "spec.templateOverrides.clusterName", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "spec.templateOverrides.partnerID", - "in": "query", - "required": false, - "type": "string", - "format": "int64" - }, - { - "name": "spec.templateOverrides.organizationID", - "in": "query", - "required": false, - "type": "string", - "format": "int64" - }, - { - "name": "spec.templateOverrides.projectID", - "in": "query", - "required": false, - "type": "string", - "format": "int64" - }, - { - "name": "spec.templateOverrides.v1EdgeID", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "spec.templateOverrides.v1FluentdAggregatorAddr", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "spec.templateOverrides.v1DeploymentEnv", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "spec.templateOverrides.v1InfluxDBFQDN", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "spec.templateOverrides.v1InfluxDBPassword", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "spec.templateOverrides.v1PromethuesRelayFQDN", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "spec.templateOverrides.v1EdgeDisplayName", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "spec.templateOverrides.organizationHash", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "spec.templateOverrides.partnerHash", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "spec.templateOverrides.orgDisplayName", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "spec.templateOverrides.partnerDisplayName", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "spec.templateOverrides.V2EventFrameworkFQDN", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "spec.templateOverrides.proxyURL", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "spec.clusterSelector", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "spec.clusterPlacement.placementType", - "description": "placementType is the type of placement.", - "in": "query", - "required": false, - "type": "string", - "enum": [ - "ClusterSelector", - "ClusterLocations", - "ClusterLabels", - "ClusterSpecific" - ], - "default": "ClusterSelector" - }, - { - "name": "spec.clusterPlacement.clusterSelector", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "spec.clusterPlacement.driftAction", - "in": "query", - "required": false, - "type": "string", - "enum": [ - "DriftReconcillationActionNotSet", - "DriftReconcillationActionNotify", - "DriftReconcillationActionDeny" - ], - "default": "DriftReconcillationActionNotSet" - }, - { - "name": "spec.clusterPlacement.nodeGroupingKeys", - "in": "query", - "required": false, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "spec.repositoryRef", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "spec.repoArtifactMeta.git.revision", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "spec.repoArtifactMeta.helm.chartName", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "spec.repoArtifactMeta.helm.tag", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "spec.repoArtifactMeta.timeout", - "in": "query", - "required": false, - "type": "string", - "format": "int64" - }, - { - "name": "status.conditionType", - "description": "Condition Type. type of the status condition", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "status.conditionStatus", - "description": "Condition Status. status of the condition", - "in": "query", - "required": false, - "type": "string", - "enum": [ - "StatusNotSet", - "StatusSubmitted", - "StatusOK", - "StatusFailed" - ], - "default": "StatusNotSet" - }, - { - "name": "status.lastUpdated", - "description": "Last Updated. when the condition status is last updated", - "in": "query", - "required": false, - "type": "string", - "format": "date-time" - }, - { - "name": "status.reason", - "description": "Reason. reason of the last condition status", - "in": "query", - "required": false, - "type": "string" - } - ], - "tags": [ - "Override" - ] - }, - "put": { - "operationId": "Override_UpdateOverride", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/configOverride" - } - }, - "403": { - "description": "Returned when the user does not have permission to access the resource.", - "schema": {} - }, - "404": { - "description": "Returned when the resource does not exist.", - "schema": { - "type": "string", - "format": "string" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "#/definitions/googlerpcStatus" - } - } - }, - "parameters": [ - { - "name": "metadata.project", - "description": "Project of the resource", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "metadata.name", - "description": "name of the resource", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "body", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/configOverride" - } - } - ], - "tags": [ - "Override" - ] - } - }, - "/v2/config/{urlScope}/override": { - "get": { - "operationId": "Override_GetOverrides", - "responses": { - "200": { - "description": "A successful response.", - "schema": { - "$ref": "#/definitions/configOverrideList" - } - }, - "403": { - "description": "Returned when the user does not have permission to access the resource.", - "schema": {} - }, - "404": { - "description": "Returned when the resource does not exist.", - "schema": { - "type": "string", - "format": "string" - } - }, - "default": { - "description": "An unexpected error response.", - "schema": { - "$ref": "#/definitions/googlerpcStatus" - } - } - }, - "parameters": [ - { - "name": "urlScope", - "description": "urlScope is supposed to be passed in the URL as kind/HashID(value)", - "in": "path", - "required": true, - "type": "string", - "pattern": "project/[^/]+" - }, - { - "name": "name", - "description": "name is unique ID of a resource along with (partnerID, organizationID,\nprojectID).", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "selector", - "description": "selector is used to filter the labels of a resource.", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "partner", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "organization", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "project", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "displayName", - "description": "displayName only used for update queries to set displayName (READONLY).", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "count", - "in": "query", - "required": false, - "type": "string", - "format": "int64" - }, - { - "name": "offset", - "in": "query", - "required": false, - "type": "string", - "format": "int64" - }, - { - "name": "limit", - "in": "query", - "required": false, - "type": "string", - "format": "int64" - }, - { - "name": "ignoreScopeDefault", - "description": "ignoreScopeDefault ignores default values for partnerID, organizationID and\nprojectID.", - "in": "query", - "required": false, - "type": "boolean" - }, - { - "name": "globalScope", - "description": "globalScope sets partnerID,organizationID,projectID = 0.", - "in": "query", - "required": false, - "type": "boolean" - }, - { - "name": "orderBy", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "order", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "deleted", - "in": "query", - "required": false, - "type": "boolean" - }, - { - "name": "extended", - "in": "query", - "required": false, - "type": "boolean" - }, - { - "name": "isSSOUser", - "in": "query", - "required": false, - "type": "boolean" - }, - { - "name": "username", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "groups", - "in": "query", - "required": false, - "type": "array", - "items": { - "type": "string" - }, - "collectionFormat": "multi" - }, - { - "name": "blueprintRef", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "publishedVersion", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "clusterID", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "ID", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "account", - "in": "query", - "required": false, - "type": "string" - } - ], - "tags": [ - "Override" - ] - } - } - }, - "definitions": { - "commonv3Status": { - "type": "object", - "properties": { - "conditionType": { - "type": "string", - "description": "type of the status condition", - "title": "Condition Type", - "readOnly": true - }, - "conditionStatus": { - "$ref": "#/definitions/v3ConditionStatus", - "enum": [ - "StatusNotSet", - "StatusSubmitted", - "StatusOK", - "StatusFailed" - ], - "description": "status of the condition", - "title": "Condition Status", - "readOnly": true - }, - "lastUpdated": { - "type": "string", - "format": "date-time", - "description": "when the condition status is last updated", - "title": "Last Updated", - "readOnly": true - }, - "reason": { - "type": "string", - "description": "reason of the last condition status", - "title": "Reason", - "readOnly": true - } - }, - "description": "status of a resource", - "title": "Status", - "readOnly": true - }, - "configDriftReconcillationAction": { - "type": "string", - "enum": [ - "DriftReconcillationActionNotSet", - "DriftReconcillationActionNotify", - "DriftReconcillationActionDeny" - ], - "default": "DriftReconcillationActionNotSet" - }, - "configFileType": { - "type": "string", - "enum": [ - "FileTypeNotSet", - "K8sYAMLFile", - "HelmChartFile", - "HelmValuesFile", - "JSONFile" - ], - "default": "FileTypeNotSet" - }, - "configGitOptions": { - "type": "object", - "properties": { - "revision": { - "type": "string" - }, - "repoArtifactFiles": { - "type": "array", - "items": { - "$ref": "#/definitions/configRepoFile" - } - } - } - }, - "configHelmOptions": { - "type": "object", - "properties": { - "chartName": { - "type": "string" - }, - "tag": { - "type": "string" - } - } - }, - "configNamespaceTemplate": { - "type": "object", - "properties": { - "objectMeta": { - "$ref": "#/definitions/v1ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/typescontrollerNamespaceSpec" - }, - "resourceQuota": { - "$ref": "#/definitions/typesconfigResourceQuota" - }, - "limitRange": { - "$ref": "#/definitions/typesconfigLimitRange" - }, - "placement": { - "$ref": "#/definitions/typesconfigPlacementSpec" - }, - "type": { - "type": "string" - }, - "namespaceFromFile": { - "type": "string" - }, - "repoRef": { - "type": "string" - }, - "repoArtifactMeta": { - "$ref": "#/definitions/configRepoArtifactMeta" - }, - "namespaceFromRepo": { - "type": "string" - } - }, - "title": "NamespaceTemplate is the template for creating namespace" - }, - "configOverride": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "config.k8smgmt.io/v3", - "description": "API Version of the resource", - "title": "API Version", - "readOnly": true - }, - "kind": { - "type": "string", - "default": "Cluster", - "description": "Kind of the resource", - "title": "Kind", - "readOnly": true - }, - "metadata": { - "$ref": "#/definitions/v3Metadata", - "description": "Metadata of the resource", - "title": "Metadata" - }, - "spec": { - "$ref": "#/definitions/configOverrideSpec" - }, - "status": { - "$ref": "#/definitions/commonv3Status", - "description": "Status of the resource", - "title": "Status", - "readOnly": true - } - }, - "description": "Override", - "title": "Override", - "required": [ - "apiVersion", - "kind", - "metadata", - "spec" - ] - }, - "configOverrideList": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "config.k8smgmt.io/v3", - "description": "API Version of the list resource", - "title": "API Version", - "readOnly": true - }, - "kind": { - "type": "string", - "default": "ClusterList", - "description": "Kind of the list resource", - "title": "Kind", - "readOnly": true - }, - "metadata": { - "$ref": "#/definitions/v3ListMetadata", - "description": "Metadata of the list resource", - "title": "ListMetadata", - "readOnly": true - }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/configOverride" - } - } - }, - "title": "OverrideList is a list of overrides" - }, - "configOverrideSpec": { - "type": "object", - "properties": { - "resourceSelector": { - "type": "string", - "title": "an override is only applied if selector matches the taskset/namespace\nlabels" - }, - "overrides": { - "type": "array", - "items": { - "$ref": "#/definitions/controllerStepObject" - }, - "title": "overrides is list of objects to be overriden" - }, - "valuesFile": { - "type": "string" - }, - "templateOverrides": { - "$ref": "#/definitions/configTemplateOverrides" - }, - "clusterSelector": { - "type": "string" - }, - "clusterPlacement": { - "$ref": "#/definitions/typesconfigPlacementSpec" - }, - "repositoryRef": { - "type": "string" - }, - "repoArtifactMeta": { - "$ref": "#/definitions/configRepoArtifactMeta" - } - }, - "title": "OverrideSpec is the specification of override" - }, - "configPlacementType": { - "type": "string", - "enum": [ - "ClusterSelector", - "ClusterLocations", - "ClusterLabels", - "ClusterSpecific" - ], - "default": "ClusterSelector" - }, - "configRepoArtifactMeta": { - "type": "object", - "properties": { - "git": { - "$ref": "#/definitions/configGitOptions" - }, - "helm": { - "$ref": "#/definitions/configHelmOptions" - }, - "timeout": { - "type": "string", - "format": "int64" - } - } - }, - "configRepoFile": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "relPath": { - "type": "string" - }, - "fileType": { - "$ref": "#/definitions/configFileType" - } - } - }, - "configTemplateOverrides": { - "type": "object", - "properties": { - "clusterName": { - "type": "string" - }, - "partnerID": { - "type": "string", - "format": "int64" - }, - "organizationID": { - "type": "string", - "format": "int64" - }, - "projectID": { - "type": "string", - "format": "int64" - }, - "v1EdgeID": { - "type": "string" - }, - "v1FluentdAggregatorAddr": { - "type": "string" - }, - "v1DeploymentEnv": { - "type": "string" - }, - "v1InfluxDBFQDN": { - "type": "string" - }, - "v1InfluxDBPassword": { - "type": "string" - }, - "v1PromethuesRelayFQDN": { - "type": "string" - }, - "v1EdgeDisplayName": { - "type": "string" - }, - "organizationHash": { - "type": "string" - }, - "partnerHash": { - "type": "string" - }, - "orgDisplayName": { - "type": "string" - }, - "partnerDisplayName": { - "type": "string" - }, - "V2EventFrameworkFQDN": { - "type": "string" - }, - "proxyURL": { - "type": "string" - } - } - }, - "controllerStepObject": { - "type": "object", - "properties": { - "typeMeta": { - "$ref": "#/definitions/metav1TypeMeta" - }, - "objectMeta": { - "$ref": "#/definitions/v1ObjectMeta" - }, - "name": { - "type": "string" - }, - "raw": { - "type": "string", - "format": "byte" - } - }, - "title": "+kubebuilder:object:generate=true\nStepObject can represent any kubernetes object" - }, - "controllerStepTemplate": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "onFailed": { - "type": "string" - }, - "object": { - "$ref": "#/definitions/controllerStepObject" - }, - "jobTemplate": { - "$ref": "#/definitions/v1beta1JobTemplateSpec" - } - }, - "title": "+kubebuilder:object:generate=true\nStepTemplate is the description of a step" - }, - "corev1ResourceRequirements": { - "type": "object", - "properties": { - "limits": { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/resourceQuantity" - }, - "title": "Limits describes the maximum amount of compute resources allowed.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/\n+optional" - }, - "requests": { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/resourceQuantity" - }, - "title": "Requests describes the minimum amount of compute resources required.\nIf Requests is omitted for a container, it defaults to Limits if that is explicitly specified,\notherwise to an implementation-defined value.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/\n+optional" - } - }, - "description": "ResourceRequirements describes the compute resource requirements." - }, - "corev1VolumeMount": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "This must match the Name of a Volume." - }, - "readOnly": { - "type": "boolean", - "title": "Mounted read-only if true, read-write otherwise (false or unspecified).\nDefaults to false.\n+optional" - }, - "mountPath": { - "type": "string", - "description": "Path within the container at which the volume should be mounted. Must\nnot contain ':'." - }, - "subPath": { - "type": "string", - "title": "Path within the volume from which the container's volume should be mounted.\nDefaults to \"\" (volume's root).\n+optional" - }, - "mountPropagation": { - "type": "string", - "title": "mountPropagation determines how mounts are propagated from the host\nto container and the other way around.\nWhen not set, MountPropagationNone is used.\nThis field is beta in 1.10.\n+optional" - }, - "subPathExpr": { - "type": "string", - "title": "Expanded path within the volume from which the container's volume should be mounted.\nBehaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment.\nDefaults to \"\" (volume's root).\nSubPathExpr and SubPath are mutually exclusive.\n+optional" - } - }, - "description": "VolumeMount describes a mounting of a Volume within a container." - }, - "googlerpcStatus": { - "type": "object", - "properties": { - "code": { - "type": "integer", - "format": "int32" - }, - "message": { - "type": "string" - }, - "details": { - "type": "array", - "items": { - "$ref": "#/definitions/protobufAny" - } - } - } - }, - "intstrIntOrString": { - "type": "object", - "properties": { - "type": { - "type": "string", - "format": "int64" - }, - "intVal": { - "type": "integer", - "format": "int32" - }, - "strVal": { - "type": "string" - } - }, - "description": "+protobuf=true\n+protobuf.options.(gogoproto.goproto_stringer)=false\n+k8s:openapi-gen=true", - "title": "IntOrString is a type that can hold an int32 or a string. When used in\nJSON or YAML marshalling and unmarshalling, it produces or consumes the\ninner type. This allows you to have, for example, a JSON field that can\naccept a name or number.\nTODO: Rename to Int32OrString" - }, - "metav1TypeMeta": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "title": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds\n+optional" - }, - "apiVersion": { - "type": "string", - "title": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources\n+optional" - } - }, - "description": "TypeMeta describes an individual object in an API response or request\nwith strings representing the type of the object and its API schema version.\nStructures that are versioned or persisted should inline TypeMeta.\n\n+k8s:deepcopy-gen=false" - }, - "protobufAny": { - "type": "object", - "properties": { - "@type": { - "type": "string" - } - }, - "additionalProperties": {} - }, - "resourceQuantity": { - "type": "object", - "properties": { - "string": { - "type": "string" - } - }, - "description": "Quantity is a fixed-point representation of a number.\nIt provides convenient marshaling/unmarshaling in JSON and YAML,\nin addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n\u003cquantity\u003e ::= \u003csignedNumber\u003e\u003csuffix\u003e\n (Note that \u003csuffix\u003e may be empty, from the \"\" case in \u003cdecimalSI\u003e.)\n\u003cdigit\u003e ::= 0 | 1 | ... | 9\n\u003cdigits\u003e ::= \u003cdigit\u003e | \u003cdigit\u003e\u003cdigits\u003e\n\u003cnumber\u003e ::= \u003cdigits\u003e | \u003cdigits\u003e.\u003cdigits\u003e | \u003cdigits\u003e. | .\u003cdigits\u003e\n\u003csign\u003e ::= \"+\" | \"-\"\n\u003csignedNumber\u003e ::= \u003cnumber\u003e | \u003csign\u003e\u003cnumber\u003e\n\u003csuffix\u003e ::= \u003cbinarySI\u003e | \u003cdecimalExponent\u003e | \u003cdecimalSI\u003e\n\u003cbinarySI\u003e ::= Ki | Mi | Gi | Ti | Pi | Ei\n (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html)\n\u003cdecimalSI\u003e ::= m | \"\" | k | M | G | T | P | E\n (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.)\n\u003cdecimalExponent\u003e ::= \"e\" \u003csignedNumber\u003e | \"E\" \u003csignedNumber\u003e\n\nNo matter which of the three exponent forms is used, no quantity may represent\na number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal\nplaces. Numbers larger or more precise will be capped or rounded up.\n(E.g.: 0.1m will rounded up to 1m.)\nThis may be extended in the future if we require larger or smaller quantities.\n\nWhen a Quantity is parsed from a string, it will remember the type of suffix\nit had, and will use the same type again when it is serialized.\n\nBefore serializing, Quantity will be put in \"canonical form\".\nThis means that Exponent/suffix will be adjusted up or down (with a\ncorresponding increase or decrease in Mantissa) such that:\n a. No precision is lost\n b. No fractional digits will be emitted\n c. The exponent (or suffix) is as large as possible.\nThe sign will be omitted unless the number is negative.\n\nExamples:\n 1.5 will be serialized as \"1500m\"\n 1.5Gi will be serialized as \"1536Mi\"\n\nNote that the quantity will NEVER be internally represented by a\nfloating point number. That is the whole point of this exercise.\n\nNon-canonical values will still parse as long as they are well formed,\nbut will be re-emitted in their canonical form. (So always use canonical\nform, or don't diff.)\n\nThis format is intended to make it difficult to use these numbers without\nwriting some sort of special handling code in the hopes that that will\ncause implementors to also use a fixed point implementation.\n\n+protobuf=true\n+protobuf.embed=string\n+protobuf.options.marshal=false\n+protobuf.options.(gogoproto.goproto_stringer)=false\n+k8s:deepcopy-gen=true\n+k8s:openapi-gen=true" - }, - "rpcAddDefaultOverridesRequest": { - "type": "object", - "properties": { - "clusterName": { - "type": "string" - }, - "partnerID": { - "type": "string", - "format": "int64" - }, - "organizationID": { - "type": "string", - "format": "int64" - }, - "projectID": { - "type": "string", - "format": "int64" - }, - "pullSecret": { - "type": "string" - }, - "controlAddr": { - "type": "string" - }, - "apiAddr": { - "type": "string" - }, - "token": { - "type": "string" - }, - "v1EdgeMetadata": { - "type": "string" - }, - "v1CACert": { - "type": "string" - }, - "v1WorkloadClientCert": { - "type": "string" - }, - "v1WorkloadClientKey": { - "type": "string" - }, - "v1PostgresPassword": { - "type": "string" - }, - "v1CryptoEdgeCert": { - "type": "string" - }, - "v1CryptoEdgeKey": { - "type": "string" - }, - "v1CrypotKMIKey": { - "type": "string" - }, - "v1EdgeID": { - "type": "string" - }, - "v1DebugCert": { - "type": "string" - }, - "v1DebugKey": { - "type": "string" - }, - "v1ConfigEdgeCert": { - "type": "string" - }, - "v1ConfigEdgeKey": { - "type": "string" - }, - "v1EdgeClientCert": { - "type": "string" - }, - "v1EdgeClientKey": { - "type": "string" - }, - "v1FluentdAggregatorAddr": { - "type": "string" - }, - "v1AlertManagerYaml": { - "type": "string" - }, - "v1DeploymentEnv": { - "type": "string" - }, - "v1InfluxDBFQDN": { - "type": "string" - }, - "v1InfluxDBPassword": { - "type": "string" - }, - "v1PromethuesRelayFQDN": { - "type": "string" - }, - "v1EdgeDisplayName": { - "type": "string" - }, - "organizationHash": { - "type": "string" - }, - "partnerHash": { - "type": "string" - }, - "orgDisplayName": { - "type": "string" - }, - "partnerDisplayName": { - "type": "string" - }, - "v2EventFrmwkCert": { - "type": "string" - }, - "v2EventFrmwkKey": { - "type": "string" - }, - "V2EventFrameworkFQDN": { - "type": "string" - }, - "proxyConfig": { - "$ref": "#/definitions/rpcProxyConfig" - }, - "connectorPodSpecOverride": { - "type": "string" - }, - "connectorContainerSpecOverride": { - "type": "string" - }, - "ingressControllerOverride": { - "type": "string" - }, - "clusterType": { - "type": "string" - }, - "cniProvider": { - "type": "string" - } - } - }, - "rpcAddDefaultOverridesResponse": { - "type": "object" - }, - "rpcApplyOverrideRequest": { - "type": "object", - "properties": { - "selector": { - "type": "string" - }, - "type": { - "type": "string" - }, - "partnerID": { - "type": "string", - "format": "int64" - }, - "organizationID": { - "type": "string", - "format": "int64" - }, - "projectID": { - "type": "string", - "format": "int64" - }, - "namespace": { - "$ref": "#/definitions/configNamespaceTemplate" - }, - "setNamespace": { - "type": "boolean" - }, - "atleastOne": { - "type": "boolean" - } - } - }, - "rpcApplyOverrideResponse": { - "type": "object", - "properties": { - "namespace": { - "$ref": "#/definitions/configNamespaceTemplate" - } - } - }, - "rpcDeleteOverrideResponse": { - "type": "object" - }, - "rpcProxyConfig": { - "type": "object", - "properties": { - "httpProxy": { - "type": "string" - }, - "httpsProxy": { - "type": "string" - }, - "noProxy": { - "type": "string" - }, - "proxyAuth": { - "type": "string" - }, - "allowInsecureBootstrap": { - "type": "boolean" - }, - "enabled": { - "type": "boolean" - }, - "bootstrapCA": { - "type": "string" - } - } - }, - "typesconfigLimitRange": { - "type": "object", - "properties": { - "podLimits": { - "$ref": "#/definitions/typesconfigLimitRangeItem" - }, - "containerLimits": { - "$ref": "#/definitions/typesconfigLimitRangeItem" - } - } - }, - "typesconfigLimitRangeItem": { - "type": "object", - "properties": { - "maxCpu": { - "type": "number", - "format": "float" - }, - "maxMemory": { - "type": "number", - "format": "float" - }, - "minCpu": { - "type": "number", - "format": "float" - }, - "minMemory": { - "type": "number", - "format": "float" - }, - "defaultCpu": { - "type": "number", - "format": "float" - }, - "defaultMemory": { - "type": "number", - "format": "float" - }, - "defaultRequestCpu": { - "type": "number", - "format": "float" - }, - "defaultRequestMemory": { - "type": "number", - "format": "float" - }, - "maxLimitRequestRatioCpu": { - "type": "number", - "format": "float" - }, - "maxLimitRequestRatioMemory": { - "type": "number", - "format": "float" - } - } - }, - "typesconfigPlacementLabel": { - "type": "object", - "properties": { - "key": { - "type": "string" - }, - "value": { - "type": "string" - } - } - }, - "typesconfigPlacementSpec": { - "type": "object", - "properties": { - "placementType": { - "$ref": "#/definitions/configPlacementType", - "title": "placementType is the type of placement" - }, - "clusterSelector": { - "type": "string" - }, - "driftAction": { - "$ref": "#/definitions/configDriftReconcillationAction" - }, - "clusterLabels": { - "type": "array", - "items": { - "$ref": "#/definitions/typesconfigPlacementLabel" - } - }, - "nodeGroupingKeys": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "title": "PlacementSpec is the specification of placement" - }, - "typesconfigResourceQuota": { - "type": "object", - "properties": { - "cpuRequests": { - "type": "number", - "format": "float" - }, - "memoryRequests": { - "type": "number", - "format": "float" - }, - "cpuLimits": { - "type": "number", - "format": "float" - }, - "memoryLimits": { - "type": "number", - "format": "float" - } - } - }, - "typescontrollerNamespaceSpec": { - "type": "object", - "properties": { - "init": { - "type": "array", - "items": { - "$ref": "#/definitions/controllerStepTemplate" - } - }, - "namespaceMeta": { - "$ref": "#/definitions/v1ObjectMeta" - }, - "postCreate": { - "type": "array", - "items": { - "$ref": "#/definitions/controllerStepTemplate" - } - }, - "preDelete": { - "type": "array", - "items": { - "$ref": "#/definitions/controllerStepTemplate" - } - } - }, - "title": "+kubebuilder:object:generate=true\nNamespaceSpec is the spec of the namespace" - }, - "v1AWSElasticBlockStoreVolumeSource": { - "type": "object", - "properties": { - "volumeID": { - "type": "string", - "title": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume).\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore" - }, - "fsType": { - "type": "string", - "title": "Filesystem type of the volume that you want to mount.\nTip: Ensure that the filesystem type is supported by the host operating system.\nExamples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore\nTODO: how do we prevent errors in the filesystem from compromising the machine\n+optional" - }, - "partition": { - "type": "integer", - "format": "int32", - "title": "The partition in the volume that you want to mount.\nIf omitted, the default is to mount by volume name.\nExamples: For volume /dev/sda1, you specify the partition as \"1\".\nSimilarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).\n+optional" - }, - "readOnly": { - "type": "boolean", - "title": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\".\nIf omitted, the default is \"false\".\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore\n+optional" - } - }, - "description": "Represents a Persistent Disk resource in AWS.\n\nAn AWS EBS disk must exist before mounting to a container. The disk\nmust also be in the same AWS zone as the kubelet. An AWS EBS disk\ncan only be mounted as read/write once. AWS EBS volumes support\nownership management and SELinux relabeling." - }, - "v1Affinity": { - "type": "object", - "properties": { - "nodeAffinity": { - "$ref": "#/definitions/v1NodeAffinity", - "title": "Describes node affinity scheduling rules for the pod.\n+optional" - }, - "podAffinity": { - "$ref": "#/definitions/v1PodAffinity", - "title": "Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)).\n+optional" - }, - "podAntiAffinity": { - "$ref": "#/definitions/v1PodAntiAffinity", - "title": "Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)).\n+optional" - } - }, - "description": "Affinity is a group of affinity scheduling rules." - }, - "v1AzureDiskVolumeSource": { - "type": "object", - "properties": { - "diskName": { - "type": "string", - "title": "The Name of the data disk in the blob storage" - }, - "diskURI": { - "type": "string", - "title": "The URI the data disk in the blob storage" - }, - "cachingMode": { - "type": "string", - "title": "Host Caching mode: None, Read Only, Read Write.\n+optional" - }, - "fsType": { - "type": "string", - "title": "Filesystem type to mount.\nMust be a filesystem type supported by the host operating system.\nEx. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.\n+optional" - }, - "readOnly": { - "type": "boolean", - "title": "Defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts.\n+optional" - }, - "kind": { - "type": "string", - "title": "Expected values Shared: multiple blob disks per storage account Dedicated: single blob disk per storage account Managed: azure managed data disk (only in managed availability set). defaults to shared" - } - }, - "description": "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod." - }, - "v1AzureFileVolumeSource": { - "type": "object", - "properties": { - "secretName": { - "type": "string", - "title": "the name of secret that contains Azure Storage Account Name and Key" - }, - "shareName": { - "type": "string", - "title": "Share Name" - }, - "readOnly": { - "type": "boolean", - "title": "Defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts.\n+optional" - } - }, - "description": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod." - }, - "v1CSIVolumeSource": { - "type": "object", - "properties": { - "driver": { - "type": "string", - "description": "Driver is the name of the CSI driver that handles this volume.\nConsult with your admin for the correct name as registered in the cluster." - }, - "readOnly": { - "type": "boolean", - "title": "Specifies a read-only configuration for the volume.\nDefaults to false (read/write).\n+optional" - }, - "fsType": { - "type": "string", - "title": "Filesystem type to mount. Ex. \"ext4\", \"xfs\", \"ntfs\".\nIf not provided, the empty value is passed to the associated CSI driver\nwhich will determine the default filesystem to apply.\n+optional" - }, - "volumeAttributes": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "title": "VolumeAttributes stores driver-specific properties that are passed to the CSI\ndriver. Consult your driver's documentation for supported values.\n+optional" - }, - "nodePublishSecretRef": { - "$ref": "#/definitions/v1LocalObjectReference", - "title": "NodePublishSecretRef is a reference to the secret object containing\nsensitive information to pass to the CSI driver to complete the CSI\nNodePublishVolume and NodeUnpublishVolume calls.\nThis field is optional, and may be empty if no secret is required. If the\nsecret object contains more than one secret, all secret references are passed.\n+optional" - } - }, - "title": "Represents a source location of a volume to mount, managed by an external CSI driver" - }, - "v1Capabilities": { - "type": "object", - "properties": { - "add": { - "type": "array", - "items": { - "type": "string" - }, - "title": "Added capabilities\n+optional" - }, - "drop": { - "type": "array", - "items": { - "type": "string" - }, - "title": "Removed capabilities\n+optional" - } - }, - "description": "Adds and removes POSIX capabilities from running containers." - }, - "v1CephFSVolumeSource": { - "type": "object", - "properties": { - "monitors": { - "type": "array", - "items": { - "type": "string" - }, - "title": "Required: Monitors is a collection of Ceph monitors\nMore info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it" - }, - "path": { - "type": "string", - "title": "Optional: Used as the mounted root, rather than the full Ceph tree, default is /\n+optional" - }, - "user": { - "type": "string", - "title": "Optional: User is the rados user name, default is admin\nMore info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it\n+optional" - }, - "secretFile": { - "type": "string", - "title": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret\nMore info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it\n+optional" - }, - "secretRef": { - "$ref": "#/definitions/v1LocalObjectReference", - "title": "Optional: SecretRef is reference to the authentication secret for User, default is empty.\nMore info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it\n+optional" - }, - "readOnly": { - "type": "boolean", - "title": "Optional: Defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts.\nMore info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it\n+optional" - } - }, - "description": "Represents a Ceph Filesystem mount that lasts the lifetime of a pod\nCephfs volumes do not support ownership management or SELinux relabeling." - }, - "v1CinderVolumeSource": { - "type": "object", - "properties": { - "volumeID": { - "type": "string", - "title": "volume id used to identify the volume in cinder.\nMore info: https://examples.k8s.io/mysql-cinder-pd/README.md" - }, - "fsType": { - "type": "string", - "title": "Filesystem type to mount.\nMust be a filesystem type supported by the host operating system.\nExamples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.\nMore info: https://examples.k8s.io/mysql-cinder-pd/README.md\n+optional" - }, - "readOnly": { - "type": "boolean", - "title": "Optional: Defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts.\nMore info: https://examples.k8s.io/mysql-cinder-pd/README.md\n+optional" - }, - "secretRef": { - "$ref": "#/definitions/v1LocalObjectReference", - "title": "Optional: points to a secret object containing parameters used to connect\nto OpenStack.\n+optional" - } - }, - "description": "Represents a cinder volume resource in Openstack.\nA Cinder volume must exist before mounting to a container.\nThe volume must also be in the same region as the kubelet.\nCinder volumes support ownership management and SELinux relabeling." - }, - "v1ConfigMapEnvSource": { - "type": "object", - "properties": { - "localObjectReference": { - "$ref": "#/definitions/v1LocalObjectReference", - "description": "The ConfigMap to select from." - }, - "optional": { - "type": "boolean", - "title": "Specify whether the ConfigMap must be defined\n+optional" - } - }, - "description": "ConfigMapEnvSource selects a ConfigMap to populate the environment\nvariables with.\n\nThe contents of the target ConfigMap's Data field will represent the\nkey-value pairs as environment variables." - }, - "v1ConfigMapKeySelector": { - "type": "object", - "properties": { - "localObjectReference": { - "$ref": "#/definitions/v1LocalObjectReference", - "description": "The ConfigMap to select from." - }, - "key": { - "type": "string", - "description": "The key to select." - }, - "optional": { - "type": "boolean", - "title": "Specify whether the ConfigMap or its key must be defined\n+optional" - } - }, - "description": "Selects a key from a ConfigMap." - }, - "v1ConfigMapProjection": { - "type": "object", - "properties": { - "localObjectReference": { - "$ref": "#/definitions/v1LocalObjectReference" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/v1KeyToPath" - }, - "title": "If unspecified, each key-value pair in the Data field of the referenced\nConfigMap will be projected into the volume as a file whose name is the\nkey and content is the value. If specified, the listed keys will be\nprojected into the specified paths, and unlisted keys will not be\npresent. If a key is specified which is not present in the ConfigMap,\nthe volume setup will error unless it is marked optional. Paths must be\nrelative and may not contain the '..' path or start with '..'.\n+optional" - }, - "optional": { - "type": "boolean", - "title": "Specify whether the ConfigMap or its keys must be defined\n+optional" - } - }, - "description": "Adapts a ConfigMap into a projected volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a\nprojected volume as files using the keys in the Data field as the file names,\nunless the items element is populated with specific mappings of keys to paths.\nNote that this is identical to a configmap volume source without the default\nmode." - }, - "v1ConfigMapVolumeSource": { - "type": "object", - "properties": { - "localObjectReference": { - "$ref": "#/definitions/v1LocalObjectReference" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/v1KeyToPath" - }, - "title": "If unspecified, each key-value pair in the Data field of the referenced\nConfigMap will be projected into the volume as a file whose name is the\nkey and content is the value. If specified, the listed keys will be\nprojected into the specified paths, and unlisted keys will not be\npresent. If a key is specified which is not present in the ConfigMap,\nthe volume setup will error unless it is marked optional. Paths must be\nrelative and may not contain the '..' path or start with '..'.\n+optional" - }, - "defaultMode": { - "type": "integer", - "format": "int32", - "title": "Optional: mode bits used to set permissions on created files by default.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nDefaults to 0644.\nDirectories within the path are not affected by this setting.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.\n+optional" - }, - "optional": { - "type": "boolean", - "title": "Specify whether the ConfigMap or its keys must be defined\n+optional" - } - }, - "description": "Adapts a ConfigMap into a volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a\nvolume as files using the keys in the Data field as the file names, unless\nthe items element is populated with specific mappings of keys to paths.\nConfigMap volumes support ownership management and SELinux relabeling." - }, - "v1Container": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the container specified as a DNS_LABEL.\nEach container in a pod must have a unique name (DNS_LABEL).\nCannot be updated." - }, - "image": { - "type": "string", - "title": "Docker image name.\nMore info: https://kubernetes.io/docs/concepts/containers/images\nThis field is optional to allow higher level config management to default or override\ncontainer images in workload controllers like Deployments and StatefulSets.\n+optional" - }, - "command": { - "type": "array", - "items": { - "type": "string" - }, - "title": "Entrypoint array. Not executed within a shell.\nThe docker image's ENTRYPOINT is used if this is not provided.\nVariable references $(VAR_NAME) are expanded using the container's environment. If a variable\ncannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax\ncan be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded,\nregardless of whether the variable exists or not.\nCannot be updated.\nMore info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell\n+optional" - }, - "args": { - "type": "array", - "items": { - "type": "string" - }, - "title": "Arguments to the entrypoint.\nThe docker image's CMD is used if this is not provided.\nVariable references $(VAR_NAME) are expanded using the container's environment. If a variable\ncannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax\ncan be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded,\nregardless of whether the variable exists or not.\nCannot be updated.\nMore info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell\n+optional" - }, - "workingDir": { - "type": "string", - "title": "Container's working directory.\nIf not specified, the container runtime's default will be used, which\nmight be configured in the container image.\nCannot be updated.\n+optional" - }, - "ports": { - "type": "array", - "items": { - "$ref": "#/definitions/v1ContainerPort" - }, - "title": "List of ports to expose from the container. Exposing a port here gives\nthe system additional information about the network connections a\ncontainer uses, but is primarily informational. Not specifying a port here\nDOES NOT prevent that port from being exposed. Any port which is\nlistening on the default \"0.0.0.0\" address inside a container will be\naccessible from the network.\nCannot be updated.\n+optional\n+patchMergeKey=containerPort\n+patchStrategy=merge\n+listType=map\n+listMapKey=containerPort\n+listMapKey=protocol" - }, - "envFrom": { - "type": "array", - "items": { - "$ref": "#/definitions/v1EnvFromSource" - }, - "title": "List of sources to populate environment variables in the container.\nThe keys defined within a source must be a C_IDENTIFIER. All invalid keys\nwill be reported as an event when the container is starting. When a key exists in multiple\nsources, the value associated with the last source will take precedence.\nValues defined by an Env with a duplicate key will take precedence.\nCannot be updated.\n+optional" - }, - "env": { - "type": "array", - "items": { - "$ref": "#/definitions/v1EnvVar" - }, - "title": "List of environment variables to set in the container.\nCannot be updated.\n+optional\n+patchMergeKey=name\n+patchStrategy=merge" - }, - "resources": { - "$ref": "#/definitions/corev1ResourceRequirements", - "title": "Compute Resources required by this container.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/\n+optional" - }, - "volumeMounts": { - "type": "array", - "items": { - "$ref": "#/definitions/corev1VolumeMount" - }, - "title": "Pod volumes to mount into the container's filesystem.\nCannot be updated.\n+optional\n+patchMergeKey=mountPath\n+patchStrategy=merge" - }, - "volumeDevices": { - "type": "array", - "items": { - "$ref": "#/definitions/v1VolumeDevice" - }, - "title": "volumeDevices is the list of block devices to be used by the container.\n+patchMergeKey=devicePath\n+patchStrategy=merge\n+optional" - }, - "livenessProbe": { - "$ref": "#/definitions/v1Probe", - "title": "Periodic probe of container liveness.\nContainer will be restarted if the probe fails.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes\n+optional" - }, - "readinessProbe": { - "$ref": "#/definitions/v1Probe", - "title": "Periodic probe of container service readiness.\nContainer will be removed from service endpoints if the probe fails.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes\n+optional" - }, - "startupProbe": { - "$ref": "#/definitions/v1Probe", - "title": "StartupProbe indicates that the Pod has successfully initialized.\nIf specified, no other probes are executed until this completes successfully.\nIf this probe fails, the Pod will be restarted, just as if the livenessProbe failed.\nThis can be used to provide different probe parameters at the beginning of a Pod's lifecycle,\nwhen it might take a long time to load data or warm a cache, than during steady-state operation.\nThis cannot be updated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes\n+optional" - }, - "lifecycle": { - "$ref": "#/definitions/v1Lifecycle", - "title": "Actions that the management system should take in response to container lifecycle events.\nCannot be updated.\n+optional" - }, - "terminationMessagePath": { - "type": "string", - "title": "Optional: Path at which the file to which the container's termination message\nwill be written is mounted into the container's filesystem.\nMessage written is intended to be brief final status, such as an assertion failure message.\nWill be truncated by the node if greater than 4096 bytes. The total message length across\nall containers will be limited to 12kb.\nDefaults to /dev/termination-log.\nCannot be updated.\n+optional" - }, - "terminationMessagePolicy": { - "type": "string", - "title": "Indicate how the termination message should be populated. File will use the contents of\nterminationMessagePath to populate the container status message on both success and failure.\nFallbackToLogsOnError will use the last chunk of container log output if the termination\nmessage file is empty and the container exited with an error.\nThe log output is limited to 2048 bytes or 80 lines, whichever is smaller.\nDefaults to File.\nCannot be updated.\n+optional" - }, - "imagePullPolicy": { - "type": "string", - "title": "Image pull policy.\nOne of Always, Never, IfNotPresent.\nDefaults to Always if :latest tag is specified, or IfNotPresent otherwise.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/containers/images#updating-images\n+optional" - }, - "securityContext": { - "$ref": "#/definitions/v1SecurityContext", - "title": "Security options the pod should run with.\nMore info: https://kubernetes.io/docs/concepts/policy/security-context/\nMore info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/\n+optional" - }, - "stdin": { - "type": "boolean", - "title": "Whether this container should allocate a buffer for stdin in the container runtime. If this\nis not set, reads from stdin in the container will always result in EOF.\nDefault is false.\n+optional" - }, - "stdinOnce": { - "type": "boolean", - "title": "Whether the container runtime should close the stdin channel after it has been opened by\na single attach. When stdin is true the stdin stream will remain open across multiple attach\nsessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the\nfirst client attaches to stdin, and then remains open and accepts data until the client disconnects,\nat which time stdin is closed and remains closed until the container is restarted. If this\nflag is false, a container processes that reads from stdin will never receive an EOF.\nDefault is false\n+optional" - }, - "tty": { - "type": "boolean", - "title": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.\nDefault is false.\n+optional" - } - }, - "description": "A single application container that you want to run within a pod." - }, - "v1ContainerPort": { - "type": "object", - "properties": { - "name": { - "type": "string", - "title": "If specified, this must be an IANA_SVC_NAME and unique within the pod. Each\nnamed port in a pod must have a unique name. Name for the port that can be\nreferred to by services.\n+optional" - }, - "hostPort": { - "type": "integer", - "format": "int32", - "title": "Number of port to expose on the host.\nIf specified, this must be a valid port number, 0 \u003c x \u003c 65536.\nIf HostNetwork is specified, this must match ContainerPort.\nMost containers do not need this.\n+optional" - }, - "containerPort": { - "type": "integer", - "format": "int32", - "description": "Number of port to expose on the pod's IP address.\nThis must be a valid port number, 0 \u003c x \u003c 65536." - }, - "protocol": { - "type": "string", - "title": "Protocol for port. Must be UDP, TCP, or SCTP.\nDefaults to \"TCP\".\n+optional\n+default=\"TCP\"" - }, - "hostIP": { - "type": "string", - "title": "What host IP to bind the external port to.\n+optional" - } - }, - "description": "ContainerPort represents a network port in a single container." - }, - "v1DownwardAPIProjection": { - "type": "object", - "properties": { - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/v1DownwardAPIVolumeFile" - }, - "title": "Items is a list of DownwardAPIVolume file\n+optional" - } - }, - "description": "Represents downward API info for projecting into a projected volume.\nNote that this is identical to a downwardAPI volume source without the default\nmode." - }, - "v1DownwardAPIVolumeFile": { - "type": "object", - "properties": { - "path": { - "type": "string", - "title": "Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'" - }, - "fieldRef": { - "$ref": "#/definitions/v1ObjectFieldSelector", - "title": "Required: Selects a field of the pod: only annotations, labels, name and namespace are supported.\n+optional" - }, - "resourceFieldRef": { - "$ref": "#/definitions/v1ResourceFieldSelector", - "title": "Selects a resource of the container: only resources limits and requests\n(limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.\n+optional" - }, - "mode": { - "type": "integer", - "format": "int32", - "title": "Optional: mode bits used to set permissions on this file, must be an octal value\nbetween 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nIf not specified, the volume defaultMode will be used.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.\n+optional" - } - }, - "title": "DownwardAPIVolumeFile represents information to create the file containing the pod field" - }, - "v1DownwardAPIVolumeSource": { - "type": "object", - "properties": { - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/v1DownwardAPIVolumeFile" - }, - "title": "Items is a list of downward API volume file\n+optional" - }, - "defaultMode": { - "type": "integer", - "format": "int32", - "title": "Optional: mode bits to use on created files by default. Must be a\nOptional: mode bits used to set permissions on created files by default.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nDefaults to 0644.\nDirectories within the path are not affected by this setting.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.\n+optional" - } - }, - "description": "DownwardAPIVolumeSource represents a volume containing downward API info.\nDownward API volumes support ownership management and SELinux relabeling." - }, - "v1EmptyDirVolumeSource": { - "type": "object", - "properties": { - "medium": { - "type": "string", - "title": "What type of storage medium should back this directory.\nThe default is \"\" which means to use the node's default medium.\nMust be an empty string (default) or Memory.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir\n+optional" - }, - "sizeLimit": { - "$ref": "#/definitions/resourceQuantity", - "title": "Total amount of local storage required for this EmptyDir volume.\nThe size limit is also applicable for memory medium.\nThe maximum usage on memory medium EmptyDir would be the minimum value between\nthe SizeLimit specified here and the sum of memory limits of all containers in a pod.\nThe default is nil which means that the limit is undefined.\nMore info: http://kubernetes.io/docs/user-guide/volumes#emptydir\n+optional" - } - }, - "description": "Represents an empty directory for a pod.\nEmpty directory volumes support ownership management and SELinux relabeling." - }, - "v1EnvFromSource": { - "type": "object", - "properties": { - "prefix": { - "type": "string", - "title": "An optional identifier to prepend to each key in the ConfigMap. Must be a C_IDENTIFIER.\n+optional" - }, - "configMapRef": { - "$ref": "#/definitions/v1ConfigMapEnvSource", - "title": "The ConfigMap to select from\n+optional" - }, - "secretRef": { - "$ref": "#/definitions/v1SecretEnvSource", - "title": "The Secret to select from\n+optional" - } - }, - "title": "EnvFromSource represents the source of a set of ConfigMaps" - }, - "v1EnvVar": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the environment variable. Must be a C_IDENTIFIER." - }, - "value": { - "type": "string", - "title": "Variable references $(VAR_NAME) are expanded\nusing the previous defined environment variables in the container and\nany service environment variables. If a variable cannot be resolved,\nthe reference in the input string will be unchanged. The $(VAR_NAME)\nsyntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped\nreferences will never be expanded, regardless of whether the variable\nexists or not.\nDefaults to \"\".\n+optional" - }, - "valueFrom": { - "$ref": "#/definitions/v1EnvVarSource", - "title": "Source for the environment variable's value. Cannot be used if value is not empty.\n+optional" - } - }, - "description": "EnvVar represents an environment variable present in a Container." - }, - "v1EnvVarSource": { - "type": "object", - "properties": { - "fieldRef": { - "$ref": "#/definitions/v1ObjectFieldSelector", - "title": "Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['\u003cKEY\u003e']`, `metadata.annotations['\u003cKEY\u003e']`,\nspec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.\n+optional" - }, - "resourceFieldRef": { - "$ref": "#/definitions/v1ResourceFieldSelector", - "title": "Selects a resource of the container: only resources limits and requests\n(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.\n+optional" - }, - "configMapKeyRef": { - "$ref": "#/definitions/v1ConfigMapKeySelector", - "title": "Selects a key of a ConfigMap.\n+optional" - }, - "secretKeyRef": { - "$ref": "#/definitions/v1SecretKeySelector", - "title": "Selects a key of a secret in the pod's namespace\n+optional" - } - }, - "description": "EnvVarSource represents a source for the value of an EnvVar." - }, - "v1EphemeralContainer": { - "type": "object", - "properties": { - "ephemeralContainerCommon": { - "$ref": "#/definitions/v1EphemeralContainerCommon", - "description": "Ephemeral containers have all of the fields of Container, plus additional fields\nspecific to ephemeral containers. Fields in common with Container are in the\nfollowing inlined struct so than an EphemeralContainer may easily be converted\nto a Container." - }, - "targetContainerName": { - "type": "string", - "title": "If set, the name of the container from PodSpec that this ephemeral container targets.\nThe ephemeral container will be run in the namespaces (IPC, PID, etc) of this container.\nIf not set then the ephemeral container is run in whatever namespaces are shared\nfor the pod. Note that the container runtime must support this feature.\n+optional" - } - }, - "description": "An EphemeralContainer is a container that may be added temporarily to an existing pod for\nuser-initiated activities such as debugging. Ephemeral containers have no resource or\nscheduling guarantees, and they will not be restarted when they exit or when a pod is\nremoved or restarted. If an ephemeral container causes a pod to exceed its resource\nallocation, the pod may be evicted.\nEphemeral containers may not be added by directly updating the pod spec. They must be added\nvia the pod's ephemeralcontainers subresource, and they will appear in the pod spec\nonce added.\nThis is an alpha feature enabled by the EphemeralContainers feature flag." - }, - "v1EphemeralContainerCommon": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the ephemeral container specified as a DNS_LABEL.\nThis name must be unique among all containers, init containers and ephemeral containers." - }, - "image": { - "type": "string", - "title": "Docker image name.\nMore info: https://kubernetes.io/docs/concepts/containers/images" - }, - "command": { - "type": "array", - "items": { - "type": "string" - }, - "title": "Entrypoint array. Not executed within a shell.\nThe docker image's ENTRYPOINT is used if this is not provided.\nVariable references $(VAR_NAME) are expanded using the container's environment. If a variable\ncannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax\ncan be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded,\nregardless of whether the variable exists or not.\nCannot be updated.\nMore info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell\n+optional" - }, - "args": { - "type": "array", - "items": { - "type": "string" - }, - "title": "Arguments to the entrypoint.\nThe docker image's CMD is used if this is not provided.\nVariable references $(VAR_NAME) are expanded using the container's environment. If a variable\ncannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax\ncan be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded,\nregardless of whether the variable exists or not.\nCannot be updated.\nMore info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell\n+optional" - }, - "workingDir": { - "type": "string", - "title": "Container's working directory.\nIf not specified, the container runtime's default will be used, which\nmight be configured in the container image.\nCannot be updated.\n+optional" - }, - "ports": { - "type": "array", - "items": { - "$ref": "#/definitions/v1ContainerPort" - }, - "description": "Ports are not allowed for ephemeral containers." - }, - "envFrom": { - "type": "array", - "items": { - "$ref": "#/definitions/v1EnvFromSource" - }, - "title": "List of sources to populate environment variables in the container.\nThe keys defined within a source must be a C_IDENTIFIER. All invalid keys\nwill be reported as an event when the container is starting. When a key exists in multiple\nsources, the value associated with the last source will take precedence.\nValues defined by an Env with a duplicate key will take precedence.\nCannot be updated.\n+optional" - }, - "env": { - "type": "array", - "items": { - "$ref": "#/definitions/v1EnvVar" - }, - "title": "List of environment variables to set in the container.\nCannot be updated.\n+optional\n+patchMergeKey=name\n+patchStrategy=merge" - }, - "resources": { - "$ref": "#/definitions/corev1ResourceRequirements", - "title": "Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources\nalready allocated to the pod.\n+optional" - }, - "volumeMounts": { - "type": "array", - "items": { - "$ref": "#/definitions/corev1VolumeMount" - }, - "title": "Pod volumes to mount into the container's filesystem.\nCannot be updated.\n+optional\n+patchMergeKey=mountPath\n+patchStrategy=merge" - }, - "volumeDevices": { - "type": "array", - "items": { - "$ref": "#/definitions/v1VolumeDevice" - }, - "title": "volumeDevices is the list of block devices to be used by the container.\n+patchMergeKey=devicePath\n+patchStrategy=merge\n+optional" - }, - "livenessProbe": { - "$ref": "#/definitions/v1Probe", - "title": "Probes are not allowed for ephemeral containers.\n+optional" - }, - "readinessProbe": { - "$ref": "#/definitions/v1Probe", - "title": "Probes are not allowed for ephemeral containers.\n+optional" - }, - "startupProbe": { - "$ref": "#/definitions/v1Probe", - "title": "Probes are not allowed for ephemeral containers.\n+optional" - }, - "lifecycle": { - "$ref": "#/definitions/v1Lifecycle", - "title": "Lifecycle is not allowed for ephemeral containers.\n+optional" - }, - "terminationMessagePath": { - "type": "string", - "title": "Optional: Path at which the file to which the container's termination message\nwill be written is mounted into the container's filesystem.\nMessage written is intended to be brief final status, such as an assertion failure message.\nWill be truncated by the node if greater than 4096 bytes. The total message length across\nall containers will be limited to 12kb.\nDefaults to /dev/termination-log.\nCannot be updated.\n+optional" - }, - "terminationMessagePolicy": { - "type": "string", - "title": "Indicate how the termination message should be populated. File will use the contents of\nterminationMessagePath to populate the container status message on both success and failure.\nFallbackToLogsOnError will use the last chunk of container log output if the termination\nmessage file is empty and the container exited with an error.\nThe log output is limited to 2048 bytes or 80 lines, whichever is smaller.\nDefaults to File.\nCannot be updated.\n+optional" - }, - "imagePullPolicy": { - "type": "string", - "title": "Image pull policy.\nOne of Always, Never, IfNotPresent.\nDefaults to Always if :latest tag is specified, or IfNotPresent otherwise.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/containers/images#updating-images\n+optional" - }, - "securityContext": { - "$ref": "#/definitions/v1SecurityContext", - "title": "SecurityContext is not allowed for ephemeral containers.\n+optional" - }, - "stdin": { - "type": "boolean", - "title": "Whether this container should allocate a buffer for stdin in the container runtime. If this\nis not set, reads from stdin in the container will always result in EOF.\nDefault is false.\n+optional" - }, - "stdinOnce": { - "type": "boolean", - "title": "Whether the container runtime should close the stdin channel after it has been opened by\na single attach. When stdin is true the stdin stream will remain open across multiple attach\nsessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the\nfirst client attaches to stdin, and then remains open and accepts data until the client disconnects,\nat which time stdin is closed and remains closed until the container is restarted. If this\nflag is false, a container processes that reads from stdin will never receive an EOF.\nDefault is false\n+optional" - }, - "tty": { - "type": "boolean", - "title": "Whether this container should allocate a TTY for itself, also requires 'stdin' to be true.\nDefault is false.\n+optional" - } - }, - "description": "EphemeralContainerCommon is a copy of all fields in Container to be inlined in\nEphemeralContainer. This separate type allows easy conversion from EphemeralContainer\nto Container and allows separate documentation for the fields of EphemeralContainer.\nWhen a new field is added to Container it must be added here as well." - }, - "v1EphemeralVolumeSource": { - "type": "object", - "properties": { - "volumeClaimTemplate": { - "$ref": "#/definitions/v1PersistentVolumeClaimTemplate", - "description": "Will be used to create a stand-alone PVC to provision the volume.\nThe pod in which this EphemeralVolumeSource is embedded will be the\nowner of the PVC, i.e. the PVC will be deleted together with the\npod. The name of the PVC will be `\u003cpod name\u003e-\u003cvolume name\u003e` where\n`\u003cvolume name\u003e` is the name from the `PodSpec.Volumes` array\nentry. Pod validation will reject the pod if the concatenated name\nis not valid for a PVC (for example, too long).\n\nAn existing PVC with that name that is not owned by the pod\nwill *not* be used for the pod to avoid using an unrelated\nvolume by mistake. Starting the pod is then blocked until\nthe unrelated PVC is removed. If such a pre-created PVC is\nmeant to be used by the pod, the PVC has to updated with an\nowner reference to the pod once the pod exists. Normally\nthis should not be necessary, but it may be useful when\nmanually reconstructing a broken cluster.\n\nThis field is read-only and no changes will be made by Kubernetes\nto the PVC after it has been created.\n\nRequired, must not be nil." - }, - "readOnly": { - "type": "boolean", - "title": "Specifies a read-only configuration for the volume.\nDefaults to false (read/write).\n+optional" - } - }, - "description": "Represents an ephemeral volume that is handled by a normal storage driver." - }, - "v1ExecAction": { - "type": "object", - "properties": { - "command": { - "type": "array", - "items": { - "type": "string" - }, - "title": "Command is the command line to execute inside the container, the working directory for the\ncommand is root ('/') in the container's filesystem. The command is simply exec'd, it is\nnot run inside a shell, so traditional shell instructions ('|', etc) won't work. To use\na shell, you need to explicitly call out to that shell.\nExit status of 0 is treated as live/healthy and non-zero is unhealthy.\n+optional" - } - }, - "description": "ExecAction describes a \"run in container\" action." - }, - "v1FCVolumeSource": { - "type": "object", - "properties": { - "targetWWNs": { - "type": "array", - "items": { - "type": "string" - }, - "title": "Optional: FC target worldwide names (WWNs)\n+optional" - }, - "lun": { - "type": "integer", - "format": "int32", - "title": "Optional: FC target lun number\n+optional" - }, - "fsType": { - "type": "string", - "title": "Filesystem type to mount.\nMust be a filesystem type supported by the host operating system.\nEx. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.\nTODO: how do we prevent errors in the filesystem from compromising the machine\n+optional" - }, - "readOnly": { - "type": "boolean", - "title": "Optional: Defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts.\n+optional" - }, - "wwids": { - "type": "array", - "items": { - "type": "string" - }, - "title": "Optional: FC volume world wide identifiers (wwids)\nEither wwids or combination of targetWWNs and lun must be set, but not both simultaneously.\n+optional" - } - }, - "description": "Represents a Fibre Channel volume.\nFibre Channel volumes can only be mounted as read/write once.\nFibre Channel volumes support ownership management and SELinux relabeling." - }, - "v1FieldsV1": { - "type": "object", - "properties": { - "Raw": { - "type": "string", - "format": "byte", - "description": "Raw is the underlying serialization of this object." - } - }, - "description": "FieldsV1 stores a set of fields in a data structure like a Trie, in JSON format.\n\nEach key is either a '.' representing the field itself, and will always map to an empty set,\nor a string representing a sub-field or item. The string will follow one of these four formats:\n'f:\u003cname\u003e', where \u003cname\u003e is the name of a field in a struct, or key in a map\n'v:\u003cvalue\u003e', where \u003cvalue\u003e is the exact json formatted value of a list item\n'i:\u003cindex\u003e', where \u003cindex\u003e is position of a item in a list\n'k:\u003ckeys\u003e', where \u003ckeys\u003e is a map of a list item's key fields to their unique values\nIf a key maps to an empty Fields value, the field that key represents is part of the set.\n\nThe exact format is defined in sigs.k8s.io/structured-merge-diff\n+protobuf.options.(gogoproto.goproto_stringer)=false" - }, - "v1FlexVolumeSource": { - "type": "object", - "properties": { - "driver": { - "type": "string", - "description": "Driver is the name of the driver to use for this volume." - }, - "fsType": { - "type": "string", - "title": "Filesystem type to mount.\nMust be a filesystem type supported by the host operating system.\nEx. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script.\n+optional" - }, - "secretRef": { - "$ref": "#/definitions/v1LocalObjectReference", - "title": "Optional: SecretRef is reference to the secret object containing\nsensitive information to pass to the plugin scripts. This may be\nempty if no secret object is specified. If the secret object\ncontains more than one secret, all secrets are passed to the plugin\nscripts.\n+optional" - }, - "readOnly": { - "type": "boolean", - "title": "Optional: Defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts.\n+optional" - }, - "options": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "title": "Optional: Extra command options if any.\n+optional" - } - }, - "description": "FlexVolume represents a generic volume resource that is\nprovisioned/attached using an exec based plugin." - }, - "v1FlockerVolumeSource": { - "type": "object", - "properties": { - "datasetName": { - "type": "string", - "title": "Name of the dataset stored as metadata -\u003e name on the dataset for Flocker\nshould be considered as deprecated\n+optional" - }, - "datasetUUID": { - "type": "string", - "title": "UUID of the dataset. This is unique identifier of a Flocker dataset\n+optional" - } - }, - "description": "Represents a Flocker volume mounted by the Flocker agent.\nOne and only one of datasetName and datasetUUID should be set.\nFlocker volumes do not support ownership management or SELinux relabeling." - }, - "v1GCEPersistentDiskVolumeSource": { - "type": "object", - "properties": { - "pdName": { - "type": "string", - "title": "Unique name of the PD resource in GCE. Used to identify the disk in GCE.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk" - }, - "fsType": { - "type": "string", - "title": "Filesystem type of the volume that you want to mount.\nTip: Ensure that the filesystem type is supported by the host operating system.\nExamples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk\nTODO: how do we prevent errors in the filesystem from compromising the machine\n+optional" - }, - "partition": { - "type": "integer", - "format": "int32", - "title": "The partition in the volume that you want to mount.\nIf omitted, the default is to mount by volume name.\nExamples: For volume /dev/sda1, you specify the partition as \"1\".\nSimilarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk\n+optional" - }, - "readOnly": { - "type": "boolean", - "title": "ReadOnly here will force the ReadOnly setting in VolumeMounts.\nDefaults to false.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk\n+optional" - } - }, - "description": "Represents a Persistent Disk resource in Google Compute Engine.\n\nA GCE PD must exist before mounting to a container. The disk must\nalso be in the same GCE project and zone as the kubelet. A GCE PD\ncan only be mounted as read/write once or read-only many times. GCE\nPDs support ownership management and SELinux relabeling." - }, - "v1GitRepoVolumeSource": { - "type": "object", - "properties": { - "repository": { - "type": "string", - "title": "Repository URL" - }, - "revision": { - "type": "string", - "title": "Commit hash for the specified revision.\n+optional" - }, - "directory": { - "type": "string", - "title": "Target directory name.\nMust not contain or start with '..'. If '.' is supplied, the volume directory will be the\ngit repository. Otherwise, if specified, the volume will contain the git repository in\nthe subdirectory with the given name.\n+optional" - } - }, - "description": "Represents a volume that is populated with the contents of a git repository.\nGit repo volumes do not support ownership management.\nGit repo volumes support SELinux relabeling.\n\nDEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an\nEmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir\ninto the Pod's container." - }, - "v1GlusterfsVolumeSource": { - "type": "object", - "properties": { - "endpoints": { - "type": "string", - "title": "EndpointsName is the endpoint name that details Glusterfs topology.\nMore info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod" - }, - "path": { - "type": "string", - "title": "Path is the Glusterfs volume path.\nMore info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod" - }, - "readOnly": { - "type": "boolean", - "title": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions.\nDefaults to false.\nMore info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod\n+optional" - } - }, - "description": "Represents a Glusterfs mount that lasts the lifetime of a pod.\nGlusterfs volumes do not support ownership management or SELinux relabeling." - }, - "v1HTTPGetAction": { - "type": "object", - "properties": { - "path": { - "type": "string", - "title": "Path to access on the HTTP server.\n+optional" - }, - "port": { - "$ref": "#/definitions/intstrIntOrString", - "description": "Name or number of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME." - }, - "host": { - "type": "string", - "title": "Host name to connect to, defaults to the pod IP. You probably want to set\n\"Host\" in httpHeaders instead.\n+optional" - }, - "scheme": { - "type": "string", - "title": "Scheme to use for connecting to the host.\nDefaults to HTTP.\n+optional" - }, - "httpHeaders": { - "type": "array", - "items": { - "$ref": "#/definitions/v1HTTPHeader" - }, - "title": "Custom headers to set in the request. HTTP allows repeated headers.\n+optional" - } - }, - "description": "HTTPGetAction describes an action based on HTTP Get requests." - }, - "v1HTTPHeader": { - "type": "object", - "properties": { - "name": { - "type": "string", - "title": "The header field name" - }, - "value": { - "type": "string", - "title": "The header field value" - } - }, - "title": "HTTPHeader describes a custom header to be used in HTTP probes" - }, - "v1Handler": { - "type": "object", - "properties": { - "exec": { - "$ref": "#/definitions/v1ExecAction", - "title": "One and only one of the following should be specified.\nExec specifies the action to take.\n+optional" - }, - "httpGet": { - "$ref": "#/definitions/v1HTTPGetAction", - "title": "HTTPGet specifies the http request to perform.\n+optional" - }, - "tcpSocket": { - "$ref": "#/definitions/v1TCPSocketAction", - "title": "TCPSocket specifies an action involving a TCP port.\nTCP hooks not yet supported\nTODO: implement a realistic TCP lifecycle hook\n+optional" - } - }, - "description": "Handler defines a specific action that should be taken\nTODO: pass structured data to these actions, and document that data here." - }, - "v1HostAlias": { - "type": "object", - "properties": { - "ip": { - "type": "string", - "description": "IP address of the host file entry." - }, - "hostnames": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Hostnames for the above IP address." - } - }, - "description": "HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the\npod's hosts file." - }, - "v1HostPathVolumeSource": { - "type": "object", - "properties": { - "path": { - "type": "string", - "title": "Path of the directory on the host.\nIf the path is a symlink, it will follow the link to the real path.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath" - }, - "type": { - "type": "string", - "title": "Type for HostPath Volume\nDefaults to \"\"\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath\n+optional" - } - }, - "description": "Represents a host path mapped into a pod.\nHost path volumes do not support ownership management or SELinux relabeling." - }, - "v1ISCSIVolumeSource": { - "type": "object", - "properties": { - "targetPortal": { - "type": "string", - "description": "iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port\nis other than default (typically TCP ports 860 and 3260)." - }, - "iqn": { - "type": "string", - "description": "Target iSCSI Qualified Name." - }, - "lun": { - "type": "integer", - "format": "int32", - "description": "iSCSI Target Lun number." - }, - "iscsiInterface": { - "type": "string", - "title": "iSCSI Interface Name that uses an iSCSI transport.\nDefaults to 'default' (tcp).\n+optional" - }, - "fsType": { - "type": "string", - "title": "Filesystem type of the volume that you want to mount.\nTip: Ensure that the filesystem type is supported by the host operating system.\nExamples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi\nTODO: how do we prevent errors in the filesystem from compromising the machine\n+optional" - }, - "readOnly": { - "type": "boolean", - "title": "ReadOnly here will force the ReadOnly setting in VolumeMounts.\nDefaults to false.\n+optional" - }, - "portals": { - "type": "array", - "items": { - "type": "string" - }, - "title": "iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port\nis other than default (typically TCP ports 860 and 3260).\n+optional" - }, - "chapAuthDiscovery": { - "type": "boolean", - "title": "whether support iSCSI Discovery CHAP authentication\n+optional" - }, - "chapAuthSession": { - "type": "boolean", - "title": "whether support iSCSI Session CHAP authentication\n+optional" - }, - "secretRef": { - "$ref": "#/definitions/v1LocalObjectReference", - "title": "CHAP Secret for iSCSI target and initiator authentication\n+optional" - }, - "initiatorName": { - "type": "string", - "title": "Custom iSCSI Initiator Name.\nIf initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface\n\u003ctarget portal\u003e:\u003cvolume name\u003e will be created for the connection.\n+optional" - } - }, - "description": "Represents an ISCSI disk.\nISCSI volumes can only be mounted as read/write once.\nISCSI volumes support ownership management and SELinux relabeling." - }, - "v1JobSpec": { - "type": "object", - "properties": { - "parallelism": { - "type": "integer", - "format": "int32", - "title": "Specifies the maximum desired number of pods the job should\nrun at any given time. The actual number of pods running in steady state will\nbe less than this number when ((.spec.completions - .status.successful) \u003c .spec.parallelism),\ni.e. when the work left to do is less than max parallelism.\nMore info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/\n+optional" - }, - "completions": { - "type": "integer", - "format": "int32", - "title": "Specifies the desired number of successfully finished pods the\njob should be run with. Setting to nil means that the success of any\npod signals the success of all pods, and allows parallelism to have any positive\nvalue. Setting to 1 means that parallelism is limited to 1 and the success of that\npod signals the success of the job.\nMore info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/\n+optional" - }, - "activeDeadlineSeconds": { - "type": "string", - "format": "int64", - "title": "Specifies the duration in seconds relative to the startTime that the job may be active\nbefore the system tries to terminate it; value must be positive integer\n+optional" - }, - "backoffLimit": { - "type": "integer", - "format": "int32", - "title": "Specifies the number of retries before marking this job failed.\nDefaults to 6\n+optional" - }, - "selector": { - "$ref": "#/definitions/v1LabelSelector", - "title": "A label query over pods that should match the pod count.\nNormally, the system sets this field for you.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors\n+optional" - }, - "manualSelector": { - "type": "boolean", - "title": "manualSelector controls generation of pod labels and pod selectors.\nLeave `manualSelector` unset unless you are certain what you are doing.\nWhen false or unset, the system pick labels unique to this job\nand appends those labels to the pod template. When true,\nthe user is responsible for picking unique labels and specifying\nthe selector. Failure to pick a unique label may cause this\nand other jobs to not function correctly. However, You may see\n`manualSelector=true` in jobs that were created with the old `extensions/v1beta1`\nAPI.\nMore info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector\n+optional" - }, - "template": { - "$ref": "#/definitions/v1PodTemplateSpec", - "title": "Describes the pod that will be created when executing a job.\nMore info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/" - }, - "ttlSecondsAfterFinished": { - "type": "integer", - "format": "int32", - "title": "ttlSecondsAfterFinished limits the lifetime of a Job that has finished\nexecution (either Complete or Failed). If this field is set,\nttlSecondsAfterFinished after the Job finishes, it is eligible to be\nautomatically deleted. When the Job is being deleted, its lifecycle\nguarantees (e.g. finalizers) will be honored. If this field is unset,\nthe Job won't be automatically deleted. If this field is set to zero,\nthe Job becomes eligible to be deleted immediately after it finishes.\nThis field is alpha-level and is only honored by servers that enable the\nTTLAfterFinished feature.\n+optional" - } - }, - "description": "JobSpec describes how the job execution will look like." - }, - "v1KeyToPath": { - "type": "object", - "properties": { - "key": { - "type": "string", - "description": "The key to project." - }, - "path": { - "type": "string", - "description": "The relative path of the file to map the key to.\nMay not be an absolute path.\nMay not contain the path element '..'.\nMay not start with the string '..'." - }, - "mode": { - "type": "integer", - "format": "int32", - "title": "Optional: mode bits used to set permissions on this file.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nIf not specified, the volume defaultMode will be used.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.\n+optional" - } - }, - "description": "Maps a string key to a path within a volume." - }, - "v1LabelSelector": { - "type": "object", - "properties": { - "matchLabels": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "title": "matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels\nmap is equivalent to an element of matchExpressions, whose key field is \"key\", the\noperator is \"In\", and the values array contains only \"value\". The requirements are ANDed.\n+optional" - }, - "matchExpressions": { - "type": "array", - "items": { - "$ref": "#/definitions/v1LabelSelectorRequirement" - }, - "title": "matchExpressions is a list of label selector requirements. The requirements are ANDed.\n+optional" - } - }, - "description": "A label selector is a label query over a set of resources. The result of matchLabels and\nmatchExpressions are ANDed. An empty label selector matches all objects. A null\nlabel selector matches no objects." - }, - "v1LabelSelectorRequirement": { - "type": "object", - "properties": { - "key": { - "type": "string", - "title": "key is the label key that the selector applies to.\n+patchMergeKey=key\n+patchStrategy=merge" - }, - "operator": { - "type": "string", - "description": "operator represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists and DoesNotExist." - }, - "values": { - "type": "array", - "items": { - "type": "string" - }, - "title": "values is an array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. This array is replaced during a strategic\nmerge patch.\n+optional" - } - }, - "description": "A label selector requirement is a selector that contains values, a key, and an operator that\nrelates the key and values." - }, - "v1Lifecycle": { - "type": "object", - "properties": { - "postStart": { - "$ref": "#/definitions/v1Handler", - "title": "PostStart is called immediately after a container is created. If the handler fails,\nthe container is terminated and restarted according to its restart policy.\nOther management of the container blocks until the hook completes.\nMore info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks\n+optional" - }, - "preStop": { - "$ref": "#/definitions/v1Handler", - "title": "PreStop is called immediately before a container is terminated due to an\nAPI request or management event such as liveness/startup probe failure,\npreemption, resource contention, etc. The handler is not called if the\ncontainer crashes or exits. The reason for termination is passed to the\nhandler. The Pod's termination grace period countdown begins before the\nPreStop hooked is executed. Regardless of the outcome of the handler, the\ncontainer will eventually terminate within the Pod's termination grace\nperiod. Other management of the container blocks until the hook completes\nor until the termination grace period is reached.\nMore info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks\n+optional" - } - }, - "description": "Lifecycle describes actions that the management system should take in response to container lifecycle\nevents. For the PostStart and PreStop lifecycle handlers, management of the container blocks\nuntil the action is complete, unless the container process fails, in which case the handler is aborted." - }, - "v1LocalObjectReference": { - "type": "object", - "properties": { - "name": { - "type": "string", - "title": "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\nTODO: Add other useful fields. apiVersion, kind, uid?\n+optional" - } - }, - "description": "LocalObjectReference contains enough information to let you locate the\nreferenced object inside the same namespace." - }, - "v1ManagedFieldsEntry": { - "type": "object", - "properties": { - "manager": { - "type": "string", - "description": "Manager is an identifier of the workflow managing these fields." - }, - "operation": { - "type": "string", - "description": "Operation is the type of operation which lead to this ManagedFieldsEntry being created.\nThe only valid values for this field are 'Apply' and 'Update'." - }, - "apiVersion": { - "type": "string", - "description": "APIVersion defines the version of this resource that this field set\napplies to. The format is \"group/version\" just like the top-level\nAPIVersion field. It is necessary to track the version of a field\nset because it cannot be automatically converted." - }, - "time": { - "$ref": "#/definitions/v1Time", - "title": "Time is timestamp of when these fields were set. It should always be empty if Operation is 'Apply'\n+optional" - }, - "fieldsType": { - "type": "string", - "title": "FieldsType is the discriminator for the different fields format and version.\nThere is currently only one possible value: \"FieldsV1\"" - }, - "fieldsV1": { - "$ref": "#/definitions/v1FieldsV1", - "title": "FieldsV1 holds the first JSON version format as described in the \"FieldsV1\" type.\n+optional" - } - }, - "description": "ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource\nthat the fieldset applies to." - }, - "v1NFSVolumeSource": { - "type": "object", - "properties": { - "server": { - "type": "string", - "title": "Server is the hostname or IP address of the NFS server.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#nfs" - }, - "path": { - "type": "string", - "title": "Path that is exported by the NFS server.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#nfs" - }, - "readOnly": { - "type": "boolean", - "title": "ReadOnly here will force\nthe NFS export to be mounted with read-only permissions.\nDefaults to false.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#nfs\n+optional" - } - }, - "description": "Represents an NFS mount that lasts the lifetime of a pod.\nNFS volumes do not support ownership management or SELinux relabeling." - }, - "v1NodeAffinity": { - "type": "object", - "properties": { - "requiredDuringSchedulingIgnoredDuringExecution": { - "$ref": "#/definitions/v1NodeSelector", - "title": "If the affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to an update), the system\nmay or may not try to eventually evict the pod from its node.\n+optional" - }, - "preferredDuringSchedulingIgnoredDuringExecution": { - "type": "array", - "items": { - "$ref": "#/definitions/v1PreferredSchedulingTerm" - }, - "title": "The scheduler will prefer to schedule pods to nodes that satisfy\nthe affinity expressions specified by this field, but it may choose\na node that violates one or more of the expressions. The node that is\nmost preferred is the one with the greatest sum of weights, i.e.\nfor each node that meets all of the scheduling requirements (resource\nrequest, requiredDuringScheduling affinity expressions, etc.),\ncompute a sum by iterating through the elements of this field and adding\n\"weight\" to the sum if the node matches the corresponding matchExpressions; the\nnode(s) with the highest sum are the most preferred.\n+optional" - } - }, - "description": "Node affinity is a group of node affinity scheduling rules." - }, - "v1NodeSelector": { - "type": "object", - "properties": { - "nodeSelectorTerms": { - "type": "array", - "items": { - "$ref": "#/definitions/v1NodeSelectorTerm" - }, - "description": "Required. A list of node selector terms. The terms are ORed." - } - }, - "description": "A node selector represents the union of the results of one or more label queries\nover a set of nodes; that is, it represents the OR of the selectors represented\nby the node selector terms." - }, - "v1NodeSelectorRequirement": { - "type": "object", - "properties": { - "key": { - "type": "string", - "description": "The label key that the selector applies to." - }, - "operator": { - "type": "string", - "description": "Represents a key's relationship to a set of values.\nValid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt." - }, - "values": { - "type": "array", - "items": { - "type": "string" - }, - "title": "An array of string values. If the operator is In or NotIn,\nthe values array must be non-empty. If the operator is Exists or DoesNotExist,\nthe values array must be empty. If the operator is Gt or Lt, the values\narray must have a single element, which will be interpreted as an integer.\nThis array is replaced during a strategic merge patch.\n+optional" - } - }, - "description": "A node selector requirement is a selector that contains values, a key, and an operator\nthat relates the key and values." - }, - "v1NodeSelectorTerm": { - "type": "object", - "properties": { - "matchExpressions": { - "type": "array", - "items": { - "$ref": "#/definitions/v1NodeSelectorRequirement" - }, - "title": "A list of node selector requirements by node's labels.\n+optional" - }, - "matchFields": { - "type": "array", - "items": { - "$ref": "#/definitions/v1NodeSelectorRequirement" - }, - "title": "A list of node selector requirements by node's fields.\n+optional" - } - }, - "description": "A null or empty node selector term matches no objects. The requirements of\nthem are ANDed.\nThe TopologySelectorTerm type implements a subset of the NodeSelectorTerm." - }, - "v1ObjectFieldSelector": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "title": "Version of the schema the FieldPath is written in terms of, defaults to \"v1\".\n+optional" - }, - "fieldPath": { - "type": "string", - "description": "Path of the field to select in the specified API version." - } - }, - "description": "ObjectFieldSelector selects an APIVersioned field of an object." - }, - "v1ObjectMeta": { - "type": "object", - "properties": { - "name": { - "type": "string", - "title": "Name must be unique within a namespace. Is required when creating resources, although\nsome resources may allow a client to request the generation of an appropriate name\nautomatically. Name is primarily intended for creation idempotence and configuration\ndefinition.\nCannot be updated.\nMore info: http://kubernetes.io/docs/user-guide/identifiers#names\n+optional" - }, - "generateName": { - "type": "string", - "description": "GenerateName is an optional prefix, used by the server, to generate a unique\nname ONLY IF the Name field has not been provided.\nIf this field is used, the name returned to the client will be different\nthan the name passed. This value will also be combined with a unique suffix.\nThe provided value has the same validation rules as the Name field,\nand may be truncated by the length of the suffix required to make the value\nunique on the server.\n\nIf this field is specified and the generated name exists, the server will\nNOT return a 409 - instead, it will either return 201 Created or 500 with Reason\nServerTimeout indicating a unique name could not be found in the time allotted, and the client\nshould retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency\n+optional" - }, - "namespace": { - "type": "string", - "description": "Namespace defines the space within which each name must be unique. An empty namespace is\nequivalent to the \"default\" namespace, but \"default\" is the canonical representation.\nNot all objects are required to be scoped to a namespace - the value of this field for\nthose objects will be empty.\n\nMust be a DNS_LABEL.\nCannot be updated.\nMore info: http://kubernetes.io/docs/user-guide/namespaces\n+optional" - }, - "selfLink": { - "type": "string", - "description": "SelfLink is a URL representing this object.\nPopulated by the system.\nRead-only.\n\nDEPRECATED\nKubernetes will stop propagating this field in 1.20 release and the field is planned\nto be removed in 1.21 release.\n+optional" - }, - "uid": { - "type": "string", - "description": "UID is the unique in time and space value for this object. It is typically generated by\nthe server on successful creation of a resource and is not allowed to change on PUT\noperations.\n\nPopulated by the system.\nRead-only.\nMore info: http://kubernetes.io/docs/user-guide/identifiers#uids\n+optional" - }, - "resourceVersion": { - "type": "string", - "description": "An opaque value that represents the internal version of this object that can\nbe used by clients to determine when objects have changed. May be used for optimistic\nconcurrency, change detection, and the watch operation on a resource or set of resources.\nClients must treat these values as opaque and passed unmodified back to the server.\nThey may only be valid for a particular resource or set of resources.\n\nPopulated by the system.\nRead-only.\nValue must be treated as opaque by clients and .\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency\n+optional" - }, - "generation": { - "type": "string", - "format": "int64", - "title": "A sequence number representing a specific generation of the desired state.\nPopulated by the system. Read-only.\n+optional" - }, - "creationTimestamp": { - "$ref": "#/definitions/v1Time", - "description": "CreationTimestamp is a timestamp representing the server time when this object was\ncreated. It is not guaranteed to be set in happens-before order across separate operations.\nClients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system.\nRead-only.\nNull for lists.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata\n+optional" - }, - "deletionTimestamp": { - "$ref": "#/definitions/v1Time", - "description": "DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This\nfield is set by the server when a graceful deletion is requested by the user, and is not\ndirectly settable by a client. The resource is expected to be deleted (no longer visible\nfrom resource lists, and not reachable by name) after the time in this field, once the\nfinalizers list is empty. As long as the finalizers list contains items, deletion is blocked.\nOnce the deletionTimestamp is set, this value may not be unset or be set further into the\nfuture, although it may be shortened or the resource may be deleted prior to this time.\nFor example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react\nby sending a graceful termination signal to the containers in the pod. After that 30 seconds,\nthe Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup,\nremove the pod from the API. In the presence of network partitions, this object may still\nexist after this timestamp, until an administrator or automated process can determine the\nresource is fully terminated.\nIf not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested.\nRead-only.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata\n+optional" - }, - "deletionGracePeriodSeconds": { - "type": "string", - "format": "int64", - "title": "Number of seconds allowed for this object to gracefully terminate before\nit will be removed from the system. Only set when deletionTimestamp is also set.\nMay only be shortened.\nRead-only.\n+optional" - }, - "labels": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "title": "Map of string keys and values that can be used to organize and categorize\n(scope and select) objects. May match selectors of replication controllers\nand services.\nMore info: http://kubernetes.io/docs/user-guide/labels\n+optional" - }, - "annotations": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "title": "Annotations is an unstructured key value map stored with a resource that may be\nset by external tools to store and retrieve arbitrary metadata. They are not\nqueryable and should be preserved when modifying objects.\nMore info: http://kubernetes.io/docs/user-guide/annotations\n+optional" - }, - "ownerReferences": { - "type": "array", - "items": { - "$ref": "#/definitions/v1OwnerReference" - }, - "title": "List of objects depended by this object. If ALL objects in the list have\nbeen deleted, this object will be garbage collected. If this object is managed by a controller,\nthen an entry in this list will point to this controller, with the controller field set to true.\nThere cannot be more than one managing controller.\n+optional\n+patchMergeKey=uid\n+patchStrategy=merge" - }, - "finalizers": { - "type": "array", - "items": { - "type": "string" - }, - "title": "Must be empty before the object is deleted from the registry. Each entry\nis an identifier for the responsible component that will remove the entry\nfrom the list. If the deletionTimestamp of the object is non-nil, entries\nin this list can only be removed.\nFinalizers may be processed and removed in any order. Order is NOT enforced\nbecause it introduces significant risk of stuck finalizers.\nfinalizers is a shared field, any actor with permission can reorder it.\nIf the finalizer list is processed in order, then this can lead to a situation\nin which the component responsible for the first finalizer in the list is\nwaiting for a signal (field value, external system, or other) produced by a\ncomponent responsible for a finalizer later in the list, resulting in a deadlock.\nWithout enforced ordering finalizers are free to order amongst themselves and\nare not vulnerable to ordering changes in the list.\n+optional\n+patchStrategy=merge" - }, - "clusterName": { - "type": "string", - "title": "The name of the cluster which the object belongs to.\nThis is used to distinguish resources with same name and namespace in different clusters.\nThis field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.\n+optional" - }, - "managedFields": { - "type": "array", - "items": { - "$ref": "#/definitions/v1ManagedFieldsEntry" - }, - "description": "ManagedFields maps workflow-id and version to the set of fields\nthat are managed by that workflow. This is mostly for internal\nhousekeeping, and users typically shouldn't need to set or\nunderstand this field. A workflow can be the user's name, a\ncontroller's name, or the name of a specific apply path like\n\"ci-cd\". The set of fields is always in the version that the\nworkflow used when modifying the object.\n\n+optional" - } - }, - "description": "ObjectMeta is metadata that all persisted resources must have, which includes all objects\nusers must create." - }, - "v1OwnerReference": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "description": "API version of the referent." - }, - "kind": { - "type": "string", - "title": "Kind of the referent.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" - }, - "name": { - "type": "string", - "title": "Name of the referent.\nMore info: http://kubernetes.io/docs/user-guide/identifiers#names" - }, - "uid": { - "type": "string", - "title": "UID of the referent.\nMore info: http://kubernetes.io/docs/user-guide/identifiers#uids" - }, - "controller": { - "type": "boolean", - "title": "If true, this reference points to the managing controller.\n+optional" - }, - "blockOwnerDeletion": { - "type": "boolean", - "title": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then\nthe owner cannot be deleted from the key-value store until this\nreference is removed.\nDefaults to false.\nTo set this field, a user needs \"delete\" permission of the owner,\notherwise 422 (Unprocessable Entity) will be returned.\n+optional" - } - }, - "description": "OwnerReference contains enough information to let you identify an owning\nobject. An owning object must be in the same namespace as the dependent, or\nbe cluster-scoped, so there is no namespace field." - }, - "v1PersistentVolumeClaimSpec": { - "type": "object", - "properties": { - "accessModes": { - "type": "array", - "items": { - "type": "string" - }, - "title": "AccessModes contains the desired access modes the volume should have.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1\n+optional" - }, - "selector": { - "$ref": "#/definitions/v1LabelSelector", - "title": "A label query over volumes to consider for binding.\n+optional" - }, - "resources": { - "$ref": "#/definitions/corev1ResourceRequirements", - "title": "Resources represents the minimum resources the volume should have.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources\n+optional" - }, - "volumeName": { - "type": "string", - "title": "VolumeName is the binding reference to the PersistentVolume backing this claim.\n+optional" - }, - "storageClassName": { - "type": "string", - "title": "Name of the StorageClass required by the claim.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1\n+optional" - }, - "volumeMode": { - "type": "string", - "title": "volumeMode defines what type of volume is required by the claim.\nValue of Filesystem is implied when not included in claim spec.\n+optional" - }, - "dataSource": { - "$ref": "#/definitions/v1TypedLocalObjectReference", - "title": "This field can be used to specify either:\n* An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot)\n* An existing PVC (PersistentVolumeClaim)\n* An existing custom resource that implements data population (Alpha)\nIn order to use custom resource types that implement data population,\nthe AnyVolumeDataSource feature gate must be enabled.\nIf the provisioner or an external controller can support the specified data source,\nit will create a new volume based on the contents of the specified data source.\n+optional" - } - }, - "title": "PersistentVolumeClaimSpec describes the common attributes of storage devices\nand allows a Source for provider-specific attributes" - }, - "v1PersistentVolumeClaimTemplate": { - "type": "object", - "properties": { - "metadata": { - "$ref": "#/definitions/v1ObjectMeta", - "description": "May contain labels and annotations that will be copied into the PVC\nwhen creating it. No other fields are allowed and will be rejected during\nvalidation.\n\n+optional" - }, - "spec": { - "$ref": "#/definitions/v1PersistentVolumeClaimSpec", - "description": "The specification for the PersistentVolumeClaim. The entire content is\ncopied unchanged into the PVC that gets created from this\ntemplate. The same fields as in a PersistentVolumeClaim\nare also valid here." - } - }, - "description": "PersistentVolumeClaimTemplate is used to produce\nPersistentVolumeClaim objects as part of an EphemeralVolumeSource." - }, - "v1PersistentVolumeClaimVolumeSource": { - "type": "object", - "properties": { - "claimName": { - "type": "string", - "title": "ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims" - }, - "readOnly": { - "type": "boolean", - "title": "Will force the ReadOnly setting in VolumeMounts.\nDefault false.\n+optional" - } - }, - "description": "PersistentVolumeClaimVolumeSource references the user's PVC in the same namespace.\nThis volume finds the bound PV and mounts that volume for the pod. A\nPersistentVolumeClaimVolumeSource is, essentially, a wrapper around another\ntype of volume that is owned by someone else (the system)." - }, - "v1PhotonPersistentDiskVolumeSource": { - "type": "object", - "properties": { - "pdID": { - "type": "string", - "title": "ID that identifies Photon Controller persistent disk" - }, - "fsType": { - "type": "string", - "description": "Filesystem type to mount.\nMust be a filesystem type supported by the host operating system.\nEx. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified." - } - }, - "description": "Represents a Photon Controller persistent disk resource." - }, - "v1PodAffinity": { - "type": "object", - "properties": { - "requiredDuringSchedulingIgnoredDuringExecution": { - "type": "array", - "items": { - "$ref": "#/definitions/v1PodAffinityTerm" - }, - "title": "If the affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to a pod label update), the\nsystem may or may not try to eventually evict the pod from its node.\nWhen there are multiple elements, the lists of nodes corresponding to each\npodAffinityTerm are intersected, i.e. all terms must be satisfied.\n+optional" - }, - "preferredDuringSchedulingIgnoredDuringExecution": { - "type": "array", - "items": { - "$ref": "#/definitions/v1WeightedPodAffinityTerm" - }, - "title": "The scheduler will prefer to schedule pods to nodes that satisfy\nthe affinity expressions specified by this field, but it may choose\na node that violates one or more of the expressions. The node that is\nmost preferred is the one with the greatest sum of weights, i.e.\nfor each node that meets all of the scheduling requirements (resource\nrequest, requiredDuringScheduling affinity expressions, etc.),\ncompute a sum by iterating through the elements of this field and adding\n\"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the\nnode(s) with the highest sum are the most preferred.\n+optional" - } - }, - "description": "Pod affinity is a group of inter pod affinity scheduling rules." - }, - "v1PodAffinityTerm": { - "type": "object", - "properties": { - "labelSelector": { - "$ref": "#/definitions/v1LabelSelector", - "title": "A label query over a set of resources, in this case pods.\n+optional" - }, - "namespaces": { - "type": "array", - "items": { - "type": "string" - }, - "title": "namespaces specifies which namespaces the labelSelector applies to (matches against);\nnull or empty list means \"this pod's namespace\"\n+optional" - }, - "topologyKey": { - "type": "string", - "description": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching\nthe labelSelector in the specified namespaces, where co-located is defined as running on a node\nwhose value of the label with key topologyKey matches that of any node on which any of the\nselected pods is running.\nEmpty topologyKey is not allowed." - } - }, - "title": "Defines a set of pods (namely those matching the labelSelector\nrelative to the given namespace(s)) that this pod should be\nco-located (affinity) or not co-located (anti-affinity) with,\nwhere co-located is defined as running on a node whose value of\nthe label with key \u003ctopologyKey\u003e matches that of any node on which\na pod of the set of pods is running" - }, - "v1PodAntiAffinity": { - "type": "object", - "properties": { - "requiredDuringSchedulingIgnoredDuringExecution": { - "type": "array", - "items": { - "$ref": "#/definitions/v1PodAffinityTerm" - }, - "title": "If the anti-affinity requirements specified by this field are not met at\nscheduling time, the pod will not be scheduled onto the node.\nIf the anti-affinity requirements specified by this field cease to be met\nat some point during pod execution (e.g. due to a pod label update), the\nsystem may or may not try to eventually evict the pod from its node.\nWhen there are multiple elements, the lists of nodes corresponding to each\npodAffinityTerm are intersected, i.e. all terms must be satisfied.\n+optional" - }, - "preferredDuringSchedulingIgnoredDuringExecution": { - "type": "array", - "items": { - "$ref": "#/definitions/v1WeightedPodAffinityTerm" - }, - "title": "The scheduler will prefer to schedule pods to nodes that satisfy\nthe anti-affinity expressions specified by this field, but it may choose\na node that violates one or more of the expressions. The node that is\nmost preferred is the one with the greatest sum of weights, i.e.\nfor each node that meets all of the scheduling requirements (resource\nrequest, requiredDuringScheduling anti-affinity expressions, etc.),\ncompute a sum by iterating through the elements of this field and adding\n\"weight\" to the sum if the node has pods which matches the corresponding podAffinityTerm; the\nnode(s) with the highest sum are the most preferred.\n+optional" - } - }, - "description": "Pod anti affinity is a group of inter pod anti affinity scheduling rules." - }, - "v1PodDNSConfig": { - "type": "object", - "properties": { - "nameservers": { - "type": "array", - "items": { - "type": "string" - }, - "title": "A list of DNS name server IP addresses.\nThis will be appended to the base nameservers generated from DNSPolicy.\nDuplicated nameservers will be removed.\n+optional" - }, - "searches": { - "type": "array", - "items": { - "type": "string" - }, - "title": "A list of DNS search domains for host-name lookup.\nThis will be appended to the base search paths generated from DNSPolicy.\nDuplicated search paths will be removed.\n+optional" - }, - "options": { - "type": "array", - "items": { - "$ref": "#/definitions/v1PodDNSConfigOption" - }, - "title": "A list of DNS resolver options.\nThis will be merged with the base options generated from DNSPolicy.\nDuplicated entries will be removed. Resolution options given in Options\nwill override those that appear in the base DNSPolicy.\n+optional" - } - }, - "description": "PodDNSConfig defines the DNS parameters of a pod in addition to\nthose generated from DNSPolicy." - }, - "v1PodDNSConfigOption": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Required." - }, - "value": { - "type": "string", - "title": "+optional" - } - }, - "description": "PodDNSConfigOption defines DNS resolver options of a pod." - }, - "v1PodReadinessGate": { - "type": "object", - "properties": { - "conditionType": { - "type": "string", - "description": "ConditionType refers to a condition in the pod's condition list with matching type." - } - }, - "title": "PodReadinessGate contains the reference to a pod condition" - }, - "v1PodSecurityContext": { - "type": "object", - "properties": { - "seLinuxOptions": { - "$ref": "#/definitions/v1SELinuxOptions", - "title": "The SELinux context to be applied to all containers.\nIf unspecified, the container runtime will allocate a random SELinux context for each\ncontainer. May also be set in SecurityContext. If set in\nboth SecurityContext and PodSecurityContext, the value specified in SecurityContext\ntakes precedence for that container.\n+optional" - }, - "windowsOptions": { - "$ref": "#/definitions/v1WindowsSecurityContextOptions", - "title": "The Windows specific settings applied to all containers.\nIf unspecified, the options within a container's SecurityContext will be used.\nIf set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.\n+optional" - }, - "runAsUser": { - "type": "string", - "format": "int64", - "title": "The UID to run the entrypoint of the container process.\nDefaults to user specified in image metadata if unspecified.\nMay also be set in SecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence\nfor that container.\n+optional" - }, - "runAsGroup": { - "type": "string", - "format": "int64", - "title": "The GID to run the entrypoint of the container process.\nUses runtime default if unset.\nMay also be set in SecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence\nfor that container.\n+optional" - }, - "runAsNonRoot": { - "type": "boolean", - "title": "Indicates that the container must run as a non-root user.\nIf true, the Kubelet will validate the image at runtime to ensure that it\ndoes not run as UID 0 (root) and fail to start the container if it does.\nIf unset or false, no such validation will be performed.\nMay also be set in SecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.\n+optional" - }, - "supplementalGroups": { - "type": "array", - "items": { - "type": "string", - "format": "int64" - }, - "title": "A list of groups applied to the first process run in each container, in addition\nto the container's primary GID. If unspecified, no groups will be added to\nany container.\n+optional" - }, - "fsGroup": { - "type": "string", - "format": "int64", - "description": "1. The owning GID will be the FSGroup\n2. The setgid bit is set (new files created in the volume will be owned by FSGroup)\n3. The permission bits are OR'd with rw-rw----\n\nIf unset, the Kubelet will not modify the ownership and permissions of any volume.\n+optional", - "title": "A special supplemental group that applies to all containers in a pod.\nSome volume types allow the Kubelet to change the ownership of that volume\nto be owned by the pod:" - }, - "sysctls": { - "type": "array", - "items": { - "$ref": "#/definitions/v1Sysctl" - }, - "title": "Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported\nsysctls (by the container runtime) might fail to launch.\n+optional" - }, - "fsGroupChangePolicy": { - "type": "string", - "title": "fsGroupChangePolicy defines behavior of changing ownership and permission of the volume\nbefore being exposed inside Pod. This field will only apply to\nvolume types which support fsGroup based ownership(and permissions).\nIt will have no effect on ephemeral volume types such as: secret, configmaps\nand emptydir.\nValid values are \"OnRootMismatch\" and \"Always\". If not specified, \"Always\" is used.\n+optional" - }, - "seccompProfile": { - "$ref": "#/definitions/v1SeccompProfile", - "title": "The seccomp options to use by the containers in this pod.\n+optional" - } - }, - "description": "PodSecurityContext holds pod-level security attributes and common container settings.\nSome fields are also present in container.securityContext. Field values of\ncontainer.securityContext take precedence over field values of PodSecurityContext." - }, - "v1PodSpec": { - "type": "object", - "properties": { - "volumes": { - "type": "array", - "items": { - "$ref": "#/definitions/v1Volume" - }, - "title": "List of volumes that can be mounted by containers belonging to the pod.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes\n+optional\n+patchMergeKey=name\n+patchStrategy=merge,retainKeys" - }, - "initContainers": { - "type": "array", - "items": { - "$ref": "#/definitions/v1Container" - }, - "title": "List of initialization containers belonging to the pod.\nInit containers are executed in order prior to containers being started. If any\ninit container fails, the pod is considered to have failed and is handled according\nto its restartPolicy. The name for an init container or normal container must be\nunique among all containers.\nInit containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes.\nThe resourceRequirements of an init container are taken into account during scheduling\nby finding the highest request/limit for each resource type, and then using the max of\nof that value or the sum of the normal containers. Limits are applied to init containers\nin a similar fashion.\nInit containers cannot currently be added or removed.\nCannot be updated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/\n+patchMergeKey=name\n+patchStrategy=merge" - }, - "containers": { - "type": "array", - "items": { - "$ref": "#/definitions/v1Container" - }, - "title": "List of containers belonging to the pod.\nContainers cannot currently be added or removed.\nThere must be at least one container in a Pod.\nCannot be updated.\n+patchMergeKey=name\n+patchStrategy=merge" - }, - "ephemeralContainers": { - "type": "array", - "items": { - "$ref": "#/definitions/v1EphemeralContainer" - }, - "title": "List of ephemeral containers run in this pod. Ephemeral containers may be run in an existing\npod to perform user-initiated actions such as debugging. This list cannot be specified when\ncreating a pod, and it cannot be modified by updating the pod spec. In order to add an\nephemeral container to an existing pod, use the pod's ephemeralcontainers subresource.\nThis field is alpha-level and is only honored by servers that enable the EphemeralContainers feature.\n+optional\n+patchMergeKey=name\n+patchStrategy=merge" - }, - "restartPolicy": { - "type": "string", - "title": "Restart policy for all containers within the pod.\nOne of Always, OnFailure, Never.\nDefault to Always.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy\n+optional" - }, - "terminationGracePeriodSeconds": { - "type": "string", - "format": "int64", - "title": "Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request.\nValue must be non-negative integer. The value zero indicates delete immediately.\nIf this value is nil, the default grace period will be used instead.\nThe grace period is the duration in seconds after the processes running in the pod are sent\na termination signal and the time when the processes are forcibly halted with a kill signal.\nSet this value longer than the expected cleanup time for your process.\nDefaults to 30 seconds.\n+optional" - }, - "activeDeadlineSeconds": { - "type": "string", - "format": "int64", - "title": "Optional duration in seconds the pod may be active on the node relative to\nStartTime before the system will actively try to mark it failed and kill associated containers.\nValue must be a positive integer.\n+optional" - }, - "dnsPolicy": { - "type": "string", - "title": "Set DNS policy for the pod.\nDefaults to \"ClusterFirst\".\nValid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'.\nDNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy.\nTo have DNS options set along with hostNetwork, you have to specify DNS policy\nexplicitly to 'ClusterFirstWithHostNet'.\n+optional" - }, - "nodeSelector": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "title": "NodeSelector is a selector which must be true for the pod to fit on a node.\nSelector which must match a node's labels for the pod to be scheduled on that node.\nMore info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/\n+optional" - }, - "serviceAccountName": { - "type": "string", - "title": "ServiceAccountName is the name of the ServiceAccount to use to run this pod.\nMore info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/\n+optional" - }, - "serviceAccount": { - "type": "string", - "title": "DeprecatedServiceAccount is a depreciated alias for ServiceAccountName.\nDeprecated: Use serviceAccountName instead.\n+k8s:conversion-gen=false\n+optional" - }, - "automountServiceAccountToken": { - "type": "boolean", - "title": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.\n+optional" - }, - "nodeName": { - "type": "string", - "title": "NodeName is a request to schedule this pod onto a specific node. If it is non-empty,\nthe scheduler simply schedules this pod onto that node, assuming that it fits resource\nrequirements.\n+optional" - }, - "hostNetwork": { - "type": "boolean", - "title": "Host networking requested for this pod. Use the host's network namespace.\nIf this option is set, the ports that will be used must be specified.\nDefault to false.\n+k8s:conversion-gen=false\n+optional" - }, - "hostPID": { - "type": "boolean", - "title": "Use the host's pid namespace.\nOptional: Default to false.\n+k8s:conversion-gen=false\n+optional" - }, - "hostIPC": { - "type": "boolean", - "title": "Use the host's ipc namespace.\nOptional: Default to false.\n+k8s:conversion-gen=false\n+optional" - }, - "shareProcessNamespace": { - "type": "boolean", - "title": "Share a single process namespace between all of the containers in a pod.\nWhen this is set containers will be able to view and signal processes from other containers\nin the same pod, and the first process in each container will not be assigned PID 1.\nHostPID and ShareProcessNamespace cannot both be set.\nOptional: Default to false.\n+k8s:conversion-gen=false\n+optional" - }, - "securityContext": { - "$ref": "#/definitions/v1PodSecurityContext", - "title": "SecurityContext holds pod-level security attributes and common container settings.\nOptional: Defaults to empty. See type description for default values of each field.\n+optional" - }, - "imagePullSecrets": { - "type": "array", - "items": { - "$ref": "#/definitions/v1LocalObjectReference" - }, - "title": "ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec.\nIf specified, these secrets will be passed to individual puller implementations for them to use. For example,\nin the case of docker, only DockerConfig type secrets are honored.\nMore info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod\n+optional\n+patchMergeKey=name\n+patchStrategy=merge" - }, - "hostname": { - "type": "string", - "title": "Specifies the hostname of the Pod\nIf not specified, the pod's hostname will be set to a system-defined value.\n+optional" - }, - "subdomain": { - "type": "string", - "title": "If specified, the fully qualified Pod hostname will be \"\u003chostname\u003e.\u003csubdomain\u003e.\u003cpod namespace\u003e.svc.\u003ccluster domain\u003e\".\nIf not specified, the pod will not have a domainname at all.\n+optional" - }, - "affinity": { - "$ref": "#/definitions/v1Affinity", - "title": "If specified, the pod's scheduling constraints\n+optional" - }, - "schedulerName": { - "type": "string", - "title": "If specified, the pod will be dispatched by specified scheduler.\nIf not specified, the pod will be dispatched by default scheduler.\n+optional" - }, - "tolerations": { - "type": "array", - "items": { - "$ref": "#/definitions/v1Toleration" - }, - "title": "If specified, the pod's tolerations.\n+optional" - }, - "hostAliases": { - "type": "array", - "items": { - "$ref": "#/definitions/v1HostAlias" - }, - "title": "HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts\nfile if specified. This is only valid for non-hostNetwork pods.\n+optional\n+patchMergeKey=ip\n+patchStrategy=merge" - }, - "priorityClassName": { - "type": "string", - "title": "If specified, indicates the pod's priority. \"system-node-critical\" and\n\"system-cluster-critical\" are two special keywords which indicate the\nhighest priorities with the former being the highest priority. Any other\nname must be defined by creating a PriorityClass object with that name.\nIf not specified, the pod priority will be default or zero if there is no\ndefault.\n+optional" - }, - "priority": { - "type": "integer", - "format": "int32", - "title": "The priority value. Various system components use this field to find the\npriority of the pod. When Priority Admission Controller is enabled, it\nprevents users from setting this field. The admission controller populates\nthis field from PriorityClassName.\nThe higher the value, the higher the priority.\n+optional" - }, - "dnsConfig": { - "$ref": "#/definitions/v1PodDNSConfig", - "title": "Specifies the DNS parameters of a pod.\nParameters specified here will be merged to the generated DNS\nconfiguration based on DNSPolicy.\n+optional" - }, - "readinessGates": { - "type": "array", - "items": { - "$ref": "#/definitions/v1PodReadinessGate" - }, - "title": "If specified, all readiness gates will be evaluated for pod readiness.\nA pod is ready when all its containers are ready AND\nall conditions specified in the readiness gates have status equal to \"True\"\nMore info: https://git.k8s.io/enhancements/keps/sig-network/0007-pod-ready%2B%2B.md\n+optional" - }, - "runtimeClassName": { - "type": "string", - "title": "RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used\nto run this pod. If no RuntimeClass resource matches the named class, the pod will not be run.\nIf unset or empty, the \"legacy\" RuntimeClass will be used, which is an implicit class with an\nempty definition that uses the default runtime handler.\nMore info: https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md\nThis is a beta feature as of Kubernetes v1.14.\n+optional" - }, - "enableServiceLinks": { - "type": "boolean", - "title": "EnableServiceLinks indicates whether information about services should be injected into pod's\nenvironment variables, matching the syntax of Docker links.\nOptional: Defaults to true.\n+optional" - }, - "preemptionPolicy": { - "type": "string", - "title": "PreemptionPolicy is the Policy for preempting pods with lower priority.\nOne of Never, PreemptLowerPriority.\nDefaults to PreemptLowerPriority if unset.\nThis field is beta-level, gated by the NonPreemptingPriority feature-gate.\n+optional" - }, - "overhead": { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/resourceQuantity" - }, - "title": "Overhead represents the resource overhead associated with running a pod for a given RuntimeClass.\nThis field will be autopopulated at admission time by the RuntimeClass admission controller. If\nthe RuntimeClass admission controller is enabled, overhead must not be set in Pod create requests.\nThe RuntimeClass admission controller will reject Pod create requests which have the overhead already\nset. If RuntimeClass is configured and selected in the PodSpec, Overhead will be set to the value\ndefined in the corresponding RuntimeClass, otherwise it will remain unset and treated as zero.\nMore info: https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md\nThis field is alpha-level as of Kubernetes v1.16, and is only honored by servers that enable the PodOverhead feature.\n+optional" - }, - "topologySpreadConstraints": { - "type": "array", - "items": { - "$ref": "#/definitions/v1TopologySpreadConstraint" - }, - "title": "TopologySpreadConstraints describes how a group of pods ought to spread across topology\ndomains. Scheduler will schedule pods in a way which abides by the constraints.\nAll topologySpreadConstraints are ANDed.\n+optional\n+patchMergeKey=topologyKey\n+patchStrategy=merge\n+listType=map\n+listMapKey=topologyKey\n+listMapKey=whenUnsatisfiable" - }, - "setHostnameAsFQDN": { - "type": "boolean", - "title": "If true the pod's hostname will be configured as the pod's FQDN, rather than the leaf name (the default).\nIn Linux containers, this means setting the FQDN in the hostname field of the kernel (the nodename field of struct utsname).\nIn Windows containers, this means setting the registry value of hostname for the registry key HKEY_LOCAL_MACHINE\\\\SYSTEM\\\\CurrentControlSet\\\\Services\\\\Tcpip\\\\Parameters to FQDN.\nIf a pod does not have FQDN, this has no effect.\nDefault to false.\n+optional" - } - }, - "description": "PodSpec is a description of a pod." - }, - "v1PodTemplateSpec": { - "type": "object", - "properties": { - "metadata": { - "$ref": "#/definitions/v1ObjectMeta", - "title": "Standard object's metadata.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata\n+optional" - }, - "spec": { - "$ref": "#/definitions/v1PodSpec", - "title": "Specification of the desired behavior of the pod.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status\n+optional" - } - }, - "title": "PodTemplateSpec describes the data a pod should have when created from a template" - }, - "v1PortworxVolumeSource": { - "type": "object", - "properties": { - "volumeID": { - "type": "string", - "title": "VolumeID uniquely identifies a Portworx volume" - }, - "fsType": { - "type": "string", - "description": "FSType represents the filesystem type to mount\nMust be a filesystem type supported by the host operating system.\nEx. \"ext4\", \"xfs\". Implicitly inferred to be \"ext4\" if unspecified." - }, - "readOnly": { - "type": "boolean", - "title": "Defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts.\n+optional" - } - }, - "description": "PortworxVolumeSource represents a Portworx volume resource." - }, - "v1PreferredSchedulingTerm": { - "type": "object", - "properties": { - "weight": { - "type": "integer", - "format": "int32", - "description": "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100." - }, - "preference": { - "$ref": "#/definitions/v1NodeSelectorTerm", - "description": "A node selector term, associated with the corresponding weight." - } - }, - "description": "An empty preferred scheduling term matches all objects with implicit weight 0\n(i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op)." - }, - "v1Probe": { - "type": "object", - "properties": { - "handler": { - "$ref": "#/definitions/v1Handler", - "title": "The action taken to determine the health of a container" - }, - "initialDelaySeconds": { - "type": "integer", - "format": "int32", - "title": "Number of seconds after the container has started before liveness probes are initiated.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes\n+optional" - }, - "timeoutSeconds": { - "type": "integer", - "format": "int32", - "title": "Number of seconds after which the probe times out.\nDefaults to 1 second. Minimum value is 1.\nMore info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes\n+optional" - }, - "periodSeconds": { - "type": "integer", - "format": "int32", - "title": "How often (in seconds) to perform the probe.\nDefault to 10 seconds. Minimum value is 1.\n+optional" - }, - "successThreshold": { - "type": "integer", - "format": "int32", - "title": "Minimum consecutive successes for the probe to be considered successful after having failed.\nDefaults to 1. Must be 1 for liveness and startup. Minimum value is 1.\n+optional" - }, - "failureThreshold": { - "type": "integer", - "format": "int32", - "title": "Minimum consecutive failures for the probe to be considered failed after having succeeded.\nDefaults to 3. Minimum value is 1.\n+optional" - } - }, - "description": "Probe describes a health check to be performed against a container to determine whether it is\nalive or ready to receive traffic." - }, - "v1ProjectedVolumeSource": { - "type": "object", - "properties": { - "sources": { - "type": "array", - "items": { - "$ref": "#/definitions/v1VolumeProjection" - }, - "title": "list of volume projections\n+optional" - }, - "defaultMode": { - "type": "integer", - "format": "int32", - "title": "Mode bits used to set permissions on created files by default.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values for mode bits.\nDirectories within the path are not affected by this setting.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.\n+optional" - } - }, - "title": "Represents a projected volume source" - }, - "v1QuobyteVolumeSource": { - "type": "object", - "properties": { - "registry": { - "type": "string", - "title": "Registry represents a single or multiple Quobyte Registry services\nspecified as a string as host:port pair (multiple entries are separated with commas)\nwhich acts as the central registry for volumes" - }, - "volume": { - "type": "string", - "description": "Volume is a string that references an already created Quobyte volume by name." - }, - "readOnly": { - "type": "boolean", - "title": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions.\nDefaults to false.\n+optional" - }, - "user": { - "type": "string", - "title": "User to map volume access to\nDefaults to serivceaccount user\n+optional" - }, - "group": { - "type": "string", - "title": "Group to map volume access to\nDefault is no group\n+optional" - }, - "tenant": { - "type": "string", - "title": "Tenant owning the given Quobyte volume in the Backend\nUsed with dynamically provisioned Quobyte volumes, value is set by the plugin\n+optional" - } - }, - "description": "Represents a Quobyte mount that lasts the lifetime of a pod.\nQuobyte volumes do not support ownership management or SELinux relabeling." - }, - "v1RBDVolumeSource": { - "type": "object", - "properties": { - "monitors": { - "type": "array", - "items": { - "type": "string" - }, - "title": "A collection of Ceph monitors.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" - }, - "image": { - "type": "string", - "title": "The rados image name.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" - }, - "fsType": { - "type": "string", - "title": "Filesystem type of the volume that you want to mount.\nTip: Ensure that the filesystem type is supported by the host operating system.\nExamples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#rbd\nTODO: how do we prevent errors in the filesystem from compromising the machine\n+optional" - }, - "pool": { - "type": "string", - "title": "The rados pool name.\nDefault is rbd.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it\n+optional" - }, - "user": { - "type": "string", - "title": "The rados user name.\nDefault is admin.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it\n+optional" - }, - "keyring": { - "type": "string", - "title": "Keyring is the path to key ring for RBDUser.\nDefault is /etc/ceph/keyring.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it\n+optional" - }, - "secretRef": { - "$ref": "#/definitions/v1LocalObjectReference", - "title": "SecretRef is name of the authentication secret for RBDUser. If provided\noverrides keyring.\nDefault is nil.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it\n+optional" - }, - "readOnly": { - "type": "boolean", - "title": "ReadOnly here will force the ReadOnly setting in VolumeMounts.\nDefaults to false.\nMore info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it\n+optional" - } - }, - "description": "Represents a Rados Block Device mount that lasts the lifetime of a pod.\nRBD volumes support ownership management and SELinux relabeling." - }, - "v1ResourceFieldSelector": { - "type": "object", - "properties": { - "containerName": { - "type": "string", - "title": "Container name: required for volumes, optional for env vars\n+optional" - }, - "resource": { - "type": "string", - "title": "Required: resource to select" - }, - "divisor": { - "$ref": "#/definitions/resourceQuantity", - "title": "Specifies the output format of the exposed resources, defaults to \"1\"\n+optional" - } - }, - "title": "ResourceFieldSelector represents container resources (cpu, memory) and their output format" - }, - "v1SELinuxOptions": { - "type": "object", - "properties": { - "user": { - "type": "string", - "title": "User is a SELinux user label that applies to the container.\n+optional" - }, - "role": { - "type": "string", - "title": "Role is a SELinux role label that applies to the container.\n+optional" - }, - "type": { - "type": "string", - "title": "Type is a SELinux type label that applies to the container.\n+optional" - }, - "level": { - "type": "string", - "title": "Level is SELinux level label that applies to the container.\n+optional" - } - }, - "title": "SELinuxOptions are the labels to be applied to the container" - }, - "v1ScaleIOVolumeSource": { - "type": "object", - "properties": { - "gateway": { - "type": "string", - "description": "The host address of the ScaleIO API Gateway." - }, - "system": { - "type": "string", - "description": "The name of the storage system as configured in ScaleIO." - }, - "secretRef": { - "$ref": "#/definitions/v1LocalObjectReference", - "description": "SecretRef references to the secret for ScaleIO user and other\nsensitive information. If this is not provided, Login operation will fail." - }, - "sslEnabled": { - "type": "boolean", - "title": "Flag to enable/disable SSL communication with Gateway, default false\n+optional" - }, - "protectionDomain": { - "type": "string", - "title": "The name of the ScaleIO Protection Domain for the configured storage.\n+optional" - }, - "storagePool": { - "type": "string", - "title": "The ScaleIO Storage Pool associated with the protection domain.\n+optional" - }, - "storageMode": { - "type": "string", - "title": "Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.\nDefault is ThinProvisioned.\n+optional" - }, - "volumeName": { - "type": "string", - "description": "The name of a volume already created in the ScaleIO system\nthat is associated with this volume source." - }, - "fsType": { - "type": "string", - "title": "Filesystem type to mount.\nMust be a filesystem type supported by the host operating system.\nEx. \"ext4\", \"xfs\", \"ntfs\".\nDefault is \"xfs\".\n+optional" - }, - "readOnly": { - "type": "boolean", - "title": "Defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts.\n+optional" - } - }, - "title": "ScaleIOVolumeSource represents a persistent ScaleIO volume" - }, - "v1SeccompProfile": { - "type": "object", - "properties": { - "type": { - "type": "string", - "description": "Localhost - a profile defined in a file on the node should be used.\nRuntimeDefault - the container runtime default profile should be used.\nUnconfined - no profile should be applied.\n+unionDiscriminator", - "title": "type indicates which kind of seccomp profile will be applied.\nValid options are:" - }, - "localhostProfile": { - "type": "string", - "title": "localhostProfile indicates a profile defined in a file on the node should be used.\nThe profile must be preconfigured on the node to work.\nMust be a descending path, relative to the kubelet's configured seccomp profile location.\nMust only be set if type is \"Localhost\".\n+optional" - } - }, - "title": "SeccompProfile defines a pod/container's seccomp profile settings.\nOnly one profile source may be set.\n+union" - }, - "v1SecretEnvSource": { - "type": "object", - "properties": { - "localObjectReference": { - "$ref": "#/definitions/v1LocalObjectReference", - "description": "The Secret to select from." - }, - "optional": { - "type": "boolean", - "title": "Specify whether the Secret must be defined\n+optional" - } - }, - "description": "SecretEnvSource selects a Secret to populate the environment\nvariables with.\n\nThe contents of the target Secret's Data field will represent the\nkey-value pairs as environment variables." - }, - "v1SecretKeySelector": { - "type": "object", - "properties": { - "localObjectReference": { - "$ref": "#/definitions/v1LocalObjectReference", - "description": "The name of the secret in the pod's namespace to select from." - }, - "key": { - "type": "string", - "description": "The key of the secret to select from. Must be a valid secret key." - }, - "optional": { - "type": "boolean", - "title": "Specify whether the Secret or its key must be defined\n+optional" - } - }, - "description": "SecretKeySelector selects a key of a Secret." - }, - "v1SecretProjection": { - "type": "object", - "properties": { - "localObjectReference": { - "$ref": "#/definitions/v1LocalObjectReference" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/v1KeyToPath" - }, - "title": "If unspecified, each key-value pair in the Data field of the referenced\nSecret will be projected into the volume as a file whose name is the\nkey and content is the value. If specified, the listed keys will be\nprojected into the specified paths, and unlisted keys will not be\npresent. If a key is specified which is not present in the Secret,\nthe volume setup will error unless it is marked optional. Paths must be\nrelative and may not contain the '..' path or start with '..'.\n+optional" - }, - "optional": { - "type": "boolean", - "title": "Specify whether the Secret or its key must be defined\n+optional" - } - }, - "description": "Adapts a secret into a projected volume.\n\nThe contents of the target Secret's Data field will be presented in a\nprojected volume as files using the keys in the Data field as the file names.\nNote that this is identical to a secret volume source without the default\nmode." - }, - "v1SecretVolumeSource": { - "type": "object", - "properties": { - "secretName": { - "type": "string", - "title": "Name of the secret in the pod's namespace to use.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#secret\n+optional" - }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/v1KeyToPath" - }, - "title": "If unspecified, each key-value pair in the Data field of the referenced\nSecret will be projected into the volume as a file whose name is the\nkey and content is the value. If specified, the listed keys will be\nprojected into the specified paths, and unlisted keys will not be\npresent. If a key is specified which is not present in the Secret,\nthe volume setup will error unless it is marked optional. Paths must be\nrelative and may not contain the '..' path or start with '..'.\n+optional" - }, - "defaultMode": { - "type": "integer", - "format": "int32", - "title": "Optional: mode bits used to set permissions on created files by default.\nMust be an octal value between 0000 and 0777 or a decimal value between 0 and 511.\nYAML accepts both octal and decimal values, JSON requires decimal values\nfor mode bits. Defaults to 0644.\nDirectories within the path are not affected by this setting.\nThis might be in conflict with other options that affect the file\nmode, like fsGroup, and the result can be other mode bits set.\n+optional" - }, - "optional": { - "type": "boolean", - "title": "Specify whether the Secret or its keys must be defined\n+optional" - } - }, - "description": "Adapts a Secret into a volume.\n\nThe contents of the target Secret's Data field will be presented in a volume\nas files using the keys in the Data field as the file names.\nSecret volumes support ownership management and SELinux relabeling." - }, - "v1SecurityContext": { - "type": "object", - "properties": { - "capabilities": { - "$ref": "#/definitions/v1Capabilities", - "title": "The capabilities to add/drop when running containers.\nDefaults to the default set of capabilities granted by the container runtime.\n+optional" - }, - "privileged": { - "type": "boolean", - "title": "Run container in privileged mode.\nProcesses in privileged containers are essentially equivalent to root on the host.\nDefaults to false.\n+optional" - }, - "seLinuxOptions": { - "$ref": "#/definitions/v1SELinuxOptions", - "title": "The SELinux context to be applied to the container.\nIf unspecified, the container runtime will allocate a random SELinux context for each\ncontainer. May also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.\n+optional" - }, - "windowsOptions": { - "$ref": "#/definitions/v1WindowsSecurityContextOptions", - "title": "The Windows specific settings applied to all containers.\nIf unspecified, the options from the PodSecurityContext will be used.\nIf set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.\n+optional" - }, - "runAsUser": { - "type": "string", - "format": "int64", - "title": "The UID to run the entrypoint of the container process.\nDefaults to user specified in image metadata if unspecified.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.\n+optional" - }, - "runAsGroup": { - "type": "string", - "format": "int64", - "title": "The GID to run the entrypoint of the container process.\nUses runtime default if unset.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.\n+optional" - }, - "runAsNonRoot": { - "type": "boolean", - "title": "Indicates that the container must run as a non-root user.\nIf true, the Kubelet will validate the image at runtime to ensure that it\ndoes not run as UID 0 (root) and fail to start the container if it does.\nIf unset or false, no such validation will be performed.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.\n+optional" - }, - "readOnlyRootFilesystem": { - "type": "boolean", - "title": "Whether this container has a read-only root filesystem.\nDefault is false.\n+optional" - }, - "allowPrivilegeEscalation": { - "type": "boolean", - "title": "AllowPrivilegeEscalation controls whether a process can gain more\nprivileges than its parent process. This bool directly controls if\nthe no_new_privs flag will be set on the container process.\nAllowPrivilegeEscalation is true always when the container is:\n1) run as Privileged\n2) has CAP_SYS_ADMIN\n+optional" - }, - "procMount": { - "type": "string", - "title": "procMount denotes the type of proc mount to use for the containers.\nThe default is DefaultProcMount which uses the container runtime defaults for\nreadonly paths and masked paths.\nThis requires the ProcMountType feature flag to be enabled.\n+optional" - }, - "seccompProfile": { - "$ref": "#/definitions/v1SeccompProfile", - "title": "The seccomp options to use by this container. If seccomp options are\nprovided at both the pod \u0026 container level, the container options\noverride the pod options.\n+optional" - } - }, - "description": "SecurityContext holds security configuration that will be applied to a container.\nSome fields are present in both SecurityContext and PodSecurityContext. When both\nare set, the values in SecurityContext take precedence." - }, - "v1ServiceAccountTokenProjection": { - "type": "object", - "properties": { - "audience": { - "type": "string", - "title": "Audience is the intended audience of the token. A recipient of a token\nmust identify itself with an identifier specified in the audience of the\ntoken, and otherwise should reject the token. The audience defaults to the\nidentifier of the apiserver.\n+optional" - }, - "expirationSeconds": { - "type": "string", - "format": "int64", - "title": "ExpirationSeconds is the requested duration of validity of the service\naccount token. As the token approaches expiration, the kubelet volume\nplugin will proactively rotate the service account token. The kubelet will\nstart trying to rotate the token if the token is older than 80 percent of\nits time to live or if the token is older than 24 hours.Defaults to 1 hour\nand must be at least 10 minutes.\n+optional" - }, - "path": { - "type": "string", - "description": "Path is the path relative to the mount point of the file to project the\ntoken into." - } - }, - "description": "ServiceAccountTokenProjection represents a projected service account token\nvolume. This projection can be used to insert a service account token into\nthe pods runtime filesystem for use against APIs (Kubernetes API Server or\notherwise)." - }, - "v1StorageOSVolumeSource": { - "type": "object", - "properties": { - "volumeName": { - "type": "string", - "description": "VolumeName is the human-readable name of the StorageOS volume. Volume\nnames are only unique within a namespace." - }, - "volumeNamespace": { - "type": "string", - "title": "VolumeNamespace specifies the scope of the volume within StorageOS. If no\nnamespace is specified then the Pod's namespace will be used. This allows the\nKubernetes name scoping to be mirrored within StorageOS for tighter integration.\nSet VolumeName to any name to override the default behaviour.\nSet to \"default\" if you are not using namespaces within StorageOS.\nNamespaces that do not pre-exist within StorageOS will be created.\n+optional" - }, - "fsType": { - "type": "string", - "title": "Filesystem type to mount.\nMust be a filesystem type supported by the host operating system.\nEx. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.\n+optional" - }, - "readOnly": { - "type": "boolean", - "title": "Defaults to false (read/write). ReadOnly here will force\nthe ReadOnly setting in VolumeMounts.\n+optional" - }, - "secretRef": { - "$ref": "#/definitions/v1LocalObjectReference", - "title": "SecretRef specifies the secret to use for obtaining the StorageOS API\ncredentials. If not specified, default values will be attempted.\n+optional" - } - }, - "description": "Represents a StorageOS persistent volume resource." - }, - "v1Sysctl": { - "type": "object", - "properties": { - "name": { - "type": "string", - "title": "Name of a property to set" - }, - "value": { - "type": "string", - "title": "Value of a property to set" - } - }, - "title": "Sysctl defines a kernel parameter to be set" - }, - "v1TCPSocketAction": { - "type": "object", - "properties": { - "port": { - "$ref": "#/definitions/intstrIntOrString", - "description": "Number or name of the port to access on the container.\nNumber must be in the range 1 to 65535.\nName must be an IANA_SVC_NAME." - }, - "host": { - "type": "string", - "title": "Optional: Host name to connect to, defaults to the pod IP.\n+optional" - } - }, - "title": "TCPSocketAction describes an action based on opening a socket" - }, - "v1Time": { - "type": "object", - "properties": { - "seconds": { - "type": "string", - "format": "int64", - "description": "Represents seconds of UTC time since Unix epoch\n1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to\n9999-12-31T23:59:59Z inclusive." - }, - "nanos": { - "type": "integer", - "format": "int32", - "description": "Non-negative fractions of a second at nanosecond resolution. Negative\nsecond values with fractions must still have non-negative nanos values\nthat count forward in time. Must be from 0 to 999,999,999\ninclusive. This field may be limited in precision depending on context." - } - }, - "description": "Time is a wrapper around time.Time which supports correct\nmarshaling to YAML and JSON. Wrappers are provided for many\nof the factory methods that the time package offers.\n\n+protobuf.options.marshal=false\n+protobuf.as=Timestamp\n+protobuf.options.(gogoproto.goproto_stringer)=false" - }, - "v1Toleration": { - "type": "object", - "properties": { - "key": { - "type": "string", - "title": "Key is the taint key that the toleration applies to. Empty means match all taint keys.\nIf the key is empty, operator must be Exists; this combination means to match all values and all keys.\n+optional" - }, - "operator": { - "type": "string", - "title": "Operator represents a key's relationship to the value.\nValid operators are Exists and Equal. Defaults to Equal.\nExists is equivalent to wildcard for value, so that a pod can\ntolerate all taints of a particular category.\n+optional" - }, - "value": { - "type": "string", - "title": "Value is the taint value the toleration matches to.\nIf the operator is Exists, the value should be empty, otherwise just a regular string.\n+optional" - }, - "effect": { - "type": "string", - "title": "Effect indicates the taint effect to match. Empty means match all taint effects.\nWhen specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.\n+optional" - }, - "tolerationSeconds": { - "type": "string", - "format": "int64", - "title": "TolerationSeconds represents the period of time the toleration (which must be\nof effect NoExecute, otherwise this field is ignored) tolerates the taint. By default,\nit is not set, which means tolerate the taint forever (do not evict). Zero and\nnegative values will be treated as 0 (evict immediately) by the system.\n+optional" - } - }, - "description": "The pod this Toleration is attached to tolerates any taint that matches\nthe triple \u003ckey,value,effect\u003e using the matching operator \u003coperator\u003e." - }, - "v1TopologySpreadConstraint": { - "type": "object", - "properties": { - "maxSkew": { - "type": "integer", - "format": "int32", - "description": "MaxSkew describes the degree to which pods may be unevenly distributed.\nWhen `whenUnsatisfiable=DoNotSchedule`, it is the maximum permitted difference\nbetween the number of matching pods in the target topology and the global minimum.\nFor example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same\nlabelSelector spread as 1/1/0:\n+-------+-------+-------+\n| zone1 | zone2 | zone3 |\n+-------+-------+-------+\n| P | P | |\n+-------+-------+-------+\n- if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 1/1/1;\nscheduling it onto zone1(zone2) would make the ActualSkew(2-0) on zone1(zone2)\nviolate MaxSkew(1).\n- if MaxSkew is 2, incoming pod can be scheduled onto any zone.\nWhen `whenUnsatisfiable=ScheduleAnyway`, it is used to give higher precedence\nto topologies that satisfy it.\nIt's a required field. Default value is 1 and 0 is not allowed." - }, - "topologyKey": { - "type": "string", - "description": "TopologyKey is the key of node labels. Nodes that have a label with this key\nand identical values are considered to be in the same topology.\nWe consider each \u003ckey, value\u003e as a \"bucket\", and try to put balanced number\nof pods into each bucket.\nIt's a required field." - }, - "whenUnsatisfiable": { - "type": "string", - "description": "WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy\nthe spread constraint.\n- DoNotSchedule (default) tells the scheduler not to schedule it.\n- ScheduleAnyway tells the scheduler to schedule the pod in any location,\n but giving higher precedence to topologies that would help reduce the\n skew.\nA constraint is considered \"Unsatisfiable\" for an incoming pod\nif and only if every possible node assigment for that pod would violate\n\"MaxSkew\" on some topology.\nFor example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same\nlabelSelector spread as 3/1/1:\n+-------+-------+-------+\n| zone1 | zone2 | zone3 |\n+-------+-------+-------+\n| P P P | P | P |\n+-------+-------+-------+\nIf WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled\nto zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies\nMaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler\nwon't make it *more* imbalanced.\nIt's a required field." - }, - "labelSelector": { - "$ref": "#/definitions/v1LabelSelector", - "title": "LabelSelector is used to find matching pods.\nPods that match this label selector are counted to determine the number of pods\nin their corresponding topology domain.\n+optional" - } - }, - "description": "TopologySpreadConstraint specifies how to spread matching pods among the given topology." - }, - "v1TypedLocalObjectReference": { - "type": "object", - "properties": { - "apiGroup": { - "type": "string", - "title": "APIGroup is the group for the resource being referenced.\nIf APIGroup is not specified, the specified Kind must be in the core API group.\nFor any other third-party types, APIGroup is required.\n+optional" - }, - "kind": { - "type": "string", - "title": "Kind is the type of resource being referenced" - }, - "name": { - "type": "string", - "title": "Name is the name of resource being referenced" - } - }, - "description": "TypedLocalObjectReference contains enough information to let you locate the\ntyped referenced object inside the same namespace." - }, - "v1Volume": { - "type": "object", - "properties": { - "name": { - "type": "string", - "title": "Volume's name.\nMust be a DNS_LABEL and unique within the pod.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names" - }, - "volumeSource": { - "$ref": "#/definitions/v1VolumeSource", - "description": "VolumeSource represents the location and type of the mounted volume.\nIf not specified, the Volume is implied to be an EmptyDir.\nThis implied behavior is deprecated and will be removed in a future version." - } - }, - "description": "Volume represents a named volume in a pod that may be accessed by any container in the pod." - }, - "v1VolumeDevice": { - "type": "object", - "properties": { - "name": { - "type": "string", - "title": "name must match the name of a persistentVolumeClaim in the pod" - }, - "devicePath": { - "type": "string", - "description": "devicePath is the path inside of the container that the device will be mapped to." - } - }, - "description": "volumeDevice describes a mapping of a raw block device within a container." - }, - "v1VolumeProjection": { - "type": "object", - "properties": { - "secret": { - "$ref": "#/definitions/v1SecretProjection", - "title": "information about the secret data to project\n+optional" - }, - "downwardAPI": { - "$ref": "#/definitions/v1DownwardAPIProjection", - "title": "information about the downwardAPI data to project\n+optional" - }, - "configMap": { - "$ref": "#/definitions/v1ConfigMapProjection", - "title": "information about the configMap data to project\n+optional" - }, - "serviceAccountToken": { - "$ref": "#/definitions/v1ServiceAccountTokenProjection", - "title": "information about the serviceAccountToken data to project\n+optional" - } - }, - "title": "Projection that may be projected along with other supported volume types" - }, - "v1VolumeSource": { - "type": "object", - "properties": { - "hostPath": { - "$ref": "#/definitions/v1HostPathVolumeSource", - "title": "HostPath represents a pre-existing file or directory on the host\nmachine that is directly exposed to the container. This is generally\nused for system agents or other privileged things that are allowed\nto see the host machine. Most containers will NOT need this.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath\n---\nTODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not\nmount host directories as read/write.\n+optional" - }, - "emptyDir": { - "$ref": "#/definitions/v1EmptyDirVolumeSource", - "title": "EmptyDir represents a temporary directory that shares a pod's lifetime.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir\n+optional" - }, - "gcePersistentDisk": { - "$ref": "#/definitions/v1GCEPersistentDiskVolumeSource", - "title": "GCEPersistentDisk represents a GCE Disk resource that is attached to a\nkubelet's host machine and then exposed to the pod.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk\n+optional" - }, - "awsElasticBlockStore": { - "$ref": "#/definitions/v1AWSElasticBlockStoreVolumeSource", - "title": "AWSElasticBlockStore represents an AWS Disk resource that is attached to a\nkubelet's host machine and then exposed to the pod.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore\n+optional" - }, - "gitRepo": { - "$ref": "#/definitions/v1GitRepoVolumeSource", - "title": "GitRepo represents a git repository at a particular revision.\nDEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an\nEmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir\ninto the Pod's container.\n+optional" - }, - "secret": { - "$ref": "#/definitions/v1SecretVolumeSource", - "title": "Secret represents a secret that should populate this volume.\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#secret\n+optional" - }, - "nfs": { - "$ref": "#/definitions/v1NFSVolumeSource", - "title": "NFS represents an NFS mount on the host that shares a pod's lifetime\nMore info: https://kubernetes.io/docs/concepts/storage/volumes#nfs\n+optional" - }, - "iscsi": { - "$ref": "#/definitions/v1ISCSIVolumeSource", - "title": "ISCSI represents an ISCSI Disk resource that is attached to a\nkubelet's host machine and then exposed to the pod.\nMore info: https://examples.k8s.io/volumes/iscsi/README.md\n+optional" - }, - "glusterfs": { - "$ref": "#/definitions/v1GlusterfsVolumeSource", - "title": "Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.\nMore info: https://examples.k8s.io/volumes/glusterfs/README.md\n+optional" - }, - "persistentVolumeClaim": { - "$ref": "#/definitions/v1PersistentVolumeClaimVolumeSource", - "title": "PersistentVolumeClaimVolumeSource represents a reference to a\nPersistentVolumeClaim in the same namespace.\nMore info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims\n+optional" - }, - "rbd": { - "$ref": "#/definitions/v1RBDVolumeSource", - "title": "RBD represents a Rados Block Device mount on the host that shares a pod's lifetime.\nMore info: https://examples.k8s.io/volumes/rbd/README.md\n+optional" - }, - "flexVolume": { - "$ref": "#/definitions/v1FlexVolumeSource", - "title": "FlexVolume represents a generic volume resource that is\nprovisioned/attached using an exec based plugin.\n+optional" - }, - "cinder": { - "$ref": "#/definitions/v1CinderVolumeSource", - "title": "Cinder represents a cinder volume attached and mounted on kubelets host machine.\nMore info: https://examples.k8s.io/mysql-cinder-pd/README.md\n+optional" - }, - "cephfs": { - "$ref": "#/definitions/v1CephFSVolumeSource", - "title": "CephFS represents a Ceph FS mount on the host that shares a pod's lifetime\n+optional" - }, - "flocker": { - "$ref": "#/definitions/v1FlockerVolumeSource", - "title": "Flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running\n+optional" - }, - "downwardAPI": { - "$ref": "#/definitions/v1DownwardAPIVolumeSource", - "title": "DownwardAPI represents downward API about the pod that should populate this volume\n+optional" - }, - "fc": { - "$ref": "#/definitions/v1FCVolumeSource", - "title": "FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.\n+optional" - }, - "azureFile": { - "$ref": "#/definitions/v1AzureFileVolumeSource", - "title": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.\n+optional" - }, - "configMap": { - "$ref": "#/definitions/v1ConfigMapVolumeSource", - "title": "ConfigMap represents a configMap that should populate this volume\n+optional" - }, - "vsphereVolume": { - "$ref": "#/definitions/v1VsphereVirtualDiskVolumeSource", - "title": "VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine\n+optional" - }, - "quobyte": { - "$ref": "#/definitions/v1QuobyteVolumeSource", - "title": "Quobyte represents a Quobyte mount on the host that shares a pod's lifetime\n+optional" - }, - "azureDisk": { - "$ref": "#/definitions/v1AzureDiskVolumeSource", - "title": "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.\n+optional" - }, - "photonPersistentDisk": { - "$ref": "#/definitions/v1PhotonPersistentDiskVolumeSource", - "title": "PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine" - }, - "projected": { - "$ref": "#/definitions/v1ProjectedVolumeSource", - "title": "Items for all in one resources secrets, configmaps, and downward API" - }, - "portworxVolume": { - "$ref": "#/definitions/v1PortworxVolumeSource", - "title": "PortworxVolume represents a portworx volume attached and mounted on kubelets host machine\n+optional" - }, - "scaleIO": { - "$ref": "#/definitions/v1ScaleIOVolumeSource", - "title": "ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.\n+optional" - }, - "storageos": { - "$ref": "#/definitions/v1StorageOSVolumeSource", - "title": "StorageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.\n+optional" - }, - "csi": { - "$ref": "#/definitions/v1CSIVolumeSource", - "title": "CSI (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers (Beta feature).\n+optional" - }, - "ephemeral": { - "$ref": "#/definitions/v1EphemeralVolumeSource", - "description": "Ephemeral represents a volume that is handled by a cluster storage driver (Alpha feature).\nThe volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts,\nand deleted when the pod is removed.\n\nUse this if:\na) the volume is only needed while the pod runs,\nb) features of normal volumes like restoring from snapshot or capacity\n tracking are needed,\nc) the storage driver is specified through a storage class, and\nd) the storage driver supports dynamic volume provisioning through\n a PersistentVolumeClaim (see EphemeralVolumeSource for more\n information on the connection between this volume type\n and PersistentVolumeClaim).\n\nUse PersistentVolumeClaim or one of the vendor-specific\nAPIs for volumes that persist for longer than the lifecycle\nof an individual pod.\n\nUse CSI for light-weight local ephemeral volumes if the CSI driver is meant to\nbe used that way - see the documentation of the driver for\nmore information.\n\nA pod can use both types of ephemeral volumes and\npersistent volumes at the same time.\n\n+optional" - } - }, - "description": "Represents the source of a volume to mount.\nOnly one of its members may be specified." - }, - "v1VsphereVirtualDiskVolumeSource": { - "type": "object", - "properties": { - "volumePath": { - "type": "string", - "title": "Path that identifies vSphere volume vmdk" - }, - "fsType": { - "type": "string", - "title": "Filesystem type to mount.\nMust be a filesystem type supported by the host operating system.\nEx. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.\n+optional" - }, - "storagePolicyName": { - "type": "string", - "title": "Storage Policy Based Management (SPBM) profile name.\n+optional" - }, - "storagePolicyID": { - "type": "string", - "title": "Storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName.\n+optional" - } - }, - "description": "Represents a vSphere volume resource." - }, - "v1WeightedPodAffinityTerm": { - "type": "object", - "properties": { - "weight": { - "type": "integer", - "format": "int32", - "description": "weight associated with matching the corresponding podAffinityTerm,\nin the range 1-100." - }, - "podAffinityTerm": { - "$ref": "#/definitions/v1PodAffinityTerm", - "description": "Required. A pod affinity term, associated with the corresponding weight." - } - }, - "title": "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)" - }, - "v1WindowsSecurityContextOptions": { - "type": "object", - "properties": { - "gmsaCredentialSpecName": { - "type": "string", - "title": "GMSACredentialSpecName is the name of the GMSA credential spec to use.\n+optional" - }, - "gmsaCredentialSpec": { - "type": "string", - "title": "GMSACredentialSpec is where the GMSA admission webhook\n(https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the\nGMSA credential spec named by the GMSACredentialSpecName field.\n+optional" - }, - "runAsUserName": { - "type": "string", - "title": "The UserName in Windows to run the entrypoint of the container process.\nDefaults to the user specified in image metadata if unspecified.\nMay also be set in PodSecurityContext. If set in both SecurityContext and\nPodSecurityContext, the value specified in SecurityContext takes precedence.\n+optional" - } - }, - "description": "WindowsSecurityContextOptions contain Windows-specific options and credentials." - }, - "v1beta1JobTemplateSpec": { - "type": "object", - "properties": { - "metadata": { - "$ref": "#/definitions/v1ObjectMeta", - "title": "Standard object's metadata of the jobs created from this template.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata\n+optional" - }, - "spec": { - "$ref": "#/definitions/v1JobSpec", - "title": "Specification of the desired behavior of the job.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status\n+optional" - } - }, - "title": "JobTemplateSpec describes the data a Job should have when created from a template" - }, - "v3ConditionStatus": { - "type": "string", - "enum": [ - "StatusNotSet", - "StatusSubmitted", - "StatusOK", - "StatusFailed" - ], - "default": "StatusNotSet", - "title": "$title: ConditionStatus\n$description: status of a condition for a resource" - }, - "v3ListMetadata": { - "type": "object", - "properties": { - "count": { - "type": "string", - "format": "int64" - }, - "offset": { - "type": "string", - "format": "int64" - }, - "limit": { - "type": "string", - "format": "int64" - } - }, - "title": "$title: ListMetadata\n$description: metadata for a list of resources\n$required: enabled" - }, - "v3Metadata": { - "type": "object", - "example": { - "name": "some-name", - "project": "defaultproject" - }, - "properties": { - "name": { - "type": "string", - "description": "name of the resource", - "title": "Name" - }, - "displayName": { - "type": "string", - "description": "display name of the resource", - "title": "Display Name" - }, - "description": { - "type": "string", - "description": "description of the resource", - "title": "Description" - }, - "labels": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "labels of the resource", - "title": "Lables" - }, - "annotations": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "annotations of the resource", - "title": "Annotations" - }, - "project": { - "type": "string", - "description": "Project of the resource", - "title": "Project" - }, - "organization": { - "type": "string", - "description": "Organization to which the resource belongs", - "title": "Organization" - }, - "partner": { - "type": "string", - "description": "Partner to which the resource belongs", - "title": "Partner" - }, - "id": { - "type": "string", - "readOnly": true - }, - "modifiedAt": { - "type": "string", - "format": "date-time", - "readOnly": true - } - }, - "description": "metadata of the resource", - "title": "Metadata", - "required": [ - "name", - "project" - ] - } - }, - "securityDefinitions": { - "ApiKeyAuth": { - "type": "apiKey", - "name": "X-PARALUS-API-KEYID", - "in": "header" - }, - "BasicAuth": { - "type": "basic" - } - }, - "security": [ - { - "ApiKeyAuth": [], - "BasicAuth": [] - } - ] -} diff --git a/gen/openapi/proto/rpc/role/role.swagger.json b/gen/openapi/proto/rpc/role/role.swagger.json index 4d83e254..c92ecc18 100644 --- a/gen/openapi/proto/rpc/role/role.swagger.json +++ b/gen/openapi/proto/rpc/role/role.swagger.json @@ -9,7 +9,7 @@ }, "tags": [ { - "name": "Role" + "name": "RoleService" } ], "schemes": [ @@ -26,7 +26,7 @@ "paths": { "/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/role/{metadata.name}": { "get": { - "operationId": "Role_GetRole", + "operationId": "RoleService_GetRole", "responses": { "200": { "description": "A successful response.", @@ -76,39 +76,39 @@ }, { "name": "apiVersion", - "description": "API Version. API Version of the Role resource", + "description": "API Version\n\nAPI Version of the Role resource", "in": "query", - "required": false, + "required": true, "type": "string", "default": "system.k8smgmt.io/v3" }, { "name": "kind", - "description": "Kind. Kind of the role resource", + "description": "Kind\n\nKind of the role resource", "in": "query", - "required": false, + "required": true, "type": "string", "default": "Role" }, { "name": "metadata.displayName", - "description": "Display Name. display name of the resource", + "description": "Display Name\n\ndisplay name of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.description", - "description": "Description. description of the resource", + "description": "Description\n\ndescription of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.project", - "description": "Project. Project of the resource", + "description": "Project\n\nProject of the resource", "in": "query", - "required": false, + "required": true, "type": "string" }, { @@ -139,7 +139,7 @@ }, { "name": "spec.rolepermissions", - "description": "Role Permissions. Permissions for the role", + "description": "Role Permissions\n\nPermissions for the role", "in": "query", "required": false, "type": "array", @@ -150,35 +150,35 @@ }, { "name": "spec.isGlobal", - "description": "IsGlobal. Specify if this is a global role", + "description": "IsGlobal\n\nSpecify if this is a global role", "in": "query", "required": false, "type": "boolean" }, { "name": "spec.scope", - "description": "Scope. Scope of role", + "description": "Scope\n\nScope of role", "in": "query", "required": false, "type": "string" }, { "name": "spec.builtin", - "description": "Builtin. Specify if this is a builtin role", + "description": "Builtin\n\nSpecify if this is a builtin role", "in": "query", "required": false, "type": "boolean" }, { "name": "status.conditionType", - "description": "Condition Type. type of the status condition", + "description": "Condition Type\n\ntype of the status condition", "in": "query", "required": false, "type": "string" }, { "name": "status.conditionStatus", - "description": "Condition Status. status of the condition", + "description": "Condition Status\n\nstatus of the condition", "in": "query", "required": false, "type": "string", @@ -192,7 +192,7 @@ }, { "name": "status.lastUpdated", - "description": "Last Updated. when the condition status is last updated", + "description": "Last Updated\n\nwhen the condition status is last updated", "in": "query", "required": false, "type": "string", @@ -200,18 +200,18 @@ }, { "name": "status.reason", - "description": "Reason. reason of the last condition status", + "description": "Reason\n\nreason of the last condition status", "in": "query", "required": false, "type": "string" } ], "tags": [ - "Role" + "RoleService" ] }, "delete": { - "operationId": "Role_DeleteRole", + "operationId": "RoleService_DeleteRole", "responses": { "200": { "description": "A successful response.", @@ -265,39 +265,39 @@ }, { "name": "apiVersion", - "description": "API Version. API Version of the Role resource", + "description": "API Version\n\nAPI Version of the Role resource", "in": "query", - "required": false, + "required": true, "type": "string", "default": "system.k8smgmt.io/v3" }, { "name": "kind", - "description": "Kind. Kind of the role resource", + "description": "Kind\n\nKind of the role resource", "in": "query", - "required": false, + "required": true, "type": "string", "default": "Role" }, { "name": "metadata.displayName", - "description": "Display Name. display name of the resource", + "description": "Display Name\n\ndisplay name of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.description", - "description": "Description. description of the resource", + "description": "Description\n\ndescription of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.project", - "description": "Project. Project of the resource", + "description": "Project\n\nProject of the resource", "in": "query", - "required": false, + "required": true, "type": "string" }, { @@ -328,7 +328,7 @@ }, { "name": "spec.rolepermissions", - "description": "Role Permissions. Permissions for the role", + "description": "Role Permissions\n\nPermissions for the role", "in": "query", "required": false, "type": "array", @@ -339,35 +339,35 @@ }, { "name": "spec.isGlobal", - "description": "IsGlobal. Specify if this is a global role", + "description": "IsGlobal\n\nSpecify if this is a global role", "in": "query", "required": false, "type": "boolean" }, { "name": "spec.scope", - "description": "Scope. Scope of role", + "description": "Scope\n\nScope of role", "in": "query", "required": false, "type": "string" }, { "name": "spec.builtin", - "description": "Builtin. Specify if this is a builtin role", + "description": "Builtin\n\nSpecify if this is a builtin role", "in": "query", "required": false, "type": "boolean" }, { "name": "status.conditionType", - "description": "Condition Type. type of the status condition", + "description": "Condition Type\n\ntype of the status condition", "in": "query", "required": false, "type": "string" }, { "name": "status.conditionStatus", - "description": "Condition Status. status of the condition", + "description": "Condition Status\n\nstatus of the condition", "in": "query", "required": false, "type": "string", @@ -381,7 +381,7 @@ }, { "name": "status.lastUpdated", - "description": "Last Updated. when the condition status is last updated", + "description": "Last Updated\n\nwhen the condition status is last updated", "in": "query", "required": false, "type": "string", @@ -389,18 +389,18 @@ }, { "name": "status.reason", - "description": "Reason. reason of the last condition status", + "description": "Reason\n\nreason of the last condition status", "in": "query", "required": false, "type": "string" } ], "tags": [ - "Role" + "RoleService" ] }, "put": { - "operationId": "Role_UpdateRole", + "operationId": "RoleService_UpdateRole", "responses": { "200": { "description": "A successful response.", @@ -453,18 +453,112 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v3Role" + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "default": "system.k8smgmt.io/v3", + "description": "API Version of the Role resource", + "title": "API Version" + }, + "kind": { + "type": "string", + "default": "Role", + "description": "Kind of the role resource", + "title": "Kind" + }, + "metadata": { + "type": "object", + "example": { + "name": "some-name", + "project": "defaultproject" + }, + "properties": { + "displayName": { + "type": "string", + "description": "display name of the resource", + "title": "Display Name" + }, + "description": { + "type": "string", + "description": "description of the resource", + "title": "Description" + }, + "labels": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "labels of the resource", + "title": "Labels" + }, + "annotations": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "annotations of the resource", + "title": "Annotations" + }, + "project": { + "type": "string", + "description": "Project of the resource", + "title": "Project" + }, + "id": { + "type": "string", + "readOnly": true + }, + "urlScope": { + "type": "string", + "readOnly": true + }, + "createdAt": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "modifiedAt": { + "type": "string", + "format": "date-time", + "readOnly": true + } + }, + "description": "metadata of the resource", + "title": "Metadata" + }, + "spec": { + "$ref": "#/definitions/v3RoleSpec", + "description": "Spec of the role resource", + "title": "Spec" + }, + "status": { + "$ref": "#/definitions/commonv3Status", + "description": "Status of the resource", + "title": "Status", + "readOnly": true + } + }, + "description": "Role", + "title": "Role", + "required": [ + "apiVersion", + "kind", + "metadata", + "spec", + "project" + ] } } ], "tags": [ - "Role" + "RoleService" ] } }, "/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/roles": { "get": { - "operationId": "Role_GetRoles", + "operationId": "RoleService_GetRoles", "responses": { "200": { "description": "A successful response.", @@ -507,46 +601,46 @@ }, { "name": "apiVersion", - "description": "API Version. API Version of the Role resource", + "description": "API Version\n\nAPI Version of the Role resource", "in": "query", - "required": false, + "required": true, "type": "string", "default": "system.k8smgmt.io/v3" }, { "name": "kind", - "description": "Kind. Kind of the role resource", + "description": "Kind\n\nKind of the role resource", "in": "query", - "required": false, + "required": true, "type": "string", "default": "Role" }, { "name": "metadata.name", - "description": "Name. name of the resource", + "description": "Name\n\nname of the resource", "in": "query", - "required": false, + "required": true, "type": "string" }, { "name": "metadata.displayName", - "description": "Display Name. display name of the resource", + "description": "Display Name\n\ndisplay name of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.description", - "description": "Description. description of the resource", + "description": "Description\n\ndescription of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.project", - "description": "Project. Project of the resource", + "description": "Project\n\nProject of the resource", "in": "query", - "required": false, + "required": true, "type": "string" }, { @@ -577,7 +671,7 @@ }, { "name": "spec.rolepermissions", - "description": "Role Permissions. Permissions for the role", + "description": "Role Permissions\n\nPermissions for the role", "in": "query", "required": false, "type": "array", @@ -588,35 +682,35 @@ }, { "name": "spec.isGlobal", - "description": "IsGlobal. Specify if this is a global role", + "description": "IsGlobal\n\nSpecify if this is a global role", "in": "query", "required": false, "type": "boolean" }, { "name": "spec.scope", - "description": "Scope. Scope of role", + "description": "Scope\n\nScope of role", "in": "query", "required": false, "type": "string" }, { "name": "spec.builtin", - "description": "Builtin. Specify if this is a builtin role", + "description": "Builtin\n\nSpecify if this is a builtin role", "in": "query", "required": false, "type": "boolean" }, { "name": "status.conditionType", - "description": "Condition Type. type of the status condition", + "description": "Condition Type\n\ntype of the status condition", "in": "query", "required": false, "type": "string" }, { "name": "status.conditionStatus", - "description": "Condition Status. status of the condition", + "description": "Condition Status\n\nstatus of the condition", "in": "query", "required": false, "type": "string", @@ -630,7 +724,7 @@ }, { "name": "status.lastUpdated", - "description": "Last Updated. when the condition status is last updated", + "description": "Last Updated\n\nwhen the condition status is last updated", "in": "query", "required": false, "type": "string", @@ -638,18 +732,18 @@ }, { "name": "status.reason", - "description": "Reason. reason of the last condition status", + "description": "Reason\n\nreason of the last condition status", "in": "query", "required": false, "type": "string" } ], "tags": [ - "Role" + "RoleService" ] }, "post": { - "operationId": "Role_CreateRole", + "operationId": "RoleService_CreateRole", "responses": { "200": { "description": "A successful response.", @@ -699,12 +793,112 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v3Role" + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "default": "system.k8smgmt.io/v3", + "description": "API Version of the Role resource", + "title": "API Version" + }, + "kind": { + "type": "string", + "default": "Role", + "description": "Kind of the role resource", + "title": "Kind" + }, + "metadata": { + "type": "object", + "example": { + "name": "some-name", + "project": "defaultproject" + }, + "properties": { + "name": { + "type": "string", + "description": "name of the resource", + "title": "Name" + }, + "displayName": { + "type": "string", + "description": "display name of the resource", + "title": "Display Name" + }, + "description": { + "type": "string", + "description": "description of the resource", + "title": "Description" + }, + "labels": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "labels of the resource", + "title": "Labels" + }, + "annotations": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "annotations of the resource", + "title": "Annotations" + }, + "project": { + "type": "string", + "description": "Project of the resource", + "title": "Project" + }, + "id": { + "type": "string", + "readOnly": true + }, + "urlScope": { + "type": "string", + "readOnly": true + }, + "createdAt": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "modifiedAt": { + "type": "string", + "format": "date-time", + "readOnly": true + } + }, + "description": "metadata of the resource", + "title": "Metadata" + }, + "spec": { + "$ref": "#/definitions/v3RoleSpec", + "description": "Spec of the role resource", + "title": "Spec" + }, + "status": { + "$ref": "#/definitions/commonv3Status", + "description": "Status of the resource", + "title": "Status", + "readOnly": true + } + }, + "description": "Role", + "title": "Role", + "required": [ + "apiVersion", + "kind", + "metadata", + "spec", + "name", + "project" + ] } } ], "tags": [ - "Role" + "RoleService" ] } } @@ -949,11 +1143,11 @@ "items": { "type": "array", "items": { - "$ref": "#/definitions/v3Role" + "$ref": "#/definitions/v3Role", + "readOnly": true }, "description": "List of role resources", - "title": "Items", - "readOnly": true + "title": "Items" } }, "description": "Role list", diff --git a/gen/openapi/proto/rpc/role/rolepermission.swagger.json b/gen/openapi/proto/rpc/role/rolepermission.swagger.json index 662b6a13..0e755574 100644 --- a/gen/openapi/proto/rpc/role/rolepermission.swagger.json +++ b/gen/openapi/proto/rpc/role/rolepermission.swagger.json @@ -9,7 +9,7 @@ }, "tags": [ { - "name": "Rolepermission" + "name": "RolepermissionService" } ], "schemes": [ @@ -26,7 +26,7 @@ "paths": { "/auth/v3/rolepermissions": { "get": { - "operationId": "Rolepermission_GetRolepermissions", + "operationId": "RolepermissionService_GetRolepermissions", "responses": { "200": { "description": "A successful response.", @@ -55,21 +55,21 @@ "parameters": [ { "name": "q", - "description": "query for filtering.", + "description": "query for filtering", "in": "query", "required": false, "type": "string" }, { "name": "name", - "description": "name is unique ID of a resource along with (partnerID, organizationID,\nprojectID).", + "description": "name is unique ID of a resource along with (partnerID, organizationID,\nprojectID)", "in": "query", "required": false, "type": "string" }, { "name": "selector", - "description": "selector is used to filter the labels of a resource.", + "description": "selector is used to filter the labels of a resource", "in": "query", "required": false, "type": "string" @@ -106,7 +106,7 @@ }, { "name": "displayName", - "description": "displayName only used for update queries to set displayName (READONLY).", + "description": "displayName only used for update queries to set displayName (READONLY)", "in": "query", "required": false, "type": "string" @@ -134,14 +134,14 @@ }, { "name": "ignoreScopeDefault", - "description": "ignoreScopeDefault ignores default values for partnerID, organizationID and\nprojectID.", + "description": "ignoreScopeDefault ignores default values for partnerID, organizationID and\nprojectID", "in": "query", "required": false, "type": "boolean" }, { "name": "globalScope", - "description": "globalScope sets partnerID,organizationID,projectID = 0.", + "description": "globalScope sets partnerID,organizationID,projectID = 0", "in": "query", "required": false, "type": "boolean" @@ -172,7 +172,7 @@ }, { "name": "urlScope", - "description": "urlScope is supposed to be passed in the URL as kind/HashID(value).", + "description": "urlScope is supposed to be passed in the URL as kind/HashID(value)", "in": "query", "required": false, "type": "string" @@ -231,14 +231,14 @@ }, { "name": "type", - "description": "generic way to specify a type of resource, mainly for use in users endpoint.", + "description": "generic way to specify a type of resource, mainly for use in users endpoint", "in": "query", "required": false, "type": "string" } ], "tags": [ - "Rolepermission" + "RolepermissionService" ] } } @@ -483,11 +483,11 @@ "items": { "type": "array", "items": { - "$ref": "#/definitions/v3RolePermission" + "$ref": "#/definitions/v3RolePermission", + "readOnly": true }, "description": "List of the role permission resources", - "title": "Items", - "readOnly": true + "title": "Items" } }, "description": "RolePeList list", diff --git a/gen/openapi/proto/rpc/scheduler/cluster.swagger.json b/gen/openapi/proto/rpc/scheduler/cluster.swagger.json index c96b655b..e701d34e 100644 --- a/gen/openapi/proto/rpc/scheduler/cluster.swagger.json +++ b/gen/openapi/proto/rpc/scheduler/cluster.swagger.json @@ -9,7 +9,7 @@ }, "tags": [ { - "name": "Cluster" + "name": "ClusterService" } ], "schemes": [ @@ -26,7 +26,7 @@ "paths": { "/infra/v3/project/{metadata.project}/cluster": { "post": { - "operationId": "Cluster_CreateCluster", + "operationId": "ClusterService_CreateCluster", "responses": { "200": { "description": "A successful response.", @@ -69,18 +69,124 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v3Cluster" + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "default": "infra.k8smgmt.io/v3", + "description": "API Version of the resource", + "title": "API Version", + "readOnly": true + }, + "kind": { + "type": "string", + "default": "Cluster", + "description": "Kind of the resource", + "title": "Kind", + "readOnly": true + }, + "metadata": { + "type": "object", + "example": { + "name": "some-name", + "project": "defaultproject" + }, + "properties": { + "name": { + "type": "string", + "description": "name of the resource", + "title": "Name" + }, + "displayName": { + "type": "string", + "description": "display name of the resource", + "title": "Display Name" + }, + "description": { + "type": "string", + "description": "description of the resource", + "title": "Description" + }, + "labels": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "labels of the resource", + "title": "Labels" + }, + "annotations": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "annotations of the resource", + "title": "Annotations" + }, + "organization": { + "type": "string", + "description": "Organization to which the resource belongs", + "title": "Organization" + }, + "partner": { + "type": "string", + "description": "Partner to which the resource belongs", + "title": "Partner" + }, + "id": { + "type": "string", + "readOnly": true + }, + "urlScope": { + "type": "string", + "readOnly": true + }, + "createdAt": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "modifiedAt": { + "type": "string", + "format": "date-time", + "readOnly": true + } + }, + "description": "metadata of the resource", + "title": "Metadata" + }, + "spec": { + "$ref": "#/definitions/v3ClusterSpec", + "description": "Spec of the resource", + "title": "Spec" + }, + "status": { + "$ref": "#/definitions/commonv3Status", + "description": "Status of the resource", + "title": "Status", + "readOnly": true + } + }, + "description": "Cluster", + "title": "Cluster", + "required": [ + "apiVersion", + "kind", + "metadata", + "spec", + "name" + ] } } ], "tags": [ - "Cluster" + "ClusterService" ] } }, "/infra/v3/project/{metadata.project}/cluster/{metadata.name}": { "get": { - "operationId": "Cluster_GetCluster", + "operationId": "ClusterService_GetCluster", "responses": { "200": { "description": "A successful response.", @@ -123,44 +229,44 @@ }, { "name": "apiVersion", - "description": "API Version. API Version of the resource", + "description": "API Version\n\nAPI Version of the resource", "in": "query", - "required": false, + "required": true, "type": "string", "default": "infra.k8smgmt.io/v3" }, { "name": "kind", - "description": "Kind. Kind of the resource", + "description": "Kind\n\nKind of the resource", "in": "query", - "required": false, + "required": true, "type": "string", "default": "Cluster" }, { "name": "metadata.displayName", - "description": "Display Name. display name of the resource", + "description": "Display Name\n\ndisplay name of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.description", - "description": "Description. description of the resource", + "description": "Description\n\ndescription of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.organization", - "description": "Organization. Organization to which the resource belongs", + "description": "Organization\n\nOrganization to which the resource belongs", "in": "query", "required": false, "type": "string" }, { "name": "metadata.partner", - "description": "Partner. Partner to which the resource belongs", + "description": "Partner\n\nPartner to which the resource belongs", "in": "query", "required": false, "type": "string" @@ -193,7 +299,7 @@ }, { "name": "spec.clusterType", - "description": "Cluster Type. Type of the cluster being created", + "description": "Cluster Type\n\nType of the cluster being created", "in": "query", "required": false, "type": "string", @@ -201,126 +307,126 @@ }, { "name": "spec.metro.id", - "description": "ID of Location. ID Location of the cluster", + "description": "ID of Location\n\nID Location of the cluster", "in": "query", "required": false, "type": "string" }, { "name": "spec.metro.name", - "description": "Location. Location of the cluster", + "description": "Location\n\nLocation of the cluster", "in": "query", "required": false, "type": "string" }, { "name": "spec.metro.city", - "description": "City. City of the location", + "description": "City\n\nCity of the location", "in": "query", "required": false, "type": "string" }, { "name": "spec.metro.state", - "description": "State. State of the location", + "description": "State\n\nState of the location", "in": "query", "required": false, "type": "string" }, { "name": "spec.metro.country", - "description": "Country. country of the location", + "description": "Country\n\ncountry of the location", "in": "query", "required": false, "type": "string" }, { "name": "spec.metro.locale", - "description": "Locale. locale of the location", + "description": "Locale\n\nlocale of the location", "in": "query", "required": false, "type": "string" }, { "name": "spec.metro.latitude", - "description": "Latitude. Latitude of the location", + "description": "Latitude\n\nLatitude of the location", "in": "query", "required": false, "type": "string" }, { "name": "spec.metro.longitude", - "description": "Longitude. Longitude of the location", + "description": "Longitude\n\nLongitude of the location", "in": "query", "required": false, "type": "string" }, { "name": "spec.metro.countryCode", - "description": "CountryCode. CountryCode of the location", + "description": "CountryCode\n\nCountryCode of the location", "in": "query", "required": false, "type": "string" }, { "name": "spec.metro.stateCode", - "description": "StateCode. StateCode of the location", + "description": "StateCode\n\nStateCode of the location", "in": "query", "required": false, "type": "string" }, { "name": "spec.overrideSelector", - "description": "Override Selector. Override selector of the cluster", + "description": "Override Selector\n\nOverride selector of the cluster", "in": "query", "required": false, "type": "string" }, { "name": "spec.params.environmentProvider", - "description": "EnvironmentProvider. environment provider of the cluster", + "description": "EnvironmentProvider\n\nenvironment provider of the cluster", "in": "query", "required": false, "type": "string" }, { "name": "spec.params.kubernetesProvider", - "description": "KubernetesProvider. kubernetes provider", + "description": "KubernetesProvider\n\nkubernetes provider", "in": "query", "required": false, "type": "string" }, { "name": "spec.params.provisionEnvironment", - "description": "ProvisionEnvironment. provision environment", + "description": "ProvisionEnvironment\n\nprovision environment", "in": "query", "required": false, "type": "string" }, { "name": "spec.params.provisionPackageType", - "description": "ProvisionPackageType. provision package type", + "description": "ProvisionPackageType\n\nprovision package type", "in": "query", "required": false, "type": "string" }, { "name": "spec.params.provisionType", - "description": "ProvisionType. provision type", + "description": "ProvisionType\n\nprovision type", "in": "query", "required": false, "type": "string" }, { "name": "spec.params.state", - "description": "State. state", + "description": "State\n\nstate", "in": "query", "required": false, "type": "string" }, { "name": "spec.shareMode", - "description": "Override Selector. Override selector of the cluster", + "description": "Override Selector\n\nOverride selector of the cluster", "in": "query", "required": false, "type": "string", @@ -333,91 +439,91 @@ }, { "name": "spec.proxyConfig.httpProxy", - "description": "HttpProxy. http proxy", + "description": "HttpProxy\n\nhttp proxy", "in": "query", "required": false, "type": "string" }, { "name": "spec.proxyConfig.httpsProxy", - "description": "HttpsProxy. https proxy", + "description": "HttpsProxy\n\nhttps proxy", "in": "query", "required": false, "type": "string" }, { "name": "spec.proxyConfig.noProxy", - "description": "noproxy. noproxy", + "description": "noproxy\n\nnoproxy", "in": "query", "required": false, "type": "string" }, { "name": "spec.proxyConfig.proxyAuth", - "description": "ProxyAuth. proxy auth", + "description": "ProxyAuth\n\nproxy auth", "in": "query", "required": false, "type": "string" }, { "name": "spec.proxyConfig.allowInsecureBootstrap", - "description": "AllowInsecureBootstrap. Allow insecure bootstrap", + "description": "AllowInsecureBootstrap\n\nAllow insecure bootstrap", "in": "query", "required": false, "type": "boolean" }, { "name": "spec.proxyConfig.enabled", - "description": "Enabled. enabled", + "description": "Enabled\n\nenabled", "in": "query", "required": false, "type": "boolean" }, { "name": "spec.proxyConfig.bootstrapCA", - "description": "BootstrapCA. Certificate Authority of bootstrap server", + "description": "BootstrapCA\n\nCertificate Authority of bootstrap server", "in": "query", "required": false, "type": "string" }, { "name": "spec.clusterData.provider", - "description": "Provider. Provider", + "description": "Provider\n\nProvider", "in": "query", "required": false, "type": "string" }, { "name": "spec.clusterData.passphrase", - "description": "Passphrase. passphrase of the cluster", + "description": "Passphrase\n\npassphrase of the cluster", "in": "query", "required": false, "type": "string" }, { "name": "spec.clusterData.cname", - "description": "CNAME. cname of the cluster", + "description": "CNAME\n\ncname of the cluster", "in": "query", "required": false, "type": "string" }, { "name": "spec.clusterData.arecord", - "description": "DNS A Record. Entry for DNS A Record", + "description": "DNS A Record\n\nEntry for DNS A Record", "in": "query", "required": false, "type": "string" }, { "name": "spec.clusterData.displayName", - "description": "Display Name. Display Name", + "description": "Display Name\n\nDisplay Name", "in": "query", "required": false, "type": "string" }, { "name": "spec.clusterData.health", - "description": "Health. Health", + "description": "Health\n\nHealth", "in": "query", "required": false, "type": "string", @@ -431,35 +537,35 @@ }, { "name": "spec.clusterData.manufacturer", - "description": "Manufacturer. Manufacturer", + "description": "Manufacturer\n\nManufacturer", "in": "query", "required": false, "type": "string" }, { "name": "spec.clusterData.clusterBlueprint", - "description": "ClusterBlueprint. Cluster Blueprint", + "description": "ClusterBlueprint\n\nCluster Blueprint", "in": "query", "required": false, "type": "string" }, { "name": "spec.clusterData.clusterStatus.token", - "description": "Cluster Information. Override selector of the cluster", + "description": "Cluster Information\n\nOverride selector of the cluster", "in": "query", "required": false, "type": "string" }, { "name": "spec.clusterData.clusterStatus.publishedBlueprint", - "description": "Cluster Information. Override selector of the cluster", + "description": "Cluster Information\n\nOverride selector of the cluster", "in": "query", "required": false, "type": "string" }, { "name": "spec.clusterData.clusterStatus.systemTaskCount", - "description": "Cluster Information. Override selector of the cluster", + "description": "Cluster Information\n\nOverride selector of the cluster", "in": "query", "required": false, "type": "string", @@ -467,7 +573,7 @@ }, { "name": "spec.clusterData.clusterStatus.customTaskCount", - "description": "Cluster Information. Override selector of the cluster", + "description": "Cluster Information\n\nOverride selector of the cluster", "in": "query", "required": false, "type": "string", @@ -475,7 +581,7 @@ }, { "name": "spec.clusterData.clusterStatus.auxiliaryTaskCount", - "description": "Cluster Information. Override selector of the cluster", + "description": "Cluster Information\n\nOverride selector of the cluster", "in": "query", "required": false, "type": "string", @@ -483,14 +589,14 @@ }, { "name": "status.conditionType", - "description": "Condition Type. type of the status condition", + "description": "Condition Type\n\ntype of the status condition", "in": "query", "required": false, "type": "string" }, { "name": "status.conditionStatus", - "description": "Condition Status. status of the condition", + "description": "Condition Status\n\nstatus of the condition", "in": "query", "required": false, "type": "string", @@ -504,7 +610,7 @@ }, { "name": "status.lastUpdated", - "description": "Last Updated. when the condition status is last updated", + "description": "Last Updated\n\nwhen the condition status is last updated", "in": "query", "required": false, "type": "string", @@ -512,18 +618,18 @@ }, { "name": "status.reason", - "description": "Reason. reason of the last condition status", + "description": "Reason\n\nreason of the last condition status", "in": "query", "required": false, "type": "string" } ], "tags": [ - "Cluster" + "ClusterService" ] }, "delete": { - "operationId": "Cluster_DeleteCluster", + "operationId": "ClusterService_DeleteCluster", "responses": { "200": { "description": "A successful response.", @@ -570,44 +676,44 @@ }, { "name": "apiVersion", - "description": "API Version. API Version of the resource", + "description": "API Version\n\nAPI Version of the resource", "in": "query", - "required": false, + "required": true, "type": "string", "default": "infra.k8smgmt.io/v3" }, { "name": "kind", - "description": "Kind. Kind of the resource", + "description": "Kind\n\nKind of the resource", "in": "query", - "required": false, + "required": true, "type": "string", "default": "Cluster" }, { "name": "metadata.displayName", - "description": "Display Name. display name of the resource", + "description": "Display Name\n\ndisplay name of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.description", - "description": "Description. description of the resource", + "description": "Description\n\ndescription of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.organization", - "description": "Organization. Organization to which the resource belongs", + "description": "Organization\n\nOrganization to which the resource belongs", "in": "query", "required": false, "type": "string" }, { "name": "metadata.partner", - "description": "Partner. Partner to which the resource belongs", + "description": "Partner\n\nPartner to which the resource belongs", "in": "query", "required": false, "type": "string" @@ -640,7 +746,7 @@ }, { "name": "spec.clusterType", - "description": "Cluster Type. Type of the cluster being created", + "description": "Cluster Type\n\nType of the cluster being created", "in": "query", "required": false, "type": "string", @@ -648,126 +754,126 @@ }, { "name": "spec.metro.id", - "description": "ID of Location. ID Location of the cluster", + "description": "ID of Location\n\nID Location of the cluster", "in": "query", "required": false, "type": "string" }, { "name": "spec.metro.name", - "description": "Location. Location of the cluster", + "description": "Location\n\nLocation of the cluster", "in": "query", "required": false, "type": "string" }, { "name": "spec.metro.city", - "description": "City. City of the location", + "description": "City\n\nCity of the location", "in": "query", "required": false, "type": "string" }, { "name": "spec.metro.state", - "description": "State. State of the location", + "description": "State\n\nState of the location", "in": "query", "required": false, "type": "string" }, { "name": "spec.metro.country", - "description": "Country. country of the location", + "description": "Country\n\ncountry of the location", "in": "query", "required": false, "type": "string" }, { "name": "spec.metro.locale", - "description": "Locale. locale of the location", + "description": "Locale\n\nlocale of the location", "in": "query", "required": false, "type": "string" }, { "name": "spec.metro.latitude", - "description": "Latitude. Latitude of the location", + "description": "Latitude\n\nLatitude of the location", "in": "query", "required": false, "type": "string" }, { "name": "spec.metro.longitude", - "description": "Longitude. Longitude of the location", + "description": "Longitude\n\nLongitude of the location", "in": "query", "required": false, "type": "string" }, { "name": "spec.metro.countryCode", - "description": "CountryCode. CountryCode of the location", + "description": "CountryCode\n\nCountryCode of the location", "in": "query", "required": false, "type": "string" }, { "name": "spec.metro.stateCode", - "description": "StateCode. StateCode of the location", + "description": "StateCode\n\nStateCode of the location", "in": "query", "required": false, "type": "string" }, { "name": "spec.overrideSelector", - "description": "Override Selector. Override selector of the cluster", + "description": "Override Selector\n\nOverride selector of the cluster", "in": "query", "required": false, "type": "string" }, { "name": "spec.params.environmentProvider", - "description": "EnvironmentProvider. environment provider of the cluster", + "description": "EnvironmentProvider\n\nenvironment provider of the cluster", "in": "query", "required": false, "type": "string" }, { "name": "spec.params.kubernetesProvider", - "description": "KubernetesProvider. kubernetes provider", + "description": "KubernetesProvider\n\nkubernetes provider", "in": "query", "required": false, "type": "string" }, { "name": "spec.params.provisionEnvironment", - "description": "ProvisionEnvironment. provision environment", + "description": "ProvisionEnvironment\n\nprovision environment", "in": "query", "required": false, "type": "string" }, { "name": "spec.params.provisionPackageType", - "description": "ProvisionPackageType. provision package type", + "description": "ProvisionPackageType\n\nprovision package type", "in": "query", "required": false, "type": "string" }, { "name": "spec.params.provisionType", - "description": "ProvisionType. provision type", + "description": "ProvisionType\n\nprovision type", "in": "query", "required": false, "type": "string" }, { "name": "spec.params.state", - "description": "State. state", + "description": "State\n\nstate", "in": "query", "required": false, "type": "string" }, { "name": "spec.shareMode", - "description": "Override Selector. Override selector of the cluster", + "description": "Override Selector\n\nOverride selector of the cluster", "in": "query", "required": false, "type": "string", @@ -780,91 +886,91 @@ }, { "name": "spec.proxyConfig.httpProxy", - "description": "HttpProxy. http proxy", + "description": "HttpProxy\n\nhttp proxy", "in": "query", "required": false, "type": "string" }, { "name": "spec.proxyConfig.httpsProxy", - "description": "HttpsProxy. https proxy", + "description": "HttpsProxy\n\nhttps proxy", "in": "query", "required": false, "type": "string" }, { "name": "spec.proxyConfig.noProxy", - "description": "noproxy. noproxy", + "description": "noproxy\n\nnoproxy", "in": "query", "required": false, "type": "string" }, { "name": "spec.proxyConfig.proxyAuth", - "description": "ProxyAuth. proxy auth", + "description": "ProxyAuth\n\nproxy auth", "in": "query", "required": false, "type": "string" }, { "name": "spec.proxyConfig.allowInsecureBootstrap", - "description": "AllowInsecureBootstrap. Allow insecure bootstrap", + "description": "AllowInsecureBootstrap\n\nAllow insecure bootstrap", "in": "query", "required": false, "type": "boolean" }, { "name": "spec.proxyConfig.enabled", - "description": "Enabled. enabled", + "description": "Enabled\n\nenabled", "in": "query", "required": false, "type": "boolean" }, { "name": "spec.proxyConfig.bootstrapCA", - "description": "BootstrapCA. Certificate Authority of bootstrap server", + "description": "BootstrapCA\n\nCertificate Authority of bootstrap server", "in": "query", "required": false, "type": "string" }, { "name": "spec.clusterData.provider", - "description": "Provider. Provider", + "description": "Provider\n\nProvider", "in": "query", "required": false, "type": "string" }, { "name": "spec.clusterData.passphrase", - "description": "Passphrase. passphrase of the cluster", + "description": "Passphrase\n\npassphrase of the cluster", "in": "query", "required": false, "type": "string" }, { "name": "spec.clusterData.cname", - "description": "CNAME. cname of the cluster", + "description": "CNAME\n\ncname of the cluster", "in": "query", "required": false, "type": "string" }, { "name": "spec.clusterData.arecord", - "description": "DNS A Record. Entry for DNS A Record", + "description": "DNS A Record\n\nEntry for DNS A Record", "in": "query", "required": false, "type": "string" }, { "name": "spec.clusterData.displayName", - "description": "Display Name. Display Name", + "description": "Display Name\n\nDisplay Name", "in": "query", "required": false, "type": "string" }, { "name": "spec.clusterData.health", - "description": "Health. Health", + "description": "Health\n\nHealth", "in": "query", "required": false, "type": "string", @@ -878,35 +984,35 @@ }, { "name": "spec.clusterData.manufacturer", - "description": "Manufacturer. Manufacturer", + "description": "Manufacturer\n\nManufacturer", "in": "query", "required": false, "type": "string" }, { "name": "spec.clusterData.clusterBlueprint", - "description": "ClusterBlueprint. Cluster Blueprint", + "description": "ClusterBlueprint\n\nCluster Blueprint", "in": "query", "required": false, "type": "string" }, { "name": "spec.clusterData.clusterStatus.token", - "description": "Cluster Information. Override selector of the cluster", + "description": "Cluster Information\n\nOverride selector of the cluster", "in": "query", "required": false, "type": "string" }, { "name": "spec.clusterData.clusterStatus.publishedBlueprint", - "description": "Cluster Information. Override selector of the cluster", + "description": "Cluster Information\n\nOverride selector of the cluster", "in": "query", "required": false, "type": "string" }, { "name": "spec.clusterData.clusterStatus.systemTaskCount", - "description": "Cluster Information. Override selector of the cluster", + "description": "Cluster Information\n\nOverride selector of the cluster", "in": "query", "required": false, "type": "string", @@ -914,7 +1020,7 @@ }, { "name": "spec.clusterData.clusterStatus.customTaskCount", - "description": "Cluster Information. Override selector of the cluster", + "description": "Cluster Information\n\nOverride selector of the cluster", "in": "query", "required": false, "type": "string", @@ -922,7 +1028,7 @@ }, { "name": "spec.clusterData.clusterStatus.auxiliaryTaskCount", - "description": "Cluster Information. Override selector of the cluster", + "description": "Cluster Information\n\nOverride selector of the cluster", "in": "query", "required": false, "type": "string", @@ -930,14 +1036,14 @@ }, { "name": "status.conditionType", - "description": "Condition Type. type of the status condition", + "description": "Condition Type\n\ntype of the status condition", "in": "query", "required": false, "type": "string" }, { "name": "status.conditionStatus", - "description": "Condition Status. status of the condition", + "description": "Condition Status\n\nstatus of the condition", "in": "query", "required": false, "type": "string", @@ -951,7 +1057,7 @@ }, { "name": "status.lastUpdated", - "description": "Last Updated. when the condition status is last updated", + "description": "Last Updated\n\nwhen the condition status is last updated", "in": "query", "required": false, "type": "string", @@ -959,18 +1065,18 @@ }, { "name": "status.reason", - "description": "Reason. reason of the last condition status", + "description": "Reason\n\nreason of the last condition status", "in": "query", "required": false, "type": "string" } ], "tags": [ - "Cluster" + "ClusterService" ] }, "put": { - "operationId": "Cluster_UpdateCluster", + "operationId": "ClusterService_UpdateCluster", "responses": { "200": { "description": "A successful response.", @@ -1016,18 +1122,118 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v3Cluster" + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "default": "infra.k8smgmt.io/v3", + "description": "API Version of the resource", + "title": "API Version", + "readOnly": true + }, + "kind": { + "type": "string", + "default": "Cluster", + "description": "Kind of the resource", + "title": "Kind", + "readOnly": true + }, + "metadata": { + "type": "object", + "example": { + "name": "some-name", + "project": "defaultproject" + }, + "properties": { + "displayName": { + "type": "string", + "description": "display name of the resource", + "title": "Display Name" + }, + "description": { + "type": "string", + "description": "description of the resource", + "title": "Description" + }, + "labels": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "labels of the resource", + "title": "Labels" + }, + "annotations": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "annotations of the resource", + "title": "Annotations" + }, + "organization": { + "type": "string", + "description": "Organization to which the resource belongs", + "title": "Organization" + }, + "partner": { + "type": "string", + "description": "Partner to which the resource belongs", + "title": "Partner" + }, + "id": { + "type": "string", + "readOnly": true + }, + "urlScope": { + "type": "string", + "readOnly": true + }, + "createdAt": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "modifiedAt": { + "type": "string", + "format": "date-time", + "readOnly": true + } + }, + "description": "metadata of the resource", + "title": "Metadata" + }, + "spec": { + "$ref": "#/definitions/v3ClusterSpec", + "description": "Spec of the resource", + "title": "Spec" + }, + "status": { + "$ref": "#/definitions/commonv3Status", + "description": "Status of the resource", + "title": "Status", + "readOnly": true + } + }, + "description": "Cluster", + "title": "Cluster", + "required": [ + "apiVersion", + "kind", + "metadata", + "spec" + ] } } ], "tags": [ - "Cluster" + "ClusterService" ] } }, "/infra/v3/project/{metadata.project}/cluster/{metadata.name}/download": { "get": { - "operationId": "Cluster_DownloadCluster", + "operationId": "ClusterService_DownloadCluster", "responses": { "200": { "description": "A successful response.", @@ -1070,44 +1276,44 @@ }, { "name": "apiVersion", - "description": "API Version. API Version of the resource", + "description": "API Version\n\nAPI Version of the resource", "in": "query", - "required": false, + "required": true, "type": "string", "default": "infra.k8smgmt.io/v3" }, { "name": "kind", - "description": "Kind. Kind of the resource", + "description": "Kind\n\nKind of the resource", "in": "query", - "required": false, + "required": true, "type": "string", "default": "Cluster" }, { "name": "metadata.displayName", - "description": "Display Name. display name of the resource", + "description": "Display Name\n\ndisplay name of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.description", - "description": "Description. description of the resource", + "description": "Description\n\ndescription of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.organization", - "description": "Organization. Organization to which the resource belongs", + "description": "Organization\n\nOrganization to which the resource belongs", "in": "query", "required": false, "type": "string" }, { "name": "metadata.partner", - "description": "Partner. Partner to which the resource belongs", + "description": "Partner\n\nPartner to which the resource belongs", "in": "query", "required": false, "type": "string" @@ -1140,7 +1346,7 @@ }, { "name": "spec.clusterType", - "description": "Cluster Type. Type of the cluster being created", + "description": "Cluster Type\n\nType of the cluster being created", "in": "query", "required": false, "type": "string", @@ -1148,126 +1354,126 @@ }, { "name": "spec.metro.id", - "description": "ID of Location. ID Location of the cluster", + "description": "ID of Location\n\nID Location of the cluster", "in": "query", "required": false, "type": "string" }, { "name": "spec.metro.name", - "description": "Location. Location of the cluster", + "description": "Location\n\nLocation of the cluster", "in": "query", "required": false, "type": "string" }, { "name": "spec.metro.city", - "description": "City. City of the location", + "description": "City\n\nCity of the location", "in": "query", "required": false, "type": "string" }, { "name": "spec.metro.state", - "description": "State. State of the location", + "description": "State\n\nState of the location", "in": "query", "required": false, "type": "string" }, { "name": "spec.metro.country", - "description": "Country. country of the location", + "description": "Country\n\ncountry of the location", "in": "query", "required": false, "type": "string" }, { "name": "spec.metro.locale", - "description": "Locale. locale of the location", + "description": "Locale\n\nlocale of the location", "in": "query", "required": false, "type": "string" }, { "name": "spec.metro.latitude", - "description": "Latitude. Latitude of the location", + "description": "Latitude\n\nLatitude of the location", "in": "query", "required": false, "type": "string" }, { "name": "spec.metro.longitude", - "description": "Longitude. Longitude of the location", + "description": "Longitude\n\nLongitude of the location", "in": "query", "required": false, "type": "string" }, { "name": "spec.metro.countryCode", - "description": "CountryCode. CountryCode of the location", + "description": "CountryCode\n\nCountryCode of the location", "in": "query", "required": false, "type": "string" }, { "name": "spec.metro.stateCode", - "description": "StateCode. StateCode of the location", + "description": "StateCode\n\nStateCode of the location", "in": "query", "required": false, "type": "string" }, { "name": "spec.overrideSelector", - "description": "Override Selector. Override selector of the cluster", + "description": "Override Selector\n\nOverride selector of the cluster", "in": "query", "required": false, "type": "string" }, { "name": "spec.params.environmentProvider", - "description": "EnvironmentProvider. environment provider of the cluster", + "description": "EnvironmentProvider\n\nenvironment provider of the cluster", "in": "query", "required": false, "type": "string" }, { "name": "spec.params.kubernetesProvider", - "description": "KubernetesProvider. kubernetes provider", + "description": "KubernetesProvider\n\nkubernetes provider", "in": "query", "required": false, "type": "string" }, { "name": "spec.params.provisionEnvironment", - "description": "ProvisionEnvironment. provision environment", + "description": "ProvisionEnvironment\n\nprovision environment", "in": "query", "required": false, "type": "string" }, { "name": "spec.params.provisionPackageType", - "description": "ProvisionPackageType. provision package type", + "description": "ProvisionPackageType\n\nprovision package type", "in": "query", "required": false, "type": "string" }, { "name": "spec.params.provisionType", - "description": "ProvisionType. provision type", + "description": "ProvisionType\n\nprovision type", "in": "query", "required": false, "type": "string" }, { "name": "spec.params.state", - "description": "State. state", + "description": "State\n\nstate", "in": "query", "required": false, "type": "string" }, { "name": "spec.shareMode", - "description": "Override Selector. Override selector of the cluster", + "description": "Override Selector\n\nOverride selector of the cluster", "in": "query", "required": false, "type": "string", @@ -1280,91 +1486,91 @@ }, { "name": "spec.proxyConfig.httpProxy", - "description": "HttpProxy. http proxy", + "description": "HttpProxy\n\nhttp proxy", "in": "query", "required": false, "type": "string" }, { "name": "spec.proxyConfig.httpsProxy", - "description": "HttpsProxy. https proxy", + "description": "HttpsProxy\n\nhttps proxy", "in": "query", "required": false, "type": "string" }, { "name": "spec.proxyConfig.noProxy", - "description": "noproxy. noproxy", + "description": "noproxy\n\nnoproxy", "in": "query", "required": false, "type": "string" }, { "name": "spec.proxyConfig.proxyAuth", - "description": "ProxyAuth. proxy auth", + "description": "ProxyAuth\n\nproxy auth", "in": "query", "required": false, "type": "string" }, { "name": "spec.proxyConfig.allowInsecureBootstrap", - "description": "AllowInsecureBootstrap. Allow insecure bootstrap", + "description": "AllowInsecureBootstrap\n\nAllow insecure bootstrap", "in": "query", "required": false, "type": "boolean" }, { "name": "spec.proxyConfig.enabled", - "description": "Enabled. enabled", + "description": "Enabled\n\nenabled", "in": "query", "required": false, "type": "boolean" }, { "name": "spec.proxyConfig.bootstrapCA", - "description": "BootstrapCA. Certificate Authority of bootstrap server", + "description": "BootstrapCA\n\nCertificate Authority of bootstrap server", "in": "query", "required": false, "type": "string" }, { "name": "spec.clusterData.provider", - "description": "Provider. Provider", + "description": "Provider\n\nProvider", "in": "query", "required": false, "type": "string" }, { "name": "spec.clusterData.passphrase", - "description": "Passphrase. passphrase of the cluster", + "description": "Passphrase\n\npassphrase of the cluster", "in": "query", "required": false, "type": "string" }, { "name": "spec.clusterData.cname", - "description": "CNAME. cname of the cluster", + "description": "CNAME\n\ncname of the cluster", "in": "query", "required": false, "type": "string" }, { "name": "spec.clusterData.arecord", - "description": "DNS A Record. Entry for DNS A Record", + "description": "DNS A Record\n\nEntry for DNS A Record", "in": "query", "required": false, "type": "string" }, { "name": "spec.clusterData.displayName", - "description": "Display Name. Display Name", + "description": "Display Name\n\nDisplay Name", "in": "query", "required": false, "type": "string" }, { "name": "spec.clusterData.health", - "description": "Health. Health", + "description": "Health\n\nHealth", "in": "query", "required": false, "type": "string", @@ -1378,35 +1584,35 @@ }, { "name": "spec.clusterData.manufacturer", - "description": "Manufacturer. Manufacturer", + "description": "Manufacturer\n\nManufacturer", "in": "query", "required": false, "type": "string" }, { "name": "spec.clusterData.clusterBlueprint", - "description": "ClusterBlueprint. Cluster Blueprint", + "description": "ClusterBlueprint\n\nCluster Blueprint", "in": "query", "required": false, "type": "string" }, { "name": "spec.clusterData.clusterStatus.token", - "description": "Cluster Information. Override selector of the cluster", + "description": "Cluster Information\n\nOverride selector of the cluster", "in": "query", "required": false, "type": "string" }, { "name": "spec.clusterData.clusterStatus.publishedBlueprint", - "description": "Cluster Information. Override selector of the cluster", + "description": "Cluster Information\n\nOverride selector of the cluster", "in": "query", "required": false, "type": "string" }, { "name": "spec.clusterData.clusterStatus.systemTaskCount", - "description": "Cluster Information. Override selector of the cluster", + "description": "Cluster Information\n\nOverride selector of the cluster", "in": "query", "required": false, "type": "string", @@ -1414,7 +1620,7 @@ }, { "name": "spec.clusterData.clusterStatus.customTaskCount", - "description": "Cluster Information. Override selector of the cluster", + "description": "Cluster Information\n\nOverride selector of the cluster", "in": "query", "required": false, "type": "string", @@ -1422,7 +1628,7 @@ }, { "name": "spec.clusterData.clusterStatus.auxiliaryTaskCount", - "description": "Cluster Information. Override selector of the cluster", + "description": "Cluster Information\n\nOverride selector of the cluster", "in": "query", "required": false, "type": "string", @@ -1430,14 +1636,14 @@ }, { "name": "status.conditionType", - "description": "Condition Type. type of the status condition", + "description": "Condition Type\n\ntype of the status condition", "in": "query", "required": false, "type": "string" }, { "name": "status.conditionStatus", - "description": "Condition Status. status of the condition", + "description": "Condition Status\n\nstatus of the condition", "in": "query", "required": false, "type": "string", @@ -1451,7 +1657,7 @@ }, { "name": "status.lastUpdated", - "description": "Last Updated. when the condition status is last updated", + "description": "Last Updated\n\nwhen the condition status is last updated", "in": "query", "required": false, "type": "string", @@ -1459,20 +1665,20 @@ }, { "name": "status.reason", - "description": "Reason. reason of the last condition status", + "description": "Reason\n\nreason of the last condition status", "in": "query", "required": false, "type": "string" } ], "tags": [ - "Cluster" + "ClusterService" ] } }, "/infra/v3/project/{project}/cluster": { "get": { - "operationId": "Cluster_GetClusters", + "operationId": "ClusterService_GetClusters", "responses": { "200": { "description": "A successful response.", @@ -1507,21 +1713,21 @@ }, { "name": "q", - "description": "query for filtering.", + "description": "query for filtering", "in": "query", "required": false, "type": "string" }, { "name": "name", - "description": "name is unique ID of a resource along with (partnerID, organizationID,\nprojectID).", + "description": "name is unique ID of a resource along with (partnerID, organizationID,\nprojectID)", "in": "query", "required": false, "type": "string" }, { "name": "selector", - "description": "selector is used to filter the labels of a resource.", + "description": "selector is used to filter the labels of a resource", "in": "query", "required": false, "type": "string" @@ -1552,7 +1758,7 @@ }, { "name": "displayName", - "description": "displayName only used for update queries to set displayName (READONLY).", + "description": "displayName only used for update queries to set displayName (READONLY)", "in": "query", "required": false, "type": "string" @@ -1580,14 +1786,14 @@ }, { "name": "ignoreScopeDefault", - "description": "ignoreScopeDefault ignores default values for partnerID, organizationID and\nprojectID.", + "description": "ignoreScopeDefault ignores default values for partnerID, organizationID and\nprojectID", "in": "query", "required": false, "type": "boolean" }, { "name": "globalScope", - "description": "globalScope sets partnerID,organizationID,projectID = 0.", + "description": "globalScope sets partnerID,organizationID,projectID = 0", "in": "query", "required": false, "type": "boolean" @@ -1618,7 +1824,7 @@ }, { "name": "urlScope", - "description": "urlScope is supposed to be passed in the URL as kind/HashID(value).", + "description": "urlScope is supposed to be passed in the URL as kind/HashID(value)", "in": "query", "required": false, "type": "string" @@ -1677,14 +1883,14 @@ }, { "name": "type", - "description": "generic way to specify a type of resource, mainly for use in users endpoint.", + "description": "generic way to specify a type of resource, mainly for use in users endpoint", "in": "query", "required": false, "type": "string" } ], "tags": [ - "Cluster" + "ClusterService" ] } } @@ -2056,11 +2262,11 @@ "items": { "type": "array", "items": { - "$ref": "#/definitions/v3Cluster" + "$ref": "#/definitions/v3Cluster", + "readOnly": true }, "description": "List of the resources", - "title": "Items", - "readOnly": true + "title": "Items" } } }, diff --git a/gen/openapi/proto/rpc/sentry/audit_info.swagger.json b/gen/openapi/proto/rpc/sentry/audit_info.swagger.json index b71cac0f..50e2aa0d 100644 --- a/gen/openapi/proto/rpc/sentry/audit_info.swagger.json +++ b/gen/openapi/proto/rpc/sentry/audit_info.swagger.json @@ -9,7 +9,7 @@ }, "tags": [ { - "name": "AuditInformation" + "name": "AuditInformationService" } ], "schemes": [ @@ -26,7 +26,7 @@ "paths": { "/v2/sentry/auditInfo/cluster": { "get": { - "operationId": "AuditInformation_LookupCluster", + "operationId": "AuditInformationService_LookupCluster", "responses": { "200": { "description": "A successful response.", @@ -61,13 +61,13 @@ } ], "tags": [ - "AuditInformation" + "AuditInformationService" ] } }, "/v2/sentry/auditInfo/user": { "get": { - "operationId": "AuditInformation_LookupUser", + "operationId": "AuditInformationService_LookupUser", "responses": { "200": { "description": "A successful response.", @@ -102,7 +102,7 @@ } ], "tags": [ - "AuditInformation" + "AuditInformationService" ] } } diff --git a/gen/openapi/proto/rpc/sentry/bootstrap.swagger.json b/gen/openapi/proto/rpc/sentry/bootstrap.swagger.json index 7ed573c2..d1f000c1 100644 --- a/gen/openapi/proto/rpc/sentry/bootstrap.swagger.json +++ b/gen/openapi/proto/rpc/sentry/bootstrap.swagger.json @@ -9,7 +9,7 @@ }, "tags": [ { - "name": "Bootstrap" + "name": "BootstrapService" } ], "schemes": [ @@ -26,7 +26,7 @@ "paths": { "/v2/sentry/bootstrap/infra/{metadata.name}": { "get": { - "operationId": "Bootstrap_GetBootstrapInfra", + "operationId": "BootstrapService_GetBootstrapInfra", "responses": { "200": { "description": "A successful response.", @@ -63,7 +63,7 @@ }, { "name": "apiVersion", - "description": "API Version. API Version of the resource", + "description": "API Version\n\nAPI Version of the resource", "in": "query", "required": false, "type": "string", @@ -71,7 +71,7 @@ }, { "name": "kind", - "description": "Kind. Kind of the resource", + "description": "Kind\n\nKind of the resource", "in": "query", "required": false, "type": "string", @@ -79,35 +79,35 @@ }, { "name": "metadata.displayName", - "description": "Display Name. display name of the resource", + "description": "Display Name\n\ndisplay name of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.description", - "description": "Description. description of the resource", + "description": "Description\n\ndescription of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.project", - "description": "Project. Project of the resource", + "description": "Project\n\nProject of the resource", "in": "query", - "required": false, + "required": true, "type": "string" }, { "name": "metadata.organization", - "description": "Organization. Organization to which the resource belongs", + "description": "Organization\n\nOrganization to which the resource belongs", "in": "query", "required": false, "type": "string" }, { "name": "metadata.partner", - "description": "Partner. Partner to which the resource belongs", + "description": "Partner\n\nPartner to which the resource belongs", "in": "query", "required": false, "type": "string" @@ -158,11 +158,11 @@ } ], "tags": [ - "Bootstrap" + "BootstrapService" ] }, "put": { - "operationId": "Bootstrap_PatchBootstrapInfra", + "operationId": "BootstrapService_PatchBootstrapInfra", "responses": { "200": { "description": "A successful response.", @@ -202,18 +202,113 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/sentryBootstrapInfra" + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "default": "infra.k8smgmt.io/v3", + "description": "API Version of the resource", + "title": "API Version", + "readOnly": true + }, + "kind": { + "type": "string", + "default": "BootstrapInfra", + "description": "Kind of the resource", + "title": "Kind", + "readOnly": true + }, + "metadata": { + "type": "object", + "example": { + "name": "some-name", + "project": "defaultproject" + }, + "properties": { + "displayName": { + "type": "string", + "description": "display name of the resource", + "title": "Display Name" + }, + "description": { + "type": "string", + "description": "description of the resource", + "title": "Description" + }, + "labels": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "labels of the resource", + "title": "Labels" + }, + "annotations": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "annotations of the resource", + "title": "Annotations" + }, + "project": { + "type": "string", + "description": "Project of the resource", + "title": "Project" + }, + "organization": { + "type": "string", + "description": "Organization to which the resource belongs", + "title": "Organization" + }, + "partner": { + "type": "string", + "description": "Partner to which the resource belongs", + "title": "Partner" + }, + "id": { + "type": "string", + "readOnly": true + }, + "urlScope": { + "type": "string", + "readOnly": true + }, + "createdAt": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "modifiedAt": { + "type": "string", + "format": "date-time", + "readOnly": true + } + }, + "description": "metadata of the resource", + "title": "Metadata" + }, + "spec": { + "$ref": "#/definitions/sentryBootstrapInfraSpec" + }, + "status": { + "$ref": "#/definitions/sentryBootstrapInfraStatus" + } + }, + "required": [ + "project" + ] } } ], "tags": [ - "Bootstrap" + "BootstrapService" ] } }, "/v2/sentry/bootstrap/template": { "get": { - "operationId": "Bootstrap_GetBootstrapAgentTemplates", + "operationId": "BootstrapService_GetBootstrapAgentTemplates", "responses": { "200": { "description": "A successful response.", @@ -243,21 +338,21 @@ "parameters": [ { "name": "q", - "description": "query for filtering.", + "description": "query for filtering", "in": "query", "required": false, "type": "string" }, { "name": "name", - "description": "name is unique ID of a resource along with (partnerID, organizationID,\nprojectID).", + "description": "name is unique ID of a resource along with (partnerID, organizationID,\nprojectID)", "in": "query", "required": false, "type": "string" }, { "name": "selector", - "description": "selector is used to filter the labels of a resource.", + "description": "selector is used to filter the labels of a resource", "in": "query", "required": false, "type": "string" @@ -294,7 +389,7 @@ }, { "name": "displayName", - "description": "displayName only used for update queries to set displayName (READONLY).", + "description": "displayName only used for update queries to set displayName (READONLY)", "in": "query", "required": false, "type": "string" @@ -322,14 +417,14 @@ }, { "name": "ignoreScopeDefault", - "description": "ignoreScopeDefault ignores default values for partnerID, organizationID and\nprojectID.", + "description": "ignoreScopeDefault ignores default values for partnerID, organizationID and\nprojectID", "in": "query", "required": false, "type": "boolean" }, { "name": "globalScope", - "description": "globalScope sets partnerID,organizationID,projectID = 0.", + "description": "globalScope sets partnerID,organizationID,projectID = 0", "in": "query", "required": false, "type": "boolean" @@ -360,7 +455,7 @@ }, { "name": "urlScope", - "description": "urlScope is supposed to be passed in the URL as kind/HashID(value).", + "description": "urlScope is supposed to be passed in the URL as kind/HashID(value)", "in": "query", "required": false, "type": "string" @@ -419,20 +514,20 @@ }, { "name": "type", - "description": "generic way to specify a type of resource, mainly for use in users endpoint.", + "description": "generic way to specify a type of resource, mainly for use in users endpoint", "in": "query", "required": false, "type": "string" } ], "tags": [ - "Bootstrap" + "BootstrapService" ] } }, "/v2/sentry/bootstrap/template/{metadata.name}": { "get": { - "operationId": "Bootstrap_GetBootstrapAgentTemplate", + "operationId": "BootstrapService_GetBootstrapAgentTemplate", "responses": { "200": { "description": "A successful response.", @@ -469,7 +564,7 @@ }, { "name": "apiVersion", - "description": "API Version. API Version of the resource", + "description": "API Version\n\nAPI Version of the resource", "in": "query", "required": false, "type": "string", @@ -477,7 +572,7 @@ }, { "name": "kind", - "description": "Kind. Kind of the resource", + "description": "Kind\n\nKind of the resource", "in": "query", "required": false, "type": "string", @@ -485,35 +580,35 @@ }, { "name": "metadata.displayName", - "description": "Display Name. display name of the resource", + "description": "Display Name\n\ndisplay name of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.description", - "description": "Description. description of the resource", + "description": "Description\n\ndescription of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.project", - "description": "Project. Project of the resource", + "description": "Project\n\nProject of the resource", "in": "query", - "required": false, + "required": true, "type": "string" }, { "name": "metadata.organization", - "description": "Organization. Organization to which the resource belongs", + "description": "Organization\n\nOrganization to which the resource belongs", "in": "query", "required": false, "type": "string" }, { "name": "metadata.partner", - "description": "Partner. Partner to which the resource belongs", + "description": "Partner\n\nPartner to which the resource belongs", "in": "query", "required": false, "type": "string" @@ -601,11 +696,11 @@ } ], "tags": [ - "Bootstrap" + "BootstrapService" ] }, "put": { - "operationId": "Bootstrap_PatchBootstrapAgentTemplate", + "operationId": "BootstrapService_PatchBootstrapAgentTemplate", "responses": { "200": { "description": "A successful response.", @@ -645,18 +740,113 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/sentryBootstrapAgentTemplate" + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "default": "infra.k8smgmt.io/v3", + "description": "API Version of the resource", + "title": "API Version", + "readOnly": true + }, + "kind": { + "type": "string", + "default": "BootstrapAgentTemplate", + "description": "Kind of the resource", + "title": "Kind", + "readOnly": true + }, + "metadata": { + "type": "object", + "example": { + "name": "some-name", + "project": "defaultproject" + }, + "properties": { + "displayName": { + "type": "string", + "description": "display name of the resource", + "title": "Display Name" + }, + "description": { + "type": "string", + "description": "description of the resource", + "title": "Description" + }, + "labels": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "labels of the resource", + "title": "Labels" + }, + "annotations": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "annotations of the resource", + "title": "Annotations" + }, + "project": { + "type": "string", + "description": "Project of the resource", + "title": "Project" + }, + "organization": { + "type": "string", + "description": "Organization to which the resource belongs", + "title": "Organization" + }, + "partner": { + "type": "string", + "description": "Partner to which the resource belongs", + "title": "Partner" + }, + "id": { + "type": "string", + "readOnly": true + }, + "urlScope": { + "type": "string", + "readOnly": true + }, + "createdAt": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "modifiedAt": { + "type": "string", + "format": "date-time", + "readOnly": true + } + }, + "description": "metadata of the resource", + "title": "Metadata" + }, + "spec": { + "$ref": "#/definitions/sentryBootstrapAgentTemplateSpec" + }, + "status": { + "$ref": "#/definitions/sentryBootstrapAgentTemplateStatus" + } + }, + "required": [ + "project" + ] } } ], "tags": [ - "Bootstrap" + "BootstrapService" ] } }, "/v2/sentry/bootstrap/{spec.templateRef}/agent": { "post": { - "operationId": "Bootstrap_CreateBootstrapAgent", + "operationId": "BootstrapService_CreateBootstrapAgent", "responses": { "200": { "description": "A successful response.", @@ -696,18 +886,53 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/sentryBootstrapAgent" + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "default": "infra.k8smgmt.io/v3", + "description": "API Version of the resource", + "title": "API Version", + "readOnly": true + }, + "kind": { + "type": "string", + "default": "BootstrapAgent", + "description": "Kind of the resource", + "title": "Kind", + "readOnly": true + }, + "metadata": { + "$ref": "#/definitions/v3Metadata", + "description": "Metadata of the resource", + "title": "Metadata" + }, + "spec": { + "type": "object", + "properties": { + "token": { + "type": "string" + }, + "agentMode": { + "$ref": "#/definitions/sentryBootstrapAgentMode" + } + } + }, + "status": { + "$ref": "#/definitions/sentryBootStrapAgentStatus" + } + } } } ], "tags": [ - "Bootstrap" + "BootstrapService" ] } }, "/v2/sentry/bootstrap/{spec.templateRef}/agent/{metadata.name}": { "get": { - "operationId": "Bootstrap_GetBootstrapAgent", + "operationId": "BootstrapService_GetBootstrapAgent", "responses": { "200": { "description": "A successful response.", @@ -751,7 +976,7 @@ }, { "name": "apiVersion", - "description": "API Version. API Version of the resource", + "description": "API Version\n\nAPI Version of the resource", "in": "query", "required": false, "type": "string", @@ -759,7 +984,7 @@ }, { "name": "kind", - "description": "Kind. Kind of the resource", + "description": "Kind\n\nKind of the resource", "in": "query", "required": false, "type": "string", @@ -767,35 +992,35 @@ }, { "name": "metadata.displayName", - "description": "Display Name. display name of the resource", + "description": "Display Name\n\ndisplay name of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.description", - "description": "Description. description of the resource", + "description": "Description\n\ndescription of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.project", - "description": "Project. Project of the resource", + "description": "Project\n\nProject of the resource", "in": "query", - "required": false, + "required": true, "type": "string" }, { "name": "metadata.organization", - "description": "Organization. Organization to which the resource belongs", + "description": "Organization\n\nOrganization to which the resource belongs", "in": "query", "required": false, "type": "string" }, { "name": "metadata.partner", - "description": "Partner. Partner to which the resource belongs", + "description": "Partner\n\nPartner to which the resource belongs", "in": "query", "required": false, "type": "string" @@ -877,11 +1102,11 @@ } ], "tags": [ - "Bootstrap" + "BootstrapService" ] }, "delete": { - "operationId": "Bootstrap_DeleteBootstrapAgent", + "operationId": "BootstrapService_DeleteBootstrapAgent", "responses": { "200": { "description": "A successful response.", @@ -925,7 +1150,7 @@ }, { "name": "apiVersion", - "description": "API Version. API Version of the resource", + "description": "API Version\n\nAPI Version of the resource", "in": "query", "required": false, "type": "string", @@ -933,7 +1158,7 @@ }, { "name": "kind", - "description": "Kind. Kind of the resource", + "description": "Kind\n\nKind of the resource", "in": "query", "required": false, "type": "string", @@ -941,35 +1166,35 @@ }, { "name": "metadata.displayName", - "description": "Display Name. display name of the resource", + "description": "Display Name\n\ndisplay name of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.description", - "description": "Description. description of the resource", + "description": "Description\n\ndescription of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.project", - "description": "Project. Project of the resource", + "description": "Project\n\nProject of the resource", "in": "query", - "required": false, + "required": true, "type": "string" }, { "name": "metadata.organization", - "description": "Organization. Organization to which the resource belongs", + "description": "Organization\n\nOrganization to which the resource belongs", "in": "query", "required": false, "type": "string" }, { "name": "metadata.partner", - "description": "Partner. Partner to which the resource belongs", + "description": "Partner\n\nPartner to which the resource belongs", "in": "query", "required": false, "type": "string" @@ -1051,11 +1276,11 @@ } ], "tags": [ - "Bootstrap" + "BootstrapService" ] }, "put": { - "operationId": "Bootstrap_UpdateBootstrapAgent", + "operationId": "BootstrapService_UpdateBootstrapAgent", "responses": { "200": { "description": "A successful response.", @@ -1102,18 +1327,121 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/sentryBootstrapAgent" + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "default": "infra.k8smgmt.io/v3", + "description": "API Version of the resource", + "title": "API Version", + "readOnly": true + }, + "kind": { + "type": "string", + "default": "BootstrapAgent", + "description": "Kind of the resource", + "title": "Kind", + "readOnly": true + }, + "metadata": { + "type": "object", + "example": { + "name": "some-name", + "project": "defaultproject" + }, + "properties": { + "displayName": { + "type": "string", + "description": "display name of the resource", + "title": "Display Name" + }, + "description": { + "type": "string", + "description": "description of the resource", + "title": "Description" + }, + "labels": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "labels of the resource", + "title": "Labels" + }, + "annotations": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "annotations of the resource", + "title": "Annotations" + }, + "project": { + "type": "string", + "description": "Project of the resource", + "title": "Project" + }, + "organization": { + "type": "string", + "description": "Organization to which the resource belongs", + "title": "Organization" + }, + "partner": { + "type": "string", + "description": "Partner to which the resource belongs", + "title": "Partner" + }, + "id": { + "type": "string", + "readOnly": true + }, + "urlScope": { + "type": "string", + "readOnly": true + }, + "createdAt": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "modifiedAt": { + "type": "string", + "format": "date-time", + "readOnly": true + } + }, + "description": "metadata of the resource", + "title": "Metadata" + }, + "spec": { + "type": "object", + "properties": { + "token": { + "type": "string" + }, + "agentMode": { + "$ref": "#/definitions/sentryBootstrapAgentMode" + } + } + }, + "status": { + "$ref": "#/definitions/sentryBootStrapAgentStatus" + } + }, + "required": [ + "project" + ] } } ], "tags": [ - "Bootstrap" + "BootstrapService" ] } }, "/v2/sentry/bootstrap/{spec.templateRef}/agent/{metadata.name}/config": { "get": { - "operationId": "Bootstrap_GetBootstrapAgentConfig", + "operationId": "BootstrapService_GetBootstrapAgentConfig", "responses": { "200": { "description": "A successful response.", @@ -1157,7 +1485,7 @@ }, { "name": "apiVersion", - "description": "API Version. API Version of the resource", + "description": "API Version\n\nAPI Version of the resource", "in": "query", "required": false, "type": "string", @@ -1165,7 +1493,7 @@ }, { "name": "kind", - "description": "Kind. Kind of the resource", + "description": "Kind\n\nKind of the resource", "in": "query", "required": false, "type": "string", @@ -1173,35 +1501,35 @@ }, { "name": "metadata.displayName", - "description": "Display Name. display name of the resource", + "description": "Display Name\n\ndisplay name of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.description", - "description": "Description. description of the resource", + "description": "Description\n\ndescription of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.project", - "description": "Project. Project of the resource", + "description": "Project\n\nProject of the resource", "in": "query", - "required": false, + "required": true, "type": "string" }, { "name": "metadata.organization", - "description": "Organization. Organization to which the resource belongs", + "description": "Organization\n\nOrganization to which the resource belongs", "in": "query", "required": false, "type": "string" }, { "name": "metadata.partner", - "description": "Partner. Partner to which the resource belongs", + "description": "Partner\n\nPartner to which the resource belongs", "in": "query", "required": false, "type": "string" @@ -1283,13 +1611,13 @@ } ], "tags": [ - "Bootstrap" + "BootstrapService" ] } }, "/v2/sentry/bootstrap/{templateScope}/agent": { "get": { - "operationId": "Bootstrap_GetBootstrapAgents", + "operationId": "BootstrapService_GetBootstrapAgents", "responses": { "200": { "description": "A successful response.", @@ -1326,21 +1654,21 @@ }, { "name": "opts.q", - "description": "query for filtering.", + "description": "query for filtering", "in": "query", "required": false, "type": "string" }, { "name": "opts.name", - "description": "name is unique ID of a resource along with (partnerID, organizationID,\nprojectID).", + "description": "name is unique ID of a resource along with (partnerID, organizationID,\nprojectID)", "in": "query", "required": false, "type": "string" }, { "name": "opts.selector", - "description": "selector is used to filter the labels of a resource.", + "description": "selector is used to filter the labels of a resource", "in": "query", "required": false, "type": "string" @@ -1377,7 +1705,7 @@ }, { "name": "opts.displayName", - "description": "displayName only used for update queries to set displayName (READONLY).", + "description": "displayName only used for update queries to set displayName (READONLY)", "in": "query", "required": false, "type": "string" @@ -1405,14 +1733,14 @@ }, { "name": "opts.ignoreScopeDefault", - "description": "ignoreScopeDefault ignores default values for partnerID, organizationID and\nprojectID.", + "description": "ignoreScopeDefault ignores default values for partnerID, organizationID and\nprojectID", "in": "query", "required": false, "type": "boolean" }, { "name": "opts.globalScope", - "description": "globalScope sets partnerID,organizationID,projectID = 0.", + "description": "globalScope sets partnerID,organizationID,projectID = 0", "in": "query", "required": false, "type": "boolean" @@ -1443,7 +1771,7 @@ }, { "name": "opts.urlScope", - "description": "urlScope is supposed to be passed in the URL as kind/HashID(value).", + "description": "urlScope is supposed to be passed in the URL as kind/HashID(value)", "in": "query", "required": false, "type": "string" @@ -1502,20 +1830,20 @@ }, { "name": "opts.type", - "description": "generic way to specify a type of resource, mainly for use in users endpoint.", + "description": "generic way to specify a type of resource, mainly for use in users endpoint", "in": "query", "required": false, "type": "string" } ], "tags": [ - "Bootstrap" + "BootstrapService" ] } }, "/v2/sentry/bootstrap/{templateToken}/register": { "post": { - "operationId": "Bootstrap_RegisterBootstrapAgent", + "operationId": "BootstrapService_RegisterBootstrapAgent", "responses": { "200": { "description": "A successful response.", @@ -1578,7 +1906,7 @@ } ], "tags": [ - "Bootstrap" + "BootstrapService" ] } } diff --git a/gen/openapi/proto/rpc/sentry/cluster_authz.swagger.json b/gen/openapi/proto/rpc/sentry/cluster_authz.swagger.json index 184889e1..be393d6d 100644 --- a/gen/openapi/proto/rpc/sentry/cluster_authz.swagger.json +++ b/gen/openapi/proto/rpc/sentry/cluster_authz.swagger.json @@ -9,7 +9,7 @@ }, "tags": [ { - "name": "ClusterAuthorization" + "name": "ClusterAuthorizationService" } ], "schemes": [ @@ -26,7 +26,7 @@ "paths": { "/v2/sentry/authorization/user": { "get": { - "operationId": "ClusterAuthorization_GetUserAuthorization", + "operationId": "ClusterAuthorizationService_GetUserAuthorization", "responses": { "200": { "description": "A successful response.", @@ -74,7 +74,7 @@ } ], "tags": [ - "ClusterAuthorization" + "ClusterAuthorizationService" ] } } diff --git a/gen/openapi/proto/rpc/sentry/kubeconfig.swagger.json b/gen/openapi/proto/rpc/sentry/kubeconfig.swagger.json index 669c0974..41acc35a 100644 --- a/gen/openapi/proto/rpc/sentry/kubeconfig.swagger.json +++ b/gen/openapi/proto/rpc/sentry/kubeconfig.swagger.json @@ -9,7 +9,7 @@ }, "tags": [ { - "name": "KubeConfig" + "name": "KubeConfigService" } ], "schemes": [ @@ -26,7 +26,7 @@ "paths": { "/v2/sentry/kubeconfig/clustersystemsession": { "get": { - "operationId": "KubeConfig_GetForClusterSystemSession", + "operationId": "KubeConfigService_GetForClusterSystemSession", "responses": { "200": { "description": "A successful response.", @@ -55,21 +55,21 @@ "parameters": [ { "name": "opts.q", - "description": "query for filtering.", + "description": "query for filtering", "in": "query", "required": false, "type": "string" }, { "name": "opts.name", - "description": "name is unique ID of a resource along with (partnerID, organizationID,\nprojectID).", + "description": "name is unique ID of a resource along with (partnerID, organizationID,\nprojectID)", "in": "query", "required": false, "type": "string" }, { "name": "opts.selector", - "description": "selector is used to filter the labels of a resource.", + "description": "selector is used to filter the labels of a resource", "in": "query", "required": false, "type": "string" @@ -106,7 +106,7 @@ }, { "name": "opts.displayName", - "description": "displayName only used for update queries to set displayName (READONLY).", + "description": "displayName only used for update queries to set displayName (READONLY)", "in": "query", "required": false, "type": "string" @@ -134,14 +134,14 @@ }, { "name": "opts.ignoreScopeDefault", - "description": "ignoreScopeDefault ignores default values for partnerID, organizationID and\nprojectID.", + "description": "ignoreScopeDefault ignores default values for partnerID, organizationID and\nprojectID", "in": "query", "required": false, "type": "boolean" }, { "name": "opts.globalScope", - "description": "globalScope sets partnerID,organizationID,projectID = 0.", + "description": "globalScope sets partnerID,organizationID,projectID = 0", "in": "query", "required": false, "type": "boolean" @@ -172,7 +172,7 @@ }, { "name": "opts.urlScope", - "description": "urlScope is supposed to be passed in the URL as kind/HashID(value).", + "description": "urlScope is supposed to be passed in the URL as kind/HashID(value)", "in": "query", "required": false, "type": "string" @@ -231,7 +231,7 @@ }, { "name": "opts.type", - "description": "generic way to specify a type of resource, mainly for use in users endpoint.", + "description": "generic way to specify a type of resource, mainly for use in users endpoint", "in": "query", "required": false, "type": "string" @@ -250,13 +250,13 @@ } ], "tags": [ - "KubeConfig" + "KubeConfigService" ] } }, "/v2/sentry/kubeconfig/clusterwebsession": { "get": { - "operationId": "KubeConfig_GetForClusterWebSession", + "operationId": "KubeConfigService_GetForClusterWebSession", "responses": { "200": { "description": "A successful response.", @@ -285,21 +285,21 @@ "parameters": [ { "name": "opts.q", - "description": "query for filtering.", + "description": "query for filtering", "in": "query", "required": false, "type": "string" }, { "name": "opts.name", - "description": "name is unique ID of a resource along with (partnerID, organizationID,\nprojectID).", + "description": "name is unique ID of a resource along with (partnerID, organizationID,\nprojectID)", "in": "query", "required": false, "type": "string" }, { "name": "opts.selector", - "description": "selector is used to filter the labels of a resource.", + "description": "selector is used to filter the labels of a resource", "in": "query", "required": false, "type": "string" @@ -336,7 +336,7 @@ }, { "name": "opts.displayName", - "description": "displayName only used for update queries to set displayName (READONLY).", + "description": "displayName only used for update queries to set displayName (READONLY)", "in": "query", "required": false, "type": "string" @@ -364,14 +364,14 @@ }, { "name": "opts.ignoreScopeDefault", - "description": "ignoreScopeDefault ignores default values for partnerID, organizationID and\nprojectID.", + "description": "ignoreScopeDefault ignores default values for partnerID, organizationID and\nprojectID", "in": "query", "required": false, "type": "boolean" }, { "name": "opts.globalScope", - "description": "globalScope sets partnerID,organizationID,projectID = 0.", + "description": "globalScope sets partnerID,organizationID,projectID = 0", "in": "query", "required": false, "type": "boolean" @@ -402,7 +402,7 @@ }, { "name": "opts.urlScope", - "description": "urlScope is supposed to be passed in the URL as kind/HashID(value).", + "description": "urlScope is supposed to be passed in the URL as kind/HashID(value)", "in": "query", "required": false, "type": "string" @@ -461,7 +461,7 @@ }, { "name": "opts.type", - "description": "generic way to specify a type of resource, mainly for use in users endpoint.", + "description": "generic way to specify a type of resource, mainly for use in users endpoint", "in": "query", "required": false, "type": "string" @@ -480,13 +480,13 @@ } ], "tags": [ - "KubeConfig" + "KubeConfigService" ] } }, "/v2/sentry/kubeconfig/revoke": { "post": { - "operationId": "KubeConfig_RevokeKubeconfig", + "operationId": "KubeConfigService_RevokeKubeconfig", "responses": { "200": { "description": "A successful response.", @@ -523,13 +523,13 @@ } ], "tags": [ - "KubeConfig" + "KubeConfigService" ] } }, "/v2/sentry/kubeconfig/user": { "get": { - "operationId": "KubeConfig_GetForUser", + "operationId": "KubeConfigService_GetForUser", "responses": { "200": { "description": "A successful response.", @@ -558,21 +558,21 @@ "parameters": [ { "name": "opts.q", - "description": "query for filtering.", + "description": "query for filtering", "in": "query", "required": false, "type": "string" }, { "name": "opts.name", - "description": "name is unique ID of a resource along with (partnerID, organizationID,\nprojectID).", + "description": "name is unique ID of a resource along with (partnerID, organizationID,\nprojectID)", "in": "query", "required": false, "type": "string" }, { "name": "opts.selector", - "description": "selector is used to filter the labels of a resource.", + "description": "selector is used to filter the labels of a resource", "in": "query", "required": false, "type": "string" @@ -609,7 +609,7 @@ }, { "name": "opts.displayName", - "description": "displayName only used for update queries to set displayName (READONLY).", + "description": "displayName only used for update queries to set displayName (READONLY)", "in": "query", "required": false, "type": "string" @@ -637,14 +637,14 @@ }, { "name": "opts.ignoreScopeDefault", - "description": "ignoreScopeDefault ignores default values for partnerID, organizationID and\nprojectID.", + "description": "ignoreScopeDefault ignores default values for partnerID, organizationID and\nprojectID", "in": "query", "required": false, "type": "boolean" }, { "name": "opts.globalScope", - "description": "globalScope sets partnerID,organizationID,projectID = 0.", + "description": "globalScope sets partnerID,organizationID,projectID = 0", "in": "query", "required": false, "type": "boolean" @@ -675,7 +675,7 @@ }, { "name": "opts.urlScope", - "description": "urlScope is supposed to be passed in the URL as kind/HashID(value).", + "description": "urlScope is supposed to be passed in the URL as kind/HashID(value)", "in": "query", "required": false, "type": "string" @@ -734,7 +734,7 @@ }, { "name": "opts.type", - "description": "generic way to specify a type of resource, mainly for use in users endpoint.", + "description": "generic way to specify a type of resource, mainly for use in users endpoint", "in": "query", "required": false, "type": "string" @@ -747,13 +747,13 @@ } ], "tags": [ - "KubeConfig" + "KubeConfigService" ] } }, "/v2/sentry/kubeconfig/{opts.urlScope_1}/setting": { "get": { - "operationId": "KubeConfig_GetOrganizationSetting", + "operationId": "KubeConfigService_GetUserSetting", "responses": { "200": { "description": "A successful response.", @@ -781,30 +781,30 @@ }, "parameters": [ { - "name": "opts.urlScope", + "name": "opts.urlScope_1", "description": "urlScope is supposed to be passed in the URL as kind/HashID(value)", "in": "path", "required": true, "type": "string", - "pattern": "organization/[^/]+" + "pattern": "user/[^/]+" }, { "name": "opts.q", - "description": "query for filtering.", + "description": "query for filtering", "in": "query", "required": false, "type": "string" }, { "name": "opts.name", - "description": "name is unique ID of a resource along with (partnerID, organizationID,\nprojectID).", + "description": "name is unique ID of a resource along with (partnerID, organizationID,\nprojectID)", "in": "query", "required": false, "type": "string" }, { "name": "opts.selector", - "description": "selector is used to filter the labels of a resource.", + "description": "selector is used to filter the labels of a resource", "in": "query", "required": false, "type": "string" @@ -841,7 +841,7 @@ }, { "name": "opts.displayName", - "description": "displayName only used for update queries to set displayName (READONLY).", + "description": "displayName only used for update queries to set displayName (READONLY)", "in": "query", "required": false, "type": "string" @@ -869,14 +869,14 @@ }, { "name": "opts.ignoreScopeDefault", - "description": "ignoreScopeDefault ignores default values for partnerID, organizationID and\nprojectID.", + "description": "ignoreScopeDefault ignores default values for partnerID, organizationID and\nprojectID", "in": "query", "required": false, "type": "boolean" }, { "name": "opts.globalScope", - "description": "globalScope sets partnerID,organizationID,projectID = 0.", + "description": "globalScope sets partnerID,organizationID,projectID = 0", "in": "query", "required": false, "type": "boolean" @@ -959,18 +959,18 @@ }, { "name": "opts.type", - "description": "generic way to specify a type of resource, mainly for use in users endpoint.", + "description": "generic way to specify a type of resource, mainly for use in users endpoint", "in": "query", "required": false, "type": "string" } ], "tags": [ - "KubeConfig" + "KubeConfigService" ] }, "put": { - "operationId": "KubeConfig_UpdateUserSetting", + "operationId": "KubeConfigService_UpdateUserSetting", "responses": { "200": { "description": "A successful response.", @@ -1010,18 +1010,153 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/rpcUpdateKubeconfigSettingRequest" + "type": "object", + "properties": { + "opts": { + "type": "object", + "properties": { + "q": { + "type": "string", + "title": "query for filtering" + }, + "name": { + "type": "string", + "title": "name is unique ID of a resource along with (partnerID, organizationID,\nprojectID)" + }, + "selector": { + "type": "string", + "title": "selector is used to filter the labels of a resource" + }, + "partner": { + "type": "string" + }, + "organization": { + "type": "string" + }, + "project": { + "type": "string" + }, + "group": { + "type": "string" + }, + "role": { + "type": "string" + }, + "displayName": { + "type": "string", + "title": "displayName only used for update queries to set displayName (READONLY)" + }, + "labels": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "title": "labels only used for update queries to set labels (READONLY)" + }, + "annotations": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "title": "annotations only used for update queries to set annotations (READONLY)" + }, + "count": { + "type": "string", + "format": "int64" + }, + "offset": { + "type": "string", + "format": "int64" + }, + "limit": { + "type": "string", + "format": "int64" + }, + "ignoreScopeDefault": { + "type": "boolean", + "title": "ignoreScopeDefault ignores default values for partnerID, organizationID and\nprojectID" + }, + "globalScope": { + "type": "boolean", + "title": "globalScope sets partnerID,organizationID,projectID = 0" + }, + "orderBy": { + "type": "string" + }, + "order": { + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "extended": { + "type": "boolean" + }, + "isSSOUser": { + "type": "boolean" + }, + "username": { + "type": "string" + }, + "groups": { + "type": "array", + "items": { + "type": "string" + } + }, + "blueprintRef": { + "type": "string" + }, + "publishedVersion": { + "type": "string" + }, + "clusterID": { + "type": "string" + }, + "ID": { + "type": "string" + }, + "account": { + "type": "string" + }, + "type": { + "type": "string", + "title": "generic way to specify a type of resource, mainly for use in users endpoint" + } + }, + "title": "QueryOptions is the options for performing queries on resources" + }, + "validitySeconds": { + "type": "string", + "format": "int64" + }, + "enableSessionCheck": { + "type": "boolean" + }, + "enablePrivateRelay": { + "type": "boolean" + }, + "enforceOrgAdminSecretAccess": { + "type": "boolean" + }, + "disableWebKubectl": { + "type": "boolean" + }, + "disableCLIKubectl": { + "type": "boolean" + } + } } } ], "tags": [ - "KubeConfig" + "KubeConfigService" ] } }, "/v2/sentry/kubeconfig/{opts.urlScope_2}/setting": { "get": { - "operationId": "KubeConfig_GetOrganizationSetting", + "operationId": "KubeConfigService_GetSSOUserSetting", "responses": { "200": { "description": "A successful response.", @@ -1049,30 +1184,30 @@ }, "parameters": [ { - "name": "opts.urlScope", + "name": "opts.urlScope_2", "description": "urlScope is supposed to be passed in the URL as kind/HashID(value)", "in": "path", "required": true, "type": "string", - "pattern": "organization/[^/]+" + "pattern": "ssouser/[^/]+" }, { "name": "opts.q", - "description": "query for filtering.", + "description": "query for filtering", "in": "query", "required": false, "type": "string" }, { "name": "opts.name", - "description": "name is unique ID of a resource along with (partnerID, organizationID,\nprojectID).", + "description": "name is unique ID of a resource along with (partnerID, organizationID,\nprojectID)", "in": "query", "required": false, "type": "string" }, { "name": "opts.selector", - "description": "selector is used to filter the labels of a resource.", + "description": "selector is used to filter the labels of a resource", "in": "query", "required": false, "type": "string" @@ -1109,7 +1244,7 @@ }, { "name": "opts.displayName", - "description": "displayName only used for update queries to set displayName (READONLY).", + "description": "displayName only used for update queries to set displayName (READONLY)", "in": "query", "required": false, "type": "string" @@ -1137,14 +1272,14 @@ }, { "name": "opts.ignoreScopeDefault", - "description": "ignoreScopeDefault ignores default values for partnerID, organizationID and\nprojectID.", + "description": "ignoreScopeDefault ignores default values for partnerID, organizationID and\nprojectID", "in": "query", "required": false, "type": "boolean" }, { "name": "opts.globalScope", - "description": "globalScope sets partnerID,organizationID,projectID = 0.", + "description": "globalScope sets partnerID,organizationID,projectID = 0", "in": "query", "required": false, "type": "boolean" @@ -1227,18 +1362,18 @@ }, { "name": "opts.type", - "description": "generic way to specify a type of resource, mainly for use in users endpoint.", + "description": "generic way to specify a type of resource, mainly for use in users endpoint", "in": "query", "required": false, "type": "string" } ], "tags": [ - "KubeConfig" + "KubeConfigService" ] }, "put": { - "operationId": "KubeConfig_UpdateSSOUserSetting", + "operationId": "KubeConfigService_UpdateSSOUserSetting", "responses": { "200": { "description": "A successful response.", @@ -1278,18 +1413,153 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/rpcUpdateKubeconfigSettingRequest" + "type": "object", + "properties": { + "opts": { + "type": "object", + "properties": { + "q": { + "type": "string", + "title": "query for filtering" + }, + "name": { + "type": "string", + "title": "name is unique ID of a resource along with (partnerID, organizationID,\nprojectID)" + }, + "selector": { + "type": "string", + "title": "selector is used to filter the labels of a resource" + }, + "partner": { + "type": "string" + }, + "organization": { + "type": "string" + }, + "project": { + "type": "string" + }, + "group": { + "type": "string" + }, + "role": { + "type": "string" + }, + "displayName": { + "type": "string", + "title": "displayName only used for update queries to set displayName (READONLY)" + }, + "labels": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "title": "labels only used for update queries to set labels (READONLY)" + }, + "annotations": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "title": "annotations only used for update queries to set annotations (READONLY)" + }, + "count": { + "type": "string", + "format": "int64" + }, + "offset": { + "type": "string", + "format": "int64" + }, + "limit": { + "type": "string", + "format": "int64" + }, + "ignoreScopeDefault": { + "type": "boolean", + "title": "ignoreScopeDefault ignores default values for partnerID, organizationID and\nprojectID" + }, + "globalScope": { + "type": "boolean", + "title": "globalScope sets partnerID,organizationID,projectID = 0" + }, + "orderBy": { + "type": "string" + }, + "order": { + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "extended": { + "type": "boolean" + }, + "isSSOUser": { + "type": "boolean" + }, + "username": { + "type": "string" + }, + "groups": { + "type": "array", + "items": { + "type": "string" + } + }, + "blueprintRef": { + "type": "string" + }, + "publishedVersion": { + "type": "string" + }, + "clusterID": { + "type": "string" + }, + "ID": { + "type": "string" + }, + "account": { + "type": "string" + }, + "type": { + "type": "string", + "title": "generic way to specify a type of resource, mainly for use in users endpoint" + } + }, + "title": "QueryOptions is the options for performing queries on resources" + }, + "validitySeconds": { + "type": "string", + "format": "int64" + }, + "enableSessionCheck": { + "type": "boolean" + }, + "enablePrivateRelay": { + "type": "boolean" + }, + "enforceOrgAdminSecretAccess": { + "type": "boolean" + }, + "disableWebKubectl": { + "type": "boolean" + }, + "disableCLIKubectl": { + "type": "boolean" + } + } } } ], "tags": [ - "KubeConfig" + "KubeConfigService" ] } }, "/v2/sentry/kubeconfig/{opts.urlScope}/download": { "get": { - "operationId": "KubeConfig_GetForUser2", + "operationId": "KubeConfigService_GetForUser2", "responses": { "200": { "description": "A successful response.", @@ -1326,21 +1596,21 @@ }, { "name": "opts.q", - "description": "query for filtering.", + "description": "query for filtering", "in": "query", "required": false, "type": "string" }, { "name": "opts.name", - "description": "name is unique ID of a resource along with (partnerID, organizationID,\nprojectID).", + "description": "name is unique ID of a resource along with (partnerID, organizationID,\nprojectID)", "in": "query", "required": false, "type": "string" }, { "name": "opts.selector", - "description": "selector is used to filter the labels of a resource.", + "description": "selector is used to filter the labels of a resource", "in": "query", "required": false, "type": "string" @@ -1377,7 +1647,7 @@ }, { "name": "opts.displayName", - "description": "displayName only used for update queries to set displayName (READONLY).", + "description": "displayName only used for update queries to set displayName (READONLY)", "in": "query", "required": false, "type": "string" @@ -1405,14 +1675,14 @@ }, { "name": "opts.ignoreScopeDefault", - "description": "ignoreScopeDefault ignores default values for partnerID, organizationID and\nprojectID.", + "description": "ignoreScopeDefault ignores default values for partnerID, organizationID and\nprojectID", "in": "query", "required": false, "type": "boolean" }, { "name": "opts.globalScope", - "description": "globalScope sets partnerID,organizationID,projectID = 0.", + "description": "globalScope sets partnerID,organizationID,projectID = 0", "in": "query", "required": false, "type": "boolean" @@ -1495,7 +1765,7 @@ }, { "name": "opts.type", - "description": "generic way to specify a type of resource, mainly for use in users endpoint.", + "description": "generic way to specify a type of resource, mainly for use in users endpoint", "in": "query", "required": false, "type": "string" @@ -1508,13 +1778,13 @@ } ], "tags": [ - "KubeConfig" + "KubeConfigService" ] } }, "/v2/sentry/kubeconfig/{opts.urlScope}/revoke": { "post": { - "operationId": "KubeConfig_RevokeKubeconfig2", + "operationId": "KubeConfigService_RevokeKubeconfig2", "responses": { "200": { "description": "A successful response.", @@ -1554,18 +1824,134 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/rpcRevokeKubeconfigRequest" + "type": "object", + "properties": { + "opts": { + "type": "object", + "properties": { + "q": { + "type": "string", + "title": "query for filtering" + }, + "name": { + "type": "string", + "title": "name is unique ID of a resource along with (partnerID, organizationID,\nprojectID)" + }, + "selector": { + "type": "string", + "title": "selector is used to filter the labels of a resource" + }, + "partner": { + "type": "string" + }, + "organization": { + "type": "string" + }, + "project": { + "type": "string" + }, + "group": { + "type": "string" + }, + "role": { + "type": "string" + }, + "displayName": { + "type": "string", + "title": "displayName only used for update queries to set displayName (READONLY)" + }, + "labels": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "title": "labels only used for update queries to set labels (READONLY)" + }, + "annotations": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "title": "annotations only used for update queries to set annotations (READONLY)" + }, + "count": { + "type": "string", + "format": "int64" + }, + "offset": { + "type": "string", + "format": "int64" + }, + "limit": { + "type": "string", + "format": "int64" + }, + "ignoreScopeDefault": { + "type": "boolean", + "title": "ignoreScopeDefault ignores default values for partnerID, organizationID and\nprojectID" + }, + "globalScope": { + "type": "boolean", + "title": "globalScope sets partnerID,organizationID,projectID = 0" + }, + "orderBy": { + "type": "string" + }, + "order": { + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "extended": { + "type": "boolean" + }, + "isSSOUser": { + "type": "boolean" + }, + "username": { + "type": "string" + }, + "groups": { + "type": "array", + "items": { + "type": "string" + } + }, + "blueprintRef": { + "type": "string" + }, + "publishedVersion": { + "type": "string" + }, + "clusterID": { + "type": "string" + }, + "ID": { + "type": "string" + }, + "account": { + "type": "string" + }, + "type": { + "type": "string", + "title": "generic way to specify a type of resource, mainly for use in users endpoint" + } + }, + "title": "QueryOptions is the options for performing queries on resources" + } + } } } ], "tags": [ - "KubeConfig" + "KubeConfigService" ] } }, "/v2/sentry/kubeconfig/{opts.urlScope}/setting": { "get": { - "operationId": "KubeConfig_GetOrganizationSetting", + "operationId": "KubeConfigService_GetOrganizationSetting", "responses": { "200": { "description": "A successful response.", @@ -1602,21 +1988,21 @@ }, { "name": "opts.q", - "description": "query for filtering.", + "description": "query for filtering", "in": "query", "required": false, "type": "string" }, { "name": "opts.name", - "description": "name is unique ID of a resource along with (partnerID, organizationID,\nprojectID).", + "description": "name is unique ID of a resource along with (partnerID, organizationID,\nprojectID)", "in": "query", "required": false, "type": "string" }, { "name": "opts.selector", - "description": "selector is used to filter the labels of a resource.", + "description": "selector is used to filter the labels of a resource", "in": "query", "required": false, "type": "string" @@ -1653,7 +2039,7 @@ }, { "name": "opts.displayName", - "description": "displayName only used for update queries to set displayName (READONLY).", + "description": "displayName only used for update queries to set displayName (READONLY)", "in": "query", "required": false, "type": "string" @@ -1681,14 +2067,14 @@ }, { "name": "opts.ignoreScopeDefault", - "description": "ignoreScopeDefault ignores default values for partnerID, organizationID and\nprojectID.", + "description": "ignoreScopeDefault ignores default values for partnerID, organizationID and\nprojectID", "in": "query", "required": false, "type": "boolean" }, { "name": "opts.globalScope", - "description": "globalScope sets partnerID,organizationID,projectID = 0.", + "description": "globalScope sets partnerID,organizationID,projectID = 0", "in": "query", "required": false, "type": "boolean" @@ -1771,18 +2157,18 @@ }, { "name": "opts.type", - "description": "generic way to specify a type of resource, mainly for use in users endpoint.", + "description": "generic way to specify a type of resource, mainly for use in users endpoint", "in": "query", "required": false, "type": "string" } ], "tags": [ - "KubeConfig" + "KubeConfigService" ] }, "put": { - "operationId": "KubeConfig_UpdateOrganizationSetting", + "operationId": "KubeConfigService_UpdateOrganizationSetting", "responses": { "200": { "description": "A successful response.", @@ -1822,12 +2208,147 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/rpcUpdateKubeconfigSettingRequest" + "type": "object", + "properties": { + "opts": { + "type": "object", + "properties": { + "q": { + "type": "string", + "title": "query for filtering" + }, + "name": { + "type": "string", + "title": "name is unique ID of a resource along with (partnerID, organizationID,\nprojectID)" + }, + "selector": { + "type": "string", + "title": "selector is used to filter the labels of a resource" + }, + "partner": { + "type": "string" + }, + "organization": { + "type": "string" + }, + "project": { + "type": "string" + }, + "group": { + "type": "string" + }, + "role": { + "type": "string" + }, + "displayName": { + "type": "string", + "title": "displayName only used for update queries to set displayName (READONLY)" + }, + "labels": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "title": "labels only used for update queries to set labels (READONLY)" + }, + "annotations": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "title": "annotations only used for update queries to set annotations (READONLY)" + }, + "count": { + "type": "string", + "format": "int64" + }, + "offset": { + "type": "string", + "format": "int64" + }, + "limit": { + "type": "string", + "format": "int64" + }, + "ignoreScopeDefault": { + "type": "boolean", + "title": "ignoreScopeDefault ignores default values for partnerID, organizationID and\nprojectID" + }, + "globalScope": { + "type": "boolean", + "title": "globalScope sets partnerID,organizationID,projectID = 0" + }, + "orderBy": { + "type": "string" + }, + "order": { + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "extended": { + "type": "boolean" + }, + "isSSOUser": { + "type": "boolean" + }, + "username": { + "type": "string" + }, + "groups": { + "type": "array", + "items": { + "type": "string" + } + }, + "blueprintRef": { + "type": "string" + }, + "publishedVersion": { + "type": "string" + }, + "clusterID": { + "type": "string" + }, + "ID": { + "type": "string" + }, + "account": { + "type": "string" + }, + "type": { + "type": "string", + "title": "generic way to specify a type of resource, mainly for use in users endpoint" + } + }, + "title": "QueryOptions is the options for performing queries on resources" + }, + "validitySeconds": { + "type": "string", + "format": "int64" + }, + "enableSessionCheck": { + "type": "boolean" + }, + "enablePrivateRelay": { + "type": "boolean" + }, + "enforceOrgAdminSecretAccess": { + "type": "boolean" + }, + "disableWebKubectl": { + "type": "boolean" + }, + "disableCLIKubectl": { + "type": "boolean" + } + } } } ], "tags": [ - "KubeConfig" + "KubeConfigService" ] } } @@ -1895,33 +2416,6 @@ "rpcRevokeKubeconfigResponse": { "type": "object" }, - "rpcUpdateKubeconfigSettingRequest": { - "type": "object", - "properties": { - "opts": { - "$ref": "#/definitions/v3QueryOptions" - }, - "validitySeconds": { - "type": "string", - "format": "int64" - }, - "enableSessionCheck": { - "type": "boolean" - }, - "enablePrivateRelay": { - "type": "boolean" - }, - "enforceOrgAdminSecretAccess": { - "type": "boolean" - }, - "disableWebKubectl": { - "type": "boolean" - }, - "disableCLIKubectl": { - "type": "boolean" - } - } - }, "rpcUpdateKubeconfigSettingResponse": { "type": "object" }, diff --git a/gen/openapi/proto/rpc/sentry/kubectl_cluster.swagger.json b/gen/openapi/proto/rpc/sentry/kubectl_cluster.swagger.json index 070c7e61..76b8a250 100644 --- a/gen/openapi/proto/rpc/sentry/kubectl_cluster.swagger.json +++ b/gen/openapi/proto/rpc/sentry/kubectl_cluster.swagger.json @@ -9,7 +9,7 @@ }, "tags": [ { - "name": "KubectlClusterSettings" + "name": "KubectlClusterSettingsService" } ], "schemes": [ @@ -26,7 +26,7 @@ "paths": { "/v2/sentry/kubectl/{opts.urlScope}/settings": { "get": { - "operationId": "KubectlClusterSettings_GetKubectlClusterSettings", + "operationId": "KubectlClusterSettingsService_GetKubectlClusterSettings", "responses": { "200": { "description": "A successful response.", @@ -63,21 +63,21 @@ }, { "name": "opts.q", - "description": "query for filtering.", + "description": "query for filtering", "in": "query", "required": false, "type": "string" }, { "name": "opts.name", - "description": "name is unique ID of a resource along with (partnerID, organizationID,\nprojectID).", + "description": "name is unique ID of a resource along with (partnerID, organizationID,\nprojectID)", "in": "query", "required": false, "type": "string" }, { "name": "opts.selector", - "description": "selector is used to filter the labels of a resource.", + "description": "selector is used to filter the labels of a resource", "in": "query", "required": false, "type": "string" @@ -114,7 +114,7 @@ }, { "name": "opts.displayName", - "description": "displayName only used for update queries to set displayName (READONLY).", + "description": "displayName only used for update queries to set displayName (READONLY)", "in": "query", "required": false, "type": "string" @@ -142,14 +142,14 @@ }, { "name": "opts.ignoreScopeDefault", - "description": "ignoreScopeDefault ignores default values for partnerID, organizationID and\nprojectID.", + "description": "ignoreScopeDefault ignores default values for partnerID, organizationID and\nprojectID", "in": "query", "required": false, "type": "boolean" }, { "name": "opts.globalScope", - "description": "globalScope sets partnerID,organizationID,projectID = 0.", + "description": "globalScope sets partnerID,organizationID,projectID = 0", "in": "query", "required": false, "type": "boolean" @@ -232,18 +232,18 @@ }, { "name": "opts.type", - "description": "generic way to specify a type of resource, mainly for use in users endpoint.", + "description": "generic way to specify a type of resource, mainly for use in users endpoint", "in": "query", "required": false, "type": "string" } ], "tags": [ - "KubectlClusterSettings" + "KubectlClusterSettingsService" ] }, "put": { - "operationId": "KubectlClusterSettings_UpdateKubectlClusterSettings", + "operationId": "KubectlClusterSettingsService_UpdateKubectlClusterSettings", "responses": { "200": { "description": "A successful response.", @@ -283,12 +283,134 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/rpcUpdateKubectlClusterSettingsRequest" + "type": "object", + "properties": { + "opts": { + "type": "object", + "properties": { + "q": { + "type": "string", + "title": "query for filtering" + }, + "name": { + "type": "string", + "title": "name is unique ID of a resource along with (partnerID, organizationID,\nprojectID)" + }, + "selector": { + "type": "string", + "title": "selector is used to filter the labels of a resource" + }, + "partner": { + "type": "string" + }, + "organization": { + "type": "string" + }, + "project": { + "type": "string" + }, + "group": { + "type": "string" + }, + "role": { + "type": "string" + }, + "displayName": { + "type": "string", + "title": "displayName only used for update queries to set displayName (READONLY)" + }, + "labels": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "title": "labels only used for update queries to set labels (READONLY)" + }, + "annotations": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "title": "annotations only used for update queries to set annotations (READONLY)" + }, + "count": { + "type": "string", + "format": "int64" + }, + "offset": { + "type": "string", + "format": "int64" + }, + "limit": { + "type": "string", + "format": "int64" + }, + "ignoreScopeDefault": { + "type": "boolean", + "title": "ignoreScopeDefault ignores default values for partnerID, organizationID and\nprojectID" + }, + "globalScope": { + "type": "boolean", + "title": "globalScope sets partnerID,organizationID,projectID = 0" + }, + "orderBy": { + "type": "string" + }, + "order": { + "type": "string" + }, + "deleted": { + "type": "boolean" + }, + "extended": { + "type": "boolean" + }, + "isSSOUser": { + "type": "boolean" + }, + "username": { + "type": "string" + }, + "groups": { + "type": "array", + "items": { + "type": "string" + } + }, + "blueprintRef": { + "type": "string" + }, + "publishedVersion": { + "type": "string" + }, + "clusterID": { + "type": "string" + }, + "ID": { + "type": "string" + }, + "account": { + "type": "string" + }, + "type": { + "type": "string", + "title": "generic way to specify a type of resource, mainly for use in users endpoint" + } + }, + "title": "QueryOptions is the options for performing queries on resources" + }, + "disableWebKubectl": { + "type": "boolean" + }, + "disableCLIKubectl": { + "type": "boolean" + } + } } } ], "tags": [ - "KubectlClusterSettings" + "KubectlClusterSettingsService" ] } } @@ -332,20 +454,6 @@ } } }, - "rpcUpdateKubectlClusterSettingsRequest": { - "type": "object", - "properties": { - "opts": { - "$ref": "#/definitions/v3QueryOptions" - }, - "disableWebKubectl": { - "type": "boolean" - }, - "disableCLIKubectl": { - "type": "boolean" - } - } - }, "rpcUpdateKubectlClusterSettingsResponse": { "type": "object" }, diff --git a/gen/openapi/proto/rpc/sentry/relaypeer.swagger.json b/gen/openapi/proto/rpc/sentry/relaypeer.swagger.json index d47a286c..1fcc9d15 100644 --- a/gen/openapi/proto/rpc/sentry/relaypeer.swagger.json +++ b/gen/openapi/proto/rpc/sentry/relaypeer.swagger.json @@ -64,7 +64,7 @@ "items": { "type": "array", "items": { - "$ref": "#/definitions/rpcrelayClusterConnectionInfo" + "$ref": "#/definitions/rpcRelayClusterConnectionInfo" } } }, @@ -79,7 +79,7 @@ }, "title": "Survey request sent from the service to all relays" }, - "rpcrelayClusterConnectionInfo": { + "rpcRelayClusterConnectionInfo": { "type": "object", "properties": { "relayuuid": { diff --git a/gen/openapi/proto/rpc/system/idp.swagger.json b/gen/openapi/proto/rpc/system/idp.swagger.json index 07479bb8..5df5295c 100644 --- a/gen/openapi/proto/rpc/system/idp.swagger.json +++ b/gen/openapi/proto/rpc/system/idp.swagger.json @@ -9,7 +9,7 @@ }, "tags": [ { - "name": "Idp" + "name": "IdpService" } ], "schemes": [ @@ -26,7 +26,7 @@ "paths": { "/auth/v3/sso/idp": { "get": { - "operationId": "Idp_ListIdps", + "operationId": "IdpService_ListIdps", "responses": { "200": { "description": "A successful response.", @@ -53,11 +53,11 @@ } }, "tags": [ - "Idp" + "IdpService" ] }, "post": { - "operationId": "Idp_CreateIdp", + "operationId": "IdpService_CreateIdp", "responses": { "200": { "description": "A successful response.", @@ -90,6 +90,7 @@ "parameters": [ { "name": "body", + "description": "Idp", "in": "body", "required": true, "schema": { @@ -98,13 +99,13 @@ } ], "tags": [ - "Idp" + "IdpService" ] } }, "/auth/v3/sso/idp/{metadata.name}": { "get": { - "operationId": "Idp_GetIdp", + "operationId": "IdpService_GetIdp", "responses": { "200": { "description": "A successful response.", @@ -140,51 +141,51 @@ }, { "name": "apiVersion", - "description": "API Version. API Version of the idp resource", + "description": "API Version\n\nAPI Version of the idp resource", "in": "query", - "required": false, + "required": true, "type": "string", "default": "system.k8smgmt.io/v3" }, { "name": "kind", - "description": "Kind. Kind of the idp resource", + "description": "Kind\n\nKind of the idp resource", "in": "query", - "required": false, + "required": true, "type": "string", "default": "Idp" }, { "name": "metadata.displayName", - "description": "Display Name. display name of the resource", + "description": "Display Name\n\ndisplay name of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.description", - "description": "Description. description of the resource", + "description": "Description\n\ndescription of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.project", - "description": "Project. Project of the resource", + "description": "Project\n\nProject of the resource", "in": "query", - "required": false, + "required": true, "type": "string" }, { "name": "metadata.organization", - "description": "Organization. Organization to which the resource belongs", + "description": "Organization\n\nOrganization to which the resource belongs", "in": "query", "required": false, "type": "string" }, { "name": "metadata.partner", - "description": "Partner. Partner to which the resource belongs", + "description": "Partner\n\nPartner to which the resource belongs", "in": "query", "required": false, "type": "string" @@ -295,14 +296,14 @@ }, { "name": "status.conditionType", - "description": "Condition Type. type of the status condition", + "description": "Condition Type\n\ntype of the status condition", "in": "query", "required": false, "type": "string" }, { "name": "status.conditionStatus", - "description": "Condition Status. status of the condition", + "description": "Condition Status\n\nstatus of the condition", "in": "query", "required": false, "type": "string", @@ -316,7 +317,7 @@ }, { "name": "status.lastUpdated", - "description": "Last Updated. when the condition status is last updated", + "description": "Last Updated\n\nwhen the condition status is last updated", "in": "query", "required": false, "type": "string", @@ -324,22 +325,23 @@ }, { "name": "status.reason", - "description": "Reason. reason of the last condition status", + "description": "Reason\n\nreason of the last condition status", "in": "query", "required": false, "type": "string" } ], "tags": [ - "Idp" + "IdpService" ] }, "delete": { - "operationId": "Idp_DeleteIdp", + "operationId": "IdpService_DeleteIdp", "responses": { "200": { "description": "A successful response.", "schema": { + "type": "object", "properties": {} } }, @@ -375,51 +377,51 @@ }, { "name": "apiVersion", - "description": "API Version. API Version of the idp resource", + "description": "API Version\n\nAPI Version of the idp resource", "in": "query", - "required": false, + "required": true, "type": "string", "default": "system.k8smgmt.io/v3" }, { "name": "kind", - "description": "Kind. Kind of the idp resource", + "description": "Kind\n\nKind of the idp resource", "in": "query", - "required": false, + "required": true, "type": "string", "default": "Idp" }, { "name": "metadata.displayName", - "description": "Display Name. display name of the resource", + "description": "Display Name\n\ndisplay name of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.description", - "description": "Description. description of the resource", + "description": "Description\n\ndescription of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.project", - "description": "Project. Project of the resource", + "description": "Project\n\nProject of the resource", "in": "query", - "required": false, + "required": true, "type": "string" }, { "name": "metadata.organization", - "description": "Organization. Organization to which the resource belongs", + "description": "Organization\n\nOrganization to which the resource belongs", "in": "query", "required": false, "type": "string" }, { "name": "metadata.partner", - "description": "Partner. Partner to which the resource belongs", + "description": "Partner\n\nPartner to which the resource belongs", "in": "query", "required": false, "type": "string" @@ -530,14 +532,14 @@ }, { "name": "status.conditionType", - "description": "Condition Type. type of the status condition", + "description": "Condition Type\n\ntype of the status condition", "in": "query", "required": false, "type": "string" }, { "name": "status.conditionStatus", - "description": "Condition Status. status of the condition", + "description": "Condition Status\n\nstatus of the condition", "in": "query", "required": false, "type": "string", @@ -551,7 +553,7 @@ }, { "name": "status.lastUpdated", - "description": "Last Updated. when the condition status is last updated", + "description": "Last Updated\n\nwhen the condition status is last updated", "in": "query", "required": false, "type": "string", @@ -559,18 +561,18 @@ }, { "name": "status.reason", - "description": "Reason. reason of the last condition status", + "description": "Reason\n\nreason of the last condition status", "in": "query", "required": false, "type": "string" } ], "tags": [ - "Idp" + "IdpService" ] }, "put": { - "operationId": "Idp_UpdateIdp", + "operationId": "IdpService_UpdateIdp", "responses": { "200": { "description": "A successful response.", @@ -609,12 +611,116 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v3Idp" + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "default": "system.k8smgmt.io/v3", + "description": "API Version of the idp resource", + "title": "API Version" + }, + "kind": { + "type": "string", + "default": "Idp", + "description": "Kind of the idp resource", + "title": "Kind" + }, + "metadata": { + "type": "object", + "example": { + "name": "some-name", + "project": "defaultproject" + }, + "properties": { + "displayName": { + "type": "string", + "description": "display name of the resource", + "title": "Display Name" + }, + "description": { + "type": "string", + "description": "description of the resource", + "title": "Description" + }, + "labels": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "labels of the resource", + "title": "Labels" + }, + "annotations": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "annotations of the resource", + "title": "Annotations" + }, + "project": { + "type": "string", + "description": "Project of the resource", + "title": "Project" + }, + "organization": { + "type": "string", + "description": "Organization to which the resource belongs", + "title": "Organization" + }, + "partner": { + "type": "string", + "description": "Partner to which the resource belongs", + "title": "Partner" + }, + "id": { + "type": "string", + "readOnly": true + }, + "urlScope": { + "type": "string", + "readOnly": true + }, + "createdAt": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "modifiedAt": { + "type": "string", + "format": "date-time", + "readOnly": true + } + }, + "description": "metadata of the resource", + "title": "Metadata" + }, + "spec": { + "$ref": "#/definitions/v3IdpSpec", + "description": "Spec of the idp resource", + "title": "Spec" + }, + "status": { + "$ref": "#/definitions/commonv3Status", + "description": "Status of the resource", + "title": "Status", + "readOnly": true + } + }, + "description": "Idp", + "title": "Idp", + "required": [ + "apiVersion", + "kind", + "metadata", + "spec", + "project" + ] } } ], "tags": [ - "Idp" + "IdpService" ] } } @@ -764,11 +870,11 @@ "items": { "type": "array", "items": { - "$ref": "#/definitions/v3Idp" + "$ref": "#/definitions/v3Idp", + "readOnly": true }, "description": "List of the idp resources", - "title": "Items", - "readOnly": true + "title": "Items" } }, "description": "idp list", diff --git a/gen/openapi/proto/rpc/system/metro.swagger.json b/gen/openapi/proto/rpc/system/metro.swagger.json index 8b2c8a1a..6abd98c1 100644 --- a/gen/openapi/proto/rpc/system/metro.swagger.json +++ b/gen/openapi/proto/rpc/system/metro.swagger.json @@ -9,7 +9,7 @@ }, "tags": [ { - "name": "Location" + "name": "LocationService" } ], "schemes": [ @@ -26,7 +26,7 @@ "paths": { "/infra/v3/partner/{metadata.partner}/location": { "get": { - "operationId": "Location_GetLocations", + "operationId": "LocationService_GetLocations", "responses": { "200": { "description": "A successful response.", @@ -62,51 +62,51 @@ }, { "name": "apiVersion", - "description": "API Version. API Version of the resource", + "description": "API Version\n\nAPI Version of the resource", "in": "query", - "required": false, + "required": true, "type": "string", "default": "infra.k8smgmt.io/v3" }, { "name": "kind", - "description": "Kind. Kind of the resource", + "description": "Kind\n\nKind of the resource", "in": "query", - "required": false, + "required": true, "type": "string", "default": "Location" }, { "name": "metadata.name", - "description": "Name. name of the resource", + "description": "Name\n\nname of the resource", "in": "query", - "required": false, + "required": true, "type": "string" }, { "name": "metadata.displayName", - "description": "Display Name. display name of the resource", + "description": "Display Name\n\ndisplay name of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.description", - "description": "Description. description of the resource", + "description": "Description\n\ndescription of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.project", - "description": "Project. Project of the resource", + "description": "Project\n\nProject of the resource", "in": "query", - "required": false, + "required": true, "type": "string" }, { "name": "metadata.organization", - "description": "Organization. Organization to which the resource belongs", + "description": "Organization\n\nOrganization to which the resource belongs", "in": "query", "required": false, "type": "string" @@ -139,84 +139,84 @@ }, { "name": "spec.id", - "description": "ID of Location. ID Location of the cluster", + "description": "ID of Location\n\nID Location of the cluster", "in": "query", "required": false, "type": "string" }, { "name": "spec.name", - "description": "Location. Location of the cluster", + "description": "Location\n\nLocation of the cluster", "in": "query", "required": false, "type": "string" }, { "name": "spec.city", - "description": "City. City of the location", + "description": "City\n\nCity of the location", "in": "query", "required": false, "type": "string" }, { "name": "spec.state", - "description": "State. State of the location", + "description": "State\n\nState of the location", "in": "query", "required": false, "type": "string" }, { "name": "spec.country", - "description": "Country. country of the location", + "description": "Country\n\ncountry of the location", "in": "query", "required": false, "type": "string" }, { "name": "spec.locale", - "description": "Locale. locale of the location", + "description": "Locale\n\nlocale of the location", "in": "query", "required": false, "type": "string" }, { "name": "spec.latitude", - "description": "Latitude. Latitude of the location", + "description": "Latitude\n\nLatitude of the location", "in": "query", "required": false, "type": "string" }, { "name": "spec.longitude", - "description": "Longitude. Longitude of the location", + "description": "Longitude\n\nLongitude of the location", "in": "query", "required": false, "type": "string" }, { "name": "spec.countryCode", - "description": "CountryCode. CountryCode of the location", + "description": "CountryCode\n\nCountryCode of the location", "in": "query", "required": false, "type": "string" }, { "name": "spec.stateCode", - "description": "StateCode. StateCode of the location", + "description": "StateCode\n\nStateCode of the location", "in": "query", "required": false, "type": "string" }, { "name": "status.conditionType", - "description": "Condition Type. type of the status condition", + "description": "Condition Type\n\ntype of the status condition", "in": "query", "required": false, "type": "string" }, { "name": "status.conditionStatus", - "description": "Condition Status. status of the condition", + "description": "Condition Status\n\nstatus of the condition", "in": "query", "required": false, "type": "string", @@ -230,7 +230,7 @@ }, { "name": "status.lastUpdated", - "description": "Last Updated. when the condition status is last updated", + "description": "Last Updated\n\nwhen the condition status is last updated", "in": "query", "required": false, "type": "string", @@ -238,18 +238,18 @@ }, { "name": "status.reason", - "description": "Reason. reason of the last condition status", + "description": "Reason\n\nreason of the last condition status", "in": "query", "required": false, "type": "string" } ], "tags": [ - "Location" + "LocationService" ] }, "post": { - "operationId": "Location_CreateLocation", + "operationId": "LocationService_CreateLocation", "responses": { "200": { "description": "A successful response.", @@ -292,18 +292,125 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/infrav3Location" + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "default": "infra.k8smgmt.io/v3", + "description": "API Version of the resource", + "title": "API Version", + "readOnly": true + }, + "kind": { + "type": "string", + "default": "Location", + "description": "Kind of the resource", + "title": "Kind", + "readOnly": true + }, + "metadata": { + "type": "object", + "example": { + "name": "some-name", + "project": "defaultproject" + }, + "properties": { + "name": { + "type": "string", + "description": "name of the resource", + "title": "Name" + }, + "displayName": { + "type": "string", + "description": "display name of the resource", + "title": "Display Name" + }, + "description": { + "type": "string", + "description": "description of the resource", + "title": "Description" + }, + "labels": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "labels of the resource", + "title": "Labels" + }, + "annotations": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "annotations of the resource", + "title": "Annotations" + }, + "project": { + "type": "string", + "description": "Project of the resource", + "title": "Project" + }, + "organization": { + "type": "string", + "description": "Organization to which the resource belongs", + "title": "Organization" + }, + "id": { + "type": "string", + "readOnly": true + }, + "urlScope": { + "type": "string", + "readOnly": true + }, + "createdAt": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "modifiedAt": { + "type": "string", + "format": "date-time", + "readOnly": true + } + }, + "description": "metadata of the resource", + "title": "Metadata" + }, + "spec": { + "$ref": "#/definitions/v3Metro", + "description": "Spec of the resource", + "title": "Spec" + }, + "status": { + "$ref": "#/definitions/commonv3Status", + "description": "Status of the resource", + "title": "Status", + "readOnly": true + } + }, + "description": "Location", + "title": "Location", + "required": [ + "apiVersion", + "kind", + "metadata", + "spec", + "name", + "project" + ] } } ], "tags": [ - "Location" + "LocationService" ] } }, "/infra/v3/partner/{metadata.partner}/location/{metadata.name}": { "get": { - "operationId": "Location_GetLocation", + "operationId": "LocationService_GetLocation", "responses": { "200": { "description": "A successful response.", @@ -346,44 +453,44 @@ }, { "name": "apiVersion", - "description": "API Version. API Version of the resource", + "description": "API Version\n\nAPI Version of the resource", "in": "query", - "required": false, + "required": true, "type": "string", "default": "infra.k8smgmt.io/v3" }, { "name": "kind", - "description": "Kind. Kind of the resource", + "description": "Kind\n\nKind of the resource", "in": "query", - "required": false, + "required": true, "type": "string", "default": "Location" }, { "name": "metadata.displayName", - "description": "Display Name. display name of the resource", + "description": "Display Name\n\ndisplay name of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.description", - "description": "Description. description of the resource", + "description": "Description\n\ndescription of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.project", - "description": "Project. Project of the resource", + "description": "Project\n\nProject of the resource", "in": "query", - "required": false, + "required": true, "type": "string" }, { "name": "metadata.organization", - "description": "Organization. Organization to which the resource belongs", + "description": "Organization\n\nOrganization to which the resource belongs", "in": "query", "required": false, "type": "string" @@ -416,84 +523,84 @@ }, { "name": "spec.id", - "description": "ID of Location. ID Location of the cluster", + "description": "ID of Location\n\nID Location of the cluster", "in": "query", "required": false, "type": "string" }, { "name": "spec.name", - "description": "Location. Location of the cluster", + "description": "Location\n\nLocation of the cluster", "in": "query", "required": false, "type": "string" }, { "name": "spec.city", - "description": "City. City of the location", + "description": "City\n\nCity of the location", "in": "query", "required": false, "type": "string" }, { "name": "spec.state", - "description": "State. State of the location", + "description": "State\n\nState of the location", "in": "query", "required": false, "type": "string" }, { "name": "spec.country", - "description": "Country. country of the location", + "description": "Country\n\ncountry of the location", "in": "query", "required": false, "type": "string" }, { "name": "spec.locale", - "description": "Locale. locale of the location", + "description": "Locale\n\nlocale of the location", "in": "query", "required": false, "type": "string" }, { "name": "spec.latitude", - "description": "Latitude. Latitude of the location", + "description": "Latitude\n\nLatitude of the location", "in": "query", "required": false, "type": "string" }, { "name": "spec.longitude", - "description": "Longitude. Longitude of the location", + "description": "Longitude\n\nLongitude of the location", "in": "query", "required": false, "type": "string" }, { "name": "spec.countryCode", - "description": "CountryCode. CountryCode of the location", + "description": "CountryCode\n\nCountryCode of the location", "in": "query", "required": false, "type": "string" }, { "name": "spec.stateCode", - "description": "StateCode. StateCode of the location", + "description": "StateCode\n\nStateCode of the location", "in": "query", "required": false, "type": "string" }, { "name": "status.conditionType", - "description": "Condition Type. type of the status condition", + "description": "Condition Type\n\ntype of the status condition", "in": "query", "required": false, "type": "string" }, { "name": "status.conditionStatus", - "description": "Condition Status. status of the condition", + "description": "Condition Status\n\nstatus of the condition", "in": "query", "required": false, "type": "string", @@ -507,7 +614,7 @@ }, { "name": "status.lastUpdated", - "description": "Last Updated. when the condition status is last updated", + "description": "Last Updated\n\nwhen the condition status is last updated", "in": "query", "required": false, "type": "string", @@ -515,18 +622,18 @@ }, { "name": "status.reason", - "description": "Reason. reason of the last condition status", + "description": "Reason\n\nreason of the last condition status", "in": "query", "required": false, "type": "string" } ], "tags": [ - "Location" + "LocationService" ] }, "delete": { - "operationId": "Location_DeleteLocation", + "operationId": "LocationService_DeleteLocation", "responses": { "200": { "description": "A successful response.", @@ -573,44 +680,44 @@ }, { "name": "apiVersion", - "description": "API Version. API Version of the resource", + "description": "API Version\n\nAPI Version of the resource", "in": "query", - "required": false, + "required": true, "type": "string", "default": "infra.k8smgmt.io/v3" }, { "name": "kind", - "description": "Kind. Kind of the resource", + "description": "Kind\n\nKind of the resource", "in": "query", - "required": false, + "required": true, "type": "string", "default": "Location" }, { "name": "metadata.displayName", - "description": "Display Name. display name of the resource", + "description": "Display Name\n\ndisplay name of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.description", - "description": "Description. description of the resource", + "description": "Description\n\ndescription of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.project", - "description": "Project. Project of the resource", + "description": "Project\n\nProject of the resource", "in": "query", - "required": false, + "required": true, "type": "string" }, { "name": "metadata.organization", - "description": "Organization. Organization to which the resource belongs", + "description": "Organization\n\nOrganization to which the resource belongs", "in": "query", "required": false, "type": "string" @@ -643,84 +750,84 @@ }, { "name": "spec.id", - "description": "ID of Location. ID Location of the cluster", + "description": "ID of Location\n\nID Location of the cluster", "in": "query", "required": false, "type": "string" }, { "name": "spec.name", - "description": "Location. Location of the cluster", + "description": "Location\n\nLocation of the cluster", "in": "query", "required": false, "type": "string" }, { "name": "spec.city", - "description": "City. City of the location", + "description": "City\n\nCity of the location", "in": "query", "required": false, "type": "string" }, { "name": "spec.state", - "description": "State. State of the location", + "description": "State\n\nState of the location", "in": "query", "required": false, "type": "string" }, { "name": "spec.country", - "description": "Country. country of the location", + "description": "Country\n\ncountry of the location", "in": "query", "required": false, "type": "string" }, { "name": "spec.locale", - "description": "Locale. locale of the location", + "description": "Locale\n\nlocale of the location", "in": "query", "required": false, "type": "string" }, { "name": "spec.latitude", - "description": "Latitude. Latitude of the location", + "description": "Latitude\n\nLatitude of the location", "in": "query", "required": false, "type": "string" }, { "name": "spec.longitude", - "description": "Longitude. Longitude of the location", + "description": "Longitude\n\nLongitude of the location", "in": "query", "required": false, "type": "string" }, { "name": "spec.countryCode", - "description": "CountryCode. CountryCode of the location", + "description": "CountryCode\n\nCountryCode of the location", "in": "query", "required": false, "type": "string" }, { "name": "spec.stateCode", - "description": "StateCode. StateCode of the location", + "description": "StateCode\n\nStateCode of the location", "in": "query", "required": false, "type": "string" }, { "name": "status.conditionType", - "description": "Condition Type. type of the status condition", + "description": "Condition Type\n\ntype of the status condition", "in": "query", "required": false, "type": "string" }, { "name": "status.conditionStatus", - "description": "Condition Status. status of the condition", + "description": "Condition Status\n\nstatus of the condition", "in": "query", "required": false, "type": "string", @@ -734,7 +841,7 @@ }, { "name": "status.lastUpdated", - "description": "Last Updated. when the condition status is last updated", + "description": "Last Updated\n\nwhen the condition status is last updated", "in": "query", "required": false, "type": "string", @@ -742,18 +849,18 @@ }, { "name": "status.reason", - "description": "Reason. reason of the last condition status", + "description": "Reason\n\nreason of the last condition status", "in": "query", "required": false, "type": "string" } ], "tags": [ - "Location" + "LocationService" ] }, "put": { - "operationId": "Location_UpdateLocation", + "operationId": "LocationService_UpdateLocation", "responses": { "200": { "description": "A successful response.", @@ -799,12 +906,113 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/infrav3Location" + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "default": "infra.k8smgmt.io/v3", + "description": "API Version of the resource", + "title": "API Version", + "readOnly": true + }, + "kind": { + "type": "string", + "default": "Location", + "description": "Kind of the resource", + "title": "Kind", + "readOnly": true + }, + "metadata": { + "type": "object", + "example": { + "name": "some-name", + "project": "defaultproject" + }, + "properties": { + "displayName": { + "type": "string", + "description": "display name of the resource", + "title": "Display Name" + }, + "description": { + "type": "string", + "description": "description of the resource", + "title": "Description" + }, + "labels": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "labels of the resource", + "title": "Labels" + }, + "annotations": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "annotations of the resource", + "title": "Annotations" + }, + "project": { + "type": "string", + "description": "Project of the resource", + "title": "Project" + }, + "organization": { + "type": "string", + "description": "Organization to which the resource belongs", + "title": "Organization" + }, + "id": { + "type": "string", + "readOnly": true + }, + "urlScope": { + "type": "string", + "readOnly": true + }, + "createdAt": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "modifiedAt": { + "type": "string", + "format": "date-time", + "readOnly": true + } + }, + "description": "metadata of the resource", + "title": "Metadata" + }, + "spec": { + "$ref": "#/definitions/v3Metro", + "description": "Spec of the resource", + "title": "Spec" + }, + "status": { + "$ref": "#/definitions/commonv3Status", + "description": "Status of the resource", + "title": "Status", + "readOnly": true + } + }, + "description": "Location", + "title": "Location", + "required": [ + "apiVersion", + "kind", + "metadata", + "spec", + "project" + ] } } ], "tags": [ - "Location" + "LocationService" ] } } @@ -974,11 +1182,11 @@ "items": { "type": "array", "items": { - "$ref": "#/definitions/v3Metro" + "$ref": "#/definitions/v3Metro", + "readOnly": true }, "description": "List of the resources", - "title": "Items", - "readOnly": true + "title": "Items" } } }, diff --git a/gen/openapi/proto/rpc/system/oidc_provider.swagger.json b/gen/openapi/proto/rpc/system/oidc_provider.swagger.json index daa3be2a..21db8070 100644 --- a/gen/openapi/proto/rpc/system/oidc_provider.swagger.json +++ b/gen/openapi/proto/rpc/system/oidc_provider.swagger.json @@ -9,7 +9,7 @@ }, "tags": [ { - "name": "OIDCProvider" + "name": "OIDCProviderService" } ], "schemes": [ @@ -26,7 +26,7 @@ "paths": { "/auth/v3/sso/oidc/provider": { "get": { - "operationId": "OIDCProvider_ListOIDCProvider", + "operationId": "OIDCProviderService_ListOIDCProvider", "responses": { "200": { "description": "A successful response.", @@ -53,11 +53,11 @@ } }, "tags": [ - "OIDCProvider" + "OIDCProviderService" ] }, "post": { - "operationId": "OIDCProvider_CreateOIDCProvider", + "operationId": "OIDCProviderService_CreateOIDCProvider", "responses": { "200": { "description": "A successful response.", @@ -90,6 +90,7 @@ "parameters": [ { "name": "body", + "description": "Open Id Connect Provider", "in": "body", "required": true, "schema": { @@ -98,13 +99,13 @@ } ], "tags": [ - "OIDCProvider" + "OIDCProviderService" ] } }, "/auth/v3/sso/oidc/provider/{metadata.name}": { "get": { - "operationId": "OIDCProvider_GetOIDCProvider", + "operationId": "OIDCProviderService_GetOIDCProvider", "responses": { "200": { "description": "A successful response.", @@ -140,51 +141,51 @@ }, { "name": "apiVersion", - "description": "API Version. API Version of the OIDCProvider resource", + "description": "API Version\n\nAPI Version of the OIDCProvider resource", "in": "query", - "required": false, + "required": true, "type": "string", "default": "system.k8smgmt.io/v3" }, { "name": "kind", - "description": "Kind. Kind of the OIDCProvider resource", + "description": "Kind\n\nKind of the OIDCProvider resource", "in": "query", - "required": false, + "required": true, "type": "string", "default": "OIDCProvider" }, { "name": "metadata.displayName", - "description": "Display Name. display name of the resource", + "description": "Display Name\n\ndisplay name of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.description", - "description": "Description. description of the resource", + "description": "Description\n\ndescription of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.project", - "description": "Project. Project of the resource", + "description": "Project\n\nProject of the resource", "in": "query", - "required": false, + "required": true, "type": "string" }, { "name": "metadata.organization", - "description": "Organization. Organization to which the resource belongs", + "description": "Organization\n\nOrganization to which the resource belongs", "in": "query", "required": false, "type": "string" }, { "name": "metadata.partner", - "description": "Partner. Partner to which the resource belongs", + "description": "Partner\n\nPartner to which the resource belongs", "in": "query", "required": false, "type": "string" @@ -287,14 +288,14 @@ }, { "name": "status.conditionType", - "description": "Condition Type. type of the status condition", + "description": "Condition Type\n\ntype of the status condition", "in": "query", "required": false, "type": "string" }, { "name": "status.conditionStatus", - "description": "Condition Status. status of the condition", + "description": "Condition Status\n\nstatus of the condition", "in": "query", "required": false, "type": "string", @@ -308,7 +309,7 @@ }, { "name": "status.lastUpdated", - "description": "Last Updated. when the condition status is last updated", + "description": "Last Updated\n\nwhen the condition status is last updated", "in": "query", "required": false, "type": "string", @@ -316,22 +317,23 @@ }, { "name": "status.reason", - "description": "Reason. reason of the last condition status", + "description": "Reason\n\nreason of the last condition status", "in": "query", "required": false, "type": "string" } ], "tags": [ - "OIDCProvider" + "OIDCProviderService" ] }, "delete": { - "operationId": "OIDCProvider_DeleteOIDCProvider", + "operationId": "OIDCProviderService_DeleteOIDCProvider", "responses": { "200": { "description": "A successful response.", "schema": { + "type": "object", "properties": {} } }, @@ -367,51 +369,51 @@ }, { "name": "apiVersion", - "description": "API Version. API Version of the OIDCProvider resource", + "description": "API Version\n\nAPI Version of the OIDCProvider resource", "in": "query", - "required": false, + "required": true, "type": "string", "default": "system.k8smgmt.io/v3" }, { "name": "kind", - "description": "Kind. Kind of the OIDCProvider resource", + "description": "Kind\n\nKind of the OIDCProvider resource", "in": "query", - "required": false, + "required": true, "type": "string", "default": "OIDCProvider" }, { "name": "metadata.displayName", - "description": "Display Name. display name of the resource", + "description": "Display Name\n\ndisplay name of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.description", - "description": "Description. description of the resource", + "description": "Description\n\ndescription of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.project", - "description": "Project. Project of the resource", + "description": "Project\n\nProject of the resource", "in": "query", - "required": false, + "required": true, "type": "string" }, { "name": "metadata.organization", - "description": "Organization. Organization to which the resource belongs", + "description": "Organization\n\nOrganization to which the resource belongs", "in": "query", "required": false, "type": "string" }, { "name": "metadata.partner", - "description": "Partner. Partner to which the resource belongs", + "description": "Partner\n\nPartner to which the resource belongs", "in": "query", "required": false, "type": "string" @@ -514,14 +516,14 @@ }, { "name": "status.conditionType", - "description": "Condition Type. type of the status condition", + "description": "Condition Type\n\ntype of the status condition", "in": "query", "required": false, "type": "string" }, { "name": "status.conditionStatus", - "description": "Condition Status. status of the condition", + "description": "Condition Status\n\nstatus of the condition", "in": "query", "required": false, "type": "string", @@ -535,7 +537,7 @@ }, { "name": "status.lastUpdated", - "description": "Last Updated. when the condition status is last updated", + "description": "Last Updated\n\nwhen the condition status is last updated", "in": "query", "required": false, "type": "string", @@ -543,18 +545,18 @@ }, { "name": "status.reason", - "description": "Reason. reason of the last condition status", + "description": "Reason\n\nreason of the last condition status", "in": "query", "required": false, "type": "string" } ], "tags": [ - "OIDCProvider" + "OIDCProviderService" ] }, "put": { - "operationId": "OIDCProvider_UpdateOIDCProvider", + "operationId": "OIDCProviderService_UpdateOIDCProvider", "responses": { "200": { "description": "A successful response.", @@ -593,12 +595,116 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v3OIDCProvider" + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "default": "system.k8smgmt.io/v3", + "description": "API Version of the OIDCProvider resource", + "title": "API Version" + }, + "kind": { + "type": "string", + "default": "OIDCProvider", + "description": "Kind of the OIDCProvider resource", + "title": "Kind" + }, + "metadata": { + "type": "object", + "example": { + "name": "some-name", + "project": "defaultproject" + }, + "properties": { + "displayName": { + "type": "string", + "description": "display name of the resource", + "title": "Display Name" + }, + "description": { + "type": "string", + "description": "description of the resource", + "title": "Description" + }, + "labels": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "labels of the resource", + "title": "Labels" + }, + "annotations": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "annotations of the resource", + "title": "Annotations" + }, + "project": { + "type": "string", + "description": "Project of the resource", + "title": "Project" + }, + "organization": { + "type": "string", + "description": "Organization to which the resource belongs", + "title": "Organization" + }, + "partner": { + "type": "string", + "description": "Partner to which the resource belongs", + "title": "Partner" + }, + "id": { + "type": "string", + "readOnly": true + }, + "urlScope": { + "type": "string", + "readOnly": true + }, + "createdAt": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "modifiedAt": { + "type": "string", + "format": "date-time", + "readOnly": true + } + }, + "description": "metadata of the resource", + "title": "Metadata" + }, + "spec": { + "$ref": "#/definitions/v3OIDCProviderSpec", + "description": "Spec of the OIDCProvider resource", + "title": "Spec" + }, + "status": { + "$ref": "#/definitions/commonv3Status", + "description": "Status of the resource", + "title": "Status", + "readOnly": true + } + }, + "description": "Open Id Connect Provider", + "title": "OIDCProvider", + "required": [ + "apiVersion", + "kind", + "metadata", + "spec", + "project" + ] } } ], "tags": [ - "OIDCProvider" + "OIDCProviderService" ] } } @@ -853,11 +959,11 @@ "items": { "type": "array", "items": { - "$ref": "#/definitions/v3OIDCProvider" + "$ref": "#/definitions/v3OIDCProvider", + "readOnly": true }, "description": "List of the OIDCProvider resources", - "title": "Items", - "readOnly": true + "title": "Items" } }, "description": "OIDC providers list", diff --git a/gen/openapi/proto/rpc/system/organization.swagger.json b/gen/openapi/proto/rpc/system/organization.swagger.json index 16fe5152..b4decc66 100644 --- a/gen/openapi/proto/rpc/system/organization.swagger.json +++ b/gen/openapi/proto/rpc/system/organization.swagger.json @@ -9,7 +9,7 @@ }, "tags": [ { - "name": "Organization" + "name": "OrganizationService" } ], "schemes": [ @@ -26,7 +26,7 @@ "paths": { "/auth/v3/partner/{metadata.partner}/organization": { "post": { - "operationId": "Organization_CreateOrganization", + "operationId": "OrganizationService_CreateOrganization", "responses": { "200": { "description": "A successful response.", @@ -69,18 +69,125 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v3Organization" + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "default": "system.k8smgmt.io/v3", + "description": "API Version of the resource", + "title": "API Version", + "readOnly": true + }, + "kind": { + "type": "string", + "default": "Organization", + "description": "Kind of the resource", + "title": "Kind", + "readOnly": true + }, + "metadata": { + "type": "object", + "example": { + "name": "some-name", + "project": "defaultproject" + }, + "properties": { + "name": { + "type": "string", + "description": "name of the resource", + "title": "Name" + }, + "displayName": { + "type": "string", + "description": "display name of the resource", + "title": "Display Name" + }, + "description": { + "type": "string", + "description": "description of the resource", + "title": "Description" + }, + "labels": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "labels of the resource", + "title": "Labels" + }, + "annotations": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "annotations of the resource", + "title": "Annotations" + }, + "project": { + "type": "string", + "description": "Project of the resource", + "title": "Project" + }, + "organization": { + "type": "string", + "description": "Organization to which the resource belongs", + "title": "Organization" + }, + "id": { + "type": "string", + "readOnly": true + }, + "urlScope": { + "type": "string", + "readOnly": true + }, + "createdAt": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "modifiedAt": { + "type": "string", + "format": "date-time", + "readOnly": true + } + }, + "description": "metadata of the resource", + "title": "Metadata" + }, + "spec": { + "$ref": "#/definitions/v3OrganizationSpec", + "description": "Spec of the resource", + "title": "Spec" + }, + "status": { + "$ref": "#/definitions/commonv3Status", + "description": "Status of the resource", + "title": "Status", + "readOnly": true + } + }, + "description": "Organization", + "title": "Organization", + "required": [ + "apiVersion", + "kind", + "metadata", + "spec", + "name", + "project" + ] } } ], "tags": [ - "Organization" + "OrganizationService" ] } }, "/auth/v3/partner/{metadata.partner}/organization/{metadata.name}": { "get": { - "operationId": "Organization_GetOrganization", + "operationId": "OrganizationService_GetOrganization", "responses": { "200": { "description": "A successful response.", @@ -123,44 +230,44 @@ }, { "name": "apiVersion", - "description": "API Version. API Version of the resource", + "description": "API Version\n\nAPI Version of the resource", "in": "query", - "required": false, + "required": true, "type": "string", "default": "system.k8smgmt.io/v3" }, { "name": "kind", - "description": "Kind. Kind of the resource", + "description": "Kind\n\nKind of the resource", "in": "query", - "required": false, + "required": true, "type": "string", "default": "Organization" }, { "name": "metadata.displayName", - "description": "Display Name. display name of the resource", + "description": "Display Name\n\ndisplay name of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.description", - "description": "Description. description of the resource", + "description": "Description\n\ndescription of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.project", - "description": "Project. Project of the resource", + "description": "Project\n\nProject of the resource", "in": "query", - "required": false, + "required": true, "type": "string" }, { "name": "metadata.organization", - "description": "Organization. Organization to which the resource belongs", + "description": "Organization\n\nOrganization to which the resource belongs", "in": "query", "required": false, "type": "string" @@ -193,112 +300,112 @@ }, { "name": "spec.billingAddress", - "description": "Billing Address. Billing address of the organization", + "description": "Billing Address\n\nBilling address of the organization", "in": "query", "required": false, "type": "string" }, { "name": "spec.active", - "description": "Active. Represents if this organization is active", + "description": "Active\n\nRepresents if this organization is active", "in": "query", "required": false, "type": "boolean" }, { "name": "spec.approved", - "description": "Approved. Is this organization active", + "description": "Approved\n\nIs this organization active", "in": "query", "required": false, "type": "boolean" }, { "name": "spec.type", - "description": "Type. Type of organization", + "description": "Type\n\nType of organization", "in": "query", "required": false, "type": "string" }, { "name": "spec.addressLine1", - "description": "Address Line 1. Address of the organization", + "description": "Address Line 1\n\nAddress of the organization", "in": "query", "required": false, "type": "string" }, { "name": "spec.addressLine2", - "description": "Address Line 2. Address of the organization", + "description": "Address Line 2\n\nAddress of the organization", "in": "query", "required": false, "type": "string" }, { "name": "spec.city", - "description": "City. City", + "description": "City\n\nCity", "in": "query", "required": false, "type": "string" }, { "name": "spec.country", - "description": "Country. Country of the organization", + "description": "Country\n\nCountry of the organization", "in": "query", "required": false, "type": "string" }, { "name": "spec.phone", - "description": "Phone. Phone number of the organization", + "description": "Phone\n\nPhone number of the organization", "in": "query", "required": false, "type": "string" }, { "name": "spec.state", - "description": "State. State of the organization", + "description": "State\n\nState of the organization", "in": "query", "required": false, "type": "string" }, { "name": "spec.zipcode", - "description": "Zipcode. Zipcode", + "description": "Zipcode\n\nZipcode", "in": "query", "required": false, "type": "string" }, { "name": "spec.isPrivate", - "description": "Is Private. Is Private Organization", + "description": "Is Private\n\nIs Private Organization", "in": "query", "required": false, "type": "boolean" }, { "name": "spec.isTotpEnabled", - "description": "Is TOTP Enabled. Is TOTP enabled at organization level", + "description": "Is TOTP Enabled\n\nIs TOTP enabled at organization level", "in": "query", "required": false, "type": "boolean" }, { "name": "spec.areClustersShared", - "description": "Clusters Shared. Are clusters shared", + "description": "Clusters Shared\n\nAre clusters shared", "in": "query", "required": false, "type": "boolean" }, { "name": "spec.settings.lockout.enabled", - "description": "Enabled. Is lockout settings enabled?", + "description": "Enabled\n\nIs lockout settings enabled?", "in": "query", "required": false, "type": "boolean" }, { "name": "spec.settings.lockout.periodMin", - "description": "Period Minutes. Lockout period in Minutes", + "description": "Period Minutes\n\nLockout period in Minutes", "in": "query", "required": false, "type": "integer", @@ -306,7 +413,7 @@ }, { "name": "spec.settings.lockout.attempts", - "description": "Attempts. Max number of attempts before lockout", + "description": "Attempts\n\nMax number of attempts before lockout", "in": "query", "required": false, "type": "integer", @@ -314,7 +421,7 @@ }, { "name": "spec.settings.idleLogoutMin", - "description": "Idle Logout Minutes. Idle Logout time in minutes", + "description": "Idle Logout Minutes\n\nIdle Logout time in minutes", "in": "query", "required": false, "type": "integer", @@ -322,14 +429,14 @@ }, { "name": "status.conditionType", - "description": "Condition Type. type of the status condition", + "description": "Condition Type\n\ntype of the status condition", "in": "query", "required": false, "type": "string" }, { "name": "status.conditionStatus", - "description": "Condition Status. status of the condition", + "description": "Condition Status\n\nstatus of the condition", "in": "query", "required": false, "type": "string", @@ -343,7 +450,7 @@ }, { "name": "status.lastUpdated", - "description": "Last Updated. when the condition status is last updated", + "description": "Last Updated\n\nwhen the condition status is last updated", "in": "query", "required": false, "type": "string", @@ -351,18 +458,18 @@ }, { "name": "status.reason", - "description": "Reason. reason of the last condition status", + "description": "Reason\n\nreason of the last condition status", "in": "query", "required": false, "type": "string" } ], "tags": [ - "Organization" + "OrganizationService" ] }, "delete": { - "operationId": "Organization_DeleteOrganization", + "operationId": "OrganizationService_DeleteOrganization", "responses": { "200": { "description": "A successful response.", @@ -409,44 +516,44 @@ }, { "name": "apiVersion", - "description": "API Version. API Version of the resource", + "description": "API Version\n\nAPI Version of the resource", "in": "query", - "required": false, + "required": true, "type": "string", "default": "system.k8smgmt.io/v3" }, { "name": "kind", - "description": "Kind. Kind of the resource", + "description": "Kind\n\nKind of the resource", "in": "query", - "required": false, + "required": true, "type": "string", "default": "Organization" }, { "name": "metadata.displayName", - "description": "Display Name. display name of the resource", + "description": "Display Name\n\ndisplay name of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.description", - "description": "Description. description of the resource", + "description": "Description\n\ndescription of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.project", - "description": "Project. Project of the resource", + "description": "Project\n\nProject of the resource", "in": "query", - "required": false, + "required": true, "type": "string" }, { "name": "metadata.organization", - "description": "Organization. Organization to which the resource belongs", + "description": "Organization\n\nOrganization to which the resource belongs", "in": "query", "required": false, "type": "string" @@ -479,112 +586,112 @@ }, { "name": "spec.billingAddress", - "description": "Billing Address. Billing address of the organization", + "description": "Billing Address\n\nBilling address of the organization", "in": "query", "required": false, "type": "string" }, { "name": "spec.active", - "description": "Active. Represents if this organization is active", + "description": "Active\n\nRepresents if this organization is active", "in": "query", "required": false, "type": "boolean" }, { "name": "spec.approved", - "description": "Approved. Is this organization active", + "description": "Approved\n\nIs this organization active", "in": "query", "required": false, "type": "boolean" }, { "name": "spec.type", - "description": "Type. Type of organization", + "description": "Type\n\nType of organization", "in": "query", "required": false, "type": "string" }, { "name": "spec.addressLine1", - "description": "Address Line 1. Address of the organization", + "description": "Address Line 1\n\nAddress of the organization", "in": "query", "required": false, "type": "string" }, { "name": "spec.addressLine2", - "description": "Address Line 2. Address of the organization", + "description": "Address Line 2\n\nAddress of the organization", "in": "query", "required": false, "type": "string" }, { "name": "spec.city", - "description": "City. City", + "description": "City\n\nCity", "in": "query", "required": false, "type": "string" }, { "name": "spec.country", - "description": "Country. Country of the organization", + "description": "Country\n\nCountry of the organization", "in": "query", "required": false, "type": "string" }, { "name": "spec.phone", - "description": "Phone. Phone number of the organization", + "description": "Phone\n\nPhone number of the organization", "in": "query", "required": false, "type": "string" }, { "name": "spec.state", - "description": "State. State of the organization", + "description": "State\n\nState of the organization", "in": "query", "required": false, "type": "string" }, { "name": "spec.zipcode", - "description": "Zipcode. Zipcode", + "description": "Zipcode\n\nZipcode", "in": "query", "required": false, "type": "string" }, { "name": "spec.isPrivate", - "description": "Is Private. Is Private Organization", + "description": "Is Private\n\nIs Private Organization", "in": "query", "required": false, "type": "boolean" }, { "name": "spec.isTotpEnabled", - "description": "Is TOTP Enabled. Is TOTP enabled at organization level", + "description": "Is TOTP Enabled\n\nIs TOTP enabled at organization level", "in": "query", "required": false, "type": "boolean" }, { "name": "spec.areClustersShared", - "description": "Clusters Shared. Are clusters shared", + "description": "Clusters Shared\n\nAre clusters shared", "in": "query", "required": false, "type": "boolean" }, { "name": "spec.settings.lockout.enabled", - "description": "Enabled. Is lockout settings enabled?", + "description": "Enabled\n\nIs lockout settings enabled?", "in": "query", "required": false, "type": "boolean" }, { "name": "spec.settings.lockout.periodMin", - "description": "Period Minutes. Lockout period in Minutes", + "description": "Period Minutes\n\nLockout period in Minutes", "in": "query", "required": false, "type": "integer", @@ -592,7 +699,7 @@ }, { "name": "spec.settings.lockout.attempts", - "description": "Attempts. Max number of attempts before lockout", + "description": "Attempts\n\nMax number of attempts before lockout", "in": "query", "required": false, "type": "integer", @@ -600,7 +707,7 @@ }, { "name": "spec.settings.idleLogoutMin", - "description": "Idle Logout Minutes. Idle Logout time in minutes", + "description": "Idle Logout Minutes\n\nIdle Logout time in minutes", "in": "query", "required": false, "type": "integer", @@ -608,14 +715,14 @@ }, { "name": "status.conditionType", - "description": "Condition Type. type of the status condition", + "description": "Condition Type\n\ntype of the status condition", "in": "query", "required": false, "type": "string" }, { "name": "status.conditionStatus", - "description": "Condition Status. status of the condition", + "description": "Condition Status\n\nstatus of the condition", "in": "query", "required": false, "type": "string", @@ -629,7 +736,7 @@ }, { "name": "status.lastUpdated", - "description": "Last Updated. when the condition status is last updated", + "description": "Last Updated\n\nwhen the condition status is last updated", "in": "query", "required": false, "type": "string", @@ -637,18 +744,18 @@ }, { "name": "status.reason", - "description": "Reason. reason of the last condition status", + "description": "Reason\n\nreason of the last condition status", "in": "query", "required": false, "type": "string" } ], "tags": [ - "Organization" + "OrganizationService" ] }, "put": { - "operationId": "Organization_UpdateOrganization", + "operationId": "OrganizationService_UpdateOrganization", "responses": { "200": { "description": "A successful response.", @@ -694,18 +801,119 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v3Organization" + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "default": "system.k8smgmt.io/v3", + "description": "API Version of the resource", + "title": "API Version", + "readOnly": true + }, + "kind": { + "type": "string", + "default": "Organization", + "description": "Kind of the resource", + "title": "Kind", + "readOnly": true + }, + "metadata": { + "type": "object", + "example": { + "name": "some-name", + "project": "defaultproject" + }, + "properties": { + "displayName": { + "type": "string", + "description": "display name of the resource", + "title": "Display Name" + }, + "description": { + "type": "string", + "description": "description of the resource", + "title": "Description" + }, + "labels": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "labels of the resource", + "title": "Labels" + }, + "annotations": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "annotations of the resource", + "title": "Annotations" + }, + "project": { + "type": "string", + "description": "Project of the resource", + "title": "Project" + }, + "organization": { + "type": "string", + "description": "Organization to which the resource belongs", + "title": "Organization" + }, + "id": { + "type": "string", + "readOnly": true + }, + "urlScope": { + "type": "string", + "readOnly": true + }, + "createdAt": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "modifiedAt": { + "type": "string", + "format": "date-time", + "readOnly": true + } + }, + "description": "metadata of the resource", + "title": "Metadata" + }, + "spec": { + "$ref": "#/definitions/v3OrganizationSpec", + "description": "Spec of the resource", + "title": "Spec" + }, + "status": { + "$ref": "#/definitions/commonv3Status", + "description": "Status of the resource", + "title": "Status", + "readOnly": true + } + }, + "description": "Organization", + "title": "Organization", + "required": [ + "apiVersion", + "kind", + "metadata", + "spec", + "project" + ] } } ], "tags": [ - "Organization" + "OrganizationService" ] } }, "/auth/v3/partner/{metadata.partner}/organizations": { "get": { - "operationId": "Organization_GetOrganizations", + "operationId": "OrganizationService_GetOrganizations", "responses": { "200": { "description": "A successful response.", @@ -741,51 +949,51 @@ }, { "name": "apiVersion", - "description": "API Version. API Version of the resource", + "description": "API Version\n\nAPI Version of the resource", "in": "query", - "required": false, + "required": true, "type": "string", "default": "system.k8smgmt.io/v3" }, { "name": "kind", - "description": "Kind. Kind of the resource", + "description": "Kind\n\nKind of the resource", "in": "query", - "required": false, + "required": true, "type": "string", "default": "Organization" }, { "name": "metadata.name", - "description": "Name. name of the resource", + "description": "Name\n\nname of the resource", "in": "query", - "required": false, + "required": true, "type": "string" }, { "name": "metadata.displayName", - "description": "Display Name. display name of the resource", + "description": "Display Name\n\ndisplay name of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.description", - "description": "Description. description of the resource", + "description": "Description\n\ndescription of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.project", - "description": "Project. Project of the resource", + "description": "Project\n\nProject of the resource", "in": "query", - "required": false, + "required": true, "type": "string" }, { "name": "metadata.organization", - "description": "Organization. Organization to which the resource belongs", + "description": "Organization\n\nOrganization to which the resource belongs", "in": "query", "required": false, "type": "string" @@ -818,112 +1026,112 @@ }, { "name": "spec.billingAddress", - "description": "Billing Address. Billing address of the organization", + "description": "Billing Address\n\nBilling address of the organization", "in": "query", "required": false, "type": "string" }, { "name": "spec.active", - "description": "Active. Represents if this organization is active", + "description": "Active\n\nRepresents if this organization is active", "in": "query", "required": false, "type": "boolean" }, { "name": "spec.approved", - "description": "Approved. Is this organization active", + "description": "Approved\n\nIs this organization active", "in": "query", "required": false, "type": "boolean" }, { "name": "spec.type", - "description": "Type. Type of organization", + "description": "Type\n\nType of organization", "in": "query", "required": false, "type": "string" }, { "name": "spec.addressLine1", - "description": "Address Line 1. Address of the organization", + "description": "Address Line 1\n\nAddress of the organization", "in": "query", "required": false, "type": "string" }, { "name": "spec.addressLine2", - "description": "Address Line 2. Address of the organization", + "description": "Address Line 2\n\nAddress of the organization", "in": "query", "required": false, "type": "string" }, { "name": "spec.city", - "description": "City. City", + "description": "City\n\nCity", "in": "query", "required": false, "type": "string" }, { "name": "spec.country", - "description": "Country. Country of the organization", + "description": "Country\n\nCountry of the organization", "in": "query", "required": false, "type": "string" }, { "name": "spec.phone", - "description": "Phone. Phone number of the organization", + "description": "Phone\n\nPhone number of the organization", "in": "query", "required": false, "type": "string" }, { "name": "spec.state", - "description": "State. State of the organization", + "description": "State\n\nState of the organization", "in": "query", "required": false, "type": "string" }, { "name": "spec.zipcode", - "description": "Zipcode. Zipcode", + "description": "Zipcode\n\nZipcode", "in": "query", "required": false, "type": "string" }, { "name": "spec.isPrivate", - "description": "Is Private. Is Private Organization", + "description": "Is Private\n\nIs Private Organization", "in": "query", "required": false, "type": "boolean" }, { "name": "spec.isTotpEnabled", - "description": "Is TOTP Enabled. Is TOTP enabled at organization level", + "description": "Is TOTP Enabled\n\nIs TOTP enabled at organization level", "in": "query", "required": false, "type": "boolean" }, { "name": "spec.areClustersShared", - "description": "Clusters Shared. Are clusters shared", + "description": "Clusters Shared\n\nAre clusters shared", "in": "query", "required": false, "type": "boolean" }, { "name": "spec.settings.lockout.enabled", - "description": "Enabled. Is lockout settings enabled?", + "description": "Enabled\n\nIs lockout settings enabled?", "in": "query", "required": false, "type": "boolean" }, { "name": "spec.settings.lockout.periodMin", - "description": "Period Minutes. Lockout period in Minutes", + "description": "Period Minutes\n\nLockout period in Minutes", "in": "query", "required": false, "type": "integer", @@ -931,7 +1139,7 @@ }, { "name": "spec.settings.lockout.attempts", - "description": "Attempts. Max number of attempts before lockout", + "description": "Attempts\n\nMax number of attempts before lockout", "in": "query", "required": false, "type": "integer", @@ -939,7 +1147,7 @@ }, { "name": "spec.settings.idleLogoutMin", - "description": "Idle Logout Minutes. Idle Logout time in minutes", + "description": "Idle Logout Minutes\n\nIdle Logout time in minutes", "in": "query", "required": false, "type": "integer", @@ -947,14 +1155,14 @@ }, { "name": "status.conditionType", - "description": "Condition Type. type of the status condition", + "description": "Condition Type\n\ntype of the status condition", "in": "query", "required": false, "type": "string" }, { "name": "status.conditionStatus", - "description": "Condition Status. status of the condition", + "description": "Condition Status\n\nstatus of the condition", "in": "query", "required": false, "type": "string", @@ -968,7 +1176,7 @@ }, { "name": "status.lastUpdated", - "description": "Last Updated. when the condition status is last updated", + "description": "Last Updated\n\nwhen the condition status is last updated", "in": "query", "required": false, "type": "string", @@ -976,14 +1184,14 @@ }, { "name": "status.reason", - "description": "Reason. reason of the last condition status", + "description": "Reason\n\nreason of the last condition status", "in": "query", "required": false, "type": "string" } ], "tags": [ - "Organization" + "OrganizationService" ] } } @@ -1254,11 +1462,11 @@ "items": { "type": "array", "items": { - "$ref": "#/definitions/v3Organization" + "$ref": "#/definitions/v3Organization", + "readOnly": true }, "description": "List of the resources", - "title": "Items", - "readOnly": true + "title": "Items" } } }, diff --git a/gen/openapi/proto/rpc/system/partner.swagger.json b/gen/openapi/proto/rpc/system/partner.swagger.json index 53b6cb9b..35ec4ad7 100644 --- a/gen/openapi/proto/rpc/system/partner.swagger.json +++ b/gen/openapi/proto/rpc/system/partner.swagger.json @@ -9,7 +9,7 @@ }, "tags": [ { - "name": "Partner" + "name": "PartnerService" } ], "schemes": [ @@ -26,7 +26,7 @@ "paths": { "/auth/v3/partner": { "get": { - "operationId": "Partner_GetInitPartner", + "operationId": "PartnerService_GetInitPartner", "responses": { "200": { "description": "A successful response.", @@ -53,11 +53,11 @@ } }, "tags": [ - "Partner" + "PartnerService" ] }, "post": { - "operationId": "Partner_CreatePartner", + "operationId": "PartnerService_CreatePartner", "responses": { "200": { "description": "A successful response.", @@ -90,6 +90,7 @@ "parameters": [ { "name": "body", + "description": "Partner", "in": "body", "required": true, "schema": { @@ -98,13 +99,13 @@ } ], "tags": [ - "Partner" + "PartnerService" ] } }, "/auth/v3/partner/{metadata.name}": { "get": { - "operationId": "Partner_GetPartner", + "operationId": "PartnerService_GetPartner", "responses": { "200": { "description": "A successful response.", @@ -140,51 +141,51 @@ }, { "name": "apiVersion", - "description": "API Version. API Version of the resource", + "description": "API Version\n\nAPI Version of the resource", "in": "query", - "required": false, + "required": true, "type": "string", "default": "system.k8smgmt.io/v3" }, { "name": "kind", - "description": "Kind. Kind of the resource", + "description": "Kind\n\nKind of the resource", "in": "query", - "required": false, + "required": true, "type": "string", "default": "Partner" }, { "name": "metadata.displayName", - "description": "Display Name. display name of the resource", + "description": "Display Name\n\ndisplay name of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.description", - "description": "Description. description of the resource", + "description": "Description\n\ndescription of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.project", - "description": "Project. Project of the resource", + "description": "Project\n\nProject of the resource", "in": "query", - "required": false, + "required": true, "type": "string" }, { "name": "metadata.organization", - "description": "Organization. Organization to which the resource belongs", + "description": "Organization\n\nOrganization to which the resource belongs", "in": "query", "required": false, "type": "string" }, { "name": "metadata.partner", - "description": "Partner. Partner to which the resource belongs", + "description": "Partner\n\nPartner to which the resource belongs", "in": "query", "required": false, "type": "string" @@ -217,91 +218,91 @@ }, { "name": "spec.host", - "description": "Host. Host of the partner", + "description": "Host\n\nHost of the partner", "in": "query", "required": false, "type": "string" }, { "name": "spec.domain", - "description": "Domain. Domain of the partner", + "description": "Domain\n\nDomain of the partner", "in": "query", "required": false, "type": "string" }, { "name": "spec.tosLink", - "description": "TOS. Terms of service url of the partner", + "description": "TOS\n\nTerms of service url of the partner", "in": "query", "required": false, "type": "string" }, { "name": "spec.logoLink", - "description": "Logo. Logo url of the partner", + "description": "Logo\n\nLogo url of the partner", "in": "query", "required": false, "type": "string" }, { "name": "spec.notificationEmail", - "description": "Notification Email. Notification email of the partner", + "description": "Notification Email\n\nNotification email of the partner", "in": "query", "required": false, "type": "string" }, { "name": "spec.helpdeskEmail", - "description": "Helpdesk Email. Helpdesk email of the partner", + "description": "Helpdesk Email\n\nHelpdesk email of the partner", "in": "query", "required": false, "type": "string" }, { "name": "spec.productName", - "description": "Product Name. Product Name", + "description": "Product Name\n\nProduct Name", "in": "query", "required": false, "type": "string" }, { "name": "spec.supportTeamName", - "description": "Support Team Name. Support Team Name", + "description": "Support Team Name\n\nSupport Team Name", "in": "query", "required": false, "type": "string" }, { "name": "spec.opsHost", - "description": "OPS Host. Operations host of the partner", + "description": "OPS Host\n\nOperations host of the partner", "in": "query", "required": false, "type": "string" }, { "name": "spec.favIconLink", - "description": "Fav Icon Link. Fav Icon Link", + "description": "Fav Icon Link\n\nFav Icon Link", "in": "query", "required": false, "type": "string" }, { "name": "spec.isTOTPEnabled", - "description": "TOTP Enabled. TOTP Enabled flag at the partner level", + "description": "TOTP Enabled\n\nTOTP Enabled flag at the partner level", "in": "query", "required": false, "type": "boolean" }, { "name": "status.conditionType", - "description": "Condition Type. type of the status condition", + "description": "Condition Type\n\ntype of the status condition", "in": "query", "required": false, "type": "string" }, { "name": "status.conditionStatus", - "description": "Condition Status. status of the condition", + "description": "Condition Status\n\nstatus of the condition", "in": "query", "required": false, "type": "string", @@ -315,7 +316,7 @@ }, { "name": "status.lastUpdated", - "description": "Last Updated. when the condition status is last updated", + "description": "Last Updated\n\nwhen the condition status is last updated", "in": "query", "required": false, "type": "string", @@ -323,18 +324,18 @@ }, { "name": "status.reason", - "description": "Reason. reason of the last condition status", + "description": "Reason\n\nreason of the last condition status", "in": "query", "required": false, "type": "string" } ], "tags": [ - "Partner" + "PartnerService" ] }, "delete": { - "operationId": "Partner_DeletePartner", + "operationId": "PartnerService_DeletePartner", "responses": { "200": { "description": "A successful response.", @@ -374,51 +375,51 @@ }, { "name": "apiVersion", - "description": "API Version. API Version of the resource", + "description": "API Version\n\nAPI Version of the resource", "in": "query", - "required": false, + "required": true, "type": "string", "default": "system.k8smgmt.io/v3" }, { "name": "kind", - "description": "Kind. Kind of the resource", + "description": "Kind\n\nKind of the resource", "in": "query", - "required": false, + "required": true, "type": "string", "default": "Partner" }, { "name": "metadata.displayName", - "description": "Display Name. display name of the resource", + "description": "Display Name\n\ndisplay name of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.description", - "description": "Description. description of the resource", + "description": "Description\n\ndescription of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.project", - "description": "Project. Project of the resource", + "description": "Project\n\nProject of the resource", "in": "query", - "required": false, + "required": true, "type": "string" }, { "name": "metadata.organization", - "description": "Organization. Organization to which the resource belongs", + "description": "Organization\n\nOrganization to which the resource belongs", "in": "query", "required": false, "type": "string" }, { "name": "metadata.partner", - "description": "Partner. Partner to which the resource belongs", + "description": "Partner\n\nPartner to which the resource belongs", "in": "query", "required": false, "type": "string" @@ -451,91 +452,91 @@ }, { "name": "spec.host", - "description": "Host. Host of the partner", + "description": "Host\n\nHost of the partner", "in": "query", "required": false, "type": "string" }, { "name": "spec.domain", - "description": "Domain. Domain of the partner", + "description": "Domain\n\nDomain of the partner", "in": "query", "required": false, "type": "string" }, { "name": "spec.tosLink", - "description": "TOS. Terms of service url of the partner", + "description": "TOS\n\nTerms of service url of the partner", "in": "query", "required": false, "type": "string" }, { "name": "spec.logoLink", - "description": "Logo. Logo url of the partner", + "description": "Logo\n\nLogo url of the partner", "in": "query", "required": false, "type": "string" }, { "name": "spec.notificationEmail", - "description": "Notification Email. Notification email of the partner", + "description": "Notification Email\n\nNotification email of the partner", "in": "query", "required": false, "type": "string" }, { "name": "spec.helpdeskEmail", - "description": "Helpdesk Email. Helpdesk email of the partner", + "description": "Helpdesk Email\n\nHelpdesk email of the partner", "in": "query", "required": false, "type": "string" }, { "name": "spec.productName", - "description": "Product Name. Product Name", + "description": "Product Name\n\nProduct Name", "in": "query", "required": false, "type": "string" }, { "name": "spec.supportTeamName", - "description": "Support Team Name. Support Team Name", + "description": "Support Team Name\n\nSupport Team Name", "in": "query", "required": false, "type": "string" }, { "name": "spec.opsHost", - "description": "OPS Host. Operations host of the partner", + "description": "OPS Host\n\nOperations host of the partner", "in": "query", "required": false, "type": "string" }, { "name": "spec.favIconLink", - "description": "Fav Icon Link. Fav Icon Link", + "description": "Fav Icon Link\n\nFav Icon Link", "in": "query", "required": false, "type": "string" }, { "name": "spec.isTOTPEnabled", - "description": "TOTP Enabled. TOTP Enabled flag at the partner level", + "description": "TOTP Enabled\n\nTOTP Enabled flag at the partner level", "in": "query", "required": false, "type": "boolean" }, { "name": "status.conditionType", - "description": "Condition Type. type of the status condition", + "description": "Condition Type\n\ntype of the status condition", "in": "query", "required": false, "type": "string" }, { "name": "status.conditionStatus", - "description": "Condition Status. status of the condition", + "description": "Condition Status\n\nstatus of the condition", "in": "query", "required": false, "type": "string", @@ -549,7 +550,7 @@ }, { "name": "status.lastUpdated", - "description": "Last Updated. when the condition status is last updated", + "description": "Last Updated\n\nwhen the condition status is last updated", "in": "query", "required": false, "type": "string", @@ -557,18 +558,18 @@ }, { "name": "status.reason", - "description": "Reason. reason of the last condition status", + "description": "Reason\n\nreason of the last condition status", "in": "query", "required": false, "type": "string" } ], "tags": [ - "Partner" + "PartnerService" ] }, "put": { - "operationId": "Partner_UpdatePartner", + "operationId": "PartnerService_UpdatePartner", "responses": { "200": { "description": "A successful response.", @@ -607,12 +608,118 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v3Partner" + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "default": "system.k8smgmt.io/v3", + "description": "API Version of the resource", + "title": "API Version", + "readOnly": true + }, + "kind": { + "type": "string", + "default": "Partner", + "description": "Kind of the resource", + "title": "Kind", + "readOnly": true + }, + "metadata": { + "type": "object", + "example": { + "name": "some-name", + "project": "defaultproject" + }, + "properties": { + "displayName": { + "type": "string", + "description": "display name of the resource", + "title": "Display Name" + }, + "description": { + "type": "string", + "description": "description of the resource", + "title": "Description" + }, + "labels": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "labels of the resource", + "title": "Labels" + }, + "annotations": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "annotations of the resource", + "title": "Annotations" + }, + "project": { + "type": "string", + "description": "Project of the resource", + "title": "Project" + }, + "organization": { + "type": "string", + "description": "Organization to which the resource belongs", + "title": "Organization" + }, + "partner": { + "type": "string", + "description": "Partner to which the resource belongs", + "title": "Partner" + }, + "id": { + "type": "string", + "readOnly": true + }, + "urlScope": { + "type": "string", + "readOnly": true + }, + "createdAt": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "modifiedAt": { + "type": "string", + "format": "date-time", + "readOnly": true + } + }, + "description": "metadata of the resource", + "title": "Metadata" + }, + "spec": { + "$ref": "#/definitions/v3PartnerSpec", + "description": "Spec of the resource", + "title": "Spec" + }, + "status": { + "$ref": "#/definitions/commonv3Status", + "description": "Status of the resource", + "title": "Status", + "readOnly": true + } + }, + "description": "Partner", + "title": "Partner", + "required": [ + "apiVersion", + "kind", + "metadata", + "spec", + "project" + ] } } ], "tags": [ - "Partner" + "PartnerService" ] } } diff --git a/gen/openapi/proto/rpc/system/project.swagger.json b/gen/openapi/proto/rpc/system/project.swagger.json index 943aeda3..1eacf7f8 100644 --- a/gen/openapi/proto/rpc/system/project.swagger.json +++ b/gen/openapi/proto/rpc/system/project.swagger.json @@ -9,7 +9,7 @@ }, "tags": [ { - "name": "Project" + "name": "ProjectService" } ], "schemes": [ @@ -26,7 +26,7 @@ "paths": { "/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/project": { "post": { - "operationId": "Project_CreateProject", + "operationId": "ProjectService_CreateProject", "responses": { "200": { "description": "A successful response.", @@ -76,18 +76,120 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v3Project" + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "default": "system.k8smgmt.io/v3", + "description": "API Version of the resource", + "title": "API Version", + "readOnly": true + }, + "kind": { + "type": "string", + "default": "Project", + "description": "Kind of the resource", + "title": "Kind", + "readOnly": true + }, + "metadata": { + "type": "object", + "example": { + "name": "some-name", + "project": "defaultproject" + }, + "properties": { + "name": { + "type": "string", + "description": "name of the resource", + "title": "Name" + }, + "displayName": { + "type": "string", + "description": "display name of the resource", + "title": "Display Name" + }, + "description": { + "type": "string", + "description": "description of the resource", + "title": "Description" + }, + "labels": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "labels of the resource", + "title": "Labels" + }, + "annotations": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "annotations of the resource", + "title": "Annotations" + }, + "project": { + "type": "string", + "description": "Project of the resource", + "title": "Project" + }, + "id": { + "type": "string", + "readOnly": true + }, + "urlScope": { + "type": "string", + "readOnly": true + }, + "createdAt": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "modifiedAt": { + "type": "string", + "format": "date-time", + "readOnly": true + } + }, + "description": "metadata of the resource", + "title": "Metadata" + }, + "spec": { + "$ref": "#/definitions/v3ProjectSpec", + "description": "Spec of the resource", + "title": "Spec" + }, + "status": { + "$ref": "#/definitions/commonv3Status", + "description": "Status of the resource", + "title": "Status", + "readOnly": true + } + }, + "description": "Project", + "title": "Project", + "required": [ + "apiVersion", + "kind", + "metadata", + "spec", + "name", + "project" + ] } } ], "tags": [ - "Project" + "ProjectService" ] } }, "/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/project/{metadata.name}": { "get": { - "operationId": "Project_GetProject", + "operationId": "ProjectService_GetProject", "responses": { "200": { "description": "A successful response.", @@ -137,39 +239,39 @@ }, { "name": "apiVersion", - "description": "API Version. API Version of the resource", + "description": "API Version\n\nAPI Version of the resource", "in": "query", - "required": false, + "required": true, "type": "string", "default": "system.k8smgmt.io/v3" }, { "name": "kind", - "description": "Kind. Kind of the resource", + "description": "Kind\n\nKind of the resource", "in": "query", - "required": false, + "required": true, "type": "string", "default": "Project" }, { "name": "metadata.displayName", - "description": "Display Name. display name of the resource", + "description": "Display Name\n\ndisplay name of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.description", - "description": "Description. description of the resource", + "description": "Description\n\ndescription of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.project", - "description": "Project. Project of the resource", + "description": "Project\n\nProject of the resource", "in": "query", - "required": false, + "required": true, "type": "string" }, { @@ -200,21 +302,21 @@ }, { "name": "spec.default", - "description": "Default. flag to indicate if this is the default project in the organization", + "description": "Default\n\nflag to indicate if this is the default project in the organization", "in": "query", "required": false, "type": "boolean" }, { "name": "status.conditionType", - "description": "Condition Type. type of the status condition", + "description": "Condition Type\n\ntype of the status condition", "in": "query", "required": false, "type": "string" }, { "name": "status.conditionStatus", - "description": "Condition Status. status of the condition", + "description": "Condition Status\n\nstatus of the condition", "in": "query", "required": false, "type": "string", @@ -228,7 +330,7 @@ }, { "name": "status.lastUpdated", - "description": "Last Updated. when the condition status is last updated", + "description": "Last Updated\n\nwhen the condition status is last updated", "in": "query", "required": false, "type": "string", @@ -236,18 +338,18 @@ }, { "name": "status.reason", - "description": "Reason. reason of the last condition status", + "description": "Reason\n\nreason of the last condition status", "in": "query", "required": false, "type": "string" } ], "tags": [ - "Project" + "ProjectService" ] }, "delete": { - "operationId": "Project_DeleteProject", + "operationId": "ProjectService_DeleteProject", "responses": { "200": { "description": "A successful response.", @@ -301,39 +403,39 @@ }, { "name": "apiVersion", - "description": "API Version. API Version of the resource", + "description": "API Version\n\nAPI Version of the resource", "in": "query", - "required": false, + "required": true, "type": "string", "default": "system.k8smgmt.io/v3" }, { "name": "kind", - "description": "Kind. Kind of the resource", + "description": "Kind\n\nKind of the resource", "in": "query", - "required": false, + "required": true, "type": "string", "default": "Project" }, { "name": "metadata.displayName", - "description": "Display Name. display name of the resource", + "description": "Display Name\n\ndisplay name of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.description", - "description": "Description. description of the resource", + "description": "Description\n\ndescription of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.project", - "description": "Project. Project of the resource", + "description": "Project\n\nProject of the resource", "in": "query", - "required": false, + "required": true, "type": "string" }, { @@ -364,21 +466,21 @@ }, { "name": "spec.default", - "description": "Default. flag to indicate if this is the default project in the organization", + "description": "Default\n\nflag to indicate if this is the default project in the organization", "in": "query", "required": false, "type": "boolean" }, { "name": "status.conditionType", - "description": "Condition Type. type of the status condition", + "description": "Condition Type\n\ntype of the status condition", "in": "query", "required": false, "type": "string" }, { "name": "status.conditionStatus", - "description": "Condition Status. status of the condition", + "description": "Condition Status\n\nstatus of the condition", "in": "query", "required": false, "type": "string", @@ -392,7 +494,7 @@ }, { "name": "status.lastUpdated", - "description": "Last Updated. when the condition status is last updated", + "description": "Last Updated\n\nwhen the condition status is last updated", "in": "query", "required": false, "type": "string", @@ -400,18 +502,18 @@ }, { "name": "status.reason", - "description": "Reason. reason of the last condition status", + "description": "Reason\n\nreason of the last condition status", "in": "query", "required": false, "type": "string" } ], "tags": [ - "Project" + "ProjectService" ] }, "put": { - "operationId": "Project_UpdateProject", + "operationId": "ProjectService_UpdateProject", "responses": { "200": { "description": "A successful response.", @@ -464,18 +566,114 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v3Project" + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "default": "system.k8smgmt.io/v3", + "description": "API Version of the resource", + "title": "API Version", + "readOnly": true + }, + "kind": { + "type": "string", + "default": "Project", + "description": "Kind of the resource", + "title": "Kind", + "readOnly": true + }, + "metadata": { + "type": "object", + "example": { + "name": "some-name", + "project": "defaultproject" + }, + "properties": { + "displayName": { + "type": "string", + "description": "display name of the resource", + "title": "Display Name" + }, + "description": { + "type": "string", + "description": "description of the resource", + "title": "Description" + }, + "labels": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "labels of the resource", + "title": "Labels" + }, + "annotations": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "annotations of the resource", + "title": "Annotations" + }, + "project": { + "type": "string", + "description": "Project of the resource", + "title": "Project" + }, + "id": { + "type": "string", + "readOnly": true + }, + "urlScope": { + "type": "string", + "readOnly": true + }, + "createdAt": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "modifiedAt": { + "type": "string", + "format": "date-time", + "readOnly": true + } + }, + "description": "metadata of the resource", + "title": "Metadata" + }, + "spec": { + "$ref": "#/definitions/v3ProjectSpec", + "description": "Spec of the resource", + "title": "Spec" + }, + "status": { + "$ref": "#/definitions/commonv3Status", + "description": "Status of the resource", + "title": "Status", + "readOnly": true + } + }, + "description": "Project", + "title": "Project", + "required": [ + "apiVersion", + "kind", + "metadata", + "spec", + "project" + ] } } ], "tags": [ - "Project" + "ProjectService" ] } }, "/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/projects": { "get": { - "operationId": "Project_GetProjects", + "operationId": "ProjectService_GetProjects", "responses": { "200": { "description": "A successful response.", @@ -518,46 +716,46 @@ }, { "name": "apiVersion", - "description": "API Version. API Version of the resource", + "description": "API Version\n\nAPI Version of the resource", "in": "query", - "required": false, + "required": true, "type": "string", "default": "system.k8smgmt.io/v3" }, { "name": "kind", - "description": "Kind. Kind of the resource", + "description": "Kind\n\nKind of the resource", "in": "query", - "required": false, + "required": true, "type": "string", "default": "Project" }, { "name": "metadata.name", - "description": "Name. name of the resource", + "description": "Name\n\nname of the resource", "in": "query", - "required": false, + "required": true, "type": "string" }, { "name": "metadata.displayName", - "description": "Display Name. display name of the resource", + "description": "Display Name\n\ndisplay name of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.description", - "description": "Description. description of the resource", + "description": "Description\n\ndescription of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.project", - "description": "Project. Project of the resource", + "description": "Project\n\nProject of the resource", "in": "query", - "required": false, + "required": true, "type": "string" }, { @@ -588,21 +786,21 @@ }, { "name": "spec.default", - "description": "Default. flag to indicate if this is the default project in the organization", + "description": "Default\n\nflag to indicate if this is the default project in the organization", "in": "query", "required": false, "type": "boolean" }, { "name": "status.conditionType", - "description": "Condition Type. type of the status condition", + "description": "Condition Type\n\ntype of the status condition", "in": "query", "required": false, "type": "string" }, { "name": "status.conditionStatus", - "description": "Condition Status. status of the condition", + "description": "Condition Status\n\nstatus of the condition", "in": "query", "required": false, "type": "string", @@ -616,7 +814,7 @@ }, { "name": "status.lastUpdated", - "description": "Last Updated. when the condition status is last updated", + "description": "Last Updated\n\nwhen the condition status is last updated", "in": "query", "required": false, "type": "string", @@ -624,14 +822,14 @@ }, { "name": "status.reason", - "description": "Reason. reason of the last condition status", + "description": "Reason\n\nreason of the last condition status", "in": "query", "required": false, "type": "string" } ], "tags": [ - "Project" + "ProjectService" ] } } @@ -880,11 +1078,11 @@ "items": { "type": "array", "items": { - "$ref": "#/definitions/v3Project" + "$ref": "#/definitions/v3Project", + "readOnly": true }, "description": "List of the resources", - "title": "Items", - "readOnly": true + "title": "Items" } }, "description": "Project list", diff --git a/gen/openapi/proto/rpc/user/group.swagger.json b/gen/openapi/proto/rpc/user/group.swagger.json index 683ccbd8..d98eba42 100644 --- a/gen/openapi/proto/rpc/user/group.swagger.json +++ b/gen/openapi/proto/rpc/user/group.swagger.json @@ -9,7 +9,7 @@ }, "tags": [ { - "name": "Group" + "name": "GroupService" } ], "schemes": [ @@ -26,7 +26,7 @@ "paths": { "/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/group/{metadata.name}": { "get": { - "operationId": "Group_GetGroup", + "operationId": "GroupService_GetGroup", "responses": { "200": { "description": "A successful response.", @@ -76,39 +76,39 @@ }, { "name": "apiVersion", - "description": "API Version. API Version of the group resource", + "description": "API Version\n\nAPI Version of the group resource", "in": "query", - "required": false, + "required": true, "type": "string", "default": "system.k8smgmt.io/v3" }, { "name": "kind", - "description": "Kind. Kind of the group resource", + "description": "Kind\n\nKind of the group resource", "in": "query", - "required": false, + "required": true, "type": "string", "default": "Group" }, { "name": "metadata.displayName", - "description": "Display Name. display name of the resource", + "description": "Display Name\n\ndisplay name of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.description", - "description": "Description. description of the resource", + "description": "Description\n\ndescription of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.project", - "description": "Project. Project of the resource", + "description": "Project\n\nProject of the resource", "in": "query", - "required": false, + "required": true, "type": "string" }, { @@ -139,7 +139,7 @@ }, { "name": "spec.users", - "description": "Users. List of users for group", + "description": "Users\n\nList of users for group", "in": "query", "required": false, "type": "array", @@ -150,21 +150,21 @@ }, { "name": "spec.type", - "description": "Type. Type of group", + "description": "Type\n\nType of group", "in": "query", "required": false, "type": "string" }, { "name": "status.conditionType", - "description": "Condition Type. type of the status condition", + "description": "Condition Type\n\ntype of the status condition", "in": "query", "required": false, "type": "string" }, { "name": "status.conditionStatus", - "description": "Condition Status. status of the condition", + "description": "Condition Status\n\nstatus of the condition", "in": "query", "required": false, "type": "string", @@ -178,7 +178,7 @@ }, { "name": "status.lastUpdated", - "description": "Last Updated. when the condition status is last updated", + "description": "Last Updated\n\nwhen the condition status is last updated", "in": "query", "required": false, "type": "string", @@ -186,18 +186,18 @@ }, { "name": "status.reason", - "description": "Reason. reason of the last condition status", + "description": "Reason\n\nreason of the last condition status", "in": "query", "required": false, "type": "string" } ], "tags": [ - "Group" + "GroupService" ] }, "delete": { - "operationId": "Group_DeleteGroup", + "operationId": "GroupService_DeleteGroup", "responses": { "200": { "description": "A successful response.", @@ -251,39 +251,39 @@ }, { "name": "apiVersion", - "description": "API Version. API Version of the group resource", + "description": "API Version\n\nAPI Version of the group resource", "in": "query", - "required": false, + "required": true, "type": "string", "default": "system.k8smgmt.io/v3" }, { "name": "kind", - "description": "Kind. Kind of the group resource", + "description": "Kind\n\nKind of the group resource", "in": "query", - "required": false, + "required": true, "type": "string", "default": "Group" }, { "name": "metadata.displayName", - "description": "Display Name. display name of the resource", + "description": "Display Name\n\ndisplay name of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.description", - "description": "Description. description of the resource", + "description": "Description\n\ndescription of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.project", - "description": "Project. Project of the resource", + "description": "Project\n\nProject of the resource", "in": "query", - "required": false, + "required": true, "type": "string" }, { @@ -314,7 +314,7 @@ }, { "name": "spec.users", - "description": "Users. List of users for group", + "description": "Users\n\nList of users for group", "in": "query", "required": false, "type": "array", @@ -325,21 +325,21 @@ }, { "name": "spec.type", - "description": "Type. Type of group", + "description": "Type\n\nType of group", "in": "query", "required": false, "type": "string" }, { "name": "status.conditionType", - "description": "Condition Type. type of the status condition", + "description": "Condition Type\n\ntype of the status condition", "in": "query", "required": false, "type": "string" }, { "name": "status.conditionStatus", - "description": "Condition Status. status of the condition", + "description": "Condition Status\n\nstatus of the condition", "in": "query", "required": false, "type": "string", @@ -353,7 +353,7 @@ }, { "name": "status.lastUpdated", - "description": "Last Updated. when the condition status is last updated", + "description": "Last Updated\n\nwhen the condition status is last updated", "in": "query", "required": false, "type": "string", @@ -361,18 +361,18 @@ }, { "name": "status.reason", - "description": "Reason. reason of the last condition status", + "description": "Reason\n\nreason of the last condition status", "in": "query", "required": false, "type": "string" } ], "tags": [ - "Group" + "GroupService" ] }, "put": { - "operationId": "Group_UpdateGroup", + "operationId": "GroupService_UpdateGroup", "responses": { "200": { "description": "A successful response.", @@ -425,18 +425,112 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v3Group" + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "default": "system.k8smgmt.io/v3", + "description": "API Version of the group resource", + "title": "API Version" + }, + "kind": { + "type": "string", + "default": "Group", + "description": "Kind of the group resource", + "title": "Kind" + }, + "metadata": { + "type": "object", + "example": { + "name": "some-name", + "project": "defaultproject" + }, + "properties": { + "displayName": { + "type": "string", + "description": "display name of the resource", + "title": "Display Name" + }, + "description": { + "type": "string", + "description": "description of the resource", + "title": "Description" + }, + "labels": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "labels of the resource", + "title": "Labels" + }, + "annotations": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "annotations of the resource", + "title": "Annotations" + }, + "project": { + "type": "string", + "description": "Project of the resource", + "title": "Project" + }, + "id": { + "type": "string", + "readOnly": true + }, + "urlScope": { + "type": "string", + "readOnly": true + }, + "createdAt": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "modifiedAt": { + "type": "string", + "format": "date-time", + "readOnly": true + } + }, + "description": "metadata of the resource", + "title": "Metadata" + }, + "spec": { + "$ref": "#/definitions/v3GroupSpec", + "description": "Metadata of the group resource", + "title": "Metadata" + }, + "status": { + "$ref": "#/definitions/commonv3Status", + "description": "Status of the resource", + "title": "Status", + "readOnly": true + } + }, + "description": "Group", + "title": "Group", + "required": [ + "apiVersion", + "kind", + "metadata", + "spec", + "project" + ] } } ], "tags": [ - "Group" + "GroupService" ] } }, "/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/groups": { "post": { - "operationId": "Group_CreateGroup", + "operationId": "GroupService_CreateGroup", "responses": { "200": { "description": "A successful response.", @@ -486,18 +580,118 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v3Group" + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "default": "system.k8smgmt.io/v3", + "description": "API Version of the group resource", + "title": "API Version" + }, + "kind": { + "type": "string", + "default": "Group", + "description": "Kind of the group resource", + "title": "Kind" + }, + "metadata": { + "type": "object", + "example": { + "name": "some-name", + "project": "defaultproject" + }, + "properties": { + "name": { + "type": "string", + "description": "name of the resource", + "title": "Name" + }, + "displayName": { + "type": "string", + "description": "display name of the resource", + "title": "Display Name" + }, + "description": { + "type": "string", + "description": "description of the resource", + "title": "Description" + }, + "labels": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "labels of the resource", + "title": "Labels" + }, + "annotations": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "annotations of the resource", + "title": "Annotations" + }, + "project": { + "type": "string", + "description": "Project of the resource", + "title": "Project" + }, + "id": { + "type": "string", + "readOnly": true + }, + "urlScope": { + "type": "string", + "readOnly": true + }, + "createdAt": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "modifiedAt": { + "type": "string", + "format": "date-time", + "readOnly": true + } + }, + "description": "metadata of the resource", + "title": "Metadata" + }, + "spec": { + "$ref": "#/definitions/v3GroupSpec", + "description": "Metadata of the group resource", + "title": "Metadata" + }, + "status": { + "$ref": "#/definitions/commonv3Status", + "description": "Status of the resource", + "title": "Status", + "readOnly": true + } + }, + "description": "Group", + "title": "Group", + "required": [ + "apiVersion", + "kind", + "metadata", + "spec", + "name", + "project" + ] } } ], "tags": [ - "Group" + "GroupService" ] } }, "/auth/v3/partner/{partner}/organization/{organization}/groups": { "get": { - "operationId": "Group_GetGroups", + "operationId": "GroupService_GetGroups", "responses": { "200": { "description": "A successful response.", @@ -538,21 +732,21 @@ }, { "name": "q", - "description": "query for filtering.", + "description": "query for filtering", "in": "query", "required": false, "type": "string" }, { "name": "name", - "description": "name is unique ID of a resource along with (partnerID, organizationID,\nprojectID).", + "description": "name is unique ID of a resource along with (partnerID, organizationID,\nprojectID)", "in": "query", "required": false, "type": "string" }, { "name": "selector", - "description": "selector is used to filter the labels of a resource.", + "description": "selector is used to filter the labels of a resource", "in": "query", "required": false, "type": "string" @@ -577,7 +771,7 @@ }, { "name": "displayName", - "description": "displayName only used for update queries to set displayName (READONLY).", + "description": "displayName only used for update queries to set displayName (READONLY)", "in": "query", "required": false, "type": "string" @@ -605,14 +799,14 @@ }, { "name": "ignoreScopeDefault", - "description": "ignoreScopeDefault ignores default values for partnerID, organizationID and\nprojectID.", + "description": "ignoreScopeDefault ignores default values for partnerID, organizationID and\nprojectID", "in": "query", "required": false, "type": "boolean" }, { "name": "globalScope", - "description": "globalScope sets partnerID,organizationID,projectID = 0.", + "description": "globalScope sets partnerID,organizationID,projectID = 0", "in": "query", "required": false, "type": "boolean" @@ -643,7 +837,7 @@ }, { "name": "urlScope", - "description": "urlScope is supposed to be passed in the URL as kind/HashID(value).", + "description": "urlScope is supposed to be passed in the URL as kind/HashID(value)", "in": "query", "required": false, "type": "string" @@ -702,14 +896,14 @@ }, { "name": "type", - "description": "generic way to specify a type of resource, mainly for use in users endpoint.", + "description": "generic way to specify a type of resource, mainly for use in users endpoint", "in": "query", "required": false, "type": "string" } ], "tags": [ - "Group" + "GroupService" ] } } @@ -857,11 +1051,11 @@ "items": { "type": "array", "items": { - "$ref": "#/definitions/v3Group" + "$ref": "#/definitions/v3Group", + "readOnly": true }, "description": "List of the group resources", - "title": "Items", - "readOnly": true + "title": "Items" } }, "description": "Group list", diff --git a/gen/openapi/proto/rpc/user/user.swagger.json b/gen/openapi/proto/rpc/user/user.swagger.json index fbefc093..8801ba5c 100644 --- a/gen/openapi/proto/rpc/user/user.swagger.json +++ b/gen/openapi/proto/rpc/user/user.swagger.json @@ -9,7 +9,7 @@ }, "tags": [ { - "name": "User" + "name": "UserService" } ], "schemes": [ @@ -26,7 +26,7 @@ "paths": { "/auth/v3/cli/config": { "get": { - "operationId": "User_DownloadCliConfig", + "operationId": "UserService_DownloadCliConfig", "responses": { "200": { "description": "A successful response.", @@ -53,13 +53,13 @@ } }, "tags": [ - "User" + "UserService" ] } }, "/auth/v3/user/{metadata.name}": { "get": { - "operationId": "User_GetUser", + "operationId": "UserService_GetUser", "responses": { "200": { "description": "A successful response.", @@ -95,51 +95,51 @@ }, { "name": "apiVersion", - "description": "API Version. API Version of the user resource", + "description": "API Version\n\nAPI Version of the user resource", "in": "query", - "required": false, + "required": true, "type": "string", "default": "system.k8smgmt.io/v3" }, { "name": "kind", - "description": "Kind. Kind of the user resource", + "description": "Kind\n\nKind of the user resource", "in": "query", - "required": false, + "required": true, "type": "string", "default": "User" }, { "name": "metadata.displayName", - "description": "Display Name. display name of the resource", + "description": "Display Name\n\ndisplay name of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.description", - "description": "Description. description of the resource", + "description": "Description\n\ndescription of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.project", - "description": "Project. Project of the resource", + "description": "Project\n\nProject of the resource", "in": "query", - "required": false, + "required": true, "type": "string" }, { "name": "metadata.organization", - "description": "Organization. Organization to which the resource belongs", + "description": "Organization\n\nOrganization to which the resource belongs", "in": "query", "required": false, "type": "string" }, { "name": "metadata.partner", - "description": "Partner. Partner to which the resource belongs", + "description": "Partner\n\nPartner to which the resource belongs", "in": "query", "required": false, "type": "string" @@ -172,85 +172,87 @@ }, { "name": "spec.firstName", - "description": "FirstName. First name of the user", + "description": "FirstName\n\nFirst name of the user", "in": "query", "required": false, "type": "string" }, { "name": "spec.lastName", - "description": "LastName. Last name of the user", + "description": "LastName\n\nLast name of the user", "in": "query", "required": false, "type": "string" }, { "name": "spec.phone", - "description": "Phone. Phone number of the user", + "description": "Phone\n\nPhone number of the user", "in": "query", "required": false, "type": "string" }, { "name": "spec.password", - "description": "Password. Password of the user", + "description": "Password\n\nPassword of the user", "in": "query", "required": false, "type": "string" }, { "name": "spec.groups", - "description": "Group. Groups the user belongs to", + "description": "Group\n\nGroups the user belongs to", "in": "query", "required": false, "type": "array", "items": { - "type": "string" + "type": "string", + "readOnly": true }, "collectionFormat": "multi" }, { "name": "spec.idpGroups", - "description": "Idp Group. Idp Groups the user belongs to", + "description": "Idp Group\n\nIdp Groups the user belongs to", "in": "query", "required": false, "type": "array", "items": { - "type": "string" + "type": "string", + "readOnly": true }, "collectionFormat": "multi" }, { "name": "spec.emailVerified", - "description": "EmailVerified. Flag to show if the email of the user was verified", + "description": "EmailVerified\n\nFlag to show if the email of the user was verified", "in": "query", "required": false, "type": "boolean" }, { "name": "spec.phoneVerified", - "description": "PhoneVerified. Flag to show if phone number of the user was verified", + "description": "PhoneVerified\n\nFlag to show if phone number of the user was verified", "in": "query", "required": false, "type": "boolean" }, { "name": "spec.recoveryUrl", - "description": "Recovery Url. Initial signup URL returned after user creation", + "description": "Recovery Url\n\nInitial signup URL returned after user creation", "in": "query", "required": false, "type": "string" }, { "name": "status.conditionType", - "description": "Condition Type. type of the status condition", + "description": "Condition Type\n\ntype of the status condition", "in": "query", "required": false, "type": "string" }, { "name": "status.conditionStatus", - "description": "Condition Status. status of the condition", + "description": "Condition Status\n\nstatus of the condition", "in": "query", "required": false, "type": "string", @@ -264,7 +266,7 @@ }, { "name": "status.lastUpdated", - "description": "Last Updated. when the condition status is last updated", + "description": "Last Updated\n\nwhen the condition status is last updated", "in": "query", "required": false, "type": "string", @@ -272,23 +274,23 @@ }, { "name": "status.reason", - "description": "Reason. reason of the last condition status", + "description": "Reason\n\nreason of the last condition status", "in": "query", "required": false, "type": "string" } ], "tags": [ - "User" + "UserService" ] }, "delete": { - "operationId": "User_DeleteUser", + "operationId": "UserService_DeleteUser", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v3DeleteUserResponse" + "$ref": "#/definitions/v3UserDeleteApiKeysResponse" } }, "204": { @@ -323,51 +325,51 @@ }, { "name": "apiVersion", - "description": "API Version. API Version of the user resource", + "description": "API Version\n\nAPI Version of the user resource", "in": "query", - "required": false, + "required": true, "type": "string", "default": "system.k8smgmt.io/v3" }, { "name": "kind", - "description": "Kind. Kind of the user resource", + "description": "Kind\n\nKind of the user resource", "in": "query", - "required": false, + "required": true, "type": "string", "default": "User" }, { "name": "metadata.displayName", - "description": "Display Name. display name of the resource", + "description": "Display Name\n\ndisplay name of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.description", - "description": "Description. description of the resource", + "description": "Description\n\ndescription of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.project", - "description": "Project. Project of the resource", + "description": "Project\n\nProject of the resource", "in": "query", - "required": false, + "required": true, "type": "string" }, { "name": "metadata.organization", - "description": "Organization. Organization to which the resource belongs", + "description": "Organization\n\nOrganization to which the resource belongs", "in": "query", "required": false, "type": "string" }, { "name": "metadata.partner", - "description": "Partner. Partner to which the resource belongs", + "description": "Partner\n\nPartner to which the resource belongs", "in": "query", "required": false, "type": "string" @@ -400,85 +402,87 @@ }, { "name": "spec.firstName", - "description": "FirstName. First name of the user", + "description": "FirstName\n\nFirst name of the user", "in": "query", "required": false, "type": "string" }, { "name": "spec.lastName", - "description": "LastName. Last name of the user", + "description": "LastName\n\nLast name of the user", "in": "query", "required": false, "type": "string" }, { "name": "spec.phone", - "description": "Phone. Phone number of the user", + "description": "Phone\n\nPhone number of the user", "in": "query", "required": false, "type": "string" }, { "name": "spec.password", - "description": "Password. Password of the user", + "description": "Password\n\nPassword of the user", "in": "query", "required": false, "type": "string" }, { "name": "spec.groups", - "description": "Group. Groups the user belongs to", + "description": "Group\n\nGroups the user belongs to", "in": "query", "required": false, "type": "array", "items": { - "type": "string" + "type": "string", + "readOnly": true }, "collectionFormat": "multi" }, { "name": "spec.idpGroups", - "description": "Idp Group. Idp Groups the user belongs to", + "description": "Idp Group\n\nIdp Groups the user belongs to", "in": "query", "required": false, "type": "array", "items": { - "type": "string" + "type": "string", + "readOnly": true }, "collectionFormat": "multi" }, { "name": "spec.emailVerified", - "description": "EmailVerified. Flag to show if the email of the user was verified", + "description": "EmailVerified\n\nFlag to show if the email of the user was verified", "in": "query", "required": false, "type": "boolean" }, { "name": "spec.phoneVerified", - "description": "PhoneVerified. Flag to show if phone number of the user was verified", + "description": "PhoneVerified\n\nFlag to show if phone number of the user was verified", "in": "query", "required": false, "type": "boolean" }, { "name": "spec.recoveryUrl", - "description": "Recovery Url. Initial signup URL returned after user creation", + "description": "Recovery Url\n\nInitial signup URL returned after user creation", "in": "query", "required": false, "type": "string" }, { "name": "status.conditionType", - "description": "Condition Type. type of the status condition", + "description": "Condition Type\n\ntype of the status condition", "in": "query", "required": false, "type": "string" }, { "name": "status.conditionStatus", - "description": "Condition Status. status of the condition", + "description": "Condition Status\n\nstatus of the condition", "in": "query", "required": false, "type": "string", @@ -492,7 +496,7 @@ }, { "name": "status.lastUpdated", - "description": "Last Updated. when the condition status is last updated", + "description": "Last Updated\n\nwhen the condition status is last updated", "in": "query", "required": false, "type": "string", @@ -500,18 +504,18 @@ }, { "name": "status.reason", - "description": "Reason. reason of the last condition status", + "description": "Reason\n\nreason of the last condition status", "in": "query", "required": false, "type": "string" } ], "tags": [ - "User" + "UserService" ] }, "put": { - "operationId": "User_UpdateUser", + "operationId": "UserService_UpdateUser", "responses": { "200": { "description": "A successful response.", @@ -550,23 +554,127 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/v3User" + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "default": "system.k8smgmt.io/v3", + "description": "API Version of the user resource", + "title": "API Version" + }, + "kind": { + "type": "string", + "default": "User", + "description": "Kind of the user resource", + "title": "Kind" + }, + "metadata": { + "type": "object", + "example": { + "name": "some-name", + "project": "defaultproject" + }, + "properties": { + "displayName": { + "type": "string", + "description": "display name of the resource", + "title": "Display Name" + }, + "description": { + "type": "string", + "description": "description of the resource", + "title": "Description" + }, + "labels": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "labels of the resource", + "title": "Labels" + }, + "annotations": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "annotations of the resource", + "title": "Annotations" + }, + "project": { + "type": "string", + "description": "Project of the resource", + "title": "Project" + }, + "organization": { + "type": "string", + "description": "Organization to which the resource belongs", + "title": "Organization" + }, + "partner": { + "type": "string", + "description": "Partner to which the resource belongs", + "title": "Partner" + }, + "id": { + "type": "string", + "readOnly": true + }, + "urlScope": { + "type": "string", + "readOnly": true + }, + "createdAt": { + "type": "string", + "format": "date-time", + "readOnly": true + }, + "modifiedAt": { + "type": "string", + "format": "date-time", + "readOnly": true + } + }, + "description": "metadata of the resource", + "title": "Metadata" + }, + "spec": { + "$ref": "#/definitions/v3UserSpec", + "description": "Spec of the user resource", + "title": "Spec" + }, + "status": { + "$ref": "#/definitions/commonv3Status", + "description": "Status of the resource", + "title": "Status", + "readOnly": true + } + }, + "description": "User", + "title": "User", + "required": [ + "apiVersion", + "kind", + "metadata", + "spec", + "project" + ] } } ], "tags": [ - "User" + "UserService" ] } }, "/auth/v3/user/{username}/apikeys": { "get": { - "operationId": "User_UserListApiKeys", + "operationId": "UserService_UserListApiKeys", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v3ApiKeyResponseList" + "$ref": "#/definitions/v3UserListApiKeysResponse" } }, "403": { @@ -602,18 +710,18 @@ } ], "tags": [ - "User" + "UserService" ] } }, "/auth/v3/user/{username}/apikeys/{id}": { "delete": { - "operationId": "User_UserDeleteApiKeys", + "operationId": "UserService_UserDeleteApiKeys", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v3DeleteUserResponse" + "$ref": "#/definitions/v3UserDeleteApiKeysResponse" } }, "403": { @@ -649,18 +757,18 @@ } ], "tags": [ - "User" + "UserService" ] } }, "/auth/v3/user/{username}/forgotpassword": { "get": { - "operationId": "User_UserForgotPassword", + "operationId": "UserService_UserForgotPassword", "responses": { "200": { "description": "A successful response.", "schema": { - "$ref": "#/definitions/v3ForgotPasswordResponse" + "$ref": "#/definitions/v3UserForgotPasswordResponse" } }, "403": { @@ -690,13 +798,13 @@ } ], "tags": [ - "User" + "UserService" ] } }, "/auth/v3/userinfo": { "get": { - "operationId": "User_GetUserInfo", + "operationId": "UserService_GetUserInfo", "responses": { "200": { "description": "A successful response.", @@ -725,58 +833,58 @@ "parameters": [ { "name": "apiVersion", - "description": "API Version. API Version of the user resource", + "description": "API Version\n\nAPI Version of the user resource", "in": "query", - "required": false, + "required": true, "type": "string", "default": "system.k8smgmt.io/v3" }, { "name": "kind", - "description": "Kind. Kind of the user resource", + "description": "Kind\n\nKind of the user resource", "in": "query", - "required": false, + "required": true, "type": "string", "default": "User" }, { "name": "metadata.name", - "description": "Name. name of the resource", + "description": "Name\n\nname of the resource", "in": "query", - "required": false, + "required": true, "type": "string" }, { "name": "metadata.displayName", - "description": "Display Name. display name of the resource", + "description": "Display Name\n\ndisplay name of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.description", - "description": "Description. description of the resource", + "description": "Description\n\ndescription of the resource", "in": "query", "required": false, "type": "string" }, { "name": "metadata.project", - "description": "Project. Project of the resource", + "description": "Project\n\nProject of the resource", "in": "query", - "required": false, + "required": true, "type": "string" }, { "name": "metadata.organization", - "description": "Organization. Organization to which the resource belongs", + "description": "Organization\n\nOrganization to which the resource belongs", "in": "query", "required": false, "type": "string" }, { "name": "metadata.partner", - "description": "Partner. Partner to which the resource belongs", + "description": "Partner\n\nPartner to which the resource belongs", "in": "query", "required": false, "type": "string" @@ -809,85 +917,87 @@ }, { "name": "spec.firstName", - "description": "FirstName. First name of the user", + "description": "FirstName\n\nFirst name of the user", "in": "query", "required": false, "type": "string" }, { "name": "spec.lastName", - "description": "LastName. Last name of the user", + "description": "LastName\n\nLast name of the user", "in": "query", "required": false, "type": "string" }, { "name": "spec.phone", - "description": "Phone. Phone number of the user", + "description": "Phone\n\nPhone number of the user", "in": "query", "required": false, "type": "string" }, { "name": "spec.password", - "description": "Password. Password of the user", + "description": "Password\n\nPassword of the user", "in": "query", "required": false, "type": "string" }, { "name": "spec.groups", - "description": "Group. Groups the user belongs to", + "description": "Group\n\nGroups the user belongs to", "in": "query", "required": false, "type": "array", "items": { - "type": "string" + "type": "string", + "readOnly": true }, "collectionFormat": "multi" }, { "name": "spec.idpGroups", - "description": "Idp Group. Idp Groups the user belongs to", + "description": "Idp Group\n\nIdp Groups the user belongs to", "in": "query", "required": false, "type": "array", "items": { - "type": "string" + "type": "string", + "readOnly": true }, "collectionFormat": "multi" }, { "name": "spec.emailVerified", - "description": "EmailVerified. Flag to show if the email of the user was verified", + "description": "EmailVerified\n\nFlag to show if the email of the user was verified", "in": "query", "required": false, "type": "boolean" }, { "name": "spec.phoneVerified", - "description": "PhoneVerified. Flag to show if phone number of the user was verified", + "description": "PhoneVerified\n\nFlag to show if phone number of the user was verified", "in": "query", "required": false, "type": "boolean" }, { "name": "spec.recoveryUrl", - "description": "Recovery Url. Initial signup URL returned after user creation", + "description": "Recovery Url\n\nInitial signup URL returned after user creation", "in": "query", "required": false, "type": "string" }, { "name": "status.conditionType", - "description": "Condition Type. type of the status condition", + "description": "Condition Type\n\ntype of the status condition", "in": "query", "required": false, "type": "string" }, { "name": "status.conditionStatus", - "description": "Condition Status. status of the condition", + "description": "Condition Status\n\nstatus of the condition", "in": "query", "required": false, "type": "string", @@ -901,7 +1011,7 @@ }, { "name": "status.lastUpdated", - "description": "Last Updated. when the condition status is last updated", + "description": "Last Updated\n\nwhen the condition status is last updated", "in": "query", "required": false, "type": "string", @@ -909,20 +1019,20 @@ }, { "name": "status.reason", - "description": "Reason. reason of the last condition status", + "description": "Reason\n\nreason of the last condition status", "in": "query", "required": false, "type": "string" } ], "tags": [ - "User" + "UserService" ] } }, "/auth/v3/users": { "get": { - "operationId": "User_GetUsers", + "operationId": "UserService_GetUsers", "responses": { "200": { "description": "A successful response.", @@ -951,21 +1061,21 @@ "parameters": [ { "name": "q", - "description": "query for filtering.", + "description": "query for filtering", "in": "query", "required": false, "type": "string" }, { "name": "name", - "description": "name is unique ID of a resource along with (partnerID, organizationID,\nprojectID).", + "description": "name is unique ID of a resource along with (partnerID, organizationID,\nprojectID)", "in": "query", "required": false, "type": "string" }, { "name": "selector", - "description": "selector is used to filter the labels of a resource.", + "description": "selector is used to filter the labels of a resource", "in": "query", "required": false, "type": "string" @@ -1002,7 +1112,7 @@ }, { "name": "displayName", - "description": "displayName only used for update queries to set displayName (READONLY).", + "description": "displayName only used for update queries to set displayName (READONLY)", "in": "query", "required": false, "type": "string" @@ -1030,14 +1140,14 @@ }, { "name": "ignoreScopeDefault", - "description": "ignoreScopeDefault ignores default values for partnerID, organizationID and\nprojectID.", + "description": "ignoreScopeDefault ignores default values for partnerID, organizationID and\nprojectID", "in": "query", "required": false, "type": "boolean" }, { "name": "globalScope", - "description": "globalScope sets partnerID,organizationID,projectID = 0.", + "description": "globalScope sets partnerID,organizationID,projectID = 0", "in": "query", "required": false, "type": "boolean" @@ -1068,7 +1178,7 @@ }, { "name": "urlScope", - "description": "urlScope is supposed to be passed in the URL as kind/HashID(value).", + "description": "urlScope is supposed to be passed in the URL as kind/HashID(value)", "in": "query", "required": false, "type": "string" @@ -1127,18 +1237,18 @@ }, { "name": "type", - "description": "generic way to specify a type of resource, mainly for use in users endpoint.", + "description": "generic way to specify a type of resource, mainly for use in users endpoint", "in": "query", "required": false, "type": "string" } ], "tags": [ - "User" + "UserService" ] }, "post": { - "operationId": "User_CreateUser", + "operationId": "UserService_CreateUser", "responses": { "200": { "description": "A successful response.", @@ -1171,6 +1281,7 @@ "parameters": [ { "name": "body", + "description": "User", "in": "body", "required": true, "schema": { @@ -1179,7 +1290,7 @@ } ], "tags": [ - "User" + "UserService" ] } } @@ -1273,17 +1384,6 @@ } } }, - "v3ApiKeyResponseList": { - "type": "object", - "properties": { - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/v3ApiKeyResponse" - } - } - } - }, "v3ConditionStatus": { "type": "string", "enum": [ @@ -1295,17 +1395,6 @@ "default": "StatusNotSet", "title": "$title: ConditionStatus\n$description: status of a condition for a resource" }, - "v3DeleteUserResponse": { - "type": "object" - }, - "v3ForgotPasswordResponse": { - "type": "object", - "properties": { - "recoveryLink": { - "type": "string" - } - } - }, "v3HttpBody": { "type": "object", "properties": { @@ -1516,6 +1605,17 @@ "spec" ] }, + "v3UserDeleteApiKeysResponse": { + "type": "object" + }, + "v3UserForgotPasswordResponse": { + "type": "object", + "properties": { + "recoveryLink": { + "type": "string" + } + } + }, "v3UserInfo": { "type": "object", "properties": { @@ -1578,20 +1678,20 @@ "groups": { "type": "array", "items": { - "type": "string" + "type": "string", + "readOnly": true }, "description": "Groups the user belongs to", - "title": "Group", - "readOnly": true + "title": "Group" }, "idpGroups": { "type": "array", "items": { - "type": "string" + "type": "string", + "readOnly": true }, "description": "Idp Groups the user belongs to", - "title": "Idp Group", - "readOnly": true + "title": "Idp Group" }, "permissions": { "type": "array", @@ -1643,17 +1743,28 @@ "items": { "type": "array", "items": { - "$ref": "#/definitions/v3User" + "$ref": "#/definitions/v3User", + "readOnly": true }, "description": "List of the user resources", - "title": "Items", - "readOnly": true + "title": "Items" } }, "description": "User list", "title": "UserList", "readOnly": true }, + "v3UserListApiKeysResponse": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "$ref": "#/definitions/v3ApiKeyResponse" + } + } + } + }, "v3UserSpec": { "type": "object", "properties": { @@ -1680,20 +1791,20 @@ "groups": { "type": "array", "items": { - "type": "string" + "type": "string", + "readOnly": true }, "description": "Groups the user belongs to", - "title": "Group", - "readOnly": true + "title": "Group" }, "idpGroups": { "type": "array", "items": { - "type": "string" + "type": "string", + "readOnly": true }, "description": "Idp Groups the user belongs to", - "title": "Idp Group", - "readOnly": true + "title": "Idp Group" }, "projectNamespaceRoles": { "type": "array", diff --git a/gen/openapi/proto/rpc/v3/auth.swagger.json b/gen/openapi/proto/rpc/v3/auth.swagger.json index 420ae586..86bcbfd7 100644 --- a/gen/openapi/proto/rpc/v3/auth.swagger.json +++ b/gen/openapi/proto/rpc/v3/auth.swagger.json @@ -6,7 +6,7 @@ }, "tags": [ { - "name": "Auth" + "name": "AuthService" } ], "consumes": [ diff --git a/gen/openapi/proto/types/config/config.swagger.json b/gen/openapi/proto/types/config/config.swagger.json deleted file mode 100644 index 97a883cd..00000000 --- a/gen/openapi/proto/types/config/config.swagger.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "proto/types/config/config.proto", - "version": "version not set" - }, - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": {}, - "definitions": { - "googlerpcStatus": { - "type": "object", - "properties": { - "code": { - "type": "integer", - "format": "int32" - }, - "message": { - "type": "string" - }, - "details": { - "type": "array", - "items": { - "$ref": "#/definitions/protobufAny" - } - } - } - }, - "protobufAny": { - "type": "object", - "properties": { - "@type": { - "type": "string" - } - }, - "additionalProperties": {} - } - } -} diff --git a/gen/openapi/proto/types/config/namespace.swagger.json b/gen/openapi/proto/types/config/namespace.swagger.json deleted file mode 100644 index 64e97637..00000000 --- a/gen/openapi/proto/types/config/namespace.swagger.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "proto/types/config/namespace.proto", - "version": "version not set" - }, - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": {}, - "definitions": { - "googlerpcStatus": { - "type": "object", - "properties": { - "code": { - "type": "integer", - "format": "int32" - }, - "message": { - "type": "string" - }, - "details": { - "type": "array", - "items": { - "$ref": "#/definitions/protobufAny" - } - } - } - }, - "protobufAny": { - "type": "object", - "properties": { - "@type": { - "type": "string" - } - }, - "additionalProperties": {} - } - } -} diff --git a/gen/openapi/proto/types/config/override.swagger.json b/gen/openapi/proto/types/config/override.swagger.json deleted file mode 100644 index da41e56a..00000000 --- a/gen/openapi/proto/types/config/override.swagger.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "proto/types/config/override.proto", - "version": "version not set" - }, - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": {}, - "definitions": { - "googlerpcStatus": { - "type": "object", - "properties": { - "code": { - "type": "integer", - "format": "int32" - }, - "message": { - "type": "string" - }, - "details": { - "type": "array", - "items": { - "$ref": "#/definitions/protobufAny" - } - } - } - }, - "protobufAny": { - "type": "object", - "properties": { - "@type": { - "type": "string" - } - }, - "additionalProperties": {} - } - } -} diff --git a/gen/openapi/proto/types/config/placement.swagger.json b/gen/openapi/proto/types/config/placement.swagger.json deleted file mode 100644 index d627b9a3..00000000 --- a/gen/openapi/proto/types/config/placement.swagger.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "proto/types/config/placement.proto", - "version": "version not set" - }, - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": {}, - "definitions": { - "googlerpcStatus": { - "type": "object", - "properties": { - "code": { - "type": "integer", - "format": "int32" - }, - "message": { - "type": "string" - }, - "details": { - "type": "array", - "items": { - "$ref": "#/definitions/protobufAny" - } - } - } - }, - "protobufAny": { - "type": "object", - "properties": { - "@type": { - "type": "string" - } - }, - "additionalProperties": {} - } - } -} diff --git a/gen/openapi/proto/types/config/repository.swagger.json b/gen/openapi/proto/types/config/repository.swagger.json deleted file mode 100644 index ccdebd6d..00000000 --- a/gen/openapi/proto/types/config/repository.swagger.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "proto/types/config/repository.proto", - "version": "version not set" - }, - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": {}, - "definitions": { - "googlerpcStatus": { - "type": "object", - "properties": { - "code": { - "type": "integer", - "format": "int32" - }, - "message": { - "type": "string" - }, - "details": { - "type": "array", - "items": { - "$ref": "#/definitions/protobufAny" - } - } - } - }, - "protobufAny": { - "type": "object", - "properties": { - "@type": { - "type": "string" - } - }, - "additionalProperties": {} - } - } -} diff --git a/gen/openapi/proto/types/config/workload.swagger.json b/gen/openapi/proto/types/config/workload.swagger.json deleted file mode 100644 index 8c80c887..00000000 --- a/gen/openapi/proto/types/config/workload.swagger.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "proto/types/config/workload.proto", - "version": "version not set" - }, - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": {}, - "definitions": { - "googlerpcStatus": { - "type": "object", - "properties": { - "code": { - "type": "integer", - "format": "int32" - }, - "message": { - "type": "string" - }, - "details": { - "type": "array", - "items": { - "$ref": "#/definitions/protobufAny" - } - } - } - }, - "protobufAny": { - "type": "object", - "properties": { - "@type": { - "type": "string" - } - }, - "additionalProperties": {} - } - } -} diff --git a/main.go b/main.go index d488c3d6..0903de38 100644 --- a/main.go +++ b/main.go @@ -460,23 +460,23 @@ func runAPI(wg *sync.WaitGroup, ctx context.Context) { ctx, fmt.Sprintf(":%d", rpcPort), make([]runtime.ServeMuxOption, 0), - systemrpc.RegisterPartnerHandlerFromEndpoint, - systemrpc.RegisterOrganizationHandlerFromEndpoint, - systemrpc.RegisterProjectHandlerFromEndpoint, - sentryrpc.RegisterBootstrapHandlerFromEndpoint, - sentryrpc.RegisterKubeConfigHandlerFromEndpoint, - sentryrpc.RegisterKubectlClusterSettingsHandlerFromEndpoint, - sentryrpc.RegisterClusterAuthorizationHandlerFromEndpoint, - schedulerrpc.RegisterClusterHandlerFromEndpoint, - systemrpc.RegisterLocationHandlerFromEndpoint, - userrpc.RegisterUserHandlerFromEndpoint, - userrpc.RegisterGroupHandlerFromEndpoint, - rolerpc.RegisterRoleHandlerFromEndpoint, - rolerpc.RegisterRolepermissionHandlerFromEndpoint, - systemrpc.RegisterIdpHandlerFromEndpoint, - systemrpc.RegisterOIDCProviderHandlerFromEndpoint, - auditrpc.RegisterAuditLogHandlerFromEndpoint, - auditrpc.RegisterRelayAuditHandlerFromEndpoint, + systemrpc.RegisterPartnerServiceHandlerFromEndpoint, + systemrpc.RegisterOrganizationServiceHandlerFromEndpoint, + systemrpc.RegisterProjectServiceHandlerFromEndpoint, + sentryrpc.RegisterBootstrapServiceHandlerFromEndpoint, + sentryrpc.RegisterKubeConfigServiceHandlerFromEndpoint, + sentryrpc.RegisterKubectlClusterSettingsServiceHandlerFromEndpoint, + sentryrpc.RegisterClusterAuthorizationServiceHandlerFromEndpoint, + schedulerrpc.RegisterClusterServiceHandlerFromEndpoint, + systemrpc.RegisterLocationServiceHandlerFromEndpoint, + userrpc.RegisterUserServiceHandlerFromEndpoint, + userrpc.RegisterGroupServiceHandlerFromEndpoint, + rolerpc.RegisterRoleServiceHandlerFromEndpoint, + rolerpc.RegisterRolepermissionServiceHandlerFromEndpoint, + systemrpc.RegisterIdpServiceHandlerFromEndpoint, + systemrpc.RegisterOIDCProviderServiceHandlerFromEndpoint, + auditrpc.RegisterAuditLogServiceHandlerFromEndpoint, + auditrpc.RegisterRelayAuditServiceHandlerFromEndpoint, ) if err != nil { _log.Fatalw("unable to create gateway", "error", err) @@ -531,8 +531,8 @@ func runRelayPeerRPC(wg *sync.WaitGroup, ctx context.Context) { }() sentryrpc.RegisterRelayPeerServiceServer(s, relayPeerService) - sentryrpc.RegisterClusterAuthorizationServer(s, clusterAuthzServer) - sentryrpc.RegisterAuditInformationServer(s, auditInfoServer) + sentryrpc.RegisterClusterAuthorizationServiceServer(s, clusterAuthzServer) + sentryrpc.RegisterAuditInformationServiceServer(s, auditInfoServer) l, err := net.Listen("tcp", fmt.Sprintf(":%d", rpcRelayPeeringPort)) if err != nil { @@ -593,13 +593,13 @@ func runRPC(wg *sync.WaitGroup, ctx context.Context) { asv := authv3.NewAuthService(ac) o := authv3.Option{ ExcludeRPCMethods: []string{ - "/paralus.dev.sentry.rpc.Bootstrap/GetBootstrapAgentTemplate", - "/paralus.dev.sentry.rpc.Bootstrap/RegisterBootstrapAgent", - "/paralus.dev.sentry.rpc.KubeConfig/GetForClusterWebSession", //TODO: enable auth from prompt - "/paralus.dev.rpc.v3.Auth/IsRequestAllowed", + "/paralus.dev.sentry.rpc.BootstrapService/GetBootstrapAgentTemplate", + "/paralus.dev.sentry.rpc.BootstrapService/RegisterBootstrapAgent", + "/paralus.dev.sentry.rpc.KubeConfigService/GetForClusterWebSession", //TODO: enable auth from prompt + "/paralus.dev.rpc.auth.v3.AuthService/IsRequestAllowed", }, ExcludeAuthzMethods: []string{ - "/paralus.dev.rpc.v3.User/GetUserInfo", + "/paralus.dev.rpc.user.v3.UserService/GetUserInfo", }, } opts = append(opts, _grpc.UnaryInterceptor( @@ -622,27 +622,27 @@ func runRPC(wg *sync.WaitGroup, ctx context.Context) { _log.Infow("context done") }() - systemrpc.RegisterPartnerServer(s, partnerServer) - systemrpc.RegisterOrganizationServer(s, organizationServer) - systemrpc.RegisterProjectServer(s, projectServer) - sentryrpc.RegisterBootstrapServer(s, bootstrapServer) - sentryrpc.RegisterKubeConfigServer(s, kubeConfigServer) - sentryrpc.RegisterClusterAuthorizationServer(s, clusterAuthzServer) - sentryrpc.RegisterAuditInformationServer(s, auditInfoServer) - sentryrpc.RegisterKubectlClusterSettingsServer(s, kubectlClusterSettingsServer) - schedulerrpc.RegisterClusterServer(s, crpc) - systemrpc.RegisterLocationServer(s, mserver) - userrpc.RegisterUserServer(s, userServer) - userrpc.RegisterGroupServer(s, groupServer) - rolerpc.RegisterRoleServer(s, roleServer) - rolerpc.RegisterRolepermissionServer(s, rolepermissionServer) - systemrpc.RegisterIdpServer(s, idpServer) - systemrpc.RegisterOIDCProviderServer(s, oidcProviderServer) - auditrpc.RegisterAuditLogServer(s, auditLogServer) - auditrpc.RegisterRelayAuditServer(s, relayAuditServer) + systemrpc.RegisterPartnerServiceServer(s, partnerServer) + systemrpc.RegisterOrganizationServiceServer(s, organizationServer) + systemrpc.RegisterProjectServiceServer(s, projectServer) + sentryrpc.RegisterBootstrapServiceServer(s, bootstrapServer) + sentryrpc.RegisterKubeConfigServiceServer(s, kubeConfigServer) + sentryrpc.RegisterClusterAuthorizationServiceServer(s, clusterAuthzServer) + sentryrpc.RegisterAuditInformationServiceServer(s, auditInfoServer) + sentryrpc.RegisterKubectlClusterSettingsServiceServer(s, kubectlClusterSettingsServer) + schedulerrpc.RegisterClusterServiceServer(s, crpc) + systemrpc.RegisterLocationServiceServer(s, mserver) + userrpc.RegisterUserServiceServer(s, userServer) + userrpc.RegisterGroupServiceServer(s, groupServer) + rolerpc.RegisterRoleServiceServer(s, roleServer) + rolerpc.RegisterRolepermissionServiceServer(s, rolepermissionServer) + systemrpc.RegisterIdpServiceServer(s, idpServer) + systemrpc.RegisterOIDCProviderServiceServer(s, oidcProviderServer) + auditrpc.RegisterAuditLogServiceServer(s, auditLogServer) + auditrpc.RegisterRelayAuditServiceServer(s, relayAuditServer) authServer := server.NewAuthServer(asv) - authrpc.RegisterAuthServer(s, authServer) + authrpc.RegisterAuthServiceServer(s, authServer) _log.Infow("starting rpc server", "port", rpcPort) err = s.Serve(l) diff --git a/pkg/auth/v3/middleware.go b/pkg/auth/v3/middleware.go index aa767711..d0fee49d 100644 --- a/pkg/auth/v3/middleware.go +++ b/pkg/auth/v3/middleware.go @@ -37,7 +37,7 @@ func NewAuthMiddleware(al *zap.Logger, opt Option) negroni.Handler { } type remoteAuthMiddleware struct { - as rpcv3.AuthClient + as rpcv3.AuthServiceClient db *bun.DB opt Option } @@ -51,7 +51,7 @@ func NewRemoteAuthMiddleware(al *zap.Logger, as string, opt Option) negroni.Hand if err != nil { _log.Fatal("Unable to connect to server", err) } - client := rpcv3.NewAuthClient(conn) + client := rpcv3.NewAuthServiceClient(conn) return &remoteAuthMiddleware{ as: client, diff --git a/pkg/auth/v3/pool.go b/pkg/auth/v3/pool.go index 61dbeaba..f1a01567 100644 --- a/pkg/auth/v3/pool.go +++ b/pkg/auth/v3/pool.go @@ -13,12 +13,12 @@ import ( type AuthPoolClient interface { Unhealthy() Close() error - rpcv3.AuthClient + rpcv3.AuthServiceClient } type authPoolClient struct { *grpcpool.ClientConn - rpcv3.AuthClient + rpcv3.AuthServiceClient } var _ AuthPoolClient = (*authPoolClient)(nil) @@ -48,7 +48,7 @@ func (p *authPool) NewClient(ctx context.Context) (AuthPoolClient, error) { } return &authPoolClient{ cc, - rpcv3.NewAuthClient(cc.ClientConn), + rpcv3.NewAuthServiceClient(cc.ClientConn), }, nil } diff --git a/pkg/gateway/testdata/test.pb.go b/pkg/gateway/testdata/test.pb.go index 846506c2..eaffe94c 100644 --- a/pkg/gateway/testdata/test.pb.go +++ b/pkg/gateway/testdata/test.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.27.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: pkg/gateway/testdata/test.proto @@ -312,23 +312,24 @@ var file_pkg_gateway_testdata_test_proto_rawDesc = []byte{ 0x12, 0x32, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, - 0x61, 0x74, 0x75, 0x73, 0x32, 0x70, 0x0a, 0x04, 0x54, 0x65, 0x73, 0x74, 0x12, 0x68, 0x0a, 0x03, - 0x47, 0x65, 0x74, 0x12, 0x14, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, - 0x65, 0x73, 0x74, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x1a, 0x14, 0x2e, 0x74, 0x65, 0x73, 0x74, - 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x22, - 0x35, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2f, 0x12, 0x2d, 0x2f, 0x76, 0x33, 0x2f, 0x74, 0x65, 0x73, - 0x74, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6e, 0x61, 0x6d, 0x65, - 0x7d, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, - 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x42, 0x8a, 0x01, 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x2e, 0x74, - 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x42, 0x09, 0x54, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, - 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, - 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, - 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2f, 0x74, 0x65, 0x73, - 0x74, 0x64, 0x61, 0x74, 0x61, 0xa2, 0x02, 0x03, 0x54, 0x58, 0x58, 0xaa, 0x02, 0x08, 0x54, 0x65, - 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0xca, 0x02, 0x08, 0x54, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, - 0x61, 0xe2, 0x02, 0x14, 0x54, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x5c, 0x47, 0x50, 0x42, - 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x08, 0x54, 0x65, 0x73, 0x74, 0x64, - 0x61, 0x74, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x61, 0x74, 0x75, 0x73, 0x32, 0x77, 0x0a, 0x0b, 0x54, 0x65, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x12, 0x68, 0x0a, 0x03, 0x47, 0x65, 0x74, 0x12, 0x14, 0x2e, 0x74, 0x65, 0x73, + 0x74, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, + 0x1a, 0x14, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x65, 0x73, 0x74, + 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x35, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2f, 0x12, 0x2d, + 0x2f, 0x76, 0x33, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2f, 0x7b, 0x6d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x42, 0x8a, 0x01, + 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x42, 0x09, + 0x54, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2f, 0x67, 0x69, 0x74, + 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, + 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x67, 0x61, 0x74, 0x65, + 0x77, 0x61, 0x79, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0xa2, 0x02, 0x03, 0x54, + 0x58, 0x58, 0xaa, 0x02, 0x08, 0x54, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0xca, 0x02, 0x08, + 0x54, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0xe2, 0x02, 0x14, 0x54, 0x65, 0x73, 0x74, 0x64, + 0x61, 0x74, 0x61, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, + 0x02, 0x08, 0x54, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, } var ( @@ -359,8 +360,8 @@ var file_pkg_gateway_testdata_test_proto_depIdxs = []int32{ 1, // 2: testdata.TestObject.metadata:type_name -> testdata.TestMetadata 2, // 3: testdata.TestObject.spec:type_name -> testdata.TestObjectSpec 3, // 4: testdata.TestObject.status:type_name -> testdata.TestObjectStatus - 4, // 5: testdata.Test.Get:input_type -> testdata.TestObject - 4, // 6: testdata.Test.Get:output_type -> testdata.TestObject + 4, // 5: testdata.TestService.Get:input_type -> testdata.TestObject + 4, // 6: testdata.TestService.Get:output_type -> testdata.TestObject 6, // [6:7] is the sub-list for method output_type 5, // [5:6] is the sub-list for method input_type 5, // [5:5] is the sub-list for extension type_name diff --git a/pkg/gateway/testdata/test.pb.gw.go b/pkg/gateway/testdata/test.pb.gw.go index 2adf1bb7..04894dc8 100644 --- a/pkg/gateway/testdata/test.pb.gw.go +++ b/pkg/gateway/testdata/test.pb.gw.go @@ -32,10 +32,10 @@ var _ = utilities.NewDoubleArray var _ = metadata.Join var ( - filter_Test_Get_0 = &utilities.DoubleArray{Encoding: map[string]int{"metadata": 0, "name": 1}, Base: []int{1, 3, 1, 0, 3, 0}, Check: []int{0, 1, 2, 3, 2, 5}} + filter_TestService_Get_0 = &utilities.DoubleArray{Encoding: map[string]int{"metadata": 0, "name": 1}, Base: []int{1, 3, 1, 0, 3, 0}, Check: []int{0, 1, 2, 3, 2, 5}} ) -func request_Test_Get_0(ctx context.Context, marshaler runtime.Marshaler, client TestClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_TestService_Get_0(ctx context.Context, marshaler runtime.Marshaler, client TestServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq TestObject var metadata runtime.ServerMetadata @@ -69,7 +69,7 @@ func request_Test_Get_0(ctx context.Context, marshaler runtime.Marshaler, client if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Test_Get_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_TestService_Get_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -78,7 +78,7 @@ func request_Test_Get_0(ctx context.Context, marshaler runtime.Marshaler, client } -func local_request_Test_Get_0(ctx context.Context, marshaler runtime.Marshaler, server TestServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_TestService_Get_0(ctx context.Context, marshaler runtime.Marshaler, server TestServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq TestObject var metadata runtime.ServerMetadata @@ -112,7 +112,7 @@ func local_request_Test_Get_0(ctx context.Context, marshaler runtime.Marshaler, if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Test_Get_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_TestService_Get_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -121,41 +121,43 @@ func local_request_Test_Get_0(ctx context.Context, marshaler runtime.Marshaler, } -// RegisterTestHandlerServer registers the http handlers for service Test to "mux". -// UnaryRPC :call TestServer directly. +// RegisterTestServiceHandlerServer registers the http handlers for service TestService to "mux". +// UnaryRPC :call TestServiceServer directly. // StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. -// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterTestHandlerFromEndpoint instead. -func RegisterTestHandlerServer(ctx context.Context, mux *runtime.ServeMux, server TestServer) error { +// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterTestServiceHandlerFromEndpoint instead. +func RegisterTestServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server TestServiceServer) error { - mux.Handle("GET", pattern_Test_Get_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_TestService_Get_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/testdata.Test/Get", runtime.WithHTTPPathPattern("/v3/test/{metadata.name}/test/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/testdata.TestService/Get", runtime.WithHTTPPathPattern("/v3/test/{metadata.name}/test/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Test_Get_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_TestService_Get_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Test_Get_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_TestService_Get_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) return nil } -// RegisterTestHandlerFromEndpoint is same as RegisterTestHandler but +// RegisterTestServiceHandlerFromEndpoint is same as RegisterTestServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. -func RegisterTestHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { +func RegisterTestServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { conn, err := grpc.Dial(endpoint, opts...) if err != nil { return err @@ -175,39 +177,41 @@ func RegisterTestHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, }() }() - return RegisterTestHandler(ctx, mux, conn) + return RegisterTestServiceHandler(ctx, mux, conn) } -// RegisterTestHandler registers the http handlers for service Test to "mux". +// RegisterTestServiceHandler registers the http handlers for service TestService to "mux". // The handlers forward requests to the grpc endpoint over "conn". -func RegisterTestHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { - return RegisterTestHandlerClient(ctx, mux, NewTestClient(conn)) +func RegisterTestServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { + return RegisterTestServiceHandlerClient(ctx, mux, NewTestServiceClient(conn)) } -// RegisterTestHandlerClient registers the http handlers for service Test -// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "TestClient". -// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "TestClient" +// RegisterTestServiceHandlerClient registers the http handlers for service TestService +// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "TestServiceClient". +// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "TestServiceClient" // doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in -// "TestClient" to call the correct interceptors. -func RegisterTestHandlerClient(ctx context.Context, mux *runtime.ServeMux, client TestClient) error { +// "TestServiceClient" to call the correct interceptors. +func RegisterTestServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client TestServiceClient) error { - mux.Handle("GET", pattern_Test_Get_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_TestService_Get_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/testdata.Test/Get", runtime.WithHTTPPathPattern("/v3/test/{metadata.name}/test/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/testdata.TestService/Get", runtime.WithHTTPPathPattern("/v3/test/{metadata.name}/test/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_Test_Get_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_TestService_Get_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Test_Get_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_TestService_Get_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) @@ -215,9 +219,9 @@ func RegisterTestHandlerClient(ctx context.Context, mux *runtime.ServeMux, clien } var ( - pattern_Test_Get_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2, 2, 1, 1, 0, 4, 1, 5, 2}, []string{"v3", "test", "metadata.name"}, "")) + pattern_TestService_Get_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 1, 0, 4, 1, 5, 2, 2, 1, 1, 0, 4, 1, 5, 2}, []string{"v3", "test", "metadata.name"}, "")) ) var ( - forward_Test_Get_0 = runtime.ForwardResponseMessage + forward_TestService_Get_0 = runtime.ForwardResponseMessage ) diff --git a/pkg/gateway/testdata/test.proto b/pkg/gateway/testdata/test.proto index 5f896693..eb0a1d2d 100644 --- a/pkg/gateway/testdata/test.proto +++ b/pkg/gateway/testdata/test.proto @@ -30,7 +30,7 @@ message TestObject { TestObjectStatus status = 3; } -service Test { +service TestService { rpc Get(TestObject) returns (TestObject) { option (google.api.http) = { get : "/v3/test/{metadata.name}/test/{metadata.name}" diff --git a/pkg/gateway/testdata/test_grpc.pb.go b/pkg/gateway/testdata/test_grpc.pb.go index 6ab74747..00038186 100644 --- a/pkg/gateway/testdata/test_grpc.pb.go +++ b/pkg/gateway/testdata/test_grpc.pb.go @@ -18,84 +18,84 @@ import ( // Requires gRPC-Go v1.32.0 or later. const _ = grpc.SupportPackageIsVersion7 -// TestClient is the client API for Test service. +// TestServiceClient is the client API for TestService service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. -type TestClient interface { +type TestServiceClient interface { Get(ctx context.Context, in *TestObject, opts ...grpc.CallOption) (*TestObject, error) } -type testClient struct { +type testServiceClient struct { cc grpc.ClientConnInterface } -func NewTestClient(cc grpc.ClientConnInterface) TestClient { - return &testClient{cc} +func NewTestServiceClient(cc grpc.ClientConnInterface) TestServiceClient { + return &testServiceClient{cc} } -func (c *testClient) Get(ctx context.Context, in *TestObject, opts ...grpc.CallOption) (*TestObject, error) { +func (c *testServiceClient) Get(ctx context.Context, in *TestObject, opts ...grpc.CallOption) (*TestObject, error) { out := new(TestObject) - err := c.cc.Invoke(ctx, "/testdata.Test/Get", in, out, opts...) + err := c.cc.Invoke(ctx, "/testdata.TestService/Get", in, out, opts...) if err != nil { return nil, err } return out, nil } -// TestServer is the server API for Test service. -// All implementations should embed UnimplementedTestServer +// TestServiceServer is the server API for TestService service. +// All implementations should embed UnimplementedTestServiceServer // for forward compatibility -type TestServer interface { +type TestServiceServer interface { Get(context.Context, *TestObject) (*TestObject, error) } -// UnimplementedTestServer should be embedded to have forward compatible implementations. -type UnimplementedTestServer struct { +// UnimplementedTestServiceServer should be embedded to have forward compatible implementations. +type UnimplementedTestServiceServer struct { } -func (UnimplementedTestServer) Get(context.Context, *TestObject) (*TestObject, error) { +func (UnimplementedTestServiceServer) Get(context.Context, *TestObject) (*TestObject, error) { return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") } -// UnsafeTestServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to TestServer will +// UnsafeTestServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to TestServiceServer will // result in compilation errors. -type UnsafeTestServer interface { - mustEmbedUnimplementedTestServer() +type UnsafeTestServiceServer interface { + mustEmbedUnimplementedTestServiceServer() } -func RegisterTestServer(s grpc.ServiceRegistrar, srv TestServer) { - s.RegisterService(&Test_ServiceDesc, srv) +func RegisterTestServiceServer(s grpc.ServiceRegistrar, srv TestServiceServer) { + s.RegisterService(&TestService_ServiceDesc, srv) } -func _Test_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _TestService_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(TestObject) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(TestServer).Get(ctx, in) + return srv.(TestServiceServer).Get(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/testdata.Test/Get", + FullMethod: "/testdata.TestService/Get", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(TestServer).Get(ctx, req.(*TestObject)) + return srv.(TestServiceServer).Get(ctx, req.(*TestObject)) } return interceptor(ctx, in, info, handler) } -// Test_ServiceDesc is the grpc.ServiceDesc for Test service. +// TestService_ServiceDesc is the grpc.ServiceDesc for TestService service. // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) -var Test_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "testdata.Test", - HandlerType: (*TestServer)(nil), +var TestService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "testdata.TestService", + HandlerType: (*TestServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Get", - Handler: _Test_Get_Handler, + Handler: _TestService_Get_Handler, }, }, Streams: []grpc.StreamDesc{}, diff --git a/pkg/service/apikey.go b/pkg/service/apikey.go index 6cd14eff..6111e8b3 100644 --- a/pkg/service/apikey.go +++ b/pkg/service/apikey.go @@ -24,9 +24,9 @@ type ApiKeyService interface { // get by key GetByKey(ctx context.Context, req *rpcv3.ApiKeyRequest) (*models.ApiKey, error) // delete api key - Delete(ctx context.Context, req *rpcv3.ApiKeyRequest) (*rpcv3.DeleteUserResponse, error) + Delete(ctx context.Context, req *rpcv3.ApiKeyRequest) (*rpcv3.UserDeleteApiKeysResponse, error) // list api keys - List(ctx context.Context, req *rpcv3.ApiKeyRequest) (*rpcv3.ApiKeyResponseList, error) + List(ctx context.Context, req *rpcv3.ApiKeyRequest) (*rpcv3.UserListApiKeysResponse, error) } // apiKeyService implements ApiKeyService @@ -62,20 +62,20 @@ func (s *apiKeyService) Create(ctx context.Context, req *rpcv3.ApiKeyRequest) (* return apikey, nil } -func (s *apiKeyService) Delete(ctx context.Context, req *rpcv3.ApiKeyRequest) (*rpcv3.DeleteUserResponse, error) { +func (s *apiKeyService) Delete(ctx context.Context, req *rpcv3.ApiKeyRequest) (*rpcv3.UserDeleteApiKeysResponse, error) { _, err := s.db.NewUpdate().Model(&models.ApiKey{}). Set("trash = ?", true). Where("account_id = ?", req.Username). Where("key = ?", req.Id).Exec(ctx) if err != nil { - return &rpcv3.DeleteUserResponse{}, err + return &rpcv3.UserDeleteApiKeysResponse{}, err } CreateApiKeyAuditEvent(ctx, s.al, AuditActionDelete, req.Id) return nil, err } -func (s *apiKeyService) List(ctx context.Context, req *rpcv3.ApiKeyRequest) (*rpcv3.ApiKeyResponseList, error) { +func (s *apiKeyService) List(ctx context.Context, req *rpcv3.ApiKeyRequest) (*rpcv3.UserListApiKeysResponse, error) { var apikeys []models.ApiKey resp, err := dao.GetX(ctx, s.db, "account_id", req.Username, &apikeys) if err == sql.ErrNoRows { @@ -83,7 +83,7 @@ func (s *apiKeyService) List(ctx context.Context, req *rpcv3.ApiKeyRequest) (*rp } if apikeys, ok := resp.(*[]models.ApiKey); ok { - apiKeyResp := &rpcv3.ApiKeyResponseList{ + apiKeyResp := &rpcv3.UserListApiKeysResponse{ Items: make([]*rpcv3.ApiKeyResponse, 0), } for _, apikey := range *apikeys { diff --git a/pkg/service/audit_log_query.go b/pkg/service/audit_log_query.go index 344a4c9f..63c79930 100644 --- a/pkg/service/audit_log_query.go +++ b/pkg/service/audit_log_query.go @@ -22,7 +22,7 @@ func NewAuditLogService(url string, auditPattern string, logPrefix string) (*Aud return &AuditLogService{auditQuery: auditQuery}, nil } -func (a *AuditLogService) GetAuditLog(req *v1.AuditLogSearchRequest) (res *v1.AuditLogSearchResponse, err error) { +func (a *AuditLogService) GetAuditLog(req *v1.GetAuditLogSearchRequest) (res *v1.GetAuditLogSearchResponse, err error) { if err != nil { return nil, err } @@ -53,12 +53,12 @@ func getPrjectFromUrlScope(urlScope string) (string, error) { return s[1], nil } -func (a *AuditLogService) GetAuditLogByProjects(req *v1.AuditLogSearchRequest) (res *v1.AuditLogSearchResponse, err error) { +func (a *AuditLogService) GetAuditLogByProjects(req *v1.GetAuditLogSearchRequest) (res *v1.GetAuditLogSearchResponse, err error) { err = validateQueryString(req.GetFilter().QueryString) if err != nil { return nil, err } - res = &v1.AuditLogSearchResponse{ + res = &v1.GetAuditLogSearchResponse{ Result: &structpb.Struct{}, } var buf bytes.Buffer @@ -207,6 +207,6 @@ func (a *AuditLogService) GetAuditLogByProjects(req *v1.AuditLogSearchRequest) ( if err != nil { return res, err } - res = &v1.AuditLogSearchResponse{Result: raw} + res = &v1.GetAuditLogSearchResponse{Result: raw} return res, nil } diff --git a/pkg/service/relay_audit_query.go b/pkg/service/relay_audit_query.go index f4dbf34c..be110cef 100644 --- a/pkg/service/relay_audit_query.go +++ b/pkg/service/relay_audit_query.go @@ -20,7 +20,7 @@ func NewRelayAuditService(url string, auditPattern string, logPrefix string) (*R return &RelayAuditService{relayQuery: relayQuery}, nil } -func (ra *RelayAuditService) GetRelayAudit(req *v1.RelayAuditSearchRequest) (res *v1.RelayAuditSearchResponse, err error) { +func (ra *RelayAuditService) GetRelayAudit(req *v1.RelayAuditRequest) (res *v1.RelayAuditResponse, err error) { if err != nil { return nil, err } @@ -32,14 +32,14 @@ func (ra *RelayAuditService) GetRelayAudit(req *v1.RelayAuditSearchRequest) (res return ra.GetRelayAuditByProjects(req) } -func (ra *RelayAuditService) GetRelayAuditByProjects(req *v1.RelayAuditSearchRequest) (res *v1.RelayAuditSearchResponse, err error) { +func (ra *RelayAuditService) GetRelayAuditByProjects(req *v1.RelayAuditRequest) (res *v1.RelayAuditResponse, err error) { err = validateQueryString(req.GetFilter().QueryString) if err != nil { - return &v1.RelayAuditSearchResponse{}, err + return &v1.RelayAuditResponse{}, err } var buf bytes.Buffer var r map[string]interface{} - res = &v1.RelayAuditSearchResponse{} + res = &v1.RelayAuditResponse{} //Handle defaults value query := map[string]interface{}{ "_source": []string{"json"}, @@ -228,7 +228,7 @@ func (ra *RelayAuditService) GetRelayAuditByProjects(req *v1.RelayAuditSearchReq if err != nil { return res, err } - res = &v1.RelayAuditSearchResponse{Result: raw} + res = &v1.RelayAuditResponse{Result: raw} return res, nil } diff --git a/pkg/service/user.go b/pkg/service/user.go index 0f653dcb..4fa81739 100644 --- a/pkg/service/user.go +++ b/pkg/service/user.go @@ -43,7 +43,7 @@ type UserService interface { // create or update user Update(context.Context, *userv3.User) (*userv3.User, error) // delete user - Delete(context.Context, *userv3.User) (*userrpcv3.DeleteUserResponse, error) + Delete(context.Context, *userv3.User) (*userrpcv3.UserDeleteApiKeysResponse, error) // list users List(context.Context, ...query.Option) (*userv3.UserList, error) // retrieve the cli config for the logged in user @@ -51,7 +51,7 @@ type UserService interface { // Update UserGroup casbin for OIdC/Idp users UpdateIdpUserGroupPolicy(context.Context, string, string, string) error // Generate recovery link for users - ForgotPassword(context.Context, *userrpcv3.ForgotPasswordRequest) (*userrpcv3.ForgotPasswordResponse, error) + ForgotPassword(context.Context, *userrpcv3.UserForgotPasswordRequest) (*userrpcv3.UserForgotPasswordResponse, error) } type userService struct { @@ -743,46 +743,46 @@ func (s *userService) Update(ctx context.Context, user *userv3.User) (*userv3.Us } -func (s *userService) Delete(ctx context.Context, user *userv3.User) (*userrpcv3.DeleteUserResponse, error) { +func (s *userService) Delete(ctx context.Context, user *userv3.User) (*userrpcv3.UserDeleteApiKeysResponse, error) { name := user.GetMetadata().GetName() entity, err := dao.GetUserIdByEmail(ctx, s.db, name, &models.KratosIdentities{}) if err != nil { - return &userrpcv3.DeleteUserResponse{}, fmt.Errorf("no user founnd with username '%v'", name) + return &userrpcv3.UserDeleteApiKeysResponse{}, fmt.Errorf("no user founnd with username '%v'", name) } sd, ok := GetSessionDataFromContext(ctx) if !ok { if err != nil { - return &userrpcv3.DeleteUserResponse{}, fmt.Errorf("unable to delete user without auth") + return &userrpcv3.UserDeleteApiKeysResponse{}, fmt.Errorf("unable to delete user without auth") } } if sd.Username == name { - return &userrpcv3.DeleteUserResponse{}, fmt.Errorf("you cannot delete your own account") + return &userrpcv3.UserDeleteApiKeysResponse{}, fmt.Errorf("you cannot delete your own account") } if usr, ok := entity.(*models.KratosIdentities); ok { tx, err := s.db.BeginTx(ctx, &sql.TxOptions{}) if err != nil { - return &userrpcv3.DeleteUserResponse{}, err + return &userrpcv3.UserDeleteApiKeysResponse{}, err } rolesBefore, err := s.deleteUserRoleRelations(ctx, tx, usr.ID, user) if err != nil { tx.Rollback() - return &userrpcv3.DeleteUserResponse{}, err + return &userrpcv3.UserDeleteApiKeysResponse{}, err } user, groupsBefore, err := s.deleteGroupAccountRelations(ctx, tx, usr.ID, user) if err != nil { tx.Rollback() - return &userrpcv3.DeleteUserResponse{}, fmt.Errorf("unable to delete user; %v", err) + return &userrpcv3.UserDeleteApiKeysResponse{}, fmt.Errorf("unable to delete user; %v", err) } err = s.ap.Delete(ctx, usr.ID.String()) if err != nil { tx.Rollback() - return &userrpcv3.DeleteUserResponse{}, err + return &userrpcv3.UserDeleteApiKeysResponse{}, err } err = tx.Commit() @@ -792,9 +792,9 @@ func (s *userService) Delete(ctx context.Context, user *userv3.User) (*userrpcv3 } CreateUserAuditEvent(ctx, s.al, s.db, AuditActionDelete, user.GetMetadata().GetName(), usr.ID, rolesBefore, []uuid.UUID{}, groupsBefore, []uuid.UUID{}) - return &userrpcv3.DeleteUserResponse{}, nil + return &userrpcv3.UserDeleteApiKeysResponse{}, nil } - return &userrpcv3.DeleteUserResponse{}, fmt.Errorf("unable to delete user '%v'", user.Metadata.Name) + return &userrpcv3.UserDeleteApiKeysResponse{}, fmt.Errorf("unable to delete user '%v'", user.Metadata.Name) } @@ -1032,21 +1032,21 @@ func (s *userService) UpdateIdpUserGroupPolicy(ctx context.Context, op, id, trai // ForgotPassword generates a recovery url and sends it back. This can // only be invoked by the admin. This is a way for admins to get a // recovery link even when we do not have an email setup. -func (s *userService) ForgotPassword(ctx context.Context, req *userrpcv3.ForgotPasswordRequest) (*userrpcv3.ForgotPasswordResponse, error) { +func (s *userService) ForgotPassword(ctx context.Context, req *userrpcv3.UserForgotPasswordRequest) (*userrpcv3.UserForgotPasswordResponse, error) { name := req.GetUsername() entity, err := dao.GetUserByEmail(ctx, s.db, name, &models.KratosIdentities{}) if err != nil { - return &userrpcv3.ForgotPasswordResponse{}, fmt.Errorf("unable to find user %s", name) + return &userrpcv3.UserForgotPasswordResponse{}, fmt.Errorf("unable to find user %s", name) } if usr, ok := entity.(*models.KratosIdentities); ok { rl, err := s.ap.GetRecoveryLink(ctx, usr.ID.String()) if err != nil { _log.Warn("unable to generate recovery url", err) - return &userrpcv3.ForgotPasswordResponse{}, fmt.Errorf("unable to generate recovery url") + return &userrpcv3.UserForgotPasswordResponse{}, fmt.Errorf("unable to generate recovery url") } - return &userrpcv3.ForgotPasswordResponse{RecoveryLink: rl}, nil + return &userrpcv3.UserForgotPasswordResponse{RecoveryLink: rl}, nil } else { - return &userrpcv3.ForgotPasswordResponse{}, fmt.Errorf("unable to generate recovery url") + return &userrpcv3.UserForgotPasswordResponse{}, fmt.Errorf("unable to generate recovery url") } } diff --git a/proto/rpc/audit/auditlog.pb.go b/proto/rpc/audit/auditlog.pb.go index b87dc32e..e4778655 100644 --- a/proto/rpc/audit/auditlog.pb.go +++ b/proto/rpc/audit/auditlog.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.27.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: proto/rpc/audit/auditlog.proto @@ -159,7 +159,7 @@ func (x *AuditLogQueryFilter) GetDashboardData() bool { return false } -type AuditLogSearchRequest struct { +type GetAuditLogSearchRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -168,8 +168,8 @@ type AuditLogSearchRequest struct { Filter *AuditLogQueryFilter `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` } -func (x *AuditLogSearchRequest) Reset() { - *x = AuditLogSearchRequest{} +func (x *GetAuditLogSearchRequest) Reset() { + *x = GetAuditLogSearchRequest{} if protoimpl.UnsafeEnabled { mi := &file_proto_rpc_audit_auditlog_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -177,13 +177,13 @@ func (x *AuditLogSearchRequest) Reset() { } } -func (x *AuditLogSearchRequest) String() string { +func (x *GetAuditLogSearchRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*AuditLogSearchRequest) ProtoMessage() {} +func (*GetAuditLogSearchRequest) ProtoMessage() {} -func (x *AuditLogSearchRequest) ProtoReflect() protoreflect.Message { +func (x *GetAuditLogSearchRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_rpc_audit_auditlog_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -195,26 +195,26 @@ func (x *AuditLogSearchRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use AuditLogSearchRequest.ProtoReflect.Descriptor instead. -func (*AuditLogSearchRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use GetAuditLogSearchRequest.ProtoReflect.Descriptor instead. +func (*GetAuditLogSearchRequest) Descriptor() ([]byte, []int) { return file_proto_rpc_audit_auditlog_proto_rawDescGZIP(), []int{1} } -func (x *AuditLogSearchRequest) GetMetadata() *v3.Metadata { +func (x *GetAuditLogSearchRequest) GetMetadata() *v3.Metadata { if x != nil { return x.Metadata } return nil } -func (x *AuditLogSearchRequest) GetFilter() *AuditLogQueryFilter { +func (x *GetAuditLogSearchRequest) GetFilter() *AuditLogQueryFilter { if x != nil { return x.Filter } return nil } -type AuditLogSearchResponse struct { +type GetAuditLogSearchResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -222,8 +222,8 @@ type AuditLogSearchResponse struct { Result *structpb.Struct `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` } -func (x *AuditLogSearchResponse) Reset() { - *x = AuditLogSearchResponse{} +func (x *GetAuditLogSearchResponse) Reset() { + *x = GetAuditLogSearchResponse{} if protoimpl.UnsafeEnabled { mi := &file_proto_rpc_audit_auditlog_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -231,13 +231,13 @@ func (x *AuditLogSearchResponse) Reset() { } } -func (x *AuditLogSearchResponse) String() string { +func (x *GetAuditLogSearchResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*AuditLogSearchResponse) ProtoMessage() {} +func (*GetAuditLogSearchResponse) ProtoMessage() {} -func (x *AuditLogSearchResponse) ProtoReflect() protoreflect.Message { +func (x *GetAuditLogSearchResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_rpc_audit_auditlog_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -249,12 +249,12 @@ func (x *AuditLogSearchResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use AuditLogSearchResponse.ProtoReflect.Descriptor instead. -func (*AuditLogSearchResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use GetAuditLogSearchResponse.ProtoReflect.Descriptor instead. +func (*GetAuditLogSearchResponse) Descriptor() ([]byte, []int) { return file_proto_rpc_audit_auditlog_proto_rawDescGZIP(), []int{2} } -func (x *AuditLogSearchResponse) GetResult() *structpb.Struct { +func (x *GetAuditLogSearchResponse) GetResult() *structpb.Struct { if x != nil { return x.Result } @@ -276,7 +276,7 @@ var file_proto_rpc_audit_auditlog_proto_rawDesc = []byte{ 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x70, 0x62, 0x2f, 0x76, 0x33, 0x2f, 0x63, 0x6f, - 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd1, 0x02, 0x0a, 0x13, 0x61, + 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd1, 0x02, 0x0a, 0x13, 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x51, 0x75, 0x65, 0x72, 0x79, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x02, @@ -297,79 +297,81 @@ var file_proto_rpc_audit_auditlog_proto_rawDesc = []byte{ 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x71, 0x75, 0x65, 0x72, 0x79, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x24, 0x0a, 0x0d, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x44, 0x61, 0x74, 0x61, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x0d, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x44, 0x61, 0x74, 0x61, 0x22, 0x9f, - 0x01, 0x0a, 0x15, 0x61, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x53, 0x65, 0x61, 0x72, 0x63, - 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x41, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x70, 0x61, 0x72, - 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, - 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, - 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x43, 0x0a, 0x06, 0x66, - 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x72, 0x65, - 0x70, 0x2e, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x65, 0x76, 0x65, 0x6e, - 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x51, 0x75, 0x65, - 0x72, 0x79, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, - 0x22, 0x49, 0x0a, 0x16, 0x61, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x53, 0x65, 0x61, 0x72, - 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x72, 0x65, - 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, - 0x75, 0x63, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x32, 0xc8, 0x02, 0x0a, 0x08, - 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x12, 0xa6, 0x01, 0x0a, 0x0b, 0x67, 0x65, 0x74, - 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x12, 0x2d, 0x2e, 0x72, 0x65, 0x70, 0x2e, 0x66, - 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x76, - 0x31, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x72, 0x65, 0x70, 0x2e, 0x66, 0x72, + 0x0d, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x44, 0x61, 0x74, 0x61, 0x22, 0xa2, + 0x01, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x53, 0x65, + 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x41, 0x0a, 0x08, 0x6d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, + 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, + 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x4d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x43, + 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, + 0x2e, 0x72, 0x65, 0x70, 0x2e, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x65, + 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, + 0x51, 0x75, 0x65, 0x72, 0x79, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x06, 0x66, 0x69, 0x6c, + 0x74, 0x65, 0x72, 0x22, 0x4c, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, + 0x6f, 0x67, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x2f, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, + 0x74, 0x32, 0xdb, 0x02, 0x0a, 0x0f, 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x53, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xac, 0x01, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x41, 0x75, 0x64, + 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x12, 0x30, 0x2e, 0x72, 0x65, 0x70, 0x2e, 0x66, 0x72, 0x61, 0x6d, + 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x47, + 0x65, 0x74, 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x72, 0x65, 0x70, 0x2e, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, - 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x38, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x32, 0x12, - 0x30, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0x2e, 0x75, 0x72, 0x6c, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x3d, 0x70, 0x72, - 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2f, 0x2a, 0x7d, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x6c, 0x6f, - 0x67, 0x12, 0x92, 0x01, 0x0a, 0x15, 0x67, 0x65, 0x74, 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, - 0x67, 0x42, 0x79, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x12, 0x2d, 0x2e, 0x72, 0x65, - 0x70, 0x2e, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x65, 0x76, 0x65, 0x6e, - 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x53, 0x65, 0x61, - 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x72, 0x65, 0x70, - 0x2e, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, - 0x2e, 0x76, 0x31, 0x2e, 0x61, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x53, 0x65, 0x61, 0x72, - 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1a, 0x82, 0xd3, 0xe4, 0x93, - 0x02, 0x14, 0x12, 0x12, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x75, - 0x64, 0x69, 0x74, 0x6c, 0x6f, 0x67, 0x42, 0xbd, 0x04, 0x0a, 0x1a, 0x63, 0x6f, 0x6d, 0x2e, 0x72, - 0x65, 0x70, 0x2e, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x65, 0x76, 0x65, - 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x42, 0x0d, 0x41, 0x75, 0x64, 0x69, 0x74, 0x6c, 0x6f, 0x67, 0x50, - 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, - 0x6f, 0x6d, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6c, - 0x75, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x61, 0x75, 0x64, - 0x69, 0x74, 0x3b, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x52, 0x46, 0x45, - 0xaa, 0x02, 0x16, 0x52, 0x65, 0x70, 0x2e, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, - 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x16, 0x52, 0x65, 0x70, 0x5c, - 0x46, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x5c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x5c, - 0x56, 0x31, 0xe2, 0x02, 0x22, 0x52, 0x65, 0x70, 0x5c, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, - 0x72, 0x6b, 0x5c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x19, 0x52, 0x65, 0x70, 0x3a, 0x3a, 0x46, - 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x3a, 0x3a, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x3a, - 0x3a, 0x56, 0x31, 0x92, 0x41, 0xdf, 0x02, 0x12, 0x26, 0x0a, 0x10, 0x41, 0x75, 0x64, 0x69, 0x74, - 0x4c, 0x6f, 0x67, 0x20, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x22, 0x0d, 0x0a, 0x0b, 0x50, - 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x20, 0x44, 0x65, 0x76, 0x32, 0x03, 0x32, 0x2e, 0x30, 0x2a, - 0x01, 0x02, 0x32, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, - 0x6a, 0x73, 0x6f, 0x6e, 0x32, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x2f, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x79, 0x61, 0x6d, 0x6c, 0x52, 0x50, 0x0a, 0x03, 0x34, 0x30, - 0x33, 0x12, 0x49, 0x0a, 0x47, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, - 0x65, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x64, 0x6f, 0x65, 0x73, - 0x20, 0x6e, 0x6f, 0x74, 0x20, 0x68, 0x61, 0x76, 0x65, 0x20, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, - 0x73, 0x69, 0x6f, 0x6e, 0x20, 0x74, 0x6f, 0x20, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x20, 0x74, - 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x52, 0x3b, 0x0a, 0x03, - 0x34, 0x30, 0x34, 0x12, 0x34, 0x0a, 0x2a, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, - 0x77, 0x68, 0x65, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x20, 0x64, 0x6f, 0x65, 0x73, 0x20, 0x6e, 0x6f, 0x74, 0x20, 0x65, 0x78, 0x69, 0x73, 0x74, - 0x2e, 0x12, 0x06, 0x0a, 0x04, 0x9a, 0x02, 0x01, 0x07, 0x5a, 0x3a, 0x0a, 0x27, 0x0a, 0x0a, 0x41, - 0x70, 0x69, 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x12, 0x19, 0x08, 0x02, 0x1a, 0x13, 0x58, - 0x2d, 0x50, 0x41, 0x52, 0x41, 0x4c, 0x55, 0x53, 0x2d, 0x41, 0x50, 0x49, 0x2d, 0x4b, 0x45, 0x59, - 0x49, 0x44, 0x20, 0x02, 0x0a, 0x0f, 0x0a, 0x09, 0x42, 0x61, 0x73, 0x69, 0x63, 0x41, 0x75, 0x74, - 0x68, 0x12, 0x02, 0x08, 0x01, 0x62, 0x1f, 0x0a, 0x0e, 0x0a, 0x0a, 0x41, 0x70, 0x69, 0x4b, 0x65, - 0x79, 0x41, 0x75, 0x74, 0x68, 0x12, 0x00, 0x0a, 0x0d, 0x0a, 0x09, 0x42, 0x61, 0x73, 0x69, 0x63, - 0x41, 0x75, 0x74, 0x68, 0x12, 0x00, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x2e, 0x47, 0x65, 0x74, 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x53, 0x65, 0x61, 0x72, + 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x38, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x32, 0x12, 0x30, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x75, 0x72, 0x6c, 0x53, 0x63, 0x6f, 0x70, 0x65, + 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2f, 0x2a, 0x7d, 0x2f, 0x61, 0x75, 0x64, 0x69, + 0x74, 0x6c, 0x6f, 0x67, 0x12, 0x98, 0x01, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x41, 0x75, 0x64, 0x69, + 0x74, 0x4c, 0x6f, 0x67, 0x42, 0x79, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x12, 0x30, + 0x2e, 0x72, 0x65, 0x70, 0x2e, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x65, + 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x75, 0x64, 0x69, 0x74, + 0x4c, 0x6f, 0x67, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x31, 0x2e, 0x72, 0x65, 0x70, 0x2e, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, + 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x75, 0x64, + 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x1a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x14, 0x12, 0x12, 0x2f, 0x65, 0x76, + 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x6c, 0x6f, 0x67, 0x42, + 0xbd, 0x04, 0x0a, 0x1a, 0x63, 0x6f, 0x6d, 0x2e, 0x72, 0x65, 0x70, 0x2e, 0x66, 0x72, 0x61, 0x6d, + 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x42, 0x0d, + 0x41, 0x75, 0x64, 0x69, 0x74, 0x6c, 0x6f, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, + 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x61, 0x72, 0x61, + 0x6c, 0x75, 0x73, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x3b, 0x65, 0x76, 0x65, 0x6e, + 0x74, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x52, 0x46, 0x45, 0xaa, 0x02, 0x16, 0x52, 0x65, 0x70, 0x2e, + 0x46, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, + 0x56, 0x31, 0xca, 0x02, 0x16, 0x52, 0x65, 0x70, 0x5c, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, + 0x72, 0x6b, 0x5c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x22, 0x52, 0x65, + 0x70, 0x5c, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x5c, 0x45, 0x76, 0x65, 0x6e, + 0x74, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0xea, 0x02, 0x19, 0x52, 0x65, 0x70, 0x3a, 0x3a, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, + 0x6b, 0x3a, 0x3a, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x3a, 0x3a, 0x56, 0x31, 0x92, 0x41, 0xdf, 0x02, + 0x12, 0x26, 0x0a, 0x10, 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x20, 0x53, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x22, 0x0d, 0x0a, 0x0b, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x20, + 0x44, 0x65, 0x76, 0x32, 0x03, 0x32, 0x2e, 0x30, 0x2a, 0x01, 0x02, 0x32, 0x10, 0x61, 0x70, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x32, 0x10, 0x61, + 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x79, 0x61, 0x6d, 0x6c, 0x3a, + 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, + 0x6e, 0x3a, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x79, + 0x61, 0x6d, 0x6c, 0x52, 0x50, 0x0a, 0x03, 0x34, 0x30, 0x33, 0x12, 0x49, 0x0a, 0x47, 0x52, 0x65, + 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, + 0x75, 0x73, 0x65, 0x72, 0x20, 0x64, 0x6f, 0x65, 0x73, 0x20, 0x6e, 0x6f, 0x74, 0x20, 0x68, 0x61, + 0x76, 0x65, 0x20, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x20, 0x74, 0x6f, + 0x20, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x2e, 0x52, 0x3b, 0x0a, 0x03, 0x34, 0x30, 0x34, 0x12, 0x34, 0x0a, 0x2a, + 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x74, 0x68, + 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x20, 0x64, 0x6f, 0x65, 0x73, 0x20, + 0x6e, 0x6f, 0x74, 0x20, 0x65, 0x78, 0x69, 0x73, 0x74, 0x2e, 0x12, 0x06, 0x0a, 0x04, 0x9a, 0x02, + 0x01, 0x07, 0x5a, 0x3a, 0x0a, 0x27, 0x0a, 0x0a, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x41, 0x75, + 0x74, 0x68, 0x12, 0x19, 0x08, 0x02, 0x1a, 0x13, 0x58, 0x2d, 0x50, 0x41, 0x52, 0x41, 0x4c, 0x55, + 0x53, 0x2d, 0x41, 0x50, 0x49, 0x2d, 0x4b, 0x45, 0x59, 0x49, 0x44, 0x20, 0x02, 0x0a, 0x0f, 0x0a, + 0x09, 0x42, 0x61, 0x73, 0x69, 0x63, 0x41, 0x75, 0x74, 0x68, 0x12, 0x02, 0x08, 0x01, 0x62, 0x1f, + 0x0a, 0x0e, 0x0a, 0x0a, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x12, 0x00, + 0x0a, 0x0d, 0x0a, 0x09, 0x42, 0x61, 0x73, 0x69, 0x63, 0x41, 0x75, 0x74, 0x68, 0x12, 0x00, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -386,20 +388,20 @@ func file_proto_rpc_audit_auditlog_proto_rawDescGZIP() []byte { var file_proto_rpc_audit_auditlog_proto_msgTypes = make([]protoimpl.MessageInfo, 3) var file_proto_rpc_audit_auditlog_proto_goTypes = []interface{}{ - (*AuditLogQueryFilter)(nil), // 0: rep.framework.event.v1.auditLogQueryFilter - (*AuditLogSearchRequest)(nil), // 1: rep.framework.event.v1.auditLogSearchRequest - (*AuditLogSearchResponse)(nil), // 2: rep.framework.event.v1.auditLogSearchResponse - (*v3.Metadata)(nil), // 3: paralus.dev.types.common.v3.Metadata - (*structpb.Struct)(nil), // 4: google.protobuf.Struct + (*AuditLogQueryFilter)(nil), // 0: rep.framework.event.v1.AuditLogQueryFilter + (*GetAuditLogSearchRequest)(nil), // 1: rep.framework.event.v1.GetAuditLogSearchRequest + (*GetAuditLogSearchResponse)(nil), // 2: rep.framework.event.v1.GetAuditLogSearchResponse + (*v3.Metadata)(nil), // 3: paralus.dev.types.common.v3.Metadata + (*structpb.Struct)(nil), // 4: google.protobuf.Struct } var file_proto_rpc_audit_auditlog_proto_depIdxs = []int32{ - 3, // 0: rep.framework.event.v1.auditLogSearchRequest.metadata:type_name -> paralus.dev.types.common.v3.Metadata - 0, // 1: rep.framework.event.v1.auditLogSearchRequest.filter:type_name -> rep.framework.event.v1.auditLogQueryFilter - 4, // 2: rep.framework.event.v1.auditLogSearchResponse.result:type_name -> google.protobuf.Struct - 1, // 3: rep.framework.event.v1.AuditLog.getAuditLog:input_type -> rep.framework.event.v1.auditLogSearchRequest - 1, // 4: rep.framework.event.v1.AuditLog.getAuditLogByProjects:input_type -> rep.framework.event.v1.auditLogSearchRequest - 2, // 5: rep.framework.event.v1.AuditLog.getAuditLog:output_type -> rep.framework.event.v1.auditLogSearchResponse - 2, // 6: rep.framework.event.v1.AuditLog.getAuditLogByProjects:output_type -> rep.framework.event.v1.auditLogSearchResponse + 3, // 0: rep.framework.event.v1.GetAuditLogSearchRequest.metadata:type_name -> paralus.dev.types.common.v3.Metadata + 0, // 1: rep.framework.event.v1.GetAuditLogSearchRequest.filter:type_name -> rep.framework.event.v1.AuditLogQueryFilter + 4, // 2: rep.framework.event.v1.GetAuditLogSearchResponse.result:type_name -> google.protobuf.Struct + 1, // 3: rep.framework.event.v1.AuditLogService.GetAuditLog:input_type -> rep.framework.event.v1.GetAuditLogSearchRequest + 1, // 4: rep.framework.event.v1.AuditLogService.GetAuditLogByProjects:input_type -> rep.framework.event.v1.GetAuditLogSearchRequest + 2, // 5: rep.framework.event.v1.AuditLogService.GetAuditLog:output_type -> rep.framework.event.v1.GetAuditLogSearchResponse + 2, // 6: rep.framework.event.v1.AuditLogService.GetAuditLogByProjects:output_type -> rep.framework.event.v1.GetAuditLogSearchResponse 5, // [5:7] is the sub-list for method output_type 3, // [3:5] is the sub-list for method input_type 3, // [3:3] is the sub-list for extension type_name @@ -426,7 +428,7 @@ func file_proto_rpc_audit_auditlog_proto_init() { } } file_proto_rpc_audit_auditlog_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AuditLogSearchRequest); i { + switch v := v.(*GetAuditLogSearchRequest); i { case 0: return &v.state case 1: @@ -438,7 +440,7 @@ func file_proto_rpc_audit_auditlog_proto_init() { } } file_proto_rpc_audit_auditlog_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AuditLogSearchResponse); i { + switch v := v.(*GetAuditLogSearchResponse); i { case 0: return &v.state case 1: diff --git a/proto/rpc/audit/auditlog.pb.gw.go b/proto/rpc/audit/auditlog.pb.gw.go index ad692127..c55821c0 100644 --- a/proto/rpc/audit/auditlog.pb.gw.go +++ b/proto/rpc/audit/auditlog.pb.gw.go @@ -32,11 +32,11 @@ var _ = utilities.NewDoubleArray var _ = metadata.Join var ( - filter_AuditLog_GetAuditLog_0 = &utilities.DoubleArray{Encoding: map[string]int{"metadata": 0, "urlScope": 1}, Base: []int{1, 1, 1, 0}, Check: []int{0, 1, 2, 3}} + filter_AuditLogService_GetAuditLog_0 = &utilities.DoubleArray{Encoding: map[string]int{"metadata": 0, "urlScope": 1}, Base: []int{1, 1, 1, 0}, Check: []int{0, 1, 2, 3}} ) -func request_AuditLog_GetAuditLog_0(ctx context.Context, marshaler runtime.Marshaler, client AuditLogClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq AuditLogSearchRequest +func request_AuditLogService_GetAuditLog_0(ctx context.Context, marshaler runtime.Marshaler, client AuditLogServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq GetAuditLogSearchRequest var metadata runtime.ServerMetadata var ( @@ -59,7 +59,7 @@ func request_AuditLog_GetAuditLog_0(ctx context.Context, marshaler runtime.Marsh if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AuditLog_GetAuditLog_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AuditLogService_GetAuditLog_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -68,8 +68,8 @@ func request_AuditLog_GetAuditLog_0(ctx context.Context, marshaler runtime.Marsh } -func local_request_AuditLog_GetAuditLog_0(ctx context.Context, marshaler runtime.Marshaler, server AuditLogServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq AuditLogSearchRequest +func local_request_AuditLogService_GetAuditLog_0(ctx context.Context, marshaler runtime.Marshaler, server AuditLogServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq GetAuditLogSearchRequest var metadata runtime.ServerMetadata var ( @@ -92,7 +92,7 @@ func local_request_AuditLog_GetAuditLog_0(ctx context.Context, marshaler runtime if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AuditLog_GetAuditLog_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AuditLogService_GetAuditLog_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -102,17 +102,17 @@ func local_request_AuditLog_GetAuditLog_0(ctx context.Context, marshaler runtime } var ( - filter_AuditLog_GetAuditLogByProjects_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} + filter_AuditLogService_GetAuditLogByProjects_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} ) -func request_AuditLog_GetAuditLogByProjects_0(ctx context.Context, marshaler runtime.Marshaler, client AuditLogClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq AuditLogSearchRequest +func request_AuditLogService_GetAuditLogByProjects_0(ctx context.Context, marshaler runtime.Marshaler, client AuditLogServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq GetAuditLogSearchRequest var metadata runtime.ServerMetadata if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AuditLog_GetAuditLogByProjects_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AuditLogService_GetAuditLogByProjects_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -121,14 +121,14 @@ func request_AuditLog_GetAuditLogByProjects_0(ctx context.Context, marshaler run } -func local_request_AuditLog_GetAuditLogByProjects_0(ctx context.Context, marshaler runtime.Marshaler, server AuditLogServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq AuditLogSearchRequest +func local_request_AuditLogService_GetAuditLogByProjects_0(ctx context.Context, marshaler runtime.Marshaler, server AuditLogServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq GetAuditLogSearchRequest var metadata runtime.ServerMetadata if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AuditLog_GetAuditLogByProjects_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AuditLogService_GetAuditLogByProjects_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -137,64 +137,68 @@ func local_request_AuditLog_GetAuditLogByProjects_0(ctx context.Context, marshal } -// RegisterAuditLogHandlerServer registers the http handlers for service AuditLog to "mux". -// UnaryRPC :call AuditLogServer directly. +// RegisterAuditLogServiceHandlerServer registers the http handlers for service AuditLogService to "mux". +// UnaryRPC :call AuditLogServiceServer directly. // StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. -// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterAuditLogHandlerFromEndpoint instead. -func RegisterAuditLogHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AuditLogServer) error { +// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterAuditLogServiceHandlerFromEndpoint instead. +func RegisterAuditLogServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AuditLogServiceServer) error { - mux.Handle("GET", pattern_AuditLog_GetAuditLog_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_AuditLogService_GetAuditLog_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/rep.framework.event.v1.AuditLog/GetAuditLog", runtime.WithHTTPPathPattern("/event/v1/{metadata.urlScope=project/*}/auditlog")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/rep.framework.event.v1.AuditLogService/GetAuditLog", runtime.WithHTTPPathPattern("/event/v1/{metadata.urlScope=project/*}/auditlog")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_AuditLog_GetAuditLog_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_AuditLogService_GetAuditLog_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_AuditLog_GetAuditLog_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_AuditLogService_GetAuditLog_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_AuditLog_GetAuditLogByProjects_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_AuditLogService_GetAuditLogByProjects_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/rep.framework.event.v1.AuditLog/GetAuditLogByProjects", runtime.WithHTTPPathPattern("/event/v1/auditlog")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/rep.framework.event.v1.AuditLogService/GetAuditLogByProjects", runtime.WithHTTPPathPattern("/event/v1/auditlog")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_AuditLog_GetAuditLogByProjects_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_AuditLogService_GetAuditLogByProjects_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_AuditLog_GetAuditLogByProjects_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_AuditLogService_GetAuditLogByProjects_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) return nil } -// RegisterAuditLogHandlerFromEndpoint is same as RegisterAuditLogHandler but +// RegisterAuditLogServiceHandlerFromEndpoint is same as RegisterAuditLogServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. -func RegisterAuditLogHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { +func RegisterAuditLogServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { conn, err := grpc.Dial(endpoint, opts...) if err != nil { return err @@ -214,59 +218,63 @@ func RegisterAuditLogHandlerFromEndpoint(ctx context.Context, mux *runtime.Serve }() }() - return RegisterAuditLogHandler(ctx, mux, conn) + return RegisterAuditLogServiceHandler(ctx, mux, conn) } -// RegisterAuditLogHandler registers the http handlers for service AuditLog to "mux". +// RegisterAuditLogServiceHandler registers the http handlers for service AuditLogService to "mux". // The handlers forward requests to the grpc endpoint over "conn". -func RegisterAuditLogHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { - return RegisterAuditLogHandlerClient(ctx, mux, NewAuditLogClient(conn)) +func RegisterAuditLogServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { + return RegisterAuditLogServiceHandlerClient(ctx, mux, NewAuditLogServiceClient(conn)) } -// RegisterAuditLogHandlerClient registers the http handlers for service AuditLog -// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "AuditLogClient". -// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "AuditLogClient" +// RegisterAuditLogServiceHandlerClient registers the http handlers for service AuditLogService +// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "AuditLogServiceClient". +// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "AuditLogServiceClient" // doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in -// "AuditLogClient" to call the correct interceptors. -func RegisterAuditLogHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AuditLogClient) error { +// "AuditLogServiceClient" to call the correct interceptors. +func RegisterAuditLogServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AuditLogServiceClient) error { - mux.Handle("GET", pattern_AuditLog_GetAuditLog_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_AuditLogService_GetAuditLog_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/rep.framework.event.v1.AuditLog/GetAuditLog", runtime.WithHTTPPathPattern("/event/v1/{metadata.urlScope=project/*}/auditlog")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/rep.framework.event.v1.AuditLogService/GetAuditLog", runtime.WithHTTPPathPattern("/event/v1/{metadata.urlScope=project/*}/auditlog")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_AuditLog_GetAuditLog_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_AuditLogService_GetAuditLog_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_AuditLog_GetAuditLog_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_AuditLogService_GetAuditLog_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_AuditLog_GetAuditLogByProjects_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_AuditLogService_GetAuditLogByProjects_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/rep.framework.event.v1.AuditLog/GetAuditLogByProjects", runtime.WithHTTPPathPattern("/event/v1/auditlog")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/rep.framework.event.v1.AuditLogService/GetAuditLogByProjects", runtime.WithHTTPPathPattern("/event/v1/auditlog")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_AuditLog_GetAuditLogByProjects_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_AuditLogService_GetAuditLogByProjects_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_AuditLog_GetAuditLogByProjects_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_AuditLogService_GetAuditLogByProjects_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) @@ -274,13 +282,13 @@ func RegisterAuditLogHandlerClient(ctx context.Context, mux *runtime.ServeMux, c } var ( - pattern_AuditLog_GetAuditLog_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 2, 5, 3, 2, 4}, []string{"event", "v1", "project", "metadata.urlScope", "auditlog"}, "")) + pattern_AuditLogService_GetAuditLog_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 2, 5, 3, 2, 4}, []string{"event", "v1", "project", "metadata.urlScope", "auditlog"}, "")) - pattern_AuditLog_GetAuditLogByProjects_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"event", "v1", "auditlog"}, "")) + pattern_AuditLogService_GetAuditLogByProjects_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"event", "v1", "auditlog"}, "")) ) var ( - forward_AuditLog_GetAuditLog_0 = runtime.ForwardResponseMessage + forward_AuditLogService_GetAuditLog_0 = runtime.ForwardResponseMessage - forward_AuditLog_GetAuditLogByProjects_0 = runtime.ForwardResponseMessage + forward_AuditLogService_GetAuditLogByProjects_0 = runtime.ForwardResponseMessage ) diff --git a/proto/rpc/audit/auditlog.proto b/proto/rpc/audit/auditlog.proto index 979650d6..9dd0cdff 100644 --- a/proto/rpc/audit/auditlog.proto +++ b/proto/rpc/audit/auditlog.proto @@ -1,6 +1,8 @@ syntax = "proto3"; package rep.framework.event.v1; +option go_package = "v1"; + import "protoc-gen-openapiv2/options/annotations.proto"; import "google/api/annotations.proto"; import "google/protobuf/struct.proto"; @@ -53,7 +55,7 @@ option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = { } }; -message auditLogQueryFilter { +message AuditLogQueryFilter { string type = 1; string user = 2; string client = 3; @@ -68,26 +70,26 @@ message auditLogQueryFilter { bool dashboardData = 12; } -message auditLogSearchRequest { +message GetAuditLogSearchRequest { paralus.dev.types.common.v3.Metadata metadata = 1; - auditLogQueryFilter filter = 2; + AuditLogQueryFilter filter = 2; } -message auditLogSearchResponse { +message GetAuditLogSearchResponse { google.protobuf.Struct result = 1; } -service AuditLog { - rpc getAuditLog(auditLogSearchRequest) returns (auditLogSearchResponse) { +service AuditLogService { + rpc GetAuditLog(GetAuditLogSearchRequest) returns (GetAuditLogSearchResponse) { option (google.api.http) = { get : "/event/v1/{metadata.urlScope=project/*}/auditlog" }; }; - rpc getAuditLogByProjects(auditLogSearchRequest) - returns (auditLogSearchResponse) { + rpc GetAuditLogByProjects(GetAuditLogSearchRequest) + returns (GetAuditLogSearchResponse) { option (google.api.http) = { get : "/event/v1/auditlog" }; }; -} +} \ No newline at end of file diff --git a/proto/rpc/audit/auditlog_grpc.pb.go b/proto/rpc/audit/auditlog_grpc.pb.go index 262be7a7..6dbafa05 100644 --- a/proto/rpc/audit/auditlog_grpc.pb.go +++ b/proto/rpc/audit/auditlog_grpc.pb.go @@ -18,120 +18,120 @@ import ( // Requires gRPC-Go v1.32.0 or later. const _ = grpc.SupportPackageIsVersion7 -// AuditLogClient is the client API for AuditLog service. +// AuditLogServiceClient is the client API for AuditLogService service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. -type AuditLogClient interface { - GetAuditLog(ctx context.Context, in *AuditLogSearchRequest, opts ...grpc.CallOption) (*AuditLogSearchResponse, error) - GetAuditLogByProjects(ctx context.Context, in *AuditLogSearchRequest, opts ...grpc.CallOption) (*AuditLogSearchResponse, error) +type AuditLogServiceClient interface { + GetAuditLog(ctx context.Context, in *GetAuditLogSearchRequest, opts ...grpc.CallOption) (*GetAuditLogSearchResponse, error) + GetAuditLogByProjects(ctx context.Context, in *GetAuditLogSearchRequest, opts ...grpc.CallOption) (*GetAuditLogSearchResponse, error) } -type auditLogClient struct { +type auditLogServiceClient struct { cc grpc.ClientConnInterface } -func NewAuditLogClient(cc grpc.ClientConnInterface) AuditLogClient { - return &auditLogClient{cc} +func NewAuditLogServiceClient(cc grpc.ClientConnInterface) AuditLogServiceClient { + return &auditLogServiceClient{cc} } -func (c *auditLogClient) GetAuditLog(ctx context.Context, in *AuditLogSearchRequest, opts ...grpc.CallOption) (*AuditLogSearchResponse, error) { - out := new(AuditLogSearchResponse) - err := c.cc.Invoke(ctx, "/rep.framework.event.v1.AuditLog/getAuditLog", in, out, opts...) +func (c *auditLogServiceClient) GetAuditLog(ctx context.Context, in *GetAuditLogSearchRequest, opts ...grpc.CallOption) (*GetAuditLogSearchResponse, error) { + out := new(GetAuditLogSearchResponse) + err := c.cc.Invoke(ctx, "/rep.framework.event.v1.AuditLogService/GetAuditLog", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *auditLogClient) GetAuditLogByProjects(ctx context.Context, in *AuditLogSearchRequest, opts ...grpc.CallOption) (*AuditLogSearchResponse, error) { - out := new(AuditLogSearchResponse) - err := c.cc.Invoke(ctx, "/rep.framework.event.v1.AuditLog/getAuditLogByProjects", in, out, opts...) +func (c *auditLogServiceClient) GetAuditLogByProjects(ctx context.Context, in *GetAuditLogSearchRequest, opts ...grpc.CallOption) (*GetAuditLogSearchResponse, error) { + out := new(GetAuditLogSearchResponse) + err := c.cc.Invoke(ctx, "/rep.framework.event.v1.AuditLogService/GetAuditLogByProjects", in, out, opts...) if err != nil { return nil, err } return out, nil } -// AuditLogServer is the server API for AuditLog service. -// All implementations should embed UnimplementedAuditLogServer +// AuditLogServiceServer is the server API for AuditLogService service. +// All implementations should embed UnimplementedAuditLogServiceServer // for forward compatibility -type AuditLogServer interface { - GetAuditLog(context.Context, *AuditLogSearchRequest) (*AuditLogSearchResponse, error) - GetAuditLogByProjects(context.Context, *AuditLogSearchRequest) (*AuditLogSearchResponse, error) +type AuditLogServiceServer interface { + GetAuditLog(context.Context, *GetAuditLogSearchRequest) (*GetAuditLogSearchResponse, error) + GetAuditLogByProjects(context.Context, *GetAuditLogSearchRequest) (*GetAuditLogSearchResponse, error) } -// UnimplementedAuditLogServer should be embedded to have forward compatible implementations. -type UnimplementedAuditLogServer struct { +// UnimplementedAuditLogServiceServer should be embedded to have forward compatible implementations. +type UnimplementedAuditLogServiceServer struct { } -func (UnimplementedAuditLogServer) GetAuditLog(context.Context, *AuditLogSearchRequest) (*AuditLogSearchResponse, error) { +func (UnimplementedAuditLogServiceServer) GetAuditLog(context.Context, *GetAuditLogSearchRequest) (*GetAuditLogSearchResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetAuditLog not implemented") } -func (UnimplementedAuditLogServer) GetAuditLogByProjects(context.Context, *AuditLogSearchRequest) (*AuditLogSearchResponse, error) { +func (UnimplementedAuditLogServiceServer) GetAuditLogByProjects(context.Context, *GetAuditLogSearchRequest) (*GetAuditLogSearchResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetAuditLogByProjects not implemented") } -// UnsafeAuditLogServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to AuditLogServer will +// UnsafeAuditLogServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to AuditLogServiceServer will // result in compilation errors. -type UnsafeAuditLogServer interface { - mustEmbedUnimplementedAuditLogServer() +type UnsafeAuditLogServiceServer interface { + mustEmbedUnimplementedAuditLogServiceServer() } -func RegisterAuditLogServer(s grpc.ServiceRegistrar, srv AuditLogServer) { - s.RegisterService(&AuditLog_ServiceDesc, srv) +func RegisterAuditLogServiceServer(s grpc.ServiceRegistrar, srv AuditLogServiceServer) { + s.RegisterService(&AuditLogService_ServiceDesc, srv) } -func _AuditLog_GetAuditLog_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AuditLogSearchRequest) +func _AuditLogService_GetAuditLog_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetAuditLogSearchRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(AuditLogServer).GetAuditLog(ctx, in) + return srv.(AuditLogServiceServer).GetAuditLog(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/rep.framework.event.v1.AuditLog/getAuditLog", + FullMethod: "/rep.framework.event.v1.AuditLogService/GetAuditLog", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AuditLogServer).GetAuditLog(ctx, req.(*AuditLogSearchRequest)) + return srv.(AuditLogServiceServer).GetAuditLog(ctx, req.(*GetAuditLogSearchRequest)) } return interceptor(ctx, in, info, handler) } -func _AuditLog_GetAuditLogByProjects_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AuditLogSearchRequest) +func _AuditLogService_GetAuditLogByProjects_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetAuditLogSearchRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(AuditLogServer).GetAuditLogByProjects(ctx, in) + return srv.(AuditLogServiceServer).GetAuditLogByProjects(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/rep.framework.event.v1.AuditLog/getAuditLogByProjects", + FullMethod: "/rep.framework.event.v1.AuditLogService/GetAuditLogByProjects", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AuditLogServer).GetAuditLogByProjects(ctx, req.(*AuditLogSearchRequest)) + return srv.(AuditLogServiceServer).GetAuditLogByProjects(ctx, req.(*GetAuditLogSearchRequest)) } return interceptor(ctx, in, info, handler) } -// AuditLog_ServiceDesc is the grpc.ServiceDesc for AuditLog service. +// AuditLogService_ServiceDesc is the grpc.ServiceDesc for AuditLogService service. // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) -var AuditLog_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "rep.framework.event.v1.AuditLog", - HandlerType: (*AuditLogServer)(nil), +var AuditLogService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "rep.framework.event.v1.AuditLogService", + HandlerType: (*AuditLogServiceServer)(nil), Methods: []grpc.MethodDesc{ { - MethodName: "getAuditLog", - Handler: _AuditLog_GetAuditLog_Handler, + MethodName: "GetAuditLog", + Handler: _AuditLogService_GetAuditLog_Handler, }, { - MethodName: "getAuditLogByProjects", - Handler: _AuditLog_GetAuditLogByProjects_Handler, + MethodName: "GetAuditLogByProjects", + Handler: _AuditLogService_GetAuditLogByProjects_Handler, }, }, Streams: []grpc.StreamDesc{}, diff --git a/proto/rpc/audit/relayaudit.pb.go b/proto/rpc/audit/relayaudit.pb.go index 461ec6b3..5c3e75fb 100644 --- a/proto/rpc/audit/relayaudit.pb.go +++ b/proto/rpc/audit/relayaudit.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.27.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: proto/rpc/audit/relayaudit.proto @@ -167,7 +167,7 @@ func (x *RelayAuditQueryFilter) GetClusterNames() []string { return nil } -type RelayAuditSearchRequest struct { +type RelayAuditRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -178,8 +178,8 @@ type RelayAuditSearchRequest struct { AuditType string `protobuf:"bytes,3,opt,name=auditType,proto3" json:"auditType,omitempty"` } -func (x *RelayAuditSearchRequest) Reset() { - *x = RelayAuditSearchRequest{} +func (x *RelayAuditRequest) Reset() { + *x = RelayAuditRequest{} if protoimpl.UnsafeEnabled { mi := &file_proto_rpc_audit_relayaudit_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -187,13 +187,13 @@ func (x *RelayAuditSearchRequest) Reset() { } } -func (x *RelayAuditSearchRequest) String() string { +func (x *RelayAuditRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*RelayAuditSearchRequest) ProtoMessage() {} +func (*RelayAuditRequest) ProtoMessage() {} -func (x *RelayAuditSearchRequest) ProtoReflect() protoreflect.Message { +func (x *RelayAuditRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_rpc_audit_relayaudit_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -205,33 +205,33 @@ func (x *RelayAuditSearchRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use RelayAuditSearchRequest.ProtoReflect.Descriptor instead. -func (*RelayAuditSearchRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use RelayAuditRequest.ProtoReflect.Descriptor instead. +func (*RelayAuditRequest) Descriptor() ([]byte, []int) { return file_proto_rpc_audit_relayaudit_proto_rawDescGZIP(), []int{1} } -func (x *RelayAuditSearchRequest) GetMetadata() *v3.Metadata { +func (x *RelayAuditRequest) GetMetadata() *v3.Metadata { if x != nil { return x.Metadata } return nil } -func (x *RelayAuditSearchRequest) GetFilter() *RelayAuditQueryFilter { +func (x *RelayAuditRequest) GetFilter() *RelayAuditQueryFilter { if x != nil { return x.Filter } return nil } -func (x *RelayAuditSearchRequest) GetAuditType() string { +func (x *RelayAuditRequest) GetAuditType() string { if x != nil { return x.AuditType } return "" } -type RelayAuditSearchResponse struct { +type RelayAuditResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -240,8 +240,8 @@ type RelayAuditSearchResponse struct { AuditType string `protobuf:"bytes,2,opt,name=auditType,proto3" json:"auditType,omitempty"` } -func (x *RelayAuditSearchResponse) Reset() { - *x = RelayAuditSearchResponse{} +func (x *RelayAuditResponse) Reset() { + *x = RelayAuditResponse{} if protoimpl.UnsafeEnabled { mi := &file_proto_rpc_audit_relayaudit_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -249,13 +249,13 @@ func (x *RelayAuditSearchResponse) Reset() { } } -func (x *RelayAuditSearchResponse) String() string { +func (x *RelayAuditResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*RelayAuditSearchResponse) ProtoMessage() {} +func (*RelayAuditResponse) ProtoMessage() {} -func (x *RelayAuditSearchResponse) ProtoReflect() protoreflect.Message { +func (x *RelayAuditResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_rpc_audit_relayaudit_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -267,19 +267,19 @@ func (x *RelayAuditSearchResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use RelayAuditSearchResponse.ProtoReflect.Descriptor instead. -func (*RelayAuditSearchResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use RelayAuditResponse.ProtoReflect.Descriptor instead. +func (*RelayAuditResponse) Descriptor() ([]byte, []int) { return file_proto_rpc_audit_relayaudit_proto_rawDescGZIP(), []int{2} } -func (x *RelayAuditSearchResponse) GetResult() *structpb.Struct { +func (x *RelayAuditResponse) GetResult() *structpb.Struct { if x != nil { return x.Result } return nil } -func (x *RelayAuditSearchResponse) GetAuditType() string { +func (x *RelayAuditResponse) GetAuditType() string { if x != nil { return x.AuditType } @@ -302,7 +302,7 @@ var file_proto_rpc_audit_relayaudit_proto_rawDesc = []byte{ 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x70, 0x62, 0x2f, 0x76, 0x33, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf7, 0x02, 0x0a, - 0x15, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x41, 0x75, 0x64, 0x69, 0x74, 0x51, 0x75, 0x65, 0x72, 0x79, + 0x15, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x41, 0x75, 0x64, 0x69, 0x74, 0x51, 0x75, 0x65, 0x72, 0x79, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x16, @@ -325,106 +325,102 @@ var file_proto_rpc_audit_relayaudit_proto_rawDesc = []byte{ 0x01, 0x28, 0x08, 0x52, 0x0d, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x44, 0x61, 0x74, 0x61, 0x12, 0x22, 0x0a, 0x0c, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, - 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x22, 0xc1, 0x01, 0x0a, 0x17, 0x72, 0x65, 0x6c, 0x61, 0x79, - 0x41, 0x75, 0x64, 0x69, 0x74, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x41, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, - 0x76, 0x33, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x45, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x72, 0x65, 0x70, 0x2e, 0x66, 0x72, 0x61, 0x6d, - 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x72, - 0x65, 0x6c, 0x61, 0x79, 0x41, 0x75, 0x64, 0x69, 0x74, 0x51, 0x75, 0x65, 0x72, 0x79, 0x46, 0x69, - 0x6c, 0x74, 0x65, 0x72, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x1c, 0x0a, 0x09, - 0x61, 0x75, 0x64, 0x69, 0x74, 0x54, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x09, 0x61, 0x75, 0x64, 0x69, 0x74, 0x54, 0x79, 0x70, 0x65, 0x22, 0x69, 0x0a, 0x18, 0x72, 0x65, - 0x6c, 0x61, 0x79, 0x41, 0x75, 0x64, 0x69, 0x74, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, - 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x75, 0x64, 0x69, 0x74, - 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x75, 0x64, 0x69, - 0x74, 0x54, 0x79, 0x70, 0x65, 0x32, 0xb0, 0x05, 0x0a, 0x0a, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x41, - 0x75, 0x64, 0x69, 0x74, 0x12, 0xb1, 0x01, 0x0a, 0x10, 0x67, 0x65, 0x74, 0x52, 0x65, 0x6c, 0x61, - 0x79, 0x41, 0x50, 0x49, 0x41, 0x75, 0x64, 0x69, 0x74, 0x12, 0x2f, 0x2e, 0x72, 0x65, 0x70, 0x2e, - 0x66, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, - 0x76, 0x31, 0x2e, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x41, 0x75, 0x64, 0x69, 0x74, 0x53, 0x65, 0x61, - 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x72, 0x65, 0x70, - 0x2e, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, - 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x41, 0x75, 0x64, 0x69, 0x74, 0x53, 0x65, - 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3a, 0x82, 0xd3, - 0xe4, 0x93, 0x02, 0x34, 0x12, 0x32, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x31, 0x2f, - 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x75, 0x72, 0x6c, 0x53, 0x63, 0x6f, - 0x70, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2f, 0x2a, 0x7d, 0x2f, 0x72, 0x65, - 0x6c, 0x61, 0x79, 0x61, 0x75, 0x64, 0x69, 0x74, 0x12, 0x9d, 0x01, 0x0a, 0x1a, 0x67, 0x65, 0x74, - 0x52, 0x65, 0x6c, 0x61, 0x79, 0x41, 0x50, 0x49, 0x41, 0x75, 0x64, 0x69, 0x74, 0x42, 0x79, 0x50, - 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x12, 0x2f, 0x2e, 0x72, 0x65, 0x70, 0x2e, 0x66, 0x72, - 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, - 0x2e, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x41, 0x75, 0x64, 0x69, 0x74, 0x53, 0x65, 0x61, 0x72, 0x63, - 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x72, 0x65, 0x70, 0x2e, 0x66, - 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x76, - 0x31, 0x2e, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x41, 0x75, 0x64, 0x69, 0x74, 0x53, 0x65, 0x61, 0x72, - 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1c, 0x82, 0xd3, 0xe4, 0x93, - 0x02, 0x16, 0x12, 0x14, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, - 0x6c, 0x61, 0x79, 0x61, 0x75, 0x64, 0x69, 0x74, 0x12, 0xaf, 0x01, 0x0a, 0x0d, 0x67, 0x65, 0x74, - 0x52, 0x65, 0x6c, 0x61, 0x79, 0x41, 0x75, 0x64, 0x69, 0x74, 0x12, 0x2f, 0x2e, 0x72, 0x65, 0x70, - 0x2e, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, - 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x41, 0x75, 0x64, 0x69, 0x74, 0x53, 0x65, - 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x72, 0x65, - 0x70, 0x2e, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x65, 0x76, 0x65, 0x6e, - 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x41, 0x75, 0x64, 0x69, 0x74, 0x53, - 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3b, 0x82, - 0xd3, 0xe4, 0x93, 0x02, 0x35, 0x12, 0x33, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x31, - 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x75, 0x72, 0x6c, 0x53, 0x63, - 0x6f, 0x70, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2f, 0x2a, 0x7d, 0x2f, 0x61, - 0x75, 0x64, 0x69, 0x74, 0x2f, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x12, 0x9b, 0x01, 0x0a, 0x17, 0x67, - 0x65, 0x74, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x41, 0x75, 0x64, 0x69, 0x74, 0x42, 0x79, 0x50, 0x72, - 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x12, 0x2f, 0x2e, 0x72, 0x65, 0x70, 0x2e, 0x66, 0x72, 0x61, + 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x22, 0xbb, 0x01, 0x0a, 0x11, 0x52, 0x65, 0x6c, 0x61, 0x79, + 0x41, 0x75, 0x64, 0x69, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x41, 0x0a, 0x08, + 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, + 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, + 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x4d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, + 0x45, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x2d, 0x2e, 0x72, 0x65, 0x70, 0x2e, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x2e, + 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x41, 0x75, + 0x64, 0x69, 0x74, 0x51, 0x75, 0x65, 0x72, 0x79, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x06, + 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x75, 0x64, 0x69, 0x74, 0x54, + 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x75, 0x64, 0x69, 0x74, + 0x54, 0x79, 0x70, 0x65, 0x22, 0x63, 0x0a, 0x12, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x41, 0x75, 0x64, + 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x72, 0x65, + 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x61, + 0x75, 0x64, 0x69, 0x74, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, + 0x61, 0x75, 0x64, 0x69, 0x74, 0x54, 0x79, 0x70, 0x65, 0x32, 0x87, 0x05, 0x0a, 0x11, 0x52, 0x65, + 0x6c, 0x61, 0x79, 0x41, 0x75, 0x64, 0x69, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, + 0xa5, 0x01, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x41, 0x50, 0x49, 0x41, + 0x75, 0x64, 0x69, 0x74, 0x12, 0x29, 0x2e, 0x72, 0x65, 0x70, 0x2e, 0x66, 0x72, 0x61, 0x6d, 0x65, + 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, + 0x6c, 0x61, 0x79, 0x41, 0x75, 0x64, 0x69, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x2a, 0x2e, 0x72, 0x65, 0x70, 0x2e, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x2e, + 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x41, 0x75, + 0x64, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3a, 0x82, 0xd3, 0xe4, + 0x93, 0x02, 0x34, 0x12, 0x32, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x7b, + 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x75, 0x72, 0x6c, 0x53, 0x63, 0x6f, 0x70, + 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2f, 0x2a, 0x7d, 0x2f, 0x72, 0x65, 0x6c, + 0x61, 0x79, 0x61, 0x75, 0x64, 0x69, 0x74, 0x12, 0x91, 0x01, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x52, + 0x65, 0x6c, 0x61, 0x79, 0x41, 0x50, 0x49, 0x41, 0x75, 0x64, 0x69, 0x74, 0x42, 0x79, 0x50, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x12, 0x29, 0x2e, 0x72, 0x65, 0x70, 0x2e, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, - 0x72, 0x65, 0x6c, 0x61, 0x79, 0x41, 0x75, 0x64, 0x69, 0x74, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x72, 0x65, 0x70, 0x2e, 0x66, 0x72, - 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, - 0x2e, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x41, 0x75, 0x64, 0x69, 0x74, 0x53, 0x65, 0x61, 0x72, 0x63, - 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1d, 0x82, 0xd3, 0xe4, 0x93, 0x02, - 0x17, 0x12, 0x15, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x75, 0x64, - 0x69, 0x74, 0x2f, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x42, 0xc2, 0x04, 0x0a, 0x1a, 0x63, 0x6f, 0x6d, - 0x2e, 0x72, 0x65, 0x70, 0x2e, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x65, - 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x42, 0x0f, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x61, 0x75, - 0x64, 0x69, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x32, 0x67, 0x69, 0x74, 0x68, - 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, - 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x72, 0x70, 0x63, - 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x3b, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x76, 0x31, 0xa2, 0x02, - 0x03, 0x52, 0x46, 0x45, 0xaa, 0x02, 0x16, 0x52, 0x65, 0x70, 0x2e, 0x46, 0x72, 0x61, 0x6d, 0x65, - 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x16, - 0x52, 0x65, 0x70, 0x5c, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x5c, 0x45, 0x76, - 0x65, 0x6e, 0x74, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x22, 0x52, 0x65, 0x70, 0x5c, 0x46, 0x72, 0x61, - 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x5c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x5c, 0x56, 0x31, 0x5c, - 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x19, 0x52, 0x65, - 0x70, 0x3a, 0x3a, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x3a, 0x3a, 0x45, 0x76, - 0x65, 0x6e, 0x74, 0x3a, 0x3a, 0x56, 0x31, 0x92, 0x41, 0xe2, 0x02, 0x12, 0x29, 0x0a, 0x13, 0x52, - 0x65, 0x6c, 0x61, 0x79, 0x20, 0x41, 0x75, 0x64, 0x69, 0x74, 0x20, 0x53, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x22, 0x0d, 0x0a, 0x0b, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x20, 0x44, 0x65, - 0x76, 0x32, 0x03, 0x32, 0x2e, 0x30, 0x2a, 0x01, 0x02, 0x32, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x32, 0x10, 0x61, 0x70, 0x70, - 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x10, 0x61, - 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, - 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x79, 0x61, 0x6d, - 0x6c, 0x52, 0x50, 0x0a, 0x03, 0x34, 0x30, 0x33, 0x12, 0x49, 0x0a, 0x47, 0x52, 0x65, 0x74, 0x75, - 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, - 0x65, 0x72, 0x20, 0x64, 0x6f, 0x65, 0x73, 0x20, 0x6e, 0x6f, 0x74, 0x20, 0x68, 0x61, 0x76, 0x65, - 0x20, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x20, 0x74, 0x6f, 0x20, 0x61, - 0x63, 0x63, 0x65, 0x73, 0x73, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x2e, 0x52, 0x3b, 0x0a, 0x03, 0x34, 0x30, 0x34, 0x12, 0x34, 0x0a, 0x2a, 0x52, 0x65, - 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, - 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x20, 0x64, 0x6f, 0x65, 0x73, 0x20, 0x6e, 0x6f, - 0x74, 0x20, 0x65, 0x78, 0x69, 0x73, 0x74, 0x2e, 0x12, 0x06, 0x0a, 0x04, 0x9a, 0x02, 0x01, 0x07, - 0x5a, 0x3a, 0x0a, 0x27, 0x0a, 0x0a, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, - 0x12, 0x19, 0x08, 0x02, 0x1a, 0x13, 0x58, 0x2d, 0x50, 0x41, 0x52, 0x41, 0x4c, 0x55, 0x53, 0x2d, - 0x41, 0x50, 0x49, 0x2d, 0x4b, 0x45, 0x59, 0x49, 0x44, 0x20, 0x02, 0x0a, 0x0f, 0x0a, 0x09, 0x42, - 0x61, 0x73, 0x69, 0x63, 0x41, 0x75, 0x74, 0x68, 0x12, 0x02, 0x08, 0x01, 0x62, 0x1f, 0x0a, 0x0e, - 0x0a, 0x0a, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x12, 0x00, 0x0a, 0x0d, - 0x0a, 0x09, 0x42, 0x61, 0x73, 0x69, 0x63, 0x41, 0x75, 0x74, 0x68, 0x12, 0x00, 0x62, 0x06, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x52, 0x65, 0x6c, 0x61, 0x79, 0x41, 0x75, 0x64, 0x69, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x2a, 0x2e, 0x72, 0x65, 0x70, 0x2e, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, + 0x6b, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6c, 0x61, 0x79, + 0x41, 0x75, 0x64, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1c, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x16, 0x12, 0x14, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x31, + 0x2f, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x61, 0x75, 0x64, 0x69, 0x74, 0x12, 0xa3, 0x01, 0x0a, 0x0d, + 0x47, 0x65, 0x74, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x41, 0x75, 0x64, 0x69, 0x74, 0x12, 0x29, 0x2e, + 0x72, 0x65, 0x70, 0x2e, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x65, 0x76, + 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x41, 0x75, 0x64, 0x69, + 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x72, 0x65, 0x70, 0x2e, 0x66, + 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x76, + 0x31, 0x2e, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x41, 0x75, 0x64, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x35, 0x12, 0x33, 0x2f, 0x65, + 0x76, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x75, 0x72, 0x6c, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, + 0x63, 0x74, 0x2f, 0x2a, 0x7d, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2f, 0x72, 0x65, 0x6c, 0x61, + 0x79, 0x12, 0x8f, 0x01, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x41, 0x75, + 0x64, 0x69, 0x74, 0x42, 0x79, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x12, 0x29, 0x2e, + 0x72, 0x65, 0x70, 0x2e, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x65, 0x76, + 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x41, 0x75, 0x64, 0x69, + 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x72, 0x65, 0x70, 0x2e, 0x66, + 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x76, + 0x31, 0x2e, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x41, 0x75, 0x64, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x17, 0x12, 0x15, 0x2f, 0x65, + 0x76, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2f, 0x72, 0x65, + 0x6c, 0x61, 0x79, 0x42, 0xc2, 0x04, 0x0a, 0x1a, 0x63, 0x6f, 0x6d, 0x2e, 0x72, 0x65, 0x70, 0x2e, + 0x66, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, + 0x76, 0x31, 0x42, 0x0f, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x61, 0x75, 0x64, 0x69, 0x74, 0x50, 0x72, + 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, + 0x6d, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, + 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x61, 0x75, 0x64, 0x69, + 0x74, 0x3b, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x52, 0x46, 0x45, 0xaa, + 0x02, 0x16, 0x52, 0x65, 0x70, 0x2e, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x2e, + 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x16, 0x52, 0x65, 0x70, 0x5c, 0x46, + 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x5c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x5c, 0x56, + 0x31, 0xe2, 0x02, 0x22, 0x52, 0x65, 0x70, 0x5c, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, + 0x6b, 0x5c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x19, 0x52, 0x65, 0x70, 0x3a, 0x3a, 0x46, 0x72, + 0x61, 0x6d, 0x65, 0x77, 0x6f, 0x72, 0x6b, 0x3a, 0x3a, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x3a, 0x3a, + 0x56, 0x31, 0x92, 0x41, 0xe2, 0x02, 0x12, 0x29, 0x0a, 0x13, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x20, + 0x41, 0x75, 0x64, 0x69, 0x74, 0x20, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x22, 0x0d, 0x0a, + 0x0b, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x20, 0x44, 0x65, 0x76, 0x32, 0x03, 0x32, 0x2e, + 0x30, 0x2a, 0x01, 0x02, 0x32, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x32, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x2f, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x10, 0x61, 0x70, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x79, 0x61, 0x6d, 0x6c, 0x52, 0x50, 0x0a, 0x03, + 0x34, 0x30, 0x33, 0x12, 0x49, 0x0a, 0x47, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, + 0x77, 0x68, 0x65, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x64, 0x6f, + 0x65, 0x73, 0x20, 0x6e, 0x6f, 0x74, 0x20, 0x68, 0x61, 0x76, 0x65, 0x20, 0x70, 0x65, 0x72, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x20, 0x74, 0x6f, 0x20, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, + 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x52, 0x3b, + 0x0a, 0x03, 0x34, 0x30, 0x34, 0x12, 0x34, 0x0a, 0x2a, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, + 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x20, 0x64, 0x6f, 0x65, 0x73, 0x20, 0x6e, 0x6f, 0x74, 0x20, 0x65, 0x78, 0x69, + 0x73, 0x74, 0x2e, 0x12, 0x06, 0x0a, 0x04, 0x9a, 0x02, 0x01, 0x07, 0x5a, 0x3a, 0x0a, 0x27, 0x0a, + 0x0a, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x12, 0x19, 0x08, 0x02, 0x1a, + 0x13, 0x58, 0x2d, 0x50, 0x41, 0x52, 0x41, 0x4c, 0x55, 0x53, 0x2d, 0x41, 0x50, 0x49, 0x2d, 0x4b, + 0x45, 0x59, 0x49, 0x44, 0x20, 0x02, 0x0a, 0x0f, 0x0a, 0x09, 0x42, 0x61, 0x73, 0x69, 0x63, 0x41, + 0x75, 0x74, 0x68, 0x12, 0x02, 0x08, 0x01, 0x62, 0x1f, 0x0a, 0x0e, 0x0a, 0x0a, 0x41, 0x70, 0x69, + 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x12, 0x00, 0x0a, 0x0d, 0x0a, 0x09, 0x42, 0x61, 0x73, + 0x69, 0x63, 0x41, 0x75, 0x74, 0x68, 0x12, 0x00, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -441,24 +437,24 @@ func file_proto_rpc_audit_relayaudit_proto_rawDescGZIP() []byte { var file_proto_rpc_audit_relayaudit_proto_msgTypes = make([]protoimpl.MessageInfo, 3) var file_proto_rpc_audit_relayaudit_proto_goTypes = []interface{}{ - (*RelayAuditQueryFilter)(nil), // 0: rep.framework.event.v1.relayAuditQueryFilter - (*RelayAuditSearchRequest)(nil), // 1: rep.framework.event.v1.relayAuditSearchRequest - (*RelayAuditSearchResponse)(nil), // 2: rep.framework.event.v1.relayAuditSearchResponse - (*v3.Metadata)(nil), // 3: paralus.dev.types.common.v3.Metadata - (*structpb.Struct)(nil), // 4: google.protobuf.Struct + (*RelayAuditQueryFilter)(nil), // 0: rep.framework.event.v1.RelayAuditQueryFilter + (*RelayAuditRequest)(nil), // 1: rep.framework.event.v1.RelayAuditRequest + (*RelayAuditResponse)(nil), // 2: rep.framework.event.v1.RelayAuditResponse + (*v3.Metadata)(nil), // 3: paralus.dev.types.common.v3.Metadata + (*structpb.Struct)(nil), // 4: google.protobuf.Struct } var file_proto_rpc_audit_relayaudit_proto_depIdxs = []int32{ - 3, // 0: rep.framework.event.v1.relayAuditSearchRequest.metadata:type_name -> paralus.dev.types.common.v3.Metadata - 0, // 1: rep.framework.event.v1.relayAuditSearchRequest.filter:type_name -> rep.framework.event.v1.relayAuditQueryFilter - 4, // 2: rep.framework.event.v1.relayAuditSearchResponse.result:type_name -> google.protobuf.Struct - 1, // 3: rep.framework.event.v1.RelayAudit.getRelayAPIAudit:input_type -> rep.framework.event.v1.relayAuditSearchRequest - 1, // 4: rep.framework.event.v1.RelayAudit.getRelayAPIAuditByProjects:input_type -> rep.framework.event.v1.relayAuditSearchRequest - 1, // 5: rep.framework.event.v1.RelayAudit.getRelayAudit:input_type -> rep.framework.event.v1.relayAuditSearchRequest - 1, // 6: rep.framework.event.v1.RelayAudit.getRelayAuditByProjects:input_type -> rep.framework.event.v1.relayAuditSearchRequest - 2, // 7: rep.framework.event.v1.RelayAudit.getRelayAPIAudit:output_type -> rep.framework.event.v1.relayAuditSearchResponse - 2, // 8: rep.framework.event.v1.RelayAudit.getRelayAPIAuditByProjects:output_type -> rep.framework.event.v1.relayAuditSearchResponse - 2, // 9: rep.framework.event.v1.RelayAudit.getRelayAudit:output_type -> rep.framework.event.v1.relayAuditSearchResponse - 2, // 10: rep.framework.event.v1.RelayAudit.getRelayAuditByProjects:output_type -> rep.framework.event.v1.relayAuditSearchResponse + 3, // 0: rep.framework.event.v1.RelayAuditRequest.metadata:type_name -> paralus.dev.types.common.v3.Metadata + 0, // 1: rep.framework.event.v1.RelayAuditRequest.filter:type_name -> rep.framework.event.v1.RelayAuditQueryFilter + 4, // 2: rep.framework.event.v1.RelayAuditResponse.result:type_name -> google.protobuf.Struct + 1, // 3: rep.framework.event.v1.RelayAuditService.GetRelayAPIAudit:input_type -> rep.framework.event.v1.RelayAuditRequest + 1, // 4: rep.framework.event.v1.RelayAuditService.GetRelayAPIAuditByProjects:input_type -> rep.framework.event.v1.RelayAuditRequest + 1, // 5: rep.framework.event.v1.RelayAuditService.GetRelayAudit:input_type -> rep.framework.event.v1.RelayAuditRequest + 1, // 6: rep.framework.event.v1.RelayAuditService.GetRelayAuditByProjects:input_type -> rep.framework.event.v1.RelayAuditRequest + 2, // 7: rep.framework.event.v1.RelayAuditService.GetRelayAPIAudit:output_type -> rep.framework.event.v1.RelayAuditResponse + 2, // 8: rep.framework.event.v1.RelayAuditService.GetRelayAPIAuditByProjects:output_type -> rep.framework.event.v1.RelayAuditResponse + 2, // 9: rep.framework.event.v1.RelayAuditService.GetRelayAudit:output_type -> rep.framework.event.v1.RelayAuditResponse + 2, // 10: rep.framework.event.v1.RelayAuditService.GetRelayAuditByProjects:output_type -> rep.framework.event.v1.RelayAuditResponse 7, // [7:11] is the sub-list for method output_type 3, // [3:7] is the sub-list for method input_type 3, // [3:3] is the sub-list for extension type_name @@ -485,7 +481,7 @@ func file_proto_rpc_audit_relayaudit_proto_init() { } } file_proto_rpc_audit_relayaudit_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RelayAuditSearchRequest); i { + switch v := v.(*RelayAuditRequest); i { case 0: return &v.state case 1: @@ -497,7 +493,7 @@ func file_proto_rpc_audit_relayaudit_proto_init() { } } file_proto_rpc_audit_relayaudit_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RelayAuditSearchResponse); i { + switch v := v.(*RelayAuditResponse); i { case 0: return &v.state case 1: diff --git a/proto/rpc/audit/relayaudit.pb.gw.go b/proto/rpc/audit/relayaudit.pb.gw.go index 17d3a403..3ea5a4d5 100644 --- a/proto/rpc/audit/relayaudit.pb.gw.go +++ b/proto/rpc/audit/relayaudit.pb.gw.go @@ -32,11 +32,11 @@ var _ = utilities.NewDoubleArray var _ = metadata.Join var ( - filter_RelayAudit_GetRelayAPIAudit_0 = &utilities.DoubleArray{Encoding: map[string]int{"metadata": 0, "urlScope": 1}, Base: []int{1, 1, 1, 0}, Check: []int{0, 1, 2, 3}} + filter_RelayAuditService_GetRelayAPIAudit_0 = &utilities.DoubleArray{Encoding: map[string]int{"metadata": 0, "urlScope": 1}, Base: []int{1, 1, 1, 0}, Check: []int{0, 1, 2, 3}} ) -func request_RelayAudit_GetRelayAPIAudit_0(ctx context.Context, marshaler runtime.Marshaler, client RelayAuditClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq RelayAuditSearchRequest +func request_RelayAuditService_GetRelayAPIAudit_0(ctx context.Context, marshaler runtime.Marshaler, client RelayAuditServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq RelayAuditRequest var metadata runtime.ServerMetadata var ( @@ -59,7 +59,7 @@ func request_RelayAudit_GetRelayAPIAudit_0(ctx context.Context, marshaler runtim if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_RelayAudit_GetRelayAPIAudit_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_RelayAuditService_GetRelayAPIAudit_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -68,8 +68,8 @@ func request_RelayAudit_GetRelayAPIAudit_0(ctx context.Context, marshaler runtim } -func local_request_RelayAudit_GetRelayAPIAudit_0(ctx context.Context, marshaler runtime.Marshaler, server RelayAuditServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq RelayAuditSearchRequest +func local_request_RelayAuditService_GetRelayAPIAudit_0(ctx context.Context, marshaler runtime.Marshaler, server RelayAuditServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq RelayAuditRequest var metadata runtime.ServerMetadata var ( @@ -92,7 +92,7 @@ func local_request_RelayAudit_GetRelayAPIAudit_0(ctx context.Context, marshaler if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_RelayAudit_GetRelayAPIAudit_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_RelayAuditService_GetRelayAPIAudit_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -102,17 +102,17 @@ func local_request_RelayAudit_GetRelayAPIAudit_0(ctx context.Context, marshaler } var ( - filter_RelayAudit_GetRelayAPIAuditByProjects_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} + filter_RelayAuditService_GetRelayAPIAuditByProjects_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} ) -func request_RelayAudit_GetRelayAPIAuditByProjects_0(ctx context.Context, marshaler runtime.Marshaler, client RelayAuditClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq RelayAuditSearchRequest +func request_RelayAuditService_GetRelayAPIAuditByProjects_0(ctx context.Context, marshaler runtime.Marshaler, client RelayAuditServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq RelayAuditRequest var metadata runtime.ServerMetadata if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_RelayAudit_GetRelayAPIAuditByProjects_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_RelayAuditService_GetRelayAPIAuditByProjects_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -121,14 +121,14 @@ func request_RelayAudit_GetRelayAPIAuditByProjects_0(ctx context.Context, marsha } -func local_request_RelayAudit_GetRelayAPIAuditByProjects_0(ctx context.Context, marshaler runtime.Marshaler, server RelayAuditServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq RelayAuditSearchRequest +func local_request_RelayAuditService_GetRelayAPIAuditByProjects_0(ctx context.Context, marshaler runtime.Marshaler, server RelayAuditServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq RelayAuditRequest var metadata runtime.ServerMetadata if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_RelayAudit_GetRelayAPIAuditByProjects_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_RelayAuditService_GetRelayAPIAuditByProjects_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -138,11 +138,11 @@ func local_request_RelayAudit_GetRelayAPIAuditByProjects_0(ctx context.Context, } var ( - filter_RelayAudit_GetRelayAudit_0 = &utilities.DoubleArray{Encoding: map[string]int{"metadata": 0, "urlScope": 1}, Base: []int{1, 1, 1, 0}, Check: []int{0, 1, 2, 3}} + filter_RelayAuditService_GetRelayAudit_0 = &utilities.DoubleArray{Encoding: map[string]int{"metadata": 0, "urlScope": 1}, Base: []int{1, 1, 1, 0}, Check: []int{0, 1, 2, 3}} ) -func request_RelayAudit_GetRelayAudit_0(ctx context.Context, marshaler runtime.Marshaler, client RelayAuditClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq RelayAuditSearchRequest +func request_RelayAuditService_GetRelayAudit_0(ctx context.Context, marshaler runtime.Marshaler, client RelayAuditServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq RelayAuditRequest var metadata runtime.ServerMetadata var ( @@ -165,7 +165,7 @@ func request_RelayAudit_GetRelayAudit_0(ctx context.Context, marshaler runtime.M if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_RelayAudit_GetRelayAudit_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_RelayAuditService_GetRelayAudit_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -174,8 +174,8 @@ func request_RelayAudit_GetRelayAudit_0(ctx context.Context, marshaler runtime.M } -func local_request_RelayAudit_GetRelayAudit_0(ctx context.Context, marshaler runtime.Marshaler, server RelayAuditServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq RelayAuditSearchRequest +func local_request_RelayAuditService_GetRelayAudit_0(ctx context.Context, marshaler runtime.Marshaler, server RelayAuditServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq RelayAuditRequest var metadata runtime.ServerMetadata var ( @@ -198,7 +198,7 @@ func local_request_RelayAudit_GetRelayAudit_0(ctx context.Context, marshaler run if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_RelayAudit_GetRelayAudit_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_RelayAuditService_GetRelayAudit_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -208,17 +208,17 @@ func local_request_RelayAudit_GetRelayAudit_0(ctx context.Context, marshaler run } var ( - filter_RelayAudit_GetRelayAuditByProjects_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} + filter_RelayAuditService_GetRelayAuditByProjects_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} ) -func request_RelayAudit_GetRelayAuditByProjects_0(ctx context.Context, marshaler runtime.Marshaler, client RelayAuditClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq RelayAuditSearchRequest +func request_RelayAuditService_GetRelayAuditByProjects_0(ctx context.Context, marshaler runtime.Marshaler, client RelayAuditServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq RelayAuditRequest var metadata runtime.ServerMetadata if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_RelayAudit_GetRelayAuditByProjects_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_RelayAuditService_GetRelayAuditByProjects_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -227,14 +227,14 @@ func request_RelayAudit_GetRelayAuditByProjects_0(ctx context.Context, marshaler } -func local_request_RelayAudit_GetRelayAuditByProjects_0(ctx context.Context, marshaler runtime.Marshaler, server RelayAuditServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq RelayAuditSearchRequest +func local_request_RelayAuditService_GetRelayAuditByProjects_0(ctx context.Context, marshaler runtime.Marshaler, server RelayAuditServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq RelayAuditRequest var metadata runtime.ServerMetadata if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_RelayAudit_GetRelayAuditByProjects_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_RelayAuditService_GetRelayAuditByProjects_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -243,110 +243,118 @@ func local_request_RelayAudit_GetRelayAuditByProjects_0(ctx context.Context, mar } -// RegisterRelayAuditHandlerServer registers the http handlers for service RelayAudit to "mux". -// UnaryRPC :call RelayAuditServer directly. +// RegisterRelayAuditServiceHandlerServer registers the http handlers for service RelayAuditService to "mux". +// UnaryRPC :call RelayAuditServiceServer directly. // StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. -// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterRelayAuditHandlerFromEndpoint instead. -func RegisterRelayAuditHandlerServer(ctx context.Context, mux *runtime.ServeMux, server RelayAuditServer) error { +// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterRelayAuditServiceHandlerFromEndpoint instead. +func RegisterRelayAuditServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server RelayAuditServiceServer) error { - mux.Handle("GET", pattern_RelayAudit_GetRelayAPIAudit_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_RelayAuditService_GetRelayAPIAudit_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/rep.framework.event.v1.RelayAudit/GetRelayAPIAudit", runtime.WithHTTPPathPattern("/event/v1/{metadata.urlScope=project/*}/relayaudit")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/rep.framework.event.v1.RelayAuditService/GetRelayAPIAudit", runtime.WithHTTPPathPattern("/event/v1/{metadata.urlScope=project/*}/relayaudit")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_RelayAudit_GetRelayAPIAudit_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_RelayAuditService_GetRelayAPIAudit_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_RelayAudit_GetRelayAPIAudit_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_RelayAuditService_GetRelayAPIAudit_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_RelayAudit_GetRelayAPIAuditByProjects_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_RelayAuditService_GetRelayAPIAuditByProjects_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/rep.framework.event.v1.RelayAudit/GetRelayAPIAuditByProjects", runtime.WithHTTPPathPattern("/event/v1/relayaudit")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/rep.framework.event.v1.RelayAuditService/GetRelayAPIAuditByProjects", runtime.WithHTTPPathPattern("/event/v1/relayaudit")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_RelayAudit_GetRelayAPIAuditByProjects_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_RelayAuditService_GetRelayAPIAuditByProjects_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_RelayAudit_GetRelayAPIAuditByProjects_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_RelayAuditService_GetRelayAPIAuditByProjects_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_RelayAudit_GetRelayAudit_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_RelayAuditService_GetRelayAudit_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/rep.framework.event.v1.RelayAudit/GetRelayAudit", runtime.WithHTTPPathPattern("/event/v1/{metadata.urlScope=project/*}/audit/relay")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/rep.framework.event.v1.RelayAuditService/GetRelayAudit", runtime.WithHTTPPathPattern("/event/v1/{metadata.urlScope=project/*}/audit/relay")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_RelayAudit_GetRelayAudit_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_RelayAuditService_GetRelayAudit_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_RelayAudit_GetRelayAudit_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_RelayAuditService_GetRelayAudit_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_RelayAudit_GetRelayAuditByProjects_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_RelayAuditService_GetRelayAuditByProjects_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/rep.framework.event.v1.RelayAudit/GetRelayAuditByProjects", runtime.WithHTTPPathPattern("/event/v1/audit/relay")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/rep.framework.event.v1.RelayAuditService/GetRelayAuditByProjects", runtime.WithHTTPPathPattern("/event/v1/audit/relay")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_RelayAudit_GetRelayAuditByProjects_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_RelayAuditService_GetRelayAuditByProjects_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_RelayAudit_GetRelayAuditByProjects_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_RelayAuditService_GetRelayAuditByProjects_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) return nil } -// RegisterRelayAuditHandlerFromEndpoint is same as RegisterRelayAuditHandler but +// RegisterRelayAuditServiceHandlerFromEndpoint is same as RegisterRelayAuditServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. -func RegisterRelayAuditHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { +func RegisterRelayAuditServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { conn, err := grpc.Dial(endpoint, opts...) if err != nil { return err @@ -366,99 +374,107 @@ func RegisterRelayAuditHandlerFromEndpoint(ctx context.Context, mux *runtime.Ser }() }() - return RegisterRelayAuditHandler(ctx, mux, conn) + return RegisterRelayAuditServiceHandler(ctx, mux, conn) } -// RegisterRelayAuditHandler registers the http handlers for service RelayAudit to "mux". +// RegisterRelayAuditServiceHandler registers the http handlers for service RelayAuditService to "mux". // The handlers forward requests to the grpc endpoint over "conn". -func RegisterRelayAuditHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { - return RegisterRelayAuditHandlerClient(ctx, mux, NewRelayAuditClient(conn)) +func RegisterRelayAuditServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { + return RegisterRelayAuditServiceHandlerClient(ctx, mux, NewRelayAuditServiceClient(conn)) } -// RegisterRelayAuditHandlerClient registers the http handlers for service RelayAudit -// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "RelayAuditClient". -// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "RelayAuditClient" +// RegisterRelayAuditServiceHandlerClient registers the http handlers for service RelayAuditService +// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "RelayAuditServiceClient". +// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "RelayAuditServiceClient" // doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in -// "RelayAuditClient" to call the correct interceptors. -func RegisterRelayAuditHandlerClient(ctx context.Context, mux *runtime.ServeMux, client RelayAuditClient) error { +// "RelayAuditServiceClient" to call the correct interceptors. +func RegisterRelayAuditServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client RelayAuditServiceClient) error { - mux.Handle("GET", pattern_RelayAudit_GetRelayAPIAudit_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_RelayAuditService_GetRelayAPIAudit_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/rep.framework.event.v1.RelayAudit/GetRelayAPIAudit", runtime.WithHTTPPathPattern("/event/v1/{metadata.urlScope=project/*}/relayaudit")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/rep.framework.event.v1.RelayAuditService/GetRelayAPIAudit", runtime.WithHTTPPathPattern("/event/v1/{metadata.urlScope=project/*}/relayaudit")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_RelayAudit_GetRelayAPIAudit_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_RelayAuditService_GetRelayAPIAudit_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_RelayAudit_GetRelayAPIAudit_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_RelayAuditService_GetRelayAPIAudit_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_RelayAudit_GetRelayAPIAuditByProjects_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_RelayAuditService_GetRelayAPIAuditByProjects_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/rep.framework.event.v1.RelayAudit/GetRelayAPIAuditByProjects", runtime.WithHTTPPathPattern("/event/v1/relayaudit")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/rep.framework.event.v1.RelayAuditService/GetRelayAPIAuditByProjects", runtime.WithHTTPPathPattern("/event/v1/relayaudit")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_RelayAudit_GetRelayAPIAuditByProjects_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_RelayAuditService_GetRelayAPIAuditByProjects_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_RelayAudit_GetRelayAPIAuditByProjects_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_RelayAuditService_GetRelayAPIAuditByProjects_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_RelayAudit_GetRelayAudit_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_RelayAuditService_GetRelayAudit_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/rep.framework.event.v1.RelayAudit/GetRelayAudit", runtime.WithHTTPPathPattern("/event/v1/{metadata.urlScope=project/*}/audit/relay")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/rep.framework.event.v1.RelayAuditService/GetRelayAudit", runtime.WithHTTPPathPattern("/event/v1/{metadata.urlScope=project/*}/audit/relay")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_RelayAudit_GetRelayAudit_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_RelayAuditService_GetRelayAudit_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_RelayAudit_GetRelayAudit_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_RelayAuditService_GetRelayAudit_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_RelayAudit_GetRelayAuditByProjects_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_RelayAuditService_GetRelayAuditByProjects_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/rep.framework.event.v1.RelayAudit/GetRelayAuditByProjects", runtime.WithHTTPPathPattern("/event/v1/audit/relay")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/rep.framework.event.v1.RelayAuditService/GetRelayAuditByProjects", runtime.WithHTTPPathPattern("/event/v1/audit/relay")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_RelayAudit_GetRelayAuditByProjects_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_RelayAuditService_GetRelayAuditByProjects_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_RelayAudit_GetRelayAuditByProjects_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_RelayAuditService_GetRelayAuditByProjects_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) @@ -466,21 +482,21 @@ func RegisterRelayAuditHandlerClient(ctx context.Context, mux *runtime.ServeMux, } var ( - pattern_RelayAudit_GetRelayAPIAudit_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 2, 5, 3, 2, 4}, []string{"event", "v1", "project", "metadata.urlScope", "relayaudit"}, "")) + pattern_RelayAuditService_GetRelayAPIAudit_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 2, 5, 3, 2, 4}, []string{"event", "v1", "project", "metadata.urlScope", "relayaudit"}, "")) - pattern_RelayAudit_GetRelayAPIAuditByProjects_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"event", "v1", "relayaudit"}, "")) + pattern_RelayAuditService_GetRelayAPIAuditByProjects_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"event", "v1", "relayaudit"}, "")) - pattern_RelayAudit_GetRelayAudit_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 2, 5, 3, 2, 4, 2, 5}, []string{"event", "v1", "project", "metadata.urlScope", "audit", "relay"}, "")) + pattern_RelayAuditService_GetRelayAudit_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 2, 5, 3, 2, 4, 2, 5}, []string{"event", "v1", "project", "metadata.urlScope", "audit", "relay"}, "")) - pattern_RelayAudit_GetRelayAuditByProjects_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"event", "v1", "audit", "relay"}, "")) + pattern_RelayAuditService_GetRelayAuditByProjects_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"event", "v1", "audit", "relay"}, "")) ) var ( - forward_RelayAudit_GetRelayAPIAudit_0 = runtime.ForwardResponseMessage + forward_RelayAuditService_GetRelayAPIAudit_0 = runtime.ForwardResponseMessage - forward_RelayAudit_GetRelayAPIAuditByProjects_0 = runtime.ForwardResponseMessage + forward_RelayAuditService_GetRelayAPIAuditByProjects_0 = runtime.ForwardResponseMessage - forward_RelayAudit_GetRelayAudit_0 = runtime.ForwardResponseMessage + forward_RelayAuditService_GetRelayAudit_0 = runtime.ForwardResponseMessage - forward_RelayAudit_GetRelayAuditByProjects_0 = runtime.ForwardResponseMessage + forward_RelayAuditService_GetRelayAuditByProjects_0 = runtime.ForwardResponseMessage ) diff --git a/proto/rpc/audit/relayaudit.proto b/proto/rpc/audit/relayaudit.proto index 551de528..34e5b417 100644 --- a/proto/rpc/audit/relayaudit.proto +++ b/proto/rpc/audit/relayaudit.proto @@ -55,7 +55,7 @@ option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = { } }; -message relayAuditQueryFilter { +message RelayAuditQueryFilter { string type = 1; string user = 2; string client = 3; @@ -71,44 +71,44 @@ message relayAuditQueryFilter { repeated string clusterNames = 13; } -message relayAuditSearchRequest { +message RelayAuditRequest { // TODO: this was paralus.dev.common.types.v2.ParalusMeta paralus.dev.types.common.v3.Metadata metadata = 1; - relayAuditQueryFilter filter = 2; + RelayAuditQueryFilter filter = 2; string auditType = 3; } -message relayAuditSearchResponse { +message RelayAuditResponse { google.protobuf.Struct result = 1; string auditType = 2; } -service RelayAudit { - rpc getRelayAPIAudit(relayAuditSearchRequest) - returns (relayAuditSearchResponse) { +service RelayAuditService { + rpc GetRelayAPIAudit(RelayAuditRequest) + returns (RelayAuditResponse) { option (google.api.http) = { get : "/event/v1/{metadata.urlScope=project/*}/relayaudit" }; }; - rpc getRelayAPIAuditByProjects(relayAuditSearchRequest) - returns (relayAuditSearchResponse) { + rpc GetRelayAPIAuditByProjects(RelayAuditRequest) + returns (RelayAuditResponse) { option (google.api.http) = { get : "/event/v1/relayaudit" }; }; - rpc getRelayAudit(relayAuditSearchRequest) - returns (relayAuditSearchResponse) { + rpc GetRelayAudit(RelayAuditRequest) + returns (RelayAuditResponse) { option (google.api.http) = { get : "/event/v1/{metadata.urlScope=project/*}/audit/relay" }; }; - rpc getRelayAuditByProjects(relayAuditSearchRequest) - returns (relayAuditSearchResponse) { + rpc GetRelayAuditByProjects(RelayAuditRequest) + returns (RelayAuditResponse) { option (google.api.http) = { get : "/event/v1/audit/relay" }; }; -} +} \ No newline at end of file diff --git a/proto/rpc/audit/relayaudit_grpc.pb.go b/proto/rpc/audit/relayaudit_grpc.pb.go index 4aa1cb00..b40eba09 100644 --- a/proto/rpc/audit/relayaudit_grpc.pb.go +++ b/proto/rpc/audit/relayaudit_grpc.pb.go @@ -18,192 +18,192 @@ import ( // Requires gRPC-Go v1.32.0 or later. const _ = grpc.SupportPackageIsVersion7 -// RelayAuditClient is the client API for RelayAudit service. +// RelayAuditServiceClient is the client API for RelayAuditService service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. -type RelayAuditClient interface { - GetRelayAPIAudit(ctx context.Context, in *RelayAuditSearchRequest, opts ...grpc.CallOption) (*RelayAuditSearchResponse, error) - GetRelayAPIAuditByProjects(ctx context.Context, in *RelayAuditSearchRequest, opts ...grpc.CallOption) (*RelayAuditSearchResponse, error) - GetRelayAudit(ctx context.Context, in *RelayAuditSearchRequest, opts ...grpc.CallOption) (*RelayAuditSearchResponse, error) - GetRelayAuditByProjects(ctx context.Context, in *RelayAuditSearchRequest, opts ...grpc.CallOption) (*RelayAuditSearchResponse, error) +type RelayAuditServiceClient interface { + GetRelayAPIAudit(ctx context.Context, in *RelayAuditRequest, opts ...grpc.CallOption) (*RelayAuditResponse, error) + GetRelayAPIAuditByProjects(ctx context.Context, in *RelayAuditRequest, opts ...grpc.CallOption) (*RelayAuditResponse, error) + GetRelayAudit(ctx context.Context, in *RelayAuditRequest, opts ...grpc.CallOption) (*RelayAuditResponse, error) + GetRelayAuditByProjects(ctx context.Context, in *RelayAuditRequest, opts ...grpc.CallOption) (*RelayAuditResponse, error) } -type relayAuditClient struct { +type relayAuditServiceClient struct { cc grpc.ClientConnInterface } -func NewRelayAuditClient(cc grpc.ClientConnInterface) RelayAuditClient { - return &relayAuditClient{cc} +func NewRelayAuditServiceClient(cc grpc.ClientConnInterface) RelayAuditServiceClient { + return &relayAuditServiceClient{cc} } -func (c *relayAuditClient) GetRelayAPIAudit(ctx context.Context, in *RelayAuditSearchRequest, opts ...grpc.CallOption) (*RelayAuditSearchResponse, error) { - out := new(RelayAuditSearchResponse) - err := c.cc.Invoke(ctx, "/rep.framework.event.v1.RelayAudit/getRelayAPIAudit", in, out, opts...) +func (c *relayAuditServiceClient) GetRelayAPIAudit(ctx context.Context, in *RelayAuditRequest, opts ...grpc.CallOption) (*RelayAuditResponse, error) { + out := new(RelayAuditResponse) + err := c.cc.Invoke(ctx, "/rep.framework.event.v1.RelayAuditService/GetRelayAPIAudit", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *relayAuditClient) GetRelayAPIAuditByProjects(ctx context.Context, in *RelayAuditSearchRequest, opts ...grpc.CallOption) (*RelayAuditSearchResponse, error) { - out := new(RelayAuditSearchResponse) - err := c.cc.Invoke(ctx, "/rep.framework.event.v1.RelayAudit/getRelayAPIAuditByProjects", in, out, opts...) +func (c *relayAuditServiceClient) GetRelayAPIAuditByProjects(ctx context.Context, in *RelayAuditRequest, opts ...grpc.CallOption) (*RelayAuditResponse, error) { + out := new(RelayAuditResponse) + err := c.cc.Invoke(ctx, "/rep.framework.event.v1.RelayAuditService/GetRelayAPIAuditByProjects", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *relayAuditClient) GetRelayAudit(ctx context.Context, in *RelayAuditSearchRequest, opts ...grpc.CallOption) (*RelayAuditSearchResponse, error) { - out := new(RelayAuditSearchResponse) - err := c.cc.Invoke(ctx, "/rep.framework.event.v1.RelayAudit/getRelayAudit", in, out, opts...) +func (c *relayAuditServiceClient) GetRelayAudit(ctx context.Context, in *RelayAuditRequest, opts ...grpc.CallOption) (*RelayAuditResponse, error) { + out := new(RelayAuditResponse) + err := c.cc.Invoke(ctx, "/rep.framework.event.v1.RelayAuditService/GetRelayAudit", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *relayAuditClient) GetRelayAuditByProjects(ctx context.Context, in *RelayAuditSearchRequest, opts ...grpc.CallOption) (*RelayAuditSearchResponse, error) { - out := new(RelayAuditSearchResponse) - err := c.cc.Invoke(ctx, "/rep.framework.event.v1.RelayAudit/getRelayAuditByProjects", in, out, opts...) +func (c *relayAuditServiceClient) GetRelayAuditByProjects(ctx context.Context, in *RelayAuditRequest, opts ...grpc.CallOption) (*RelayAuditResponse, error) { + out := new(RelayAuditResponse) + err := c.cc.Invoke(ctx, "/rep.framework.event.v1.RelayAuditService/GetRelayAuditByProjects", in, out, opts...) if err != nil { return nil, err } return out, nil } -// RelayAuditServer is the server API for RelayAudit service. -// All implementations should embed UnimplementedRelayAuditServer +// RelayAuditServiceServer is the server API for RelayAuditService service. +// All implementations should embed UnimplementedRelayAuditServiceServer // for forward compatibility -type RelayAuditServer interface { - GetRelayAPIAudit(context.Context, *RelayAuditSearchRequest) (*RelayAuditSearchResponse, error) - GetRelayAPIAuditByProjects(context.Context, *RelayAuditSearchRequest) (*RelayAuditSearchResponse, error) - GetRelayAudit(context.Context, *RelayAuditSearchRequest) (*RelayAuditSearchResponse, error) - GetRelayAuditByProjects(context.Context, *RelayAuditSearchRequest) (*RelayAuditSearchResponse, error) +type RelayAuditServiceServer interface { + GetRelayAPIAudit(context.Context, *RelayAuditRequest) (*RelayAuditResponse, error) + GetRelayAPIAuditByProjects(context.Context, *RelayAuditRequest) (*RelayAuditResponse, error) + GetRelayAudit(context.Context, *RelayAuditRequest) (*RelayAuditResponse, error) + GetRelayAuditByProjects(context.Context, *RelayAuditRequest) (*RelayAuditResponse, error) } -// UnimplementedRelayAuditServer should be embedded to have forward compatible implementations. -type UnimplementedRelayAuditServer struct { +// UnimplementedRelayAuditServiceServer should be embedded to have forward compatible implementations. +type UnimplementedRelayAuditServiceServer struct { } -func (UnimplementedRelayAuditServer) GetRelayAPIAudit(context.Context, *RelayAuditSearchRequest) (*RelayAuditSearchResponse, error) { +func (UnimplementedRelayAuditServiceServer) GetRelayAPIAudit(context.Context, *RelayAuditRequest) (*RelayAuditResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetRelayAPIAudit not implemented") } -func (UnimplementedRelayAuditServer) GetRelayAPIAuditByProjects(context.Context, *RelayAuditSearchRequest) (*RelayAuditSearchResponse, error) { +func (UnimplementedRelayAuditServiceServer) GetRelayAPIAuditByProjects(context.Context, *RelayAuditRequest) (*RelayAuditResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetRelayAPIAuditByProjects not implemented") } -func (UnimplementedRelayAuditServer) GetRelayAudit(context.Context, *RelayAuditSearchRequest) (*RelayAuditSearchResponse, error) { +func (UnimplementedRelayAuditServiceServer) GetRelayAudit(context.Context, *RelayAuditRequest) (*RelayAuditResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetRelayAudit not implemented") } -func (UnimplementedRelayAuditServer) GetRelayAuditByProjects(context.Context, *RelayAuditSearchRequest) (*RelayAuditSearchResponse, error) { +func (UnimplementedRelayAuditServiceServer) GetRelayAuditByProjects(context.Context, *RelayAuditRequest) (*RelayAuditResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetRelayAuditByProjects not implemented") } -// UnsafeRelayAuditServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to RelayAuditServer will +// UnsafeRelayAuditServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to RelayAuditServiceServer will // result in compilation errors. -type UnsafeRelayAuditServer interface { - mustEmbedUnimplementedRelayAuditServer() +type UnsafeRelayAuditServiceServer interface { + mustEmbedUnimplementedRelayAuditServiceServer() } -func RegisterRelayAuditServer(s grpc.ServiceRegistrar, srv RelayAuditServer) { - s.RegisterService(&RelayAudit_ServiceDesc, srv) +func RegisterRelayAuditServiceServer(s grpc.ServiceRegistrar, srv RelayAuditServiceServer) { + s.RegisterService(&RelayAuditService_ServiceDesc, srv) } -func _RelayAudit_GetRelayAPIAudit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RelayAuditSearchRequest) +func _RelayAuditService_GetRelayAPIAudit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RelayAuditRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(RelayAuditServer).GetRelayAPIAudit(ctx, in) + return srv.(RelayAuditServiceServer).GetRelayAPIAudit(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/rep.framework.event.v1.RelayAudit/getRelayAPIAudit", + FullMethod: "/rep.framework.event.v1.RelayAuditService/GetRelayAPIAudit", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RelayAuditServer).GetRelayAPIAudit(ctx, req.(*RelayAuditSearchRequest)) + return srv.(RelayAuditServiceServer).GetRelayAPIAudit(ctx, req.(*RelayAuditRequest)) } return interceptor(ctx, in, info, handler) } -func _RelayAudit_GetRelayAPIAuditByProjects_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RelayAuditSearchRequest) +func _RelayAuditService_GetRelayAPIAuditByProjects_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RelayAuditRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(RelayAuditServer).GetRelayAPIAuditByProjects(ctx, in) + return srv.(RelayAuditServiceServer).GetRelayAPIAuditByProjects(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/rep.framework.event.v1.RelayAudit/getRelayAPIAuditByProjects", + FullMethod: "/rep.framework.event.v1.RelayAuditService/GetRelayAPIAuditByProjects", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RelayAuditServer).GetRelayAPIAuditByProjects(ctx, req.(*RelayAuditSearchRequest)) + return srv.(RelayAuditServiceServer).GetRelayAPIAuditByProjects(ctx, req.(*RelayAuditRequest)) } return interceptor(ctx, in, info, handler) } -func _RelayAudit_GetRelayAudit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RelayAuditSearchRequest) +func _RelayAuditService_GetRelayAudit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RelayAuditRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(RelayAuditServer).GetRelayAudit(ctx, in) + return srv.(RelayAuditServiceServer).GetRelayAudit(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/rep.framework.event.v1.RelayAudit/getRelayAudit", + FullMethod: "/rep.framework.event.v1.RelayAuditService/GetRelayAudit", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RelayAuditServer).GetRelayAudit(ctx, req.(*RelayAuditSearchRequest)) + return srv.(RelayAuditServiceServer).GetRelayAudit(ctx, req.(*RelayAuditRequest)) } return interceptor(ctx, in, info, handler) } -func _RelayAudit_GetRelayAuditByProjects_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RelayAuditSearchRequest) +func _RelayAuditService_GetRelayAuditByProjects_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(RelayAuditRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(RelayAuditServer).GetRelayAuditByProjects(ctx, in) + return srv.(RelayAuditServiceServer).GetRelayAuditByProjects(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/rep.framework.event.v1.RelayAudit/getRelayAuditByProjects", + FullMethod: "/rep.framework.event.v1.RelayAuditService/GetRelayAuditByProjects", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RelayAuditServer).GetRelayAuditByProjects(ctx, req.(*RelayAuditSearchRequest)) + return srv.(RelayAuditServiceServer).GetRelayAuditByProjects(ctx, req.(*RelayAuditRequest)) } return interceptor(ctx, in, info, handler) } -// RelayAudit_ServiceDesc is the grpc.ServiceDesc for RelayAudit service. +// RelayAuditService_ServiceDesc is the grpc.ServiceDesc for RelayAuditService service. // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) -var RelayAudit_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "rep.framework.event.v1.RelayAudit", - HandlerType: (*RelayAuditServer)(nil), +var RelayAuditService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "rep.framework.event.v1.RelayAuditService", + HandlerType: (*RelayAuditServiceServer)(nil), Methods: []grpc.MethodDesc{ { - MethodName: "getRelayAPIAudit", - Handler: _RelayAudit_GetRelayAPIAudit_Handler, + MethodName: "GetRelayAPIAudit", + Handler: _RelayAuditService_GetRelayAPIAudit_Handler, }, { - MethodName: "getRelayAPIAuditByProjects", - Handler: _RelayAudit_GetRelayAPIAuditByProjects_Handler, + MethodName: "GetRelayAPIAuditByProjects", + Handler: _RelayAuditService_GetRelayAPIAuditByProjects_Handler, }, { - MethodName: "getRelayAudit", - Handler: _RelayAudit_GetRelayAudit_Handler, + MethodName: "GetRelayAudit", + Handler: _RelayAuditService_GetRelayAudit_Handler, }, { - MethodName: "getRelayAuditByProjects", - Handler: _RelayAudit_GetRelayAuditByProjects_Handler, + MethodName: "GetRelayAuditByProjects", + Handler: _RelayAuditService_GetRelayAuditByProjects_Handler, }, }, Streams: []grpc.StreamDesc{}, diff --git a/proto/rpc/role/role.pb.go b/proto/rpc/role/role.pb.go index 88176b21..5e229504 100644 --- a/proto/rpc/role/role.pb.go +++ b/proto/rpc/role/role.pb.go @@ -1,10 +1,10 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.27.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: proto/rpc/role/role.proto -package rpcv3 +package rolev3 import ( _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" @@ -26,114 +26,117 @@ var File_proto_rpc_role_role_proto protoreflect.FileDescriptor var file_proto_rpc_role_role_proto_rawDesc = []byte{ 0x0a, 0x19, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x72, 0x6f, 0x6c, 0x65, - 0x2f, 0x72, 0x6f, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x70, 0x61, 0x72, - 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x33, 0x1a, - 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, - 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, - 0x69, 0x76, 0x32, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, - 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x72, 0x6f, 0x6c, 0x65, 0x70, - 0x62, 0x2f, 0x76, 0x33, 0x2f, 0x72, 0x6f, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, - 0xf9, 0x07, 0x0a, 0x04, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0xe3, 0x01, 0x0a, 0x0a, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x1f, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, + 0x2f, 0x72, 0x6f, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x70, 0x61, 0x72, + 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x72, 0x6f, 0x6c, + 0x65, 0x2e, 0x76, 0x33, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x6f, + 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x1a, 0x20, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, + 0x72, 0x6f, 0x6c, 0x65, 0x70, 0x62, 0x2f, 0x76, 0x33, 0x2f, 0x72, 0x6f, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x80, 0x08, 0x0a, 0x0b, 0x52, 0x6f, 0x6c, 0x65, 0x53, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x12, 0xe3, 0x01, 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, + 0x6f, 0x6c, 0x65, 0x12, 0x1f, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, + 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x72, 0x6f, 0x6c, 0x65, 0x2e, 0x76, 0x33, 0x2e, + 0x52, 0x6f, 0x6c, 0x65, 0x1a, 0x1f, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x72, 0x6f, 0x6c, 0x65, 0x2e, 0x76, 0x33, + 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x22, 0x92, 0x01, 0x92, 0x41, 0x36, 0x4a, 0x34, 0x0a, 0x03, 0x32, + 0x30, 0x31, 0x12, 0x2d, 0x0a, 0x2b, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, + 0x68, 0x65, 0x6e, 0x20, 0x72, 0x6f, 0x6c, 0x65, 0x20, 0x69, 0x73, 0x20, 0x63, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x64, 0x20, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x66, 0x75, 0x6c, 0x6c, 0x79, + 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x53, 0x22, 0x4e, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, + 0x33, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x7d, 0x2f, 0x6f, 0x72, 0x67, + 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x7d, 0x2f, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x3a, 0x01, 0x2a, 0x12, 0xa8, 0x01, 0x0a, 0x08, 0x47, + 0x65, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x12, 0x1f, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x72, 0x6f, 0x6c, 0x65, - 0x2e, 0x76, 0x33, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x1a, 0x1f, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, + 0x2e, 0x76, 0x33, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x1a, 0x23, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x72, 0x6f, 0x6c, - 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x22, 0x92, 0x01, 0x92, 0x41, 0x36, 0x4a, - 0x34, 0x0a, 0x03, 0x32, 0x30, 0x31, 0x12, 0x2d, 0x0a, 0x2b, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, - 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x72, 0x6f, 0x6c, 0x65, 0x20, 0x69, 0x73, 0x20, - 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x20, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x66, - 0x75, 0x6c, 0x6c, 0x79, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x53, 0x22, 0x4e, 0x2f, 0x61, 0x75, + 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x56, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x50, 0x12, 0x4e, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x33, 0x2f, + 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x7d, 0x2f, 0x6f, 0x72, 0x67, 0x61, 0x6e, + 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, + 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x12, 0xb2, 0x01, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6c, + 0x65, 0x12, 0x1f, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x72, 0x6f, 0x6c, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x52, 0x6f, + 0x6c, 0x65, 0x1a, 0x1f, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x72, 0x6f, 0x6c, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x52, + 0x6f, 0x6c, 0x65, 0x22, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x5f, 0x12, 0x5d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x7d, 0x2f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x3a, 0x01, 0x2a, 0x12, 0xa8, - 0x01, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x12, 0x1f, 0x2e, 0x70, 0x61, - 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, - 0x72, 0x6f, 0x6c, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x1a, 0x23, 0x2e, 0x70, - 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, - 0x2e, 0x72, 0x6f, 0x6c, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x4c, 0x69, 0x73, - 0x74, 0x22, 0x56, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x50, 0x12, 0x4e, 0x2f, 0x61, 0x75, 0x74, 0x68, - 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x2f, 0x7b, 0x6d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x7d, 0x2f, 0x6f, - 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x7b, 0x6d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x7d, 0x2f, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x12, 0xb2, 0x01, 0x0a, 0x07, 0x47, 0x65, - 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x1f, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x72, 0x6f, 0x6c, 0x65, 0x2e, 0x76, - 0x33, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x1a, 0x1f, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x72, 0x6f, 0x6c, 0x65, 0x2e, - 0x76, 0x33, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x22, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x5f, 0x12, - 0x5d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, - 0x72, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x61, 0x72, 0x74, - 0x6e, 0x65, 0x72, 0x7d, 0x2f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6f, 0x72, 0x67, 0x61, - 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x72, 0x6f, 0x6c, 0x65, 0x2f, 0x7b, - 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x12, 0xb8, - 0x01, 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x1f, 0x2e, - 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, - 0x73, 0x2e, 0x72, 0x6f, 0x6c, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x1a, 0x1f, - 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, - 0x65, 0x73, 0x2e, 0x72, 0x6f, 0x6c, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x22, - 0x68, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x62, 0x1a, 0x5d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, - 0x33, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, - 0x61, 0x74, 0x61, 0x2e, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x7d, 0x2f, 0x6f, 0x72, 0x67, - 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, - 0x61, 0x74, 0x61, 0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x7d, 0x2f, 0x72, 0x6f, 0x6c, 0x65, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, - 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x3a, 0x01, 0x2a, 0x12, 0xef, 0x01, 0x0a, 0x0a, 0x44, 0x65, - 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x1f, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, - 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x72, 0x6f, 0x6c, - 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x1a, 0x1f, 0x2e, 0x70, 0x61, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x72, 0x6f, 0x6c, 0x65, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x12, 0xb8, 0x01, 0x0a, 0x0a, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x1f, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x72, 0x6f, - 0x6c, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x22, 0x9e, 0x01, 0x92, 0x41, 0x36, - 0x4a, 0x34, 0x0a, 0x03, 0x32, 0x30, 0x34, 0x12, 0x2d, 0x0a, 0x2b, 0x52, 0x65, 0x74, 0x75, 0x72, - 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x72, 0x6f, 0x6c, 0x65, 0x20, 0x69, 0x73, - 0x20, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x20, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, - 0x66, 0x75, 0x6c, 0x6c, 0x79, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x5f, 0x2a, 0x5d, 0x2f, 0x61, - 0x75, 0x74, 0x68, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x2f, 0x7b, - 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, - 0x7d, 0x2f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x7b, - 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x72, 0x6f, 0x6c, 0x65, 0x2f, 0x7b, 0x6d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x42, 0xa9, 0x04, 0x0a, 0x16, - 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x72, 0x70, 0x63, 0x2e, 0x76, 0x33, 0x42, 0x09, 0x52, 0x6f, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x74, - 0x6f, 0x50, 0x01, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, - 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x72, 0x6f, 0x6c, 0x65, 0x3b, 0x72, - 0x70, 0x63, 0x76, 0x33, 0xa2, 0x02, 0x03, 0x50, 0x44, 0x52, 0xaa, 0x02, 0x12, 0x50, 0x61, 0x72, - 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x44, 0x65, 0x76, 0x2e, 0x52, 0x70, 0x63, 0x2e, 0x56, 0x33, 0xca, - 0x02, 0x12, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x5c, 0x44, 0x65, 0x76, 0x5c, 0x52, 0x70, - 0x63, 0x5c, 0x56, 0x33, 0xe2, 0x02, 0x1e, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x5c, 0x44, - 0x65, 0x76, 0x5c, 0x52, 0x70, 0x63, 0x5c, 0x56, 0x33, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x15, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x3a, - 0x3a, 0x44, 0x65, 0x76, 0x3a, 0x3a, 0x52, 0x70, 0x63, 0x3a, 0x3a, 0x56, 0x33, 0x92, 0x41, 0xe6, - 0x02, 0x12, 0x2d, 0x0a, 0x17, 0x52, 0x6f, 0x6c, 0x65, 0x20, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, - 0x6d, 0x65, 0x6e, 0x74, 0x20, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x22, 0x0d, 0x0a, 0x0b, - 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x20, 0x44, 0x65, 0x76, 0x32, 0x03, 0x32, 0x2e, 0x30, - 0x2a, 0x01, 0x02, 0x32, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x32, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x2f, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x79, 0x61, 0x6d, 0x6c, 0x52, 0x50, 0x0a, 0x03, 0x34, - 0x30, 0x33, 0x12, 0x49, 0x0a, 0x47, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, - 0x68, 0x65, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x6f, 0x6c, 0x65, 0x20, 0x64, 0x6f, 0x65, - 0x73, 0x20, 0x6e, 0x6f, 0x74, 0x20, 0x68, 0x61, 0x76, 0x65, 0x20, 0x70, 0x65, 0x72, 0x6d, 0x69, - 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x20, 0x74, 0x6f, 0x20, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x20, - 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x52, 0x3b, 0x0a, - 0x03, 0x34, 0x30, 0x34, 0x12, 0x34, 0x0a, 0x2a, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, - 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x20, 0x64, 0x6f, 0x65, 0x73, 0x20, 0x6e, 0x6f, 0x74, 0x20, 0x65, 0x78, 0x69, 0x73, - 0x74, 0x2e, 0x12, 0x06, 0x0a, 0x04, 0x9a, 0x02, 0x01, 0x07, 0x5a, 0x3a, 0x0a, 0x27, 0x0a, 0x0a, - 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x12, 0x19, 0x08, 0x02, 0x1a, 0x13, - 0x58, 0x2d, 0x50, 0x41, 0x52, 0x41, 0x4c, 0x55, 0x53, 0x2d, 0x41, 0x50, 0x49, 0x2d, 0x4b, 0x45, - 0x59, 0x49, 0x44, 0x20, 0x02, 0x0a, 0x0f, 0x0a, 0x09, 0x42, 0x61, 0x73, 0x69, 0x63, 0x41, 0x75, - 0x74, 0x68, 0x12, 0x02, 0x08, 0x01, 0x62, 0x1f, 0x0a, 0x0e, 0x0a, 0x0a, 0x41, 0x70, 0x69, 0x4b, - 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x12, 0x00, 0x0a, 0x0d, 0x0a, 0x09, 0x42, 0x61, 0x73, 0x69, - 0x63, 0x41, 0x75, 0x74, 0x68, 0x12, 0x00, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x6c, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x1a, 0x1f, 0x2e, 0x70, 0x61, 0x72, + 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x72, + 0x6f, 0x6c, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x22, 0x68, 0x82, 0xd3, 0xe4, + 0x93, 0x02, 0x62, 0x1a, 0x5d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x61, + 0x72, 0x74, 0x6e, 0x65, 0x72, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x7d, 0x2f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x72, 0x6f, + 0x6c, 0x65, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6e, 0x61, 0x6d, + 0x65, 0x7d, 0x3a, 0x01, 0x2a, 0x12, 0xef, 0x01, 0x0a, 0x0a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x1f, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x72, 0x6f, 0x6c, 0x65, 0x2e, 0x76, 0x33, + 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x1a, 0x1f, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x72, 0x6f, 0x6c, 0x65, 0x2e, 0x76, + 0x33, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x22, 0x9e, 0x01, 0x92, 0x41, 0x36, 0x4a, 0x34, 0x0a, 0x03, + 0x32, 0x30, 0x34, 0x12, 0x2d, 0x0a, 0x2b, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, + 0x77, 0x68, 0x65, 0x6e, 0x20, 0x72, 0x6f, 0x6c, 0x65, 0x20, 0x69, 0x73, 0x20, 0x64, 0x65, 0x6c, + 0x65, 0x74, 0x65, 0x64, 0x20, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x66, 0x75, 0x6c, 0x6c, + 0x79, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x5f, 0x2a, 0x5d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, + 0x76, 0x33, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x7d, 0x2f, 0x6f, 0x72, + 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x7d, 0x2f, 0x72, 0x6f, 0x6c, 0x65, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x42, 0xc5, 0x04, 0x0a, 0x1b, 0x63, 0x6f, 0x6d, 0x2e, + 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x72, 0x70, 0x63, 0x2e, + 0x72, 0x6f, 0x6c, 0x65, 0x2e, 0x76, 0x33, 0x42, 0x09, 0x52, 0x6f, 0x6c, 0x65, 0x50, 0x72, 0x6f, + 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x30, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, + 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, + 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x72, 0x6f, 0x6c, 0x65, 0x3b, + 0x72, 0x6f, 0x6c, 0x65, 0x76, 0x33, 0xa2, 0x02, 0x04, 0x50, 0x44, 0x52, 0x52, 0xaa, 0x02, 0x17, + 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x44, 0x65, 0x76, 0x2e, 0x52, 0x70, 0x63, 0x2e, + 0x52, 0x6f, 0x6c, 0x65, 0x2e, 0x56, 0x33, 0xca, 0x02, 0x17, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, + 0x73, 0x5c, 0x44, 0x65, 0x76, 0x5c, 0x52, 0x70, 0x63, 0x5c, 0x52, 0x6f, 0x6c, 0x65, 0x5c, 0x56, + 0x33, 0xe2, 0x02, 0x23, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x5c, 0x44, 0x65, 0x76, 0x5c, + 0x52, 0x70, 0x63, 0x5c, 0x52, 0x6f, 0x6c, 0x65, 0x5c, 0x56, 0x33, 0x5c, 0x47, 0x50, 0x42, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1b, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, + 0x73, 0x3a, 0x3a, 0x44, 0x65, 0x76, 0x3a, 0x3a, 0x52, 0x70, 0x63, 0x3a, 0x3a, 0x52, 0x6f, 0x6c, + 0x65, 0x3a, 0x3a, 0x56, 0x33, 0x92, 0x41, 0xe6, 0x02, 0x12, 0x2d, 0x0a, 0x17, 0x52, 0x6f, 0x6c, + 0x65, 0x20, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x20, 0x53, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x22, 0x0d, 0x0a, 0x0b, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x20, + 0x44, 0x65, 0x76, 0x32, 0x03, 0x32, 0x2e, 0x30, 0x2a, 0x01, 0x02, 0x32, 0x10, 0x61, 0x70, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x32, 0x10, 0x61, + 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x79, 0x61, 0x6d, 0x6c, 0x3a, + 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, + 0x6e, 0x3a, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x79, + 0x61, 0x6d, 0x6c, 0x52, 0x50, 0x0a, 0x03, 0x34, 0x30, 0x33, 0x12, 0x49, 0x0a, 0x47, 0x52, 0x65, + 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, + 0x72, 0x6f, 0x6c, 0x65, 0x20, 0x64, 0x6f, 0x65, 0x73, 0x20, 0x6e, 0x6f, 0x74, 0x20, 0x68, 0x61, + 0x76, 0x65, 0x20, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x20, 0x74, 0x6f, + 0x20, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x2e, 0x52, 0x3b, 0x0a, 0x03, 0x34, 0x30, 0x34, 0x12, 0x34, 0x0a, 0x2a, + 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x74, 0x68, + 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x20, 0x64, 0x6f, 0x65, 0x73, 0x20, + 0x6e, 0x6f, 0x74, 0x20, 0x65, 0x78, 0x69, 0x73, 0x74, 0x2e, 0x12, 0x06, 0x0a, 0x04, 0x9a, 0x02, + 0x01, 0x07, 0x5a, 0x3a, 0x0a, 0x27, 0x0a, 0x0a, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x41, 0x75, + 0x74, 0x68, 0x12, 0x19, 0x08, 0x02, 0x1a, 0x13, 0x58, 0x2d, 0x50, 0x41, 0x52, 0x41, 0x4c, 0x55, + 0x53, 0x2d, 0x41, 0x50, 0x49, 0x2d, 0x4b, 0x45, 0x59, 0x49, 0x44, 0x20, 0x02, 0x0a, 0x0f, 0x0a, + 0x09, 0x42, 0x61, 0x73, 0x69, 0x63, 0x41, 0x75, 0x74, 0x68, 0x12, 0x02, 0x08, 0x01, 0x62, 0x1f, + 0x0a, 0x0e, 0x0a, 0x0a, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x12, 0x00, + 0x0a, 0x0d, 0x0a, 0x09, 0x42, 0x61, 0x73, 0x69, 0x63, 0x41, 0x75, 0x74, 0x68, 0x12, 0x00, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var file_proto_rpc_role_role_proto_goTypes = []interface{}{ @@ -141,16 +144,16 @@ var file_proto_rpc_role_role_proto_goTypes = []interface{}{ (*v3.RoleList)(nil), // 1: paralus.dev.types.role.v3.RoleList } var file_proto_rpc_role_role_proto_depIdxs = []int32{ - 0, // 0: paralus.dev.rpc.v3.Role.CreateRole:input_type -> paralus.dev.types.role.v3.Role - 0, // 1: paralus.dev.rpc.v3.Role.GetRoles:input_type -> paralus.dev.types.role.v3.Role - 0, // 2: paralus.dev.rpc.v3.Role.GetRole:input_type -> paralus.dev.types.role.v3.Role - 0, // 3: paralus.dev.rpc.v3.Role.UpdateRole:input_type -> paralus.dev.types.role.v3.Role - 0, // 4: paralus.dev.rpc.v3.Role.DeleteRole:input_type -> paralus.dev.types.role.v3.Role - 0, // 5: paralus.dev.rpc.v3.Role.CreateRole:output_type -> paralus.dev.types.role.v3.Role - 1, // 6: paralus.dev.rpc.v3.Role.GetRoles:output_type -> paralus.dev.types.role.v3.RoleList - 0, // 7: paralus.dev.rpc.v3.Role.GetRole:output_type -> paralus.dev.types.role.v3.Role - 0, // 8: paralus.dev.rpc.v3.Role.UpdateRole:output_type -> paralus.dev.types.role.v3.Role - 0, // 9: paralus.dev.rpc.v3.Role.DeleteRole:output_type -> paralus.dev.types.role.v3.Role + 0, // 0: paralus.dev.rpc.role.v3.RoleService.CreateRole:input_type -> paralus.dev.types.role.v3.Role + 0, // 1: paralus.dev.rpc.role.v3.RoleService.GetRoles:input_type -> paralus.dev.types.role.v3.Role + 0, // 2: paralus.dev.rpc.role.v3.RoleService.GetRole:input_type -> paralus.dev.types.role.v3.Role + 0, // 3: paralus.dev.rpc.role.v3.RoleService.UpdateRole:input_type -> paralus.dev.types.role.v3.Role + 0, // 4: paralus.dev.rpc.role.v3.RoleService.DeleteRole:input_type -> paralus.dev.types.role.v3.Role + 0, // 5: paralus.dev.rpc.role.v3.RoleService.CreateRole:output_type -> paralus.dev.types.role.v3.Role + 1, // 6: paralus.dev.rpc.role.v3.RoleService.GetRoles:output_type -> paralus.dev.types.role.v3.RoleList + 0, // 7: paralus.dev.rpc.role.v3.RoleService.GetRole:output_type -> paralus.dev.types.role.v3.Role + 0, // 8: paralus.dev.rpc.role.v3.RoleService.UpdateRole:output_type -> paralus.dev.types.role.v3.Role + 0, // 9: paralus.dev.rpc.role.v3.RoleService.DeleteRole:output_type -> paralus.dev.types.role.v3.Role 5, // [5:10] is the sub-list for method output_type 0, // [0:5] is the sub-list for method input_type 0, // [0:0] is the sub-list for extension type_name diff --git a/proto/rpc/role/role.pb.gw.go b/proto/rpc/role/role.pb.gw.go index c4d8bf36..ae55b291 100644 --- a/proto/rpc/role/role.pb.gw.go +++ b/proto/rpc/role/role.pb.gw.go @@ -2,11 +2,11 @@ // source: proto/rpc/role/role.proto /* -Package rpcv3 is a reverse proxy. +Package rolev3 is a reverse proxy. It translates gRPC into RESTful JSON APIs. */ -package rpcv3 +package rolev3 import ( "context" @@ -15,7 +15,7 @@ import ( "github.com/grpc-ecosystem/grpc-gateway/v2/runtime" "github.com/grpc-ecosystem/grpc-gateway/v2/utilities" - "github.com/paralus/paralus/proto/types/rolepb/v3" + rolev3_0 "github.com/paralus/paralus/proto/types/rolepb/v3" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/grpclog" @@ -32,8 +32,8 @@ var _ = runtime.String var _ = utilities.NewDoubleArray var _ = metadata.Join -func request_Role_CreateRole_0(ctx context.Context, marshaler runtime.Marshaler, client RoleClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq rolev3.Role +func request_RoleService_CreateRole_0(ctx context.Context, marshaler runtime.Marshaler, client RoleServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq rolev3_0.Role var metadata runtime.ServerMetadata newReader, berr := utilities.IOReaderFactory(req.Body) @@ -76,8 +76,8 @@ func request_Role_CreateRole_0(ctx context.Context, marshaler runtime.Marshaler, } -func local_request_Role_CreateRole_0(ctx context.Context, marshaler runtime.Marshaler, server RoleServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq rolev3.Role +func local_request_RoleService_CreateRole_0(ctx context.Context, marshaler runtime.Marshaler, server RoleServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq rolev3_0.Role var metadata runtime.ServerMetadata newReader, berr := utilities.IOReaderFactory(req.Body) @@ -121,11 +121,11 @@ func local_request_Role_CreateRole_0(ctx context.Context, marshaler runtime.Mars } var ( - filter_Role_GetRoles_0 = &utilities.DoubleArray{Encoding: map[string]int{"metadata": 0, "partner": 1, "organization": 2}, Base: []int{1, 1, 1, 2, 0, 0}, Check: []int{0, 1, 2, 2, 3, 4}} + filter_RoleService_GetRoles_0 = &utilities.DoubleArray{Encoding: map[string]int{"metadata": 0, "partner": 1, "organization": 2}, Base: []int{1, 1, 1, 2, 0, 0}, Check: []int{0, 1, 2, 2, 3, 4}} ) -func request_Role_GetRoles_0(ctx context.Context, marshaler runtime.Marshaler, client RoleClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq rolev3.Role +func request_RoleService_GetRoles_0(ctx context.Context, marshaler runtime.Marshaler, client RoleServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq rolev3_0.Role var metadata runtime.ServerMetadata var ( @@ -158,7 +158,7 @@ func request_Role_GetRoles_0(ctx context.Context, marshaler runtime.Marshaler, c if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Role_GetRoles_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_RoleService_GetRoles_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -167,8 +167,8 @@ func request_Role_GetRoles_0(ctx context.Context, marshaler runtime.Marshaler, c } -func local_request_Role_GetRoles_0(ctx context.Context, marshaler runtime.Marshaler, server RoleServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq rolev3.Role +func local_request_RoleService_GetRoles_0(ctx context.Context, marshaler runtime.Marshaler, server RoleServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq rolev3_0.Role var metadata runtime.ServerMetadata var ( @@ -201,7 +201,7 @@ func local_request_Role_GetRoles_0(ctx context.Context, marshaler runtime.Marsha if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Role_GetRoles_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_RoleService_GetRoles_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -211,11 +211,11 @@ func local_request_Role_GetRoles_0(ctx context.Context, marshaler runtime.Marsha } var ( - filter_Role_GetRole_0 = &utilities.DoubleArray{Encoding: map[string]int{"metadata": 0, "partner": 1, "organization": 2, "name": 3}, Base: []int{1, 1, 1, 2, 3, 0, 0, 0}, Check: []int{0, 1, 2, 2, 2, 3, 4, 5}} + filter_RoleService_GetRole_0 = &utilities.DoubleArray{Encoding: map[string]int{"metadata": 0, "partner": 1, "organization": 2, "name": 3}, Base: []int{1, 1, 1, 2, 3, 0, 0, 0}, Check: []int{0, 1, 2, 2, 2, 3, 4, 5}} ) -func request_Role_GetRole_0(ctx context.Context, marshaler runtime.Marshaler, client RoleClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq rolev3.Role +func request_RoleService_GetRole_0(ctx context.Context, marshaler runtime.Marshaler, client RoleServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq rolev3_0.Role var metadata runtime.ServerMetadata var ( @@ -258,7 +258,7 @@ func request_Role_GetRole_0(ctx context.Context, marshaler runtime.Marshaler, cl if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Role_GetRole_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_RoleService_GetRole_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -267,8 +267,8 @@ func request_Role_GetRole_0(ctx context.Context, marshaler runtime.Marshaler, cl } -func local_request_Role_GetRole_0(ctx context.Context, marshaler runtime.Marshaler, server RoleServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq rolev3.Role +func local_request_RoleService_GetRole_0(ctx context.Context, marshaler runtime.Marshaler, server RoleServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq rolev3_0.Role var metadata runtime.ServerMetadata var ( @@ -311,7 +311,7 @@ func local_request_Role_GetRole_0(ctx context.Context, marshaler runtime.Marshal if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Role_GetRole_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_RoleService_GetRole_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -320,8 +320,8 @@ func local_request_Role_GetRole_0(ctx context.Context, marshaler runtime.Marshal } -func request_Role_UpdateRole_0(ctx context.Context, marshaler runtime.Marshaler, client RoleClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq rolev3.Role +func request_RoleService_UpdateRole_0(ctx context.Context, marshaler runtime.Marshaler, client RoleServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq rolev3_0.Role var metadata runtime.ServerMetadata newReader, berr := utilities.IOReaderFactory(req.Body) @@ -374,8 +374,8 @@ func request_Role_UpdateRole_0(ctx context.Context, marshaler runtime.Marshaler, } -func local_request_Role_UpdateRole_0(ctx context.Context, marshaler runtime.Marshaler, server RoleServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq rolev3.Role +func local_request_RoleService_UpdateRole_0(ctx context.Context, marshaler runtime.Marshaler, server RoleServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq rolev3_0.Role var metadata runtime.ServerMetadata newReader, berr := utilities.IOReaderFactory(req.Body) @@ -429,11 +429,11 @@ func local_request_Role_UpdateRole_0(ctx context.Context, marshaler runtime.Mars } var ( - filter_Role_DeleteRole_0 = &utilities.DoubleArray{Encoding: map[string]int{"metadata": 0, "partner": 1, "organization": 2, "name": 3}, Base: []int{1, 1, 1, 2, 3, 0, 0, 0}, Check: []int{0, 1, 2, 2, 2, 3, 4, 5}} + filter_RoleService_DeleteRole_0 = &utilities.DoubleArray{Encoding: map[string]int{"metadata": 0, "partner": 1, "organization": 2, "name": 3}, Base: []int{1, 1, 1, 2, 3, 0, 0, 0}, Check: []int{0, 1, 2, 2, 2, 3, 4, 5}} ) -func request_Role_DeleteRole_0(ctx context.Context, marshaler runtime.Marshaler, client RoleClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq rolev3.Role +func request_RoleService_DeleteRole_0(ctx context.Context, marshaler runtime.Marshaler, client RoleServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq rolev3_0.Role var metadata runtime.ServerMetadata var ( @@ -476,7 +476,7 @@ func request_Role_DeleteRole_0(ctx context.Context, marshaler runtime.Marshaler, if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Role_DeleteRole_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_RoleService_DeleteRole_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -485,8 +485,8 @@ func request_Role_DeleteRole_0(ctx context.Context, marshaler runtime.Marshaler, } -func local_request_Role_DeleteRole_0(ctx context.Context, marshaler runtime.Marshaler, server RoleServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq rolev3.Role +func local_request_RoleService_DeleteRole_0(ctx context.Context, marshaler runtime.Marshaler, server RoleServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq rolev3_0.Role var metadata runtime.ServerMetadata var ( @@ -529,7 +529,7 @@ func local_request_Role_DeleteRole_0(ctx context.Context, marshaler runtime.Mars if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Role_DeleteRole_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_RoleService_DeleteRole_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -538,133 +538,143 @@ func local_request_Role_DeleteRole_0(ctx context.Context, marshaler runtime.Mars } -// RegisterRoleHandlerServer registers the http handlers for service Role to "mux". -// UnaryRPC :call RoleServer directly. +// RegisterRoleServiceHandlerServer registers the http handlers for service RoleService to "mux". +// UnaryRPC :call RoleServiceServer directly. // StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. -// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterRoleHandlerFromEndpoint instead. -func RegisterRoleHandlerServer(ctx context.Context, mux *runtime.ServeMux, server RoleServer) error { +// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterRoleServiceHandlerFromEndpoint instead. +func RegisterRoleServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server RoleServiceServer) error { - mux.Handle("POST", pattern_Role_CreateRole_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("POST", pattern_RoleService_CreateRole_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.v3.Role/CreateRole", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/roles")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.role.v3.RoleService/CreateRole", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/roles")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Role_CreateRole_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_RoleService_CreateRole_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Role_CreateRole_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_RoleService_CreateRole_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Role_GetRoles_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_RoleService_GetRoles_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.v3.Role/GetRoles", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/roles")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.role.v3.RoleService/GetRoles", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/roles")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Role_GetRoles_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_RoleService_GetRoles_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Role_GetRoles_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_RoleService_GetRoles_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Role_GetRole_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_RoleService_GetRole_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.v3.Role/GetRole", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/role/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.role.v3.RoleService/GetRole", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/role/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Role_GetRole_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_RoleService_GetRole_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Role_GetRole_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_RoleService_GetRole_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("PUT", pattern_Role_UpdateRole_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("PUT", pattern_RoleService_UpdateRole_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.v3.Role/UpdateRole", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/role/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.role.v3.RoleService/UpdateRole", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/role/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Role_UpdateRole_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_RoleService_UpdateRole_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Role_UpdateRole_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_RoleService_UpdateRole_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("DELETE", pattern_Role_DeleteRole_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("DELETE", pattern_RoleService_DeleteRole_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.v3.Role/DeleteRole", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/role/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.role.v3.RoleService/DeleteRole", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/role/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Role_DeleteRole_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_RoleService_DeleteRole_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Role_DeleteRole_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_RoleService_DeleteRole_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) return nil } -// RegisterRoleHandlerFromEndpoint is same as RegisterRoleHandler but +// RegisterRoleServiceHandlerFromEndpoint is same as RegisterRoleServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. -func RegisterRoleHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { +func RegisterRoleServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { conn, err := grpc.Dial(endpoint, opts...) if err != nil { return err @@ -684,119 +694,129 @@ func RegisterRoleHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, }() }() - return RegisterRoleHandler(ctx, mux, conn) + return RegisterRoleServiceHandler(ctx, mux, conn) } -// RegisterRoleHandler registers the http handlers for service Role to "mux". +// RegisterRoleServiceHandler registers the http handlers for service RoleService to "mux". // The handlers forward requests to the grpc endpoint over "conn". -func RegisterRoleHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { - return RegisterRoleHandlerClient(ctx, mux, NewRoleClient(conn)) +func RegisterRoleServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { + return RegisterRoleServiceHandlerClient(ctx, mux, NewRoleServiceClient(conn)) } -// RegisterRoleHandlerClient registers the http handlers for service Role -// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "RoleClient". -// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "RoleClient" +// RegisterRoleServiceHandlerClient registers the http handlers for service RoleService +// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "RoleServiceClient". +// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "RoleServiceClient" // doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in -// "RoleClient" to call the correct interceptors. -func RegisterRoleHandlerClient(ctx context.Context, mux *runtime.ServeMux, client RoleClient) error { +// "RoleServiceClient" to call the correct interceptors. +func RegisterRoleServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client RoleServiceClient) error { - mux.Handle("POST", pattern_Role_CreateRole_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("POST", pattern_RoleService_CreateRole_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.v3.Role/CreateRole", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/roles")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.role.v3.RoleService/CreateRole", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/roles")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_Role_CreateRole_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_RoleService_CreateRole_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Role_CreateRole_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_RoleService_CreateRole_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Role_GetRoles_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_RoleService_GetRoles_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.v3.Role/GetRoles", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/roles")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.role.v3.RoleService/GetRoles", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/roles")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_Role_GetRoles_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_RoleService_GetRoles_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Role_GetRoles_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_RoleService_GetRoles_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Role_GetRole_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_RoleService_GetRole_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.v3.Role/GetRole", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/role/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.role.v3.RoleService/GetRole", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/role/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_Role_GetRole_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_RoleService_GetRole_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Role_GetRole_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_RoleService_GetRole_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("PUT", pattern_Role_UpdateRole_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("PUT", pattern_RoleService_UpdateRole_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.v3.Role/UpdateRole", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/role/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.role.v3.RoleService/UpdateRole", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/role/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_Role_UpdateRole_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_RoleService_UpdateRole_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Role_UpdateRole_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_RoleService_UpdateRole_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("DELETE", pattern_Role_DeleteRole_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("DELETE", pattern_RoleService_DeleteRole_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.v3.Role/DeleteRole", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/role/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.role.v3.RoleService/DeleteRole", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/role/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_Role_DeleteRole_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_RoleService_DeleteRole_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Role_DeleteRole_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_RoleService_DeleteRole_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) @@ -804,25 +824,25 @@ func RegisterRoleHandlerClient(ctx context.Context, mux *runtime.ServeMux, clien } var ( - pattern_Role_CreateRole_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4, 1, 0, 4, 1, 5, 5, 2, 6}, []string{"auth", "v3", "partner", "metadata.partner", "organization", "metadata.organization", "roles"}, "")) + pattern_RoleService_CreateRole_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4, 1, 0, 4, 1, 5, 5, 2, 6}, []string{"auth", "v3", "partner", "metadata.partner", "organization", "metadata.organization", "roles"}, "")) - pattern_Role_GetRoles_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4, 1, 0, 4, 1, 5, 5, 2, 6}, []string{"auth", "v3", "partner", "metadata.partner", "organization", "metadata.organization", "roles"}, "")) + pattern_RoleService_GetRoles_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4, 1, 0, 4, 1, 5, 5, 2, 6}, []string{"auth", "v3", "partner", "metadata.partner", "organization", "metadata.organization", "roles"}, "")) - pattern_Role_GetRole_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4, 1, 0, 4, 1, 5, 5, 2, 6, 1, 0, 4, 1, 5, 7}, []string{"auth", "v3", "partner", "metadata.partner", "organization", "metadata.organization", "role", "metadata.name"}, "")) + pattern_RoleService_GetRole_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4, 1, 0, 4, 1, 5, 5, 2, 6, 1, 0, 4, 1, 5, 7}, []string{"auth", "v3", "partner", "metadata.partner", "organization", "metadata.organization", "role", "metadata.name"}, "")) - pattern_Role_UpdateRole_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4, 1, 0, 4, 1, 5, 5, 2, 6, 1, 0, 4, 1, 5, 7}, []string{"auth", "v3", "partner", "metadata.partner", "organization", "metadata.organization", "role", "metadata.name"}, "")) + pattern_RoleService_UpdateRole_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4, 1, 0, 4, 1, 5, 5, 2, 6, 1, 0, 4, 1, 5, 7}, []string{"auth", "v3", "partner", "metadata.partner", "organization", "metadata.organization", "role", "metadata.name"}, "")) - pattern_Role_DeleteRole_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4, 1, 0, 4, 1, 5, 5, 2, 6, 1, 0, 4, 1, 5, 7}, []string{"auth", "v3", "partner", "metadata.partner", "organization", "metadata.organization", "role", "metadata.name"}, "")) + pattern_RoleService_DeleteRole_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4, 1, 0, 4, 1, 5, 5, 2, 6, 1, 0, 4, 1, 5, 7}, []string{"auth", "v3", "partner", "metadata.partner", "organization", "metadata.organization", "role", "metadata.name"}, "")) ) var ( - forward_Role_CreateRole_0 = runtime.ForwardResponseMessage + forward_RoleService_CreateRole_0 = runtime.ForwardResponseMessage - forward_Role_GetRoles_0 = runtime.ForwardResponseMessage + forward_RoleService_GetRoles_0 = runtime.ForwardResponseMessage - forward_Role_GetRole_0 = runtime.ForwardResponseMessage + forward_RoleService_GetRole_0 = runtime.ForwardResponseMessage - forward_Role_UpdateRole_0 = runtime.ForwardResponseMessage + forward_RoleService_UpdateRole_0 = runtime.ForwardResponseMessage - forward_Role_DeleteRole_0 = runtime.ForwardResponseMessage + forward_RoleService_DeleteRole_0 = runtime.ForwardResponseMessage ) diff --git a/proto/rpc/role/role.proto b/proto/rpc/role/role.proto index 8810a083..a7f87d71 100644 --- a/proto/rpc/role/role.proto +++ b/proto/rpc/role/role.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package paralus.dev.rpc.v3; +package paralus.dev.rpc.role.v3; import "google/api/annotations.proto"; import "protoc-gen-openapiv2/options/annotations.proto"; @@ -52,7 +52,7 @@ option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = { } }; -service Role { +service RoleService { rpc CreateRole(paralus.dev.types.role.v3.Role) returns (paralus.dev.types.role.v3.Role) { option (google.api.http) = { diff --git a/proto/rpc/role/role_grpc.pb.go b/proto/rpc/role/role_grpc.pb.go index dee28547..c1220f9a 100644 --- a/proto/rpc/role/role_grpc.pb.go +++ b/proto/rpc/role/role_grpc.pb.go @@ -4,7 +4,7 @@ // - protoc (unknown) // source: proto/rpc/role/role.proto -package rpcv3 +package rolev3 import ( context "context" @@ -19,10 +19,10 @@ import ( // Requires gRPC-Go v1.32.0 or later. const _ = grpc.SupportPackageIsVersion7 -// RoleClient is the client API for Role service. +// RoleServiceClient is the client API for RoleService service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. -type RoleClient interface { +type RoleServiceClient interface { CreateRole(ctx context.Context, in *v3.Role, opts ...grpc.CallOption) (*v3.Role, error) GetRoles(ctx context.Context, in *v3.Role, opts ...grpc.CallOption) (*v3.RoleList, error) GetRole(ctx context.Context, in *v3.Role, opts ...grpc.CallOption) (*v3.Role, error) @@ -30,63 +30,63 @@ type RoleClient interface { DeleteRole(ctx context.Context, in *v3.Role, opts ...grpc.CallOption) (*v3.Role, error) } -type roleClient struct { +type roleServiceClient struct { cc grpc.ClientConnInterface } -func NewRoleClient(cc grpc.ClientConnInterface) RoleClient { - return &roleClient{cc} +func NewRoleServiceClient(cc grpc.ClientConnInterface) RoleServiceClient { + return &roleServiceClient{cc} } -func (c *roleClient) CreateRole(ctx context.Context, in *v3.Role, opts ...grpc.CallOption) (*v3.Role, error) { +func (c *roleServiceClient) CreateRole(ctx context.Context, in *v3.Role, opts ...grpc.CallOption) (*v3.Role, error) { out := new(v3.Role) - err := c.cc.Invoke(ctx, "/paralus.dev.rpc.v3.Role/CreateRole", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.rpc.role.v3.RoleService/CreateRole", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *roleClient) GetRoles(ctx context.Context, in *v3.Role, opts ...grpc.CallOption) (*v3.RoleList, error) { +func (c *roleServiceClient) GetRoles(ctx context.Context, in *v3.Role, opts ...grpc.CallOption) (*v3.RoleList, error) { out := new(v3.RoleList) - err := c.cc.Invoke(ctx, "/paralus.dev.rpc.v3.Role/GetRoles", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.rpc.role.v3.RoleService/GetRoles", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *roleClient) GetRole(ctx context.Context, in *v3.Role, opts ...grpc.CallOption) (*v3.Role, error) { +func (c *roleServiceClient) GetRole(ctx context.Context, in *v3.Role, opts ...grpc.CallOption) (*v3.Role, error) { out := new(v3.Role) - err := c.cc.Invoke(ctx, "/paralus.dev.rpc.v3.Role/GetRole", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.rpc.role.v3.RoleService/GetRole", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *roleClient) UpdateRole(ctx context.Context, in *v3.Role, opts ...grpc.CallOption) (*v3.Role, error) { +func (c *roleServiceClient) UpdateRole(ctx context.Context, in *v3.Role, opts ...grpc.CallOption) (*v3.Role, error) { out := new(v3.Role) - err := c.cc.Invoke(ctx, "/paralus.dev.rpc.v3.Role/UpdateRole", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.rpc.role.v3.RoleService/UpdateRole", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *roleClient) DeleteRole(ctx context.Context, in *v3.Role, opts ...grpc.CallOption) (*v3.Role, error) { +func (c *roleServiceClient) DeleteRole(ctx context.Context, in *v3.Role, opts ...grpc.CallOption) (*v3.Role, error) { out := new(v3.Role) - err := c.cc.Invoke(ctx, "/paralus.dev.rpc.v3.Role/DeleteRole", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.rpc.role.v3.RoleService/DeleteRole", in, out, opts...) if err != nil { return nil, err } return out, nil } -// RoleServer is the server API for Role service. -// All implementations should embed UnimplementedRoleServer +// RoleServiceServer is the server API for RoleService service. +// All implementations should embed UnimplementedRoleServiceServer // for forward compatibility -type RoleServer interface { +type RoleServiceServer interface { CreateRole(context.Context, *v3.Role) (*v3.Role, error) GetRoles(context.Context, *v3.Role) (*v3.RoleList, error) GetRole(context.Context, *v3.Role) (*v3.Role, error) @@ -94,153 +94,153 @@ type RoleServer interface { DeleteRole(context.Context, *v3.Role) (*v3.Role, error) } -// UnimplementedRoleServer should be embedded to have forward compatible implementations. -type UnimplementedRoleServer struct { +// UnimplementedRoleServiceServer should be embedded to have forward compatible implementations. +type UnimplementedRoleServiceServer struct { } -func (UnimplementedRoleServer) CreateRole(context.Context, *v3.Role) (*v3.Role, error) { +func (UnimplementedRoleServiceServer) CreateRole(context.Context, *v3.Role) (*v3.Role, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateRole not implemented") } -func (UnimplementedRoleServer) GetRoles(context.Context, *v3.Role) (*v3.RoleList, error) { +func (UnimplementedRoleServiceServer) GetRoles(context.Context, *v3.Role) (*v3.RoleList, error) { return nil, status.Errorf(codes.Unimplemented, "method GetRoles not implemented") } -func (UnimplementedRoleServer) GetRole(context.Context, *v3.Role) (*v3.Role, error) { +func (UnimplementedRoleServiceServer) GetRole(context.Context, *v3.Role) (*v3.Role, error) { return nil, status.Errorf(codes.Unimplemented, "method GetRole not implemented") } -func (UnimplementedRoleServer) UpdateRole(context.Context, *v3.Role) (*v3.Role, error) { +func (UnimplementedRoleServiceServer) UpdateRole(context.Context, *v3.Role) (*v3.Role, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateRole not implemented") } -func (UnimplementedRoleServer) DeleteRole(context.Context, *v3.Role) (*v3.Role, error) { +func (UnimplementedRoleServiceServer) DeleteRole(context.Context, *v3.Role) (*v3.Role, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteRole not implemented") } -// UnsafeRoleServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to RoleServer will +// UnsafeRoleServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to RoleServiceServer will // result in compilation errors. -type UnsafeRoleServer interface { - mustEmbedUnimplementedRoleServer() +type UnsafeRoleServiceServer interface { + mustEmbedUnimplementedRoleServiceServer() } -func RegisterRoleServer(s grpc.ServiceRegistrar, srv RoleServer) { - s.RegisterService(&Role_ServiceDesc, srv) +func RegisterRoleServiceServer(s grpc.ServiceRegistrar, srv RoleServiceServer) { + s.RegisterService(&RoleService_ServiceDesc, srv) } -func _Role_CreateRole_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _RoleService_CreateRole_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v3.Role) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(RoleServer).CreateRole(ctx, in) + return srv.(RoleServiceServer).CreateRole(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.rpc.v3.Role/CreateRole", + FullMethod: "/paralus.dev.rpc.role.v3.RoleService/CreateRole", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RoleServer).CreateRole(ctx, req.(*v3.Role)) + return srv.(RoleServiceServer).CreateRole(ctx, req.(*v3.Role)) } return interceptor(ctx, in, info, handler) } -func _Role_GetRoles_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _RoleService_GetRoles_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v3.Role) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(RoleServer).GetRoles(ctx, in) + return srv.(RoleServiceServer).GetRoles(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.rpc.v3.Role/GetRoles", + FullMethod: "/paralus.dev.rpc.role.v3.RoleService/GetRoles", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RoleServer).GetRoles(ctx, req.(*v3.Role)) + return srv.(RoleServiceServer).GetRoles(ctx, req.(*v3.Role)) } return interceptor(ctx, in, info, handler) } -func _Role_GetRole_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _RoleService_GetRole_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v3.Role) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(RoleServer).GetRole(ctx, in) + return srv.(RoleServiceServer).GetRole(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.rpc.v3.Role/GetRole", + FullMethod: "/paralus.dev.rpc.role.v3.RoleService/GetRole", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RoleServer).GetRole(ctx, req.(*v3.Role)) + return srv.(RoleServiceServer).GetRole(ctx, req.(*v3.Role)) } return interceptor(ctx, in, info, handler) } -func _Role_UpdateRole_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _RoleService_UpdateRole_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v3.Role) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(RoleServer).UpdateRole(ctx, in) + return srv.(RoleServiceServer).UpdateRole(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.rpc.v3.Role/UpdateRole", + FullMethod: "/paralus.dev.rpc.role.v3.RoleService/UpdateRole", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RoleServer).UpdateRole(ctx, req.(*v3.Role)) + return srv.(RoleServiceServer).UpdateRole(ctx, req.(*v3.Role)) } return interceptor(ctx, in, info, handler) } -func _Role_DeleteRole_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _RoleService_DeleteRole_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v3.Role) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(RoleServer).DeleteRole(ctx, in) + return srv.(RoleServiceServer).DeleteRole(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.rpc.v3.Role/DeleteRole", + FullMethod: "/paralus.dev.rpc.role.v3.RoleService/DeleteRole", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RoleServer).DeleteRole(ctx, req.(*v3.Role)) + return srv.(RoleServiceServer).DeleteRole(ctx, req.(*v3.Role)) } return interceptor(ctx, in, info, handler) } -// Role_ServiceDesc is the grpc.ServiceDesc for Role service. +// RoleService_ServiceDesc is the grpc.ServiceDesc for RoleService service. // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) -var Role_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "paralus.dev.rpc.v3.Role", - HandlerType: (*RoleServer)(nil), +var RoleService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "paralus.dev.rpc.role.v3.RoleService", + HandlerType: (*RoleServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateRole", - Handler: _Role_CreateRole_Handler, + Handler: _RoleService_CreateRole_Handler, }, { MethodName: "GetRoles", - Handler: _Role_GetRoles_Handler, + Handler: _RoleService_GetRoles_Handler, }, { MethodName: "GetRole", - Handler: _Role_GetRole_Handler, + Handler: _RoleService_GetRole_Handler, }, { MethodName: "UpdateRole", - Handler: _Role_UpdateRole_Handler, + Handler: _RoleService_UpdateRole_Handler, }, { MethodName: "DeleteRole", - Handler: _Role_DeleteRole_Handler, + Handler: _RoleService_DeleteRole_Handler, }, }, Streams: []grpc.StreamDesc{}, diff --git a/proto/rpc/role/rolepermission.pb.go b/proto/rpc/role/rolepermission.pb.go index 8a35efa0..6e91895b 100644 --- a/proto/rpc/role/rolepermission.pb.go +++ b/proto/rpc/role/rolepermission.pb.go @@ -1,10 +1,10 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.27.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: proto/rpc/role/rolepermission.proto -package rpcv3 +package rolev3 import ( _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" @@ -28,66 +28,68 @@ var File_proto_rpc_role_rolepermission_proto protoreflect.FileDescriptor var file_proto_rpc_role_rolepermission_proto_rawDesc = []byte{ 0x0a, 0x23, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x72, 0x6f, 0x6c, 0x65, 0x2f, 0x72, 0x6f, 0x6c, 0x65, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x33, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, - 0x67, 0x65, 0x6e, 0x2d, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x6f, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2a, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, - 0x79, 0x70, 0x65, 0x73, 0x2f, 0x72, 0x6f, 0x6c, 0x65, 0x70, 0x62, 0x2f, 0x76, 0x33, 0x2f, 0x72, - 0x6f, 0x6c, 0x65, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, - 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x70, 0x62, 0x2f, 0x76, 0x33, 0x2f, 0x63, 0x6f, 0x6d, - 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0xa3, 0x01, 0x0a, 0x0e, 0x52, 0x6f, - 0x6c, 0x65, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x90, 0x01, 0x0a, - 0x12, 0x47, 0x65, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, - 0x6f, 0x6e, 0x73, 0x12, 0x29, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, - 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, - 0x33, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x2d, - 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, - 0x65, 0x73, 0x2e, 0x72, 0x6f, 0x6c, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x50, - 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x20, 0x82, - 0xd3, 0xe4, 0x93, 0x02, 0x1a, 0x12, 0x18, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x33, 0x2f, - 0x72, 0x6f, 0x6c, 0x65, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x42, - 0xc7, 0x04, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x33, 0x42, 0x13, 0x52, 0x6f, 0x6c, 0x65, - 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, - 0x01, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x61, - 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x72, 0x6f, 0x6c, 0x65, 0x3b, 0x72, 0x70, 0x63, - 0x76, 0x33, 0xa2, 0x02, 0x03, 0x50, 0x44, 0x52, 0xaa, 0x02, 0x12, 0x50, 0x61, 0x72, 0x61, 0x6c, - 0x75, 0x73, 0x2e, 0x44, 0x65, 0x76, 0x2e, 0x52, 0x70, 0x63, 0x2e, 0x56, 0x33, 0xca, 0x02, 0x12, - 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x5c, 0x44, 0x65, 0x76, 0x5c, 0x52, 0x70, 0x63, 0x5c, - 0x56, 0x33, 0xe2, 0x02, 0x1e, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x5c, 0x44, 0x65, 0x76, - 0x5c, 0x52, 0x70, 0x63, 0x5c, 0x56, 0x33, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, - 0x61, 0x74, 0x61, 0xea, 0x02, 0x15, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x3a, 0x3a, 0x44, - 0x65, 0x76, 0x3a, 0x3a, 0x52, 0x70, 0x63, 0x3a, 0x3a, 0x56, 0x33, 0x92, 0x41, 0xfa, 0x02, 0x12, - 0x37, 0x0a, 0x21, 0x52, 0x6f, 0x6c, 0x65, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, - 0x6e, 0x20, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x20, 0x53, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x22, 0x0d, 0x0a, 0x0b, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x20, - 0x44, 0x65, 0x76, 0x32, 0x03, 0x32, 0x2e, 0x30, 0x2a, 0x01, 0x02, 0x32, 0x10, 0x61, 0x70, 0x70, - 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x32, 0x10, 0x61, - 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x79, 0x61, 0x6d, 0x6c, 0x3a, - 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, - 0x6e, 0x3a, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x79, - 0x61, 0x6d, 0x6c, 0x52, 0x5a, 0x0a, 0x03, 0x34, 0x30, 0x33, 0x12, 0x53, 0x0a, 0x51, 0x52, 0x65, - 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, - 0x72, 0x6f, 0x6c, 0x65, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x20, 0x64, - 0x6f, 0x65, 0x73, 0x20, 0x6e, 0x6f, 0x74, 0x20, 0x68, 0x61, 0x76, 0x65, 0x20, 0x70, 0x65, 0x72, - 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x20, 0x74, 0x6f, 0x20, 0x61, 0x63, 0x63, 0x65, 0x73, - 0x73, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x52, - 0x3b, 0x0a, 0x03, 0x34, 0x30, 0x34, 0x12, 0x34, 0x0a, 0x2a, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, - 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, - 0x75, 0x72, 0x63, 0x65, 0x20, 0x64, 0x6f, 0x65, 0x73, 0x20, 0x6e, 0x6f, 0x74, 0x20, 0x65, 0x78, - 0x69, 0x73, 0x74, 0x2e, 0x12, 0x06, 0x0a, 0x04, 0x9a, 0x02, 0x01, 0x07, 0x5a, 0x3a, 0x0a, 0x27, - 0x0a, 0x0a, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x12, 0x19, 0x08, 0x02, - 0x1a, 0x13, 0x58, 0x2d, 0x50, 0x41, 0x52, 0x41, 0x4c, 0x55, 0x53, 0x2d, 0x41, 0x50, 0x49, 0x2d, - 0x4b, 0x45, 0x59, 0x49, 0x44, 0x20, 0x02, 0x0a, 0x0f, 0x0a, 0x09, 0x42, 0x61, 0x73, 0x69, 0x63, - 0x41, 0x75, 0x74, 0x68, 0x12, 0x02, 0x08, 0x01, 0x62, 0x1f, 0x0a, 0x0e, 0x0a, 0x0a, 0x41, 0x70, - 0x69, 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x12, 0x00, 0x0a, 0x0d, 0x0a, 0x09, 0x42, 0x61, - 0x73, 0x69, 0x63, 0x41, 0x75, 0x74, 0x68, 0x12, 0x00, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x72, 0x6f, 0x6c, 0x65, 0x2e, 0x76, 0x33, 0x1a, 0x1c, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, + 0x76, 0x32, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2a, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x72, 0x6f, 0x6c, 0x65, 0x70, 0x62, + 0x2f, 0x76, 0x33, 0x2f, 0x72, 0x6f, 0x6c, 0x65, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, + 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x70, 0x62, 0x2f, 0x76, + 0x33, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0xaa, + 0x01, 0x0a, 0x15, 0x52, 0x6f, 0x6c, 0x65, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x90, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74, + 0x52, 0x6f, 0x6c, 0x65, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, + 0x29, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, + 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x51, 0x75, + 0x65, 0x72, 0x79, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x2d, 0x2e, 0x70, 0x61, 0x72, + 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x72, + 0x6f, 0x6c, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x50, 0x65, 0x72, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x20, 0x82, 0xd3, 0xe4, 0x93, 0x02, + 0x1a, 0x12, 0x18, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x33, 0x2f, 0x72, 0x6f, 0x6c, 0x65, + 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0xe3, 0x04, 0x0a, 0x1b, + 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x72, 0x70, 0x63, 0x2e, 0x72, 0x6f, 0x6c, 0x65, 0x2e, 0x76, 0x33, 0x42, 0x13, 0x52, 0x6f, 0x6c, + 0x65, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, + 0x50, 0x01, 0x5a, 0x30, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, + 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x72, 0x6f, 0x6c, 0x65, 0x3b, 0x72, 0x6f, + 0x6c, 0x65, 0x76, 0x33, 0xa2, 0x02, 0x04, 0x50, 0x44, 0x52, 0x52, 0xaa, 0x02, 0x17, 0x50, 0x61, + 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x44, 0x65, 0x76, 0x2e, 0x52, 0x70, 0x63, 0x2e, 0x52, 0x6f, + 0x6c, 0x65, 0x2e, 0x56, 0x33, 0xca, 0x02, 0x17, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x5c, + 0x44, 0x65, 0x76, 0x5c, 0x52, 0x70, 0x63, 0x5c, 0x52, 0x6f, 0x6c, 0x65, 0x5c, 0x56, 0x33, 0xe2, + 0x02, 0x23, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x5c, 0x44, 0x65, 0x76, 0x5c, 0x52, 0x70, + 0x63, 0x5c, 0x52, 0x6f, 0x6c, 0x65, 0x5c, 0x56, 0x33, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1b, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x3a, + 0x3a, 0x44, 0x65, 0x76, 0x3a, 0x3a, 0x52, 0x70, 0x63, 0x3a, 0x3a, 0x52, 0x6f, 0x6c, 0x65, 0x3a, + 0x3a, 0x56, 0x33, 0x92, 0x41, 0xfa, 0x02, 0x12, 0x37, 0x0a, 0x21, 0x52, 0x6f, 0x6c, 0x65, 0x70, + 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x20, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, + 0x6d, 0x65, 0x6e, 0x74, 0x20, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x22, 0x0d, 0x0a, 0x0b, + 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x20, 0x44, 0x65, 0x76, 0x32, 0x03, 0x32, 0x2e, 0x30, + 0x2a, 0x01, 0x02, 0x32, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x32, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x2f, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x79, 0x61, 0x6d, 0x6c, 0x52, 0x5a, 0x0a, 0x03, 0x34, + 0x30, 0x33, 0x12, 0x53, 0x0a, 0x51, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, + 0x68, 0x65, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x6f, 0x6c, 0x65, 0x70, 0x65, 0x72, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x20, 0x64, 0x6f, 0x65, 0x73, 0x20, 0x6e, 0x6f, 0x74, 0x20, + 0x68, 0x61, 0x76, 0x65, 0x20, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x20, + 0x74, 0x6f, 0x20, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x52, 0x3b, 0x0a, 0x03, 0x34, 0x30, 0x34, 0x12, 0x34, + 0x0a, 0x2a, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, + 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x20, 0x64, 0x6f, 0x65, + 0x73, 0x20, 0x6e, 0x6f, 0x74, 0x20, 0x65, 0x78, 0x69, 0x73, 0x74, 0x2e, 0x12, 0x06, 0x0a, 0x04, + 0x9a, 0x02, 0x01, 0x07, 0x5a, 0x3a, 0x0a, 0x27, 0x0a, 0x0a, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, + 0x41, 0x75, 0x74, 0x68, 0x12, 0x19, 0x08, 0x02, 0x1a, 0x13, 0x58, 0x2d, 0x50, 0x41, 0x52, 0x41, + 0x4c, 0x55, 0x53, 0x2d, 0x41, 0x50, 0x49, 0x2d, 0x4b, 0x45, 0x59, 0x49, 0x44, 0x20, 0x02, 0x0a, + 0x0f, 0x0a, 0x09, 0x42, 0x61, 0x73, 0x69, 0x63, 0x41, 0x75, 0x74, 0x68, 0x12, 0x02, 0x08, 0x01, + 0x62, 0x1f, 0x0a, 0x0e, 0x0a, 0x0a, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, + 0x12, 0x00, 0x0a, 0x0d, 0x0a, 0x09, 0x42, 0x61, 0x73, 0x69, 0x63, 0x41, 0x75, 0x74, 0x68, 0x12, + 0x00, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var file_proto_rpc_role_rolepermission_proto_goTypes = []interface{}{ @@ -95,8 +97,8 @@ var file_proto_rpc_role_rolepermission_proto_goTypes = []interface{}{ (*v31.RolePermissionList)(nil), // 1: paralus.dev.types.role.v3.RolePermissionList } var file_proto_rpc_role_rolepermission_proto_depIdxs = []int32{ - 0, // 0: paralus.dev.rpc.v3.Rolepermission.GetRolepermissions:input_type -> paralus.dev.types.common.v3.QueryOptions - 1, // 1: paralus.dev.rpc.v3.Rolepermission.GetRolepermissions:output_type -> paralus.dev.types.role.v3.RolePermissionList + 0, // 0: paralus.dev.rpc.role.v3.RolepermissionService.GetRolepermissions:input_type -> paralus.dev.types.common.v3.QueryOptions + 1, // 1: paralus.dev.rpc.role.v3.RolepermissionService.GetRolepermissions:output_type -> paralus.dev.types.role.v3.RolePermissionList 1, // [1:2] is the sub-list for method output_type 0, // [0:1] is the sub-list for method input_type 0, // [0:0] is the sub-list for extension type_name diff --git a/proto/rpc/role/rolepermission.pb.gw.go b/proto/rpc/role/rolepermission.pb.gw.go index 92d4f6ab..e3a8c1e6 100644 --- a/proto/rpc/role/rolepermission.pb.gw.go +++ b/proto/rpc/role/rolepermission.pb.gw.go @@ -2,11 +2,11 @@ // source: proto/rpc/role/rolepermission.proto /* -Package rpcv3 is a reverse proxy. +Package rolev3 is a reverse proxy. It translates gRPC into RESTful JSON APIs. */ -package rpcv3 +package rolev3 import ( "context" @@ -33,17 +33,17 @@ var _ = utilities.NewDoubleArray var _ = metadata.Join var ( - filter_Rolepermission_GetRolepermissions_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} + filter_RolepermissionService_GetRolepermissions_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} ) -func request_Rolepermission_GetRolepermissions_0(ctx context.Context, marshaler runtime.Marshaler, client RolepermissionClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_RolepermissionService_GetRolepermissions_0(ctx context.Context, marshaler runtime.Marshaler, client RolepermissionServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq commonv3.QueryOptions var metadata runtime.ServerMetadata if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Rolepermission_GetRolepermissions_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_RolepermissionService_GetRolepermissions_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -52,14 +52,14 @@ func request_Rolepermission_GetRolepermissions_0(ctx context.Context, marshaler } -func local_request_Rolepermission_GetRolepermissions_0(ctx context.Context, marshaler runtime.Marshaler, server RolepermissionServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_RolepermissionService_GetRolepermissions_0(ctx context.Context, marshaler runtime.Marshaler, server RolepermissionServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq commonv3.QueryOptions var metadata runtime.ServerMetadata if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Rolepermission_GetRolepermissions_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_RolepermissionService_GetRolepermissions_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -68,41 +68,43 @@ func local_request_Rolepermission_GetRolepermissions_0(ctx context.Context, mars } -// RegisterRolepermissionHandlerServer registers the http handlers for service Rolepermission to "mux". -// UnaryRPC :call RolepermissionServer directly. +// RegisterRolepermissionServiceHandlerServer registers the http handlers for service RolepermissionService to "mux". +// UnaryRPC :call RolepermissionServiceServer directly. // StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. -// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterRolepermissionHandlerFromEndpoint instead. -func RegisterRolepermissionHandlerServer(ctx context.Context, mux *runtime.ServeMux, server RolepermissionServer) error { +// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterRolepermissionServiceHandlerFromEndpoint instead. +func RegisterRolepermissionServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server RolepermissionServiceServer) error { - mux.Handle("GET", pattern_Rolepermission_GetRolepermissions_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_RolepermissionService_GetRolepermissions_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.v3.Rolepermission/GetRolepermissions", runtime.WithHTTPPathPattern("/auth/v3/rolepermissions")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.role.v3.RolepermissionService/GetRolepermissions", runtime.WithHTTPPathPattern("/auth/v3/rolepermissions")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Rolepermission_GetRolepermissions_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_RolepermissionService_GetRolepermissions_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Rolepermission_GetRolepermissions_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_RolepermissionService_GetRolepermissions_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) return nil } -// RegisterRolepermissionHandlerFromEndpoint is same as RegisterRolepermissionHandler but +// RegisterRolepermissionServiceHandlerFromEndpoint is same as RegisterRolepermissionServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. -func RegisterRolepermissionHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { +func RegisterRolepermissionServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { conn, err := grpc.Dial(endpoint, opts...) if err != nil { return err @@ -122,39 +124,41 @@ func RegisterRolepermissionHandlerFromEndpoint(ctx context.Context, mux *runtime }() }() - return RegisterRolepermissionHandler(ctx, mux, conn) + return RegisterRolepermissionServiceHandler(ctx, mux, conn) } -// RegisterRolepermissionHandler registers the http handlers for service Rolepermission to "mux". +// RegisterRolepermissionServiceHandler registers the http handlers for service RolepermissionService to "mux". // The handlers forward requests to the grpc endpoint over "conn". -func RegisterRolepermissionHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { - return RegisterRolepermissionHandlerClient(ctx, mux, NewRolepermissionClient(conn)) +func RegisterRolepermissionServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { + return RegisterRolepermissionServiceHandlerClient(ctx, mux, NewRolepermissionServiceClient(conn)) } -// RegisterRolepermissionHandlerClient registers the http handlers for service Rolepermission -// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "RolepermissionClient". -// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "RolepermissionClient" +// RegisterRolepermissionServiceHandlerClient registers the http handlers for service RolepermissionService +// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "RolepermissionServiceClient". +// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "RolepermissionServiceClient" // doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in -// "RolepermissionClient" to call the correct interceptors. -func RegisterRolepermissionHandlerClient(ctx context.Context, mux *runtime.ServeMux, client RolepermissionClient) error { +// "RolepermissionServiceClient" to call the correct interceptors. +func RegisterRolepermissionServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client RolepermissionServiceClient) error { - mux.Handle("GET", pattern_Rolepermission_GetRolepermissions_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_RolepermissionService_GetRolepermissions_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.v3.Rolepermission/GetRolepermissions", runtime.WithHTTPPathPattern("/auth/v3/rolepermissions")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.role.v3.RolepermissionService/GetRolepermissions", runtime.WithHTTPPathPattern("/auth/v3/rolepermissions")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_Rolepermission_GetRolepermissions_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_RolepermissionService_GetRolepermissions_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Rolepermission_GetRolepermissions_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_RolepermissionService_GetRolepermissions_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) @@ -162,9 +166,9 @@ func RegisterRolepermissionHandlerClient(ctx context.Context, mux *runtime.Serve } var ( - pattern_Rolepermission_GetRolepermissions_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"auth", "v3", "rolepermissions"}, "")) + pattern_RolepermissionService_GetRolepermissions_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"auth", "v3", "rolepermissions"}, "")) ) var ( - forward_Rolepermission_GetRolepermissions_0 = runtime.ForwardResponseMessage + forward_RolepermissionService_GetRolepermissions_0 = runtime.ForwardResponseMessage ) diff --git a/proto/rpc/role/rolepermission.proto b/proto/rpc/role/rolepermission.proto index e6e1e5fd..936ed2fa 100644 --- a/proto/rpc/role/rolepermission.proto +++ b/proto/rpc/role/rolepermission.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package paralus.dev.rpc.v3; +package paralus.dev.rpc.role.v3; import "google/api/annotations.proto"; import "protoc-gen-openapiv2/options/annotations.proto"; @@ -54,7 +54,7 @@ option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = { } }; -service Rolepermission { +service RolepermissionService { rpc GetRolepermissions(paralus.dev.types.common.v3.QueryOptions) returns (paralus.dev.types.role.v3.RolePermissionList) { option (google.api.http) = { diff --git a/proto/rpc/role/rolepermission_grpc.pb.go b/proto/rpc/role/rolepermission_grpc.pb.go index 9da4c7ee..174a0f93 100644 --- a/proto/rpc/role/rolepermission_grpc.pb.go +++ b/proto/rpc/role/rolepermission_grpc.pb.go @@ -4,7 +4,7 @@ // - protoc (unknown) // source: proto/rpc/role/rolepermission.proto -package rpcv3 +package rolev3 import ( context "context" @@ -20,84 +20,84 @@ import ( // Requires gRPC-Go v1.32.0 or later. const _ = grpc.SupportPackageIsVersion7 -// RolepermissionClient is the client API for Rolepermission service. +// RolepermissionServiceClient is the client API for RolepermissionService service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. -type RolepermissionClient interface { +type RolepermissionServiceClient interface { GetRolepermissions(ctx context.Context, in *v3.QueryOptions, opts ...grpc.CallOption) (*v31.RolePermissionList, error) } -type rolepermissionClient struct { +type rolepermissionServiceClient struct { cc grpc.ClientConnInterface } -func NewRolepermissionClient(cc grpc.ClientConnInterface) RolepermissionClient { - return &rolepermissionClient{cc} +func NewRolepermissionServiceClient(cc grpc.ClientConnInterface) RolepermissionServiceClient { + return &rolepermissionServiceClient{cc} } -func (c *rolepermissionClient) GetRolepermissions(ctx context.Context, in *v3.QueryOptions, opts ...grpc.CallOption) (*v31.RolePermissionList, error) { +func (c *rolepermissionServiceClient) GetRolepermissions(ctx context.Context, in *v3.QueryOptions, opts ...grpc.CallOption) (*v31.RolePermissionList, error) { out := new(v31.RolePermissionList) - err := c.cc.Invoke(ctx, "/paralus.dev.rpc.v3.Rolepermission/GetRolepermissions", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.rpc.role.v3.RolepermissionService/GetRolepermissions", in, out, opts...) if err != nil { return nil, err } return out, nil } -// RolepermissionServer is the server API for Rolepermission service. -// All implementations should embed UnimplementedRolepermissionServer +// RolepermissionServiceServer is the server API for RolepermissionService service. +// All implementations should embed UnimplementedRolepermissionServiceServer // for forward compatibility -type RolepermissionServer interface { +type RolepermissionServiceServer interface { GetRolepermissions(context.Context, *v3.QueryOptions) (*v31.RolePermissionList, error) } -// UnimplementedRolepermissionServer should be embedded to have forward compatible implementations. -type UnimplementedRolepermissionServer struct { +// UnimplementedRolepermissionServiceServer should be embedded to have forward compatible implementations. +type UnimplementedRolepermissionServiceServer struct { } -func (UnimplementedRolepermissionServer) GetRolepermissions(context.Context, *v3.QueryOptions) (*v31.RolePermissionList, error) { +func (UnimplementedRolepermissionServiceServer) GetRolepermissions(context.Context, *v3.QueryOptions) (*v31.RolePermissionList, error) { return nil, status.Errorf(codes.Unimplemented, "method GetRolepermissions not implemented") } -// UnsafeRolepermissionServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to RolepermissionServer will +// UnsafeRolepermissionServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to RolepermissionServiceServer will // result in compilation errors. -type UnsafeRolepermissionServer interface { - mustEmbedUnimplementedRolepermissionServer() +type UnsafeRolepermissionServiceServer interface { + mustEmbedUnimplementedRolepermissionServiceServer() } -func RegisterRolepermissionServer(s grpc.ServiceRegistrar, srv RolepermissionServer) { - s.RegisterService(&Rolepermission_ServiceDesc, srv) +func RegisterRolepermissionServiceServer(s grpc.ServiceRegistrar, srv RolepermissionServiceServer) { + s.RegisterService(&RolepermissionService_ServiceDesc, srv) } -func _Rolepermission_GetRolepermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _RolepermissionService_GetRolepermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v3.QueryOptions) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(RolepermissionServer).GetRolepermissions(ctx, in) + return srv.(RolepermissionServiceServer).GetRolepermissions(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.rpc.v3.Rolepermission/GetRolepermissions", + FullMethod: "/paralus.dev.rpc.role.v3.RolepermissionService/GetRolepermissions", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(RolepermissionServer).GetRolepermissions(ctx, req.(*v3.QueryOptions)) + return srv.(RolepermissionServiceServer).GetRolepermissions(ctx, req.(*v3.QueryOptions)) } return interceptor(ctx, in, info, handler) } -// Rolepermission_ServiceDesc is the grpc.ServiceDesc for Rolepermission service. +// RolepermissionService_ServiceDesc is the grpc.ServiceDesc for RolepermissionService service. // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) -var Rolepermission_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "paralus.dev.rpc.v3.Rolepermission", - HandlerType: (*RolepermissionServer)(nil), +var RolepermissionService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "paralus.dev.rpc.role.v3.RolepermissionService", + HandlerType: (*RolepermissionServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetRolepermissions", - Handler: _Rolepermission_GetRolepermissions_Handler, + Handler: _RolepermissionService_GetRolepermissions_Handler, }, }, Streams: []grpc.StreamDesc{}, diff --git a/proto/rpc/scheduler/cluster.pb.go b/proto/rpc/scheduler/cluster.pb.go index dd16b278..37f1587f 100644 --- a/proto/rpc/scheduler/cluster.pb.go +++ b/proto/rpc/scheduler/cluster.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.27.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: proto/rpc/scheduler/cluster.proto @@ -201,110 +201,111 @@ var file_proto_rpc_scheduler_cluster_proto_rawDesc = []byte{ 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x63, 0x61, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x22, 0x17, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xc0, 0x08, 0x0a, 0x07, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, - 0x72, 0x12, 0xcb, 0x01, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x75, 0x73, - 0x74, 0x65, 0x72, 0x12, 0x23, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, - 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2e, 0x76, 0x33, - 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x1a, 0x23, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, - 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x69, 0x6e, 0x66, - 0x72, 0x61, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x22, 0x70, 0x92, - 0x41, 0x36, 0x4a, 0x34, 0x0a, 0x03, 0x32, 0x30, 0x31, 0x12, 0x2d, 0x0a, 0x2b, 0x52, 0x65, 0x74, - 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x65, 0x64, 0x67, 0x65, 0x20, - 0x69, 0x73, 0x20, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x20, 0x73, 0x75, 0x63, 0x63, 0x65, - 0x73, 0x73, 0x66, 0x75, 0x6c, 0x6c, 0x79, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x31, 0x22, 0x2c, - 0x2f, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, - 0x74, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x6a, - 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x3a, 0x01, 0x2a, 0x12, - 0x8e, 0x01, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x12, - 0x29, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, - 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x51, 0x75, - 0x65, 0x72, 0x79, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x27, 0x2e, 0x70, 0x61, 0x72, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xc7, 0x08, 0x0a, 0x0e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, + 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xcb, 0x01, 0x0a, 0x0d, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x23, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x69, - 0x6e, 0x66, 0x72, 0x61, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4c, - 0x69, 0x73, 0x74, 0x22, 0x2b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x25, 0x12, 0x23, 0x2f, 0x69, 0x6e, - 0x66, 0x72, 0x61, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2f, 0x7b, - 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, - 0x12, 0x9c, 0x01, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, + 0x6e, 0x66, 0x72, 0x61, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x1a, 0x23, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x6c, 0x75, - 0x73, 0x74, 0x65, 0x72, 0x1a, 0x23, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2e, 0x76, - 0x33, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x22, 0x44, 0x82, 0xd3, 0xe4, 0x93, 0x02, - 0x3e, 0x12, 0x3c, 0x2f, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x72, 0x6f, - 0x6a, 0x65, 0x63, 0x74, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, - 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2f, - 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x12, - 0xa2, 0x01, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, - 0x72, 0x12, 0x23, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x73, 0x74, 0x65, 0x72, 0x22, 0x70, 0x92, 0x41, 0x36, 0x4a, 0x34, 0x0a, 0x03, 0x32, 0x30, 0x31, + 0x12, 0x2d, 0x0a, 0x2b, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, + 0x6e, 0x20, 0x65, 0x64, 0x67, 0x65, 0x20, 0x69, 0x73, 0x20, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x64, 0x20, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x66, 0x75, 0x6c, 0x6c, 0x79, 0x2e, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x31, 0x22, 0x2c, 0x2f, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2f, 0x76, 0x33, + 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x63, 0x6c, 0x75, 0x73, + 0x74, 0x65, 0x72, 0x3a, 0x01, 0x2a, 0x12, 0x8e, 0x01, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x43, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x12, 0x29, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, + 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x1a, 0x27, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2e, 0x76, 0x33, 0x2e, 0x43, - 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x1a, 0x23, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x69, 0x6e, 0x66, 0x72, 0x61, - 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x22, 0x47, 0x82, 0xd3, 0xe4, - 0x93, 0x02, 0x41, 0x1a, 0x3c, 0x2f, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2f, 0x76, 0x33, 0x2f, 0x70, - 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, - 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, - 0x72, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6e, 0x61, 0x6d, 0x65, - 0x7d, 0x3a, 0x01, 0x2a, 0x12, 0xe2, 0x01, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, + 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x2b, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x25, 0x12, 0x23, 0x2f, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, + 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x9c, 0x01, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x23, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x69, 0x6e, 0x66, 0x72, 0x61, - 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x1a, 0x29, 0x2e, 0x70, 0x61, - 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x33, - 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x80, 0x01, 0x92, 0x41, 0x39, 0x4a, 0x37, 0x0a, 0x03, - 0x32, 0x30, 0x34, 0x12, 0x30, 0x0a, 0x2e, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, - 0x77, 0x68, 0x65, 0x6e, 0x20, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x20, 0x69, 0x73, 0x20, - 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x20, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x66, - 0x75, 0x6c, 0x6c, 0x79, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3e, 0x2a, 0x3c, 0x2f, 0x69, 0x6e, - 0x66, 0x72, 0x61, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2f, 0x7b, - 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, - 0x7d, 0x2f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, - 0x61, 0x74, 0x61, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x12, 0xac, 0x01, 0x0a, 0x0f, 0x44, 0x6f, - 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x23, 0x2e, + 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x1a, 0x23, 0x2e, 0x70, 0x61, + 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, + 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, + 0x22, 0x44, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3e, 0x12, 0x3c, 0x2f, 0x69, 0x6e, 0x66, 0x72, 0x61, + 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2f, 0x7b, 0x6d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x63, + 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x12, 0xa2, 0x01, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x23, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, + 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x69, 0x6e, 0x66, + 0x72, 0x61, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x1a, 0x23, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, - 0x65, 0x72, 0x1a, 0x25, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, - 0x2e, 0x48, 0x74, 0x74, 0x70, 0x42, 0x6f, 0x64, 0x79, 0x22, 0x4d, 0x82, 0xd3, 0xe4, 0x93, 0x02, - 0x47, 0x12, 0x45, 0x2f, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x72, 0x6f, - 0x6a, 0x65, 0x63, 0x74, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, - 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2f, - 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x2f, - 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x42, 0xa9, 0x04, 0x0a, 0x16, 0x63, 0x6f, 0x6d, - 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x72, 0x70, 0x63, - 0x2e, 0x76, 0x33, 0x42, 0x0c, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, - 0x6f, 0x50, 0x01, 0x5a, 0x34, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, - 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, - 0x6c, 0x65, 0x72, 0x3b, 0x72, 0x70, 0x63, 0x76, 0x33, 0xa2, 0x02, 0x03, 0x50, 0x44, 0x52, 0xaa, - 0x02, 0x12, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x44, 0x65, 0x76, 0x2e, 0x52, 0x70, - 0x63, 0x2e, 0x56, 0x33, 0xca, 0x02, 0x12, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x5c, 0x44, - 0x65, 0x76, 0x5c, 0x52, 0x70, 0x63, 0x5c, 0x56, 0x33, 0xe2, 0x02, 0x1e, 0x50, 0x61, 0x72, 0x61, - 0x6c, 0x75, 0x73, 0x5c, 0x44, 0x65, 0x76, 0x5c, 0x52, 0x70, 0x63, 0x5c, 0x56, 0x33, 0x5c, 0x47, - 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x15, 0x50, 0x61, 0x72, - 0x61, 0x6c, 0x75, 0x73, 0x3a, 0x3a, 0x44, 0x65, 0x76, 0x3a, 0x3a, 0x52, 0x70, 0x63, 0x3a, 0x3a, - 0x56, 0x33, 0x92, 0x41, 0xde, 0x02, 0x12, 0x25, 0x0a, 0x0f, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, - 0x72, 0x20, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x22, 0x0d, 0x0a, 0x0b, 0x50, 0x61, 0x72, - 0x61, 0x6c, 0x75, 0x73, 0x20, 0x44, 0x65, 0x76, 0x32, 0x03, 0x33, 0x2e, 0x30, 0x2a, 0x01, 0x02, - 0x32, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, - 0x6f, 0x6e, 0x32, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, - 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x2f, 0x79, 0x61, 0x6d, 0x6c, 0x52, 0x50, 0x0a, 0x03, 0x34, 0x30, 0x33, 0x12, - 0x49, 0x0a, 0x47, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, - 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x64, 0x6f, 0x65, 0x73, 0x20, 0x6e, - 0x6f, 0x74, 0x20, 0x68, 0x61, 0x76, 0x65, 0x20, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, - 0x6f, 0x6e, 0x20, 0x74, 0x6f, 0x20, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x20, 0x74, 0x68, 0x65, - 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x52, 0x3b, 0x0a, 0x03, 0x34, 0x30, - 0x34, 0x12, 0x34, 0x0a, 0x2a, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, - 0x65, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x20, - 0x64, 0x6f, 0x65, 0x73, 0x20, 0x6e, 0x6f, 0x74, 0x20, 0x65, 0x78, 0x69, 0x73, 0x74, 0x2e, 0x12, - 0x06, 0x0a, 0x04, 0x9a, 0x02, 0x01, 0x07, 0x5a, 0x3a, 0x0a, 0x27, 0x0a, 0x0a, 0x41, 0x70, 0x69, - 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x12, 0x19, 0x08, 0x02, 0x1a, 0x13, 0x58, 0x2d, 0x50, - 0x41, 0x52, 0x41, 0x4c, 0x55, 0x53, 0x2d, 0x41, 0x50, 0x49, 0x2d, 0x4b, 0x45, 0x59, 0x49, 0x44, - 0x20, 0x02, 0x0a, 0x0f, 0x0a, 0x09, 0x42, 0x61, 0x73, 0x69, 0x63, 0x41, 0x75, 0x74, 0x68, 0x12, - 0x02, 0x08, 0x01, 0x62, 0x1f, 0x0a, 0x0e, 0x0a, 0x0a, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x41, - 0x75, 0x74, 0x68, 0x12, 0x00, 0x0a, 0x0d, 0x0a, 0x09, 0x42, 0x61, 0x73, 0x69, 0x63, 0x41, 0x75, - 0x74, 0x68, 0x12, 0x00, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x65, 0x72, 0x22, 0x47, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x41, 0x1a, 0x3c, 0x2f, 0x69, 0x6e, 0x66, + 0x72, 0x61, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2f, 0x7b, 0x6d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, + 0x2f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x3a, 0x01, 0x2a, 0x12, 0xe2, 0x01, 0x0a, 0x0d, + 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x23, 0x2e, + 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, + 0x73, 0x2e, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, + 0x65, 0x72, 0x1a, 0x29, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x33, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x80, 0x01, + 0x92, 0x41, 0x39, 0x4a, 0x37, 0x0a, 0x03, 0x32, 0x30, 0x34, 0x12, 0x30, 0x0a, 0x2e, 0x52, 0x65, + 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x70, 0x72, 0x6f, 0x6a, + 0x65, 0x63, 0x74, 0x20, 0x69, 0x73, 0x20, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x20, 0x73, + 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x66, 0x75, 0x6c, 0x6c, 0x79, 0x2e, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x3e, 0x2a, 0x3c, 0x2f, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, + 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, + 0x12, 0xac, 0x01, 0x0a, 0x0f, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x43, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x12, 0x23, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2e, 0x76, + 0x33, 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x1a, 0x25, 0x2e, 0x70, 0x61, 0x72, 0x61, + 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, + 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x42, 0x6f, 0x64, 0x79, + 0x22, 0x4d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x47, 0x12, 0x45, 0x2f, 0x69, 0x6e, 0x66, 0x72, 0x61, + 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2f, 0x7b, 0x6d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x63, + 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x2f, 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x42, + 0xa9, 0x04, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x33, 0x42, 0x0c, 0x43, 0x6c, 0x75, 0x73, + 0x74, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x34, 0x67, 0x69, 0x74, 0x68, + 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, + 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x72, 0x70, 0x63, + 0x2f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x3b, 0x72, 0x70, 0x63, 0x76, 0x33, + 0xa2, 0x02, 0x03, 0x50, 0x44, 0x52, 0xaa, 0x02, 0x12, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, + 0x2e, 0x44, 0x65, 0x76, 0x2e, 0x52, 0x70, 0x63, 0x2e, 0x56, 0x33, 0xca, 0x02, 0x12, 0x50, 0x61, + 0x72, 0x61, 0x6c, 0x75, 0x73, 0x5c, 0x44, 0x65, 0x76, 0x5c, 0x52, 0x70, 0x63, 0x5c, 0x56, 0x33, + 0xe2, 0x02, 0x1e, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x5c, 0x44, 0x65, 0x76, 0x5c, 0x52, + 0x70, 0x63, 0x5c, 0x56, 0x33, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0xea, 0x02, 0x15, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x3a, 0x3a, 0x44, 0x65, 0x76, + 0x3a, 0x3a, 0x52, 0x70, 0x63, 0x3a, 0x3a, 0x56, 0x33, 0x92, 0x41, 0xde, 0x02, 0x12, 0x25, 0x0a, + 0x0f, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x20, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x22, 0x0d, 0x0a, 0x0b, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x20, 0x44, 0x65, 0x76, 0x32, + 0x03, 0x33, 0x2e, 0x30, 0x2a, 0x01, 0x02, 0x32, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x32, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x10, 0x61, 0x70, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x10, 0x61, + 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x79, 0x61, 0x6d, 0x6c, 0x52, + 0x50, 0x0a, 0x03, 0x34, 0x30, 0x33, 0x12, 0x49, 0x0a, 0x47, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, + 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, + 0x20, 0x64, 0x6f, 0x65, 0x73, 0x20, 0x6e, 0x6f, 0x74, 0x20, 0x68, 0x61, 0x76, 0x65, 0x20, 0x70, + 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x20, 0x74, 0x6f, 0x20, 0x61, 0x63, 0x63, + 0x65, 0x73, 0x73, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x2e, 0x52, 0x3b, 0x0a, 0x03, 0x34, 0x30, 0x34, 0x12, 0x34, 0x0a, 0x2a, 0x52, 0x65, 0x74, 0x75, + 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x20, 0x64, 0x6f, 0x65, 0x73, 0x20, 0x6e, 0x6f, 0x74, 0x20, + 0x65, 0x78, 0x69, 0x73, 0x74, 0x2e, 0x12, 0x06, 0x0a, 0x04, 0x9a, 0x02, 0x01, 0x07, 0x5a, 0x3a, + 0x0a, 0x27, 0x0a, 0x0a, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x12, 0x19, + 0x08, 0x02, 0x1a, 0x13, 0x58, 0x2d, 0x50, 0x41, 0x52, 0x41, 0x4c, 0x55, 0x53, 0x2d, 0x41, 0x50, + 0x49, 0x2d, 0x4b, 0x45, 0x59, 0x49, 0x44, 0x20, 0x02, 0x0a, 0x0f, 0x0a, 0x09, 0x42, 0x61, 0x73, + 0x69, 0x63, 0x41, 0x75, 0x74, 0x68, 0x12, 0x02, 0x08, 0x01, 0x62, 0x1f, 0x0a, 0x0e, 0x0a, 0x0a, + 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x12, 0x00, 0x0a, 0x0d, 0x0a, 0x09, + 0x42, 0x61, 0x73, 0x69, 0x63, 0x41, 0x75, 0x74, 0x68, 0x12, 0x00, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, } var ( @@ -330,18 +331,18 @@ var file_proto_rpc_scheduler_cluster_proto_goTypes = []interface{}{ (*v31.HttpBody)(nil), // 6: paralus.dev.types.common.v3.HttpBody } var file_proto_rpc_scheduler_cluster_proto_depIdxs = []int32{ - 3, // 0: paralus.dev.rpc.v3.Cluster.CreateCluster:input_type -> paralus.dev.types.infra.v3.Cluster - 4, // 1: paralus.dev.rpc.v3.Cluster.GetClusters:input_type -> paralus.dev.types.common.v3.QueryOptions - 3, // 2: paralus.dev.rpc.v3.Cluster.GetCluster:input_type -> paralus.dev.types.infra.v3.Cluster - 3, // 3: paralus.dev.rpc.v3.Cluster.UpdateCluster:input_type -> paralus.dev.types.infra.v3.Cluster - 3, // 4: paralus.dev.rpc.v3.Cluster.DeleteCluster:input_type -> paralus.dev.types.infra.v3.Cluster - 3, // 5: paralus.dev.rpc.v3.Cluster.DownloadCluster:input_type -> paralus.dev.types.infra.v3.Cluster - 3, // 6: paralus.dev.rpc.v3.Cluster.CreateCluster:output_type -> paralus.dev.types.infra.v3.Cluster - 5, // 7: paralus.dev.rpc.v3.Cluster.GetClusters:output_type -> paralus.dev.types.infra.v3.ClusterList - 3, // 8: paralus.dev.rpc.v3.Cluster.GetCluster:output_type -> paralus.dev.types.infra.v3.Cluster - 3, // 9: paralus.dev.rpc.v3.Cluster.UpdateCluster:output_type -> paralus.dev.types.infra.v3.Cluster - 2, // 10: paralus.dev.rpc.v3.Cluster.DeleteCluster:output_type -> paralus.dev.rpc.v3.DeleteClusterResponse - 6, // 11: paralus.dev.rpc.v3.Cluster.DownloadCluster:output_type -> paralus.dev.types.common.v3.HttpBody + 3, // 0: paralus.dev.rpc.v3.ClusterService.CreateCluster:input_type -> paralus.dev.types.infra.v3.Cluster + 4, // 1: paralus.dev.rpc.v3.ClusterService.GetClusters:input_type -> paralus.dev.types.common.v3.QueryOptions + 3, // 2: paralus.dev.rpc.v3.ClusterService.GetCluster:input_type -> paralus.dev.types.infra.v3.Cluster + 3, // 3: paralus.dev.rpc.v3.ClusterService.UpdateCluster:input_type -> paralus.dev.types.infra.v3.Cluster + 3, // 4: paralus.dev.rpc.v3.ClusterService.DeleteCluster:input_type -> paralus.dev.types.infra.v3.Cluster + 3, // 5: paralus.dev.rpc.v3.ClusterService.DownloadCluster:input_type -> paralus.dev.types.infra.v3.Cluster + 3, // 6: paralus.dev.rpc.v3.ClusterService.CreateCluster:output_type -> paralus.dev.types.infra.v3.Cluster + 5, // 7: paralus.dev.rpc.v3.ClusterService.GetClusters:output_type -> paralus.dev.types.infra.v3.ClusterList + 3, // 8: paralus.dev.rpc.v3.ClusterService.GetCluster:output_type -> paralus.dev.types.infra.v3.Cluster + 3, // 9: paralus.dev.rpc.v3.ClusterService.UpdateCluster:output_type -> paralus.dev.types.infra.v3.Cluster + 2, // 10: paralus.dev.rpc.v3.ClusterService.DeleteCluster:output_type -> paralus.dev.rpc.v3.DeleteClusterResponse + 6, // 11: paralus.dev.rpc.v3.ClusterService.DownloadCluster:output_type -> paralus.dev.types.common.v3.HttpBody 6, // [6:12] is the sub-list for method output_type 0, // [0:6] is the sub-list for method input_type 0, // [0:0] is the sub-list for extension type_name diff --git a/proto/rpc/scheduler/cluster.pb.gw.go b/proto/rpc/scheduler/cluster.pb.gw.go index bd57d566..204cc469 100644 --- a/proto/rpc/scheduler/cluster.pb.gw.go +++ b/proto/rpc/scheduler/cluster.pb.gw.go @@ -33,7 +33,7 @@ var _ = runtime.String var _ = utilities.NewDoubleArray var _ = metadata.Join -func request_Cluster_CreateCluster_0(ctx context.Context, marshaler runtime.Marshaler, client ClusterClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_ClusterService_CreateCluster_0(ctx context.Context, marshaler runtime.Marshaler, client ClusterServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq infrav3.Cluster var metadata runtime.ServerMetadata @@ -67,7 +67,7 @@ func request_Cluster_CreateCluster_0(ctx context.Context, marshaler runtime.Mars } -func local_request_Cluster_CreateCluster_0(ctx context.Context, marshaler runtime.Marshaler, server ClusterServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_ClusterService_CreateCluster_0(ctx context.Context, marshaler runtime.Marshaler, server ClusterServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq infrav3.Cluster var metadata runtime.ServerMetadata @@ -102,10 +102,10 @@ func local_request_Cluster_CreateCluster_0(ctx context.Context, marshaler runtim } var ( - filter_Cluster_GetClusters_0 = &utilities.DoubleArray{Encoding: map[string]int{"project": 0}, Base: []int{1, 1, 0}, Check: []int{0, 1, 2}} + filter_ClusterService_GetClusters_0 = &utilities.DoubleArray{Encoding: map[string]int{"project": 0}, Base: []int{1, 1, 0}, Check: []int{0, 1, 2}} ) -func request_Cluster_GetClusters_0(ctx context.Context, marshaler runtime.Marshaler, client ClusterClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_ClusterService_GetClusters_0(ctx context.Context, marshaler runtime.Marshaler, client ClusterServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq commonv3.QueryOptions var metadata runtime.ServerMetadata @@ -129,7 +129,7 @@ func request_Cluster_GetClusters_0(ctx context.Context, marshaler runtime.Marsha if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Cluster_GetClusters_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_ClusterService_GetClusters_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -138,7 +138,7 @@ func request_Cluster_GetClusters_0(ctx context.Context, marshaler runtime.Marsha } -func local_request_Cluster_GetClusters_0(ctx context.Context, marshaler runtime.Marshaler, server ClusterServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_ClusterService_GetClusters_0(ctx context.Context, marshaler runtime.Marshaler, server ClusterServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq commonv3.QueryOptions var metadata runtime.ServerMetadata @@ -162,7 +162,7 @@ func local_request_Cluster_GetClusters_0(ctx context.Context, marshaler runtime. if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Cluster_GetClusters_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_ClusterService_GetClusters_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -172,10 +172,10 @@ func local_request_Cluster_GetClusters_0(ctx context.Context, marshaler runtime. } var ( - filter_Cluster_GetCluster_0 = &utilities.DoubleArray{Encoding: map[string]int{"metadata": 0, "project": 1, "name": 2}, Base: []int{1, 1, 1, 2, 0, 0}, Check: []int{0, 1, 2, 2, 3, 4}} + filter_ClusterService_GetCluster_0 = &utilities.DoubleArray{Encoding: map[string]int{"metadata": 0, "project": 1, "name": 2}, Base: []int{1, 1, 1, 2, 0, 0}, Check: []int{0, 1, 2, 2, 3, 4}} ) -func request_Cluster_GetCluster_0(ctx context.Context, marshaler runtime.Marshaler, client ClusterClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_ClusterService_GetCluster_0(ctx context.Context, marshaler runtime.Marshaler, client ClusterServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq infrav3.Cluster var metadata runtime.ServerMetadata @@ -209,7 +209,7 @@ func request_Cluster_GetCluster_0(ctx context.Context, marshaler runtime.Marshal if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Cluster_GetCluster_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_ClusterService_GetCluster_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -218,7 +218,7 @@ func request_Cluster_GetCluster_0(ctx context.Context, marshaler runtime.Marshal } -func local_request_Cluster_GetCluster_0(ctx context.Context, marshaler runtime.Marshaler, server ClusterServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_ClusterService_GetCluster_0(ctx context.Context, marshaler runtime.Marshaler, server ClusterServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq infrav3.Cluster var metadata runtime.ServerMetadata @@ -252,7 +252,7 @@ func local_request_Cluster_GetCluster_0(ctx context.Context, marshaler runtime.M if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Cluster_GetCluster_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_ClusterService_GetCluster_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -261,7 +261,7 @@ func local_request_Cluster_GetCluster_0(ctx context.Context, marshaler runtime.M } -func request_Cluster_UpdateCluster_0(ctx context.Context, marshaler runtime.Marshaler, client ClusterClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_ClusterService_UpdateCluster_0(ctx context.Context, marshaler runtime.Marshaler, client ClusterServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq infrav3.Cluster var metadata runtime.ServerMetadata @@ -305,7 +305,7 @@ func request_Cluster_UpdateCluster_0(ctx context.Context, marshaler runtime.Mars } -func local_request_Cluster_UpdateCluster_0(ctx context.Context, marshaler runtime.Marshaler, server ClusterServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_ClusterService_UpdateCluster_0(ctx context.Context, marshaler runtime.Marshaler, server ClusterServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq infrav3.Cluster var metadata runtime.ServerMetadata @@ -350,10 +350,10 @@ func local_request_Cluster_UpdateCluster_0(ctx context.Context, marshaler runtim } var ( - filter_Cluster_DeleteCluster_0 = &utilities.DoubleArray{Encoding: map[string]int{"metadata": 0, "project": 1, "name": 2}, Base: []int{1, 1, 1, 2, 0, 0}, Check: []int{0, 1, 2, 2, 3, 4}} + filter_ClusterService_DeleteCluster_0 = &utilities.DoubleArray{Encoding: map[string]int{"metadata": 0, "project": 1, "name": 2}, Base: []int{1, 1, 1, 2, 0, 0}, Check: []int{0, 1, 2, 2, 3, 4}} ) -func request_Cluster_DeleteCluster_0(ctx context.Context, marshaler runtime.Marshaler, client ClusterClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_ClusterService_DeleteCluster_0(ctx context.Context, marshaler runtime.Marshaler, client ClusterServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq infrav3.Cluster var metadata runtime.ServerMetadata @@ -387,7 +387,7 @@ func request_Cluster_DeleteCluster_0(ctx context.Context, marshaler runtime.Mars if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Cluster_DeleteCluster_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_ClusterService_DeleteCluster_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -396,7 +396,7 @@ func request_Cluster_DeleteCluster_0(ctx context.Context, marshaler runtime.Mars } -func local_request_Cluster_DeleteCluster_0(ctx context.Context, marshaler runtime.Marshaler, server ClusterServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_ClusterService_DeleteCluster_0(ctx context.Context, marshaler runtime.Marshaler, server ClusterServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq infrav3.Cluster var metadata runtime.ServerMetadata @@ -430,7 +430,7 @@ func local_request_Cluster_DeleteCluster_0(ctx context.Context, marshaler runtim if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Cluster_DeleteCluster_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_ClusterService_DeleteCluster_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -440,10 +440,10 @@ func local_request_Cluster_DeleteCluster_0(ctx context.Context, marshaler runtim } var ( - filter_Cluster_DownloadCluster_0 = &utilities.DoubleArray{Encoding: map[string]int{"metadata": 0, "project": 1, "name": 2}, Base: []int{1, 1, 1, 2, 0, 0}, Check: []int{0, 1, 2, 2, 3, 4}} + filter_ClusterService_DownloadCluster_0 = &utilities.DoubleArray{Encoding: map[string]int{"metadata": 0, "project": 1, "name": 2}, Base: []int{1, 1, 1, 2, 0, 0}, Check: []int{0, 1, 2, 2, 3, 4}} ) -func request_Cluster_DownloadCluster_0(ctx context.Context, marshaler runtime.Marshaler, client ClusterClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_ClusterService_DownloadCluster_0(ctx context.Context, marshaler runtime.Marshaler, client ClusterServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq infrav3.Cluster var metadata runtime.ServerMetadata @@ -477,7 +477,7 @@ func request_Cluster_DownloadCluster_0(ctx context.Context, marshaler runtime.Ma if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Cluster_DownloadCluster_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_ClusterService_DownloadCluster_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -486,7 +486,7 @@ func request_Cluster_DownloadCluster_0(ctx context.Context, marshaler runtime.Ma } -func local_request_Cluster_DownloadCluster_0(ctx context.Context, marshaler runtime.Marshaler, server ClusterServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_ClusterService_DownloadCluster_0(ctx context.Context, marshaler runtime.Marshaler, server ClusterServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq infrav3.Cluster var metadata runtime.ServerMetadata @@ -520,7 +520,7 @@ func local_request_Cluster_DownloadCluster_0(ctx context.Context, marshaler runt if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Cluster_DownloadCluster_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_ClusterService_DownloadCluster_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -529,156 +529,168 @@ func local_request_Cluster_DownloadCluster_0(ctx context.Context, marshaler runt } -// RegisterClusterHandlerServer registers the http handlers for service Cluster to "mux". -// UnaryRPC :call ClusterServer directly. +// RegisterClusterServiceHandlerServer registers the http handlers for service ClusterService to "mux". +// UnaryRPC :call ClusterServiceServer directly. // StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. -// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterClusterHandlerFromEndpoint instead. -func RegisterClusterHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ClusterServer) error { +// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterClusterServiceHandlerFromEndpoint instead. +func RegisterClusterServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ClusterServiceServer) error { - mux.Handle("POST", pattern_Cluster_CreateCluster_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("POST", pattern_ClusterService_CreateCluster_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.v3.Cluster/CreateCluster", runtime.WithHTTPPathPattern("/infra/v3/project/{metadata.project}/cluster")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.v3.ClusterService/CreateCluster", runtime.WithHTTPPathPattern("/infra/v3/project/{metadata.project}/cluster")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Cluster_CreateCluster_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_ClusterService_CreateCluster_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Cluster_CreateCluster_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ClusterService_CreateCluster_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Cluster_GetClusters_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_ClusterService_GetClusters_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.v3.Cluster/GetClusters", runtime.WithHTTPPathPattern("/infra/v3/project/{project}/cluster")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.v3.ClusterService/GetClusters", runtime.WithHTTPPathPattern("/infra/v3/project/{project}/cluster")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Cluster_GetClusters_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_ClusterService_GetClusters_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Cluster_GetClusters_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ClusterService_GetClusters_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Cluster_GetCluster_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_ClusterService_GetCluster_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.v3.Cluster/GetCluster", runtime.WithHTTPPathPattern("/infra/v3/project/{metadata.project}/cluster/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.v3.ClusterService/GetCluster", runtime.WithHTTPPathPattern("/infra/v3/project/{metadata.project}/cluster/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Cluster_GetCluster_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_ClusterService_GetCluster_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Cluster_GetCluster_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ClusterService_GetCluster_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("PUT", pattern_Cluster_UpdateCluster_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("PUT", pattern_ClusterService_UpdateCluster_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.v3.Cluster/UpdateCluster", runtime.WithHTTPPathPattern("/infra/v3/project/{metadata.project}/cluster/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.v3.ClusterService/UpdateCluster", runtime.WithHTTPPathPattern("/infra/v3/project/{metadata.project}/cluster/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Cluster_UpdateCluster_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_ClusterService_UpdateCluster_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Cluster_UpdateCluster_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ClusterService_UpdateCluster_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("DELETE", pattern_Cluster_DeleteCluster_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("DELETE", pattern_ClusterService_DeleteCluster_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.v3.Cluster/DeleteCluster", runtime.WithHTTPPathPattern("/infra/v3/project/{metadata.project}/cluster/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.v3.ClusterService/DeleteCluster", runtime.WithHTTPPathPattern("/infra/v3/project/{metadata.project}/cluster/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Cluster_DeleteCluster_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_ClusterService_DeleteCluster_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Cluster_DeleteCluster_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ClusterService_DeleteCluster_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Cluster_DownloadCluster_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_ClusterService_DownloadCluster_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.v3.Cluster/DownloadCluster", runtime.WithHTTPPathPattern("/infra/v3/project/{metadata.project}/cluster/{metadata.name}/download")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.v3.ClusterService/DownloadCluster", runtime.WithHTTPPathPattern("/infra/v3/project/{metadata.project}/cluster/{metadata.name}/download")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Cluster_DownloadCluster_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_ClusterService_DownloadCluster_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Cluster_DownloadCluster_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ClusterService_DownloadCluster_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) return nil } -// RegisterClusterHandlerFromEndpoint is same as RegisterClusterHandler but +// RegisterClusterServiceHandlerFromEndpoint is same as RegisterClusterServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. -func RegisterClusterHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { +func RegisterClusterServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { conn, err := grpc.Dial(endpoint, opts...) if err != nil { return err @@ -698,139 +710,151 @@ func RegisterClusterHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeM }() }() - return RegisterClusterHandler(ctx, mux, conn) + return RegisterClusterServiceHandler(ctx, mux, conn) } -// RegisterClusterHandler registers the http handlers for service Cluster to "mux". +// RegisterClusterServiceHandler registers the http handlers for service ClusterService to "mux". // The handlers forward requests to the grpc endpoint over "conn". -func RegisterClusterHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { - return RegisterClusterHandlerClient(ctx, mux, NewClusterClient(conn)) +func RegisterClusterServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { + return RegisterClusterServiceHandlerClient(ctx, mux, NewClusterServiceClient(conn)) } -// RegisterClusterHandlerClient registers the http handlers for service Cluster -// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ClusterClient". -// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ClusterClient" +// RegisterClusterServiceHandlerClient registers the http handlers for service ClusterService +// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ClusterServiceClient". +// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ClusterServiceClient" // doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in -// "ClusterClient" to call the correct interceptors. -func RegisterClusterHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ClusterClient) error { +// "ClusterServiceClient" to call the correct interceptors. +func RegisterClusterServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ClusterServiceClient) error { - mux.Handle("POST", pattern_Cluster_CreateCluster_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("POST", pattern_ClusterService_CreateCluster_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.v3.Cluster/CreateCluster", runtime.WithHTTPPathPattern("/infra/v3/project/{metadata.project}/cluster")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.v3.ClusterService/CreateCluster", runtime.WithHTTPPathPattern("/infra/v3/project/{metadata.project}/cluster")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_Cluster_CreateCluster_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_ClusterService_CreateCluster_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Cluster_CreateCluster_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ClusterService_CreateCluster_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Cluster_GetClusters_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_ClusterService_GetClusters_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.v3.Cluster/GetClusters", runtime.WithHTTPPathPattern("/infra/v3/project/{project}/cluster")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.v3.ClusterService/GetClusters", runtime.WithHTTPPathPattern("/infra/v3/project/{project}/cluster")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_Cluster_GetClusters_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_ClusterService_GetClusters_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Cluster_GetClusters_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ClusterService_GetClusters_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Cluster_GetCluster_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_ClusterService_GetCluster_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.v3.Cluster/GetCluster", runtime.WithHTTPPathPattern("/infra/v3/project/{metadata.project}/cluster/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.v3.ClusterService/GetCluster", runtime.WithHTTPPathPattern("/infra/v3/project/{metadata.project}/cluster/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_Cluster_GetCluster_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_ClusterService_GetCluster_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Cluster_GetCluster_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ClusterService_GetCluster_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("PUT", pattern_Cluster_UpdateCluster_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("PUT", pattern_ClusterService_UpdateCluster_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.v3.Cluster/UpdateCluster", runtime.WithHTTPPathPattern("/infra/v3/project/{metadata.project}/cluster/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.v3.ClusterService/UpdateCluster", runtime.WithHTTPPathPattern("/infra/v3/project/{metadata.project}/cluster/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_Cluster_UpdateCluster_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_ClusterService_UpdateCluster_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Cluster_UpdateCluster_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ClusterService_UpdateCluster_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("DELETE", pattern_Cluster_DeleteCluster_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("DELETE", pattern_ClusterService_DeleteCluster_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.v3.Cluster/DeleteCluster", runtime.WithHTTPPathPattern("/infra/v3/project/{metadata.project}/cluster/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.v3.ClusterService/DeleteCluster", runtime.WithHTTPPathPattern("/infra/v3/project/{metadata.project}/cluster/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_Cluster_DeleteCluster_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_ClusterService_DeleteCluster_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Cluster_DeleteCluster_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ClusterService_DeleteCluster_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Cluster_DownloadCluster_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_ClusterService_DownloadCluster_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.v3.Cluster/DownloadCluster", runtime.WithHTTPPathPattern("/infra/v3/project/{metadata.project}/cluster/{metadata.name}/download")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.v3.ClusterService/DownloadCluster", runtime.WithHTTPPathPattern("/infra/v3/project/{metadata.project}/cluster/{metadata.name}/download")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_Cluster_DownloadCluster_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_ClusterService_DownloadCluster_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Cluster_DownloadCluster_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ClusterService_DownloadCluster_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) @@ -838,29 +862,29 @@ func RegisterClusterHandlerClient(ctx context.Context, mux *runtime.ServeMux, cl } var ( - pattern_Cluster_CreateCluster_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4}, []string{"infra", "v3", "project", "metadata.project", "cluster"}, "")) + pattern_ClusterService_CreateCluster_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4}, []string{"infra", "v3", "project", "metadata.project", "cluster"}, "")) - pattern_Cluster_GetClusters_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 2, 2, 3}, []string{"infra", "v3", "project", "cluster"}, "")) + pattern_ClusterService_GetClusters_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 2, 2, 3}, []string{"infra", "v3", "project", "cluster"}, "")) - pattern_Cluster_GetCluster_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4, 1, 0, 4, 1, 5, 5}, []string{"infra", "v3", "project", "metadata.project", "cluster", "metadata.name"}, "")) + pattern_ClusterService_GetCluster_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4, 1, 0, 4, 1, 5, 5}, []string{"infra", "v3", "project", "metadata.project", "cluster", "metadata.name"}, "")) - pattern_Cluster_UpdateCluster_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4, 1, 0, 4, 1, 5, 5}, []string{"infra", "v3", "project", "metadata.project", "cluster", "metadata.name"}, "")) + pattern_ClusterService_UpdateCluster_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4, 1, 0, 4, 1, 5, 5}, []string{"infra", "v3", "project", "metadata.project", "cluster", "metadata.name"}, "")) - pattern_Cluster_DeleteCluster_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4, 1, 0, 4, 1, 5, 5}, []string{"infra", "v3", "project", "metadata.project", "cluster", "metadata.name"}, "")) + pattern_ClusterService_DeleteCluster_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4, 1, 0, 4, 1, 5, 5}, []string{"infra", "v3", "project", "metadata.project", "cluster", "metadata.name"}, "")) - pattern_Cluster_DownloadCluster_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4, 1, 0, 4, 1, 5, 5, 2, 6}, []string{"infra", "v3", "project", "metadata.project", "cluster", "metadata.name", "download"}, "")) + pattern_ClusterService_DownloadCluster_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4, 1, 0, 4, 1, 5, 5, 2, 6}, []string{"infra", "v3", "project", "metadata.project", "cluster", "metadata.name", "download"}, "")) ) var ( - forward_Cluster_CreateCluster_0 = runtime.ForwardResponseMessage + forward_ClusterService_CreateCluster_0 = runtime.ForwardResponseMessage - forward_Cluster_GetClusters_0 = runtime.ForwardResponseMessage + forward_ClusterService_GetClusters_0 = runtime.ForwardResponseMessage - forward_Cluster_GetCluster_0 = runtime.ForwardResponseMessage + forward_ClusterService_GetCluster_0 = runtime.ForwardResponseMessage - forward_Cluster_UpdateCluster_0 = runtime.ForwardResponseMessage + forward_ClusterService_UpdateCluster_0 = runtime.ForwardResponseMessage - forward_Cluster_DeleteCluster_0 = runtime.ForwardResponseMessage + forward_ClusterService_DeleteCluster_0 = runtime.ForwardResponseMessage - forward_Cluster_DownloadCluster_0 = runtime.ForwardResponseMessage + forward_ClusterService_DownloadCluster_0 = runtime.ForwardResponseMessage ) diff --git a/proto/rpc/scheduler/cluster.proto b/proto/rpc/scheduler/cluster.proto index 97215240..dcae001a 100644 --- a/proto/rpc/scheduler/cluster.proto +++ b/proto/rpc/scheduler/cluster.proto @@ -65,7 +65,7 @@ option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = { } }; -service Cluster { +service ClusterService { rpc CreateCluster(paralus.dev.types.infra.v3.Cluster) returns (paralus.dev.types.infra.v3.Cluster) { option (google.api.http) = { diff --git a/proto/rpc/scheduler/cluster_grpc.pb.go b/proto/rpc/scheduler/cluster_grpc.pb.go index 901493b7..a0ccf7d2 100644 --- a/proto/rpc/scheduler/cluster_grpc.pb.go +++ b/proto/rpc/scheduler/cluster_grpc.pb.go @@ -20,10 +20,10 @@ import ( // Requires gRPC-Go v1.32.0 or later. const _ = grpc.SupportPackageIsVersion7 -// ClusterClient is the client API for Cluster service. +// ClusterServiceClient is the client API for ClusterService service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. -type ClusterClient interface { +type ClusterServiceClient interface { CreateCluster(ctx context.Context, in *v3.Cluster, opts ...grpc.CallOption) (*v3.Cluster, error) GetClusters(ctx context.Context, in *v31.QueryOptions, opts ...grpc.CallOption) (*v3.ClusterList, error) GetCluster(ctx context.Context, in *v3.Cluster, opts ...grpc.CallOption) (*v3.Cluster, error) @@ -32,72 +32,72 @@ type ClusterClient interface { DownloadCluster(ctx context.Context, in *v3.Cluster, opts ...grpc.CallOption) (*v31.HttpBody, error) } -type clusterClient struct { +type clusterServiceClient struct { cc grpc.ClientConnInterface } -func NewClusterClient(cc grpc.ClientConnInterface) ClusterClient { - return &clusterClient{cc} +func NewClusterServiceClient(cc grpc.ClientConnInterface) ClusterServiceClient { + return &clusterServiceClient{cc} } -func (c *clusterClient) CreateCluster(ctx context.Context, in *v3.Cluster, opts ...grpc.CallOption) (*v3.Cluster, error) { +func (c *clusterServiceClient) CreateCluster(ctx context.Context, in *v3.Cluster, opts ...grpc.CallOption) (*v3.Cluster, error) { out := new(v3.Cluster) - err := c.cc.Invoke(ctx, "/paralus.dev.rpc.v3.Cluster/CreateCluster", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.rpc.v3.ClusterService/CreateCluster", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *clusterClient) GetClusters(ctx context.Context, in *v31.QueryOptions, opts ...grpc.CallOption) (*v3.ClusterList, error) { +func (c *clusterServiceClient) GetClusters(ctx context.Context, in *v31.QueryOptions, opts ...grpc.CallOption) (*v3.ClusterList, error) { out := new(v3.ClusterList) - err := c.cc.Invoke(ctx, "/paralus.dev.rpc.v3.Cluster/GetClusters", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.rpc.v3.ClusterService/GetClusters", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *clusterClient) GetCluster(ctx context.Context, in *v3.Cluster, opts ...grpc.CallOption) (*v3.Cluster, error) { +func (c *clusterServiceClient) GetCluster(ctx context.Context, in *v3.Cluster, opts ...grpc.CallOption) (*v3.Cluster, error) { out := new(v3.Cluster) - err := c.cc.Invoke(ctx, "/paralus.dev.rpc.v3.Cluster/GetCluster", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.rpc.v3.ClusterService/GetCluster", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *clusterClient) UpdateCluster(ctx context.Context, in *v3.Cluster, opts ...grpc.CallOption) (*v3.Cluster, error) { +func (c *clusterServiceClient) UpdateCluster(ctx context.Context, in *v3.Cluster, opts ...grpc.CallOption) (*v3.Cluster, error) { out := new(v3.Cluster) - err := c.cc.Invoke(ctx, "/paralus.dev.rpc.v3.Cluster/UpdateCluster", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.rpc.v3.ClusterService/UpdateCluster", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *clusterClient) DeleteCluster(ctx context.Context, in *v3.Cluster, opts ...grpc.CallOption) (*DeleteClusterResponse, error) { +func (c *clusterServiceClient) DeleteCluster(ctx context.Context, in *v3.Cluster, opts ...grpc.CallOption) (*DeleteClusterResponse, error) { out := new(DeleteClusterResponse) - err := c.cc.Invoke(ctx, "/paralus.dev.rpc.v3.Cluster/DeleteCluster", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.rpc.v3.ClusterService/DeleteCluster", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *clusterClient) DownloadCluster(ctx context.Context, in *v3.Cluster, opts ...grpc.CallOption) (*v31.HttpBody, error) { +func (c *clusterServiceClient) DownloadCluster(ctx context.Context, in *v3.Cluster, opts ...grpc.CallOption) (*v31.HttpBody, error) { out := new(v31.HttpBody) - err := c.cc.Invoke(ctx, "/paralus.dev.rpc.v3.Cluster/DownloadCluster", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.rpc.v3.ClusterService/DownloadCluster", in, out, opts...) if err != nil { return nil, err } return out, nil } -// ClusterServer is the server API for Cluster service. -// All implementations should embed UnimplementedClusterServer +// ClusterServiceServer is the server API for ClusterService service. +// All implementations should embed UnimplementedClusterServiceServer // for forward compatibility -type ClusterServer interface { +type ClusterServiceServer interface { CreateCluster(context.Context, *v3.Cluster) (*v3.Cluster, error) GetClusters(context.Context, *v31.QueryOptions) (*v3.ClusterList, error) GetCluster(context.Context, *v3.Cluster) (*v3.Cluster, error) @@ -106,178 +106,178 @@ type ClusterServer interface { DownloadCluster(context.Context, *v3.Cluster) (*v31.HttpBody, error) } -// UnimplementedClusterServer should be embedded to have forward compatible implementations. -type UnimplementedClusterServer struct { +// UnimplementedClusterServiceServer should be embedded to have forward compatible implementations. +type UnimplementedClusterServiceServer struct { } -func (UnimplementedClusterServer) CreateCluster(context.Context, *v3.Cluster) (*v3.Cluster, error) { +func (UnimplementedClusterServiceServer) CreateCluster(context.Context, *v3.Cluster) (*v3.Cluster, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateCluster not implemented") } -func (UnimplementedClusterServer) GetClusters(context.Context, *v31.QueryOptions) (*v3.ClusterList, error) { +func (UnimplementedClusterServiceServer) GetClusters(context.Context, *v31.QueryOptions) (*v3.ClusterList, error) { return nil, status.Errorf(codes.Unimplemented, "method GetClusters not implemented") } -func (UnimplementedClusterServer) GetCluster(context.Context, *v3.Cluster) (*v3.Cluster, error) { +func (UnimplementedClusterServiceServer) GetCluster(context.Context, *v3.Cluster) (*v3.Cluster, error) { return nil, status.Errorf(codes.Unimplemented, "method GetCluster not implemented") } -func (UnimplementedClusterServer) UpdateCluster(context.Context, *v3.Cluster) (*v3.Cluster, error) { +func (UnimplementedClusterServiceServer) UpdateCluster(context.Context, *v3.Cluster) (*v3.Cluster, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateCluster not implemented") } -func (UnimplementedClusterServer) DeleteCluster(context.Context, *v3.Cluster) (*DeleteClusterResponse, error) { +func (UnimplementedClusterServiceServer) DeleteCluster(context.Context, *v3.Cluster) (*DeleteClusterResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteCluster not implemented") } -func (UnimplementedClusterServer) DownloadCluster(context.Context, *v3.Cluster) (*v31.HttpBody, error) { +func (UnimplementedClusterServiceServer) DownloadCluster(context.Context, *v3.Cluster) (*v31.HttpBody, error) { return nil, status.Errorf(codes.Unimplemented, "method DownloadCluster not implemented") } -// UnsafeClusterServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to ClusterServer will +// UnsafeClusterServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to ClusterServiceServer will // result in compilation errors. -type UnsafeClusterServer interface { - mustEmbedUnimplementedClusterServer() +type UnsafeClusterServiceServer interface { + mustEmbedUnimplementedClusterServiceServer() } -func RegisterClusterServer(s grpc.ServiceRegistrar, srv ClusterServer) { - s.RegisterService(&Cluster_ServiceDesc, srv) +func RegisterClusterServiceServer(s grpc.ServiceRegistrar, srv ClusterServiceServer) { + s.RegisterService(&ClusterService_ServiceDesc, srv) } -func _Cluster_CreateCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _ClusterService_CreateCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v3.Cluster) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(ClusterServer).CreateCluster(ctx, in) + return srv.(ClusterServiceServer).CreateCluster(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.rpc.v3.Cluster/CreateCluster", + FullMethod: "/paralus.dev.rpc.v3.ClusterService/CreateCluster", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterServer).CreateCluster(ctx, req.(*v3.Cluster)) + return srv.(ClusterServiceServer).CreateCluster(ctx, req.(*v3.Cluster)) } return interceptor(ctx, in, info, handler) } -func _Cluster_GetClusters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _ClusterService_GetClusters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v31.QueryOptions) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(ClusterServer).GetClusters(ctx, in) + return srv.(ClusterServiceServer).GetClusters(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.rpc.v3.Cluster/GetClusters", + FullMethod: "/paralus.dev.rpc.v3.ClusterService/GetClusters", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterServer).GetClusters(ctx, req.(*v31.QueryOptions)) + return srv.(ClusterServiceServer).GetClusters(ctx, req.(*v31.QueryOptions)) } return interceptor(ctx, in, info, handler) } -func _Cluster_GetCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _ClusterService_GetCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v3.Cluster) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(ClusterServer).GetCluster(ctx, in) + return srv.(ClusterServiceServer).GetCluster(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.rpc.v3.Cluster/GetCluster", + FullMethod: "/paralus.dev.rpc.v3.ClusterService/GetCluster", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterServer).GetCluster(ctx, req.(*v3.Cluster)) + return srv.(ClusterServiceServer).GetCluster(ctx, req.(*v3.Cluster)) } return interceptor(ctx, in, info, handler) } -func _Cluster_UpdateCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _ClusterService_UpdateCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v3.Cluster) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(ClusterServer).UpdateCluster(ctx, in) + return srv.(ClusterServiceServer).UpdateCluster(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.rpc.v3.Cluster/UpdateCluster", + FullMethod: "/paralus.dev.rpc.v3.ClusterService/UpdateCluster", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterServer).UpdateCluster(ctx, req.(*v3.Cluster)) + return srv.(ClusterServiceServer).UpdateCluster(ctx, req.(*v3.Cluster)) } return interceptor(ctx, in, info, handler) } -func _Cluster_DeleteCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _ClusterService_DeleteCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v3.Cluster) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(ClusterServer).DeleteCluster(ctx, in) + return srv.(ClusterServiceServer).DeleteCluster(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.rpc.v3.Cluster/DeleteCluster", + FullMethod: "/paralus.dev.rpc.v3.ClusterService/DeleteCluster", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterServer).DeleteCluster(ctx, req.(*v3.Cluster)) + return srv.(ClusterServiceServer).DeleteCluster(ctx, req.(*v3.Cluster)) } return interceptor(ctx, in, info, handler) } -func _Cluster_DownloadCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _ClusterService_DownloadCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v3.Cluster) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(ClusterServer).DownloadCluster(ctx, in) + return srv.(ClusterServiceServer).DownloadCluster(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.rpc.v3.Cluster/DownloadCluster", + FullMethod: "/paralus.dev.rpc.v3.ClusterService/DownloadCluster", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterServer).DownloadCluster(ctx, req.(*v3.Cluster)) + return srv.(ClusterServiceServer).DownloadCluster(ctx, req.(*v3.Cluster)) } return interceptor(ctx, in, info, handler) } -// Cluster_ServiceDesc is the grpc.ServiceDesc for Cluster service. +// ClusterService_ServiceDesc is the grpc.ServiceDesc for ClusterService service. // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) -var Cluster_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "paralus.dev.rpc.v3.Cluster", - HandlerType: (*ClusterServer)(nil), +var ClusterService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "paralus.dev.rpc.v3.ClusterService", + HandlerType: (*ClusterServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateCluster", - Handler: _Cluster_CreateCluster_Handler, + Handler: _ClusterService_CreateCluster_Handler, }, { MethodName: "GetClusters", - Handler: _Cluster_GetClusters_Handler, + Handler: _ClusterService_GetClusters_Handler, }, { MethodName: "GetCluster", - Handler: _Cluster_GetCluster_Handler, + Handler: _ClusterService_GetCluster_Handler, }, { MethodName: "UpdateCluster", - Handler: _Cluster_UpdateCluster_Handler, + Handler: _ClusterService_UpdateCluster_Handler, }, { MethodName: "DeleteCluster", - Handler: _Cluster_DeleteCluster_Handler, + Handler: _ClusterService_DeleteCluster_Handler, }, { MethodName: "DownloadCluster", - Handler: _Cluster_DownloadCluster_Handler, + Handler: _ClusterService_DownloadCluster_Handler, }, }, Streams: []grpc.StreamDesc{}, diff --git a/proto/rpc/scheduler/internal.go b/proto/rpc/scheduler/internal.go index 76147711..fabe1ce3 100644 --- a/proto/rpc/scheduler/internal.go +++ b/proto/rpc/scheduler/internal.go @@ -12,12 +12,12 @@ import ( type SchedulerClient interface { Unhealthy() Close() error - ClusterClient + ClusterServiceClient } type schedulerClient struct { *grpcpool.ClientConn - *clusterClient + *clusterServiceClient } var _ SchedulerClient = (*schedulerClient)(nil) @@ -52,6 +52,6 @@ func (p *schedulerPool) NewClient(ctx context.Context) (SchedulerClient, error) } return &schedulerClient{ cc, - &clusterClient{cc.ClientConn}, + &clusterServiceClient{cc.ClientConn}, }, nil } diff --git a/proto/rpc/sentry/audit_info.pb.go b/proto/rpc/sentry/audit_info.pb.go index 4cf6d6ac..06723951 100644 --- a/proto/rpc/sentry/audit_info.pb.go +++ b/proto/rpc/sentry/audit_info.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.27.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: proto/rpc/sentry/audit_info.proto @@ -8,8 +8,6 @@ package sentry import ( _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" - _ "github.com/paralus/paralus/proto/types/commonpb/v3" - _ "github.com/paralus/paralus/proto/types/sentry" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" @@ -271,37 +269,33 @@ var file_proto_rpc_sentry_audit_info_proto_rawDesc = []byte{ 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x70, 0x62, 0x2f, - 0x76, 0x33, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, - 0x1f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x73, 0x65, 0x6e, - 0x74, 0x72, 0x79, 0x2f, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x22, 0x2b, 0x0a, 0x11, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x43, 0x4e, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x43, 0x4e, 0x22, 0xcc, 0x01, - 0x0a, 0x12, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, - 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x44, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x44, 0x12, 0x14, - 0x0a, 0x05, 0x69, 0x73, 0x53, 0x53, 0x4f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x69, - 0x73, 0x53, 0x53, 0x4f, 0x12, 0x26, 0x0a, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, - 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x12, 0x1c, 0x0a, 0x09, - 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x44, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x09, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x65, - 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0b, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x22, 0x36, 0x0a, 0x14, - 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x53, - 0x4e, 0x49, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, - 0x72, 0x53, 0x4e, 0x49, 0x22, 0x4d, 0x0a, 0x15, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x43, 0x6c, - 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, - 0x61, 0x6d, 0x65, 0x32, 0xb0, 0x02, 0x0a, 0x10, 0x41, 0x75, 0x64, 0x69, 0x74, 0x49, 0x6e, 0x66, - 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x86, 0x01, 0x0a, 0x0a, 0x4c, 0x6f, 0x6f, + 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2b, 0x0a, 0x11, 0x4c, 0x6f, 0x6f, + 0x6b, 0x75, 0x70, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, + 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x43, 0x4e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, + 0x75, 0x73, 0x65, 0x72, 0x43, 0x4e, 0x22, 0xcc, 0x01, 0x0a, 0x12, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, + 0x70, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, + 0x08, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x08, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x63, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x63, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x44, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x73, 0x53, 0x53, 0x4f, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x69, 0x73, 0x53, 0x53, 0x4f, 0x12, 0x26, 0x0a, + 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, + 0x49, 0x44, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, + 0x72, 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x79, + 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x54, 0x79, 0x70, 0x65, 0x22, 0x36, 0x0a, 0x14, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x43, + 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, + 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x53, 0x4e, 0x49, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x53, 0x4e, 0x49, 0x22, 0x4d, 0x0a, + 0x15, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x69, + 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x32, 0xb7, 0x02, 0x0a, + 0x17, 0x41, 0x75, 0x64, 0x69, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x86, 0x01, 0x0a, 0x0a, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x55, 0x73, 0x65, 0x72, 0x12, 0x29, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, @@ -379,10 +373,10 @@ var file_proto_rpc_sentry_audit_info_proto_goTypes = []interface{}{ (*LookupClusterResponse)(nil), // 3: paralus.dev.sentry.rpc.LookupClusterResponse } var file_proto_rpc_sentry_audit_info_proto_depIdxs = []int32{ - 0, // 0: paralus.dev.sentry.rpc.AuditInformation.LookupUser:input_type -> paralus.dev.sentry.rpc.LookupUserRequest - 2, // 1: paralus.dev.sentry.rpc.AuditInformation.LookupCluster:input_type -> paralus.dev.sentry.rpc.LookupClusterRequest - 1, // 2: paralus.dev.sentry.rpc.AuditInformation.LookupUser:output_type -> paralus.dev.sentry.rpc.LookupUserResponse - 3, // 3: paralus.dev.sentry.rpc.AuditInformation.LookupCluster:output_type -> paralus.dev.sentry.rpc.LookupClusterResponse + 0, // 0: paralus.dev.sentry.rpc.AuditInformationService.LookupUser:input_type -> paralus.dev.sentry.rpc.LookupUserRequest + 2, // 1: paralus.dev.sentry.rpc.AuditInformationService.LookupCluster:input_type -> paralus.dev.sentry.rpc.LookupClusterRequest + 1, // 2: paralus.dev.sentry.rpc.AuditInformationService.LookupUser:output_type -> paralus.dev.sentry.rpc.LookupUserResponse + 3, // 3: paralus.dev.sentry.rpc.AuditInformationService.LookupCluster:output_type -> paralus.dev.sentry.rpc.LookupClusterResponse 2, // [2:4] is the sub-list for method output_type 0, // [0:2] is the sub-list for method input_type 0, // [0:0] is the sub-list for extension type_name diff --git a/proto/rpc/sentry/audit_info.pb.gw.go b/proto/rpc/sentry/audit_info.pb.gw.go index dc25a1d7..bd7ea929 100644 --- a/proto/rpc/sentry/audit_info.pb.gw.go +++ b/proto/rpc/sentry/audit_info.pb.gw.go @@ -32,17 +32,17 @@ var _ = utilities.NewDoubleArray var _ = metadata.Join var ( - filter_AuditInformation_LookupUser_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} + filter_AuditInformationService_LookupUser_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} ) -func request_AuditInformation_LookupUser_0(ctx context.Context, marshaler runtime.Marshaler, client AuditInformationClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_AuditInformationService_LookupUser_0(ctx context.Context, marshaler runtime.Marshaler, client AuditInformationServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq LookupUserRequest var metadata runtime.ServerMetadata if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AuditInformation_LookupUser_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AuditInformationService_LookupUser_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -51,14 +51,14 @@ func request_AuditInformation_LookupUser_0(ctx context.Context, marshaler runtim } -func local_request_AuditInformation_LookupUser_0(ctx context.Context, marshaler runtime.Marshaler, server AuditInformationServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_AuditInformationService_LookupUser_0(ctx context.Context, marshaler runtime.Marshaler, server AuditInformationServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq LookupUserRequest var metadata runtime.ServerMetadata if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AuditInformation_LookupUser_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AuditInformationService_LookupUser_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -68,17 +68,17 @@ func local_request_AuditInformation_LookupUser_0(ctx context.Context, marshaler } var ( - filter_AuditInformation_LookupCluster_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} + filter_AuditInformationService_LookupCluster_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} ) -func request_AuditInformation_LookupCluster_0(ctx context.Context, marshaler runtime.Marshaler, client AuditInformationClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_AuditInformationService_LookupCluster_0(ctx context.Context, marshaler runtime.Marshaler, client AuditInformationServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq LookupClusterRequest var metadata runtime.ServerMetadata if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AuditInformation_LookupCluster_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AuditInformationService_LookupCluster_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -87,14 +87,14 @@ func request_AuditInformation_LookupCluster_0(ctx context.Context, marshaler run } -func local_request_AuditInformation_LookupCluster_0(ctx context.Context, marshaler runtime.Marshaler, server AuditInformationServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_AuditInformationService_LookupCluster_0(ctx context.Context, marshaler runtime.Marshaler, server AuditInformationServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq LookupClusterRequest var metadata runtime.ServerMetadata if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AuditInformation_LookupCluster_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_AuditInformationService_LookupCluster_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -103,64 +103,68 @@ func local_request_AuditInformation_LookupCluster_0(ctx context.Context, marshal } -// RegisterAuditInformationHandlerServer registers the http handlers for service AuditInformation to "mux". -// UnaryRPC :call AuditInformationServer directly. +// RegisterAuditInformationServiceHandlerServer registers the http handlers for service AuditInformationService to "mux". +// UnaryRPC :call AuditInformationServiceServer directly. // StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. -// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterAuditInformationHandlerFromEndpoint instead. -func RegisterAuditInformationHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AuditInformationServer) error { +// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterAuditInformationServiceHandlerFromEndpoint instead. +func RegisterAuditInformationServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AuditInformationServiceServer) error { - mux.Handle("GET", pattern_AuditInformation_LookupUser_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_AuditInformationService_LookupUser_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.sentry.rpc.AuditInformation/LookupUser", runtime.WithHTTPPathPattern("/v2/sentry/auditInfo/user")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.sentry.rpc.AuditInformationService/LookupUser", runtime.WithHTTPPathPattern("/v2/sentry/auditInfo/user")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_AuditInformation_LookupUser_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_AuditInformationService_LookupUser_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_AuditInformation_LookupUser_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_AuditInformationService_LookupUser_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_AuditInformation_LookupCluster_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_AuditInformationService_LookupCluster_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.sentry.rpc.AuditInformation/LookupCluster", runtime.WithHTTPPathPattern("/v2/sentry/auditInfo/cluster")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.sentry.rpc.AuditInformationService/LookupCluster", runtime.WithHTTPPathPattern("/v2/sentry/auditInfo/cluster")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_AuditInformation_LookupCluster_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_AuditInformationService_LookupCluster_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_AuditInformation_LookupCluster_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_AuditInformationService_LookupCluster_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) return nil } -// RegisterAuditInformationHandlerFromEndpoint is same as RegisterAuditInformationHandler but +// RegisterAuditInformationServiceHandlerFromEndpoint is same as RegisterAuditInformationServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. -func RegisterAuditInformationHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { +func RegisterAuditInformationServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { conn, err := grpc.Dial(endpoint, opts...) if err != nil { return err @@ -180,59 +184,63 @@ func RegisterAuditInformationHandlerFromEndpoint(ctx context.Context, mux *runti }() }() - return RegisterAuditInformationHandler(ctx, mux, conn) + return RegisterAuditInformationServiceHandler(ctx, mux, conn) } -// RegisterAuditInformationHandler registers the http handlers for service AuditInformation to "mux". +// RegisterAuditInformationServiceHandler registers the http handlers for service AuditInformationService to "mux". // The handlers forward requests to the grpc endpoint over "conn". -func RegisterAuditInformationHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { - return RegisterAuditInformationHandlerClient(ctx, mux, NewAuditInformationClient(conn)) +func RegisterAuditInformationServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { + return RegisterAuditInformationServiceHandlerClient(ctx, mux, NewAuditInformationServiceClient(conn)) } -// RegisterAuditInformationHandlerClient registers the http handlers for service AuditInformation -// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "AuditInformationClient". -// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "AuditInformationClient" +// RegisterAuditInformationServiceHandlerClient registers the http handlers for service AuditInformationService +// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "AuditInformationServiceClient". +// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "AuditInformationServiceClient" // doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in -// "AuditInformationClient" to call the correct interceptors. -func RegisterAuditInformationHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AuditInformationClient) error { +// "AuditInformationServiceClient" to call the correct interceptors. +func RegisterAuditInformationServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AuditInformationServiceClient) error { - mux.Handle("GET", pattern_AuditInformation_LookupUser_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_AuditInformationService_LookupUser_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.sentry.rpc.AuditInformation/LookupUser", runtime.WithHTTPPathPattern("/v2/sentry/auditInfo/user")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.sentry.rpc.AuditInformationService/LookupUser", runtime.WithHTTPPathPattern("/v2/sentry/auditInfo/user")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_AuditInformation_LookupUser_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_AuditInformationService_LookupUser_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_AuditInformation_LookupUser_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_AuditInformationService_LookupUser_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_AuditInformation_LookupCluster_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_AuditInformationService_LookupCluster_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.sentry.rpc.AuditInformation/LookupCluster", runtime.WithHTTPPathPattern("/v2/sentry/auditInfo/cluster")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.sentry.rpc.AuditInformationService/LookupCluster", runtime.WithHTTPPathPattern("/v2/sentry/auditInfo/cluster")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_AuditInformation_LookupCluster_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_AuditInformationService_LookupCluster_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_AuditInformation_LookupCluster_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_AuditInformationService_LookupCluster_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) @@ -240,13 +248,13 @@ func RegisterAuditInformationHandlerClient(ctx context.Context, mux *runtime.Ser } var ( - pattern_AuditInformation_LookupUser_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"v2", "sentry", "auditInfo", "user"}, "")) + pattern_AuditInformationService_LookupUser_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"v2", "sentry", "auditInfo", "user"}, "")) - pattern_AuditInformation_LookupCluster_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"v2", "sentry", "auditInfo", "cluster"}, "")) + pattern_AuditInformationService_LookupCluster_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"v2", "sentry", "auditInfo", "cluster"}, "")) ) var ( - forward_AuditInformation_LookupUser_0 = runtime.ForwardResponseMessage + forward_AuditInformationService_LookupUser_0 = runtime.ForwardResponseMessage - forward_AuditInformation_LookupCluster_0 = runtime.ForwardResponseMessage + forward_AuditInformationService_LookupCluster_0 = runtime.ForwardResponseMessage ) diff --git a/proto/rpc/sentry/audit_info.proto b/proto/rpc/sentry/audit_info.proto index 541fec9d..778f9c0c 100644 --- a/proto/rpc/sentry/audit_info.proto +++ b/proto/rpc/sentry/audit_info.proto @@ -3,8 +3,6 @@ package paralus.dev.sentry.rpc; import "google/api/annotations.proto"; import "protoc-gen-openapiv2/options/annotations.proto"; -import "proto/types/commonpb/v3/common.proto"; -import "proto/types/sentry/sentry.proto"; option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = { info : { @@ -75,7 +73,7 @@ message LookupClusterResponse { string displayName = 2; } -service AuditInformation { +service AuditInformationService { rpc LookupUser(LookupUserRequest) returns (LookupUserResponse) { @@ -90,5 +88,4 @@ service AuditInformation { get : "/v2/sentry/auditInfo/cluster" }; }; - } - \ No newline at end of file + } \ No newline at end of file diff --git a/proto/rpc/sentry/audit_info_grpc.pb.go b/proto/rpc/sentry/audit_info_grpc.pb.go index 5c85ca85..73fff6df 100644 --- a/proto/rpc/sentry/audit_info_grpc.pb.go +++ b/proto/rpc/sentry/audit_info_grpc.pb.go @@ -18,120 +18,120 @@ import ( // Requires gRPC-Go v1.32.0 or later. const _ = grpc.SupportPackageIsVersion7 -// AuditInformationClient is the client API for AuditInformation service. +// AuditInformationServiceClient is the client API for AuditInformationService service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. -type AuditInformationClient interface { +type AuditInformationServiceClient interface { LookupUser(ctx context.Context, in *LookupUserRequest, opts ...grpc.CallOption) (*LookupUserResponse, error) LookupCluster(ctx context.Context, in *LookupClusterRequest, opts ...grpc.CallOption) (*LookupClusterResponse, error) } -type auditInformationClient struct { +type auditInformationServiceClient struct { cc grpc.ClientConnInterface } -func NewAuditInformationClient(cc grpc.ClientConnInterface) AuditInformationClient { - return &auditInformationClient{cc} +func NewAuditInformationServiceClient(cc grpc.ClientConnInterface) AuditInformationServiceClient { + return &auditInformationServiceClient{cc} } -func (c *auditInformationClient) LookupUser(ctx context.Context, in *LookupUserRequest, opts ...grpc.CallOption) (*LookupUserResponse, error) { +func (c *auditInformationServiceClient) LookupUser(ctx context.Context, in *LookupUserRequest, opts ...grpc.CallOption) (*LookupUserResponse, error) { out := new(LookupUserResponse) - err := c.cc.Invoke(ctx, "/paralus.dev.sentry.rpc.AuditInformation/LookupUser", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.sentry.rpc.AuditInformationService/LookupUser", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *auditInformationClient) LookupCluster(ctx context.Context, in *LookupClusterRequest, opts ...grpc.CallOption) (*LookupClusterResponse, error) { +func (c *auditInformationServiceClient) LookupCluster(ctx context.Context, in *LookupClusterRequest, opts ...grpc.CallOption) (*LookupClusterResponse, error) { out := new(LookupClusterResponse) - err := c.cc.Invoke(ctx, "/paralus.dev.sentry.rpc.AuditInformation/LookupCluster", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.sentry.rpc.AuditInformationService/LookupCluster", in, out, opts...) if err != nil { return nil, err } return out, nil } -// AuditInformationServer is the server API for AuditInformation service. -// All implementations should embed UnimplementedAuditInformationServer +// AuditInformationServiceServer is the server API for AuditInformationService service. +// All implementations should embed UnimplementedAuditInformationServiceServer // for forward compatibility -type AuditInformationServer interface { +type AuditInformationServiceServer interface { LookupUser(context.Context, *LookupUserRequest) (*LookupUserResponse, error) LookupCluster(context.Context, *LookupClusterRequest) (*LookupClusterResponse, error) } -// UnimplementedAuditInformationServer should be embedded to have forward compatible implementations. -type UnimplementedAuditInformationServer struct { +// UnimplementedAuditInformationServiceServer should be embedded to have forward compatible implementations. +type UnimplementedAuditInformationServiceServer struct { } -func (UnimplementedAuditInformationServer) LookupUser(context.Context, *LookupUserRequest) (*LookupUserResponse, error) { +func (UnimplementedAuditInformationServiceServer) LookupUser(context.Context, *LookupUserRequest) (*LookupUserResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method LookupUser not implemented") } -func (UnimplementedAuditInformationServer) LookupCluster(context.Context, *LookupClusterRequest) (*LookupClusterResponse, error) { +func (UnimplementedAuditInformationServiceServer) LookupCluster(context.Context, *LookupClusterRequest) (*LookupClusterResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method LookupCluster not implemented") } -// UnsafeAuditInformationServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to AuditInformationServer will +// UnsafeAuditInformationServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to AuditInformationServiceServer will // result in compilation errors. -type UnsafeAuditInformationServer interface { - mustEmbedUnimplementedAuditInformationServer() +type UnsafeAuditInformationServiceServer interface { + mustEmbedUnimplementedAuditInformationServiceServer() } -func RegisterAuditInformationServer(s grpc.ServiceRegistrar, srv AuditInformationServer) { - s.RegisterService(&AuditInformation_ServiceDesc, srv) +func RegisterAuditInformationServiceServer(s grpc.ServiceRegistrar, srv AuditInformationServiceServer) { + s.RegisterService(&AuditInformationService_ServiceDesc, srv) } -func _AuditInformation_LookupUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _AuditInformationService_LookupUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(LookupUserRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(AuditInformationServer).LookupUser(ctx, in) + return srv.(AuditInformationServiceServer).LookupUser(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.sentry.rpc.AuditInformation/LookupUser", + FullMethod: "/paralus.dev.sentry.rpc.AuditInformationService/LookupUser", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AuditInformationServer).LookupUser(ctx, req.(*LookupUserRequest)) + return srv.(AuditInformationServiceServer).LookupUser(ctx, req.(*LookupUserRequest)) } return interceptor(ctx, in, info, handler) } -func _AuditInformation_LookupCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _AuditInformationService_LookupCluster_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(LookupClusterRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(AuditInformationServer).LookupCluster(ctx, in) + return srv.(AuditInformationServiceServer).LookupCluster(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.sentry.rpc.AuditInformation/LookupCluster", + FullMethod: "/paralus.dev.sentry.rpc.AuditInformationService/LookupCluster", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AuditInformationServer).LookupCluster(ctx, req.(*LookupClusterRequest)) + return srv.(AuditInformationServiceServer).LookupCluster(ctx, req.(*LookupClusterRequest)) } return interceptor(ctx, in, info, handler) } -// AuditInformation_ServiceDesc is the grpc.ServiceDesc for AuditInformation service. +// AuditInformationService_ServiceDesc is the grpc.ServiceDesc for AuditInformationService service. // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) -var AuditInformation_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "paralus.dev.sentry.rpc.AuditInformation", - HandlerType: (*AuditInformationServer)(nil), +var AuditInformationService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "paralus.dev.sentry.rpc.AuditInformationService", + HandlerType: (*AuditInformationServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "LookupUser", - Handler: _AuditInformation_LookupUser_Handler, + Handler: _AuditInformationService_LookupUser_Handler, }, { MethodName: "LookupCluster", - Handler: _AuditInformation_LookupCluster_Handler, + Handler: _AuditInformationService_LookupCluster_Handler, }, }, Streams: []grpc.StreamDesc{}, diff --git a/proto/rpc/sentry/bootstrap.pb.go b/proto/rpc/sentry/bootstrap.pb.go index f7439459..77dae1ff 100644 --- a/proto/rpc/sentry/bootstrap.pb.go +++ b/proto/rpc/sentry/bootstrap.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.27.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: proto/rpc/sentry/bootstrap.proto @@ -461,184 +461,184 @@ var file_proto_rpc_sentry_bootstrap_proto_rawDesc = []byte{ 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x22, 0x0a, 0x0c, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, - 0x72, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x32, 0x9f, 0x11, 0x0a, 0x09, 0x42, 0x6f, 0x6f, 0x74, 0x73, - 0x74, 0x72, 0x61, 0x70, 0x12, 0xa0, 0x01, 0x0a, 0x13, 0x50, 0x61, 0x74, 0x63, 0x68, 0x42, 0x6f, - 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x49, 0x6e, 0x66, 0x72, 0x61, 0x12, 0x28, 0x2e, 0x70, - 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, - 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, - 0x70, 0x49, 0x6e, 0x66, 0x72, 0x61, 0x1a, 0x28, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, - 0x79, 0x2e, 0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x49, 0x6e, 0x66, 0x72, 0x61, - 0x22, 0x35, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2f, 0x1a, 0x2a, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x65, - 0x6e, 0x74, 0x72, 0x79, 0x2f, 0x62, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x2f, 0x69, - 0x6e, 0x66, 0x72, 0x61, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6e, - 0x61, 0x6d, 0x65, 0x7d, 0x3a, 0x01, 0x2a, 0x12, 0x9b, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x42, - 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x49, 0x6e, 0x66, 0x72, 0x61, 0x12, 0x28, 0x2e, + 0x72, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x32, 0xa6, 0x11, 0x0a, 0x10, 0x42, 0x6f, 0x6f, 0x74, 0x73, + 0x74, 0x72, 0x61, 0x70, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xa0, 0x01, 0x0a, 0x13, + 0x50, 0x61, 0x74, 0x63, 0x68, 0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x49, 0x6e, + 0x66, 0x72, 0x61, 0x12, 0x28, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, + 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x42, + 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x49, 0x6e, 0x66, 0x72, 0x61, 0x1a, 0x28, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, - 0x61, 0x70, 0x49, 0x6e, 0x66, 0x72, 0x61, 0x1a, 0x28, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, - 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x6e, 0x74, - 0x72, 0x79, 0x2e, 0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x49, 0x6e, 0x66, 0x72, - 0x61, 0x22, 0x32, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2c, 0x12, 0x2a, 0x2f, 0x76, 0x32, 0x2f, 0x73, - 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2f, 0x62, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x2f, - 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, - 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x12, 0xbb, 0x01, 0x0a, 0x1b, 0x50, 0x61, 0x74, 0x63, 0x68, 0x42, - 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x54, 0x65, 0x6d, - 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x30, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, - 0x2e, 0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x54, - 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x1a, 0x30, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, - 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x6e, 0x74, - 0x72, 0x79, 0x2e, 0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x41, 0x67, 0x65, 0x6e, - 0x74, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x22, 0x38, 0x82, 0xd3, 0xe4, 0x93, 0x02, - 0x32, 0x1a, 0x2d, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2f, 0x62, 0x6f, - 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x2f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, - 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, - 0x3a, 0x01, 0x2a, 0x12, 0xb6, 0x01, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x6f, 0x74, 0x73, - 0x74, 0x72, 0x61, 0x70, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, - 0x65, 0x12, 0x30, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x42, 0x6f, 0x6f, - 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x54, 0x65, 0x6d, 0x70, 0x6c, - 0x61, 0x74, 0x65, 0x1a, 0x30, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, - 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x42, - 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x54, 0x65, 0x6d, - 0x70, 0x6c, 0x61, 0x74, 0x65, 0x22, 0x35, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2f, 0x12, 0x2d, 0x2f, - 0x76, 0x32, 0x2f, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2f, 0x62, 0x6f, 0x6f, 0x74, 0x73, 0x74, - 0x72, 0x61, 0x70, 0x2f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2f, 0x7b, 0x6d, 0x65, - 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x12, 0xa4, 0x01, 0x0a, - 0x1a, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x41, 0x67, 0x65, - 0x6e, 0x74, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x12, 0x29, 0x2e, 0x70, 0x61, - 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, - 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4f, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x34, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, - 0x79, 0x2e, 0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x41, 0x67, 0x65, 0x6e, 0x74, - 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x25, 0x82, 0xd3, - 0xe4, 0x93, 0x02, 0x1f, 0x12, 0x1d, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, - 0x2f, 0x62, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x2f, 0x74, 0x65, 0x6d, 0x70, 0x6c, - 0x61, 0x74, 0x65, 0x12, 0xba, 0x01, 0x0a, 0x16, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, - 0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x2c, - 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x73, 0x65, 0x6e, - 0x74, 0x72, 0x79, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, - 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x70, - 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, - 0x79, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x41, 0x67, - 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x43, 0x82, 0xd3, 0xe4, - 0x93, 0x02, 0x3d, 0x22, 0x38, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2f, - 0x62, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x2f, 0x7b, 0x74, 0x65, 0x6d, 0x70, 0x6c, - 0x61, 0x74, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x3d, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, - 0x65, 0x2f, 0x2a, 0x7d, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x3a, 0x01, 0x2a, - 0x12, 0xc3, 0x01, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, - 0x70, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x28, 0x2e, 0x70, + 0x61, 0x70, 0x49, 0x6e, 0x66, 0x72, 0x61, 0x22, 0x35, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2f, 0x1a, + 0x2a, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2f, 0x62, 0x6f, 0x6f, 0x74, + 0x73, 0x74, 0x72, 0x61, 0x70, 0x2f, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2f, 0x7b, 0x6d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x3a, 0x01, 0x2a, 0x12, 0x9b, + 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x49, + 0x6e, 0x66, 0x72, 0x61, 0x12, 0x28, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, + 0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x49, 0x6e, 0x66, 0x72, 0x61, 0x1a, 0x28, + 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, + 0x65, 0x73, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74, + 0x72, 0x61, 0x70, 0x49, 0x6e, 0x66, 0x72, 0x61, 0x22, 0x32, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2c, + 0x12, 0x2a, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2f, 0x62, 0x6f, 0x6f, + 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x2f, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2f, 0x7b, 0x6d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x12, 0xbb, 0x01, 0x0a, + 0x1b, 0x50, 0x61, 0x74, 0x63, 0x68, 0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x41, + 0x67, 0x65, 0x6e, 0x74, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x30, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, - 0x70, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x1a, 0x25, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, - 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x42, 0x6f, 0x64, 0x79, 0x22, 0x57, 0x82, - 0xd3, 0xe4, 0x93, 0x02, 0x51, 0x12, 0x4f, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x65, 0x6e, 0x74, 0x72, - 0x79, 0x2f, 0x62, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x2f, 0x7b, 0x73, 0x70, 0x65, - 0x63, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x66, 0x3d, 0x74, 0x65, - 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2f, 0x2a, 0x7d, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2f, - 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x2f, - 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0xaf, 0x01, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x12, - 0x28, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, - 0x70, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x42, 0x6f, 0x6f, 0x74, 0x73, - 0x74, 0x72, 0x61, 0x70, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x1a, 0x28, 0x2e, 0x70, 0x61, 0x72, 0x61, - 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x65, - 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x41, 0x67, - 0x65, 0x6e, 0x74, 0x22, 0x43, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3d, 0x22, 0x38, 0x2f, 0x76, 0x32, - 0x2f, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2f, 0x62, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, - 0x70, 0x2f, 0x7b, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, - 0x52, 0x65, 0x66, 0x3d, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2f, 0x2a, 0x7d, 0x2f, - 0x61, 0x67, 0x65, 0x6e, 0x74, 0x3a, 0x01, 0x2a, 0x12, 0xb9, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, - 0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x28, + 0x70, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x1a, 0x30, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74, - 0x72, 0x61, 0x70, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x1a, 0x28, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, + 0x72, 0x61, 0x70, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, + 0x22, 0x38, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x32, 0x1a, 0x2d, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x65, + 0x6e, 0x74, 0x72, 0x79, 0x2f, 0x62, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x2f, 0x74, + 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x3a, 0x01, 0x2a, 0x12, 0xb6, 0x01, 0x0a, 0x19, 0x47, + 0x65, 0x74, 0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x41, 0x67, 0x65, 0x6e, 0x74, + 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x30, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x41, 0x67, 0x65, - 0x6e, 0x74, 0x22, 0x50, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x4a, 0x12, 0x48, 0x2f, 0x76, 0x32, 0x2f, + 0x6e, 0x74, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x1a, 0x30, 0x2e, 0x70, 0x61, 0x72, + 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, + 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x41, + 0x67, 0x65, 0x6e, 0x74, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x22, 0x35, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x2f, 0x12, 0x2d, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, + 0x2f, 0x62, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x2f, 0x74, 0x65, 0x6d, 0x70, 0x6c, + 0x61, 0x74, 0x65, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6e, 0x61, + 0x6d, 0x65, 0x7d, 0x12, 0xa4, 0x01, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x6f, 0x74, 0x73, + 0x74, 0x72, 0x61, 0x70, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, + 0x65, 0x73, 0x12, 0x29, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, + 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x34, 0x2e, + 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, + 0x73, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, + 0x61, 0x70, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x4c, + 0x69, 0x73, 0x74, 0x22, 0x25, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1f, 0x12, 0x1d, 0x2f, 0x76, 0x32, + 0x2f, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2f, 0x62, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, + 0x70, 0x2f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0xba, 0x01, 0x0a, 0x16, 0x52, + 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, + 0x41, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x2c, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x52, + 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, + 0x76, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x65, 0x67, + 0x69, 0x73, 0x74, 0x65, 0x72, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x43, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3d, 0x22, 0x38, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2f, 0x62, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, - 0x2f, 0x7b, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, - 0x65, 0x66, 0x3d, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2f, 0x2a, 0x7d, 0x2f, 0x61, - 0x67, 0x65, 0x6e, 0x74, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6e, - 0x61, 0x6d, 0x65, 0x7d, 0x12, 0xb4, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x6f, 0x74, - 0x73, 0x74, 0x72, 0x61, 0x70, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x31, 0x2e, 0x70, 0x61, - 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, - 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, - 0x70, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, - 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, - 0x65, 0x73, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74, - 0x72, 0x61, 0x70, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x3d, 0x82, 0xd3, - 0xe4, 0x93, 0x02, 0x37, 0x12, 0x35, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, - 0x2f, 0x62, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x2f, 0x7b, 0x74, 0x65, 0x6d, 0x70, - 0x6c, 0x61, 0x74, 0x65, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x3d, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, - 0x74, 0x65, 0x2f, 0x2a, 0x7d, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x12, 0xc8, 0x01, 0x0a, 0x14, - 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x41, - 0x67, 0x65, 0x6e, 0x74, 0x12, 0x28, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, - 0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x1a, 0x34, - 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x73, 0x65, 0x6e, - 0x74, 0x72, 0x79, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x6f, - 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x50, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x4a, 0x2a, 0x48, 0x2f, 0x76, + 0x2f, 0x7b, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x3d, + 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2f, 0x2a, 0x7d, 0x2f, 0x72, 0x65, 0x67, 0x69, + 0x73, 0x74, 0x65, 0x72, 0x3a, 0x01, 0x2a, 0x12, 0xc3, 0x01, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x42, + 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x12, 0x28, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, + 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x42, + 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x1a, 0x25, 0x2e, + 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, + 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x48, 0x74, 0x74, 0x70, + 0x42, 0x6f, 0x64, 0x79, 0x22, 0x57, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x51, 0x12, 0x4f, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2f, 0x62, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x2f, 0x7b, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x66, 0x3d, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2f, 0x2a, 0x7d, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, - 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x12, 0xbf, 0x01, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x12, + 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0xaf, 0x01, + 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, + 0x70, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x28, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, + 0x79, 0x2e, 0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x41, 0x67, 0x65, 0x6e, 0x74, + 0x1a, 0x28, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, + 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x42, 0x6f, 0x6f, 0x74, + 0x73, 0x74, 0x72, 0x61, 0x70, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x22, 0x43, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x3d, 0x22, 0x38, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2f, 0x62, + 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x2f, 0x7b, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x74, + 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x66, 0x3d, 0x74, 0x65, 0x6d, 0x70, 0x6c, + 0x61, 0x74, 0x65, 0x2f, 0x2a, 0x7d, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x3a, 0x01, 0x2a, 0x12, + 0xb9, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, + 0x41, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x28, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, + 0x2e, 0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x1a, 0x28, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x42, 0x6f, 0x6f, 0x74, 0x73, - 0x74, 0x72, 0x61, 0x70, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x1a, 0x28, 0x2e, 0x70, 0x61, 0x72, 0x61, - 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x65, - 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x41, 0x67, - 0x65, 0x6e, 0x74, 0x22, 0x53, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x4d, 0x1a, 0x48, 0x2f, 0x76, 0x32, + 0x74, 0x72, 0x61, 0x70, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x22, 0x50, 0x82, 0xd3, 0xe4, 0x93, 0x02, + 0x4a, 0x12, 0x48, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2f, 0x62, 0x6f, + 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x2f, 0x7b, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x74, 0x65, + 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x66, 0x3d, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, + 0x74, 0x65, 0x2f, 0x2a, 0x7d, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2f, 0x7b, 0x6d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x12, 0xb4, 0x01, 0x0a, 0x12, + 0x47, 0x65, 0x74, 0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x41, 0x67, 0x65, 0x6e, + 0x74, 0x73, 0x12, 0x31, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x42, + 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, + 0x2e, 0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x4c, + 0x69, 0x73, 0x74, 0x22, 0x3d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x37, 0x12, 0x35, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2f, 0x62, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, - 0x70, 0x2f, 0x7b, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, - 0x52, 0x65, 0x66, 0x3d, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2f, 0x2a, 0x7d, 0x2f, - 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, - 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x3a, 0x01, 0x2a, 0x42, 0xe5, 0x04, 0x0a, 0x1a, 0x63, 0x6f, 0x6d, - 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x73, 0x65, 0x6e, - 0x74, 0x72, 0x79, 0x2e, 0x72, 0x70, 0x63, 0x42, 0x0e, 0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, - 0x61, 0x70, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2b, 0x67, 0x69, 0x74, 0x68, 0x75, - 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, 0x61, - 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x72, 0x70, 0x63, 0x2f, - 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0xa2, 0x02, 0x04, 0x50, 0x44, 0x53, 0x52, 0xaa, 0x02, 0x16, - 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x44, 0x65, 0x76, 0x2e, 0x53, 0x65, 0x6e, 0x74, - 0x72, 0x79, 0x2e, 0x52, 0x70, 0x63, 0xca, 0x02, 0x16, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, - 0x5c, 0x44, 0x65, 0x76, 0x5c, 0x53, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x5c, 0x52, 0x70, 0x63, 0xe2, - 0x02, 0x22, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x5c, 0x44, 0x65, 0x76, 0x5c, 0x53, 0x65, - 0x6e, 0x74, 0x72, 0x79, 0x5c, 0x52, 0x70, 0x63, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x19, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x3a, 0x3a, - 0x44, 0x65, 0x76, 0x3a, 0x3a, 0x53, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x3a, 0x3a, 0x52, 0x70, 0x63, - 0x92, 0x41, 0x8c, 0x03, 0x12, 0x2e, 0x0a, 0x18, 0x53, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x20, 0x42, - 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x20, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x22, 0x0d, 0x0a, 0x0b, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x20, 0x44, 0x65, 0x76, 0x32, - 0x03, 0x32, 0x2e, 0x30, 0x2a, 0x01, 0x02, 0x32, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x32, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x10, 0x61, 0x70, 0x70, - 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x10, 0x61, - 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x79, 0x61, 0x6d, 0x6c, 0x52, - 0x50, 0x0a, 0x03, 0x34, 0x30, 0x33, 0x12, 0x49, 0x0a, 0x47, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, - 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, - 0x20, 0x64, 0x6f, 0x65, 0x73, 0x20, 0x6e, 0x6f, 0x74, 0x20, 0x68, 0x61, 0x76, 0x65, 0x20, 0x70, - 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x20, 0x74, 0x6f, 0x20, 0x61, 0x63, 0x63, - 0x65, 0x73, 0x73, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, - 0x2e, 0x52, 0x33, 0x0a, 0x03, 0x34, 0x30, 0x34, 0x12, 0x2c, 0x0a, 0x2a, 0x52, 0x65, 0x74, 0x75, - 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, - 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x20, 0x64, 0x6f, 0x65, 0x73, 0x20, 0x6e, 0x6f, 0x74, 0x20, - 0x65, 0x78, 0x69, 0x73, 0x74, 0x2e, 0x52, 0x2b, 0x0a, 0x03, 0x35, 0x30, 0x30, 0x12, 0x24, 0x0a, - 0x22, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x69, 0x6e, - 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x20, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x20, 0x65, 0x72, - 0x72, 0x6f, 0x72, 0x5a, 0x3a, 0x0a, 0x27, 0x0a, 0x0a, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x41, - 0x75, 0x74, 0x68, 0x12, 0x19, 0x08, 0x02, 0x1a, 0x13, 0x58, 0x2d, 0x50, 0x41, 0x52, 0x41, 0x4c, - 0x55, 0x53, 0x2d, 0x41, 0x50, 0x49, 0x2d, 0x4b, 0x45, 0x59, 0x49, 0x44, 0x20, 0x02, 0x0a, 0x0f, - 0x0a, 0x09, 0x42, 0x61, 0x73, 0x69, 0x63, 0x41, 0x75, 0x74, 0x68, 0x12, 0x02, 0x08, 0x01, 0x62, - 0x1f, 0x0a, 0x0e, 0x0a, 0x0a, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x12, - 0x00, 0x0a, 0x0d, 0x0a, 0x09, 0x42, 0x61, 0x73, 0x69, 0x63, 0x41, 0x75, 0x74, 0x68, 0x12, 0x00, - 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x70, 0x2f, 0x7b, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x53, 0x63, 0x6f, 0x70, 0x65, + 0x3d, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x2f, 0x2a, 0x7d, 0x2f, 0x61, 0x67, 0x65, + 0x6e, 0x74, 0x12, 0xc8, 0x01, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x6f, 0x6f, + 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x28, 0x2e, 0x70, 0x61, + 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, + 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, + 0x41, 0x67, 0x65, 0x6e, 0x74, 0x1a, 0x34, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x44, + 0x65, 0x6c, 0x65, 0x74, 0x65, 0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x41, 0x67, + 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x50, 0x82, 0xd3, 0xe4, + 0x93, 0x02, 0x4a, 0x2a, 0x48, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2f, + 0x62, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x2f, 0x7b, 0x73, 0x70, 0x65, 0x63, 0x2e, + 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x66, 0x3d, 0x74, 0x65, 0x6d, 0x70, + 0x6c, 0x61, 0x74, 0x65, 0x2f, 0x2a, 0x7d, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2f, 0x7b, 0x6d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x12, 0xbf, 0x01, + 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, + 0x70, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x28, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, + 0x79, 0x2e, 0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x41, 0x67, 0x65, 0x6e, 0x74, + 0x1a, 0x28, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, + 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x42, 0x6f, 0x6f, 0x74, + 0x73, 0x74, 0x72, 0x61, 0x70, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x22, 0x53, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x4d, 0x1a, 0x48, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2f, 0x62, + 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x2f, 0x7b, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x74, + 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x65, 0x66, 0x3d, 0x74, 0x65, 0x6d, 0x70, 0x6c, + 0x61, 0x74, 0x65, 0x2f, 0x2a, 0x7d, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2f, 0x7b, 0x6d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x3a, 0x01, 0x2a, 0x42, + 0xe5, 0x04, 0x0a, 0x1a, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x72, 0x70, 0x63, 0x42, 0x0e, + 0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, + 0x5a, 0x2b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x61, 0x72, + 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0xa2, 0x02, 0x04, + 0x50, 0x44, 0x53, 0x52, 0xaa, 0x02, 0x16, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x44, + 0x65, 0x76, 0x2e, 0x53, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x52, 0x70, 0x63, 0xca, 0x02, 0x16, + 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x5c, 0x44, 0x65, 0x76, 0x5c, 0x53, 0x65, 0x6e, 0x74, + 0x72, 0x79, 0x5c, 0x52, 0x70, 0x63, 0xe2, 0x02, 0x22, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, + 0x5c, 0x44, 0x65, 0x76, 0x5c, 0x53, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x5c, 0x52, 0x70, 0x63, 0x5c, + 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x19, 0x50, 0x61, + 0x72, 0x61, 0x6c, 0x75, 0x73, 0x3a, 0x3a, 0x44, 0x65, 0x76, 0x3a, 0x3a, 0x53, 0x65, 0x6e, 0x74, + 0x72, 0x79, 0x3a, 0x3a, 0x52, 0x70, 0x63, 0x92, 0x41, 0x8c, 0x03, 0x12, 0x2e, 0x0a, 0x18, 0x53, + 0x65, 0x6e, 0x74, 0x72, 0x79, 0x20, 0x42, 0x6f, 0x6f, 0x74, 0x73, 0x74, 0x72, 0x61, 0x70, 0x20, + 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x22, 0x0d, 0x0a, 0x0b, 0x50, 0x61, 0x72, 0x61, 0x6c, + 0x75, 0x73, 0x20, 0x44, 0x65, 0x76, 0x32, 0x03, 0x32, 0x2e, 0x30, 0x2a, 0x01, 0x02, 0x32, 0x10, + 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, + 0x32, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x79, 0x61, + 0x6d, 0x6c, 0x3a, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, + 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x2f, 0x79, 0x61, 0x6d, 0x6c, 0x52, 0x50, 0x0a, 0x03, 0x34, 0x30, 0x33, 0x12, 0x49, 0x0a, + 0x47, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x74, + 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x64, 0x6f, 0x65, 0x73, 0x20, 0x6e, 0x6f, 0x74, + 0x20, 0x68, 0x61, 0x76, 0x65, 0x20, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x20, 0x74, 0x6f, 0x20, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x52, 0x33, 0x0a, 0x03, 0x34, 0x30, 0x34, 0x12, + 0x2c, 0x0a, 0x2a, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, + 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x20, 0x64, 0x6f, + 0x65, 0x73, 0x20, 0x6e, 0x6f, 0x74, 0x20, 0x65, 0x78, 0x69, 0x73, 0x74, 0x2e, 0x52, 0x2b, 0x0a, + 0x03, 0x35, 0x30, 0x30, 0x12, 0x24, 0x0a, 0x22, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, + 0x20, 0x66, 0x6f, 0x72, 0x20, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x20, 0x73, 0x65, + 0x72, 0x76, 0x65, 0x72, 0x20, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5a, 0x3a, 0x0a, 0x27, 0x0a, 0x0a, + 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x12, 0x19, 0x08, 0x02, 0x1a, 0x13, + 0x58, 0x2d, 0x50, 0x41, 0x52, 0x41, 0x4c, 0x55, 0x53, 0x2d, 0x41, 0x50, 0x49, 0x2d, 0x4b, 0x45, + 0x59, 0x49, 0x44, 0x20, 0x02, 0x0a, 0x0f, 0x0a, 0x09, 0x42, 0x61, 0x73, 0x69, 0x63, 0x41, 0x75, + 0x74, 0x68, 0x12, 0x02, 0x08, 0x01, 0x62, 0x1f, 0x0a, 0x0e, 0x0a, 0x0a, 0x41, 0x70, 0x69, 0x4b, + 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x12, 0x00, 0x0a, 0x0d, 0x0a, 0x09, 0x42, 0x61, 0x73, 0x69, + 0x63, 0x41, 0x75, 0x74, 0x68, 0x12, 0x00, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -675,30 +675,30 @@ var file_proto_rpc_sentry_bootstrap_proto_depIdxs = []int32{ 7, // 0: paralus.dev.sentry.rpc.GetBootstrapAgentsRequest.opts:type_name -> paralus.dev.types.common.v3.QueryOptions 7, // 1: paralus.dev.sentry.rpc.GetRelayNetworksRequest.opts:type_name -> paralus.dev.types.common.v3.QueryOptions 8, // 2: paralus.dev.sentry.rpc.RelayAgentDownloadRequest.metadata:type_name -> paralus.dev.types.common.v3.Metadata - 9, // 3: paralus.dev.sentry.rpc.Bootstrap.PatchBootstrapInfra:input_type -> paralus.dev.types.sentry.BootstrapInfra - 9, // 4: paralus.dev.sentry.rpc.Bootstrap.GetBootstrapInfra:input_type -> paralus.dev.types.sentry.BootstrapInfra - 10, // 5: paralus.dev.sentry.rpc.Bootstrap.PatchBootstrapAgentTemplate:input_type -> paralus.dev.types.sentry.BootstrapAgentTemplate - 10, // 6: paralus.dev.sentry.rpc.Bootstrap.GetBootstrapAgentTemplate:input_type -> paralus.dev.types.sentry.BootstrapAgentTemplate - 7, // 7: paralus.dev.sentry.rpc.Bootstrap.GetBootstrapAgentTemplates:input_type -> paralus.dev.types.common.v3.QueryOptions - 0, // 8: paralus.dev.sentry.rpc.Bootstrap.RegisterBootstrapAgent:input_type -> paralus.dev.sentry.rpc.RegisterAgentRequest - 11, // 9: paralus.dev.sentry.rpc.Bootstrap.GetBootstrapAgentConfig:input_type -> paralus.dev.types.sentry.BootstrapAgent - 11, // 10: paralus.dev.sentry.rpc.Bootstrap.CreateBootstrapAgent:input_type -> paralus.dev.types.sentry.BootstrapAgent - 11, // 11: paralus.dev.sentry.rpc.Bootstrap.GetBootstrapAgent:input_type -> paralus.dev.types.sentry.BootstrapAgent - 2, // 12: paralus.dev.sentry.rpc.Bootstrap.GetBootstrapAgents:input_type -> paralus.dev.sentry.rpc.GetBootstrapAgentsRequest - 11, // 13: paralus.dev.sentry.rpc.Bootstrap.DeleteBootstrapAgent:input_type -> paralus.dev.types.sentry.BootstrapAgent - 11, // 14: paralus.dev.sentry.rpc.Bootstrap.UpdateBootstrapAgent:input_type -> paralus.dev.types.sentry.BootstrapAgent - 9, // 15: paralus.dev.sentry.rpc.Bootstrap.PatchBootstrapInfra:output_type -> paralus.dev.types.sentry.BootstrapInfra - 9, // 16: paralus.dev.sentry.rpc.Bootstrap.GetBootstrapInfra:output_type -> paralus.dev.types.sentry.BootstrapInfra - 10, // 17: paralus.dev.sentry.rpc.Bootstrap.PatchBootstrapAgentTemplate:output_type -> paralus.dev.types.sentry.BootstrapAgentTemplate - 10, // 18: paralus.dev.sentry.rpc.Bootstrap.GetBootstrapAgentTemplate:output_type -> paralus.dev.types.sentry.BootstrapAgentTemplate - 12, // 19: paralus.dev.sentry.rpc.Bootstrap.GetBootstrapAgentTemplates:output_type -> paralus.dev.types.sentry.BootstrapAgentTemplateList - 1, // 20: paralus.dev.sentry.rpc.Bootstrap.RegisterBootstrapAgent:output_type -> paralus.dev.sentry.rpc.RegisterAgentResponse - 13, // 21: paralus.dev.sentry.rpc.Bootstrap.GetBootstrapAgentConfig:output_type -> paralus.dev.types.common.v3.HttpBody - 11, // 22: paralus.dev.sentry.rpc.Bootstrap.CreateBootstrapAgent:output_type -> paralus.dev.types.sentry.BootstrapAgent - 11, // 23: paralus.dev.sentry.rpc.Bootstrap.GetBootstrapAgent:output_type -> paralus.dev.types.sentry.BootstrapAgent - 14, // 24: paralus.dev.sentry.rpc.Bootstrap.GetBootstrapAgents:output_type -> paralus.dev.types.sentry.BootstrapAgentList - 3, // 25: paralus.dev.sentry.rpc.Bootstrap.DeleteBootstrapAgent:output_type -> paralus.dev.sentry.rpc.DeleteBootstrapAgentResponse - 11, // 26: paralus.dev.sentry.rpc.Bootstrap.UpdateBootstrapAgent:output_type -> paralus.dev.types.sentry.BootstrapAgent + 9, // 3: paralus.dev.sentry.rpc.BootstrapService.PatchBootstrapInfra:input_type -> paralus.dev.types.sentry.BootstrapInfra + 9, // 4: paralus.dev.sentry.rpc.BootstrapService.GetBootstrapInfra:input_type -> paralus.dev.types.sentry.BootstrapInfra + 10, // 5: paralus.dev.sentry.rpc.BootstrapService.PatchBootstrapAgentTemplate:input_type -> paralus.dev.types.sentry.BootstrapAgentTemplate + 10, // 6: paralus.dev.sentry.rpc.BootstrapService.GetBootstrapAgentTemplate:input_type -> paralus.dev.types.sentry.BootstrapAgentTemplate + 7, // 7: paralus.dev.sentry.rpc.BootstrapService.GetBootstrapAgentTemplates:input_type -> paralus.dev.types.common.v3.QueryOptions + 0, // 8: paralus.dev.sentry.rpc.BootstrapService.RegisterBootstrapAgent:input_type -> paralus.dev.sentry.rpc.RegisterAgentRequest + 11, // 9: paralus.dev.sentry.rpc.BootstrapService.GetBootstrapAgentConfig:input_type -> paralus.dev.types.sentry.BootstrapAgent + 11, // 10: paralus.dev.sentry.rpc.BootstrapService.CreateBootstrapAgent:input_type -> paralus.dev.types.sentry.BootstrapAgent + 11, // 11: paralus.dev.sentry.rpc.BootstrapService.GetBootstrapAgent:input_type -> paralus.dev.types.sentry.BootstrapAgent + 2, // 12: paralus.dev.sentry.rpc.BootstrapService.GetBootstrapAgents:input_type -> paralus.dev.sentry.rpc.GetBootstrapAgentsRequest + 11, // 13: paralus.dev.sentry.rpc.BootstrapService.DeleteBootstrapAgent:input_type -> paralus.dev.types.sentry.BootstrapAgent + 11, // 14: paralus.dev.sentry.rpc.BootstrapService.UpdateBootstrapAgent:input_type -> paralus.dev.types.sentry.BootstrapAgent + 9, // 15: paralus.dev.sentry.rpc.BootstrapService.PatchBootstrapInfra:output_type -> paralus.dev.types.sentry.BootstrapInfra + 9, // 16: paralus.dev.sentry.rpc.BootstrapService.GetBootstrapInfra:output_type -> paralus.dev.types.sentry.BootstrapInfra + 10, // 17: paralus.dev.sentry.rpc.BootstrapService.PatchBootstrapAgentTemplate:output_type -> paralus.dev.types.sentry.BootstrapAgentTemplate + 10, // 18: paralus.dev.sentry.rpc.BootstrapService.GetBootstrapAgentTemplate:output_type -> paralus.dev.types.sentry.BootstrapAgentTemplate + 12, // 19: paralus.dev.sentry.rpc.BootstrapService.GetBootstrapAgentTemplates:output_type -> paralus.dev.types.sentry.BootstrapAgentTemplateList + 1, // 20: paralus.dev.sentry.rpc.BootstrapService.RegisterBootstrapAgent:output_type -> paralus.dev.sentry.rpc.RegisterAgentResponse + 13, // 21: paralus.dev.sentry.rpc.BootstrapService.GetBootstrapAgentConfig:output_type -> paralus.dev.types.common.v3.HttpBody + 11, // 22: paralus.dev.sentry.rpc.BootstrapService.CreateBootstrapAgent:output_type -> paralus.dev.types.sentry.BootstrapAgent + 11, // 23: paralus.dev.sentry.rpc.BootstrapService.GetBootstrapAgent:output_type -> paralus.dev.types.sentry.BootstrapAgent + 14, // 24: paralus.dev.sentry.rpc.BootstrapService.GetBootstrapAgents:output_type -> paralus.dev.types.sentry.BootstrapAgentList + 3, // 25: paralus.dev.sentry.rpc.BootstrapService.DeleteBootstrapAgent:output_type -> paralus.dev.sentry.rpc.DeleteBootstrapAgentResponse + 11, // 26: paralus.dev.sentry.rpc.BootstrapService.UpdateBootstrapAgent:output_type -> paralus.dev.types.sentry.BootstrapAgent 15, // [15:27] is the sub-list for method output_type 3, // [3:15] is the sub-list for method input_type 3, // [3:3] is the sub-list for extension type_name diff --git a/proto/rpc/sentry/bootstrap.pb.gw.go b/proto/rpc/sentry/bootstrap.pb.gw.go index 25895112..7c5b4185 100644 --- a/proto/rpc/sentry/bootstrap.pb.gw.go +++ b/proto/rpc/sentry/bootstrap.pb.gw.go @@ -33,7 +33,7 @@ var _ = runtime.String var _ = utilities.NewDoubleArray var _ = metadata.Join -func request_Bootstrap_PatchBootstrapInfra_0(ctx context.Context, marshaler runtime.Marshaler, client BootstrapClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_BootstrapService_PatchBootstrapInfra_0(ctx context.Context, marshaler runtime.Marshaler, client BootstrapServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq sentry_0.BootstrapInfra var metadata runtime.ServerMetadata @@ -67,7 +67,7 @@ func request_Bootstrap_PatchBootstrapInfra_0(ctx context.Context, marshaler runt } -func local_request_Bootstrap_PatchBootstrapInfra_0(ctx context.Context, marshaler runtime.Marshaler, server BootstrapServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_BootstrapService_PatchBootstrapInfra_0(ctx context.Context, marshaler runtime.Marshaler, server BootstrapServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq sentry_0.BootstrapInfra var metadata runtime.ServerMetadata @@ -102,10 +102,10 @@ func local_request_Bootstrap_PatchBootstrapInfra_0(ctx context.Context, marshale } var ( - filter_Bootstrap_GetBootstrapInfra_0 = &utilities.DoubleArray{Encoding: map[string]int{"metadata": 0, "name": 1}, Base: []int{1, 1, 1, 0}, Check: []int{0, 1, 2, 3}} + filter_BootstrapService_GetBootstrapInfra_0 = &utilities.DoubleArray{Encoding: map[string]int{"metadata": 0, "name": 1}, Base: []int{1, 1, 1, 0}, Check: []int{0, 1, 2, 3}} ) -func request_Bootstrap_GetBootstrapInfra_0(ctx context.Context, marshaler runtime.Marshaler, client BootstrapClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_BootstrapService_GetBootstrapInfra_0(ctx context.Context, marshaler runtime.Marshaler, client BootstrapServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq sentry_0.BootstrapInfra var metadata runtime.ServerMetadata @@ -129,7 +129,7 @@ func request_Bootstrap_GetBootstrapInfra_0(ctx context.Context, marshaler runtim if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Bootstrap_GetBootstrapInfra_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_BootstrapService_GetBootstrapInfra_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -138,7 +138,7 @@ func request_Bootstrap_GetBootstrapInfra_0(ctx context.Context, marshaler runtim } -func local_request_Bootstrap_GetBootstrapInfra_0(ctx context.Context, marshaler runtime.Marshaler, server BootstrapServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_BootstrapService_GetBootstrapInfra_0(ctx context.Context, marshaler runtime.Marshaler, server BootstrapServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq sentry_0.BootstrapInfra var metadata runtime.ServerMetadata @@ -162,7 +162,7 @@ func local_request_Bootstrap_GetBootstrapInfra_0(ctx context.Context, marshaler if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Bootstrap_GetBootstrapInfra_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_BootstrapService_GetBootstrapInfra_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -171,7 +171,7 @@ func local_request_Bootstrap_GetBootstrapInfra_0(ctx context.Context, marshaler } -func request_Bootstrap_PatchBootstrapAgentTemplate_0(ctx context.Context, marshaler runtime.Marshaler, client BootstrapClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_BootstrapService_PatchBootstrapAgentTemplate_0(ctx context.Context, marshaler runtime.Marshaler, client BootstrapServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq sentry_0.BootstrapAgentTemplate var metadata runtime.ServerMetadata @@ -205,7 +205,7 @@ func request_Bootstrap_PatchBootstrapAgentTemplate_0(ctx context.Context, marsha } -func local_request_Bootstrap_PatchBootstrapAgentTemplate_0(ctx context.Context, marshaler runtime.Marshaler, server BootstrapServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_BootstrapService_PatchBootstrapAgentTemplate_0(ctx context.Context, marshaler runtime.Marshaler, server BootstrapServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq sentry_0.BootstrapAgentTemplate var metadata runtime.ServerMetadata @@ -240,10 +240,10 @@ func local_request_Bootstrap_PatchBootstrapAgentTemplate_0(ctx context.Context, } var ( - filter_Bootstrap_GetBootstrapAgentTemplate_0 = &utilities.DoubleArray{Encoding: map[string]int{"metadata": 0, "name": 1}, Base: []int{1, 1, 1, 0}, Check: []int{0, 1, 2, 3}} + filter_BootstrapService_GetBootstrapAgentTemplate_0 = &utilities.DoubleArray{Encoding: map[string]int{"metadata": 0, "name": 1}, Base: []int{1, 1, 1, 0}, Check: []int{0, 1, 2, 3}} ) -func request_Bootstrap_GetBootstrapAgentTemplate_0(ctx context.Context, marshaler runtime.Marshaler, client BootstrapClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_BootstrapService_GetBootstrapAgentTemplate_0(ctx context.Context, marshaler runtime.Marshaler, client BootstrapServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq sentry_0.BootstrapAgentTemplate var metadata runtime.ServerMetadata @@ -267,7 +267,7 @@ func request_Bootstrap_GetBootstrapAgentTemplate_0(ctx context.Context, marshale if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Bootstrap_GetBootstrapAgentTemplate_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_BootstrapService_GetBootstrapAgentTemplate_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -276,7 +276,7 @@ func request_Bootstrap_GetBootstrapAgentTemplate_0(ctx context.Context, marshale } -func local_request_Bootstrap_GetBootstrapAgentTemplate_0(ctx context.Context, marshaler runtime.Marshaler, server BootstrapServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_BootstrapService_GetBootstrapAgentTemplate_0(ctx context.Context, marshaler runtime.Marshaler, server BootstrapServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq sentry_0.BootstrapAgentTemplate var metadata runtime.ServerMetadata @@ -300,7 +300,7 @@ func local_request_Bootstrap_GetBootstrapAgentTemplate_0(ctx context.Context, ma if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Bootstrap_GetBootstrapAgentTemplate_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_BootstrapService_GetBootstrapAgentTemplate_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -310,17 +310,17 @@ func local_request_Bootstrap_GetBootstrapAgentTemplate_0(ctx context.Context, ma } var ( - filter_Bootstrap_GetBootstrapAgentTemplates_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} + filter_BootstrapService_GetBootstrapAgentTemplates_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} ) -func request_Bootstrap_GetBootstrapAgentTemplates_0(ctx context.Context, marshaler runtime.Marshaler, client BootstrapClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_BootstrapService_GetBootstrapAgentTemplates_0(ctx context.Context, marshaler runtime.Marshaler, client BootstrapServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq commonv3.QueryOptions var metadata runtime.ServerMetadata if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Bootstrap_GetBootstrapAgentTemplates_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_BootstrapService_GetBootstrapAgentTemplates_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -329,14 +329,14 @@ func request_Bootstrap_GetBootstrapAgentTemplates_0(ctx context.Context, marshal } -func local_request_Bootstrap_GetBootstrapAgentTemplates_0(ctx context.Context, marshaler runtime.Marshaler, server BootstrapServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_BootstrapService_GetBootstrapAgentTemplates_0(ctx context.Context, marshaler runtime.Marshaler, server BootstrapServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq commonv3.QueryOptions var metadata runtime.ServerMetadata if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Bootstrap_GetBootstrapAgentTemplates_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_BootstrapService_GetBootstrapAgentTemplates_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -345,7 +345,7 @@ func local_request_Bootstrap_GetBootstrapAgentTemplates_0(ctx context.Context, m } -func request_Bootstrap_RegisterBootstrapAgent_0(ctx context.Context, marshaler runtime.Marshaler, client BootstrapClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_BootstrapService_RegisterBootstrapAgent_0(ctx context.Context, marshaler runtime.Marshaler, client BootstrapServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq RegisterAgentRequest var metadata runtime.ServerMetadata @@ -379,7 +379,7 @@ func request_Bootstrap_RegisterBootstrapAgent_0(ctx context.Context, marshaler r } -func local_request_Bootstrap_RegisterBootstrapAgent_0(ctx context.Context, marshaler runtime.Marshaler, server BootstrapServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_BootstrapService_RegisterBootstrapAgent_0(ctx context.Context, marshaler runtime.Marshaler, server BootstrapServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq RegisterAgentRequest var metadata runtime.ServerMetadata @@ -414,10 +414,10 @@ func local_request_Bootstrap_RegisterBootstrapAgent_0(ctx context.Context, marsh } var ( - filter_Bootstrap_GetBootstrapAgentConfig_0 = &utilities.DoubleArray{Encoding: map[string]int{"spec": 0, "templateRef": 1, "metadata": 2, "name": 3}, Base: []int{1, 1, 1, 1, 2, 0, 0}, Check: []int{0, 1, 2, 1, 4, 3, 5}} + filter_BootstrapService_GetBootstrapAgentConfig_0 = &utilities.DoubleArray{Encoding: map[string]int{"spec": 0, "templateRef": 1, "metadata": 2, "name": 3}, Base: []int{1, 1, 1, 1, 2, 0, 0}, Check: []int{0, 1, 2, 1, 4, 3, 5}} ) -func request_Bootstrap_GetBootstrapAgentConfig_0(ctx context.Context, marshaler runtime.Marshaler, client BootstrapClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_BootstrapService_GetBootstrapAgentConfig_0(ctx context.Context, marshaler runtime.Marshaler, client BootstrapServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq sentry_0.BootstrapAgent var metadata runtime.ServerMetadata @@ -451,7 +451,7 @@ func request_Bootstrap_GetBootstrapAgentConfig_0(ctx context.Context, marshaler if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Bootstrap_GetBootstrapAgentConfig_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_BootstrapService_GetBootstrapAgentConfig_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -460,7 +460,7 @@ func request_Bootstrap_GetBootstrapAgentConfig_0(ctx context.Context, marshaler } -func local_request_Bootstrap_GetBootstrapAgentConfig_0(ctx context.Context, marshaler runtime.Marshaler, server BootstrapServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_BootstrapService_GetBootstrapAgentConfig_0(ctx context.Context, marshaler runtime.Marshaler, server BootstrapServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq sentry_0.BootstrapAgent var metadata runtime.ServerMetadata @@ -494,7 +494,7 @@ func local_request_Bootstrap_GetBootstrapAgentConfig_0(ctx context.Context, mars if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Bootstrap_GetBootstrapAgentConfig_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_BootstrapService_GetBootstrapAgentConfig_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -503,7 +503,7 @@ func local_request_Bootstrap_GetBootstrapAgentConfig_0(ctx context.Context, mars } -func request_Bootstrap_CreateBootstrapAgent_0(ctx context.Context, marshaler runtime.Marshaler, client BootstrapClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_BootstrapService_CreateBootstrapAgent_0(ctx context.Context, marshaler runtime.Marshaler, client BootstrapServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq sentry_0.BootstrapAgent var metadata runtime.ServerMetadata @@ -537,7 +537,7 @@ func request_Bootstrap_CreateBootstrapAgent_0(ctx context.Context, marshaler run } -func local_request_Bootstrap_CreateBootstrapAgent_0(ctx context.Context, marshaler runtime.Marshaler, server BootstrapServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_BootstrapService_CreateBootstrapAgent_0(ctx context.Context, marshaler runtime.Marshaler, server BootstrapServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq sentry_0.BootstrapAgent var metadata runtime.ServerMetadata @@ -572,10 +572,10 @@ func local_request_Bootstrap_CreateBootstrapAgent_0(ctx context.Context, marshal } var ( - filter_Bootstrap_GetBootstrapAgent_0 = &utilities.DoubleArray{Encoding: map[string]int{"spec": 0, "templateRef": 1, "metadata": 2, "name": 3}, Base: []int{1, 1, 1, 1, 2, 0, 0}, Check: []int{0, 1, 2, 1, 4, 3, 5}} + filter_BootstrapService_GetBootstrapAgent_0 = &utilities.DoubleArray{Encoding: map[string]int{"spec": 0, "templateRef": 1, "metadata": 2, "name": 3}, Base: []int{1, 1, 1, 1, 2, 0, 0}, Check: []int{0, 1, 2, 1, 4, 3, 5}} ) -func request_Bootstrap_GetBootstrapAgent_0(ctx context.Context, marshaler runtime.Marshaler, client BootstrapClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_BootstrapService_GetBootstrapAgent_0(ctx context.Context, marshaler runtime.Marshaler, client BootstrapServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq sentry_0.BootstrapAgent var metadata runtime.ServerMetadata @@ -609,7 +609,7 @@ func request_Bootstrap_GetBootstrapAgent_0(ctx context.Context, marshaler runtim if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Bootstrap_GetBootstrapAgent_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_BootstrapService_GetBootstrapAgent_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -618,7 +618,7 @@ func request_Bootstrap_GetBootstrapAgent_0(ctx context.Context, marshaler runtim } -func local_request_Bootstrap_GetBootstrapAgent_0(ctx context.Context, marshaler runtime.Marshaler, server BootstrapServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_BootstrapService_GetBootstrapAgent_0(ctx context.Context, marshaler runtime.Marshaler, server BootstrapServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq sentry_0.BootstrapAgent var metadata runtime.ServerMetadata @@ -652,7 +652,7 @@ func local_request_Bootstrap_GetBootstrapAgent_0(ctx context.Context, marshaler if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Bootstrap_GetBootstrapAgent_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_BootstrapService_GetBootstrapAgent_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -662,10 +662,10 @@ func local_request_Bootstrap_GetBootstrapAgent_0(ctx context.Context, marshaler } var ( - filter_Bootstrap_GetBootstrapAgents_0 = &utilities.DoubleArray{Encoding: map[string]int{"templateScope": 0}, Base: []int{1, 1, 0}, Check: []int{0, 1, 2}} + filter_BootstrapService_GetBootstrapAgents_0 = &utilities.DoubleArray{Encoding: map[string]int{"templateScope": 0}, Base: []int{1, 1, 0}, Check: []int{0, 1, 2}} ) -func request_Bootstrap_GetBootstrapAgents_0(ctx context.Context, marshaler runtime.Marshaler, client BootstrapClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_BootstrapService_GetBootstrapAgents_0(ctx context.Context, marshaler runtime.Marshaler, client BootstrapServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq GetBootstrapAgentsRequest var metadata runtime.ServerMetadata @@ -689,7 +689,7 @@ func request_Bootstrap_GetBootstrapAgents_0(ctx context.Context, marshaler runti if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Bootstrap_GetBootstrapAgents_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_BootstrapService_GetBootstrapAgents_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -698,7 +698,7 @@ func request_Bootstrap_GetBootstrapAgents_0(ctx context.Context, marshaler runti } -func local_request_Bootstrap_GetBootstrapAgents_0(ctx context.Context, marshaler runtime.Marshaler, server BootstrapServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_BootstrapService_GetBootstrapAgents_0(ctx context.Context, marshaler runtime.Marshaler, server BootstrapServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq GetBootstrapAgentsRequest var metadata runtime.ServerMetadata @@ -722,7 +722,7 @@ func local_request_Bootstrap_GetBootstrapAgents_0(ctx context.Context, marshaler if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Bootstrap_GetBootstrapAgents_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_BootstrapService_GetBootstrapAgents_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -732,10 +732,10 @@ func local_request_Bootstrap_GetBootstrapAgents_0(ctx context.Context, marshaler } var ( - filter_Bootstrap_DeleteBootstrapAgent_0 = &utilities.DoubleArray{Encoding: map[string]int{"spec": 0, "templateRef": 1, "metadata": 2, "name": 3}, Base: []int{1, 1, 1, 1, 2, 0, 0}, Check: []int{0, 1, 2, 1, 4, 3, 5}} + filter_BootstrapService_DeleteBootstrapAgent_0 = &utilities.DoubleArray{Encoding: map[string]int{"spec": 0, "templateRef": 1, "metadata": 2, "name": 3}, Base: []int{1, 1, 1, 1, 2, 0, 0}, Check: []int{0, 1, 2, 1, 4, 3, 5}} ) -func request_Bootstrap_DeleteBootstrapAgent_0(ctx context.Context, marshaler runtime.Marshaler, client BootstrapClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_BootstrapService_DeleteBootstrapAgent_0(ctx context.Context, marshaler runtime.Marshaler, client BootstrapServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq sentry_0.BootstrapAgent var metadata runtime.ServerMetadata @@ -769,7 +769,7 @@ func request_Bootstrap_DeleteBootstrapAgent_0(ctx context.Context, marshaler run if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Bootstrap_DeleteBootstrapAgent_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_BootstrapService_DeleteBootstrapAgent_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -778,7 +778,7 @@ func request_Bootstrap_DeleteBootstrapAgent_0(ctx context.Context, marshaler run } -func local_request_Bootstrap_DeleteBootstrapAgent_0(ctx context.Context, marshaler runtime.Marshaler, server BootstrapServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_BootstrapService_DeleteBootstrapAgent_0(ctx context.Context, marshaler runtime.Marshaler, server BootstrapServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq sentry_0.BootstrapAgent var metadata runtime.ServerMetadata @@ -812,7 +812,7 @@ func local_request_Bootstrap_DeleteBootstrapAgent_0(ctx context.Context, marshal if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Bootstrap_DeleteBootstrapAgent_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_BootstrapService_DeleteBootstrapAgent_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -821,7 +821,7 @@ func local_request_Bootstrap_DeleteBootstrapAgent_0(ctx context.Context, marshal } -func request_Bootstrap_UpdateBootstrapAgent_0(ctx context.Context, marshaler runtime.Marshaler, client BootstrapClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_BootstrapService_UpdateBootstrapAgent_0(ctx context.Context, marshaler runtime.Marshaler, client BootstrapServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq sentry_0.BootstrapAgent var metadata runtime.ServerMetadata @@ -865,7 +865,7 @@ func request_Bootstrap_UpdateBootstrapAgent_0(ctx context.Context, marshaler run } -func local_request_Bootstrap_UpdateBootstrapAgent_0(ctx context.Context, marshaler runtime.Marshaler, server BootstrapServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_BootstrapService_UpdateBootstrapAgent_0(ctx context.Context, marshaler runtime.Marshaler, server BootstrapServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq sentry_0.BootstrapAgent var metadata runtime.ServerMetadata @@ -909,294 +909,318 @@ func local_request_Bootstrap_UpdateBootstrapAgent_0(ctx context.Context, marshal } -// RegisterBootstrapHandlerServer registers the http handlers for service Bootstrap to "mux". -// UnaryRPC :call BootstrapServer directly. +// RegisterBootstrapServiceHandlerServer registers the http handlers for service BootstrapService to "mux". +// UnaryRPC :call BootstrapServiceServer directly. // StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. -// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterBootstrapHandlerFromEndpoint instead. -func RegisterBootstrapHandlerServer(ctx context.Context, mux *runtime.ServeMux, server BootstrapServer) error { +// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterBootstrapServiceHandlerFromEndpoint instead. +func RegisterBootstrapServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server BootstrapServiceServer) error { - mux.Handle("PUT", pattern_Bootstrap_PatchBootstrapInfra_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("PUT", pattern_BootstrapService_PatchBootstrapInfra_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.sentry.rpc.Bootstrap/PatchBootstrapInfra", runtime.WithHTTPPathPattern("/v2/sentry/bootstrap/infra/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.sentry.rpc.BootstrapService/PatchBootstrapInfra", runtime.WithHTTPPathPattern("/v2/sentry/bootstrap/infra/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Bootstrap_PatchBootstrapInfra_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_BootstrapService_PatchBootstrapInfra_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Bootstrap_PatchBootstrapInfra_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_BootstrapService_PatchBootstrapInfra_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Bootstrap_GetBootstrapInfra_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_BootstrapService_GetBootstrapInfra_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.sentry.rpc.Bootstrap/GetBootstrapInfra", runtime.WithHTTPPathPattern("/v2/sentry/bootstrap/infra/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.sentry.rpc.BootstrapService/GetBootstrapInfra", runtime.WithHTTPPathPattern("/v2/sentry/bootstrap/infra/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Bootstrap_GetBootstrapInfra_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_BootstrapService_GetBootstrapInfra_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Bootstrap_GetBootstrapInfra_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_BootstrapService_GetBootstrapInfra_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("PUT", pattern_Bootstrap_PatchBootstrapAgentTemplate_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("PUT", pattern_BootstrapService_PatchBootstrapAgentTemplate_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.sentry.rpc.Bootstrap/PatchBootstrapAgentTemplate", runtime.WithHTTPPathPattern("/v2/sentry/bootstrap/template/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.sentry.rpc.BootstrapService/PatchBootstrapAgentTemplate", runtime.WithHTTPPathPattern("/v2/sentry/bootstrap/template/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Bootstrap_PatchBootstrapAgentTemplate_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_BootstrapService_PatchBootstrapAgentTemplate_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Bootstrap_PatchBootstrapAgentTemplate_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_BootstrapService_PatchBootstrapAgentTemplate_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Bootstrap_GetBootstrapAgentTemplate_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_BootstrapService_GetBootstrapAgentTemplate_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.sentry.rpc.Bootstrap/GetBootstrapAgentTemplate", runtime.WithHTTPPathPattern("/v2/sentry/bootstrap/template/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.sentry.rpc.BootstrapService/GetBootstrapAgentTemplate", runtime.WithHTTPPathPattern("/v2/sentry/bootstrap/template/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Bootstrap_GetBootstrapAgentTemplate_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_BootstrapService_GetBootstrapAgentTemplate_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Bootstrap_GetBootstrapAgentTemplate_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_BootstrapService_GetBootstrapAgentTemplate_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Bootstrap_GetBootstrapAgentTemplates_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_BootstrapService_GetBootstrapAgentTemplates_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.sentry.rpc.Bootstrap/GetBootstrapAgentTemplates", runtime.WithHTTPPathPattern("/v2/sentry/bootstrap/template")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.sentry.rpc.BootstrapService/GetBootstrapAgentTemplates", runtime.WithHTTPPathPattern("/v2/sentry/bootstrap/template")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Bootstrap_GetBootstrapAgentTemplates_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_BootstrapService_GetBootstrapAgentTemplates_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Bootstrap_GetBootstrapAgentTemplates_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_BootstrapService_GetBootstrapAgentTemplates_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("POST", pattern_Bootstrap_RegisterBootstrapAgent_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("POST", pattern_BootstrapService_RegisterBootstrapAgent_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.sentry.rpc.Bootstrap/RegisterBootstrapAgent", runtime.WithHTTPPathPattern("/v2/sentry/bootstrap/{templateToken=template/*}/register")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.sentry.rpc.BootstrapService/RegisterBootstrapAgent", runtime.WithHTTPPathPattern("/v2/sentry/bootstrap/{templateToken=template/*}/register")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Bootstrap_RegisterBootstrapAgent_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_BootstrapService_RegisterBootstrapAgent_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Bootstrap_RegisterBootstrapAgent_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_BootstrapService_RegisterBootstrapAgent_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Bootstrap_GetBootstrapAgentConfig_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_BootstrapService_GetBootstrapAgentConfig_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.sentry.rpc.Bootstrap/GetBootstrapAgentConfig", runtime.WithHTTPPathPattern("/v2/sentry/bootstrap/{spec.templateRef=template/*}/agent/{metadata.name}/config")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.sentry.rpc.BootstrapService/GetBootstrapAgentConfig", runtime.WithHTTPPathPattern("/v2/sentry/bootstrap/{spec.templateRef=template/*}/agent/{metadata.name}/config")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Bootstrap_GetBootstrapAgentConfig_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_BootstrapService_GetBootstrapAgentConfig_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Bootstrap_GetBootstrapAgentConfig_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_BootstrapService_GetBootstrapAgentConfig_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("POST", pattern_Bootstrap_CreateBootstrapAgent_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("POST", pattern_BootstrapService_CreateBootstrapAgent_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.sentry.rpc.Bootstrap/CreateBootstrapAgent", runtime.WithHTTPPathPattern("/v2/sentry/bootstrap/{spec.templateRef=template/*}/agent")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.sentry.rpc.BootstrapService/CreateBootstrapAgent", runtime.WithHTTPPathPattern("/v2/sentry/bootstrap/{spec.templateRef=template/*}/agent")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Bootstrap_CreateBootstrapAgent_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_BootstrapService_CreateBootstrapAgent_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Bootstrap_CreateBootstrapAgent_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_BootstrapService_CreateBootstrapAgent_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Bootstrap_GetBootstrapAgent_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_BootstrapService_GetBootstrapAgent_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.sentry.rpc.Bootstrap/GetBootstrapAgent", runtime.WithHTTPPathPattern("/v2/sentry/bootstrap/{spec.templateRef=template/*}/agent/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.sentry.rpc.BootstrapService/GetBootstrapAgent", runtime.WithHTTPPathPattern("/v2/sentry/bootstrap/{spec.templateRef=template/*}/agent/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Bootstrap_GetBootstrapAgent_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_BootstrapService_GetBootstrapAgent_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Bootstrap_GetBootstrapAgent_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_BootstrapService_GetBootstrapAgent_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Bootstrap_GetBootstrapAgents_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_BootstrapService_GetBootstrapAgents_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.sentry.rpc.Bootstrap/GetBootstrapAgents", runtime.WithHTTPPathPattern("/v2/sentry/bootstrap/{templateScope=template/*}/agent")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.sentry.rpc.BootstrapService/GetBootstrapAgents", runtime.WithHTTPPathPattern("/v2/sentry/bootstrap/{templateScope=template/*}/agent")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Bootstrap_GetBootstrapAgents_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_BootstrapService_GetBootstrapAgents_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Bootstrap_GetBootstrapAgents_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_BootstrapService_GetBootstrapAgents_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("DELETE", pattern_Bootstrap_DeleteBootstrapAgent_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("DELETE", pattern_BootstrapService_DeleteBootstrapAgent_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.sentry.rpc.Bootstrap/DeleteBootstrapAgent", runtime.WithHTTPPathPattern("/v2/sentry/bootstrap/{spec.templateRef=template/*}/agent/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.sentry.rpc.BootstrapService/DeleteBootstrapAgent", runtime.WithHTTPPathPattern("/v2/sentry/bootstrap/{spec.templateRef=template/*}/agent/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Bootstrap_DeleteBootstrapAgent_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_BootstrapService_DeleteBootstrapAgent_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Bootstrap_DeleteBootstrapAgent_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_BootstrapService_DeleteBootstrapAgent_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("PUT", pattern_Bootstrap_UpdateBootstrapAgent_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("PUT", pattern_BootstrapService_UpdateBootstrapAgent_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.sentry.rpc.Bootstrap/UpdateBootstrapAgent", runtime.WithHTTPPathPattern("/v2/sentry/bootstrap/{spec.templateRef=template/*}/agent/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.sentry.rpc.BootstrapService/UpdateBootstrapAgent", runtime.WithHTTPPathPattern("/v2/sentry/bootstrap/{spec.templateRef=template/*}/agent/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Bootstrap_UpdateBootstrapAgent_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_BootstrapService_UpdateBootstrapAgent_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Bootstrap_UpdateBootstrapAgent_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_BootstrapService_UpdateBootstrapAgent_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) return nil } -// RegisterBootstrapHandlerFromEndpoint is same as RegisterBootstrapHandler but +// RegisterBootstrapServiceHandlerFromEndpoint is same as RegisterBootstrapServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. -func RegisterBootstrapHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { +func RegisterBootstrapServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { conn, err := grpc.Dial(endpoint, opts...) if err != nil { return err @@ -1216,259 +1240,283 @@ func RegisterBootstrapHandlerFromEndpoint(ctx context.Context, mux *runtime.Serv }() }() - return RegisterBootstrapHandler(ctx, mux, conn) + return RegisterBootstrapServiceHandler(ctx, mux, conn) } -// RegisterBootstrapHandler registers the http handlers for service Bootstrap to "mux". +// RegisterBootstrapServiceHandler registers the http handlers for service BootstrapService to "mux". // The handlers forward requests to the grpc endpoint over "conn". -func RegisterBootstrapHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { - return RegisterBootstrapHandlerClient(ctx, mux, NewBootstrapClient(conn)) +func RegisterBootstrapServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { + return RegisterBootstrapServiceHandlerClient(ctx, mux, NewBootstrapServiceClient(conn)) } -// RegisterBootstrapHandlerClient registers the http handlers for service Bootstrap -// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "BootstrapClient". -// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "BootstrapClient" +// RegisterBootstrapServiceHandlerClient registers the http handlers for service BootstrapService +// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "BootstrapServiceClient". +// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "BootstrapServiceClient" // doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in -// "BootstrapClient" to call the correct interceptors. -func RegisterBootstrapHandlerClient(ctx context.Context, mux *runtime.ServeMux, client BootstrapClient) error { +// "BootstrapServiceClient" to call the correct interceptors. +func RegisterBootstrapServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client BootstrapServiceClient) error { - mux.Handle("PUT", pattern_Bootstrap_PatchBootstrapInfra_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("PUT", pattern_BootstrapService_PatchBootstrapInfra_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.sentry.rpc.Bootstrap/PatchBootstrapInfra", runtime.WithHTTPPathPattern("/v2/sentry/bootstrap/infra/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.sentry.rpc.BootstrapService/PatchBootstrapInfra", runtime.WithHTTPPathPattern("/v2/sentry/bootstrap/infra/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_Bootstrap_PatchBootstrapInfra_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_BootstrapService_PatchBootstrapInfra_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Bootstrap_PatchBootstrapInfra_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_BootstrapService_PatchBootstrapInfra_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Bootstrap_GetBootstrapInfra_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_BootstrapService_GetBootstrapInfra_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.sentry.rpc.Bootstrap/GetBootstrapInfra", runtime.WithHTTPPathPattern("/v2/sentry/bootstrap/infra/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.sentry.rpc.BootstrapService/GetBootstrapInfra", runtime.WithHTTPPathPattern("/v2/sentry/bootstrap/infra/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_Bootstrap_GetBootstrapInfra_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_BootstrapService_GetBootstrapInfra_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Bootstrap_GetBootstrapInfra_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_BootstrapService_GetBootstrapInfra_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("PUT", pattern_Bootstrap_PatchBootstrapAgentTemplate_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("PUT", pattern_BootstrapService_PatchBootstrapAgentTemplate_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.sentry.rpc.Bootstrap/PatchBootstrapAgentTemplate", runtime.WithHTTPPathPattern("/v2/sentry/bootstrap/template/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.sentry.rpc.BootstrapService/PatchBootstrapAgentTemplate", runtime.WithHTTPPathPattern("/v2/sentry/bootstrap/template/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_Bootstrap_PatchBootstrapAgentTemplate_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_BootstrapService_PatchBootstrapAgentTemplate_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Bootstrap_PatchBootstrapAgentTemplate_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_BootstrapService_PatchBootstrapAgentTemplate_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Bootstrap_GetBootstrapAgentTemplate_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_BootstrapService_GetBootstrapAgentTemplate_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.sentry.rpc.Bootstrap/GetBootstrapAgentTemplate", runtime.WithHTTPPathPattern("/v2/sentry/bootstrap/template/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.sentry.rpc.BootstrapService/GetBootstrapAgentTemplate", runtime.WithHTTPPathPattern("/v2/sentry/bootstrap/template/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_Bootstrap_GetBootstrapAgentTemplate_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_BootstrapService_GetBootstrapAgentTemplate_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Bootstrap_GetBootstrapAgentTemplate_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_BootstrapService_GetBootstrapAgentTemplate_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Bootstrap_GetBootstrapAgentTemplates_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_BootstrapService_GetBootstrapAgentTemplates_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.sentry.rpc.Bootstrap/GetBootstrapAgentTemplates", runtime.WithHTTPPathPattern("/v2/sentry/bootstrap/template")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.sentry.rpc.BootstrapService/GetBootstrapAgentTemplates", runtime.WithHTTPPathPattern("/v2/sentry/bootstrap/template")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_Bootstrap_GetBootstrapAgentTemplates_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_BootstrapService_GetBootstrapAgentTemplates_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Bootstrap_GetBootstrapAgentTemplates_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_BootstrapService_GetBootstrapAgentTemplates_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("POST", pattern_Bootstrap_RegisterBootstrapAgent_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("POST", pattern_BootstrapService_RegisterBootstrapAgent_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.sentry.rpc.Bootstrap/RegisterBootstrapAgent", runtime.WithHTTPPathPattern("/v2/sentry/bootstrap/{templateToken=template/*}/register")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.sentry.rpc.BootstrapService/RegisterBootstrapAgent", runtime.WithHTTPPathPattern("/v2/sentry/bootstrap/{templateToken=template/*}/register")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_Bootstrap_RegisterBootstrapAgent_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_BootstrapService_RegisterBootstrapAgent_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Bootstrap_RegisterBootstrapAgent_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_BootstrapService_RegisterBootstrapAgent_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Bootstrap_GetBootstrapAgentConfig_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_BootstrapService_GetBootstrapAgentConfig_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.sentry.rpc.Bootstrap/GetBootstrapAgentConfig", runtime.WithHTTPPathPattern("/v2/sentry/bootstrap/{spec.templateRef=template/*}/agent/{metadata.name}/config")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.sentry.rpc.BootstrapService/GetBootstrapAgentConfig", runtime.WithHTTPPathPattern("/v2/sentry/bootstrap/{spec.templateRef=template/*}/agent/{metadata.name}/config")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_Bootstrap_GetBootstrapAgentConfig_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_BootstrapService_GetBootstrapAgentConfig_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Bootstrap_GetBootstrapAgentConfig_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_BootstrapService_GetBootstrapAgentConfig_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("POST", pattern_Bootstrap_CreateBootstrapAgent_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("POST", pattern_BootstrapService_CreateBootstrapAgent_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.sentry.rpc.Bootstrap/CreateBootstrapAgent", runtime.WithHTTPPathPattern("/v2/sentry/bootstrap/{spec.templateRef=template/*}/agent")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.sentry.rpc.BootstrapService/CreateBootstrapAgent", runtime.WithHTTPPathPattern("/v2/sentry/bootstrap/{spec.templateRef=template/*}/agent")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_Bootstrap_CreateBootstrapAgent_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_BootstrapService_CreateBootstrapAgent_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Bootstrap_CreateBootstrapAgent_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_BootstrapService_CreateBootstrapAgent_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Bootstrap_GetBootstrapAgent_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_BootstrapService_GetBootstrapAgent_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.sentry.rpc.Bootstrap/GetBootstrapAgent", runtime.WithHTTPPathPattern("/v2/sentry/bootstrap/{spec.templateRef=template/*}/agent/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.sentry.rpc.BootstrapService/GetBootstrapAgent", runtime.WithHTTPPathPattern("/v2/sentry/bootstrap/{spec.templateRef=template/*}/agent/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_Bootstrap_GetBootstrapAgent_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_BootstrapService_GetBootstrapAgent_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Bootstrap_GetBootstrapAgent_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_BootstrapService_GetBootstrapAgent_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Bootstrap_GetBootstrapAgents_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_BootstrapService_GetBootstrapAgents_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.sentry.rpc.Bootstrap/GetBootstrapAgents", runtime.WithHTTPPathPattern("/v2/sentry/bootstrap/{templateScope=template/*}/agent")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.sentry.rpc.BootstrapService/GetBootstrapAgents", runtime.WithHTTPPathPattern("/v2/sentry/bootstrap/{templateScope=template/*}/agent")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_Bootstrap_GetBootstrapAgents_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_BootstrapService_GetBootstrapAgents_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Bootstrap_GetBootstrapAgents_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_BootstrapService_GetBootstrapAgents_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("DELETE", pattern_Bootstrap_DeleteBootstrapAgent_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("DELETE", pattern_BootstrapService_DeleteBootstrapAgent_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.sentry.rpc.Bootstrap/DeleteBootstrapAgent", runtime.WithHTTPPathPattern("/v2/sentry/bootstrap/{spec.templateRef=template/*}/agent/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.sentry.rpc.BootstrapService/DeleteBootstrapAgent", runtime.WithHTTPPathPattern("/v2/sentry/bootstrap/{spec.templateRef=template/*}/agent/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_Bootstrap_DeleteBootstrapAgent_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_BootstrapService_DeleteBootstrapAgent_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Bootstrap_DeleteBootstrapAgent_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_BootstrapService_DeleteBootstrapAgent_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("PUT", pattern_Bootstrap_UpdateBootstrapAgent_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("PUT", pattern_BootstrapService_UpdateBootstrapAgent_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.sentry.rpc.Bootstrap/UpdateBootstrapAgent", runtime.WithHTTPPathPattern("/v2/sentry/bootstrap/{spec.templateRef=template/*}/agent/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.sentry.rpc.BootstrapService/UpdateBootstrapAgent", runtime.WithHTTPPathPattern("/v2/sentry/bootstrap/{spec.templateRef=template/*}/agent/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_Bootstrap_UpdateBootstrapAgent_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_BootstrapService_UpdateBootstrapAgent_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Bootstrap_UpdateBootstrapAgent_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_BootstrapService_UpdateBootstrapAgent_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) @@ -1476,53 +1524,53 @@ func RegisterBootstrapHandlerClient(ctx context.Context, mux *runtime.ServeMux, } var ( - pattern_Bootstrap_PatchBootstrapInfra_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"v2", "sentry", "bootstrap", "infra", "metadata.name"}, "")) + pattern_BootstrapService_PatchBootstrapInfra_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"v2", "sentry", "bootstrap", "infra", "metadata.name"}, "")) - pattern_Bootstrap_GetBootstrapInfra_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"v2", "sentry", "bootstrap", "infra", "metadata.name"}, "")) + pattern_BootstrapService_GetBootstrapInfra_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"v2", "sentry", "bootstrap", "infra", "metadata.name"}, "")) - pattern_Bootstrap_PatchBootstrapAgentTemplate_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"v2", "sentry", "bootstrap", "template", "metadata.name"}, "")) + pattern_BootstrapService_PatchBootstrapAgentTemplate_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"v2", "sentry", "bootstrap", "template", "metadata.name"}, "")) - pattern_Bootstrap_GetBootstrapAgentTemplate_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"v2", "sentry", "bootstrap", "template", "metadata.name"}, "")) + pattern_BootstrapService_GetBootstrapAgentTemplate_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"v2", "sentry", "bootstrap", "template", "metadata.name"}, "")) - pattern_Bootstrap_GetBootstrapAgentTemplates_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"v2", "sentry", "bootstrap", "template"}, "")) + pattern_BootstrapService_GetBootstrapAgentTemplates_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"v2", "sentry", "bootstrap", "template"}, "")) - pattern_Bootstrap_RegisterBootstrapAgent_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 2, 5, 4, 2, 5}, []string{"v2", "sentry", "bootstrap", "template", "templateToken", "register"}, "")) + pattern_BootstrapService_RegisterBootstrapAgent_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 2, 5, 4, 2, 5}, []string{"v2", "sentry", "bootstrap", "template", "templateToken", "register"}, "")) - pattern_Bootstrap_GetBootstrapAgentConfig_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 2, 5, 4, 2, 5, 1, 0, 4, 1, 5, 6, 2, 7}, []string{"v2", "sentry", "bootstrap", "template", "spec.templateRef", "agent", "metadata.name", "config"}, "")) + pattern_BootstrapService_GetBootstrapAgentConfig_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 2, 5, 4, 2, 5, 1, 0, 4, 1, 5, 6, 2, 7}, []string{"v2", "sentry", "bootstrap", "template", "spec.templateRef", "agent", "metadata.name", "config"}, "")) - pattern_Bootstrap_CreateBootstrapAgent_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 2, 5, 4, 2, 5}, []string{"v2", "sentry", "bootstrap", "template", "spec.templateRef", "agent"}, "")) + pattern_BootstrapService_CreateBootstrapAgent_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 2, 5, 4, 2, 5}, []string{"v2", "sentry", "bootstrap", "template", "spec.templateRef", "agent"}, "")) - pattern_Bootstrap_GetBootstrapAgent_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 2, 5, 4, 2, 5, 1, 0, 4, 1, 5, 6}, []string{"v2", "sentry", "bootstrap", "template", "spec.templateRef", "agent", "metadata.name"}, "")) + pattern_BootstrapService_GetBootstrapAgent_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 2, 5, 4, 2, 5, 1, 0, 4, 1, 5, 6}, []string{"v2", "sentry", "bootstrap", "template", "spec.templateRef", "agent", "metadata.name"}, "")) - pattern_Bootstrap_GetBootstrapAgents_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 2, 5, 4, 2, 5}, []string{"v2", "sentry", "bootstrap", "template", "templateScope", "agent"}, "")) + pattern_BootstrapService_GetBootstrapAgents_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 2, 5, 4, 2, 5}, []string{"v2", "sentry", "bootstrap", "template", "templateScope", "agent"}, "")) - pattern_Bootstrap_DeleteBootstrapAgent_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 2, 5, 4, 2, 5, 1, 0, 4, 1, 5, 6}, []string{"v2", "sentry", "bootstrap", "template", "spec.templateRef", "agent", "metadata.name"}, "")) + pattern_BootstrapService_DeleteBootstrapAgent_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 2, 5, 4, 2, 5, 1, 0, 4, 1, 5, 6}, []string{"v2", "sentry", "bootstrap", "template", "spec.templateRef", "agent", "metadata.name"}, "")) - pattern_Bootstrap_UpdateBootstrapAgent_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 2, 5, 4, 2, 5, 1, 0, 4, 1, 5, 6}, []string{"v2", "sentry", "bootstrap", "template", "spec.templateRef", "agent", "metadata.name"}, "")) + pattern_BootstrapService_UpdateBootstrapAgent_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 2, 5, 4, 2, 5, 1, 0, 4, 1, 5, 6}, []string{"v2", "sentry", "bootstrap", "template", "spec.templateRef", "agent", "metadata.name"}, "")) ) var ( - forward_Bootstrap_PatchBootstrapInfra_0 = runtime.ForwardResponseMessage + forward_BootstrapService_PatchBootstrapInfra_0 = runtime.ForwardResponseMessage - forward_Bootstrap_GetBootstrapInfra_0 = runtime.ForwardResponseMessage + forward_BootstrapService_GetBootstrapInfra_0 = runtime.ForwardResponseMessage - forward_Bootstrap_PatchBootstrapAgentTemplate_0 = runtime.ForwardResponseMessage + forward_BootstrapService_PatchBootstrapAgentTemplate_0 = runtime.ForwardResponseMessage - forward_Bootstrap_GetBootstrapAgentTemplate_0 = runtime.ForwardResponseMessage + forward_BootstrapService_GetBootstrapAgentTemplate_0 = runtime.ForwardResponseMessage - forward_Bootstrap_GetBootstrapAgentTemplates_0 = runtime.ForwardResponseMessage + forward_BootstrapService_GetBootstrapAgentTemplates_0 = runtime.ForwardResponseMessage - forward_Bootstrap_RegisterBootstrapAgent_0 = runtime.ForwardResponseMessage + forward_BootstrapService_RegisterBootstrapAgent_0 = runtime.ForwardResponseMessage - forward_Bootstrap_GetBootstrapAgentConfig_0 = runtime.ForwardResponseMessage + forward_BootstrapService_GetBootstrapAgentConfig_0 = runtime.ForwardResponseMessage - forward_Bootstrap_CreateBootstrapAgent_0 = runtime.ForwardResponseMessage + forward_BootstrapService_CreateBootstrapAgent_0 = runtime.ForwardResponseMessage - forward_Bootstrap_GetBootstrapAgent_0 = runtime.ForwardResponseMessage + forward_BootstrapService_GetBootstrapAgent_0 = runtime.ForwardResponseMessage - forward_Bootstrap_GetBootstrapAgents_0 = runtime.ForwardResponseMessage + forward_BootstrapService_GetBootstrapAgents_0 = runtime.ForwardResponseMessage - forward_Bootstrap_DeleteBootstrapAgent_0 = runtime.ForwardResponseMessage + forward_BootstrapService_DeleteBootstrapAgent_0 = runtime.ForwardResponseMessage - forward_Bootstrap_UpdateBootstrapAgent_0 = runtime.ForwardResponseMessage + forward_BootstrapService_UpdateBootstrapAgent_0 = runtime.ForwardResponseMessage ) diff --git a/proto/rpc/sentry/bootstrap.proto b/proto/rpc/sentry/bootstrap.proto index 00ab5fa7..4f52785a 100644 --- a/proto/rpc/sentry/bootstrap.proto +++ b/proto/rpc/sentry/bootstrap.proto @@ -88,7 +88,7 @@ message RelayAgentDownloadRequest { string clusterScope = 2; } -service Bootstrap { +service BootstrapService { rpc PatchBootstrapInfra(paralus.dev.types.sentry.BootstrapInfra) returns (paralus.dev.types.sentry.BootstrapInfra) { option (google.api.http) = { @@ -184,4 +184,4 @@ service Bootstrap { }; } -} +} \ No newline at end of file diff --git a/proto/rpc/sentry/bootstrap_grpc.pb.go b/proto/rpc/sentry/bootstrap_grpc.pb.go index 07ab4574..265653a4 100644 --- a/proto/rpc/sentry/bootstrap_grpc.pb.go +++ b/proto/rpc/sentry/bootstrap_grpc.pb.go @@ -20,10 +20,10 @@ import ( // Requires gRPC-Go v1.32.0 or later. const _ = grpc.SupportPackageIsVersion7 -// BootstrapClient is the client API for Bootstrap service. +// BootstrapServiceClient is the client API for BootstrapService service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. -type BootstrapClient interface { +type BootstrapServiceClient interface { PatchBootstrapInfra(ctx context.Context, in *sentry.BootstrapInfra, opts ...grpc.CallOption) (*sentry.BootstrapInfra, error) GetBootstrapInfra(ctx context.Context, in *sentry.BootstrapInfra, opts ...grpc.CallOption) (*sentry.BootstrapInfra, error) PatchBootstrapAgentTemplate(ctx context.Context, in *sentry.BootstrapAgentTemplate, opts ...grpc.CallOption) (*sentry.BootstrapAgentTemplate, error) @@ -38,126 +38,126 @@ type BootstrapClient interface { UpdateBootstrapAgent(ctx context.Context, in *sentry.BootstrapAgent, opts ...grpc.CallOption) (*sentry.BootstrapAgent, error) } -type bootstrapClient struct { +type bootstrapServiceClient struct { cc grpc.ClientConnInterface } -func NewBootstrapClient(cc grpc.ClientConnInterface) BootstrapClient { - return &bootstrapClient{cc} +func NewBootstrapServiceClient(cc grpc.ClientConnInterface) BootstrapServiceClient { + return &bootstrapServiceClient{cc} } -func (c *bootstrapClient) PatchBootstrapInfra(ctx context.Context, in *sentry.BootstrapInfra, opts ...grpc.CallOption) (*sentry.BootstrapInfra, error) { +func (c *bootstrapServiceClient) PatchBootstrapInfra(ctx context.Context, in *sentry.BootstrapInfra, opts ...grpc.CallOption) (*sentry.BootstrapInfra, error) { out := new(sentry.BootstrapInfra) - err := c.cc.Invoke(ctx, "/paralus.dev.sentry.rpc.Bootstrap/PatchBootstrapInfra", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.sentry.rpc.BootstrapService/PatchBootstrapInfra", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *bootstrapClient) GetBootstrapInfra(ctx context.Context, in *sentry.BootstrapInfra, opts ...grpc.CallOption) (*sentry.BootstrapInfra, error) { +func (c *bootstrapServiceClient) GetBootstrapInfra(ctx context.Context, in *sentry.BootstrapInfra, opts ...grpc.CallOption) (*sentry.BootstrapInfra, error) { out := new(sentry.BootstrapInfra) - err := c.cc.Invoke(ctx, "/paralus.dev.sentry.rpc.Bootstrap/GetBootstrapInfra", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.sentry.rpc.BootstrapService/GetBootstrapInfra", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *bootstrapClient) PatchBootstrapAgentTemplate(ctx context.Context, in *sentry.BootstrapAgentTemplate, opts ...grpc.CallOption) (*sentry.BootstrapAgentTemplate, error) { +func (c *bootstrapServiceClient) PatchBootstrapAgentTemplate(ctx context.Context, in *sentry.BootstrapAgentTemplate, opts ...grpc.CallOption) (*sentry.BootstrapAgentTemplate, error) { out := new(sentry.BootstrapAgentTemplate) - err := c.cc.Invoke(ctx, "/paralus.dev.sentry.rpc.Bootstrap/PatchBootstrapAgentTemplate", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.sentry.rpc.BootstrapService/PatchBootstrapAgentTemplate", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *bootstrapClient) GetBootstrapAgentTemplate(ctx context.Context, in *sentry.BootstrapAgentTemplate, opts ...grpc.CallOption) (*sentry.BootstrapAgentTemplate, error) { +func (c *bootstrapServiceClient) GetBootstrapAgentTemplate(ctx context.Context, in *sentry.BootstrapAgentTemplate, opts ...grpc.CallOption) (*sentry.BootstrapAgentTemplate, error) { out := new(sentry.BootstrapAgentTemplate) - err := c.cc.Invoke(ctx, "/paralus.dev.sentry.rpc.Bootstrap/GetBootstrapAgentTemplate", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.sentry.rpc.BootstrapService/GetBootstrapAgentTemplate", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *bootstrapClient) GetBootstrapAgentTemplates(ctx context.Context, in *v3.QueryOptions, opts ...grpc.CallOption) (*sentry.BootstrapAgentTemplateList, error) { +func (c *bootstrapServiceClient) GetBootstrapAgentTemplates(ctx context.Context, in *v3.QueryOptions, opts ...grpc.CallOption) (*sentry.BootstrapAgentTemplateList, error) { out := new(sentry.BootstrapAgentTemplateList) - err := c.cc.Invoke(ctx, "/paralus.dev.sentry.rpc.Bootstrap/GetBootstrapAgentTemplates", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.sentry.rpc.BootstrapService/GetBootstrapAgentTemplates", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *bootstrapClient) RegisterBootstrapAgent(ctx context.Context, in *RegisterAgentRequest, opts ...grpc.CallOption) (*RegisterAgentResponse, error) { +func (c *bootstrapServiceClient) RegisterBootstrapAgent(ctx context.Context, in *RegisterAgentRequest, opts ...grpc.CallOption) (*RegisterAgentResponse, error) { out := new(RegisterAgentResponse) - err := c.cc.Invoke(ctx, "/paralus.dev.sentry.rpc.Bootstrap/RegisterBootstrapAgent", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.sentry.rpc.BootstrapService/RegisterBootstrapAgent", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *bootstrapClient) GetBootstrapAgentConfig(ctx context.Context, in *sentry.BootstrapAgent, opts ...grpc.CallOption) (*v3.HttpBody, error) { +func (c *bootstrapServiceClient) GetBootstrapAgentConfig(ctx context.Context, in *sentry.BootstrapAgent, opts ...grpc.CallOption) (*v3.HttpBody, error) { out := new(v3.HttpBody) - err := c.cc.Invoke(ctx, "/paralus.dev.sentry.rpc.Bootstrap/GetBootstrapAgentConfig", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.sentry.rpc.BootstrapService/GetBootstrapAgentConfig", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *bootstrapClient) CreateBootstrapAgent(ctx context.Context, in *sentry.BootstrapAgent, opts ...grpc.CallOption) (*sentry.BootstrapAgent, error) { +func (c *bootstrapServiceClient) CreateBootstrapAgent(ctx context.Context, in *sentry.BootstrapAgent, opts ...grpc.CallOption) (*sentry.BootstrapAgent, error) { out := new(sentry.BootstrapAgent) - err := c.cc.Invoke(ctx, "/paralus.dev.sentry.rpc.Bootstrap/CreateBootstrapAgent", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.sentry.rpc.BootstrapService/CreateBootstrapAgent", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *bootstrapClient) GetBootstrapAgent(ctx context.Context, in *sentry.BootstrapAgent, opts ...grpc.CallOption) (*sentry.BootstrapAgent, error) { +func (c *bootstrapServiceClient) GetBootstrapAgent(ctx context.Context, in *sentry.BootstrapAgent, opts ...grpc.CallOption) (*sentry.BootstrapAgent, error) { out := new(sentry.BootstrapAgent) - err := c.cc.Invoke(ctx, "/paralus.dev.sentry.rpc.Bootstrap/GetBootstrapAgent", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.sentry.rpc.BootstrapService/GetBootstrapAgent", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *bootstrapClient) GetBootstrapAgents(ctx context.Context, in *GetBootstrapAgentsRequest, opts ...grpc.CallOption) (*sentry.BootstrapAgentList, error) { +func (c *bootstrapServiceClient) GetBootstrapAgents(ctx context.Context, in *GetBootstrapAgentsRequest, opts ...grpc.CallOption) (*sentry.BootstrapAgentList, error) { out := new(sentry.BootstrapAgentList) - err := c.cc.Invoke(ctx, "/paralus.dev.sentry.rpc.Bootstrap/GetBootstrapAgents", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.sentry.rpc.BootstrapService/GetBootstrapAgents", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *bootstrapClient) DeleteBootstrapAgent(ctx context.Context, in *sentry.BootstrapAgent, opts ...grpc.CallOption) (*DeleteBootstrapAgentResponse, error) { +func (c *bootstrapServiceClient) DeleteBootstrapAgent(ctx context.Context, in *sentry.BootstrapAgent, opts ...grpc.CallOption) (*DeleteBootstrapAgentResponse, error) { out := new(DeleteBootstrapAgentResponse) - err := c.cc.Invoke(ctx, "/paralus.dev.sentry.rpc.Bootstrap/DeleteBootstrapAgent", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.sentry.rpc.BootstrapService/DeleteBootstrapAgent", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *bootstrapClient) UpdateBootstrapAgent(ctx context.Context, in *sentry.BootstrapAgent, opts ...grpc.CallOption) (*sentry.BootstrapAgent, error) { +func (c *bootstrapServiceClient) UpdateBootstrapAgent(ctx context.Context, in *sentry.BootstrapAgent, opts ...grpc.CallOption) (*sentry.BootstrapAgent, error) { out := new(sentry.BootstrapAgent) - err := c.cc.Invoke(ctx, "/paralus.dev.sentry.rpc.Bootstrap/UpdateBootstrapAgent", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.sentry.rpc.BootstrapService/UpdateBootstrapAgent", in, out, opts...) if err != nil { return nil, err } return out, nil } -// BootstrapServer is the server API for Bootstrap service. -// All implementations should embed UnimplementedBootstrapServer +// BootstrapServiceServer is the server API for BootstrapService service. +// All implementations should embed UnimplementedBootstrapServiceServer // for forward compatibility -type BootstrapServer interface { +type BootstrapServiceServer interface { PatchBootstrapInfra(context.Context, *sentry.BootstrapInfra) (*sentry.BootstrapInfra, error) GetBootstrapInfra(context.Context, *sentry.BootstrapInfra) (*sentry.BootstrapInfra, error) PatchBootstrapAgentTemplate(context.Context, *sentry.BootstrapAgentTemplate) (*sentry.BootstrapAgentTemplate, error) @@ -172,328 +172,328 @@ type BootstrapServer interface { UpdateBootstrapAgent(context.Context, *sentry.BootstrapAgent) (*sentry.BootstrapAgent, error) } -// UnimplementedBootstrapServer should be embedded to have forward compatible implementations. -type UnimplementedBootstrapServer struct { +// UnimplementedBootstrapServiceServer should be embedded to have forward compatible implementations. +type UnimplementedBootstrapServiceServer struct { } -func (UnimplementedBootstrapServer) PatchBootstrapInfra(context.Context, *sentry.BootstrapInfra) (*sentry.BootstrapInfra, error) { +func (UnimplementedBootstrapServiceServer) PatchBootstrapInfra(context.Context, *sentry.BootstrapInfra) (*sentry.BootstrapInfra, error) { return nil, status.Errorf(codes.Unimplemented, "method PatchBootstrapInfra not implemented") } -func (UnimplementedBootstrapServer) GetBootstrapInfra(context.Context, *sentry.BootstrapInfra) (*sentry.BootstrapInfra, error) { +func (UnimplementedBootstrapServiceServer) GetBootstrapInfra(context.Context, *sentry.BootstrapInfra) (*sentry.BootstrapInfra, error) { return nil, status.Errorf(codes.Unimplemented, "method GetBootstrapInfra not implemented") } -func (UnimplementedBootstrapServer) PatchBootstrapAgentTemplate(context.Context, *sentry.BootstrapAgentTemplate) (*sentry.BootstrapAgentTemplate, error) { +func (UnimplementedBootstrapServiceServer) PatchBootstrapAgentTemplate(context.Context, *sentry.BootstrapAgentTemplate) (*sentry.BootstrapAgentTemplate, error) { return nil, status.Errorf(codes.Unimplemented, "method PatchBootstrapAgentTemplate not implemented") } -func (UnimplementedBootstrapServer) GetBootstrapAgentTemplate(context.Context, *sentry.BootstrapAgentTemplate) (*sentry.BootstrapAgentTemplate, error) { +func (UnimplementedBootstrapServiceServer) GetBootstrapAgentTemplate(context.Context, *sentry.BootstrapAgentTemplate) (*sentry.BootstrapAgentTemplate, error) { return nil, status.Errorf(codes.Unimplemented, "method GetBootstrapAgentTemplate not implemented") } -func (UnimplementedBootstrapServer) GetBootstrapAgentTemplates(context.Context, *v3.QueryOptions) (*sentry.BootstrapAgentTemplateList, error) { +func (UnimplementedBootstrapServiceServer) GetBootstrapAgentTemplates(context.Context, *v3.QueryOptions) (*sentry.BootstrapAgentTemplateList, error) { return nil, status.Errorf(codes.Unimplemented, "method GetBootstrapAgentTemplates not implemented") } -func (UnimplementedBootstrapServer) RegisterBootstrapAgent(context.Context, *RegisterAgentRequest) (*RegisterAgentResponse, error) { +func (UnimplementedBootstrapServiceServer) RegisterBootstrapAgent(context.Context, *RegisterAgentRequest) (*RegisterAgentResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method RegisterBootstrapAgent not implemented") } -func (UnimplementedBootstrapServer) GetBootstrapAgentConfig(context.Context, *sentry.BootstrapAgent) (*v3.HttpBody, error) { +func (UnimplementedBootstrapServiceServer) GetBootstrapAgentConfig(context.Context, *sentry.BootstrapAgent) (*v3.HttpBody, error) { return nil, status.Errorf(codes.Unimplemented, "method GetBootstrapAgentConfig not implemented") } -func (UnimplementedBootstrapServer) CreateBootstrapAgent(context.Context, *sentry.BootstrapAgent) (*sentry.BootstrapAgent, error) { +func (UnimplementedBootstrapServiceServer) CreateBootstrapAgent(context.Context, *sentry.BootstrapAgent) (*sentry.BootstrapAgent, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateBootstrapAgent not implemented") } -func (UnimplementedBootstrapServer) GetBootstrapAgent(context.Context, *sentry.BootstrapAgent) (*sentry.BootstrapAgent, error) { +func (UnimplementedBootstrapServiceServer) GetBootstrapAgent(context.Context, *sentry.BootstrapAgent) (*sentry.BootstrapAgent, error) { return nil, status.Errorf(codes.Unimplemented, "method GetBootstrapAgent not implemented") } -func (UnimplementedBootstrapServer) GetBootstrapAgents(context.Context, *GetBootstrapAgentsRequest) (*sentry.BootstrapAgentList, error) { +func (UnimplementedBootstrapServiceServer) GetBootstrapAgents(context.Context, *GetBootstrapAgentsRequest) (*sentry.BootstrapAgentList, error) { return nil, status.Errorf(codes.Unimplemented, "method GetBootstrapAgents not implemented") } -func (UnimplementedBootstrapServer) DeleteBootstrapAgent(context.Context, *sentry.BootstrapAgent) (*DeleteBootstrapAgentResponse, error) { +func (UnimplementedBootstrapServiceServer) DeleteBootstrapAgent(context.Context, *sentry.BootstrapAgent) (*DeleteBootstrapAgentResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteBootstrapAgent not implemented") } -func (UnimplementedBootstrapServer) UpdateBootstrapAgent(context.Context, *sentry.BootstrapAgent) (*sentry.BootstrapAgent, error) { +func (UnimplementedBootstrapServiceServer) UpdateBootstrapAgent(context.Context, *sentry.BootstrapAgent) (*sentry.BootstrapAgent, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateBootstrapAgent not implemented") } -// UnsafeBootstrapServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to BootstrapServer will +// UnsafeBootstrapServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to BootstrapServiceServer will // result in compilation errors. -type UnsafeBootstrapServer interface { - mustEmbedUnimplementedBootstrapServer() +type UnsafeBootstrapServiceServer interface { + mustEmbedUnimplementedBootstrapServiceServer() } -func RegisterBootstrapServer(s grpc.ServiceRegistrar, srv BootstrapServer) { - s.RegisterService(&Bootstrap_ServiceDesc, srv) +func RegisterBootstrapServiceServer(s grpc.ServiceRegistrar, srv BootstrapServiceServer) { + s.RegisterService(&BootstrapService_ServiceDesc, srv) } -func _Bootstrap_PatchBootstrapInfra_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _BootstrapService_PatchBootstrapInfra_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(sentry.BootstrapInfra) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(BootstrapServer).PatchBootstrapInfra(ctx, in) + return srv.(BootstrapServiceServer).PatchBootstrapInfra(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.sentry.rpc.Bootstrap/PatchBootstrapInfra", + FullMethod: "/paralus.dev.sentry.rpc.BootstrapService/PatchBootstrapInfra", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BootstrapServer).PatchBootstrapInfra(ctx, req.(*sentry.BootstrapInfra)) + return srv.(BootstrapServiceServer).PatchBootstrapInfra(ctx, req.(*sentry.BootstrapInfra)) } return interceptor(ctx, in, info, handler) } -func _Bootstrap_GetBootstrapInfra_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _BootstrapService_GetBootstrapInfra_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(sentry.BootstrapInfra) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(BootstrapServer).GetBootstrapInfra(ctx, in) + return srv.(BootstrapServiceServer).GetBootstrapInfra(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.sentry.rpc.Bootstrap/GetBootstrapInfra", + FullMethod: "/paralus.dev.sentry.rpc.BootstrapService/GetBootstrapInfra", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BootstrapServer).GetBootstrapInfra(ctx, req.(*sentry.BootstrapInfra)) + return srv.(BootstrapServiceServer).GetBootstrapInfra(ctx, req.(*sentry.BootstrapInfra)) } return interceptor(ctx, in, info, handler) } -func _Bootstrap_PatchBootstrapAgentTemplate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _BootstrapService_PatchBootstrapAgentTemplate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(sentry.BootstrapAgentTemplate) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(BootstrapServer).PatchBootstrapAgentTemplate(ctx, in) + return srv.(BootstrapServiceServer).PatchBootstrapAgentTemplate(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.sentry.rpc.Bootstrap/PatchBootstrapAgentTemplate", + FullMethod: "/paralus.dev.sentry.rpc.BootstrapService/PatchBootstrapAgentTemplate", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BootstrapServer).PatchBootstrapAgentTemplate(ctx, req.(*sentry.BootstrapAgentTemplate)) + return srv.(BootstrapServiceServer).PatchBootstrapAgentTemplate(ctx, req.(*sentry.BootstrapAgentTemplate)) } return interceptor(ctx, in, info, handler) } -func _Bootstrap_GetBootstrapAgentTemplate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _BootstrapService_GetBootstrapAgentTemplate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(sentry.BootstrapAgentTemplate) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(BootstrapServer).GetBootstrapAgentTemplate(ctx, in) + return srv.(BootstrapServiceServer).GetBootstrapAgentTemplate(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.sentry.rpc.Bootstrap/GetBootstrapAgentTemplate", + FullMethod: "/paralus.dev.sentry.rpc.BootstrapService/GetBootstrapAgentTemplate", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BootstrapServer).GetBootstrapAgentTemplate(ctx, req.(*sentry.BootstrapAgentTemplate)) + return srv.(BootstrapServiceServer).GetBootstrapAgentTemplate(ctx, req.(*sentry.BootstrapAgentTemplate)) } return interceptor(ctx, in, info, handler) } -func _Bootstrap_GetBootstrapAgentTemplates_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _BootstrapService_GetBootstrapAgentTemplates_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v3.QueryOptions) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(BootstrapServer).GetBootstrapAgentTemplates(ctx, in) + return srv.(BootstrapServiceServer).GetBootstrapAgentTemplates(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.sentry.rpc.Bootstrap/GetBootstrapAgentTemplates", + FullMethod: "/paralus.dev.sentry.rpc.BootstrapService/GetBootstrapAgentTemplates", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BootstrapServer).GetBootstrapAgentTemplates(ctx, req.(*v3.QueryOptions)) + return srv.(BootstrapServiceServer).GetBootstrapAgentTemplates(ctx, req.(*v3.QueryOptions)) } return interceptor(ctx, in, info, handler) } -func _Bootstrap_RegisterBootstrapAgent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _BootstrapService_RegisterBootstrapAgent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(RegisterAgentRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(BootstrapServer).RegisterBootstrapAgent(ctx, in) + return srv.(BootstrapServiceServer).RegisterBootstrapAgent(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.sentry.rpc.Bootstrap/RegisterBootstrapAgent", + FullMethod: "/paralus.dev.sentry.rpc.BootstrapService/RegisterBootstrapAgent", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BootstrapServer).RegisterBootstrapAgent(ctx, req.(*RegisterAgentRequest)) + return srv.(BootstrapServiceServer).RegisterBootstrapAgent(ctx, req.(*RegisterAgentRequest)) } return interceptor(ctx, in, info, handler) } -func _Bootstrap_GetBootstrapAgentConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _BootstrapService_GetBootstrapAgentConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(sentry.BootstrapAgent) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(BootstrapServer).GetBootstrapAgentConfig(ctx, in) + return srv.(BootstrapServiceServer).GetBootstrapAgentConfig(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.sentry.rpc.Bootstrap/GetBootstrapAgentConfig", + FullMethod: "/paralus.dev.sentry.rpc.BootstrapService/GetBootstrapAgentConfig", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BootstrapServer).GetBootstrapAgentConfig(ctx, req.(*sentry.BootstrapAgent)) + return srv.(BootstrapServiceServer).GetBootstrapAgentConfig(ctx, req.(*sentry.BootstrapAgent)) } return interceptor(ctx, in, info, handler) } -func _Bootstrap_CreateBootstrapAgent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _BootstrapService_CreateBootstrapAgent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(sentry.BootstrapAgent) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(BootstrapServer).CreateBootstrapAgent(ctx, in) + return srv.(BootstrapServiceServer).CreateBootstrapAgent(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.sentry.rpc.Bootstrap/CreateBootstrapAgent", + FullMethod: "/paralus.dev.sentry.rpc.BootstrapService/CreateBootstrapAgent", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BootstrapServer).CreateBootstrapAgent(ctx, req.(*sentry.BootstrapAgent)) + return srv.(BootstrapServiceServer).CreateBootstrapAgent(ctx, req.(*sentry.BootstrapAgent)) } return interceptor(ctx, in, info, handler) } -func _Bootstrap_GetBootstrapAgent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _BootstrapService_GetBootstrapAgent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(sentry.BootstrapAgent) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(BootstrapServer).GetBootstrapAgent(ctx, in) + return srv.(BootstrapServiceServer).GetBootstrapAgent(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.sentry.rpc.Bootstrap/GetBootstrapAgent", + FullMethod: "/paralus.dev.sentry.rpc.BootstrapService/GetBootstrapAgent", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BootstrapServer).GetBootstrapAgent(ctx, req.(*sentry.BootstrapAgent)) + return srv.(BootstrapServiceServer).GetBootstrapAgent(ctx, req.(*sentry.BootstrapAgent)) } return interceptor(ctx, in, info, handler) } -func _Bootstrap_GetBootstrapAgents_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _BootstrapService_GetBootstrapAgents_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetBootstrapAgentsRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(BootstrapServer).GetBootstrapAgents(ctx, in) + return srv.(BootstrapServiceServer).GetBootstrapAgents(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.sentry.rpc.Bootstrap/GetBootstrapAgents", + FullMethod: "/paralus.dev.sentry.rpc.BootstrapService/GetBootstrapAgents", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BootstrapServer).GetBootstrapAgents(ctx, req.(*GetBootstrapAgentsRequest)) + return srv.(BootstrapServiceServer).GetBootstrapAgents(ctx, req.(*GetBootstrapAgentsRequest)) } return interceptor(ctx, in, info, handler) } -func _Bootstrap_DeleteBootstrapAgent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _BootstrapService_DeleteBootstrapAgent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(sentry.BootstrapAgent) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(BootstrapServer).DeleteBootstrapAgent(ctx, in) + return srv.(BootstrapServiceServer).DeleteBootstrapAgent(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.sentry.rpc.Bootstrap/DeleteBootstrapAgent", + FullMethod: "/paralus.dev.sentry.rpc.BootstrapService/DeleteBootstrapAgent", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BootstrapServer).DeleteBootstrapAgent(ctx, req.(*sentry.BootstrapAgent)) + return srv.(BootstrapServiceServer).DeleteBootstrapAgent(ctx, req.(*sentry.BootstrapAgent)) } return interceptor(ctx, in, info, handler) } -func _Bootstrap_UpdateBootstrapAgent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _BootstrapService_UpdateBootstrapAgent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(sentry.BootstrapAgent) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(BootstrapServer).UpdateBootstrapAgent(ctx, in) + return srv.(BootstrapServiceServer).UpdateBootstrapAgent(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.sentry.rpc.Bootstrap/UpdateBootstrapAgent", + FullMethod: "/paralus.dev.sentry.rpc.BootstrapService/UpdateBootstrapAgent", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BootstrapServer).UpdateBootstrapAgent(ctx, req.(*sentry.BootstrapAgent)) + return srv.(BootstrapServiceServer).UpdateBootstrapAgent(ctx, req.(*sentry.BootstrapAgent)) } return interceptor(ctx, in, info, handler) } -// Bootstrap_ServiceDesc is the grpc.ServiceDesc for Bootstrap service. +// BootstrapService_ServiceDesc is the grpc.ServiceDesc for BootstrapService service. // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) -var Bootstrap_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "paralus.dev.sentry.rpc.Bootstrap", - HandlerType: (*BootstrapServer)(nil), +var BootstrapService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "paralus.dev.sentry.rpc.BootstrapService", + HandlerType: (*BootstrapServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "PatchBootstrapInfra", - Handler: _Bootstrap_PatchBootstrapInfra_Handler, + Handler: _BootstrapService_PatchBootstrapInfra_Handler, }, { MethodName: "GetBootstrapInfra", - Handler: _Bootstrap_GetBootstrapInfra_Handler, + Handler: _BootstrapService_GetBootstrapInfra_Handler, }, { MethodName: "PatchBootstrapAgentTemplate", - Handler: _Bootstrap_PatchBootstrapAgentTemplate_Handler, + Handler: _BootstrapService_PatchBootstrapAgentTemplate_Handler, }, { MethodName: "GetBootstrapAgentTemplate", - Handler: _Bootstrap_GetBootstrapAgentTemplate_Handler, + Handler: _BootstrapService_GetBootstrapAgentTemplate_Handler, }, { MethodName: "GetBootstrapAgentTemplates", - Handler: _Bootstrap_GetBootstrapAgentTemplates_Handler, + Handler: _BootstrapService_GetBootstrapAgentTemplates_Handler, }, { MethodName: "RegisterBootstrapAgent", - Handler: _Bootstrap_RegisterBootstrapAgent_Handler, + Handler: _BootstrapService_RegisterBootstrapAgent_Handler, }, { MethodName: "GetBootstrapAgentConfig", - Handler: _Bootstrap_GetBootstrapAgentConfig_Handler, + Handler: _BootstrapService_GetBootstrapAgentConfig_Handler, }, { MethodName: "CreateBootstrapAgent", - Handler: _Bootstrap_CreateBootstrapAgent_Handler, + Handler: _BootstrapService_CreateBootstrapAgent_Handler, }, { MethodName: "GetBootstrapAgent", - Handler: _Bootstrap_GetBootstrapAgent_Handler, + Handler: _BootstrapService_GetBootstrapAgent_Handler, }, { MethodName: "GetBootstrapAgents", - Handler: _Bootstrap_GetBootstrapAgents_Handler, + Handler: _BootstrapService_GetBootstrapAgents_Handler, }, { MethodName: "DeleteBootstrapAgent", - Handler: _Bootstrap_DeleteBootstrapAgent_Handler, + Handler: _BootstrapService_DeleteBootstrapAgent_Handler, }, { MethodName: "UpdateBootstrapAgent", - Handler: _Bootstrap_UpdateBootstrapAgent_Handler, + Handler: _BootstrapService_UpdateBootstrapAgent_Handler, }, }, Streams: []grpc.StreamDesc{}, diff --git a/proto/rpc/sentry/cluster_authz.pb.go b/proto/rpc/sentry/cluster_authz.pb.go index 0d141193..d042c034 100644 --- a/proto/rpc/sentry/cluster_authz.pb.go +++ b/proto/rpc/sentry/cluster_authz.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.27.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: proto/rpc/sentry/cluster_authz.proto @@ -8,9 +8,7 @@ package sentry import ( _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" - _ "github.com/paralus/paralus/proto/types/commonpb/v3" controller "github.com/paralus/paralus/proto/types/controller" - _ "github.com/paralus/paralus/proto/types/sentry" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" @@ -242,79 +240,75 @@ var file_proto_rpc_sentry_cluster_authz_proto_rawDesc = []byte{ 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, - 0x70, 0x62, 0x2f, 0x76, 0x33, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x1a, 0x1f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, - 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2f, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x1a, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, - 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2f, 0x63, 0x6c, 0x75, 0x73, - 0x74, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xee, 0x06, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, - 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, - 0x65, 0x12, 0x50, 0x0a, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, - 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x70, 0x61, 0x72, 0x61, - 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, - 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x53, 0x74, 0x65, 0x70, 0x4f, 0x62, 0x6a, - 0x65, 0x63, 0x74, 0x52, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, - 0x75, 0x6e, 0x74, 0x12, 0x4c, 0x0a, 0x0c, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x6f, - 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x70, 0x61, 0x72, 0x61, - 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, - 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x53, 0x74, 0x65, 0x70, 0x4f, 0x62, 0x6a, - 0x65, 0x63, 0x74, 0x52, 0x0c, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, - 0x73, 0x12, 0x5a, 0x0a, 0x13, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, - 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, - 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, - 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x53, 0x74, - 0x65, 0x70, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x13, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, - 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x3e, 0x0a, - 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x70, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2f, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, + 0x6c, 0x6c, 0x65, 0x72, 0x2f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6e, + 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xee, 0x06, + 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, + 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, + 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x50, 0x0a, 0x0e, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, + 0x72, 0x2e, 0x53, 0x74, 0x65, 0x70, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x0e, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x4c, 0x0a, 0x0c, + 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, + 0x72, 0x2e, 0x53, 0x74, 0x65, 0x70, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x0c, 0x63, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x12, 0x5a, 0x0a, 0x13, 0x63, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, + 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, + 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, + 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x53, 0x74, 0x65, 0x70, 0x4f, 0x62, 0x6a, 0x65, 0x63, + 0x74, 0x52, 0x13, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x42, 0x69, + 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x3e, 0x0a, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x18, + 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, + 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x53, 0x74, 0x65, 0x70, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, + 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x12, 0x4c, 0x0a, 0x0c, 0x72, 0x6f, 0x6c, 0x65, 0x42, 0x69, + 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x53, 0x74, 0x65, 0x70, - 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x12, 0x4c, 0x0a, - 0x0c, 0x72, 0x6f, 0x6c, 0x65, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x06, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, - 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, - 0x65, 0x72, 0x2e, 0x53, 0x74, 0x65, 0x70, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x0c, 0x72, - 0x6f, 0x6c, 0x65, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x66, 0x0a, 0x19, 0x64, - 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, - 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, - 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, - 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x53, 0x74, - 0x65, 0x70, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x19, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, - 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x42, 0x69, 0x6e, 0x64, 0x69, - 0x6e, 0x67, 0x73, 0x12, 0x58, 0x0a, 0x12, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x6c, - 0x65, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x28, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, - 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x53, - 0x74, 0x65, 0x70, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x12, 0x64, 0x65, 0x6c, 0x65, 0x74, - 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x48, 0x0a, - 0x0a, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x28, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, - 0x2e, 0x53, 0x74, 0x65, 0x70, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x0a, 0x6e, 0x61, 0x6d, - 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x6f, 0x6c, 0x65, 0x4e, - 0x61, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x6f, 0x6c, 0x65, 0x4e, - 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x73, 0x52, 0x65, 0x61, 0x64, 0x18, 0x0b, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x52, 0x65, 0x61, 0x64, 0x12, 0x48, 0x0a, 0x1f, 0x65, + 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x0c, 0x72, 0x6f, 0x6c, 0x65, 0x42, 0x69, 0x6e, 0x64, + 0x69, 0x6e, 0x67, 0x73, 0x12, 0x66, 0x0a, 0x19, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6c, + 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, + 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, + 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, + 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x53, 0x74, 0x65, 0x70, 0x4f, 0x62, 0x6a, 0x65, 0x63, + 0x74, 0x52, 0x19, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, + 0x52, 0x6f, 0x6c, 0x65, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x58, 0x0a, 0x12, + 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, + 0x67, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, + 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6e, + 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x53, 0x74, 0x65, 0x70, 0x4f, 0x62, 0x6a, 0x65, + 0x63, 0x74, 0x52, 0x12, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x42, 0x69, + 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x48, 0x0a, 0x0a, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x70, 0x61, 0x72, + 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, + 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x53, 0x74, 0x65, 0x70, 0x4f, 0x62, + 0x6a, 0x65, 0x63, 0x74, 0x52, 0x0a, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, + 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x6f, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x08, 0x72, 0x6f, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, + 0x69, 0x73, 0x52, 0x65, 0x61, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, + 0x52, 0x65, 0x61, 0x64, 0x12, 0x48, 0x0a, 0x1f, 0x65, 0x6e, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x4f, + 0x72, 0x67, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x4f, 0x6e, 0x6c, 0x79, 0x53, 0x65, 0x63, 0x72, 0x65, + 0x74, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1f, 0x65, 0x6e, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x4f, 0x72, 0x67, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x4f, 0x6e, - 0x6c, 0x79, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x0c, - 0x20, 0x01, 0x28, 0x08, 0x52, 0x1f, 0x65, 0x6e, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x4f, 0x72, 0x67, - 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x4f, 0x6e, 0x6c, 0x79, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x41, - 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x69, 0x73, 0x4f, 0x72, 0x67, 0x41, 0x64, - 0x6d, 0x69, 0x6e, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x4f, 0x72, 0x67, - 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x22, 0x7f, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, - 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x43, 0x4e, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x43, 0x4e, 0x12, 0x1c, 0x0a, 0x09, - 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x49, 0x44, 0x12, 0x2a, 0x0a, 0x10, 0x63, 0x65, - 0x72, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x63, 0x65, 0x72, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x53, - 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x32, 0xc1, 0x01, 0x0a, 0x14, 0x43, 0x6c, 0x75, 0x73, 0x74, - 0x65, 0x72, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, + 0x6c, 0x79, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x1e, + 0x0a, 0x0a, 0x69, 0x73, 0x4f, 0x72, 0x67, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x18, 0x0d, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x4f, 0x72, 0x67, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x22, 0x7f, + 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, + 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, + 0x06, 0x75, 0x73, 0x65, 0x72, 0x43, 0x4e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, + 0x73, 0x65, 0x72, 0x43, 0x4e, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, + 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, + 0x72, 0x49, 0x44, 0x12, 0x2a, 0x0a, 0x10, 0x63, 0x65, 0x72, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, + 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x63, + 0x65, 0x72, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x32, + 0xc8, 0x01, 0x0a, 0x1b, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x41, 0x75, 0x74, 0x68, 0x6f, + 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xa8, 0x01, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x33, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x72, 0x70, @@ -393,8 +387,8 @@ var file_proto_rpc_sentry_cluster_authz_proto_depIdxs = []int32{ 2, // 5: paralus.dev.sentry.rpc.GetUserAuthorizationResponse.deleteClusterRoleBindings:type_name -> paralus.dev.types.controller.StepObject 2, // 6: paralus.dev.sentry.rpc.GetUserAuthorizationResponse.deleteRoleBindings:type_name -> paralus.dev.types.controller.StepObject 2, // 7: paralus.dev.sentry.rpc.GetUserAuthorizationResponse.namespaces:type_name -> paralus.dev.types.controller.StepObject - 1, // 8: paralus.dev.sentry.rpc.ClusterAuthorization.GetUserAuthorization:input_type -> paralus.dev.sentry.rpc.GetUserAuthorizationRequest - 0, // 9: paralus.dev.sentry.rpc.ClusterAuthorization.GetUserAuthorization:output_type -> paralus.dev.sentry.rpc.GetUserAuthorizationResponse + 1, // 8: paralus.dev.sentry.rpc.ClusterAuthorizationService.GetUserAuthorization:input_type -> paralus.dev.sentry.rpc.GetUserAuthorizationRequest + 0, // 9: paralus.dev.sentry.rpc.ClusterAuthorizationService.GetUserAuthorization:output_type -> paralus.dev.sentry.rpc.GetUserAuthorizationResponse 9, // [9:10] is the sub-list for method output_type 8, // [8:9] is the sub-list for method input_type 8, // [8:8] is the sub-list for extension type_name diff --git a/proto/rpc/sentry/cluster_authz.pb.gw.go b/proto/rpc/sentry/cluster_authz.pb.gw.go index ec32045a..ed1f37c4 100644 --- a/proto/rpc/sentry/cluster_authz.pb.gw.go +++ b/proto/rpc/sentry/cluster_authz.pb.gw.go @@ -32,17 +32,17 @@ var _ = utilities.NewDoubleArray var _ = metadata.Join var ( - filter_ClusterAuthorization_GetUserAuthorization_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} + filter_ClusterAuthorizationService_GetUserAuthorization_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} ) -func request_ClusterAuthorization_GetUserAuthorization_0(ctx context.Context, marshaler runtime.Marshaler, client ClusterAuthorizationClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_ClusterAuthorizationService_GetUserAuthorization_0(ctx context.Context, marshaler runtime.Marshaler, client ClusterAuthorizationServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq GetUserAuthorizationRequest var metadata runtime.ServerMetadata if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_ClusterAuthorization_GetUserAuthorization_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_ClusterAuthorizationService_GetUserAuthorization_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -51,14 +51,14 @@ func request_ClusterAuthorization_GetUserAuthorization_0(ctx context.Context, ma } -func local_request_ClusterAuthorization_GetUserAuthorization_0(ctx context.Context, marshaler runtime.Marshaler, server ClusterAuthorizationServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_ClusterAuthorizationService_GetUserAuthorization_0(ctx context.Context, marshaler runtime.Marshaler, server ClusterAuthorizationServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq GetUserAuthorizationRequest var metadata runtime.ServerMetadata if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_ClusterAuthorization_GetUserAuthorization_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_ClusterAuthorizationService_GetUserAuthorization_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -67,41 +67,43 @@ func local_request_ClusterAuthorization_GetUserAuthorization_0(ctx context.Conte } -// RegisterClusterAuthorizationHandlerServer registers the http handlers for service ClusterAuthorization to "mux". -// UnaryRPC :call ClusterAuthorizationServer directly. +// RegisterClusterAuthorizationServiceHandlerServer registers the http handlers for service ClusterAuthorizationService to "mux". +// UnaryRPC :call ClusterAuthorizationServiceServer directly. // StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. -// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterClusterAuthorizationHandlerFromEndpoint instead. -func RegisterClusterAuthorizationHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ClusterAuthorizationServer) error { +// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterClusterAuthorizationServiceHandlerFromEndpoint instead. +func RegisterClusterAuthorizationServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ClusterAuthorizationServiceServer) error { - mux.Handle("GET", pattern_ClusterAuthorization_GetUserAuthorization_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_ClusterAuthorizationService_GetUserAuthorization_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.sentry.rpc.ClusterAuthorization/GetUserAuthorization", runtime.WithHTTPPathPattern("/v2/sentry/authorization/user")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.sentry.rpc.ClusterAuthorizationService/GetUserAuthorization", runtime.WithHTTPPathPattern("/v2/sentry/authorization/user")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_ClusterAuthorization_GetUserAuthorization_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_ClusterAuthorizationService_GetUserAuthorization_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_ClusterAuthorization_GetUserAuthorization_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ClusterAuthorizationService_GetUserAuthorization_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) return nil } -// RegisterClusterAuthorizationHandlerFromEndpoint is same as RegisterClusterAuthorizationHandler but +// RegisterClusterAuthorizationServiceHandlerFromEndpoint is same as RegisterClusterAuthorizationServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. -func RegisterClusterAuthorizationHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { +func RegisterClusterAuthorizationServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { conn, err := grpc.Dial(endpoint, opts...) if err != nil { return err @@ -121,39 +123,41 @@ func RegisterClusterAuthorizationHandlerFromEndpoint(ctx context.Context, mux *r }() }() - return RegisterClusterAuthorizationHandler(ctx, mux, conn) + return RegisterClusterAuthorizationServiceHandler(ctx, mux, conn) } -// RegisterClusterAuthorizationHandler registers the http handlers for service ClusterAuthorization to "mux". +// RegisterClusterAuthorizationServiceHandler registers the http handlers for service ClusterAuthorizationService to "mux". // The handlers forward requests to the grpc endpoint over "conn". -func RegisterClusterAuthorizationHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { - return RegisterClusterAuthorizationHandlerClient(ctx, mux, NewClusterAuthorizationClient(conn)) +func RegisterClusterAuthorizationServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { + return RegisterClusterAuthorizationServiceHandlerClient(ctx, mux, NewClusterAuthorizationServiceClient(conn)) } -// RegisterClusterAuthorizationHandlerClient registers the http handlers for service ClusterAuthorization -// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ClusterAuthorizationClient". -// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ClusterAuthorizationClient" +// RegisterClusterAuthorizationServiceHandlerClient registers the http handlers for service ClusterAuthorizationService +// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ClusterAuthorizationServiceClient". +// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ClusterAuthorizationServiceClient" // doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in -// "ClusterAuthorizationClient" to call the correct interceptors. -func RegisterClusterAuthorizationHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ClusterAuthorizationClient) error { +// "ClusterAuthorizationServiceClient" to call the correct interceptors. +func RegisterClusterAuthorizationServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ClusterAuthorizationServiceClient) error { - mux.Handle("GET", pattern_ClusterAuthorization_GetUserAuthorization_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_ClusterAuthorizationService_GetUserAuthorization_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.sentry.rpc.ClusterAuthorization/GetUserAuthorization", runtime.WithHTTPPathPattern("/v2/sentry/authorization/user")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.sentry.rpc.ClusterAuthorizationService/GetUserAuthorization", runtime.WithHTTPPathPattern("/v2/sentry/authorization/user")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_ClusterAuthorization_GetUserAuthorization_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_ClusterAuthorizationService_GetUserAuthorization_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_ClusterAuthorization_GetUserAuthorization_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ClusterAuthorizationService_GetUserAuthorization_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) @@ -161,9 +165,9 @@ func RegisterClusterAuthorizationHandlerClient(ctx context.Context, mux *runtime } var ( - pattern_ClusterAuthorization_GetUserAuthorization_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"v2", "sentry", "authorization", "user"}, "")) + pattern_ClusterAuthorizationService_GetUserAuthorization_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"v2", "sentry", "authorization", "user"}, "")) ) var ( - forward_ClusterAuthorization_GetUserAuthorization_0 = runtime.ForwardResponseMessage + forward_ClusterAuthorizationService_GetUserAuthorization_0 = runtime.ForwardResponseMessage ) diff --git a/proto/rpc/sentry/cluster_authz.proto b/proto/rpc/sentry/cluster_authz.proto index 3ca6d54c..6b639778 100644 --- a/proto/rpc/sentry/cluster_authz.proto +++ b/proto/rpc/sentry/cluster_authz.proto @@ -3,8 +3,6 @@ package paralus.dev.sentry.rpc; import "google/api/annotations.proto"; import "protoc-gen-openapiv2/options/annotations.proto"; -import "proto/types/commonpb/v3/common.proto"; -import "proto/types/sentry/sentry.proto"; import "proto/types/controller/cluster_controller.proto"; option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = { @@ -76,11 +74,11 @@ message GetUserAuthorizationRequest { int64 certIssueSeconds = 3; } -service ClusterAuthorization { +service ClusterAuthorizationService { rpc GetUserAuthorization(GetUserAuthorizationRequest) returns (GetUserAuthorizationResponse) { option (google.api.http) = { get : "/v2/sentry/authorization/user" }; }; -} +} \ No newline at end of file diff --git a/proto/rpc/sentry/cluster_authz_grpc.pb.go b/proto/rpc/sentry/cluster_authz_grpc.pb.go index 8f45cf24..4af354f0 100644 --- a/proto/rpc/sentry/cluster_authz_grpc.pb.go +++ b/proto/rpc/sentry/cluster_authz_grpc.pb.go @@ -18,84 +18,84 @@ import ( // Requires gRPC-Go v1.32.0 or later. const _ = grpc.SupportPackageIsVersion7 -// ClusterAuthorizationClient is the client API for ClusterAuthorization service. +// ClusterAuthorizationServiceClient is the client API for ClusterAuthorizationService service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. -type ClusterAuthorizationClient interface { +type ClusterAuthorizationServiceClient interface { GetUserAuthorization(ctx context.Context, in *GetUserAuthorizationRequest, opts ...grpc.CallOption) (*GetUserAuthorizationResponse, error) } -type clusterAuthorizationClient struct { +type clusterAuthorizationServiceClient struct { cc grpc.ClientConnInterface } -func NewClusterAuthorizationClient(cc grpc.ClientConnInterface) ClusterAuthorizationClient { - return &clusterAuthorizationClient{cc} +func NewClusterAuthorizationServiceClient(cc grpc.ClientConnInterface) ClusterAuthorizationServiceClient { + return &clusterAuthorizationServiceClient{cc} } -func (c *clusterAuthorizationClient) GetUserAuthorization(ctx context.Context, in *GetUserAuthorizationRequest, opts ...grpc.CallOption) (*GetUserAuthorizationResponse, error) { +func (c *clusterAuthorizationServiceClient) GetUserAuthorization(ctx context.Context, in *GetUserAuthorizationRequest, opts ...grpc.CallOption) (*GetUserAuthorizationResponse, error) { out := new(GetUserAuthorizationResponse) - err := c.cc.Invoke(ctx, "/paralus.dev.sentry.rpc.ClusterAuthorization/GetUserAuthorization", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.sentry.rpc.ClusterAuthorizationService/GetUserAuthorization", in, out, opts...) if err != nil { return nil, err } return out, nil } -// ClusterAuthorizationServer is the server API for ClusterAuthorization service. -// All implementations should embed UnimplementedClusterAuthorizationServer +// ClusterAuthorizationServiceServer is the server API for ClusterAuthorizationService service. +// All implementations should embed UnimplementedClusterAuthorizationServiceServer // for forward compatibility -type ClusterAuthorizationServer interface { +type ClusterAuthorizationServiceServer interface { GetUserAuthorization(context.Context, *GetUserAuthorizationRequest) (*GetUserAuthorizationResponse, error) } -// UnimplementedClusterAuthorizationServer should be embedded to have forward compatible implementations. -type UnimplementedClusterAuthorizationServer struct { +// UnimplementedClusterAuthorizationServiceServer should be embedded to have forward compatible implementations. +type UnimplementedClusterAuthorizationServiceServer struct { } -func (UnimplementedClusterAuthorizationServer) GetUserAuthorization(context.Context, *GetUserAuthorizationRequest) (*GetUserAuthorizationResponse, error) { +func (UnimplementedClusterAuthorizationServiceServer) GetUserAuthorization(context.Context, *GetUserAuthorizationRequest) (*GetUserAuthorizationResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetUserAuthorization not implemented") } -// UnsafeClusterAuthorizationServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to ClusterAuthorizationServer will +// UnsafeClusterAuthorizationServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to ClusterAuthorizationServiceServer will // result in compilation errors. -type UnsafeClusterAuthorizationServer interface { - mustEmbedUnimplementedClusterAuthorizationServer() +type UnsafeClusterAuthorizationServiceServer interface { + mustEmbedUnimplementedClusterAuthorizationServiceServer() } -func RegisterClusterAuthorizationServer(s grpc.ServiceRegistrar, srv ClusterAuthorizationServer) { - s.RegisterService(&ClusterAuthorization_ServiceDesc, srv) +func RegisterClusterAuthorizationServiceServer(s grpc.ServiceRegistrar, srv ClusterAuthorizationServiceServer) { + s.RegisterService(&ClusterAuthorizationService_ServiceDesc, srv) } -func _ClusterAuthorization_GetUserAuthorization_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _ClusterAuthorizationService_GetUserAuthorization_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetUserAuthorizationRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(ClusterAuthorizationServer).GetUserAuthorization(ctx, in) + return srv.(ClusterAuthorizationServiceServer).GetUserAuthorization(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.sentry.rpc.ClusterAuthorization/GetUserAuthorization", + FullMethod: "/paralus.dev.sentry.rpc.ClusterAuthorizationService/GetUserAuthorization", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ClusterAuthorizationServer).GetUserAuthorization(ctx, req.(*GetUserAuthorizationRequest)) + return srv.(ClusterAuthorizationServiceServer).GetUserAuthorization(ctx, req.(*GetUserAuthorizationRequest)) } return interceptor(ctx, in, info, handler) } -// ClusterAuthorization_ServiceDesc is the grpc.ServiceDesc for ClusterAuthorization service. +// ClusterAuthorizationService_ServiceDesc is the grpc.ServiceDesc for ClusterAuthorizationService service. // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) -var ClusterAuthorization_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "paralus.dev.sentry.rpc.ClusterAuthorization", - HandlerType: (*ClusterAuthorizationServer)(nil), +var ClusterAuthorizationService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "paralus.dev.sentry.rpc.ClusterAuthorizationService", + HandlerType: (*ClusterAuthorizationServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetUserAuthorization", - Handler: _ClusterAuthorization_GetUserAuthorization_Handler, + Handler: _ClusterAuthorizationService_GetUserAuthorization_Handler, }, }, Streams: []grpc.StreamDesc{}, diff --git a/proto/rpc/sentry/internal.go b/proto/rpc/sentry/internal.go index 44433d9b..1edcb39f 100644 --- a/proto/rpc/sentry/internal.go +++ b/proto/rpc/sentry/internal.go @@ -15,9 +15,9 @@ import ( type SentryClient interface { Unhealthy() Close() error - BootstrapClient - ClusterAuthorizationClient - KubeConfigClient + BootstrapServiceClient + ClusterAuthorizationServiceClient + KubeConfigServiceClient } // SentryAuthorizationClient is the interface for accessing all the RPCs @@ -25,23 +25,23 @@ type SentryClient interface { type SentryAuthorizationClient interface { Unhealthy() Close() error - ClusterAuthorizationClient - AuditInformationClient + ClusterAuthorizationServiceClient + AuditInformationServiceClient } type sentryClient struct { *grpcpool.ClientConn - *bootstrapClient - *clusterAuthorizationClient - *kubeConfigClient + *bootstrapServiceClient + *clusterAuthorizationServiceClient + *kubeConfigServiceClient } var _ SentryClient = (*sentryClient)(nil) type sentryAuthorizationClient struct { *grpcpool.ClientConn - *clusterAuthorizationClient - *auditInformationClient + *clusterAuthorizationServiceClient + *auditInformationServiceClient } var _ SentryAuthorizationClient = (*sentryAuthorizationClient)(nil) @@ -83,9 +83,9 @@ func (p *sentryPool) NewClient(ctx context.Context) (SentryClient, error) { } return &sentryClient{ cc, - &bootstrapClient{cc.ClientConn}, - &clusterAuthorizationClient{cc.ClientConn}, - &kubeConfigClient{cc.ClientConn}, + &bootstrapServiceClient{cc.ClientConn}, + &clusterAuthorizationServiceClient{cc.ClientConn}, + &kubeConfigServiceClient{cc.ClientConn}, }, nil } @@ -106,8 +106,8 @@ func (p *sentryAuthorizationPool) NewClient(ctx context.Context) (SentryAuthoriz } return &sentryAuthorizationClient{ cc, - &clusterAuthorizationClient{cc.ClientConn}, - &auditInformationClient{cc.ClientConn}, + &clusterAuthorizationServiceClient{cc.ClientConn}, + &auditInformationServiceClient{cc.ClientConn}, }, nil } diff --git a/proto/rpc/sentry/kubeconfig.pb.go b/proto/rpc/sentry/kubeconfig.pb.go index b4e784b5..51d47fea 100644 --- a/proto/rpc/sentry/kubeconfig.pb.go +++ b/proto/rpc/sentry/kubeconfig.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.27.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: proto/rpc/sentry/kubeconfig.proto @@ -9,7 +9,6 @@ package sentry import ( _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" v3 "github.com/paralus/paralus/proto/types/commonpb/v3" - _ "github.com/paralus/paralus/proto/types/sentry" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" @@ -507,246 +506,244 @@ var file_proto_rpc_sentry_kubeconfig_proto_rawDesc = []byte{ 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x70, 0x62, 0x2f, - 0x76, 0x33, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, - 0x1f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x73, 0x65, 0x6e, - 0x74, 0x72, 0x79, 0x2f, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x22, 0x93, 0x01, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x46, 0x6f, 0x72, 0x43, 0x6c, 0x75, 0x73, 0x74, - 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3d, 0x0a, 0x04, 0x6f, 0x70, 0x74, - 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, - 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, - 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4f, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x52, 0x04, 0x6f, 0x70, 0x74, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, - 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, - 0x55, 0x73, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x73, 0x79, 0x73, 0x74, - 0x65, 0x6d, 0x55, 0x73, 0x65, 0x72, 0x22, 0x70, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x46, 0x6f, 0x72, - 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3d, 0x0a, 0x04, 0x6f, - 0x70, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x70, 0x61, 0x72, 0x61, - 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, - 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4f, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x04, 0x6f, 0x70, 0x74, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, - 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, - 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x58, 0x0a, 0x17, 0x52, 0x65, 0x76, 0x6f, - 0x6b, 0x65, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x3d, 0x0a, 0x04, 0x6f, 0x70, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x29, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, - 0x51, 0x75, 0x65, 0x72, 0x79, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x04, 0x6f, 0x70, - 0x74, 0x73, 0x22, 0x1a, 0x0a, 0x18, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x4b, 0x75, 0x62, 0x65, - 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x87, - 0x03, 0x0a, 0x1e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x6f, 0x6e, - 0x66, 0x69, 0x67, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x3d, 0x0a, 0x04, 0x6f, 0x70, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x29, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, - 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x51, 0x75, - 0x65, 0x72, 0x79, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x04, 0x6f, 0x70, 0x74, 0x73, - 0x12, 0x28, 0x0a, 0x0f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x53, 0x65, 0x63, 0x6f, - 0x6e, 0x64, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x76, 0x61, 0x6c, 0x69, 0x64, - 0x69, 0x74, 0x79, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x2e, 0x0a, 0x12, 0x65, 0x6e, - 0x61, 0x62, 0x6c, 0x65, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x65, - 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x2e, 0x0a, 0x12, 0x65, 0x6e, - 0x61, 0x62, 0x6c, 0x65, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x52, 0x65, 0x6c, 0x61, 0x79, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x72, - 0x69, 0x76, 0x61, 0x74, 0x65, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x12, 0x40, 0x0a, 0x1b, 0x65, 0x6e, - 0x66, 0x6f, 0x72, 0x63, 0x65, 0x4f, 0x72, 0x67, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x53, 0x65, 0x63, - 0x72, 0x65, 0x74, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x1b, 0x65, 0x6e, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x4f, 0x72, 0x67, 0x41, 0x64, 0x6d, 0x69, 0x6e, - 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x2c, 0x0a, 0x11, - 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x57, 0x65, 0x62, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x74, - 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, - 0x57, 0x65, 0x62, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x74, 0x6c, 0x12, 0x2c, 0x0a, 0x11, 0x64, 0x69, - 0x73, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x4c, 0x49, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x74, 0x6c, 0x18, - 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x4c, - 0x49, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x74, 0x6c, 0x22, 0x21, 0x0a, 0x1f, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x65, 0x74, 0x74, - 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x5c, 0x0a, 0x1b, 0x47, - 0x65, 0x74, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x65, 0x74, 0x74, - 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3d, 0x0a, 0x04, 0x6f, 0x70, + 0x76, 0x33, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0x93, 0x01, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x46, 0x6f, 0x72, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, + 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3d, 0x0a, 0x04, 0x6f, 0x70, 0x74, 0x73, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, + 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x52, 0x04, 0x6f, 0x70, 0x74, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x55, + 0x73, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x73, 0x79, 0x73, 0x74, 0x65, + 0x6d, 0x55, 0x73, 0x65, 0x72, 0x22, 0x70, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x46, 0x6f, 0x72, 0x55, + 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3d, 0x0a, 0x04, 0x6f, 0x70, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4f, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x52, 0x04, 0x6f, 0x70, 0x74, 0x73, 0x22, 0xc6, 0x02, 0x0a, 0x1c, 0x47, 0x65, + 0x6f, 0x6e, 0x73, 0x52, 0x04, 0x6f, 0x70, 0x74, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, + 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x58, 0x0a, 0x17, 0x52, 0x65, 0x76, 0x6f, 0x6b, + 0x65, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x3d, 0x0a, 0x04, 0x6f, 0x70, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x29, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, + 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x51, + 0x75, 0x65, 0x72, 0x79, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x04, 0x6f, 0x70, 0x74, + 0x73, 0x22, 0x1a, 0x0a, 0x18, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x4b, 0x75, 0x62, 0x65, 0x63, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x87, 0x03, + 0x0a, 0x1e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x3d, 0x0a, 0x04, 0x6f, 0x70, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, + 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, + 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x51, 0x75, 0x65, + 0x72, 0x79, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x04, 0x6f, 0x70, 0x74, 0x73, 0x12, + 0x28, 0x0a, 0x0f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x53, 0x65, 0x63, 0x6f, 0x6e, + 0x64, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x69, + 0x74, 0x79, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x2e, 0x0a, 0x12, 0x65, 0x6e, 0x61, + 0x62, 0x6c, 0x65, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x65, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x2e, 0x0a, 0x12, 0x65, 0x6e, 0x61, + 0x62, 0x6c, 0x65, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x72, 0x69, + 0x76, 0x61, 0x74, 0x65, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x12, 0x40, 0x0a, 0x1b, 0x65, 0x6e, 0x66, + 0x6f, 0x72, 0x63, 0x65, 0x4f, 0x72, 0x67, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x53, 0x65, 0x63, 0x72, + 0x65, 0x74, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1b, + 0x65, 0x6e, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x4f, 0x72, 0x67, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x53, + 0x65, 0x63, 0x72, 0x65, 0x74, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x2c, 0x0a, 0x11, 0x64, + 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x57, 0x65, 0x62, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x74, 0x6c, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x57, + 0x65, 0x62, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x74, 0x6c, 0x12, 0x2c, 0x0a, 0x11, 0x64, 0x69, 0x73, + 0x61, 0x62, 0x6c, 0x65, 0x43, 0x4c, 0x49, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x74, 0x6c, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x4c, 0x49, + 0x4b, 0x75, 0x62, 0x65, 0x63, 0x74, 0x6c, 0x22, 0x21, 0x0a, 0x1f, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x65, 0x74, 0x74, 0x69, + 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x5c, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x65, 0x74, 0x74, 0x69, - 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x76, 0x61, - 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x0f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x53, 0x65, 0x63, - 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x2e, 0x0a, 0x12, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x65, - 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, - 0x52, 0x12, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x43, - 0x68, 0x65, 0x63, 0x6b, 0x12, 0x2e, 0x0a, 0x12, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x72, - 0x69, 0x76, 0x61, 0x74, 0x65, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, - 0x52, 0x12, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x52, - 0x65, 0x6c, 0x61, 0x79, 0x12, 0x40, 0x0a, 0x1b, 0x65, 0x6e, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x4f, - 0x72, 0x67, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x41, 0x63, 0x63, - 0x65, 0x73, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1b, 0x65, 0x6e, 0x66, 0x6f, 0x72, - 0x63, 0x65, 0x4f, 0x72, 0x67, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, - 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x2c, 0x0a, 0x11, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, - 0x65, 0x57, 0x65, 0x62, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x74, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x08, 0x52, 0x11, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x57, 0x65, 0x62, 0x4b, 0x75, 0x62, - 0x65, 0x63, 0x74, 0x6c, 0x12, 0x2c, 0x0a, 0x11, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x43, - 0x4c, 0x49, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x74, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, - 0x11, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x4c, 0x49, 0x4b, 0x75, 0x62, 0x65, 0x63, - 0x74, 0x6c, 0x32, 0xa7, 0x0f, 0x0a, 0x0a, 0x4b, 0x75, 0x62, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, - 0x67, 0x12, 0x9f, 0x01, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x46, 0x6f, 0x72, 0x43, 0x6c, 0x75, 0x73, - 0x74, 0x65, 0x72, 0x57, 0x65, 0x62, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x2e, - 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x73, 0x65, 0x6e, 0x74, - 0x72, 0x79, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x6f, 0x72, 0x43, 0x6c, 0x75, - 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x70, 0x61, + 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3d, 0x0a, 0x04, 0x6f, 0x70, 0x74, + 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, + 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, + 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x52, 0x04, 0x6f, 0x70, 0x74, 0x73, 0x22, 0xc6, 0x02, 0x0a, 0x1c, 0x47, 0x65, 0x74, + 0x4b, 0x75, 0x62, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, + 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x76, 0x61, 0x6c, + 0x69, 0x64, 0x69, 0x74, 0x79, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x0f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x69, 0x74, 0x79, 0x53, 0x65, 0x63, 0x6f, + 0x6e, 0x64, 0x73, 0x12, 0x2e, 0x0a, 0x12, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x65, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x12, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x68, + 0x65, 0x63, 0x6b, 0x12, 0x2e, 0x0a, 0x12, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x72, 0x69, + 0x76, 0x61, 0x74, 0x65, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x12, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x52, 0x65, + 0x6c, 0x61, 0x79, 0x12, 0x40, 0x0a, 0x1b, 0x65, 0x6e, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x4f, 0x72, + 0x67, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x41, 0x63, 0x63, 0x65, + 0x73, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1b, 0x65, 0x6e, 0x66, 0x6f, 0x72, 0x63, + 0x65, 0x4f, 0x72, 0x67, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x41, + 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x2c, 0x0a, 0x11, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, + 0x57, 0x65, 0x62, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x74, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x11, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x57, 0x65, 0x62, 0x4b, 0x75, 0x62, 0x65, + 0x63, 0x74, 0x6c, 0x12, 0x2c, 0x0a, 0x11, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x4c, + 0x49, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x74, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, + 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x4c, 0x49, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x74, + 0x6c, 0x32, 0xae, 0x0f, 0x0a, 0x11, 0x4b, 0x75, 0x62, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x9f, 0x01, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x46, + 0x6f, 0x72, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x57, 0x65, 0x62, 0x53, 0x65, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, + 0x76, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, + 0x46, 0x6f, 0x72, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x25, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, + 0x48, 0x74, 0x74, 0x70, 0x42, 0x6f, 0x64, 0x79, 0x22, 0x2f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x29, + 0x12, 0x27, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2f, 0x6b, 0x75, 0x62, + 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x77, + 0x65, 0x62, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0xa5, 0x01, 0x0a, 0x1a, 0x47, 0x65, + 0x74, 0x46, 0x6f, 0x72, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x53, 0x79, 0x73, 0x74, 0x65, + 0x6d, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, + 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x72, 0x70, + 0x63, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x6f, 0x72, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, + 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x42, 0x6f, 0x64, 0x79, 0x22, 0x32, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x2c, 0x12, 0x2a, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x65, 0x6e, 0x74, 0x72, + 0x79, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x12, 0xbb, 0x01, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x46, 0x6f, 0x72, 0x55, 0x73, 0x65, 0x72, + 0x12, 0x29, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x73, + 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x6f, 0x72, + 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x42, 0x6f, - 0x64, 0x79, 0x22, 0x2f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x29, 0x12, 0x27, 0x2f, 0x76, 0x32, 0x2f, + 0x64, 0x79, 0x22, 0x5b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x55, 0x12, 0x1a, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, - 0x67, 0x2f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x77, 0x65, 0x62, 0x73, 0x65, 0x73, 0x73, - 0x69, 0x6f, 0x6e, 0x12, 0xa5, 0x01, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x46, 0x6f, 0x72, 0x43, 0x6c, - 0x75, 0x73, 0x74, 0x65, 0x72, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x53, 0x65, 0x73, 0x73, 0x69, - 0x6f, 0x6e, 0x12, 0x2c, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x46, - 0x6f, 0x72, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x25, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, - 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x48, - 0x74, 0x74, 0x70, 0x42, 0x6f, 0x64, 0x79, 0x22, 0x32, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2c, 0x12, - 0x2a, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2f, 0x6b, 0x75, 0x62, 0x65, - 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x79, - 0x73, 0x74, 0x65, 0x6d, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0xbb, 0x01, 0x0a, 0x0a, - 0x47, 0x65, 0x74, 0x46, 0x6f, 0x72, 0x55, 0x73, 0x65, 0x72, 0x12, 0x29, 0x2e, 0x70, 0x61, 0x72, - 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, - 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x6f, 0x72, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, - 0x2e, 0x76, 0x33, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x42, 0x6f, 0x64, 0x79, 0x22, 0x5b, 0x82, 0xd3, - 0xe4, 0x93, 0x02, 0x55, 0x12, 0x1a, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, - 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x75, 0x73, 0x65, 0x72, - 0x5a, 0x37, 0x12, 0x35, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2f, 0x6b, + 0x67, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x5a, 0x37, 0x12, 0x35, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x65, + 0x6e, 0x74, 0x72, 0x79, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, + 0x7b, 0x6f, 0x70, 0x74, 0x73, 0x2e, 0x75, 0x72, 0x6c, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x3d, 0x75, + 0x73, 0x65, 0x72, 0x2f, 0x2a, 0x7d, 0x2f, 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x12, + 0xd8, 0x01, 0x0a, 0x10, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2f, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x65, + 0x76, 0x6f, 0x6b, 0x65, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x52, + 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x61, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x5b, 0x22, + 0x1c, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2f, 0x6b, 0x75, 0x62, 0x65, + 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x3a, 0x01, 0x2a, + 0x5a, 0x38, 0x22, 0x33, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x7b, 0x6f, 0x70, 0x74, 0x73, 0x2e, 0x75, 0x72, 0x6c, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x3d, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x2a, 0x7d, - 0x2f, 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0xd8, 0x01, 0x0a, 0x10, 0x52, 0x65, - 0x76, 0x6f, 0x6b, 0x65, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2f, + 0x2f, 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x3a, 0x01, 0x2a, 0x12, 0xc9, 0x01, 0x0a, 0x16, 0x47, + 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, + 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x33, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x47, + 0x65, 0x74, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x65, 0x74, 0x74, + 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x70, 0x61, 0x72, + 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, + 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x44, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3e, 0x12, 0x3c, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x65, + 0x6e, 0x74, 0x72, 0x79, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, + 0x7b, 0x6f, 0x70, 0x74, 0x73, 0x2e, 0x75, 0x72, 0x6c, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x3d, 0x6f, + 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x2a, 0x7d, 0x2f, 0x73, + 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, 0xb9, 0x01, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x55, 0x73, + 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x33, 0x2e, 0x70, 0x61, 0x72, 0x61, + 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x72, + 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x73, 0x65, 0x6e, - 0x74, 0x72, 0x79, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x4b, 0x75, - 0x62, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x30, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x73, 0x65, - 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x4b, - 0x75, 0x62, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x61, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x5b, 0x22, 0x1c, 0x2f, 0x76, 0x32, 0x2f, 0x73, - 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, - 0x2f, 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x3a, 0x01, 0x2a, 0x5a, 0x38, 0x22, 0x33, 0x2f, 0x76, + 0x74, 0x72, 0x79, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x4b, 0x75, 0x62, 0x65, 0x63, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x36, 0x12, 0x34, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x7b, 0x6f, 0x70, 0x74, 0x73, 0x2e, 0x75, 0x72, 0x6c, 0x53, 0x63, 0x6f, - 0x70, 0x65, 0x3d, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x2a, 0x7d, 0x2f, 0x72, 0x65, 0x76, 0x6f, 0x6b, - 0x65, 0x3a, 0x01, 0x2a, 0x12, 0xc9, 0x01, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, - 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, - 0x33, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x73, 0x65, - 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x4b, 0x75, 0x62, 0x65, - 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, - 0x74, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x65, 0x74, 0x74, 0x69, - 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x44, 0x82, 0xd3, 0xe4, 0x93, - 0x02, 0x3e, 0x12, 0x3c, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2f, 0x6b, - 0x75, 0x62, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x7b, 0x6f, 0x70, 0x74, 0x73, 0x2e, - 0x75, 0x72, 0x6c, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x3d, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x2a, 0x7d, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, - 0x12, 0xb9, 0x01, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, - 0x69, 0x6e, 0x67, 0x12, 0x33, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, - 0x76, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, - 0x4b, 0x75, 0x62, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, - 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, + 0x70, 0x65, 0x3d, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x2a, 0x7d, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, + 0x6e, 0x67, 0x12, 0xbf, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x53, 0x53, 0x4f, 0x55, 0x73, 0x65, + 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x33, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, - 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3c, - 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x36, 0x12, 0x34, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x65, 0x6e, 0x74, + 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, + 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x73, 0x65, 0x6e, 0x74, + 0x72, 0x79, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x3f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x39, 0x12, 0x37, 0x2f, 0x76, 0x32, + 0x2f, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x63, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x2f, 0x7b, 0x6f, 0x70, 0x74, 0x73, 0x2e, 0x75, 0x72, 0x6c, 0x53, 0x63, 0x6f, 0x70, + 0x65, 0x3d, 0x73, 0x73, 0x6f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x2a, 0x7d, 0x2f, 0x73, 0x65, 0x74, + 0x74, 0x69, 0x6e, 0x67, 0x12, 0xd5, 0x01, 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, + 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x74, 0x69, + 0x6e, 0x67, 0x12, 0x36, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x65, 0x74, 0x74, + 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x70, 0x61, 0x72, + 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, + 0x72, 0x70, 0x63, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x47, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x41, 0x1a, 0x3c, 0x2f, 0x76, 0x32, + 0x2f, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x63, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x2f, 0x7b, 0x6f, 0x70, 0x74, 0x73, 0x2e, 0x75, 0x72, 0x6c, 0x53, 0x63, 0x6f, 0x70, + 0x65, 0x3d, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x2a, + 0x7d, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x3a, 0x01, 0x2a, 0x12, 0xc5, 0x01, 0x0a, + 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, + 0x6e, 0x67, 0x12, 0x36, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x65, 0x74, 0x74, + 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x70, 0x61, 0x72, + 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, + 0x72, 0x70, 0x63, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x3f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x39, 0x1a, 0x34, 0x2f, 0x76, 0x32, + 0x2f, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x63, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x2f, 0x7b, 0x6f, 0x70, 0x74, 0x73, 0x2e, 0x75, 0x72, 0x6c, 0x53, 0x63, 0x6f, 0x70, + 0x65, 0x3d, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x2a, 0x7d, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, + 0x67, 0x3a, 0x01, 0x2a, 0x12, 0xcb, 0x01, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, + 0x53, 0x4f, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x36, 0x2e, + 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x73, 0x65, 0x6e, 0x74, + 0x72, 0x79, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4b, 0x75, 0x62, + 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, + 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x42, + 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3c, 0x1a, 0x37, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x7b, 0x6f, - 0x70, 0x74, 0x73, 0x2e, 0x75, 0x72, 0x6c, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x3d, 0x75, 0x73, 0x65, - 0x72, 0x2f, 0x2a, 0x7d, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, 0xbf, 0x01, 0x0a, - 0x11, 0x47, 0x65, 0x74, 0x53, 0x53, 0x4f, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, - 0x6e, 0x67, 0x12, 0x33, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x4b, - 0x75, 0x62, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, - 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x72, 0x70, 0x63, - 0x2e, 0x47, 0x65, 0x74, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x65, - 0x74, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3f, 0x82, - 0xd3, 0xe4, 0x93, 0x02, 0x39, 0x12, 0x37, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x65, 0x6e, 0x74, 0x72, - 0x79, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x7b, 0x6f, 0x70, - 0x74, 0x73, 0x2e, 0x75, 0x72, 0x6c, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x3d, 0x73, 0x73, 0x6f, 0x75, - 0x73, 0x65, 0x72, 0x2f, 0x2a, 0x7d, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, 0xd5, - 0x01, 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x36, 0x2e, 0x70, - 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, - 0x79, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4b, 0x75, 0x62, 0x65, - 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x65, - 0x74, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x47, 0x82, - 0xd3, 0xe4, 0x93, 0x02, 0x41, 0x1a, 0x3c, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x65, 0x6e, 0x74, 0x72, - 0x79, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x7b, 0x6f, 0x70, - 0x74, 0x73, 0x2e, 0x75, 0x72, 0x6c, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x3d, 0x6f, 0x72, 0x67, 0x61, - 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x2a, 0x7d, 0x2f, 0x73, 0x65, 0x74, 0x74, - 0x69, 0x6e, 0x67, 0x3a, 0x01, 0x2a, 0x12, 0xc5, 0x01, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x36, 0x2e, 0x70, - 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, - 0x79, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4b, 0x75, 0x62, 0x65, - 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x65, - 0x74, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3f, 0x82, - 0xd3, 0xe4, 0x93, 0x02, 0x39, 0x1a, 0x34, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x65, 0x6e, 0x74, 0x72, - 0x79, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x7b, 0x6f, 0x70, - 0x74, 0x73, 0x2e, 0x75, 0x72, 0x6c, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x3d, 0x75, 0x73, 0x65, 0x72, - 0x2f, 0x2a, 0x7d, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x3a, 0x01, 0x2a, 0x12, 0xcb, - 0x01, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x53, 0x4f, 0x55, 0x73, 0x65, 0x72, - 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x36, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, - 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x72, 0x70, 0x63, - 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, - 0x67, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x37, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x73, 0x65, - 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4b, - 0x75, 0x62, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x42, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3c, - 0x1a, 0x37, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2f, 0x6b, 0x75, 0x62, - 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x7b, 0x6f, 0x70, 0x74, 0x73, 0x2e, 0x75, 0x72, - 0x6c, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x3d, 0x73, 0x73, 0x6f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x2a, - 0x7d, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x3a, 0x01, 0x2a, 0x42, 0xc2, 0x04, 0x0a, - 0x1a, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x72, 0x70, 0x63, 0x42, 0x0f, 0x4b, 0x75, 0x62, - 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2b, - 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6c, - 0x75, 0x73, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0xa2, 0x02, 0x04, 0x50, 0x44, - 0x53, 0x52, 0xaa, 0x02, 0x16, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x44, 0x65, 0x76, - 0x2e, 0x53, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x52, 0x70, 0x63, 0xca, 0x02, 0x16, 0x50, 0x61, - 0x72, 0x61, 0x6c, 0x75, 0x73, 0x5c, 0x44, 0x65, 0x76, 0x5c, 0x53, 0x65, 0x6e, 0x74, 0x72, 0x79, - 0x5c, 0x52, 0x70, 0x63, 0xe2, 0x02, 0x22, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x5c, 0x44, - 0x65, 0x76, 0x5c, 0x53, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x5c, 0x52, 0x70, 0x63, 0x5c, 0x47, 0x50, - 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x19, 0x50, 0x61, 0x72, 0x61, - 0x6c, 0x75, 0x73, 0x3a, 0x3a, 0x44, 0x65, 0x76, 0x3a, 0x3a, 0x53, 0x65, 0x6e, 0x74, 0x72, 0x79, - 0x3a, 0x3a, 0x52, 0x70, 0x63, 0x92, 0x41, 0xe8, 0x02, 0x12, 0x2f, 0x0a, 0x19, 0x53, 0x65, 0x6e, - 0x74, 0x72, 0x79, 0x20, 0x4b, 0x75, 0x62, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x20, 0x53, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x22, 0x0d, 0x0a, 0x0b, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, - 0x73, 0x20, 0x44, 0x65, 0x76, 0x32, 0x03, 0x32, 0x2e, 0x30, 0x2a, 0x01, 0x02, 0x32, 0x10, 0x61, - 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x32, - 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x79, 0x61, 0x6d, - 0x6c, 0x3a, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, - 0x73, 0x6f, 0x6e, 0x3a, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x2f, 0x79, 0x61, 0x6d, 0x6c, 0x52, 0x50, 0x0a, 0x03, 0x34, 0x30, 0x33, 0x12, 0x49, 0x0a, 0x47, - 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x74, 0x68, - 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x64, 0x6f, 0x65, 0x73, 0x20, 0x6e, 0x6f, 0x74, 0x20, - 0x68, 0x61, 0x76, 0x65, 0x20, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x20, - 0x74, 0x6f, 0x20, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, - 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x52, 0x3b, 0x0a, 0x03, 0x34, 0x30, 0x34, 0x12, 0x34, - 0x0a, 0x2a, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, - 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x20, 0x64, 0x6f, 0x65, - 0x73, 0x20, 0x6e, 0x6f, 0x74, 0x20, 0x65, 0x78, 0x69, 0x73, 0x74, 0x2e, 0x12, 0x06, 0x0a, 0x04, - 0x9a, 0x02, 0x01, 0x07, 0x5a, 0x3a, 0x0a, 0x27, 0x0a, 0x0a, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, - 0x41, 0x75, 0x74, 0x68, 0x12, 0x19, 0x08, 0x02, 0x1a, 0x13, 0x58, 0x2d, 0x50, 0x41, 0x52, 0x41, - 0x4c, 0x55, 0x53, 0x2d, 0x41, 0x50, 0x49, 0x2d, 0x4b, 0x45, 0x59, 0x49, 0x44, 0x20, 0x02, 0x0a, - 0x0f, 0x0a, 0x09, 0x42, 0x61, 0x73, 0x69, 0x63, 0x41, 0x75, 0x74, 0x68, 0x12, 0x02, 0x08, 0x01, - 0x62, 0x1f, 0x0a, 0x0e, 0x0a, 0x0a, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, - 0x12, 0x00, 0x0a, 0x0d, 0x0a, 0x09, 0x42, 0x61, 0x73, 0x69, 0x63, 0x41, 0x75, 0x74, 0x68, 0x12, - 0x00, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x70, 0x74, 0x73, 0x2e, 0x75, 0x72, 0x6c, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x3d, 0x73, 0x73, 0x6f, + 0x75, 0x73, 0x65, 0x72, 0x2f, 0x2a, 0x7d, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x3a, + 0x01, 0x2a, 0x42, 0xc2, 0x04, 0x0a, 0x1a, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, + 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x72, 0x70, + 0x63, 0x42, 0x0f, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x50, 0x72, 0x6f, + 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, + 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, + 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x65, 0x6e, 0x74, 0x72, + 0x79, 0xa2, 0x02, 0x04, 0x50, 0x44, 0x53, 0x52, 0xaa, 0x02, 0x16, 0x50, 0x61, 0x72, 0x61, 0x6c, + 0x75, 0x73, 0x2e, 0x44, 0x65, 0x76, 0x2e, 0x53, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x52, 0x70, + 0x63, 0xca, 0x02, 0x16, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x5c, 0x44, 0x65, 0x76, 0x5c, + 0x53, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x5c, 0x52, 0x70, 0x63, 0xe2, 0x02, 0x22, 0x50, 0x61, 0x72, + 0x61, 0x6c, 0x75, 0x73, 0x5c, 0x44, 0x65, 0x76, 0x5c, 0x53, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x5c, + 0x52, 0x70, 0x63, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, + 0x02, 0x19, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x3a, 0x3a, 0x44, 0x65, 0x76, 0x3a, 0x3a, + 0x53, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x3a, 0x3a, 0x52, 0x70, 0x63, 0x92, 0x41, 0xe8, 0x02, 0x12, + 0x2f, 0x0a, 0x19, 0x53, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x20, 0x4b, 0x75, 0x62, 0x65, 0x43, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x20, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x22, 0x0d, 0x0a, 0x0b, + 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x20, 0x44, 0x65, 0x76, 0x32, 0x03, 0x32, 0x2e, 0x30, + 0x2a, 0x01, 0x02, 0x32, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x32, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x2f, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x79, 0x61, 0x6d, 0x6c, 0x52, 0x50, 0x0a, 0x03, 0x34, + 0x30, 0x33, 0x12, 0x49, 0x0a, 0x47, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, + 0x68, 0x65, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x64, 0x6f, 0x65, + 0x73, 0x20, 0x6e, 0x6f, 0x74, 0x20, 0x68, 0x61, 0x76, 0x65, 0x20, 0x70, 0x65, 0x72, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x20, 0x74, 0x6f, 0x20, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x20, + 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x52, 0x3b, 0x0a, + 0x03, 0x34, 0x30, 0x34, 0x12, 0x34, 0x0a, 0x2a, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, + 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x20, 0x64, 0x6f, 0x65, 0x73, 0x20, 0x6e, 0x6f, 0x74, 0x20, 0x65, 0x78, 0x69, 0x73, + 0x74, 0x2e, 0x12, 0x06, 0x0a, 0x04, 0x9a, 0x02, 0x01, 0x07, 0x5a, 0x3a, 0x0a, 0x27, 0x0a, 0x0a, + 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x12, 0x19, 0x08, 0x02, 0x1a, 0x13, + 0x58, 0x2d, 0x50, 0x41, 0x52, 0x41, 0x4c, 0x55, 0x53, 0x2d, 0x41, 0x50, 0x49, 0x2d, 0x4b, 0x45, + 0x59, 0x49, 0x44, 0x20, 0x02, 0x0a, 0x0f, 0x0a, 0x09, 0x42, 0x61, 0x73, 0x69, 0x63, 0x41, 0x75, + 0x74, 0x68, 0x12, 0x02, 0x08, 0x01, 0x62, 0x1f, 0x0a, 0x0e, 0x0a, 0x0a, 0x41, 0x70, 0x69, 0x4b, + 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x12, 0x00, 0x0a, 0x0d, 0x0a, 0x09, 0x42, 0x61, 0x73, 0x69, + 0x63, 0x41, 0x75, 0x74, 0x68, 0x12, 0x00, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -780,26 +777,26 @@ var file_proto_rpc_sentry_kubeconfig_proto_depIdxs = []int32{ 8, // 2: paralus.dev.sentry.rpc.RevokeKubeconfigRequest.opts:type_name -> paralus.dev.types.common.v3.QueryOptions 8, // 3: paralus.dev.sentry.rpc.UpdateKubeconfigSettingRequest.opts:type_name -> paralus.dev.types.common.v3.QueryOptions 8, // 4: paralus.dev.sentry.rpc.GetKubeconfigSettingRequest.opts:type_name -> paralus.dev.types.common.v3.QueryOptions - 0, // 5: paralus.dev.sentry.rpc.KubeConfig.GetForClusterWebSession:input_type -> paralus.dev.sentry.rpc.GetForClusterRequest - 0, // 6: paralus.dev.sentry.rpc.KubeConfig.GetForClusterSystemSession:input_type -> paralus.dev.sentry.rpc.GetForClusterRequest - 1, // 7: paralus.dev.sentry.rpc.KubeConfig.GetForUser:input_type -> paralus.dev.sentry.rpc.GetForUserRequest - 2, // 8: paralus.dev.sentry.rpc.KubeConfig.RevokeKubeconfig:input_type -> paralus.dev.sentry.rpc.RevokeKubeconfigRequest - 6, // 9: paralus.dev.sentry.rpc.KubeConfig.GetOrganizationSetting:input_type -> paralus.dev.sentry.rpc.GetKubeconfigSettingRequest - 6, // 10: paralus.dev.sentry.rpc.KubeConfig.GetUserSetting:input_type -> paralus.dev.sentry.rpc.GetKubeconfigSettingRequest - 6, // 11: paralus.dev.sentry.rpc.KubeConfig.GetSSOUserSetting:input_type -> paralus.dev.sentry.rpc.GetKubeconfigSettingRequest - 4, // 12: paralus.dev.sentry.rpc.KubeConfig.UpdateOrganizationSetting:input_type -> paralus.dev.sentry.rpc.UpdateKubeconfigSettingRequest - 4, // 13: paralus.dev.sentry.rpc.KubeConfig.UpdateUserSetting:input_type -> paralus.dev.sentry.rpc.UpdateKubeconfigSettingRequest - 4, // 14: paralus.dev.sentry.rpc.KubeConfig.UpdateSSOUserSetting:input_type -> paralus.dev.sentry.rpc.UpdateKubeconfigSettingRequest - 9, // 15: paralus.dev.sentry.rpc.KubeConfig.GetForClusterWebSession:output_type -> paralus.dev.types.common.v3.HttpBody - 9, // 16: paralus.dev.sentry.rpc.KubeConfig.GetForClusterSystemSession:output_type -> paralus.dev.types.common.v3.HttpBody - 9, // 17: paralus.dev.sentry.rpc.KubeConfig.GetForUser:output_type -> paralus.dev.types.common.v3.HttpBody - 3, // 18: paralus.dev.sentry.rpc.KubeConfig.RevokeKubeconfig:output_type -> paralus.dev.sentry.rpc.RevokeKubeconfigResponse - 7, // 19: paralus.dev.sentry.rpc.KubeConfig.GetOrganizationSetting:output_type -> paralus.dev.sentry.rpc.GetKubeconfigSettingResponse - 7, // 20: paralus.dev.sentry.rpc.KubeConfig.GetUserSetting:output_type -> paralus.dev.sentry.rpc.GetKubeconfigSettingResponse - 7, // 21: paralus.dev.sentry.rpc.KubeConfig.GetSSOUserSetting:output_type -> paralus.dev.sentry.rpc.GetKubeconfigSettingResponse - 5, // 22: paralus.dev.sentry.rpc.KubeConfig.UpdateOrganizationSetting:output_type -> paralus.dev.sentry.rpc.UpdateKubeconfigSettingResponse - 5, // 23: paralus.dev.sentry.rpc.KubeConfig.UpdateUserSetting:output_type -> paralus.dev.sentry.rpc.UpdateKubeconfigSettingResponse - 5, // 24: paralus.dev.sentry.rpc.KubeConfig.UpdateSSOUserSetting:output_type -> paralus.dev.sentry.rpc.UpdateKubeconfigSettingResponse + 0, // 5: paralus.dev.sentry.rpc.KubeConfigService.GetForClusterWebSession:input_type -> paralus.dev.sentry.rpc.GetForClusterRequest + 0, // 6: paralus.dev.sentry.rpc.KubeConfigService.GetForClusterSystemSession:input_type -> paralus.dev.sentry.rpc.GetForClusterRequest + 1, // 7: paralus.dev.sentry.rpc.KubeConfigService.GetForUser:input_type -> paralus.dev.sentry.rpc.GetForUserRequest + 2, // 8: paralus.dev.sentry.rpc.KubeConfigService.RevokeKubeconfig:input_type -> paralus.dev.sentry.rpc.RevokeKubeconfigRequest + 6, // 9: paralus.dev.sentry.rpc.KubeConfigService.GetOrganizationSetting:input_type -> paralus.dev.sentry.rpc.GetKubeconfigSettingRequest + 6, // 10: paralus.dev.sentry.rpc.KubeConfigService.GetUserSetting:input_type -> paralus.dev.sentry.rpc.GetKubeconfigSettingRequest + 6, // 11: paralus.dev.sentry.rpc.KubeConfigService.GetSSOUserSetting:input_type -> paralus.dev.sentry.rpc.GetKubeconfigSettingRequest + 4, // 12: paralus.dev.sentry.rpc.KubeConfigService.UpdateOrganizationSetting:input_type -> paralus.dev.sentry.rpc.UpdateKubeconfigSettingRequest + 4, // 13: paralus.dev.sentry.rpc.KubeConfigService.UpdateUserSetting:input_type -> paralus.dev.sentry.rpc.UpdateKubeconfigSettingRequest + 4, // 14: paralus.dev.sentry.rpc.KubeConfigService.UpdateSSOUserSetting:input_type -> paralus.dev.sentry.rpc.UpdateKubeconfigSettingRequest + 9, // 15: paralus.dev.sentry.rpc.KubeConfigService.GetForClusterWebSession:output_type -> paralus.dev.types.common.v3.HttpBody + 9, // 16: paralus.dev.sentry.rpc.KubeConfigService.GetForClusterSystemSession:output_type -> paralus.dev.types.common.v3.HttpBody + 9, // 17: paralus.dev.sentry.rpc.KubeConfigService.GetForUser:output_type -> paralus.dev.types.common.v3.HttpBody + 3, // 18: paralus.dev.sentry.rpc.KubeConfigService.RevokeKubeconfig:output_type -> paralus.dev.sentry.rpc.RevokeKubeconfigResponse + 7, // 19: paralus.dev.sentry.rpc.KubeConfigService.GetOrganizationSetting:output_type -> paralus.dev.sentry.rpc.GetKubeconfigSettingResponse + 7, // 20: paralus.dev.sentry.rpc.KubeConfigService.GetUserSetting:output_type -> paralus.dev.sentry.rpc.GetKubeconfigSettingResponse + 7, // 21: paralus.dev.sentry.rpc.KubeConfigService.GetSSOUserSetting:output_type -> paralus.dev.sentry.rpc.GetKubeconfigSettingResponse + 5, // 22: paralus.dev.sentry.rpc.KubeConfigService.UpdateOrganizationSetting:output_type -> paralus.dev.sentry.rpc.UpdateKubeconfigSettingResponse + 5, // 23: paralus.dev.sentry.rpc.KubeConfigService.UpdateUserSetting:output_type -> paralus.dev.sentry.rpc.UpdateKubeconfigSettingResponse + 5, // 24: paralus.dev.sentry.rpc.KubeConfigService.UpdateSSOUserSetting:output_type -> paralus.dev.sentry.rpc.UpdateKubeconfigSettingResponse 15, // [15:25] is the sub-list for method output_type 5, // [5:15] is the sub-list for method input_type 5, // [5:5] is the sub-list for extension type_name diff --git a/proto/rpc/sentry/kubeconfig.pb.gw.go b/proto/rpc/sentry/kubeconfig.pb.gw.go index 63a4657d..2a47a2b3 100644 --- a/proto/rpc/sentry/kubeconfig.pb.gw.go +++ b/proto/rpc/sentry/kubeconfig.pb.gw.go @@ -32,17 +32,17 @@ var _ = utilities.NewDoubleArray var _ = metadata.Join var ( - filter_KubeConfig_GetForClusterWebSession_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} + filter_KubeConfigService_GetForClusterWebSession_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} ) -func request_KubeConfig_GetForClusterWebSession_0(ctx context.Context, marshaler runtime.Marshaler, client KubeConfigClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_KubeConfigService_GetForClusterWebSession_0(ctx context.Context, marshaler runtime.Marshaler, client KubeConfigServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq GetForClusterRequest var metadata runtime.ServerMetadata if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_KubeConfig_GetForClusterWebSession_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_KubeConfigService_GetForClusterWebSession_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -51,14 +51,14 @@ func request_KubeConfig_GetForClusterWebSession_0(ctx context.Context, marshaler } -func local_request_KubeConfig_GetForClusterWebSession_0(ctx context.Context, marshaler runtime.Marshaler, server KubeConfigServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_KubeConfigService_GetForClusterWebSession_0(ctx context.Context, marshaler runtime.Marshaler, server KubeConfigServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq GetForClusterRequest var metadata runtime.ServerMetadata if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_KubeConfig_GetForClusterWebSession_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_KubeConfigService_GetForClusterWebSession_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -68,17 +68,17 @@ func local_request_KubeConfig_GetForClusterWebSession_0(ctx context.Context, mar } var ( - filter_KubeConfig_GetForClusterSystemSession_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} + filter_KubeConfigService_GetForClusterSystemSession_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} ) -func request_KubeConfig_GetForClusterSystemSession_0(ctx context.Context, marshaler runtime.Marshaler, client KubeConfigClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_KubeConfigService_GetForClusterSystemSession_0(ctx context.Context, marshaler runtime.Marshaler, client KubeConfigServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq GetForClusterRequest var metadata runtime.ServerMetadata if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_KubeConfig_GetForClusterSystemSession_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_KubeConfigService_GetForClusterSystemSession_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -87,14 +87,14 @@ func request_KubeConfig_GetForClusterSystemSession_0(ctx context.Context, marsha } -func local_request_KubeConfig_GetForClusterSystemSession_0(ctx context.Context, marshaler runtime.Marshaler, server KubeConfigServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_KubeConfigService_GetForClusterSystemSession_0(ctx context.Context, marshaler runtime.Marshaler, server KubeConfigServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq GetForClusterRequest var metadata runtime.ServerMetadata if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_KubeConfig_GetForClusterSystemSession_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_KubeConfigService_GetForClusterSystemSession_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -104,17 +104,17 @@ func local_request_KubeConfig_GetForClusterSystemSession_0(ctx context.Context, } var ( - filter_KubeConfig_GetForUser_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} + filter_KubeConfigService_GetForUser_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} ) -func request_KubeConfig_GetForUser_0(ctx context.Context, marshaler runtime.Marshaler, client KubeConfigClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_KubeConfigService_GetForUser_0(ctx context.Context, marshaler runtime.Marshaler, client KubeConfigServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq GetForUserRequest var metadata runtime.ServerMetadata if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_KubeConfig_GetForUser_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_KubeConfigService_GetForUser_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -123,14 +123,14 @@ func request_KubeConfig_GetForUser_0(ctx context.Context, marshaler runtime.Mars } -func local_request_KubeConfig_GetForUser_0(ctx context.Context, marshaler runtime.Marshaler, server KubeConfigServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_KubeConfigService_GetForUser_0(ctx context.Context, marshaler runtime.Marshaler, server KubeConfigServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq GetForUserRequest var metadata runtime.ServerMetadata if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_KubeConfig_GetForUser_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_KubeConfigService_GetForUser_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -140,10 +140,10 @@ func local_request_KubeConfig_GetForUser_0(ctx context.Context, marshaler runtim } var ( - filter_KubeConfig_GetForUser_1 = &utilities.DoubleArray{Encoding: map[string]int{"opts": 0, "urlScope": 1}, Base: []int{1, 1, 1, 0}, Check: []int{0, 1, 2, 3}} + filter_KubeConfigService_GetForUser_1 = &utilities.DoubleArray{Encoding: map[string]int{"opts": 0, "urlScope": 1}, Base: []int{1, 1, 1, 0}, Check: []int{0, 1, 2, 3}} ) -func request_KubeConfig_GetForUser_1(ctx context.Context, marshaler runtime.Marshaler, client KubeConfigClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_KubeConfigService_GetForUser_1(ctx context.Context, marshaler runtime.Marshaler, client KubeConfigServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq GetForUserRequest var metadata runtime.ServerMetadata @@ -167,7 +167,7 @@ func request_KubeConfig_GetForUser_1(ctx context.Context, marshaler runtime.Mars if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_KubeConfig_GetForUser_1); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_KubeConfigService_GetForUser_1); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -176,7 +176,7 @@ func request_KubeConfig_GetForUser_1(ctx context.Context, marshaler runtime.Mars } -func local_request_KubeConfig_GetForUser_1(ctx context.Context, marshaler runtime.Marshaler, server KubeConfigServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_KubeConfigService_GetForUser_1(ctx context.Context, marshaler runtime.Marshaler, server KubeConfigServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq GetForUserRequest var metadata runtime.ServerMetadata @@ -200,7 +200,7 @@ func local_request_KubeConfig_GetForUser_1(ctx context.Context, marshaler runtim if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_KubeConfig_GetForUser_1); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_KubeConfigService_GetForUser_1); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -209,7 +209,7 @@ func local_request_KubeConfig_GetForUser_1(ctx context.Context, marshaler runtim } -func request_KubeConfig_RevokeKubeconfig_0(ctx context.Context, marshaler runtime.Marshaler, client KubeConfigClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_KubeConfigService_RevokeKubeconfig_0(ctx context.Context, marshaler runtime.Marshaler, client KubeConfigServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq RevokeKubeconfigRequest var metadata runtime.ServerMetadata @@ -226,7 +226,7 @@ func request_KubeConfig_RevokeKubeconfig_0(ctx context.Context, marshaler runtim } -func local_request_KubeConfig_RevokeKubeconfig_0(ctx context.Context, marshaler runtime.Marshaler, server KubeConfigServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_KubeConfigService_RevokeKubeconfig_0(ctx context.Context, marshaler runtime.Marshaler, server KubeConfigServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq RevokeKubeconfigRequest var metadata runtime.ServerMetadata @@ -243,7 +243,7 @@ func local_request_KubeConfig_RevokeKubeconfig_0(ctx context.Context, marshaler } -func request_KubeConfig_RevokeKubeconfig_1(ctx context.Context, marshaler runtime.Marshaler, client KubeConfigClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_KubeConfigService_RevokeKubeconfig_1(ctx context.Context, marshaler runtime.Marshaler, client KubeConfigServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq RevokeKubeconfigRequest var metadata runtime.ServerMetadata @@ -277,7 +277,7 @@ func request_KubeConfig_RevokeKubeconfig_1(ctx context.Context, marshaler runtim } -func local_request_KubeConfig_RevokeKubeconfig_1(ctx context.Context, marshaler runtime.Marshaler, server KubeConfigServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_KubeConfigService_RevokeKubeconfig_1(ctx context.Context, marshaler runtime.Marshaler, server KubeConfigServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq RevokeKubeconfigRequest var metadata runtime.ServerMetadata @@ -312,10 +312,10 @@ func local_request_KubeConfig_RevokeKubeconfig_1(ctx context.Context, marshaler } var ( - filter_KubeConfig_GetOrganizationSetting_0 = &utilities.DoubleArray{Encoding: map[string]int{"opts": 0, "urlScope": 1}, Base: []int{1, 1, 1, 0}, Check: []int{0, 1, 2, 3}} + filter_KubeConfigService_GetOrganizationSetting_0 = &utilities.DoubleArray{Encoding: map[string]int{"opts": 0, "urlScope": 1}, Base: []int{1, 1, 1, 0}, Check: []int{0, 1, 2, 3}} ) -func request_KubeConfig_GetOrganizationSetting_0(ctx context.Context, marshaler runtime.Marshaler, client KubeConfigClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_KubeConfigService_GetOrganizationSetting_0(ctx context.Context, marshaler runtime.Marshaler, client KubeConfigServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq GetKubeconfigSettingRequest var metadata runtime.ServerMetadata @@ -339,7 +339,7 @@ func request_KubeConfig_GetOrganizationSetting_0(ctx context.Context, marshaler if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_KubeConfig_GetOrganizationSetting_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_KubeConfigService_GetOrganizationSetting_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -348,7 +348,7 @@ func request_KubeConfig_GetOrganizationSetting_0(ctx context.Context, marshaler } -func local_request_KubeConfig_GetOrganizationSetting_0(ctx context.Context, marshaler runtime.Marshaler, server KubeConfigServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_KubeConfigService_GetOrganizationSetting_0(ctx context.Context, marshaler runtime.Marshaler, server KubeConfigServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq GetKubeconfigSettingRequest var metadata runtime.ServerMetadata @@ -372,7 +372,7 @@ func local_request_KubeConfig_GetOrganizationSetting_0(ctx context.Context, mars if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_KubeConfig_GetOrganizationSetting_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_KubeConfigService_GetOrganizationSetting_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -382,10 +382,10 @@ func local_request_KubeConfig_GetOrganizationSetting_0(ctx context.Context, mars } var ( - filter_KubeConfig_GetUserSetting_0 = &utilities.DoubleArray{Encoding: map[string]int{"opts": 0, "urlScope": 1}, Base: []int{1, 1, 1, 0}, Check: []int{0, 1, 2, 3}} + filter_KubeConfigService_GetUserSetting_0 = &utilities.DoubleArray{Encoding: map[string]int{"opts": 0, "urlScope": 1}, Base: []int{1, 1, 1, 0}, Check: []int{0, 1, 2, 3}} ) -func request_KubeConfig_GetUserSetting_0(ctx context.Context, marshaler runtime.Marshaler, client KubeConfigClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_KubeConfigService_GetUserSetting_0(ctx context.Context, marshaler runtime.Marshaler, client KubeConfigServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq GetKubeconfigSettingRequest var metadata runtime.ServerMetadata @@ -409,7 +409,7 @@ func request_KubeConfig_GetUserSetting_0(ctx context.Context, marshaler runtime. if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_KubeConfig_GetUserSetting_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_KubeConfigService_GetUserSetting_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -418,7 +418,7 @@ func request_KubeConfig_GetUserSetting_0(ctx context.Context, marshaler runtime. } -func local_request_KubeConfig_GetUserSetting_0(ctx context.Context, marshaler runtime.Marshaler, server KubeConfigServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_KubeConfigService_GetUserSetting_0(ctx context.Context, marshaler runtime.Marshaler, server KubeConfigServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq GetKubeconfigSettingRequest var metadata runtime.ServerMetadata @@ -442,7 +442,7 @@ func local_request_KubeConfig_GetUserSetting_0(ctx context.Context, marshaler ru if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_KubeConfig_GetUserSetting_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_KubeConfigService_GetUserSetting_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -452,10 +452,10 @@ func local_request_KubeConfig_GetUserSetting_0(ctx context.Context, marshaler ru } var ( - filter_KubeConfig_GetSSOUserSetting_0 = &utilities.DoubleArray{Encoding: map[string]int{"opts": 0, "urlScope": 1}, Base: []int{1, 1, 1, 0}, Check: []int{0, 1, 2, 3}} + filter_KubeConfigService_GetSSOUserSetting_0 = &utilities.DoubleArray{Encoding: map[string]int{"opts": 0, "urlScope": 1}, Base: []int{1, 1, 1, 0}, Check: []int{0, 1, 2, 3}} ) -func request_KubeConfig_GetSSOUserSetting_0(ctx context.Context, marshaler runtime.Marshaler, client KubeConfigClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_KubeConfigService_GetSSOUserSetting_0(ctx context.Context, marshaler runtime.Marshaler, client KubeConfigServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq GetKubeconfigSettingRequest var metadata runtime.ServerMetadata @@ -479,7 +479,7 @@ func request_KubeConfig_GetSSOUserSetting_0(ctx context.Context, marshaler runti if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_KubeConfig_GetSSOUserSetting_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_KubeConfigService_GetSSOUserSetting_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -488,7 +488,7 @@ func request_KubeConfig_GetSSOUserSetting_0(ctx context.Context, marshaler runti } -func local_request_KubeConfig_GetSSOUserSetting_0(ctx context.Context, marshaler runtime.Marshaler, server KubeConfigServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_KubeConfigService_GetSSOUserSetting_0(ctx context.Context, marshaler runtime.Marshaler, server KubeConfigServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq GetKubeconfigSettingRequest var metadata runtime.ServerMetadata @@ -512,7 +512,7 @@ func local_request_KubeConfig_GetSSOUserSetting_0(ctx context.Context, marshaler if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_KubeConfig_GetSSOUserSetting_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_KubeConfigService_GetSSOUserSetting_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -521,7 +521,7 @@ func local_request_KubeConfig_GetSSOUserSetting_0(ctx context.Context, marshaler } -func request_KubeConfig_UpdateOrganizationSetting_0(ctx context.Context, marshaler runtime.Marshaler, client KubeConfigClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_KubeConfigService_UpdateOrganizationSetting_0(ctx context.Context, marshaler runtime.Marshaler, client KubeConfigServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq UpdateKubeconfigSettingRequest var metadata runtime.ServerMetadata @@ -555,7 +555,7 @@ func request_KubeConfig_UpdateOrganizationSetting_0(ctx context.Context, marshal } -func local_request_KubeConfig_UpdateOrganizationSetting_0(ctx context.Context, marshaler runtime.Marshaler, server KubeConfigServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_KubeConfigService_UpdateOrganizationSetting_0(ctx context.Context, marshaler runtime.Marshaler, server KubeConfigServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq UpdateKubeconfigSettingRequest var metadata runtime.ServerMetadata @@ -589,7 +589,7 @@ func local_request_KubeConfig_UpdateOrganizationSetting_0(ctx context.Context, m } -func request_KubeConfig_UpdateUserSetting_0(ctx context.Context, marshaler runtime.Marshaler, client KubeConfigClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_KubeConfigService_UpdateUserSetting_0(ctx context.Context, marshaler runtime.Marshaler, client KubeConfigServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq UpdateKubeconfigSettingRequest var metadata runtime.ServerMetadata @@ -623,7 +623,7 @@ func request_KubeConfig_UpdateUserSetting_0(ctx context.Context, marshaler runti } -func local_request_KubeConfig_UpdateUserSetting_0(ctx context.Context, marshaler runtime.Marshaler, server KubeConfigServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_KubeConfigService_UpdateUserSetting_0(ctx context.Context, marshaler runtime.Marshaler, server KubeConfigServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq UpdateKubeconfigSettingRequest var metadata runtime.ServerMetadata @@ -657,7 +657,7 @@ func local_request_KubeConfig_UpdateUserSetting_0(ctx context.Context, marshaler } -func request_KubeConfig_UpdateSSOUserSetting_0(ctx context.Context, marshaler runtime.Marshaler, client KubeConfigClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_KubeConfigService_UpdateSSOUserSetting_0(ctx context.Context, marshaler runtime.Marshaler, client KubeConfigServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq UpdateKubeconfigSettingRequest var metadata runtime.ServerMetadata @@ -691,7 +691,7 @@ func request_KubeConfig_UpdateSSOUserSetting_0(ctx context.Context, marshaler ru } -func local_request_KubeConfig_UpdateSSOUserSetting_0(ctx context.Context, marshaler runtime.Marshaler, server KubeConfigServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_KubeConfigService_UpdateSSOUserSetting_0(ctx context.Context, marshaler runtime.Marshaler, server KubeConfigServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq UpdateKubeconfigSettingRequest var metadata runtime.ServerMetadata @@ -725,294 +725,318 @@ func local_request_KubeConfig_UpdateSSOUserSetting_0(ctx context.Context, marsha } -// RegisterKubeConfigHandlerServer registers the http handlers for service KubeConfig to "mux". -// UnaryRPC :call KubeConfigServer directly. +// RegisterKubeConfigServiceHandlerServer registers the http handlers for service KubeConfigService to "mux". +// UnaryRPC :call KubeConfigServiceServer directly. // StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. -// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterKubeConfigHandlerFromEndpoint instead. -func RegisterKubeConfigHandlerServer(ctx context.Context, mux *runtime.ServeMux, server KubeConfigServer) error { +// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterKubeConfigServiceHandlerFromEndpoint instead. +func RegisterKubeConfigServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server KubeConfigServiceServer) error { - mux.Handle("GET", pattern_KubeConfig_GetForClusterWebSession_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_KubeConfigService_GetForClusterWebSession_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.sentry.rpc.KubeConfig/GetForClusterWebSession", runtime.WithHTTPPathPattern("/v2/sentry/kubeconfig/clusterwebsession")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.sentry.rpc.KubeConfigService/GetForClusterWebSession", runtime.WithHTTPPathPattern("/v2/sentry/kubeconfig/clusterwebsession")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_KubeConfig_GetForClusterWebSession_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_KubeConfigService_GetForClusterWebSession_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_KubeConfig_GetForClusterWebSession_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_KubeConfigService_GetForClusterWebSession_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_KubeConfig_GetForClusterSystemSession_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_KubeConfigService_GetForClusterSystemSession_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.sentry.rpc.KubeConfig/GetForClusterSystemSession", runtime.WithHTTPPathPattern("/v2/sentry/kubeconfig/clustersystemsession")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.sentry.rpc.KubeConfigService/GetForClusterSystemSession", runtime.WithHTTPPathPattern("/v2/sentry/kubeconfig/clustersystemsession")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_KubeConfig_GetForClusterSystemSession_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_KubeConfigService_GetForClusterSystemSession_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_KubeConfig_GetForClusterSystemSession_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_KubeConfigService_GetForClusterSystemSession_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_KubeConfig_GetForUser_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_KubeConfigService_GetForUser_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.sentry.rpc.KubeConfig/GetForUser", runtime.WithHTTPPathPattern("/v2/sentry/kubeconfig/user")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.sentry.rpc.KubeConfigService/GetForUser", runtime.WithHTTPPathPattern("/v2/sentry/kubeconfig/user")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_KubeConfig_GetForUser_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_KubeConfigService_GetForUser_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_KubeConfig_GetForUser_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_KubeConfigService_GetForUser_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_KubeConfig_GetForUser_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_KubeConfigService_GetForUser_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.sentry.rpc.KubeConfig/GetForUser", runtime.WithHTTPPathPattern("/v2/sentry/kubeconfig/{opts.urlScope=user/*}/download")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.sentry.rpc.KubeConfigService/GetForUser", runtime.WithHTTPPathPattern("/v2/sentry/kubeconfig/{opts.urlScope=user/*}/download")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_KubeConfig_GetForUser_1(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_KubeConfigService_GetForUser_1(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_KubeConfig_GetForUser_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_KubeConfigService_GetForUser_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("POST", pattern_KubeConfig_RevokeKubeconfig_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("POST", pattern_KubeConfigService_RevokeKubeconfig_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.sentry.rpc.KubeConfig/RevokeKubeconfig", runtime.WithHTTPPathPattern("/v2/sentry/kubeconfig/revoke")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.sentry.rpc.KubeConfigService/RevokeKubeconfig", runtime.WithHTTPPathPattern("/v2/sentry/kubeconfig/revoke")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_KubeConfig_RevokeKubeconfig_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_KubeConfigService_RevokeKubeconfig_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_KubeConfig_RevokeKubeconfig_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_KubeConfigService_RevokeKubeconfig_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("POST", pattern_KubeConfig_RevokeKubeconfig_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("POST", pattern_KubeConfigService_RevokeKubeconfig_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.sentry.rpc.KubeConfig/RevokeKubeconfig", runtime.WithHTTPPathPattern("/v2/sentry/kubeconfig/{opts.urlScope=user/*}/revoke")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.sentry.rpc.KubeConfigService/RevokeKubeconfig", runtime.WithHTTPPathPattern("/v2/sentry/kubeconfig/{opts.urlScope=user/*}/revoke")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_KubeConfig_RevokeKubeconfig_1(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_KubeConfigService_RevokeKubeconfig_1(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_KubeConfig_RevokeKubeconfig_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_KubeConfigService_RevokeKubeconfig_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_KubeConfig_GetOrganizationSetting_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_KubeConfigService_GetOrganizationSetting_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.sentry.rpc.KubeConfig/GetOrganizationSetting", runtime.WithHTTPPathPattern("/v2/sentry/kubeconfig/{opts.urlScope=organization/*}/setting")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.sentry.rpc.KubeConfigService/GetOrganizationSetting", runtime.WithHTTPPathPattern("/v2/sentry/kubeconfig/{opts.urlScope=organization/*}/setting")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_KubeConfig_GetOrganizationSetting_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_KubeConfigService_GetOrganizationSetting_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_KubeConfig_GetOrganizationSetting_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_KubeConfigService_GetOrganizationSetting_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_KubeConfig_GetUserSetting_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_KubeConfigService_GetUserSetting_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.sentry.rpc.KubeConfig/GetUserSetting", runtime.WithHTTPPathPattern("/v2/sentry/kubeconfig/{opts.urlScope=user/*}/setting")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.sentry.rpc.KubeConfigService/GetUserSetting", runtime.WithHTTPPathPattern("/v2/sentry/kubeconfig/{opts.urlScope=user/*}/setting")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_KubeConfig_GetUserSetting_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_KubeConfigService_GetUserSetting_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_KubeConfig_GetUserSetting_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_KubeConfigService_GetUserSetting_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_KubeConfig_GetSSOUserSetting_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_KubeConfigService_GetSSOUserSetting_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.sentry.rpc.KubeConfig/GetSSOUserSetting", runtime.WithHTTPPathPattern("/v2/sentry/kubeconfig/{opts.urlScope=ssouser/*}/setting")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.sentry.rpc.KubeConfigService/GetSSOUserSetting", runtime.WithHTTPPathPattern("/v2/sentry/kubeconfig/{opts.urlScope=ssouser/*}/setting")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_KubeConfig_GetSSOUserSetting_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_KubeConfigService_GetSSOUserSetting_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_KubeConfig_GetSSOUserSetting_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_KubeConfigService_GetSSOUserSetting_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("PUT", pattern_KubeConfig_UpdateOrganizationSetting_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("PUT", pattern_KubeConfigService_UpdateOrganizationSetting_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.sentry.rpc.KubeConfig/UpdateOrganizationSetting", runtime.WithHTTPPathPattern("/v2/sentry/kubeconfig/{opts.urlScope=organization/*}/setting")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.sentry.rpc.KubeConfigService/UpdateOrganizationSetting", runtime.WithHTTPPathPattern("/v2/sentry/kubeconfig/{opts.urlScope=organization/*}/setting")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_KubeConfig_UpdateOrganizationSetting_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_KubeConfigService_UpdateOrganizationSetting_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_KubeConfig_UpdateOrganizationSetting_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_KubeConfigService_UpdateOrganizationSetting_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("PUT", pattern_KubeConfig_UpdateUserSetting_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("PUT", pattern_KubeConfigService_UpdateUserSetting_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.sentry.rpc.KubeConfig/UpdateUserSetting", runtime.WithHTTPPathPattern("/v2/sentry/kubeconfig/{opts.urlScope=user/*}/setting")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.sentry.rpc.KubeConfigService/UpdateUserSetting", runtime.WithHTTPPathPattern("/v2/sentry/kubeconfig/{opts.urlScope=user/*}/setting")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_KubeConfig_UpdateUserSetting_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_KubeConfigService_UpdateUserSetting_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_KubeConfig_UpdateUserSetting_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_KubeConfigService_UpdateUserSetting_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("PUT", pattern_KubeConfig_UpdateSSOUserSetting_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("PUT", pattern_KubeConfigService_UpdateSSOUserSetting_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.sentry.rpc.KubeConfig/UpdateSSOUserSetting", runtime.WithHTTPPathPattern("/v2/sentry/kubeconfig/{opts.urlScope=ssouser/*}/setting")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.sentry.rpc.KubeConfigService/UpdateSSOUserSetting", runtime.WithHTTPPathPattern("/v2/sentry/kubeconfig/{opts.urlScope=ssouser/*}/setting")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_KubeConfig_UpdateSSOUserSetting_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_KubeConfigService_UpdateSSOUserSetting_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_KubeConfig_UpdateSSOUserSetting_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_KubeConfigService_UpdateSSOUserSetting_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) return nil } -// RegisterKubeConfigHandlerFromEndpoint is same as RegisterKubeConfigHandler but +// RegisterKubeConfigServiceHandlerFromEndpoint is same as RegisterKubeConfigServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. -func RegisterKubeConfigHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { +func RegisterKubeConfigServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { conn, err := grpc.Dial(endpoint, opts...) if err != nil { return err @@ -1032,259 +1056,283 @@ func RegisterKubeConfigHandlerFromEndpoint(ctx context.Context, mux *runtime.Ser }() }() - return RegisterKubeConfigHandler(ctx, mux, conn) + return RegisterKubeConfigServiceHandler(ctx, mux, conn) } -// RegisterKubeConfigHandler registers the http handlers for service KubeConfig to "mux". +// RegisterKubeConfigServiceHandler registers the http handlers for service KubeConfigService to "mux". // The handlers forward requests to the grpc endpoint over "conn". -func RegisterKubeConfigHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { - return RegisterKubeConfigHandlerClient(ctx, mux, NewKubeConfigClient(conn)) +func RegisterKubeConfigServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { + return RegisterKubeConfigServiceHandlerClient(ctx, mux, NewKubeConfigServiceClient(conn)) } -// RegisterKubeConfigHandlerClient registers the http handlers for service KubeConfig -// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "KubeConfigClient". -// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "KubeConfigClient" +// RegisterKubeConfigServiceHandlerClient registers the http handlers for service KubeConfigService +// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "KubeConfigServiceClient". +// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "KubeConfigServiceClient" // doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in -// "KubeConfigClient" to call the correct interceptors. -func RegisterKubeConfigHandlerClient(ctx context.Context, mux *runtime.ServeMux, client KubeConfigClient) error { +// "KubeConfigServiceClient" to call the correct interceptors. +func RegisterKubeConfigServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client KubeConfigServiceClient) error { - mux.Handle("GET", pattern_KubeConfig_GetForClusterWebSession_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_KubeConfigService_GetForClusterWebSession_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.sentry.rpc.KubeConfig/GetForClusterWebSession", runtime.WithHTTPPathPattern("/v2/sentry/kubeconfig/clusterwebsession")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.sentry.rpc.KubeConfigService/GetForClusterWebSession", runtime.WithHTTPPathPattern("/v2/sentry/kubeconfig/clusterwebsession")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_KubeConfig_GetForClusterWebSession_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_KubeConfigService_GetForClusterWebSession_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_KubeConfig_GetForClusterWebSession_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_KubeConfigService_GetForClusterWebSession_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_KubeConfig_GetForClusterSystemSession_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_KubeConfigService_GetForClusterSystemSession_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.sentry.rpc.KubeConfig/GetForClusterSystemSession", runtime.WithHTTPPathPattern("/v2/sentry/kubeconfig/clustersystemsession")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.sentry.rpc.KubeConfigService/GetForClusterSystemSession", runtime.WithHTTPPathPattern("/v2/sentry/kubeconfig/clustersystemsession")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_KubeConfig_GetForClusterSystemSession_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_KubeConfigService_GetForClusterSystemSession_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_KubeConfig_GetForClusterSystemSession_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_KubeConfigService_GetForClusterSystemSession_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_KubeConfig_GetForUser_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_KubeConfigService_GetForUser_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.sentry.rpc.KubeConfig/GetForUser", runtime.WithHTTPPathPattern("/v2/sentry/kubeconfig/user")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.sentry.rpc.KubeConfigService/GetForUser", runtime.WithHTTPPathPattern("/v2/sentry/kubeconfig/user")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_KubeConfig_GetForUser_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_KubeConfigService_GetForUser_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_KubeConfig_GetForUser_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_KubeConfigService_GetForUser_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_KubeConfig_GetForUser_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_KubeConfigService_GetForUser_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.sentry.rpc.KubeConfig/GetForUser", runtime.WithHTTPPathPattern("/v2/sentry/kubeconfig/{opts.urlScope=user/*}/download")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.sentry.rpc.KubeConfigService/GetForUser", runtime.WithHTTPPathPattern("/v2/sentry/kubeconfig/{opts.urlScope=user/*}/download")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_KubeConfig_GetForUser_1(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_KubeConfigService_GetForUser_1(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_KubeConfig_GetForUser_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_KubeConfigService_GetForUser_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("POST", pattern_KubeConfig_RevokeKubeconfig_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("POST", pattern_KubeConfigService_RevokeKubeconfig_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.sentry.rpc.KubeConfig/RevokeKubeconfig", runtime.WithHTTPPathPattern("/v2/sentry/kubeconfig/revoke")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.sentry.rpc.KubeConfigService/RevokeKubeconfig", runtime.WithHTTPPathPattern("/v2/sentry/kubeconfig/revoke")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_KubeConfig_RevokeKubeconfig_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_KubeConfigService_RevokeKubeconfig_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_KubeConfig_RevokeKubeconfig_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_KubeConfigService_RevokeKubeconfig_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("POST", pattern_KubeConfig_RevokeKubeconfig_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("POST", pattern_KubeConfigService_RevokeKubeconfig_1, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.sentry.rpc.KubeConfig/RevokeKubeconfig", runtime.WithHTTPPathPattern("/v2/sentry/kubeconfig/{opts.urlScope=user/*}/revoke")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.sentry.rpc.KubeConfigService/RevokeKubeconfig", runtime.WithHTTPPathPattern("/v2/sentry/kubeconfig/{opts.urlScope=user/*}/revoke")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_KubeConfig_RevokeKubeconfig_1(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_KubeConfigService_RevokeKubeconfig_1(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_KubeConfig_RevokeKubeconfig_1(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_KubeConfigService_RevokeKubeconfig_1(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_KubeConfig_GetOrganizationSetting_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_KubeConfigService_GetOrganizationSetting_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.sentry.rpc.KubeConfig/GetOrganizationSetting", runtime.WithHTTPPathPattern("/v2/sentry/kubeconfig/{opts.urlScope=organization/*}/setting")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.sentry.rpc.KubeConfigService/GetOrganizationSetting", runtime.WithHTTPPathPattern("/v2/sentry/kubeconfig/{opts.urlScope=organization/*}/setting")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_KubeConfig_GetOrganizationSetting_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_KubeConfigService_GetOrganizationSetting_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_KubeConfig_GetOrganizationSetting_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_KubeConfigService_GetOrganizationSetting_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_KubeConfig_GetUserSetting_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_KubeConfigService_GetUserSetting_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.sentry.rpc.KubeConfig/GetUserSetting", runtime.WithHTTPPathPattern("/v2/sentry/kubeconfig/{opts.urlScope=user/*}/setting")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.sentry.rpc.KubeConfigService/GetUserSetting", runtime.WithHTTPPathPattern("/v2/sentry/kubeconfig/{opts.urlScope=user/*}/setting")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_KubeConfig_GetUserSetting_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_KubeConfigService_GetUserSetting_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_KubeConfig_GetUserSetting_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_KubeConfigService_GetUserSetting_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_KubeConfig_GetSSOUserSetting_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_KubeConfigService_GetSSOUserSetting_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.sentry.rpc.KubeConfig/GetSSOUserSetting", runtime.WithHTTPPathPattern("/v2/sentry/kubeconfig/{opts.urlScope=ssouser/*}/setting")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.sentry.rpc.KubeConfigService/GetSSOUserSetting", runtime.WithHTTPPathPattern("/v2/sentry/kubeconfig/{opts.urlScope=ssouser/*}/setting")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_KubeConfig_GetSSOUserSetting_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_KubeConfigService_GetSSOUserSetting_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_KubeConfig_GetSSOUserSetting_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_KubeConfigService_GetSSOUserSetting_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("PUT", pattern_KubeConfig_UpdateOrganizationSetting_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("PUT", pattern_KubeConfigService_UpdateOrganizationSetting_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.sentry.rpc.KubeConfig/UpdateOrganizationSetting", runtime.WithHTTPPathPattern("/v2/sentry/kubeconfig/{opts.urlScope=organization/*}/setting")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.sentry.rpc.KubeConfigService/UpdateOrganizationSetting", runtime.WithHTTPPathPattern("/v2/sentry/kubeconfig/{opts.urlScope=organization/*}/setting")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_KubeConfig_UpdateOrganizationSetting_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_KubeConfigService_UpdateOrganizationSetting_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_KubeConfig_UpdateOrganizationSetting_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_KubeConfigService_UpdateOrganizationSetting_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("PUT", pattern_KubeConfig_UpdateUserSetting_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("PUT", pattern_KubeConfigService_UpdateUserSetting_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.sentry.rpc.KubeConfig/UpdateUserSetting", runtime.WithHTTPPathPattern("/v2/sentry/kubeconfig/{opts.urlScope=user/*}/setting")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.sentry.rpc.KubeConfigService/UpdateUserSetting", runtime.WithHTTPPathPattern("/v2/sentry/kubeconfig/{opts.urlScope=user/*}/setting")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_KubeConfig_UpdateUserSetting_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_KubeConfigService_UpdateUserSetting_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_KubeConfig_UpdateUserSetting_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_KubeConfigService_UpdateUserSetting_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("PUT", pattern_KubeConfig_UpdateSSOUserSetting_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("PUT", pattern_KubeConfigService_UpdateSSOUserSetting_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.sentry.rpc.KubeConfig/UpdateSSOUserSetting", runtime.WithHTTPPathPattern("/v2/sentry/kubeconfig/{opts.urlScope=ssouser/*}/setting")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.sentry.rpc.KubeConfigService/UpdateSSOUserSetting", runtime.WithHTTPPathPattern("/v2/sentry/kubeconfig/{opts.urlScope=ssouser/*}/setting")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_KubeConfig_UpdateSSOUserSetting_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_KubeConfigService_UpdateSSOUserSetting_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_KubeConfig_UpdateSSOUserSetting_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_KubeConfigService_UpdateSSOUserSetting_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) @@ -1292,53 +1340,53 @@ func RegisterKubeConfigHandlerClient(ctx context.Context, mux *runtime.ServeMux, } var ( - pattern_KubeConfig_GetForClusterWebSession_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"v2", "sentry", "kubeconfig", "clusterwebsession"}, "")) + pattern_KubeConfigService_GetForClusterWebSession_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"v2", "sentry", "kubeconfig", "clusterwebsession"}, "")) - pattern_KubeConfig_GetForClusterSystemSession_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"v2", "sentry", "kubeconfig", "clustersystemsession"}, "")) + pattern_KubeConfigService_GetForClusterSystemSession_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"v2", "sentry", "kubeconfig", "clustersystemsession"}, "")) - pattern_KubeConfig_GetForUser_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"v2", "sentry", "kubeconfig", "user"}, "")) + pattern_KubeConfigService_GetForUser_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"v2", "sentry", "kubeconfig", "user"}, "")) - pattern_KubeConfig_GetForUser_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 2, 5, 4, 2, 5}, []string{"v2", "sentry", "kubeconfig", "user", "opts.urlScope", "download"}, "")) + pattern_KubeConfigService_GetForUser_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 2, 5, 4, 2, 5}, []string{"v2", "sentry", "kubeconfig", "user", "opts.urlScope", "download"}, "")) - pattern_KubeConfig_RevokeKubeconfig_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"v2", "sentry", "kubeconfig", "revoke"}, "")) + pattern_KubeConfigService_RevokeKubeconfig_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"v2", "sentry", "kubeconfig", "revoke"}, "")) - pattern_KubeConfig_RevokeKubeconfig_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 2, 5, 4, 2, 5}, []string{"v2", "sentry", "kubeconfig", "user", "opts.urlScope", "revoke"}, "")) + pattern_KubeConfigService_RevokeKubeconfig_1 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 2, 5, 4, 2, 5}, []string{"v2", "sentry", "kubeconfig", "user", "opts.urlScope", "revoke"}, "")) - pattern_KubeConfig_GetOrganizationSetting_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 2, 5, 4, 2, 5}, []string{"v2", "sentry", "kubeconfig", "organization", "opts.urlScope", "setting"}, "")) + pattern_KubeConfigService_GetOrganizationSetting_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 2, 5, 4, 2, 5}, []string{"v2", "sentry", "kubeconfig", "organization", "opts.urlScope", "setting"}, "")) - pattern_KubeConfig_GetUserSetting_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 2, 5, 4, 2, 5}, []string{"v2", "sentry", "kubeconfig", "user", "opts.urlScope", "setting"}, "")) + pattern_KubeConfigService_GetUserSetting_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 2, 5, 4, 2, 5}, []string{"v2", "sentry", "kubeconfig", "user", "opts.urlScope", "setting"}, "")) - pattern_KubeConfig_GetSSOUserSetting_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 2, 5, 4, 2, 5}, []string{"v2", "sentry", "kubeconfig", "ssouser", "opts.urlScope", "setting"}, "")) + pattern_KubeConfigService_GetSSOUserSetting_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 2, 5, 4, 2, 5}, []string{"v2", "sentry", "kubeconfig", "ssouser", "opts.urlScope", "setting"}, "")) - pattern_KubeConfig_UpdateOrganizationSetting_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 2, 5, 4, 2, 5}, []string{"v2", "sentry", "kubeconfig", "organization", "opts.urlScope", "setting"}, "")) + pattern_KubeConfigService_UpdateOrganizationSetting_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 2, 5, 4, 2, 5}, []string{"v2", "sentry", "kubeconfig", "organization", "opts.urlScope", "setting"}, "")) - pattern_KubeConfig_UpdateUserSetting_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 2, 5, 4, 2, 5}, []string{"v2", "sentry", "kubeconfig", "user", "opts.urlScope", "setting"}, "")) + pattern_KubeConfigService_UpdateUserSetting_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 2, 5, 4, 2, 5}, []string{"v2", "sentry", "kubeconfig", "user", "opts.urlScope", "setting"}, "")) - pattern_KubeConfig_UpdateSSOUserSetting_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 2, 5, 4, 2, 5}, []string{"v2", "sentry", "kubeconfig", "ssouser", "opts.urlScope", "setting"}, "")) + pattern_KubeConfigService_UpdateSSOUserSetting_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 2, 5, 4, 2, 5}, []string{"v2", "sentry", "kubeconfig", "ssouser", "opts.urlScope", "setting"}, "")) ) var ( - forward_KubeConfig_GetForClusterWebSession_0 = runtime.ForwardResponseMessage + forward_KubeConfigService_GetForClusterWebSession_0 = runtime.ForwardResponseMessage - forward_KubeConfig_GetForClusterSystemSession_0 = runtime.ForwardResponseMessage + forward_KubeConfigService_GetForClusterSystemSession_0 = runtime.ForwardResponseMessage - forward_KubeConfig_GetForUser_0 = runtime.ForwardResponseMessage + forward_KubeConfigService_GetForUser_0 = runtime.ForwardResponseMessage - forward_KubeConfig_GetForUser_1 = runtime.ForwardResponseMessage + forward_KubeConfigService_GetForUser_1 = runtime.ForwardResponseMessage - forward_KubeConfig_RevokeKubeconfig_0 = runtime.ForwardResponseMessage + forward_KubeConfigService_RevokeKubeconfig_0 = runtime.ForwardResponseMessage - forward_KubeConfig_RevokeKubeconfig_1 = runtime.ForwardResponseMessage + forward_KubeConfigService_RevokeKubeconfig_1 = runtime.ForwardResponseMessage - forward_KubeConfig_GetOrganizationSetting_0 = runtime.ForwardResponseMessage + forward_KubeConfigService_GetOrganizationSetting_0 = runtime.ForwardResponseMessage - forward_KubeConfig_GetUserSetting_0 = runtime.ForwardResponseMessage + forward_KubeConfigService_GetUserSetting_0 = runtime.ForwardResponseMessage - forward_KubeConfig_GetSSOUserSetting_0 = runtime.ForwardResponseMessage + forward_KubeConfigService_GetSSOUserSetting_0 = runtime.ForwardResponseMessage - forward_KubeConfig_UpdateOrganizationSetting_0 = runtime.ForwardResponseMessage + forward_KubeConfigService_UpdateOrganizationSetting_0 = runtime.ForwardResponseMessage - forward_KubeConfig_UpdateUserSetting_0 = runtime.ForwardResponseMessage + forward_KubeConfigService_UpdateUserSetting_0 = runtime.ForwardResponseMessage - forward_KubeConfig_UpdateSSOUserSetting_0 = runtime.ForwardResponseMessage + forward_KubeConfigService_UpdateSSOUserSetting_0 = runtime.ForwardResponseMessage ) diff --git a/proto/rpc/sentry/kubeconfig.proto b/proto/rpc/sentry/kubeconfig.proto index 9291be73..6e2b0afe 100644 --- a/proto/rpc/sentry/kubeconfig.proto +++ b/proto/rpc/sentry/kubeconfig.proto @@ -4,7 +4,6 @@ package paralus.dev.sentry.rpc; import "google/api/annotations.proto"; import "protoc-gen-openapiv2/options/annotations.proto"; import "proto/types/commonpb/v3/common.proto"; -import "proto/types/sentry/sentry.proto"; option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = { info : { @@ -95,7 +94,7 @@ message GetKubeconfigSettingResponse { bool disableCLIKubectl = 6; } -service KubeConfig { +service KubeConfigService { rpc GetForClusterWebSession(GetForClusterRequest) returns (paralus.dev.types.common.v3.HttpBody) { option (google.api.http) = { diff --git a/proto/rpc/sentry/kubeconfig_grpc.pb.go b/proto/rpc/sentry/kubeconfig_grpc.pb.go index be89d19a..b0360084 100644 --- a/proto/rpc/sentry/kubeconfig_grpc.pb.go +++ b/proto/rpc/sentry/kubeconfig_grpc.pb.go @@ -19,10 +19,10 @@ import ( // Requires gRPC-Go v1.32.0 or later. const _ = grpc.SupportPackageIsVersion7 -// KubeConfigClient is the client API for KubeConfig service. +// KubeConfigServiceClient is the client API for KubeConfigService service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. -type KubeConfigClient interface { +type KubeConfigServiceClient interface { GetForClusterWebSession(ctx context.Context, in *GetForClusterRequest, opts ...grpc.CallOption) (*v3.HttpBody, error) GetForClusterSystemSession(ctx context.Context, in *GetForClusterRequest, opts ...grpc.CallOption) (*v3.HttpBody, error) GetForUser(ctx context.Context, in *GetForUserRequest, opts ...grpc.CallOption) (*v3.HttpBody, error) @@ -35,108 +35,108 @@ type KubeConfigClient interface { UpdateSSOUserSetting(ctx context.Context, in *UpdateKubeconfigSettingRequest, opts ...grpc.CallOption) (*UpdateKubeconfigSettingResponse, error) } -type kubeConfigClient struct { +type kubeConfigServiceClient struct { cc grpc.ClientConnInterface } -func NewKubeConfigClient(cc grpc.ClientConnInterface) KubeConfigClient { - return &kubeConfigClient{cc} +func NewKubeConfigServiceClient(cc grpc.ClientConnInterface) KubeConfigServiceClient { + return &kubeConfigServiceClient{cc} } -func (c *kubeConfigClient) GetForClusterWebSession(ctx context.Context, in *GetForClusterRequest, opts ...grpc.CallOption) (*v3.HttpBody, error) { +func (c *kubeConfigServiceClient) GetForClusterWebSession(ctx context.Context, in *GetForClusterRequest, opts ...grpc.CallOption) (*v3.HttpBody, error) { out := new(v3.HttpBody) - err := c.cc.Invoke(ctx, "/paralus.dev.sentry.rpc.KubeConfig/GetForClusterWebSession", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.sentry.rpc.KubeConfigService/GetForClusterWebSession", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *kubeConfigClient) GetForClusterSystemSession(ctx context.Context, in *GetForClusterRequest, opts ...grpc.CallOption) (*v3.HttpBody, error) { +func (c *kubeConfigServiceClient) GetForClusterSystemSession(ctx context.Context, in *GetForClusterRequest, opts ...grpc.CallOption) (*v3.HttpBody, error) { out := new(v3.HttpBody) - err := c.cc.Invoke(ctx, "/paralus.dev.sentry.rpc.KubeConfig/GetForClusterSystemSession", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.sentry.rpc.KubeConfigService/GetForClusterSystemSession", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *kubeConfigClient) GetForUser(ctx context.Context, in *GetForUserRequest, opts ...grpc.CallOption) (*v3.HttpBody, error) { +func (c *kubeConfigServiceClient) GetForUser(ctx context.Context, in *GetForUserRequest, opts ...grpc.CallOption) (*v3.HttpBody, error) { out := new(v3.HttpBody) - err := c.cc.Invoke(ctx, "/paralus.dev.sentry.rpc.KubeConfig/GetForUser", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.sentry.rpc.KubeConfigService/GetForUser", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *kubeConfigClient) RevokeKubeconfig(ctx context.Context, in *RevokeKubeconfigRequest, opts ...grpc.CallOption) (*RevokeKubeconfigResponse, error) { +func (c *kubeConfigServiceClient) RevokeKubeconfig(ctx context.Context, in *RevokeKubeconfigRequest, opts ...grpc.CallOption) (*RevokeKubeconfigResponse, error) { out := new(RevokeKubeconfigResponse) - err := c.cc.Invoke(ctx, "/paralus.dev.sentry.rpc.KubeConfig/RevokeKubeconfig", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.sentry.rpc.KubeConfigService/RevokeKubeconfig", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *kubeConfigClient) GetOrganizationSetting(ctx context.Context, in *GetKubeconfigSettingRequest, opts ...grpc.CallOption) (*GetKubeconfigSettingResponse, error) { +func (c *kubeConfigServiceClient) GetOrganizationSetting(ctx context.Context, in *GetKubeconfigSettingRequest, opts ...grpc.CallOption) (*GetKubeconfigSettingResponse, error) { out := new(GetKubeconfigSettingResponse) - err := c.cc.Invoke(ctx, "/paralus.dev.sentry.rpc.KubeConfig/GetOrganizationSetting", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.sentry.rpc.KubeConfigService/GetOrganizationSetting", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *kubeConfigClient) GetUserSetting(ctx context.Context, in *GetKubeconfigSettingRequest, opts ...grpc.CallOption) (*GetKubeconfigSettingResponse, error) { +func (c *kubeConfigServiceClient) GetUserSetting(ctx context.Context, in *GetKubeconfigSettingRequest, opts ...grpc.CallOption) (*GetKubeconfigSettingResponse, error) { out := new(GetKubeconfigSettingResponse) - err := c.cc.Invoke(ctx, "/paralus.dev.sentry.rpc.KubeConfig/GetUserSetting", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.sentry.rpc.KubeConfigService/GetUserSetting", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *kubeConfigClient) GetSSOUserSetting(ctx context.Context, in *GetKubeconfigSettingRequest, opts ...grpc.CallOption) (*GetKubeconfigSettingResponse, error) { +func (c *kubeConfigServiceClient) GetSSOUserSetting(ctx context.Context, in *GetKubeconfigSettingRequest, opts ...grpc.CallOption) (*GetKubeconfigSettingResponse, error) { out := new(GetKubeconfigSettingResponse) - err := c.cc.Invoke(ctx, "/paralus.dev.sentry.rpc.KubeConfig/GetSSOUserSetting", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.sentry.rpc.KubeConfigService/GetSSOUserSetting", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *kubeConfigClient) UpdateOrganizationSetting(ctx context.Context, in *UpdateKubeconfigSettingRequest, opts ...grpc.CallOption) (*UpdateKubeconfigSettingResponse, error) { +func (c *kubeConfigServiceClient) UpdateOrganizationSetting(ctx context.Context, in *UpdateKubeconfigSettingRequest, opts ...grpc.CallOption) (*UpdateKubeconfigSettingResponse, error) { out := new(UpdateKubeconfigSettingResponse) - err := c.cc.Invoke(ctx, "/paralus.dev.sentry.rpc.KubeConfig/UpdateOrganizationSetting", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.sentry.rpc.KubeConfigService/UpdateOrganizationSetting", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *kubeConfigClient) UpdateUserSetting(ctx context.Context, in *UpdateKubeconfigSettingRequest, opts ...grpc.CallOption) (*UpdateKubeconfigSettingResponse, error) { +func (c *kubeConfigServiceClient) UpdateUserSetting(ctx context.Context, in *UpdateKubeconfigSettingRequest, opts ...grpc.CallOption) (*UpdateKubeconfigSettingResponse, error) { out := new(UpdateKubeconfigSettingResponse) - err := c.cc.Invoke(ctx, "/paralus.dev.sentry.rpc.KubeConfig/UpdateUserSetting", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.sentry.rpc.KubeConfigService/UpdateUserSetting", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *kubeConfigClient) UpdateSSOUserSetting(ctx context.Context, in *UpdateKubeconfigSettingRequest, opts ...grpc.CallOption) (*UpdateKubeconfigSettingResponse, error) { +func (c *kubeConfigServiceClient) UpdateSSOUserSetting(ctx context.Context, in *UpdateKubeconfigSettingRequest, opts ...grpc.CallOption) (*UpdateKubeconfigSettingResponse, error) { out := new(UpdateKubeconfigSettingResponse) - err := c.cc.Invoke(ctx, "/paralus.dev.sentry.rpc.KubeConfig/UpdateSSOUserSetting", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.sentry.rpc.KubeConfigService/UpdateSSOUserSetting", in, out, opts...) if err != nil { return nil, err } return out, nil } -// KubeConfigServer is the server API for KubeConfig service. -// All implementations should embed UnimplementedKubeConfigServer +// KubeConfigServiceServer is the server API for KubeConfigService service. +// All implementations should embed UnimplementedKubeConfigServiceServer // for forward compatibility -type KubeConfigServer interface { +type KubeConfigServiceServer interface { GetForClusterWebSession(context.Context, *GetForClusterRequest) (*v3.HttpBody, error) GetForClusterSystemSession(context.Context, *GetForClusterRequest) (*v3.HttpBody, error) GetForUser(context.Context, *GetForUserRequest) (*v3.HttpBody, error) @@ -149,278 +149,278 @@ type KubeConfigServer interface { UpdateSSOUserSetting(context.Context, *UpdateKubeconfigSettingRequest) (*UpdateKubeconfigSettingResponse, error) } -// UnimplementedKubeConfigServer should be embedded to have forward compatible implementations. -type UnimplementedKubeConfigServer struct { +// UnimplementedKubeConfigServiceServer should be embedded to have forward compatible implementations. +type UnimplementedKubeConfigServiceServer struct { } -func (UnimplementedKubeConfigServer) GetForClusterWebSession(context.Context, *GetForClusterRequest) (*v3.HttpBody, error) { +func (UnimplementedKubeConfigServiceServer) GetForClusterWebSession(context.Context, *GetForClusterRequest) (*v3.HttpBody, error) { return nil, status.Errorf(codes.Unimplemented, "method GetForClusterWebSession not implemented") } -func (UnimplementedKubeConfigServer) GetForClusterSystemSession(context.Context, *GetForClusterRequest) (*v3.HttpBody, error) { +func (UnimplementedKubeConfigServiceServer) GetForClusterSystemSession(context.Context, *GetForClusterRequest) (*v3.HttpBody, error) { return nil, status.Errorf(codes.Unimplemented, "method GetForClusterSystemSession not implemented") } -func (UnimplementedKubeConfigServer) GetForUser(context.Context, *GetForUserRequest) (*v3.HttpBody, error) { +func (UnimplementedKubeConfigServiceServer) GetForUser(context.Context, *GetForUserRequest) (*v3.HttpBody, error) { return nil, status.Errorf(codes.Unimplemented, "method GetForUser not implemented") } -func (UnimplementedKubeConfigServer) RevokeKubeconfig(context.Context, *RevokeKubeconfigRequest) (*RevokeKubeconfigResponse, error) { +func (UnimplementedKubeConfigServiceServer) RevokeKubeconfig(context.Context, *RevokeKubeconfigRequest) (*RevokeKubeconfigResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method RevokeKubeconfig not implemented") } -func (UnimplementedKubeConfigServer) GetOrganizationSetting(context.Context, *GetKubeconfigSettingRequest) (*GetKubeconfigSettingResponse, error) { +func (UnimplementedKubeConfigServiceServer) GetOrganizationSetting(context.Context, *GetKubeconfigSettingRequest) (*GetKubeconfigSettingResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetOrganizationSetting not implemented") } -func (UnimplementedKubeConfigServer) GetUserSetting(context.Context, *GetKubeconfigSettingRequest) (*GetKubeconfigSettingResponse, error) { +func (UnimplementedKubeConfigServiceServer) GetUserSetting(context.Context, *GetKubeconfigSettingRequest) (*GetKubeconfigSettingResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetUserSetting not implemented") } -func (UnimplementedKubeConfigServer) GetSSOUserSetting(context.Context, *GetKubeconfigSettingRequest) (*GetKubeconfigSettingResponse, error) { +func (UnimplementedKubeConfigServiceServer) GetSSOUserSetting(context.Context, *GetKubeconfigSettingRequest) (*GetKubeconfigSettingResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetSSOUserSetting not implemented") } -func (UnimplementedKubeConfigServer) UpdateOrganizationSetting(context.Context, *UpdateKubeconfigSettingRequest) (*UpdateKubeconfigSettingResponse, error) { +func (UnimplementedKubeConfigServiceServer) UpdateOrganizationSetting(context.Context, *UpdateKubeconfigSettingRequest) (*UpdateKubeconfigSettingResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateOrganizationSetting not implemented") } -func (UnimplementedKubeConfigServer) UpdateUserSetting(context.Context, *UpdateKubeconfigSettingRequest) (*UpdateKubeconfigSettingResponse, error) { +func (UnimplementedKubeConfigServiceServer) UpdateUserSetting(context.Context, *UpdateKubeconfigSettingRequest) (*UpdateKubeconfigSettingResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateUserSetting not implemented") } -func (UnimplementedKubeConfigServer) UpdateSSOUserSetting(context.Context, *UpdateKubeconfigSettingRequest) (*UpdateKubeconfigSettingResponse, error) { +func (UnimplementedKubeConfigServiceServer) UpdateSSOUserSetting(context.Context, *UpdateKubeconfigSettingRequest) (*UpdateKubeconfigSettingResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateSSOUserSetting not implemented") } -// UnsafeKubeConfigServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to KubeConfigServer will +// UnsafeKubeConfigServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to KubeConfigServiceServer will // result in compilation errors. -type UnsafeKubeConfigServer interface { - mustEmbedUnimplementedKubeConfigServer() +type UnsafeKubeConfigServiceServer interface { + mustEmbedUnimplementedKubeConfigServiceServer() } -func RegisterKubeConfigServer(s grpc.ServiceRegistrar, srv KubeConfigServer) { - s.RegisterService(&KubeConfig_ServiceDesc, srv) +func RegisterKubeConfigServiceServer(s grpc.ServiceRegistrar, srv KubeConfigServiceServer) { + s.RegisterService(&KubeConfigService_ServiceDesc, srv) } -func _KubeConfig_GetForClusterWebSession_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _KubeConfigService_GetForClusterWebSession_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetForClusterRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(KubeConfigServer).GetForClusterWebSession(ctx, in) + return srv.(KubeConfigServiceServer).GetForClusterWebSession(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.sentry.rpc.KubeConfig/GetForClusterWebSession", + FullMethod: "/paralus.dev.sentry.rpc.KubeConfigService/GetForClusterWebSession", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(KubeConfigServer).GetForClusterWebSession(ctx, req.(*GetForClusterRequest)) + return srv.(KubeConfigServiceServer).GetForClusterWebSession(ctx, req.(*GetForClusterRequest)) } return interceptor(ctx, in, info, handler) } -func _KubeConfig_GetForClusterSystemSession_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _KubeConfigService_GetForClusterSystemSession_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetForClusterRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(KubeConfigServer).GetForClusterSystemSession(ctx, in) + return srv.(KubeConfigServiceServer).GetForClusterSystemSession(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.sentry.rpc.KubeConfig/GetForClusterSystemSession", + FullMethod: "/paralus.dev.sentry.rpc.KubeConfigService/GetForClusterSystemSession", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(KubeConfigServer).GetForClusterSystemSession(ctx, req.(*GetForClusterRequest)) + return srv.(KubeConfigServiceServer).GetForClusterSystemSession(ctx, req.(*GetForClusterRequest)) } return interceptor(ctx, in, info, handler) } -func _KubeConfig_GetForUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _KubeConfigService_GetForUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetForUserRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(KubeConfigServer).GetForUser(ctx, in) + return srv.(KubeConfigServiceServer).GetForUser(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.sentry.rpc.KubeConfig/GetForUser", + FullMethod: "/paralus.dev.sentry.rpc.KubeConfigService/GetForUser", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(KubeConfigServer).GetForUser(ctx, req.(*GetForUserRequest)) + return srv.(KubeConfigServiceServer).GetForUser(ctx, req.(*GetForUserRequest)) } return interceptor(ctx, in, info, handler) } -func _KubeConfig_RevokeKubeconfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _KubeConfigService_RevokeKubeconfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(RevokeKubeconfigRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(KubeConfigServer).RevokeKubeconfig(ctx, in) + return srv.(KubeConfigServiceServer).RevokeKubeconfig(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.sentry.rpc.KubeConfig/RevokeKubeconfig", + FullMethod: "/paralus.dev.sentry.rpc.KubeConfigService/RevokeKubeconfig", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(KubeConfigServer).RevokeKubeconfig(ctx, req.(*RevokeKubeconfigRequest)) + return srv.(KubeConfigServiceServer).RevokeKubeconfig(ctx, req.(*RevokeKubeconfigRequest)) } return interceptor(ctx, in, info, handler) } -func _KubeConfig_GetOrganizationSetting_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _KubeConfigService_GetOrganizationSetting_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetKubeconfigSettingRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(KubeConfigServer).GetOrganizationSetting(ctx, in) + return srv.(KubeConfigServiceServer).GetOrganizationSetting(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.sentry.rpc.KubeConfig/GetOrganizationSetting", + FullMethod: "/paralus.dev.sentry.rpc.KubeConfigService/GetOrganizationSetting", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(KubeConfigServer).GetOrganizationSetting(ctx, req.(*GetKubeconfigSettingRequest)) + return srv.(KubeConfigServiceServer).GetOrganizationSetting(ctx, req.(*GetKubeconfigSettingRequest)) } return interceptor(ctx, in, info, handler) } -func _KubeConfig_GetUserSetting_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _KubeConfigService_GetUserSetting_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetKubeconfigSettingRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(KubeConfigServer).GetUserSetting(ctx, in) + return srv.(KubeConfigServiceServer).GetUserSetting(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.sentry.rpc.KubeConfig/GetUserSetting", + FullMethod: "/paralus.dev.sentry.rpc.KubeConfigService/GetUserSetting", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(KubeConfigServer).GetUserSetting(ctx, req.(*GetKubeconfigSettingRequest)) + return srv.(KubeConfigServiceServer).GetUserSetting(ctx, req.(*GetKubeconfigSettingRequest)) } return interceptor(ctx, in, info, handler) } -func _KubeConfig_GetSSOUserSetting_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _KubeConfigService_GetSSOUserSetting_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetKubeconfigSettingRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(KubeConfigServer).GetSSOUserSetting(ctx, in) + return srv.(KubeConfigServiceServer).GetSSOUserSetting(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.sentry.rpc.KubeConfig/GetSSOUserSetting", + FullMethod: "/paralus.dev.sentry.rpc.KubeConfigService/GetSSOUserSetting", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(KubeConfigServer).GetSSOUserSetting(ctx, req.(*GetKubeconfigSettingRequest)) + return srv.(KubeConfigServiceServer).GetSSOUserSetting(ctx, req.(*GetKubeconfigSettingRequest)) } return interceptor(ctx, in, info, handler) } -func _KubeConfig_UpdateOrganizationSetting_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _KubeConfigService_UpdateOrganizationSetting_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(UpdateKubeconfigSettingRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(KubeConfigServer).UpdateOrganizationSetting(ctx, in) + return srv.(KubeConfigServiceServer).UpdateOrganizationSetting(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.sentry.rpc.KubeConfig/UpdateOrganizationSetting", + FullMethod: "/paralus.dev.sentry.rpc.KubeConfigService/UpdateOrganizationSetting", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(KubeConfigServer).UpdateOrganizationSetting(ctx, req.(*UpdateKubeconfigSettingRequest)) + return srv.(KubeConfigServiceServer).UpdateOrganizationSetting(ctx, req.(*UpdateKubeconfigSettingRequest)) } return interceptor(ctx, in, info, handler) } -func _KubeConfig_UpdateUserSetting_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _KubeConfigService_UpdateUserSetting_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(UpdateKubeconfigSettingRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(KubeConfigServer).UpdateUserSetting(ctx, in) + return srv.(KubeConfigServiceServer).UpdateUserSetting(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.sentry.rpc.KubeConfig/UpdateUserSetting", + FullMethod: "/paralus.dev.sentry.rpc.KubeConfigService/UpdateUserSetting", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(KubeConfigServer).UpdateUserSetting(ctx, req.(*UpdateKubeconfigSettingRequest)) + return srv.(KubeConfigServiceServer).UpdateUserSetting(ctx, req.(*UpdateKubeconfigSettingRequest)) } return interceptor(ctx, in, info, handler) } -func _KubeConfig_UpdateSSOUserSetting_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _KubeConfigService_UpdateSSOUserSetting_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(UpdateKubeconfigSettingRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(KubeConfigServer).UpdateSSOUserSetting(ctx, in) + return srv.(KubeConfigServiceServer).UpdateSSOUserSetting(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.sentry.rpc.KubeConfig/UpdateSSOUserSetting", + FullMethod: "/paralus.dev.sentry.rpc.KubeConfigService/UpdateSSOUserSetting", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(KubeConfigServer).UpdateSSOUserSetting(ctx, req.(*UpdateKubeconfigSettingRequest)) + return srv.(KubeConfigServiceServer).UpdateSSOUserSetting(ctx, req.(*UpdateKubeconfigSettingRequest)) } return interceptor(ctx, in, info, handler) } -// KubeConfig_ServiceDesc is the grpc.ServiceDesc for KubeConfig service. +// KubeConfigService_ServiceDesc is the grpc.ServiceDesc for KubeConfigService service. // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) -var KubeConfig_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "paralus.dev.sentry.rpc.KubeConfig", - HandlerType: (*KubeConfigServer)(nil), +var KubeConfigService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "paralus.dev.sentry.rpc.KubeConfigService", + HandlerType: (*KubeConfigServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetForClusterWebSession", - Handler: _KubeConfig_GetForClusterWebSession_Handler, + Handler: _KubeConfigService_GetForClusterWebSession_Handler, }, { MethodName: "GetForClusterSystemSession", - Handler: _KubeConfig_GetForClusterSystemSession_Handler, + Handler: _KubeConfigService_GetForClusterSystemSession_Handler, }, { MethodName: "GetForUser", - Handler: _KubeConfig_GetForUser_Handler, + Handler: _KubeConfigService_GetForUser_Handler, }, { MethodName: "RevokeKubeconfig", - Handler: _KubeConfig_RevokeKubeconfig_Handler, + Handler: _KubeConfigService_RevokeKubeconfig_Handler, }, { MethodName: "GetOrganizationSetting", - Handler: _KubeConfig_GetOrganizationSetting_Handler, + Handler: _KubeConfigService_GetOrganizationSetting_Handler, }, { MethodName: "GetUserSetting", - Handler: _KubeConfig_GetUserSetting_Handler, + Handler: _KubeConfigService_GetUserSetting_Handler, }, { MethodName: "GetSSOUserSetting", - Handler: _KubeConfig_GetSSOUserSetting_Handler, + Handler: _KubeConfigService_GetSSOUserSetting_Handler, }, { MethodName: "UpdateOrganizationSetting", - Handler: _KubeConfig_UpdateOrganizationSetting_Handler, + Handler: _KubeConfigService_UpdateOrganizationSetting_Handler, }, { MethodName: "UpdateUserSetting", - Handler: _KubeConfig_UpdateUserSetting_Handler, + Handler: _KubeConfigService_UpdateUserSetting_Handler, }, { MethodName: "UpdateSSOUserSetting", - Handler: _KubeConfig_UpdateSSOUserSetting_Handler, + Handler: _KubeConfigService_UpdateSSOUserSetting_Handler, }, }, Streams: []grpc.StreamDesc{}, diff --git a/proto/rpc/sentry/kubectl_cluster.pb.go b/proto/rpc/sentry/kubectl_cluster.pb.go index 171a0da8..d04c9fff 100644 --- a/proto/rpc/sentry/kubectl_cluster.pb.go +++ b/proto/rpc/sentry/kubectl_cluster.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.27.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: proto/rpc/sentry/kubectl_cluster.proto @@ -9,7 +9,6 @@ package sentry import ( _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" v3 "github.com/paralus/paralus/proto/types/commonpb/v3" - _ "github.com/paralus/paralus/proto/types/sentry" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" @@ -241,104 +240,103 @@ var file_proto_rpc_sentry_kubectl_cluster_proto_rawDesc = []byte{ 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x70, 0x62, 0x2f, 0x76, 0x33, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x79, 0x70, 0x65, - 0x73, 0x2f, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2f, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc0, 0x01, 0x0a, 0x23, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc0, 0x01, 0x0a, 0x23, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4b, + 0x75, 0x62, 0x65, 0x63, 0x74, 0x6c, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x53, 0x65, 0x74, + 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3d, 0x0a, 0x04, + 0x6f, 0x70, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x70, 0x61, 0x72, + 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, + 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4f, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x04, 0x6f, 0x70, 0x74, 0x73, 0x12, 0x2c, 0x0a, 0x11, 0x64, + 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x57, 0x65, 0x62, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x74, 0x6c, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x57, + 0x65, 0x62, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x74, 0x6c, 0x12, 0x2c, 0x0a, 0x11, 0x64, 0x69, 0x73, + 0x61, 0x62, 0x6c, 0x65, 0x43, 0x4c, 0x49, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x74, 0x6c, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x4c, 0x49, + 0x4b, 0x75, 0x62, 0x65, 0x63, 0x74, 0x6c, 0x22, 0x26, 0x0a, 0x24, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x74, 0x6c, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x53, + 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x61, 0x0a, 0x20, 0x47, 0x65, 0x74, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x74, 0x6c, 0x43, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x3d, 0x0a, 0x04, 0x6f, 0x70, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x29, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, + 0x51, 0x75, 0x65, 0x72, 0x79, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x04, 0x6f, 0x70, + 0x74, 0x73, 0x22, 0x7f, 0x0a, 0x21, 0x47, 0x65, 0x74, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x74, 0x6c, + 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x11, 0x64, 0x69, 0x73, 0x61, 0x62, + 0x6c, 0x65, 0x57, 0x65, 0x62, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x74, 0x6c, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x11, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x57, 0x65, 0x62, 0x4b, 0x75, + 0x62, 0x65, 0x63, 0x74, 0x6c, 0x12, 0x2c, 0x0a, 0x11, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, + 0x43, 0x4c, 0x49, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x74, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x11, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x4c, 0x49, 0x4b, 0x75, 0x62, 0x65, + 0x63, 0x74, 0x6c, 0x32, 0xcf, 0x03, 0x0a, 0x1d, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x74, 0x6c, 0x43, + 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x53, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xdb, 0x01, 0x0a, 0x1c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x74, 0x6c, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x53, 0x65, - 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3d, 0x0a, - 0x04, 0x6f, 0x70, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x70, 0x61, - 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, - 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4f, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x04, 0x6f, 0x70, 0x74, 0x73, 0x12, 0x2c, 0x0a, 0x11, - 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x57, 0x65, 0x62, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x74, - 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, - 0x57, 0x65, 0x62, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x74, 0x6c, 0x12, 0x2c, 0x0a, 0x11, 0x64, 0x69, - 0x73, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x4c, 0x49, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x74, 0x6c, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x4c, - 0x49, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x74, 0x6c, 0x22, 0x26, 0x0a, 0x24, 0x55, 0x70, 0x64, 0x61, - 0x74, 0x65, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x74, 0x6c, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, - 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x61, 0x0a, 0x20, 0x47, 0x65, 0x74, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x74, 0x6c, 0x43, 0x6c, - 0x75, 0x73, 0x74, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x12, 0x3d, 0x0a, 0x04, 0x6f, 0x70, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, - 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x04, 0x6f, - 0x70, 0x74, 0x73, 0x22, 0x7f, 0x0a, 0x21, 0x47, 0x65, 0x74, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x74, - 0x6c, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x11, 0x64, 0x69, 0x73, 0x61, - 0x62, 0x6c, 0x65, 0x57, 0x65, 0x62, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x74, 0x6c, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x11, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x57, 0x65, 0x62, 0x4b, - 0x75, 0x62, 0x65, 0x63, 0x74, 0x6c, 0x12, 0x2c, 0x0a, 0x11, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, - 0x65, 0x43, 0x4c, 0x49, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x74, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x08, 0x52, 0x11, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x4c, 0x49, 0x4b, 0x75, 0x62, - 0x65, 0x63, 0x74, 0x6c, 0x32, 0xc8, 0x03, 0x0a, 0x16, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x74, 0x6c, - 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, - 0xdb, 0x01, 0x0a, 0x1c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x74, - 0x6c, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, - 0x12, 0x3b, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x73, - 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x4b, 0x75, 0x62, 0x65, 0x63, 0x74, 0x6c, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x53, 0x65, - 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3c, 0x2e, - 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x73, 0x65, 0x6e, 0x74, - 0x72, 0x79, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4b, 0x75, 0x62, - 0x65, 0x63, 0x74, 0x6c, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, - 0x6e, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x40, 0x82, 0xd3, 0xe4, - 0x93, 0x02, 0x3a, 0x1a, 0x35, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2f, - 0x6b, 0x75, 0x62, 0x65, 0x63, 0x74, 0x6c, 0x2f, 0x7b, 0x6f, 0x70, 0x74, 0x73, 0x2e, 0x75, 0x72, - 0x6c, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x3d, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2f, 0x2a, - 0x7d, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x3a, 0x01, 0x2a, 0x12, 0xcf, 0x01, - 0x0a, 0x19, 0x47, 0x65, 0x74, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x74, 0x6c, 0x43, 0x6c, 0x75, 0x73, - 0x74, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x38, 0x2e, 0x70, 0x61, + 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x3b, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x72, 0x70, 0x63, 0x2e, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x74, 0x6c, 0x43, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x3c, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, + 0x76, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x74, 0x6c, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, + 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x40, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3a, 0x1a, 0x35, 0x2f, 0x76, 0x32, 0x2f, 0x73, + 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x63, 0x74, 0x6c, 0x2f, 0x7b, 0x6f, + 0x70, 0x74, 0x73, 0x2e, 0x75, 0x72, 0x6c, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x3d, 0x63, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x2f, 0x2a, 0x7d, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, + 0x3a, 0x01, 0x2a, 0x12, 0xcf, 0x01, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x4b, 0x75, 0x62, 0x65, 0x63, + 0x74, 0x6c, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, + 0x73, 0x12, 0x38, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x4b, 0x75, + 0x62, 0x65, 0x63, 0x74, 0x6c, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, + 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x74, 0x6c, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x47, - 0x65, 0x74, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x74, 0x6c, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, - 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x3d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x37, 0x12, 0x35, 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x65, - 0x6e, 0x74, 0x72, 0x79, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x63, 0x74, 0x6c, 0x2f, 0x7b, 0x6f, 0x70, - 0x74, 0x73, 0x2e, 0x75, 0x72, 0x6c, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x3d, 0x63, 0x6c, 0x75, 0x73, - 0x74, 0x65, 0x72, 0x2f, 0x2a, 0x7d, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x42, - 0xd2, 0x04, 0x0a, 0x1a, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x72, 0x70, 0x63, 0x42, 0x13, - 0x4b, 0x75, 0x62, 0x65, 0x63, 0x74, 0x6c, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x50, 0x72, - 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, - 0x6d, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, - 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x65, 0x6e, 0x74, - 0x72, 0x79, 0xa2, 0x02, 0x04, 0x50, 0x44, 0x53, 0x52, 0xaa, 0x02, 0x16, 0x50, 0x61, 0x72, 0x61, - 0x6c, 0x75, 0x73, 0x2e, 0x44, 0x65, 0x76, 0x2e, 0x53, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x52, - 0x70, 0x63, 0xca, 0x02, 0x16, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x5c, 0x44, 0x65, 0x76, - 0x5c, 0x53, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x5c, 0x52, 0x70, 0x63, 0xe2, 0x02, 0x22, 0x50, 0x61, - 0x72, 0x61, 0x6c, 0x75, 0x73, 0x5c, 0x44, 0x65, 0x76, 0x5c, 0x53, 0x65, 0x6e, 0x74, 0x72, 0x79, - 0x5c, 0x52, 0x70, 0x63, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, - 0xea, 0x02, 0x19, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x3a, 0x3a, 0x44, 0x65, 0x76, 0x3a, - 0x3a, 0x53, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x3a, 0x3a, 0x52, 0x70, 0x63, 0x92, 0x41, 0xf4, 0x02, - 0x12, 0x3b, 0x0a, 0x25, 0x53, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x20, 0x4b, 0x75, 0x62, 0x65, 0x63, - 0x74, 0x6c, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, - 0x73, 0x20, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x22, 0x0d, 0x0a, 0x0b, 0x50, 0x61, 0x72, - 0x61, 0x6c, 0x75, 0x73, 0x20, 0x44, 0x65, 0x76, 0x32, 0x03, 0x32, 0x2e, 0x30, 0x2a, 0x01, 0x02, - 0x32, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, - 0x6f, 0x6e, 0x32, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, - 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x2f, 0x79, 0x61, 0x6d, 0x6c, 0x52, 0x50, 0x0a, 0x03, 0x34, 0x30, 0x33, 0x12, - 0x49, 0x0a, 0x47, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, - 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x64, 0x6f, 0x65, 0x73, 0x20, 0x6e, - 0x6f, 0x74, 0x20, 0x68, 0x61, 0x76, 0x65, 0x20, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, - 0x6f, 0x6e, 0x20, 0x74, 0x6f, 0x20, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x20, 0x74, 0x68, 0x65, - 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x52, 0x3b, 0x0a, 0x03, 0x34, 0x30, - 0x34, 0x12, 0x34, 0x0a, 0x2a, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, - 0x65, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x20, - 0x64, 0x6f, 0x65, 0x73, 0x20, 0x6e, 0x6f, 0x74, 0x20, 0x65, 0x78, 0x69, 0x73, 0x74, 0x2e, 0x12, - 0x06, 0x0a, 0x04, 0x9a, 0x02, 0x01, 0x07, 0x5a, 0x3a, 0x0a, 0x27, 0x0a, 0x0a, 0x41, 0x70, 0x69, - 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x12, 0x19, 0x08, 0x02, 0x1a, 0x13, 0x58, 0x2d, 0x50, - 0x41, 0x52, 0x41, 0x4c, 0x55, 0x53, 0x2d, 0x41, 0x50, 0x49, 0x2d, 0x4b, 0x45, 0x59, 0x49, 0x44, - 0x20, 0x02, 0x0a, 0x0f, 0x0a, 0x09, 0x42, 0x61, 0x73, 0x69, 0x63, 0x41, 0x75, 0x74, 0x68, 0x12, - 0x02, 0x08, 0x01, 0x62, 0x1f, 0x0a, 0x0e, 0x0a, 0x0a, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x41, - 0x75, 0x74, 0x68, 0x12, 0x00, 0x0a, 0x0d, 0x0a, 0x09, 0x42, 0x61, 0x73, 0x69, 0x63, 0x41, 0x75, - 0x74, 0x68, 0x12, 0x00, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x37, 0x12, 0x35, + 0x2f, 0x76, 0x32, 0x2f, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2f, 0x6b, 0x75, 0x62, 0x65, 0x63, + 0x74, 0x6c, 0x2f, 0x7b, 0x6f, 0x70, 0x74, 0x73, 0x2e, 0x75, 0x72, 0x6c, 0x53, 0x63, 0x6f, 0x70, + 0x65, 0x3d, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2f, 0x2a, 0x7d, 0x2f, 0x73, 0x65, 0x74, + 0x74, 0x69, 0x6e, 0x67, 0x73, 0x42, 0xd2, 0x04, 0x0a, 0x1a, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x61, + 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, + 0x2e, 0x72, 0x70, 0x63, 0x42, 0x13, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x74, 0x6c, 0x43, 0x6c, 0x75, + 0x73, 0x74, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2b, 0x67, 0x69, 0x74, + 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, + 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x72, 0x70, + 0x63, 0x2f, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0xa2, 0x02, 0x04, 0x50, 0x44, 0x53, 0x52, 0xaa, + 0x02, 0x16, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x44, 0x65, 0x76, 0x2e, 0x53, 0x65, + 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x52, 0x70, 0x63, 0xca, 0x02, 0x16, 0x50, 0x61, 0x72, 0x61, 0x6c, + 0x75, 0x73, 0x5c, 0x44, 0x65, 0x76, 0x5c, 0x53, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x5c, 0x52, 0x70, + 0x63, 0xe2, 0x02, 0x22, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x5c, 0x44, 0x65, 0x76, 0x5c, + 0x53, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x5c, 0x52, 0x70, 0x63, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x19, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, + 0x3a, 0x3a, 0x44, 0x65, 0x76, 0x3a, 0x3a, 0x53, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x3a, 0x3a, 0x52, + 0x70, 0x63, 0x92, 0x41, 0xf4, 0x02, 0x12, 0x3b, 0x0a, 0x25, 0x53, 0x65, 0x6e, 0x74, 0x72, 0x79, + 0x20, 0x4b, 0x75, 0x62, 0x65, 0x63, 0x74, 0x6c, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x53, + 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x20, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x22, + 0x0d, 0x0a, 0x0b, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x20, 0x44, 0x65, 0x76, 0x32, 0x03, + 0x32, 0x2e, 0x30, 0x2a, 0x01, 0x02, 0x32, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x32, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x10, 0x61, 0x70, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x10, 0x61, 0x70, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x79, 0x61, 0x6d, 0x6c, 0x52, 0x50, + 0x0a, 0x03, 0x34, 0x30, 0x33, 0x12, 0x49, 0x0a, 0x47, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, + 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, + 0x64, 0x6f, 0x65, 0x73, 0x20, 0x6e, 0x6f, 0x74, 0x20, 0x68, 0x61, 0x76, 0x65, 0x20, 0x70, 0x65, + 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x20, 0x74, 0x6f, 0x20, 0x61, 0x63, 0x63, 0x65, + 0x73, 0x73, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, + 0x52, 0x3b, 0x0a, 0x03, 0x34, 0x30, 0x34, 0x12, 0x34, 0x0a, 0x2a, 0x52, 0x65, 0x74, 0x75, 0x72, + 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x20, 0x64, 0x6f, 0x65, 0x73, 0x20, 0x6e, 0x6f, 0x74, 0x20, 0x65, + 0x78, 0x69, 0x73, 0x74, 0x2e, 0x12, 0x06, 0x0a, 0x04, 0x9a, 0x02, 0x01, 0x07, 0x5a, 0x3a, 0x0a, + 0x27, 0x0a, 0x0a, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x12, 0x19, 0x08, + 0x02, 0x1a, 0x13, 0x58, 0x2d, 0x50, 0x41, 0x52, 0x41, 0x4c, 0x55, 0x53, 0x2d, 0x41, 0x50, 0x49, + 0x2d, 0x4b, 0x45, 0x59, 0x49, 0x44, 0x20, 0x02, 0x0a, 0x0f, 0x0a, 0x09, 0x42, 0x61, 0x73, 0x69, + 0x63, 0x41, 0x75, 0x74, 0x68, 0x12, 0x02, 0x08, 0x01, 0x62, 0x1f, 0x0a, 0x0e, 0x0a, 0x0a, 0x41, + 0x70, 0x69, 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x12, 0x00, 0x0a, 0x0d, 0x0a, 0x09, 0x42, + 0x61, 0x73, 0x69, 0x63, 0x41, 0x75, 0x74, 0x68, 0x12, 0x00, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, } var ( @@ -364,10 +362,10 @@ var file_proto_rpc_sentry_kubectl_cluster_proto_goTypes = []interface{}{ var file_proto_rpc_sentry_kubectl_cluster_proto_depIdxs = []int32{ 4, // 0: paralus.dev.sentry.rpc.UpdateKubectlClusterSettingsRequest.opts:type_name -> paralus.dev.types.common.v3.QueryOptions 4, // 1: paralus.dev.sentry.rpc.GetKubectlClusterSettingsRequest.opts:type_name -> paralus.dev.types.common.v3.QueryOptions - 0, // 2: paralus.dev.sentry.rpc.KubectlClusterSettings.UpdateKubectlClusterSettings:input_type -> paralus.dev.sentry.rpc.UpdateKubectlClusterSettingsRequest - 2, // 3: paralus.dev.sentry.rpc.KubectlClusterSettings.GetKubectlClusterSettings:input_type -> paralus.dev.sentry.rpc.GetKubectlClusterSettingsRequest - 1, // 4: paralus.dev.sentry.rpc.KubectlClusterSettings.UpdateKubectlClusterSettings:output_type -> paralus.dev.sentry.rpc.UpdateKubectlClusterSettingsResponse - 3, // 5: paralus.dev.sentry.rpc.KubectlClusterSettings.GetKubectlClusterSettings:output_type -> paralus.dev.sentry.rpc.GetKubectlClusterSettingsResponse + 0, // 2: paralus.dev.sentry.rpc.KubectlClusterSettingsService.UpdateKubectlClusterSettings:input_type -> paralus.dev.sentry.rpc.UpdateKubectlClusterSettingsRequest + 2, // 3: paralus.dev.sentry.rpc.KubectlClusterSettingsService.GetKubectlClusterSettings:input_type -> paralus.dev.sentry.rpc.GetKubectlClusterSettingsRequest + 1, // 4: paralus.dev.sentry.rpc.KubectlClusterSettingsService.UpdateKubectlClusterSettings:output_type -> paralus.dev.sentry.rpc.UpdateKubectlClusterSettingsResponse + 3, // 5: paralus.dev.sentry.rpc.KubectlClusterSettingsService.GetKubectlClusterSettings:output_type -> paralus.dev.sentry.rpc.GetKubectlClusterSettingsResponse 4, // [4:6] is the sub-list for method output_type 2, // [2:4] is the sub-list for method input_type 2, // [2:2] is the sub-list for extension type_name diff --git a/proto/rpc/sentry/kubectl_cluster.pb.gw.go b/proto/rpc/sentry/kubectl_cluster.pb.gw.go index 2dab8d1a..01286d52 100644 --- a/proto/rpc/sentry/kubectl_cluster.pb.gw.go +++ b/proto/rpc/sentry/kubectl_cluster.pb.gw.go @@ -31,7 +31,7 @@ var _ = runtime.String var _ = utilities.NewDoubleArray var _ = metadata.Join -func request_KubectlClusterSettings_UpdateKubectlClusterSettings_0(ctx context.Context, marshaler runtime.Marshaler, client KubectlClusterSettingsClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_KubectlClusterSettingsService_UpdateKubectlClusterSettings_0(ctx context.Context, marshaler runtime.Marshaler, client KubectlClusterSettingsServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq UpdateKubectlClusterSettingsRequest var metadata runtime.ServerMetadata @@ -65,7 +65,7 @@ func request_KubectlClusterSettings_UpdateKubectlClusterSettings_0(ctx context.C } -func local_request_KubectlClusterSettings_UpdateKubectlClusterSettings_0(ctx context.Context, marshaler runtime.Marshaler, server KubectlClusterSettingsServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_KubectlClusterSettingsService_UpdateKubectlClusterSettings_0(ctx context.Context, marshaler runtime.Marshaler, server KubectlClusterSettingsServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq UpdateKubectlClusterSettingsRequest var metadata runtime.ServerMetadata @@ -100,10 +100,10 @@ func local_request_KubectlClusterSettings_UpdateKubectlClusterSettings_0(ctx con } var ( - filter_KubectlClusterSettings_GetKubectlClusterSettings_0 = &utilities.DoubleArray{Encoding: map[string]int{"opts": 0, "urlScope": 1}, Base: []int{1, 1, 1, 0}, Check: []int{0, 1, 2, 3}} + filter_KubectlClusterSettingsService_GetKubectlClusterSettings_0 = &utilities.DoubleArray{Encoding: map[string]int{"opts": 0, "urlScope": 1}, Base: []int{1, 1, 1, 0}, Check: []int{0, 1, 2, 3}} ) -func request_KubectlClusterSettings_GetKubectlClusterSettings_0(ctx context.Context, marshaler runtime.Marshaler, client KubectlClusterSettingsClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_KubectlClusterSettingsService_GetKubectlClusterSettings_0(ctx context.Context, marshaler runtime.Marshaler, client KubectlClusterSettingsServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq GetKubectlClusterSettingsRequest var metadata runtime.ServerMetadata @@ -127,7 +127,7 @@ func request_KubectlClusterSettings_GetKubectlClusterSettings_0(ctx context.Cont if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_KubectlClusterSettings_GetKubectlClusterSettings_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_KubectlClusterSettingsService_GetKubectlClusterSettings_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -136,7 +136,7 @@ func request_KubectlClusterSettings_GetKubectlClusterSettings_0(ctx context.Cont } -func local_request_KubectlClusterSettings_GetKubectlClusterSettings_0(ctx context.Context, marshaler runtime.Marshaler, server KubectlClusterSettingsServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_KubectlClusterSettingsService_GetKubectlClusterSettings_0(ctx context.Context, marshaler runtime.Marshaler, server KubectlClusterSettingsServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq GetKubectlClusterSettingsRequest var metadata runtime.ServerMetadata @@ -160,7 +160,7 @@ func local_request_KubectlClusterSettings_GetKubectlClusterSettings_0(ctx contex if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_KubectlClusterSettings_GetKubectlClusterSettings_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_KubectlClusterSettingsService_GetKubectlClusterSettings_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -169,64 +169,68 @@ func local_request_KubectlClusterSettings_GetKubectlClusterSettings_0(ctx contex } -// RegisterKubectlClusterSettingsHandlerServer registers the http handlers for service KubectlClusterSettings to "mux". -// UnaryRPC :call KubectlClusterSettingsServer directly. +// RegisterKubectlClusterSettingsServiceHandlerServer registers the http handlers for service KubectlClusterSettingsService to "mux". +// UnaryRPC :call KubectlClusterSettingsServiceServer directly. // StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. -// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterKubectlClusterSettingsHandlerFromEndpoint instead. -func RegisterKubectlClusterSettingsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server KubectlClusterSettingsServer) error { +// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterKubectlClusterSettingsServiceHandlerFromEndpoint instead. +func RegisterKubectlClusterSettingsServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server KubectlClusterSettingsServiceServer) error { - mux.Handle("PUT", pattern_KubectlClusterSettings_UpdateKubectlClusterSettings_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("PUT", pattern_KubectlClusterSettingsService_UpdateKubectlClusterSettings_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.sentry.rpc.KubectlClusterSettings/UpdateKubectlClusterSettings", runtime.WithHTTPPathPattern("/v2/sentry/kubectl/{opts.urlScope=cluster/*}/settings")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.sentry.rpc.KubectlClusterSettingsService/UpdateKubectlClusterSettings", runtime.WithHTTPPathPattern("/v2/sentry/kubectl/{opts.urlScope=cluster/*}/settings")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_KubectlClusterSettings_UpdateKubectlClusterSettings_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_KubectlClusterSettingsService_UpdateKubectlClusterSettings_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_KubectlClusterSettings_UpdateKubectlClusterSettings_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_KubectlClusterSettingsService_UpdateKubectlClusterSettings_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_KubectlClusterSettings_GetKubectlClusterSettings_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_KubectlClusterSettingsService_GetKubectlClusterSettings_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.sentry.rpc.KubectlClusterSettings/GetKubectlClusterSettings", runtime.WithHTTPPathPattern("/v2/sentry/kubectl/{opts.urlScope=cluster/*}/settings")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.sentry.rpc.KubectlClusterSettingsService/GetKubectlClusterSettings", runtime.WithHTTPPathPattern("/v2/sentry/kubectl/{opts.urlScope=cluster/*}/settings")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_KubectlClusterSettings_GetKubectlClusterSettings_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_KubectlClusterSettingsService_GetKubectlClusterSettings_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_KubectlClusterSettings_GetKubectlClusterSettings_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_KubectlClusterSettingsService_GetKubectlClusterSettings_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) return nil } -// RegisterKubectlClusterSettingsHandlerFromEndpoint is same as RegisterKubectlClusterSettingsHandler but +// RegisterKubectlClusterSettingsServiceHandlerFromEndpoint is same as RegisterKubectlClusterSettingsServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. -func RegisterKubectlClusterSettingsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { +func RegisterKubectlClusterSettingsServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { conn, err := grpc.Dial(endpoint, opts...) if err != nil { return err @@ -246,59 +250,63 @@ func RegisterKubectlClusterSettingsHandlerFromEndpoint(ctx context.Context, mux }() }() - return RegisterKubectlClusterSettingsHandler(ctx, mux, conn) + return RegisterKubectlClusterSettingsServiceHandler(ctx, mux, conn) } -// RegisterKubectlClusterSettingsHandler registers the http handlers for service KubectlClusterSettings to "mux". +// RegisterKubectlClusterSettingsServiceHandler registers the http handlers for service KubectlClusterSettingsService to "mux". // The handlers forward requests to the grpc endpoint over "conn". -func RegisterKubectlClusterSettingsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { - return RegisterKubectlClusterSettingsHandlerClient(ctx, mux, NewKubectlClusterSettingsClient(conn)) +func RegisterKubectlClusterSettingsServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { + return RegisterKubectlClusterSettingsServiceHandlerClient(ctx, mux, NewKubectlClusterSettingsServiceClient(conn)) } -// RegisterKubectlClusterSettingsHandlerClient registers the http handlers for service KubectlClusterSettings -// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "KubectlClusterSettingsClient". -// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "KubectlClusterSettingsClient" +// RegisterKubectlClusterSettingsServiceHandlerClient registers the http handlers for service KubectlClusterSettingsService +// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "KubectlClusterSettingsServiceClient". +// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "KubectlClusterSettingsServiceClient" // doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in -// "KubectlClusterSettingsClient" to call the correct interceptors. -func RegisterKubectlClusterSettingsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client KubectlClusterSettingsClient) error { +// "KubectlClusterSettingsServiceClient" to call the correct interceptors. +func RegisterKubectlClusterSettingsServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client KubectlClusterSettingsServiceClient) error { - mux.Handle("PUT", pattern_KubectlClusterSettings_UpdateKubectlClusterSettings_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("PUT", pattern_KubectlClusterSettingsService_UpdateKubectlClusterSettings_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.sentry.rpc.KubectlClusterSettings/UpdateKubectlClusterSettings", runtime.WithHTTPPathPattern("/v2/sentry/kubectl/{opts.urlScope=cluster/*}/settings")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.sentry.rpc.KubectlClusterSettingsService/UpdateKubectlClusterSettings", runtime.WithHTTPPathPattern("/v2/sentry/kubectl/{opts.urlScope=cluster/*}/settings")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_KubectlClusterSettings_UpdateKubectlClusterSettings_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_KubectlClusterSettingsService_UpdateKubectlClusterSettings_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_KubectlClusterSettings_UpdateKubectlClusterSettings_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_KubectlClusterSettingsService_UpdateKubectlClusterSettings_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_KubectlClusterSettings_GetKubectlClusterSettings_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_KubectlClusterSettingsService_GetKubectlClusterSettings_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.sentry.rpc.KubectlClusterSettings/GetKubectlClusterSettings", runtime.WithHTTPPathPattern("/v2/sentry/kubectl/{opts.urlScope=cluster/*}/settings")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.sentry.rpc.KubectlClusterSettingsService/GetKubectlClusterSettings", runtime.WithHTTPPathPattern("/v2/sentry/kubectl/{opts.urlScope=cluster/*}/settings")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_KubectlClusterSettings_GetKubectlClusterSettings_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_KubectlClusterSettingsService_GetKubectlClusterSettings_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_KubectlClusterSettings_GetKubectlClusterSettings_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_KubectlClusterSettingsService_GetKubectlClusterSettings_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) @@ -306,13 +314,13 @@ func RegisterKubectlClusterSettingsHandlerClient(ctx context.Context, mux *runti } var ( - pattern_KubectlClusterSettings_UpdateKubectlClusterSettings_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 2, 5, 4, 2, 5}, []string{"v2", "sentry", "kubectl", "cluster", "opts.urlScope", "settings"}, "")) + pattern_KubectlClusterSettingsService_UpdateKubectlClusterSettings_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 2, 5, 4, 2, 5}, []string{"v2", "sentry", "kubectl", "cluster", "opts.urlScope", "settings"}, "")) - pattern_KubectlClusterSettings_GetKubectlClusterSettings_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 2, 5, 4, 2, 5}, []string{"v2", "sentry", "kubectl", "cluster", "opts.urlScope", "settings"}, "")) + pattern_KubectlClusterSettingsService_GetKubectlClusterSettings_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 2, 5, 4, 2, 5}, []string{"v2", "sentry", "kubectl", "cluster", "opts.urlScope", "settings"}, "")) ) var ( - forward_KubectlClusterSettings_UpdateKubectlClusterSettings_0 = runtime.ForwardResponseMessage + forward_KubectlClusterSettingsService_UpdateKubectlClusterSettings_0 = runtime.ForwardResponseMessage - forward_KubectlClusterSettings_GetKubectlClusterSettings_0 = runtime.ForwardResponseMessage + forward_KubectlClusterSettingsService_GetKubectlClusterSettings_0 = runtime.ForwardResponseMessage ) diff --git a/proto/rpc/sentry/kubectl_cluster.proto b/proto/rpc/sentry/kubectl_cluster.proto index 6fe99411..20f0c019 100644 --- a/proto/rpc/sentry/kubectl_cluster.proto +++ b/proto/rpc/sentry/kubectl_cluster.proto @@ -4,7 +4,6 @@ package paralus.dev.sentry.rpc; import "google/api/annotations.proto"; import "protoc-gen-openapiv2/options/annotations.proto"; import "proto/types/commonpb/v3/common.proto"; -import "proto/types/sentry/sentry.proto"; option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = { info : { @@ -71,7 +70,7 @@ message GetKubectlClusterSettingsResponse { bool disableCLIKubectl = 2; } -service KubectlClusterSettings { +service KubectlClusterSettingsService { rpc UpdateKubectlClusterSettings(UpdateKubectlClusterSettingsRequest) returns (UpdateKubectlClusterSettingsResponse) { option (google.api.http) = { put : "/v2/sentry/kubectl/{opts.urlScope=cluster/*}/settings" diff --git a/proto/rpc/sentry/kubectl_cluster_grpc.pb.go b/proto/rpc/sentry/kubectl_cluster_grpc.pb.go index 5a3c4e2f..27206550 100644 --- a/proto/rpc/sentry/kubectl_cluster_grpc.pb.go +++ b/proto/rpc/sentry/kubectl_cluster_grpc.pb.go @@ -18,120 +18,120 @@ import ( // Requires gRPC-Go v1.32.0 or later. const _ = grpc.SupportPackageIsVersion7 -// KubectlClusterSettingsClient is the client API for KubectlClusterSettings service. +// KubectlClusterSettingsServiceClient is the client API for KubectlClusterSettingsService service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. -type KubectlClusterSettingsClient interface { +type KubectlClusterSettingsServiceClient interface { UpdateKubectlClusterSettings(ctx context.Context, in *UpdateKubectlClusterSettingsRequest, opts ...grpc.CallOption) (*UpdateKubectlClusterSettingsResponse, error) GetKubectlClusterSettings(ctx context.Context, in *GetKubectlClusterSettingsRequest, opts ...grpc.CallOption) (*GetKubectlClusterSettingsResponse, error) } -type kubectlClusterSettingsClient struct { +type kubectlClusterSettingsServiceClient struct { cc grpc.ClientConnInterface } -func NewKubectlClusterSettingsClient(cc grpc.ClientConnInterface) KubectlClusterSettingsClient { - return &kubectlClusterSettingsClient{cc} +func NewKubectlClusterSettingsServiceClient(cc grpc.ClientConnInterface) KubectlClusterSettingsServiceClient { + return &kubectlClusterSettingsServiceClient{cc} } -func (c *kubectlClusterSettingsClient) UpdateKubectlClusterSettings(ctx context.Context, in *UpdateKubectlClusterSettingsRequest, opts ...grpc.CallOption) (*UpdateKubectlClusterSettingsResponse, error) { +func (c *kubectlClusterSettingsServiceClient) UpdateKubectlClusterSettings(ctx context.Context, in *UpdateKubectlClusterSettingsRequest, opts ...grpc.CallOption) (*UpdateKubectlClusterSettingsResponse, error) { out := new(UpdateKubectlClusterSettingsResponse) - err := c.cc.Invoke(ctx, "/paralus.dev.sentry.rpc.KubectlClusterSettings/UpdateKubectlClusterSettings", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.sentry.rpc.KubectlClusterSettingsService/UpdateKubectlClusterSettings", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *kubectlClusterSettingsClient) GetKubectlClusterSettings(ctx context.Context, in *GetKubectlClusterSettingsRequest, opts ...grpc.CallOption) (*GetKubectlClusterSettingsResponse, error) { +func (c *kubectlClusterSettingsServiceClient) GetKubectlClusterSettings(ctx context.Context, in *GetKubectlClusterSettingsRequest, opts ...grpc.CallOption) (*GetKubectlClusterSettingsResponse, error) { out := new(GetKubectlClusterSettingsResponse) - err := c.cc.Invoke(ctx, "/paralus.dev.sentry.rpc.KubectlClusterSettings/GetKubectlClusterSettings", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.sentry.rpc.KubectlClusterSettingsService/GetKubectlClusterSettings", in, out, opts...) if err != nil { return nil, err } return out, nil } -// KubectlClusterSettingsServer is the server API for KubectlClusterSettings service. -// All implementations should embed UnimplementedKubectlClusterSettingsServer +// KubectlClusterSettingsServiceServer is the server API for KubectlClusterSettingsService service. +// All implementations should embed UnimplementedKubectlClusterSettingsServiceServer // for forward compatibility -type KubectlClusterSettingsServer interface { +type KubectlClusterSettingsServiceServer interface { UpdateKubectlClusterSettings(context.Context, *UpdateKubectlClusterSettingsRequest) (*UpdateKubectlClusterSettingsResponse, error) GetKubectlClusterSettings(context.Context, *GetKubectlClusterSettingsRequest) (*GetKubectlClusterSettingsResponse, error) } -// UnimplementedKubectlClusterSettingsServer should be embedded to have forward compatible implementations. -type UnimplementedKubectlClusterSettingsServer struct { +// UnimplementedKubectlClusterSettingsServiceServer should be embedded to have forward compatible implementations. +type UnimplementedKubectlClusterSettingsServiceServer struct { } -func (UnimplementedKubectlClusterSettingsServer) UpdateKubectlClusterSettings(context.Context, *UpdateKubectlClusterSettingsRequest) (*UpdateKubectlClusterSettingsResponse, error) { +func (UnimplementedKubectlClusterSettingsServiceServer) UpdateKubectlClusterSettings(context.Context, *UpdateKubectlClusterSettingsRequest) (*UpdateKubectlClusterSettingsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateKubectlClusterSettings not implemented") } -func (UnimplementedKubectlClusterSettingsServer) GetKubectlClusterSettings(context.Context, *GetKubectlClusterSettingsRequest) (*GetKubectlClusterSettingsResponse, error) { +func (UnimplementedKubectlClusterSettingsServiceServer) GetKubectlClusterSettings(context.Context, *GetKubectlClusterSettingsRequest) (*GetKubectlClusterSettingsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetKubectlClusterSettings not implemented") } -// UnsafeKubectlClusterSettingsServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to KubectlClusterSettingsServer will +// UnsafeKubectlClusterSettingsServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to KubectlClusterSettingsServiceServer will // result in compilation errors. -type UnsafeKubectlClusterSettingsServer interface { - mustEmbedUnimplementedKubectlClusterSettingsServer() +type UnsafeKubectlClusterSettingsServiceServer interface { + mustEmbedUnimplementedKubectlClusterSettingsServiceServer() } -func RegisterKubectlClusterSettingsServer(s grpc.ServiceRegistrar, srv KubectlClusterSettingsServer) { - s.RegisterService(&KubectlClusterSettings_ServiceDesc, srv) +func RegisterKubectlClusterSettingsServiceServer(s grpc.ServiceRegistrar, srv KubectlClusterSettingsServiceServer) { + s.RegisterService(&KubectlClusterSettingsService_ServiceDesc, srv) } -func _KubectlClusterSettings_UpdateKubectlClusterSettings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _KubectlClusterSettingsService_UpdateKubectlClusterSettings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(UpdateKubectlClusterSettingsRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(KubectlClusterSettingsServer).UpdateKubectlClusterSettings(ctx, in) + return srv.(KubectlClusterSettingsServiceServer).UpdateKubectlClusterSettings(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.sentry.rpc.KubectlClusterSettings/UpdateKubectlClusterSettings", + FullMethod: "/paralus.dev.sentry.rpc.KubectlClusterSettingsService/UpdateKubectlClusterSettings", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(KubectlClusterSettingsServer).UpdateKubectlClusterSettings(ctx, req.(*UpdateKubectlClusterSettingsRequest)) + return srv.(KubectlClusterSettingsServiceServer).UpdateKubectlClusterSettings(ctx, req.(*UpdateKubectlClusterSettingsRequest)) } return interceptor(ctx, in, info, handler) } -func _KubectlClusterSettings_GetKubectlClusterSettings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _KubectlClusterSettingsService_GetKubectlClusterSettings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetKubectlClusterSettingsRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(KubectlClusterSettingsServer).GetKubectlClusterSettings(ctx, in) + return srv.(KubectlClusterSettingsServiceServer).GetKubectlClusterSettings(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.sentry.rpc.KubectlClusterSettings/GetKubectlClusterSettings", + FullMethod: "/paralus.dev.sentry.rpc.KubectlClusterSettingsService/GetKubectlClusterSettings", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(KubectlClusterSettingsServer).GetKubectlClusterSettings(ctx, req.(*GetKubectlClusterSettingsRequest)) + return srv.(KubectlClusterSettingsServiceServer).GetKubectlClusterSettings(ctx, req.(*GetKubectlClusterSettingsRequest)) } return interceptor(ctx, in, info, handler) } -// KubectlClusterSettings_ServiceDesc is the grpc.ServiceDesc for KubectlClusterSettings service. +// KubectlClusterSettingsService_ServiceDesc is the grpc.ServiceDesc for KubectlClusterSettingsService service. // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) -var KubectlClusterSettings_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "paralus.dev.sentry.rpc.KubectlClusterSettings", - HandlerType: (*KubectlClusterSettingsServer)(nil), +var KubectlClusterSettingsService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "paralus.dev.sentry.rpc.KubectlClusterSettingsService", + HandlerType: (*KubectlClusterSettingsServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "UpdateKubectlClusterSettings", - Handler: _KubectlClusterSettings_UpdateKubectlClusterSettings_Handler, + Handler: _KubectlClusterSettingsService_UpdateKubectlClusterSettings_Handler, }, { MethodName: "GetKubectlClusterSettings", - Handler: _KubectlClusterSettings_GetKubectlClusterSettings_Handler, + Handler: _KubectlClusterSettingsService_GetKubectlClusterSettings_Handler, }, }, Streams: []grpc.StreamDesc{}, diff --git a/proto/rpc/sentry/relaypeer.pb.go b/proto/rpc/sentry/relaypeer.pb.go index 74cd5474..87038929 100644 --- a/proto/rpc/sentry/relaypeer.pb.go +++ b/proto/rpc/sentry/relaypeer.pb.go @@ -2,7 +2,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.27.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: proto/rpc/sentry/relaypeer.proto @@ -433,7 +433,7 @@ var file_proto_rpc_sentry_relaypeer_proto_rawDesc = []byte{ 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x75, 0x75, 0x69, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x6e, 0x69, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x6e, 0x69, 0x22, 0x54, 0x0a, - 0x1a, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6e, + 0x1a, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x75, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x75, 0x75, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x6c, @@ -444,7 +444,7 @@ var file_proto_rpc_sentry_relaypeer_proto_rawDesc = []byte{ 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x6e, 0x69, 0x12, 0x48, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x72, 0x70, 0x63, - 0x2e, 0x72, 0x65, 0x6c, 0x61, 0x79, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6e, + 0x2e, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x22, 0x33, 0x0a, 0x11, 0x50, 0x65, 0x65, 0x72, 0x53, 0x75, 0x72, 0x76, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6c, 0x75, 0x73, 0x74, @@ -512,13 +512,13 @@ var file_proto_rpc_sentry_relaypeer_proto_goTypes = []interface{}{ (*PeerHelloRequest)(nil), // 0: paralus.dev.sentry.rpc.PeerHelloRequest (*PeerHelloResponse)(nil), // 1: paralus.dev.sentry.rpc.PeerHelloResponse (*PeerProbeRequest)(nil), // 2: paralus.dev.sentry.rpc.PeerProbeRequest - (*RelayClusterConnectionInfo)(nil), // 3: paralus.dev.sentry.rpc.relayClusterConnectionInfo + (*RelayClusterConnectionInfo)(nil), // 3: paralus.dev.sentry.rpc.RelayClusterConnectionInfo (*PeerProbeResponse)(nil), // 4: paralus.dev.sentry.rpc.PeerProbeResponse (*PeerSurveyRequest)(nil), // 5: paralus.dev.sentry.rpc.PeerSurveyRequest (*PeerSurveyResponse)(nil), // 6: paralus.dev.sentry.rpc.PeerSurveyResponse } var file_proto_rpc_sentry_relaypeer_proto_depIdxs = []int32{ - 3, // 0: paralus.dev.sentry.rpc.PeerProbeResponse.items:type_name -> paralus.dev.sentry.rpc.relayClusterConnectionInfo + 3, // 0: paralus.dev.sentry.rpc.PeerProbeResponse.items:type_name -> paralus.dev.sentry.rpc.RelayClusterConnectionInfo 0, // 1: paralus.dev.sentry.rpc.RelayPeerService.RelayPeerHelloRPC:input_type -> paralus.dev.sentry.rpc.PeerHelloRequest 2, // 2: paralus.dev.sentry.rpc.RelayPeerService.RelayPeerProbeRPC:input_type -> paralus.dev.sentry.rpc.PeerProbeRequest 6, // 3: paralus.dev.sentry.rpc.RelayPeerService.RelayPeerSurveyRPC:input_type -> paralus.dev.sentry.rpc.PeerSurveyResponse diff --git a/proto/rpc/sentry/relaypeer.proto b/proto/rpc/sentry/relaypeer.proto index bf64a6b7..8c597052 100644 --- a/proto/rpc/sentry/relaypeer.proto +++ b/proto/rpc/sentry/relaypeer.proto @@ -24,7 +24,7 @@ message PeerProbeRequest { string clustersni = 2; } -message relayClusterConnectionInfo { +message RelayClusterConnectionInfo { string relayuuid = 1; // the uuid of the relay string relayip = 2; // the ip address of the relay } @@ -32,7 +32,7 @@ message relayClusterConnectionInfo { // Probe Response from service to relay message PeerProbeResponse { string clustersni = 1; - repeated relayClusterConnectionInfo items = 2; + repeated RelayClusterConnectionInfo items = 2; } // Survey request sent from the service to all relays @@ -46,4 +46,4 @@ message PeerSurveyResponse { string relayip = 2; // the ip address of the relay string clustersni = 3; -} +} \ No newline at end of file diff --git a/proto/rpc/system/idp.pb.go b/proto/rpc/system/idp.pb.go index 8479daa1..2eb502d2 100644 --- a/proto/rpc/system/idp.pb.go +++ b/proto/rpc/system/idp.pb.go @@ -1,10 +1,10 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.27.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: proto/rpc/system/idp.proto -package rpcv3 +package systemv3 import ( _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" @@ -27,96 +27,100 @@ var File_proto_rpc_system_idp_proto protoreflect.FileDescriptor var file_proto_rpc_system_idp_proto_rawDesc = []byte{ 0x0a, 0x1a, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x79, 0x73, 0x74, - 0x65, 0x6d, 0x2f, 0x69, 0x64, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x70, 0x61, - 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x33, - 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, - 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x6f, 0x70, 0x65, 0x6e, 0x61, - 0x70, 0x69, 0x76, 0x32, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x6e, 0x6e, - 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x73, 0x79, 0x73, 0x74, - 0x65, 0x6d, 0x70, 0x62, 0x2f, 0x76, 0x33, 0x2f, 0x69, 0x64, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0xb0, - 0x05, 0x0a, 0x03, 0x49, 0x64, 0x70, 0x12, 0xa4, 0x01, 0x0a, 0x09, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x6d, 0x2f, 0x69, 0x64, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, 0x70, 0x61, + 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x73, 0x79, + 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, + 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, + 0x6e, 0x2d, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x6f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x79, 0x70, + 0x65, 0x73, 0x2f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x70, 0x62, 0x2f, 0x76, 0x33, 0x2f, 0x69, + 0x64, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0xb7, 0x05, 0x0a, 0x0a, 0x49, 0x64, 0x70, 0x53, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x12, 0xa4, 0x01, 0x0a, 0x09, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x49, + 0x64, 0x70, 0x12, 0x20, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, + 0x2e, 0x49, 0x64, 0x70, 0x1a, 0x20, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, + 0x76, 0x33, 0x2e, 0x49, 0x64, 0x70, 0x22, 0x53, 0x92, 0x41, 0x35, 0x4a, 0x33, 0x0a, 0x03, 0x32, + 0x30, 0x31, 0x12, 0x2c, 0x0a, 0x2a, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, + 0x68, 0x65, 0x6e, 0x20, 0x69, 0x64, 0x70, 0x20, 0x69, 0x73, 0x20, 0x63, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x64, 0x20, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x66, 0x75, 0x6c, 0x6c, 0x79, 0x2e, + 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x15, 0x22, 0x10, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x33, + 0x2f, 0x73, 0x73, 0x6f, 0x2f, 0x69, 0x64, 0x70, 0x3a, 0x01, 0x2a, 0x12, 0x76, 0x0a, 0x06, 0x47, + 0x65, 0x74, 0x49, 0x64, 0x70, 0x12, 0x20, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, + 0x2e, 0x76, 0x33, 0x2e, 0x49, 0x64, 0x70, 0x1a, 0x20, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, + 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x73, 0x74, + 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x49, 0x64, 0x70, 0x22, 0x28, 0x82, 0xd3, 0xe4, 0x93, 0x02, + 0x22, 0x12, 0x20, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x33, 0x2f, 0x73, 0x73, 0x6f, 0x2f, + 0x69, 0x64, 0x70, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6e, 0x61, + 0x6d, 0x65, 0x7d, 0x12, 0x62, 0x0a, 0x08, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x64, 0x70, 0x73, 0x12, + 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x24, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, + 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x73, 0x74, + 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x49, 0x64, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x18, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x12, 0x12, 0x10, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x33, 0x2f, + 0x73, 0x73, 0x6f, 0x2f, 0x69, 0x64, 0x70, 0x12, 0x7c, 0x0a, 0x09, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x64, 0x70, 0x12, 0x20, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x49, 0x64, 0x70, 0x1a, 0x20, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, - 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x49, 0x64, 0x70, 0x22, 0x53, 0x92, 0x41, 0x35, 0x4a, 0x33, 0x0a, - 0x03, 0x32, 0x30, 0x31, 0x12, 0x2c, 0x0a, 0x2a, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, - 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x69, 0x64, 0x70, 0x20, 0x69, 0x73, 0x20, 0x63, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x64, 0x20, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x66, 0x75, 0x6c, 0x6c, - 0x79, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x15, 0x22, 0x10, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, - 0x76, 0x33, 0x2f, 0x73, 0x73, 0x6f, 0x2f, 0x69, 0x64, 0x70, 0x3a, 0x01, 0x2a, 0x12, 0x76, 0x0a, - 0x06, 0x47, 0x65, 0x74, 0x49, 0x64, 0x70, 0x12, 0x20, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, - 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x73, 0x74, - 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x49, 0x64, 0x70, 0x1a, 0x20, 0x2e, 0x70, 0x61, 0x72, 0x61, - 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x79, - 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x49, 0x64, 0x70, 0x22, 0x28, 0x82, 0xd3, 0xe4, - 0x93, 0x02, 0x22, 0x12, 0x20, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x33, 0x2f, 0x73, 0x73, - 0x6f, 0x2f, 0x69, 0x64, 0x70, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, - 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x12, 0x62, 0x0a, 0x08, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x64, 0x70, - 0x73, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x24, 0x2e, 0x70, 0x61, 0x72, 0x61, - 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x79, - 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x49, 0x64, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x22, - 0x18, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x12, 0x12, 0x10, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, - 0x33, 0x2f, 0x73, 0x73, 0x6f, 0x2f, 0x69, 0x64, 0x70, 0x12, 0x7c, 0x0a, 0x09, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x49, 0x64, 0x70, 0x12, 0x20, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, - 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x49, 0x64, 0x70, 0x1a, 0x20, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, - 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x73, - 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x49, 0x64, 0x70, 0x22, 0x2b, 0x82, 0xd3, 0xe4, 0x93, - 0x02, 0x25, 0x1a, 0x20, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x33, 0x2f, 0x73, 0x73, 0x6f, - 0x2f, 0x69, 0x64, 0x70, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6e, - 0x61, 0x6d, 0x65, 0x7d, 0x3a, 0x01, 0x2a, 0x12, 0xa7, 0x01, 0x0a, 0x09, 0x44, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x49, 0x64, 0x70, 0x12, 0x20, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, - 0x2e, 0x76, 0x33, 0x2e, 0x49, 0x64, 0x70, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, - 0x60, 0x92, 0x41, 0x35, 0x4a, 0x33, 0x0a, 0x03, 0x32, 0x30, 0x34, 0x12, 0x2c, 0x0a, 0x2a, 0x52, - 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x69, 0x64, 0x70, - 0x20, 0x69, 0x73, 0x20, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x20, 0x73, 0x75, 0x63, 0x63, - 0x65, 0x73, 0x73, 0x66, 0x75, 0x6c, 0x6c, 0x79, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x2a, - 0x20, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x33, 0x2f, 0x73, 0x73, 0x6f, 0x2f, 0x69, 0x64, - 0x70, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6e, 0x61, 0x6d, 0x65, - 0x7d, 0x42, 0xb2, 0x04, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, - 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x33, 0x42, 0x08, 0x49, 0x64, - 0x70, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x31, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, - 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, 0x61, 0x72, - 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x73, - 0x79, 0x73, 0x74, 0x65, 0x6d, 0x3b, 0x72, 0x70, 0x63, 0x76, 0x33, 0xa2, 0x02, 0x03, 0x50, 0x44, - 0x52, 0xaa, 0x02, 0x12, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x44, 0x65, 0x76, 0x2e, - 0x52, 0x70, 0x63, 0x2e, 0x56, 0x33, 0xca, 0x02, 0x12, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, - 0x5c, 0x44, 0x65, 0x76, 0x5c, 0x52, 0x70, 0x63, 0x5c, 0x56, 0x33, 0xe2, 0x02, 0x1e, 0x50, 0x61, - 0x72, 0x61, 0x6c, 0x75, 0x73, 0x5c, 0x44, 0x65, 0x76, 0x5c, 0x52, 0x70, 0x63, 0x5c, 0x56, 0x33, - 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x15, 0x50, - 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x3a, 0x3a, 0x44, 0x65, 0x76, 0x3a, 0x3a, 0x52, 0x70, 0x63, - 0x3a, 0x3a, 0x56, 0x33, 0x92, 0x41, 0xee, 0x02, 0x12, 0x35, 0x0a, 0x1f, 0x49, 0x64, 0x65, 0x6e, - 0x74, 0x69, 0x74, 0x79, 0x20, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x20, 0x28, 0x49, - 0x64, 0x50, 0x29, 0x20, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x22, 0x0d, 0x0a, 0x0b, 0x50, - 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x20, 0x44, 0x65, 0x76, 0x32, 0x03, 0x33, 0x2e, 0x30, 0x2a, - 0x01, 0x02, 0x32, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, - 0x6a, 0x73, 0x6f, 0x6e, 0x32, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x2f, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x79, 0x61, 0x6d, 0x6c, 0x52, 0x50, 0x0a, 0x03, 0x34, 0x30, - 0x33, 0x12, 0x49, 0x0a, 0x47, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, - 0x65, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x64, 0x6f, 0x65, 0x73, - 0x20, 0x6e, 0x6f, 0x74, 0x20, 0x68, 0x61, 0x76, 0x65, 0x20, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, - 0x73, 0x69, 0x6f, 0x6e, 0x20, 0x74, 0x6f, 0x20, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x20, 0x74, - 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x52, 0x3b, 0x0a, 0x03, - 0x34, 0x30, 0x34, 0x12, 0x34, 0x0a, 0x2a, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, - 0x77, 0x68, 0x65, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x20, 0x64, 0x6f, 0x65, 0x73, 0x20, 0x6e, 0x6f, 0x74, 0x20, 0x65, 0x78, 0x69, 0x73, 0x74, - 0x2e, 0x12, 0x06, 0x0a, 0x04, 0x9a, 0x02, 0x01, 0x07, 0x5a, 0x3a, 0x0a, 0x27, 0x0a, 0x0a, 0x41, - 0x70, 0x69, 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x12, 0x19, 0x08, 0x02, 0x1a, 0x13, 0x58, - 0x2d, 0x50, 0x41, 0x52, 0x41, 0x4c, 0x55, 0x53, 0x2d, 0x41, 0x50, 0x49, 0x2d, 0x4b, 0x45, 0x59, - 0x49, 0x44, 0x20, 0x02, 0x0a, 0x0f, 0x0a, 0x09, 0x42, 0x61, 0x73, 0x69, 0x63, 0x41, 0x75, 0x74, - 0x68, 0x12, 0x02, 0x08, 0x01, 0x62, 0x1f, 0x0a, 0x0e, 0x0a, 0x0a, 0x41, 0x70, 0x69, 0x4b, 0x65, - 0x79, 0x41, 0x75, 0x74, 0x68, 0x12, 0x00, 0x0a, 0x0d, 0x0a, 0x09, 0x42, 0x61, 0x73, 0x69, 0x63, - 0x41, 0x75, 0x74, 0x68, 0x12, 0x00, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x49, 0x64, 0x70, 0x22, 0x2b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x25, + 0x1a, 0x20, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x33, 0x2f, 0x73, 0x73, 0x6f, 0x2f, 0x69, + 0x64, 0x70, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6e, 0x61, 0x6d, + 0x65, 0x7d, 0x3a, 0x01, 0x2a, 0x12, 0xa7, 0x01, 0x0a, 0x09, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x49, 0x64, 0x70, 0x12, 0x20, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, + 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, + 0x33, 0x2e, 0x49, 0x64, 0x70, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x60, 0x92, + 0x41, 0x35, 0x4a, 0x33, 0x0a, 0x03, 0x32, 0x30, 0x34, 0x12, 0x2c, 0x0a, 0x2a, 0x52, 0x65, 0x74, + 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x69, 0x64, 0x70, 0x20, 0x69, + 0x73, 0x20, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x20, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, + 0x73, 0x66, 0x75, 0x6c, 0x6c, 0x79, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x2a, 0x20, 0x2f, + 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x33, 0x2f, 0x73, 0x73, 0x6f, 0x2f, 0x69, 0x64, 0x70, 0x2f, + 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x42, + 0xda, 0x04, 0x0a, 0x1d, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, + 0x33, 0x42, 0x08, 0x49, 0x64, 0x70, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x34, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, + 0x73, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, + 0x72, 0x70, 0x63, 0x2f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x3b, 0x73, 0x79, 0x73, 0x74, 0x65, + 0x6d, 0x76, 0x33, 0xa2, 0x02, 0x04, 0x50, 0x44, 0x52, 0x53, 0xaa, 0x02, 0x19, 0x50, 0x61, 0x72, + 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x44, 0x65, 0x76, 0x2e, 0x52, 0x70, 0x63, 0x2e, 0x53, 0x79, 0x73, + 0x74, 0x65, 0x6d, 0x2e, 0x56, 0x33, 0xca, 0x02, 0x19, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, + 0x5c, 0x44, 0x65, 0x76, 0x5c, 0x52, 0x70, 0x63, 0x5c, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5c, + 0x56, 0x33, 0xe2, 0x02, 0x25, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x5c, 0x44, 0x65, 0x76, + 0x5c, 0x52, 0x70, 0x63, 0x5c, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5c, 0x56, 0x33, 0x5c, 0x47, + 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1d, 0x50, 0x61, 0x72, + 0x61, 0x6c, 0x75, 0x73, 0x3a, 0x3a, 0x44, 0x65, 0x76, 0x3a, 0x3a, 0x52, 0x70, 0x63, 0x3a, 0x3a, + 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x3a, 0x3a, 0x56, 0x33, 0x92, 0x41, 0xee, 0x02, 0x12, 0x35, + 0x0a, 0x1f, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x20, 0x50, 0x72, 0x6f, 0x76, 0x69, + 0x64, 0x65, 0x72, 0x20, 0x28, 0x49, 0x64, 0x50, 0x29, 0x20, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x22, 0x0d, 0x0a, 0x0b, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x20, 0x44, 0x65, 0x76, + 0x32, 0x03, 0x33, 0x2e, 0x30, 0x2a, 0x01, 0x02, 0x32, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x32, 0x10, 0x61, 0x70, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x10, 0x61, 0x70, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x10, + 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x79, 0x61, 0x6d, 0x6c, + 0x52, 0x50, 0x0a, 0x03, 0x34, 0x30, 0x33, 0x12, 0x49, 0x0a, 0x47, 0x52, 0x65, 0x74, 0x75, 0x72, + 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, + 0x72, 0x20, 0x64, 0x6f, 0x65, 0x73, 0x20, 0x6e, 0x6f, 0x74, 0x20, 0x68, 0x61, 0x76, 0x65, 0x20, + 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x20, 0x74, 0x6f, 0x20, 0x61, 0x63, + 0x63, 0x65, 0x73, 0x73, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x2e, 0x52, 0x3b, 0x0a, 0x03, 0x34, 0x30, 0x34, 0x12, 0x34, 0x0a, 0x2a, 0x52, 0x65, 0x74, + 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x20, 0x64, 0x6f, 0x65, 0x73, 0x20, 0x6e, 0x6f, 0x74, + 0x20, 0x65, 0x78, 0x69, 0x73, 0x74, 0x2e, 0x12, 0x06, 0x0a, 0x04, 0x9a, 0x02, 0x01, 0x07, 0x5a, + 0x3a, 0x0a, 0x27, 0x0a, 0x0a, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x12, + 0x19, 0x08, 0x02, 0x1a, 0x13, 0x58, 0x2d, 0x50, 0x41, 0x52, 0x41, 0x4c, 0x55, 0x53, 0x2d, 0x41, + 0x50, 0x49, 0x2d, 0x4b, 0x45, 0x59, 0x49, 0x44, 0x20, 0x02, 0x0a, 0x0f, 0x0a, 0x09, 0x42, 0x61, + 0x73, 0x69, 0x63, 0x41, 0x75, 0x74, 0x68, 0x12, 0x02, 0x08, 0x01, 0x62, 0x1f, 0x0a, 0x0e, 0x0a, + 0x0a, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x12, 0x00, 0x0a, 0x0d, 0x0a, + 0x09, 0x42, 0x61, 0x73, 0x69, 0x63, 0x41, 0x75, 0x74, 0x68, 0x12, 0x00, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, } var file_proto_rpc_system_idp_proto_goTypes = []interface{}{ @@ -125,16 +129,16 @@ var file_proto_rpc_system_idp_proto_goTypes = []interface{}{ (*v3.IdpList)(nil), // 2: paralus.dev.types.system.v3.IdpList } var file_proto_rpc_system_idp_proto_depIdxs = []int32{ - 0, // 0: paralus.dev.rpc.v3.Idp.CreateIdp:input_type -> paralus.dev.types.system.v3.Idp - 0, // 1: paralus.dev.rpc.v3.Idp.GetIdp:input_type -> paralus.dev.types.system.v3.Idp - 1, // 2: paralus.dev.rpc.v3.Idp.ListIdps:input_type -> google.protobuf.Empty - 0, // 3: paralus.dev.rpc.v3.Idp.UpdateIdp:input_type -> paralus.dev.types.system.v3.Idp - 0, // 4: paralus.dev.rpc.v3.Idp.DeleteIdp:input_type -> paralus.dev.types.system.v3.Idp - 0, // 5: paralus.dev.rpc.v3.Idp.CreateIdp:output_type -> paralus.dev.types.system.v3.Idp - 0, // 6: paralus.dev.rpc.v3.Idp.GetIdp:output_type -> paralus.dev.types.system.v3.Idp - 2, // 7: paralus.dev.rpc.v3.Idp.ListIdps:output_type -> paralus.dev.types.system.v3.IdpList - 0, // 8: paralus.dev.rpc.v3.Idp.UpdateIdp:output_type -> paralus.dev.types.system.v3.Idp - 1, // 9: paralus.dev.rpc.v3.Idp.DeleteIdp:output_type -> google.protobuf.Empty + 0, // 0: paralus.dev.rpc.system.v3.IdpService.CreateIdp:input_type -> paralus.dev.types.system.v3.Idp + 0, // 1: paralus.dev.rpc.system.v3.IdpService.GetIdp:input_type -> paralus.dev.types.system.v3.Idp + 1, // 2: paralus.dev.rpc.system.v3.IdpService.ListIdps:input_type -> google.protobuf.Empty + 0, // 3: paralus.dev.rpc.system.v3.IdpService.UpdateIdp:input_type -> paralus.dev.types.system.v3.Idp + 0, // 4: paralus.dev.rpc.system.v3.IdpService.DeleteIdp:input_type -> paralus.dev.types.system.v3.Idp + 0, // 5: paralus.dev.rpc.system.v3.IdpService.CreateIdp:output_type -> paralus.dev.types.system.v3.Idp + 0, // 6: paralus.dev.rpc.system.v3.IdpService.GetIdp:output_type -> paralus.dev.types.system.v3.Idp + 2, // 7: paralus.dev.rpc.system.v3.IdpService.ListIdps:output_type -> paralus.dev.types.system.v3.IdpList + 0, // 8: paralus.dev.rpc.system.v3.IdpService.UpdateIdp:output_type -> paralus.dev.types.system.v3.Idp + 1, // 9: paralus.dev.rpc.system.v3.IdpService.DeleteIdp:output_type -> google.protobuf.Empty 5, // [5:10] is the sub-list for method output_type 0, // [0:5] is the sub-list for method input_type 0, // [0:0] is the sub-list for extension type_name diff --git a/proto/rpc/system/idp.pb.gw.go b/proto/rpc/system/idp.pb.gw.go index 8b526750..eaffab7d 100644 --- a/proto/rpc/system/idp.pb.gw.go +++ b/proto/rpc/system/idp.pb.gw.go @@ -2,11 +2,11 @@ // source: proto/rpc/system/idp.proto /* -Package rpcv3 is a reverse proxy. +Package systemv3 is a reverse proxy. It translates gRPC into RESTful JSON APIs. */ -package rpcv3 +package systemv3 import ( "context" @@ -33,7 +33,7 @@ var _ = runtime.String var _ = utilities.NewDoubleArray var _ = metadata.Join -func request_Idp_CreateIdp_0(ctx context.Context, marshaler runtime.Marshaler, client IdpClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_IdpService_CreateIdp_0(ctx context.Context, marshaler runtime.Marshaler, client IdpServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq systemv3.Idp var metadata runtime.ServerMetadata @@ -50,7 +50,7 @@ func request_Idp_CreateIdp_0(ctx context.Context, marshaler runtime.Marshaler, c } -func local_request_Idp_CreateIdp_0(ctx context.Context, marshaler runtime.Marshaler, server IdpServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_IdpService_CreateIdp_0(ctx context.Context, marshaler runtime.Marshaler, server IdpServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq systemv3.Idp var metadata runtime.ServerMetadata @@ -68,10 +68,10 @@ func local_request_Idp_CreateIdp_0(ctx context.Context, marshaler runtime.Marsha } var ( - filter_Idp_GetIdp_0 = &utilities.DoubleArray{Encoding: map[string]int{"metadata": 0, "name": 1}, Base: []int{1, 1, 1, 0}, Check: []int{0, 1, 2, 3}} + filter_IdpService_GetIdp_0 = &utilities.DoubleArray{Encoding: map[string]int{"metadata": 0, "name": 1}, Base: []int{1, 1, 1, 0}, Check: []int{0, 1, 2, 3}} ) -func request_Idp_GetIdp_0(ctx context.Context, marshaler runtime.Marshaler, client IdpClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_IdpService_GetIdp_0(ctx context.Context, marshaler runtime.Marshaler, client IdpServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq systemv3.Idp var metadata runtime.ServerMetadata @@ -95,7 +95,7 @@ func request_Idp_GetIdp_0(ctx context.Context, marshaler runtime.Marshaler, clie if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Idp_GetIdp_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_IdpService_GetIdp_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -104,7 +104,7 @@ func request_Idp_GetIdp_0(ctx context.Context, marshaler runtime.Marshaler, clie } -func local_request_Idp_GetIdp_0(ctx context.Context, marshaler runtime.Marshaler, server IdpServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_IdpService_GetIdp_0(ctx context.Context, marshaler runtime.Marshaler, server IdpServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq systemv3.Idp var metadata runtime.ServerMetadata @@ -128,7 +128,7 @@ func local_request_Idp_GetIdp_0(ctx context.Context, marshaler runtime.Marshaler if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Idp_GetIdp_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_IdpService_GetIdp_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -137,7 +137,7 @@ func local_request_Idp_GetIdp_0(ctx context.Context, marshaler runtime.Marshaler } -func request_Idp_ListIdps_0(ctx context.Context, marshaler runtime.Marshaler, client IdpClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_IdpService_ListIdps_0(ctx context.Context, marshaler runtime.Marshaler, client IdpServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq emptypb.Empty var metadata runtime.ServerMetadata @@ -146,7 +146,7 @@ func request_Idp_ListIdps_0(ctx context.Context, marshaler runtime.Marshaler, cl } -func local_request_Idp_ListIdps_0(ctx context.Context, marshaler runtime.Marshaler, server IdpServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_IdpService_ListIdps_0(ctx context.Context, marshaler runtime.Marshaler, server IdpServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq emptypb.Empty var metadata runtime.ServerMetadata @@ -155,7 +155,7 @@ func local_request_Idp_ListIdps_0(ctx context.Context, marshaler runtime.Marshal } -func request_Idp_UpdateIdp_0(ctx context.Context, marshaler runtime.Marshaler, client IdpClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_IdpService_UpdateIdp_0(ctx context.Context, marshaler runtime.Marshaler, client IdpServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq systemv3.Idp var metadata runtime.ServerMetadata @@ -189,7 +189,7 @@ func request_Idp_UpdateIdp_0(ctx context.Context, marshaler runtime.Marshaler, c } -func local_request_Idp_UpdateIdp_0(ctx context.Context, marshaler runtime.Marshaler, server IdpServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_IdpService_UpdateIdp_0(ctx context.Context, marshaler runtime.Marshaler, server IdpServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq systemv3.Idp var metadata runtime.ServerMetadata @@ -224,10 +224,10 @@ func local_request_Idp_UpdateIdp_0(ctx context.Context, marshaler runtime.Marsha } var ( - filter_Idp_DeleteIdp_0 = &utilities.DoubleArray{Encoding: map[string]int{"metadata": 0, "name": 1}, Base: []int{1, 1, 1, 0}, Check: []int{0, 1, 2, 3}} + filter_IdpService_DeleteIdp_0 = &utilities.DoubleArray{Encoding: map[string]int{"metadata": 0, "name": 1}, Base: []int{1, 1, 1, 0}, Check: []int{0, 1, 2, 3}} ) -func request_Idp_DeleteIdp_0(ctx context.Context, marshaler runtime.Marshaler, client IdpClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_IdpService_DeleteIdp_0(ctx context.Context, marshaler runtime.Marshaler, client IdpServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq systemv3.Idp var metadata runtime.ServerMetadata @@ -251,7 +251,7 @@ func request_Idp_DeleteIdp_0(ctx context.Context, marshaler runtime.Marshaler, c if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Idp_DeleteIdp_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_IdpService_DeleteIdp_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -260,7 +260,7 @@ func request_Idp_DeleteIdp_0(ctx context.Context, marshaler runtime.Marshaler, c } -func local_request_Idp_DeleteIdp_0(ctx context.Context, marshaler runtime.Marshaler, server IdpServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_IdpService_DeleteIdp_0(ctx context.Context, marshaler runtime.Marshaler, server IdpServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq systemv3.Idp var metadata runtime.ServerMetadata @@ -284,7 +284,7 @@ func local_request_Idp_DeleteIdp_0(ctx context.Context, marshaler runtime.Marsha if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Idp_DeleteIdp_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_IdpService_DeleteIdp_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -293,133 +293,143 @@ func local_request_Idp_DeleteIdp_0(ctx context.Context, marshaler runtime.Marsha } -// RegisterIdpHandlerServer registers the http handlers for service Idp to "mux". -// UnaryRPC :call IdpServer directly. +// RegisterIdpServiceHandlerServer registers the http handlers for service IdpService to "mux". +// UnaryRPC :call IdpServiceServer directly. // StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. -// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterIdpHandlerFromEndpoint instead. -func RegisterIdpHandlerServer(ctx context.Context, mux *runtime.ServeMux, server IdpServer) error { +// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterIdpServiceHandlerFromEndpoint instead. +func RegisterIdpServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server IdpServiceServer) error { - mux.Handle("POST", pattern_Idp_CreateIdp_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("POST", pattern_IdpService_CreateIdp_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.v3.Idp/CreateIdp", runtime.WithHTTPPathPattern("/auth/v3/sso/idp")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.system.v3.IdpService/CreateIdp", runtime.WithHTTPPathPattern("/auth/v3/sso/idp")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Idp_CreateIdp_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_IdpService_CreateIdp_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Idp_CreateIdp_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_IdpService_CreateIdp_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Idp_GetIdp_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_IdpService_GetIdp_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.v3.Idp/GetIdp", runtime.WithHTTPPathPattern("/auth/v3/sso/idp/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.system.v3.IdpService/GetIdp", runtime.WithHTTPPathPattern("/auth/v3/sso/idp/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Idp_GetIdp_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_IdpService_GetIdp_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Idp_GetIdp_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_IdpService_GetIdp_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Idp_ListIdps_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_IdpService_ListIdps_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.v3.Idp/ListIdps", runtime.WithHTTPPathPattern("/auth/v3/sso/idp")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.system.v3.IdpService/ListIdps", runtime.WithHTTPPathPattern("/auth/v3/sso/idp")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Idp_ListIdps_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_IdpService_ListIdps_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Idp_ListIdps_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_IdpService_ListIdps_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("PUT", pattern_Idp_UpdateIdp_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("PUT", pattern_IdpService_UpdateIdp_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.v3.Idp/UpdateIdp", runtime.WithHTTPPathPattern("/auth/v3/sso/idp/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.system.v3.IdpService/UpdateIdp", runtime.WithHTTPPathPattern("/auth/v3/sso/idp/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Idp_UpdateIdp_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_IdpService_UpdateIdp_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Idp_UpdateIdp_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_IdpService_UpdateIdp_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("DELETE", pattern_Idp_DeleteIdp_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("DELETE", pattern_IdpService_DeleteIdp_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.v3.Idp/DeleteIdp", runtime.WithHTTPPathPattern("/auth/v3/sso/idp/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.system.v3.IdpService/DeleteIdp", runtime.WithHTTPPathPattern("/auth/v3/sso/idp/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Idp_DeleteIdp_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_IdpService_DeleteIdp_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Idp_DeleteIdp_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_IdpService_DeleteIdp_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) return nil } -// RegisterIdpHandlerFromEndpoint is same as RegisterIdpHandler but +// RegisterIdpServiceHandlerFromEndpoint is same as RegisterIdpServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. -func RegisterIdpHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { +func RegisterIdpServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { conn, err := grpc.Dial(endpoint, opts...) if err != nil { return err @@ -439,119 +449,129 @@ func RegisterIdpHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, }() }() - return RegisterIdpHandler(ctx, mux, conn) + return RegisterIdpServiceHandler(ctx, mux, conn) } -// RegisterIdpHandler registers the http handlers for service Idp to "mux". +// RegisterIdpServiceHandler registers the http handlers for service IdpService to "mux". // The handlers forward requests to the grpc endpoint over "conn". -func RegisterIdpHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { - return RegisterIdpHandlerClient(ctx, mux, NewIdpClient(conn)) +func RegisterIdpServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { + return RegisterIdpServiceHandlerClient(ctx, mux, NewIdpServiceClient(conn)) } -// RegisterIdpHandlerClient registers the http handlers for service Idp -// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "IdpClient". -// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "IdpClient" +// RegisterIdpServiceHandlerClient registers the http handlers for service IdpService +// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "IdpServiceClient". +// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "IdpServiceClient" // doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in -// "IdpClient" to call the correct interceptors. -func RegisterIdpHandlerClient(ctx context.Context, mux *runtime.ServeMux, client IdpClient) error { +// "IdpServiceClient" to call the correct interceptors. +func RegisterIdpServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client IdpServiceClient) error { - mux.Handle("POST", pattern_Idp_CreateIdp_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("POST", pattern_IdpService_CreateIdp_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.v3.Idp/CreateIdp", runtime.WithHTTPPathPattern("/auth/v3/sso/idp")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.system.v3.IdpService/CreateIdp", runtime.WithHTTPPathPattern("/auth/v3/sso/idp")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_Idp_CreateIdp_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_IdpService_CreateIdp_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Idp_CreateIdp_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_IdpService_CreateIdp_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Idp_GetIdp_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_IdpService_GetIdp_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.v3.Idp/GetIdp", runtime.WithHTTPPathPattern("/auth/v3/sso/idp/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.system.v3.IdpService/GetIdp", runtime.WithHTTPPathPattern("/auth/v3/sso/idp/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_Idp_GetIdp_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_IdpService_GetIdp_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Idp_GetIdp_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_IdpService_GetIdp_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Idp_ListIdps_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_IdpService_ListIdps_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.v3.Idp/ListIdps", runtime.WithHTTPPathPattern("/auth/v3/sso/idp")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.system.v3.IdpService/ListIdps", runtime.WithHTTPPathPattern("/auth/v3/sso/idp")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_Idp_ListIdps_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_IdpService_ListIdps_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Idp_ListIdps_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_IdpService_ListIdps_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("PUT", pattern_Idp_UpdateIdp_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("PUT", pattern_IdpService_UpdateIdp_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.v3.Idp/UpdateIdp", runtime.WithHTTPPathPattern("/auth/v3/sso/idp/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.system.v3.IdpService/UpdateIdp", runtime.WithHTTPPathPattern("/auth/v3/sso/idp/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_Idp_UpdateIdp_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_IdpService_UpdateIdp_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Idp_UpdateIdp_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_IdpService_UpdateIdp_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("DELETE", pattern_Idp_DeleteIdp_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("DELETE", pattern_IdpService_DeleteIdp_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.v3.Idp/DeleteIdp", runtime.WithHTTPPathPattern("/auth/v3/sso/idp/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.system.v3.IdpService/DeleteIdp", runtime.WithHTTPPathPattern("/auth/v3/sso/idp/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_Idp_DeleteIdp_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_IdpService_DeleteIdp_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Idp_DeleteIdp_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_IdpService_DeleteIdp_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) @@ -559,25 +579,25 @@ func RegisterIdpHandlerClient(ctx context.Context, mux *runtime.ServeMux, client } var ( - pattern_Idp_CreateIdp_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"auth", "v3", "sso", "idp"}, "")) + pattern_IdpService_CreateIdp_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"auth", "v3", "sso", "idp"}, "")) - pattern_Idp_GetIdp_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"auth", "v3", "sso", "idp", "metadata.name"}, "")) + pattern_IdpService_GetIdp_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"auth", "v3", "sso", "idp", "metadata.name"}, "")) - pattern_Idp_ListIdps_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"auth", "v3", "sso", "idp"}, "")) + pattern_IdpService_ListIdps_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"auth", "v3", "sso", "idp"}, "")) - pattern_Idp_UpdateIdp_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"auth", "v3", "sso", "idp", "metadata.name"}, "")) + pattern_IdpService_UpdateIdp_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"auth", "v3", "sso", "idp", "metadata.name"}, "")) - pattern_Idp_DeleteIdp_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"auth", "v3", "sso", "idp", "metadata.name"}, "")) + pattern_IdpService_DeleteIdp_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4}, []string{"auth", "v3", "sso", "idp", "metadata.name"}, "")) ) var ( - forward_Idp_CreateIdp_0 = runtime.ForwardResponseMessage + forward_IdpService_CreateIdp_0 = runtime.ForwardResponseMessage - forward_Idp_GetIdp_0 = runtime.ForwardResponseMessage + forward_IdpService_GetIdp_0 = runtime.ForwardResponseMessage - forward_Idp_ListIdps_0 = runtime.ForwardResponseMessage + forward_IdpService_ListIdps_0 = runtime.ForwardResponseMessage - forward_Idp_UpdateIdp_0 = runtime.ForwardResponseMessage + forward_IdpService_UpdateIdp_0 = runtime.ForwardResponseMessage - forward_Idp_DeleteIdp_0 = runtime.ForwardResponseMessage + forward_IdpService_DeleteIdp_0 = runtime.ForwardResponseMessage ) diff --git a/proto/rpc/system/idp.proto b/proto/rpc/system/idp.proto index 51017ce4..9a412fc3 100644 --- a/proto/rpc/system/idp.proto +++ b/proto/rpc/system/idp.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package paralus.dev.rpc.v3; +package paralus.dev.rpc.system.v3; import "google/api/annotations.proto"; import "protoc-gen-openapiv2/options/annotations.proto"; @@ -54,7 +54,7 @@ option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = { }; -service Idp { +service IdpService { rpc CreateIdp(paralus.dev.types.system.v3.Idp) returns (paralus.dev.types.system.v3.Idp) { option (google.api.http) = { post : "/auth/v3/sso/idp" @@ -105,5 +105,4 @@ service Idp { // TODO: endpooint /auth/v1/sso/idp/{name}/upload_metadata/ // file content as request payload and response is Idp -} - +} \ No newline at end of file diff --git a/proto/rpc/system/idp_grpc.pb.go b/proto/rpc/system/idp_grpc.pb.go index 78c6c78e..9c7b812e 100644 --- a/proto/rpc/system/idp_grpc.pb.go +++ b/proto/rpc/system/idp_grpc.pb.go @@ -4,7 +4,7 @@ // - protoc (unknown) // source: proto/rpc/system/idp.proto -package rpcv3 +package systemv3 import ( context "context" @@ -20,10 +20,10 @@ import ( // Requires gRPC-Go v1.32.0 or later. const _ = grpc.SupportPackageIsVersion7 -// IdpClient is the client API for Idp service. +// IdpServiceClient is the client API for IdpService service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. -type IdpClient interface { +type IdpServiceClient interface { CreateIdp(ctx context.Context, in *v3.Idp, opts ...grpc.CallOption) (*v3.Idp, error) GetIdp(ctx context.Context, in *v3.Idp, opts ...grpc.CallOption) (*v3.Idp, error) ListIdps(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*v3.IdpList, error) @@ -31,63 +31,63 @@ type IdpClient interface { DeleteIdp(ctx context.Context, in *v3.Idp, opts ...grpc.CallOption) (*emptypb.Empty, error) } -type idpClient struct { +type idpServiceClient struct { cc grpc.ClientConnInterface } -func NewIdpClient(cc grpc.ClientConnInterface) IdpClient { - return &idpClient{cc} +func NewIdpServiceClient(cc grpc.ClientConnInterface) IdpServiceClient { + return &idpServiceClient{cc} } -func (c *idpClient) CreateIdp(ctx context.Context, in *v3.Idp, opts ...grpc.CallOption) (*v3.Idp, error) { +func (c *idpServiceClient) CreateIdp(ctx context.Context, in *v3.Idp, opts ...grpc.CallOption) (*v3.Idp, error) { out := new(v3.Idp) - err := c.cc.Invoke(ctx, "/paralus.dev.rpc.v3.Idp/CreateIdp", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.rpc.system.v3.IdpService/CreateIdp", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *idpClient) GetIdp(ctx context.Context, in *v3.Idp, opts ...grpc.CallOption) (*v3.Idp, error) { +func (c *idpServiceClient) GetIdp(ctx context.Context, in *v3.Idp, opts ...grpc.CallOption) (*v3.Idp, error) { out := new(v3.Idp) - err := c.cc.Invoke(ctx, "/paralus.dev.rpc.v3.Idp/GetIdp", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.rpc.system.v3.IdpService/GetIdp", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *idpClient) ListIdps(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*v3.IdpList, error) { +func (c *idpServiceClient) ListIdps(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*v3.IdpList, error) { out := new(v3.IdpList) - err := c.cc.Invoke(ctx, "/paralus.dev.rpc.v3.Idp/ListIdps", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.rpc.system.v3.IdpService/ListIdps", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *idpClient) UpdateIdp(ctx context.Context, in *v3.Idp, opts ...grpc.CallOption) (*v3.Idp, error) { +func (c *idpServiceClient) UpdateIdp(ctx context.Context, in *v3.Idp, opts ...grpc.CallOption) (*v3.Idp, error) { out := new(v3.Idp) - err := c.cc.Invoke(ctx, "/paralus.dev.rpc.v3.Idp/UpdateIdp", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.rpc.system.v3.IdpService/UpdateIdp", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *idpClient) DeleteIdp(ctx context.Context, in *v3.Idp, opts ...grpc.CallOption) (*emptypb.Empty, error) { +func (c *idpServiceClient) DeleteIdp(ctx context.Context, in *v3.Idp, opts ...grpc.CallOption) (*emptypb.Empty, error) { out := new(emptypb.Empty) - err := c.cc.Invoke(ctx, "/paralus.dev.rpc.v3.Idp/DeleteIdp", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.rpc.system.v3.IdpService/DeleteIdp", in, out, opts...) if err != nil { return nil, err } return out, nil } -// IdpServer is the server API for Idp service. -// All implementations should embed UnimplementedIdpServer +// IdpServiceServer is the server API for IdpService service. +// All implementations should embed UnimplementedIdpServiceServer // for forward compatibility -type IdpServer interface { +type IdpServiceServer interface { CreateIdp(context.Context, *v3.Idp) (*v3.Idp, error) GetIdp(context.Context, *v3.Idp) (*v3.Idp, error) ListIdps(context.Context, *emptypb.Empty) (*v3.IdpList, error) @@ -95,153 +95,153 @@ type IdpServer interface { DeleteIdp(context.Context, *v3.Idp) (*emptypb.Empty, error) } -// UnimplementedIdpServer should be embedded to have forward compatible implementations. -type UnimplementedIdpServer struct { +// UnimplementedIdpServiceServer should be embedded to have forward compatible implementations. +type UnimplementedIdpServiceServer struct { } -func (UnimplementedIdpServer) CreateIdp(context.Context, *v3.Idp) (*v3.Idp, error) { +func (UnimplementedIdpServiceServer) CreateIdp(context.Context, *v3.Idp) (*v3.Idp, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateIdp not implemented") } -func (UnimplementedIdpServer) GetIdp(context.Context, *v3.Idp) (*v3.Idp, error) { +func (UnimplementedIdpServiceServer) GetIdp(context.Context, *v3.Idp) (*v3.Idp, error) { return nil, status.Errorf(codes.Unimplemented, "method GetIdp not implemented") } -func (UnimplementedIdpServer) ListIdps(context.Context, *emptypb.Empty) (*v3.IdpList, error) { +func (UnimplementedIdpServiceServer) ListIdps(context.Context, *emptypb.Empty) (*v3.IdpList, error) { return nil, status.Errorf(codes.Unimplemented, "method ListIdps not implemented") } -func (UnimplementedIdpServer) UpdateIdp(context.Context, *v3.Idp) (*v3.Idp, error) { +func (UnimplementedIdpServiceServer) UpdateIdp(context.Context, *v3.Idp) (*v3.Idp, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateIdp not implemented") } -func (UnimplementedIdpServer) DeleteIdp(context.Context, *v3.Idp) (*emptypb.Empty, error) { +func (UnimplementedIdpServiceServer) DeleteIdp(context.Context, *v3.Idp) (*emptypb.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteIdp not implemented") } -// UnsafeIdpServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to IdpServer will +// UnsafeIdpServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to IdpServiceServer will // result in compilation errors. -type UnsafeIdpServer interface { - mustEmbedUnimplementedIdpServer() +type UnsafeIdpServiceServer interface { + mustEmbedUnimplementedIdpServiceServer() } -func RegisterIdpServer(s grpc.ServiceRegistrar, srv IdpServer) { - s.RegisterService(&Idp_ServiceDesc, srv) +func RegisterIdpServiceServer(s grpc.ServiceRegistrar, srv IdpServiceServer) { + s.RegisterService(&IdpService_ServiceDesc, srv) } -func _Idp_CreateIdp_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _IdpService_CreateIdp_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v3.Idp) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(IdpServer).CreateIdp(ctx, in) + return srv.(IdpServiceServer).CreateIdp(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.rpc.v3.Idp/CreateIdp", + FullMethod: "/paralus.dev.rpc.system.v3.IdpService/CreateIdp", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(IdpServer).CreateIdp(ctx, req.(*v3.Idp)) + return srv.(IdpServiceServer).CreateIdp(ctx, req.(*v3.Idp)) } return interceptor(ctx, in, info, handler) } -func _Idp_GetIdp_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _IdpService_GetIdp_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v3.Idp) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(IdpServer).GetIdp(ctx, in) + return srv.(IdpServiceServer).GetIdp(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.rpc.v3.Idp/GetIdp", + FullMethod: "/paralus.dev.rpc.system.v3.IdpService/GetIdp", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(IdpServer).GetIdp(ctx, req.(*v3.Idp)) + return srv.(IdpServiceServer).GetIdp(ctx, req.(*v3.Idp)) } return interceptor(ctx, in, info, handler) } -func _Idp_ListIdps_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _IdpService_ListIdps_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(emptypb.Empty) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(IdpServer).ListIdps(ctx, in) + return srv.(IdpServiceServer).ListIdps(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.rpc.v3.Idp/ListIdps", + FullMethod: "/paralus.dev.rpc.system.v3.IdpService/ListIdps", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(IdpServer).ListIdps(ctx, req.(*emptypb.Empty)) + return srv.(IdpServiceServer).ListIdps(ctx, req.(*emptypb.Empty)) } return interceptor(ctx, in, info, handler) } -func _Idp_UpdateIdp_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _IdpService_UpdateIdp_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v3.Idp) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(IdpServer).UpdateIdp(ctx, in) + return srv.(IdpServiceServer).UpdateIdp(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.rpc.v3.Idp/UpdateIdp", + FullMethod: "/paralus.dev.rpc.system.v3.IdpService/UpdateIdp", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(IdpServer).UpdateIdp(ctx, req.(*v3.Idp)) + return srv.(IdpServiceServer).UpdateIdp(ctx, req.(*v3.Idp)) } return interceptor(ctx, in, info, handler) } -func _Idp_DeleteIdp_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _IdpService_DeleteIdp_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v3.Idp) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(IdpServer).DeleteIdp(ctx, in) + return srv.(IdpServiceServer).DeleteIdp(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.rpc.v3.Idp/DeleteIdp", + FullMethod: "/paralus.dev.rpc.system.v3.IdpService/DeleteIdp", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(IdpServer).DeleteIdp(ctx, req.(*v3.Idp)) + return srv.(IdpServiceServer).DeleteIdp(ctx, req.(*v3.Idp)) } return interceptor(ctx, in, info, handler) } -// Idp_ServiceDesc is the grpc.ServiceDesc for Idp service. +// IdpService_ServiceDesc is the grpc.ServiceDesc for IdpService service. // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) -var Idp_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "paralus.dev.rpc.v3.Idp", - HandlerType: (*IdpServer)(nil), +var IdpService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "paralus.dev.rpc.system.v3.IdpService", + HandlerType: (*IdpServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateIdp", - Handler: _Idp_CreateIdp_Handler, + Handler: _IdpService_CreateIdp_Handler, }, { MethodName: "GetIdp", - Handler: _Idp_GetIdp_Handler, + Handler: _IdpService_GetIdp_Handler, }, { MethodName: "ListIdps", - Handler: _Idp_ListIdps_Handler, + Handler: _IdpService_ListIdps_Handler, }, { MethodName: "UpdateIdp", - Handler: _Idp_UpdateIdp_Handler, + Handler: _IdpService_UpdateIdp_Handler, }, { MethodName: "DeleteIdp", - Handler: _Idp_DeleteIdp_Handler, + Handler: _IdpService_DeleteIdp_Handler, }, }, Streams: []grpc.StreamDesc{}, diff --git a/proto/rpc/system/internal.go b/proto/rpc/system/internal.go index 90ae245d..829e798a 100644 --- a/proto/rpc/system/internal.go +++ b/proto/rpc/system/internal.go @@ -1,4 +1,4 @@ -package rpcv3 +package systemv3 import ( "context" @@ -12,16 +12,16 @@ import ( type SystemClient interface { Unhealthy() Close() error - ProjectClient - OrganizationClient - PartnerClient + ProjectServiceClient + OrganizationServiceClient + PartnerServiceClient } type systemClient struct { *grpcpool.ClientConn - *projectClient - *organizationClient - *partnerClient + *projectServiceClient + *organizationServiceClient + *partnerServiceClient } var _ SystemClient = (*systemClient)(nil) @@ -56,9 +56,9 @@ func (p *systemPool) NewClient(ctx context.Context) (SystemClient, error) { } return &systemClient{ cc, - &projectClient{cc.ClientConn}, - &organizationClient{cc.ClientConn}, - &partnerClient{cc.ClientConn}, + &projectServiceClient{cc.ClientConn}, + &organizationServiceClient{cc.ClientConn}, + &partnerServiceClient{cc.ClientConn}, }, nil } diff --git a/proto/rpc/system/metro.pb.go b/proto/rpc/system/metro.pb.go index 8485d158..26e09078 100644 --- a/proto/rpc/system/metro.pb.go +++ b/proto/rpc/system/metro.pb.go @@ -1,10 +1,10 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.27.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: proto/rpc/system/metro.proto -package rpcv3 +package systemv3 import ( _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" @@ -26,110 +26,113 @@ var File_proto_rpc_system_metro_proto protoreflect.FileDescriptor var file_proto_rpc_system_metro_proto_rawDesc = []byte{ 0x0a, 0x1c, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x79, 0x73, 0x74, - 0x65, 0x6d, 0x2f, 0x6d, 0x65, 0x74, 0x72, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, + 0x65, 0x6d, 0x2f, 0x6d, 0x65, 0x74, 0x72, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x72, 0x70, 0x63, 0x2e, - 0x76, 0x33, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, - 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x6f, 0x70, 0x65, - 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, - 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x1a, 0x24, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x69, 0x6e, - 0x66, 0x72, 0x61, 0x70, 0x62, 0x2f, 0x76, 0x33, 0x2f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0xac, 0x07, 0x0a, 0x08, 0x4c, 0x6f, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0xd3, 0x01, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x69, 0x6e, 0x66, 0x72, 0x61, - 0x2e, 0x76, 0x33, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x24, 0x2e, 0x70, - 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, - 0x2e, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2e, 0x76, 0x33, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x22, 0x75, 0x92, 0x41, 0x3a, 0x4a, 0x38, 0x0a, 0x03, 0x32, 0x30, 0x31, 0x12, 0x31, - 0x0a, 0x2f, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, - 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x69, 0x73, 0x20, 0x63, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x64, 0x20, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x66, 0x75, 0x6c, 0x6c, 0x79, - 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x32, 0x22, 0x2d, 0x2f, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2f, - 0x76, 0x33, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x7d, 0x2f, 0x6c, 0x6f, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x01, 0x2a, 0x12, 0x95, 0x01, 0x0a, 0x0c, 0x47, 0x65, - 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x24, 0x2e, 0x70, 0x61, 0x72, + 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, + 0x67, 0x65, 0x6e, 0x2d, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x6f, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, + 0x79, 0x70, 0x65, 0x73, 0x2f, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x70, 0x62, 0x2f, 0x76, 0x33, 0x2f, + 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0xb3, 0x07, + 0x0a, 0x0f, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x12, 0xd3, 0x01, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2e, 0x76, + 0x33, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x24, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2e, 0x76, 0x33, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x1a, 0x28, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, - 0x79, 0x70, 0x65, 0x73, 0x2e, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2e, 0x76, 0x33, 0x2e, 0x4c, 0x6f, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x35, 0x82, 0xd3, 0xe4, 0x93, - 0x02, 0x2f, 0x12, 0x2d, 0x2f, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x61, - 0x72, 0x74, 0x6e, 0x65, 0x72, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, - 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x12, 0xa0, 0x01, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x12, 0x24, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2e, 0x76, 0x33, 0x2e, 0x4c, - 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x24, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, - 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x69, 0x6e, 0x66, 0x72, - 0x61, 0x2e, 0x76, 0x33, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x45, 0x82, - 0xd3, 0xe4, 0x93, 0x02, 0x3f, 0x12, 0x3d, 0x2f, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2f, 0x76, 0x33, + 0x22, 0x75, 0x92, 0x41, 0x3a, 0x4a, 0x38, 0x0a, 0x03, 0x32, 0x30, 0x31, 0x12, 0x31, 0x0a, 0x2f, + 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x6c, 0x6f, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x69, 0x73, 0x20, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x64, 0x20, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x66, 0x75, 0x6c, 0x6c, 0x79, 0x2e, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x32, 0x22, 0x2d, 0x2f, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6e, - 0x61, 0x6d, 0x65, 0x7d, 0x12, 0xa6, 0x01, 0x0a, 0x0e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, - 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, - 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x69, 0x6e, 0x66, 0x72, - 0x61, 0x2e, 0x76, 0x33, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x24, 0x2e, - 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, - 0x73, 0x2e, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2e, 0x76, 0x33, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x22, 0x48, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x42, 0x1a, 0x3d, 0x2f, 0x69, 0x6e, - 0x66, 0x72, 0x61, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x2f, 0x7b, - 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, - 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x3a, 0x01, 0x2a, 0x12, 0xe5, 0x01, - 0x0a, 0x0e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x12, 0x24, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, - 0x79, 0x70, 0x65, 0x73, 0x2e, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2e, 0x76, 0x33, 0x2e, 0x4c, 0x6f, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x24, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x69, 0x6e, 0x66, 0x72, 0x61, - 0x2e, 0x76, 0x33, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x86, 0x01, 0x92, - 0x41, 0x3e, 0x4a, 0x3c, 0x0a, 0x03, 0x32, 0x30, 0x34, 0x12, 0x35, 0x0a, 0x33, 0x52, 0x65, 0x74, - 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x6f, 0x72, 0x67, 0x61, 0x6e, - 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x69, 0x73, 0x20, 0x64, 0x65, 0x6c, 0x65, 0x74, - 0x65, 0x64, 0x20, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x66, 0x75, 0x6c, 0x6c, 0x79, 0x2e, - 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3f, 0x2a, 0x3d, 0x2f, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2f, 0x76, - 0x33, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, - 0x61, 0x74, 0x61, 0x2e, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, - 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x42, 0xa5, 0x04, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x61, - 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x33, - 0x42, 0x0a, 0x4d, 0x65, 0x74, 0x72, 0x6f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x31, - 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6c, - 0x75, 0x73, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x3b, 0x72, 0x70, 0x63, 0x76, - 0x33, 0xa2, 0x02, 0x03, 0x50, 0x44, 0x52, 0xaa, 0x02, 0x12, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, - 0x73, 0x2e, 0x44, 0x65, 0x76, 0x2e, 0x52, 0x70, 0x63, 0x2e, 0x56, 0x33, 0xca, 0x02, 0x12, 0x50, - 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x5c, 0x44, 0x65, 0x76, 0x5c, 0x52, 0x70, 0x63, 0x5c, 0x56, - 0x33, 0xe2, 0x02, 0x1e, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x5c, 0x44, 0x65, 0x76, 0x5c, - 0x52, 0x70, 0x63, 0x5c, 0x56, 0x33, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0xea, 0x02, 0x15, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x3a, 0x3a, 0x44, 0x65, - 0x76, 0x3a, 0x3a, 0x52, 0x70, 0x63, 0x3a, 0x3a, 0x56, 0x33, 0x92, 0x41, 0xdf, 0x02, 0x12, 0x26, - 0x0a, 0x10, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x53, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x22, 0x0d, 0x0a, 0x0b, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x20, 0x44, 0x65, - 0x76, 0x32, 0x03, 0x33, 0x2e, 0x30, 0x2a, 0x01, 0x02, 0x32, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x32, 0x10, 0x61, 0x70, 0x70, - 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x10, 0x61, - 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, - 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x79, 0x61, 0x6d, - 0x6c, 0x52, 0x50, 0x0a, 0x03, 0x34, 0x30, 0x33, 0x12, 0x49, 0x0a, 0x47, 0x52, 0x65, 0x74, 0x75, - 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, - 0x65, 0x72, 0x20, 0x64, 0x6f, 0x65, 0x73, 0x20, 0x6e, 0x6f, 0x74, 0x20, 0x68, 0x61, 0x76, 0x65, - 0x20, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x20, 0x74, 0x6f, 0x20, 0x61, - 0x63, 0x63, 0x65, 0x73, 0x73, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x2e, 0x52, 0x3b, 0x0a, 0x03, 0x34, 0x30, 0x34, 0x12, 0x34, 0x0a, 0x2a, 0x52, 0x65, - 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, - 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x20, 0x64, 0x6f, 0x65, 0x73, 0x20, 0x6e, 0x6f, - 0x74, 0x20, 0x65, 0x78, 0x69, 0x73, 0x74, 0x2e, 0x12, 0x06, 0x0a, 0x04, 0x9a, 0x02, 0x01, 0x07, - 0x5a, 0x3a, 0x0a, 0x27, 0x0a, 0x0a, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, - 0x12, 0x19, 0x08, 0x02, 0x1a, 0x13, 0x58, 0x2d, 0x50, 0x41, 0x52, 0x41, 0x4c, 0x55, 0x53, 0x2d, - 0x41, 0x50, 0x49, 0x2d, 0x4b, 0x45, 0x59, 0x49, 0x44, 0x20, 0x02, 0x0a, 0x0f, 0x0a, 0x09, 0x42, - 0x61, 0x73, 0x69, 0x63, 0x41, 0x75, 0x74, 0x68, 0x12, 0x02, 0x08, 0x01, 0x62, 0x1f, 0x0a, 0x0e, - 0x0a, 0x0a, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x12, 0x00, 0x0a, 0x0d, - 0x0a, 0x09, 0x42, 0x61, 0x73, 0x69, 0x63, 0x41, 0x75, 0x74, 0x68, 0x12, 0x00, 0x62, 0x06, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x01, 0x2a, 0x12, 0x95, 0x01, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x4c, + 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x24, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, + 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x69, 0x6e, 0x66, + 0x72, 0x61, 0x2e, 0x76, 0x33, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x28, + 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, + 0x65, 0x73, 0x2e, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2e, 0x76, 0x33, 0x2e, 0x4c, 0x6f, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x35, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2f, + 0x12, 0x2d, 0x2f, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x61, 0x72, 0x74, + 0x6e, 0x65, 0x72, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x61, + 0x72, 0x74, 0x6e, 0x65, 0x72, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, + 0xa0, 0x01, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, + 0x24, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, + 0x70, 0x65, 0x73, 0x2e, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2e, 0x76, 0x33, 0x2e, 0x4c, 0x6f, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x24, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2e, + 0x76, 0x33, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x45, 0x82, 0xd3, 0xe4, + 0x93, 0x02, 0x3f, 0x12, 0x3d, 0x2f, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2f, 0x76, 0x33, 0x2f, 0x70, + 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6e, 0x61, 0x6d, + 0x65, 0x7d, 0x12, 0xa6, 0x01, 0x0a, 0x0e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2e, + 0x76, 0x33, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x24, 0x2e, 0x70, 0x61, + 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, + 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2e, 0x76, 0x33, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x22, 0x48, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x42, 0x1a, 0x3d, 0x2f, 0x69, 0x6e, 0x66, 0x72, + 0x61, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x2f, 0x7b, 0x6d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x7d, 0x2f, + 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x3a, 0x01, 0x2a, 0x12, 0xe5, 0x01, 0x0a, 0x0e, + 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x24, + 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, + 0x65, 0x73, 0x2e, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2e, 0x76, 0x33, 0x2e, 0x4c, 0x6f, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x24, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2e, 0x76, + 0x33, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x86, 0x01, 0x92, 0x41, 0x3e, + 0x4a, 0x3c, 0x0a, 0x03, 0x32, 0x30, 0x34, 0x12, 0x35, 0x0a, 0x33, 0x52, 0x65, 0x74, 0x75, 0x72, + 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x69, 0x73, 0x20, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, + 0x20, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x66, 0x75, 0x6c, 0x6c, 0x79, 0x2e, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x3f, 0x2a, 0x3d, 0x2f, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2f, 0x76, 0x33, 0x2f, + 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x2e, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6e, 0x61, + 0x6d, 0x65, 0x7d, 0x42, 0xcd, 0x04, 0x0a, 0x1d, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x61, 0x72, 0x61, + 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x73, 0x79, 0x73, 0x74, + 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x42, 0x0a, 0x4d, 0x65, 0x74, 0x72, 0x6f, 0x50, 0x72, 0x6f, 0x74, + 0x6f, 0x50, 0x01, 0x5a, 0x34, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, + 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, + 0x3b, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x76, 0x33, 0xa2, 0x02, 0x04, 0x50, 0x44, 0x52, 0x53, + 0xaa, 0x02, 0x19, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x44, 0x65, 0x76, 0x2e, 0x52, + 0x70, 0x63, 0x2e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x56, 0x33, 0xca, 0x02, 0x19, 0x50, + 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x5c, 0x44, 0x65, 0x76, 0x5c, 0x52, 0x70, 0x63, 0x5c, 0x53, + 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5c, 0x56, 0x33, 0xe2, 0x02, 0x25, 0x50, 0x61, 0x72, 0x61, 0x6c, + 0x75, 0x73, 0x5c, 0x44, 0x65, 0x76, 0x5c, 0x52, 0x70, 0x63, 0x5c, 0x53, 0x79, 0x73, 0x74, 0x65, + 0x6d, 0x5c, 0x56, 0x33, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0xea, 0x02, 0x1d, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x3a, 0x3a, 0x44, 0x65, 0x76, 0x3a, + 0x3a, 0x52, 0x70, 0x63, 0x3a, 0x3a, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x3a, 0x3a, 0x56, 0x33, + 0x92, 0x41, 0xdf, 0x02, 0x12, 0x26, 0x0a, 0x10, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x20, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x22, 0x0d, 0x0a, 0x0b, 0x50, 0x61, 0x72, 0x61, + 0x6c, 0x75, 0x73, 0x20, 0x44, 0x65, 0x76, 0x32, 0x03, 0x33, 0x2e, 0x30, 0x2a, 0x01, 0x02, 0x32, + 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, + 0x6e, 0x32, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x79, + 0x61, 0x6d, 0x6c, 0x3a, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x2f, 0x79, 0x61, 0x6d, 0x6c, 0x52, 0x50, 0x0a, 0x03, 0x34, 0x30, 0x33, 0x12, 0x49, + 0x0a, 0x47, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, + 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x64, 0x6f, 0x65, 0x73, 0x20, 0x6e, 0x6f, + 0x74, 0x20, 0x68, 0x61, 0x76, 0x65, 0x20, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x20, 0x74, 0x6f, 0x20, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x20, 0x74, 0x68, 0x65, 0x20, + 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x52, 0x3b, 0x0a, 0x03, 0x34, 0x30, 0x34, + 0x12, 0x34, 0x0a, 0x2a, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, + 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x20, 0x64, + 0x6f, 0x65, 0x73, 0x20, 0x6e, 0x6f, 0x74, 0x20, 0x65, 0x78, 0x69, 0x73, 0x74, 0x2e, 0x12, 0x06, + 0x0a, 0x04, 0x9a, 0x02, 0x01, 0x07, 0x5a, 0x3a, 0x0a, 0x27, 0x0a, 0x0a, 0x41, 0x70, 0x69, 0x4b, + 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x12, 0x19, 0x08, 0x02, 0x1a, 0x13, 0x58, 0x2d, 0x50, 0x41, + 0x52, 0x41, 0x4c, 0x55, 0x53, 0x2d, 0x41, 0x50, 0x49, 0x2d, 0x4b, 0x45, 0x59, 0x49, 0x44, 0x20, + 0x02, 0x0a, 0x0f, 0x0a, 0x09, 0x42, 0x61, 0x73, 0x69, 0x63, 0x41, 0x75, 0x74, 0x68, 0x12, 0x02, + 0x08, 0x01, 0x62, 0x1f, 0x0a, 0x0e, 0x0a, 0x0a, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x41, 0x75, + 0x74, 0x68, 0x12, 0x00, 0x0a, 0x0d, 0x0a, 0x09, 0x42, 0x61, 0x73, 0x69, 0x63, 0x41, 0x75, 0x74, + 0x68, 0x12, 0x00, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var file_proto_rpc_system_metro_proto_goTypes = []interface{}{ @@ -137,16 +140,16 @@ var file_proto_rpc_system_metro_proto_goTypes = []interface{}{ (*v3.LocationList)(nil), // 1: paralus.dev.types.infra.v3.LocationList } var file_proto_rpc_system_metro_proto_depIdxs = []int32{ - 0, // 0: paralus.dev.rpc.v3.Location.CreateLocation:input_type -> paralus.dev.types.infra.v3.Location - 0, // 1: paralus.dev.rpc.v3.Location.GetLocations:input_type -> paralus.dev.types.infra.v3.Location - 0, // 2: paralus.dev.rpc.v3.Location.GetLocation:input_type -> paralus.dev.types.infra.v3.Location - 0, // 3: paralus.dev.rpc.v3.Location.UpdateLocation:input_type -> paralus.dev.types.infra.v3.Location - 0, // 4: paralus.dev.rpc.v3.Location.DeleteLocation:input_type -> paralus.dev.types.infra.v3.Location - 0, // 5: paralus.dev.rpc.v3.Location.CreateLocation:output_type -> paralus.dev.types.infra.v3.Location - 1, // 6: paralus.dev.rpc.v3.Location.GetLocations:output_type -> paralus.dev.types.infra.v3.LocationList - 0, // 7: paralus.dev.rpc.v3.Location.GetLocation:output_type -> paralus.dev.types.infra.v3.Location - 0, // 8: paralus.dev.rpc.v3.Location.UpdateLocation:output_type -> paralus.dev.types.infra.v3.Location - 0, // 9: paralus.dev.rpc.v3.Location.DeleteLocation:output_type -> paralus.dev.types.infra.v3.Location + 0, // 0: paralus.dev.rpc.system.v3.LocationService.CreateLocation:input_type -> paralus.dev.types.infra.v3.Location + 0, // 1: paralus.dev.rpc.system.v3.LocationService.GetLocations:input_type -> paralus.dev.types.infra.v3.Location + 0, // 2: paralus.dev.rpc.system.v3.LocationService.GetLocation:input_type -> paralus.dev.types.infra.v3.Location + 0, // 3: paralus.dev.rpc.system.v3.LocationService.UpdateLocation:input_type -> paralus.dev.types.infra.v3.Location + 0, // 4: paralus.dev.rpc.system.v3.LocationService.DeleteLocation:input_type -> paralus.dev.types.infra.v3.Location + 0, // 5: paralus.dev.rpc.system.v3.LocationService.CreateLocation:output_type -> paralus.dev.types.infra.v3.Location + 1, // 6: paralus.dev.rpc.system.v3.LocationService.GetLocations:output_type -> paralus.dev.types.infra.v3.LocationList + 0, // 7: paralus.dev.rpc.system.v3.LocationService.GetLocation:output_type -> paralus.dev.types.infra.v3.Location + 0, // 8: paralus.dev.rpc.system.v3.LocationService.UpdateLocation:output_type -> paralus.dev.types.infra.v3.Location + 0, // 9: paralus.dev.rpc.system.v3.LocationService.DeleteLocation:output_type -> paralus.dev.types.infra.v3.Location 5, // [5:10] is the sub-list for method output_type 0, // [0:5] is the sub-list for method input_type 0, // [0:0] is the sub-list for extension type_name diff --git a/proto/rpc/system/metro.pb.gw.go b/proto/rpc/system/metro.pb.gw.go index 9664c052..b8e85f70 100644 --- a/proto/rpc/system/metro.pb.gw.go +++ b/proto/rpc/system/metro.pb.gw.go @@ -2,11 +2,11 @@ // source: proto/rpc/system/metro.proto /* -Package rpcv3 is a reverse proxy. +Package systemv3 is a reverse proxy. It translates gRPC into RESTful JSON APIs. */ -package rpcv3 +package systemv3 import ( "context" @@ -32,7 +32,7 @@ var _ = runtime.String var _ = utilities.NewDoubleArray var _ = metadata.Join -func request_Location_CreateLocation_0(ctx context.Context, marshaler runtime.Marshaler, client LocationClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_LocationService_CreateLocation_0(ctx context.Context, marshaler runtime.Marshaler, client LocationServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq infrav3.Location var metadata runtime.ServerMetadata @@ -66,7 +66,7 @@ func request_Location_CreateLocation_0(ctx context.Context, marshaler runtime.Ma } -func local_request_Location_CreateLocation_0(ctx context.Context, marshaler runtime.Marshaler, server LocationServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_LocationService_CreateLocation_0(ctx context.Context, marshaler runtime.Marshaler, server LocationServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq infrav3.Location var metadata runtime.ServerMetadata @@ -101,10 +101,10 @@ func local_request_Location_CreateLocation_0(ctx context.Context, marshaler runt } var ( - filter_Location_GetLocations_0 = &utilities.DoubleArray{Encoding: map[string]int{"metadata": 0, "partner": 1}, Base: []int{1, 1, 1, 0}, Check: []int{0, 1, 2, 3}} + filter_LocationService_GetLocations_0 = &utilities.DoubleArray{Encoding: map[string]int{"metadata": 0, "partner": 1}, Base: []int{1, 1, 1, 0}, Check: []int{0, 1, 2, 3}} ) -func request_Location_GetLocations_0(ctx context.Context, marshaler runtime.Marshaler, client LocationClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_LocationService_GetLocations_0(ctx context.Context, marshaler runtime.Marshaler, client LocationServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq infrav3.Location var metadata runtime.ServerMetadata @@ -128,7 +128,7 @@ func request_Location_GetLocations_0(ctx context.Context, marshaler runtime.Mars if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Location_GetLocations_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_LocationService_GetLocations_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -137,7 +137,7 @@ func request_Location_GetLocations_0(ctx context.Context, marshaler runtime.Mars } -func local_request_Location_GetLocations_0(ctx context.Context, marshaler runtime.Marshaler, server LocationServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_LocationService_GetLocations_0(ctx context.Context, marshaler runtime.Marshaler, server LocationServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq infrav3.Location var metadata runtime.ServerMetadata @@ -161,7 +161,7 @@ func local_request_Location_GetLocations_0(ctx context.Context, marshaler runtim if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Location_GetLocations_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_LocationService_GetLocations_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -171,10 +171,10 @@ func local_request_Location_GetLocations_0(ctx context.Context, marshaler runtim } var ( - filter_Location_GetLocation_0 = &utilities.DoubleArray{Encoding: map[string]int{"metadata": 0, "partner": 1, "name": 2}, Base: []int{1, 1, 1, 2, 0, 0}, Check: []int{0, 1, 2, 2, 3, 4}} + filter_LocationService_GetLocation_0 = &utilities.DoubleArray{Encoding: map[string]int{"metadata": 0, "partner": 1, "name": 2}, Base: []int{1, 1, 1, 2, 0, 0}, Check: []int{0, 1, 2, 2, 3, 4}} ) -func request_Location_GetLocation_0(ctx context.Context, marshaler runtime.Marshaler, client LocationClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_LocationService_GetLocation_0(ctx context.Context, marshaler runtime.Marshaler, client LocationServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq infrav3.Location var metadata runtime.ServerMetadata @@ -208,7 +208,7 @@ func request_Location_GetLocation_0(ctx context.Context, marshaler runtime.Marsh if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Location_GetLocation_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_LocationService_GetLocation_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -217,7 +217,7 @@ func request_Location_GetLocation_0(ctx context.Context, marshaler runtime.Marsh } -func local_request_Location_GetLocation_0(ctx context.Context, marshaler runtime.Marshaler, server LocationServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_LocationService_GetLocation_0(ctx context.Context, marshaler runtime.Marshaler, server LocationServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq infrav3.Location var metadata runtime.ServerMetadata @@ -251,7 +251,7 @@ func local_request_Location_GetLocation_0(ctx context.Context, marshaler runtime if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Location_GetLocation_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_LocationService_GetLocation_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -260,7 +260,7 @@ func local_request_Location_GetLocation_0(ctx context.Context, marshaler runtime } -func request_Location_UpdateLocation_0(ctx context.Context, marshaler runtime.Marshaler, client LocationClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_LocationService_UpdateLocation_0(ctx context.Context, marshaler runtime.Marshaler, client LocationServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq infrav3.Location var metadata runtime.ServerMetadata @@ -304,7 +304,7 @@ func request_Location_UpdateLocation_0(ctx context.Context, marshaler runtime.Ma } -func local_request_Location_UpdateLocation_0(ctx context.Context, marshaler runtime.Marshaler, server LocationServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_LocationService_UpdateLocation_0(ctx context.Context, marshaler runtime.Marshaler, server LocationServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq infrav3.Location var metadata runtime.ServerMetadata @@ -349,10 +349,10 @@ func local_request_Location_UpdateLocation_0(ctx context.Context, marshaler runt } var ( - filter_Location_DeleteLocation_0 = &utilities.DoubleArray{Encoding: map[string]int{"metadata": 0, "partner": 1, "name": 2}, Base: []int{1, 1, 1, 2, 0, 0}, Check: []int{0, 1, 2, 2, 3, 4}} + filter_LocationService_DeleteLocation_0 = &utilities.DoubleArray{Encoding: map[string]int{"metadata": 0, "partner": 1, "name": 2}, Base: []int{1, 1, 1, 2, 0, 0}, Check: []int{0, 1, 2, 2, 3, 4}} ) -func request_Location_DeleteLocation_0(ctx context.Context, marshaler runtime.Marshaler, client LocationClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_LocationService_DeleteLocation_0(ctx context.Context, marshaler runtime.Marshaler, client LocationServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq infrav3.Location var metadata runtime.ServerMetadata @@ -386,7 +386,7 @@ func request_Location_DeleteLocation_0(ctx context.Context, marshaler runtime.Ma if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Location_DeleteLocation_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_LocationService_DeleteLocation_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -395,7 +395,7 @@ func request_Location_DeleteLocation_0(ctx context.Context, marshaler runtime.Ma } -func local_request_Location_DeleteLocation_0(ctx context.Context, marshaler runtime.Marshaler, server LocationServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_LocationService_DeleteLocation_0(ctx context.Context, marshaler runtime.Marshaler, server LocationServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq infrav3.Location var metadata runtime.ServerMetadata @@ -429,7 +429,7 @@ func local_request_Location_DeleteLocation_0(ctx context.Context, marshaler runt if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Location_DeleteLocation_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_LocationService_DeleteLocation_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -438,133 +438,143 @@ func local_request_Location_DeleteLocation_0(ctx context.Context, marshaler runt } -// RegisterLocationHandlerServer registers the http handlers for service Location to "mux". -// UnaryRPC :call LocationServer directly. +// RegisterLocationServiceHandlerServer registers the http handlers for service LocationService to "mux". +// UnaryRPC :call LocationServiceServer directly. // StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. -// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterLocationHandlerFromEndpoint instead. -func RegisterLocationHandlerServer(ctx context.Context, mux *runtime.ServeMux, server LocationServer) error { +// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterLocationServiceHandlerFromEndpoint instead. +func RegisterLocationServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server LocationServiceServer) error { - mux.Handle("POST", pattern_Location_CreateLocation_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("POST", pattern_LocationService_CreateLocation_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.v3.Location/CreateLocation", runtime.WithHTTPPathPattern("/infra/v3/partner/{metadata.partner}/location")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.system.v3.LocationService/CreateLocation", runtime.WithHTTPPathPattern("/infra/v3/partner/{metadata.partner}/location")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Location_CreateLocation_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_LocationService_CreateLocation_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Location_CreateLocation_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_LocationService_CreateLocation_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Location_GetLocations_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_LocationService_GetLocations_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.v3.Location/GetLocations", runtime.WithHTTPPathPattern("/infra/v3/partner/{metadata.partner}/location")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.system.v3.LocationService/GetLocations", runtime.WithHTTPPathPattern("/infra/v3/partner/{metadata.partner}/location")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Location_GetLocations_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_LocationService_GetLocations_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Location_GetLocations_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_LocationService_GetLocations_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Location_GetLocation_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_LocationService_GetLocation_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.v3.Location/GetLocation", runtime.WithHTTPPathPattern("/infra/v3/partner/{metadata.partner}/location/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.system.v3.LocationService/GetLocation", runtime.WithHTTPPathPattern("/infra/v3/partner/{metadata.partner}/location/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Location_GetLocation_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_LocationService_GetLocation_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Location_GetLocation_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_LocationService_GetLocation_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("PUT", pattern_Location_UpdateLocation_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("PUT", pattern_LocationService_UpdateLocation_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.v3.Location/UpdateLocation", runtime.WithHTTPPathPattern("/infra/v3/partner/{metadata.partner}/location/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.system.v3.LocationService/UpdateLocation", runtime.WithHTTPPathPattern("/infra/v3/partner/{metadata.partner}/location/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Location_UpdateLocation_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_LocationService_UpdateLocation_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Location_UpdateLocation_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_LocationService_UpdateLocation_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("DELETE", pattern_Location_DeleteLocation_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("DELETE", pattern_LocationService_DeleteLocation_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.v3.Location/DeleteLocation", runtime.WithHTTPPathPattern("/infra/v3/partner/{metadata.partner}/location/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.system.v3.LocationService/DeleteLocation", runtime.WithHTTPPathPattern("/infra/v3/partner/{metadata.partner}/location/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Location_DeleteLocation_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_LocationService_DeleteLocation_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Location_DeleteLocation_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_LocationService_DeleteLocation_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) return nil } -// RegisterLocationHandlerFromEndpoint is same as RegisterLocationHandler but +// RegisterLocationServiceHandlerFromEndpoint is same as RegisterLocationServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. -func RegisterLocationHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { +func RegisterLocationServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { conn, err := grpc.Dial(endpoint, opts...) if err != nil { return err @@ -584,119 +594,129 @@ func RegisterLocationHandlerFromEndpoint(ctx context.Context, mux *runtime.Serve }() }() - return RegisterLocationHandler(ctx, mux, conn) + return RegisterLocationServiceHandler(ctx, mux, conn) } -// RegisterLocationHandler registers the http handlers for service Location to "mux". +// RegisterLocationServiceHandler registers the http handlers for service LocationService to "mux". // The handlers forward requests to the grpc endpoint over "conn". -func RegisterLocationHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { - return RegisterLocationHandlerClient(ctx, mux, NewLocationClient(conn)) +func RegisterLocationServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { + return RegisterLocationServiceHandlerClient(ctx, mux, NewLocationServiceClient(conn)) } -// RegisterLocationHandlerClient registers the http handlers for service Location -// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "LocationClient". -// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "LocationClient" +// RegisterLocationServiceHandlerClient registers the http handlers for service LocationService +// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "LocationServiceClient". +// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "LocationServiceClient" // doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in -// "LocationClient" to call the correct interceptors. -func RegisterLocationHandlerClient(ctx context.Context, mux *runtime.ServeMux, client LocationClient) error { +// "LocationServiceClient" to call the correct interceptors. +func RegisterLocationServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client LocationServiceClient) error { - mux.Handle("POST", pattern_Location_CreateLocation_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("POST", pattern_LocationService_CreateLocation_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.v3.Location/CreateLocation", runtime.WithHTTPPathPattern("/infra/v3/partner/{metadata.partner}/location")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.system.v3.LocationService/CreateLocation", runtime.WithHTTPPathPattern("/infra/v3/partner/{metadata.partner}/location")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_Location_CreateLocation_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_LocationService_CreateLocation_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Location_CreateLocation_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_LocationService_CreateLocation_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Location_GetLocations_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_LocationService_GetLocations_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.v3.Location/GetLocations", runtime.WithHTTPPathPattern("/infra/v3/partner/{metadata.partner}/location")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.system.v3.LocationService/GetLocations", runtime.WithHTTPPathPattern("/infra/v3/partner/{metadata.partner}/location")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_Location_GetLocations_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_LocationService_GetLocations_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Location_GetLocations_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_LocationService_GetLocations_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Location_GetLocation_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_LocationService_GetLocation_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.v3.Location/GetLocation", runtime.WithHTTPPathPattern("/infra/v3/partner/{metadata.partner}/location/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.system.v3.LocationService/GetLocation", runtime.WithHTTPPathPattern("/infra/v3/partner/{metadata.partner}/location/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_Location_GetLocation_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_LocationService_GetLocation_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Location_GetLocation_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_LocationService_GetLocation_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("PUT", pattern_Location_UpdateLocation_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("PUT", pattern_LocationService_UpdateLocation_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.v3.Location/UpdateLocation", runtime.WithHTTPPathPattern("/infra/v3/partner/{metadata.partner}/location/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.system.v3.LocationService/UpdateLocation", runtime.WithHTTPPathPattern("/infra/v3/partner/{metadata.partner}/location/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_Location_UpdateLocation_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_LocationService_UpdateLocation_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Location_UpdateLocation_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_LocationService_UpdateLocation_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("DELETE", pattern_Location_DeleteLocation_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("DELETE", pattern_LocationService_DeleteLocation_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.v3.Location/DeleteLocation", runtime.WithHTTPPathPattern("/infra/v3/partner/{metadata.partner}/location/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.system.v3.LocationService/DeleteLocation", runtime.WithHTTPPathPattern("/infra/v3/partner/{metadata.partner}/location/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_Location_DeleteLocation_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_LocationService_DeleteLocation_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Location_DeleteLocation_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_LocationService_DeleteLocation_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) @@ -704,25 +724,25 @@ func RegisterLocationHandlerClient(ctx context.Context, mux *runtime.ServeMux, c } var ( - pattern_Location_CreateLocation_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4}, []string{"infra", "v3", "partner", "metadata.partner", "location"}, "")) + pattern_LocationService_CreateLocation_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4}, []string{"infra", "v3", "partner", "metadata.partner", "location"}, "")) - pattern_Location_GetLocations_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4}, []string{"infra", "v3", "partner", "metadata.partner", "location"}, "")) + pattern_LocationService_GetLocations_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4}, []string{"infra", "v3", "partner", "metadata.partner", "location"}, "")) - pattern_Location_GetLocation_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4, 1, 0, 4, 1, 5, 5}, []string{"infra", "v3", "partner", "metadata.partner", "location", "metadata.name"}, "")) + pattern_LocationService_GetLocation_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4, 1, 0, 4, 1, 5, 5}, []string{"infra", "v3", "partner", "metadata.partner", "location", "metadata.name"}, "")) - pattern_Location_UpdateLocation_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4, 1, 0, 4, 1, 5, 5}, []string{"infra", "v3", "partner", "metadata.partner", "location", "metadata.name"}, "")) + pattern_LocationService_UpdateLocation_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4, 1, 0, 4, 1, 5, 5}, []string{"infra", "v3", "partner", "metadata.partner", "location", "metadata.name"}, "")) - pattern_Location_DeleteLocation_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4, 1, 0, 4, 1, 5, 5}, []string{"infra", "v3", "partner", "metadata.partner", "location", "metadata.name"}, "")) + pattern_LocationService_DeleteLocation_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4, 1, 0, 4, 1, 5, 5}, []string{"infra", "v3", "partner", "metadata.partner", "location", "metadata.name"}, "")) ) var ( - forward_Location_CreateLocation_0 = runtime.ForwardResponseMessage + forward_LocationService_CreateLocation_0 = runtime.ForwardResponseMessage - forward_Location_GetLocations_0 = runtime.ForwardResponseMessage + forward_LocationService_GetLocations_0 = runtime.ForwardResponseMessage - forward_Location_GetLocation_0 = runtime.ForwardResponseMessage + forward_LocationService_GetLocation_0 = runtime.ForwardResponseMessage - forward_Location_UpdateLocation_0 = runtime.ForwardResponseMessage + forward_LocationService_UpdateLocation_0 = runtime.ForwardResponseMessage - forward_Location_DeleteLocation_0 = runtime.ForwardResponseMessage + forward_LocationService_DeleteLocation_0 = runtime.ForwardResponseMessage ) diff --git a/proto/rpc/system/metro.proto b/proto/rpc/system/metro.proto index 26568a26..6a8b4399 100644 --- a/proto/rpc/system/metro.proto +++ b/proto/rpc/system/metro.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package paralus.dev.rpc.v3; +package paralus.dev.rpc.system.v3; import "google/api/annotations.proto"; import "protoc-gen-openapiv2/options/annotations.proto"; @@ -51,7 +51,7 @@ option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = { } }; - service Location { + service LocationService { rpc CreateLocation(paralus.dev.types.infra.v3.Location) returns (paralus.dev.types.infra.v3.Location) { option (google.api.http) = { @@ -106,5 +106,4 @@ option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = { } }; }; - } \ No newline at end of file diff --git a/proto/rpc/system/metro_grpc.pb.go b/proto/rpc/system/metro_grpc.pb.go index 779c3d70..807b7278 100644 --- a/proto/rpc/system/metro_grpc.pb.go +++ b/proto/rpc/system/metro_grpc.pb.go @@ -4,7 +4,7 @@ // - protoc (unknown) // source: proto/rpc/system/metro.proto -package rpcv3 +package systemv3 import ( context "context" @@ -19,10 +19,10 @@ import ( // Requires gRPC-Go v1.32.0 or later. const _ = grpc.SupportPackageIsVersion7 -// LocationClient is the client API for Location service. +// LocationServiceClient is the client API for LocationService service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. -type LocationClient interface { +type LocationServiceClient interface { CreateLocation(ctx context.Context, in *v3.Location, opts ...grpc.CallOption) (*v3.Location, error) GetLocations(ctx context.Context, in *v3.Location, opts ...grpc.CallOption) (*v3.LocationList, error) GetLocation(ctx context.Context, in *v3.Location, opts ...grpc.CallOption) (*v3.Location, error) @@ -30,63 +30,63 @@ type LocationClient interface { DeleteLocation(ctx context.Context, in *v3.Location, opts ...grpc.CallOption) (*v3.Location, error) } -type locationClient struct { +type locationServiceClient struct { cc grpc.ClientConnInterface } -func NewLocationClient(cc grpc.ClientConnInterface) LocationClient { - return &locationClient{cc} +func NewLocationServiceClient(cc grpc.ClientConnInterface) LocationServiceClient { + return &locationServiceClient{cc} } -func (c *locationClient) CreateLocation(ctx context.Context, in *v3.Location, opts ...grpc.CallOption) (*v3.Location, error) { +func (c *locationServiceClient) CreateLocation(ctx context.Context, in *v3.Location, opts ...grpc.CallOption) (*v3.Location, error) { out := new(v3.Location) - err := c.cc.Invoke(ctx, "/paralus.dev.rpc.v3.Location/CreateLocation", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.rpc.system.v3.LocationService/CreateLocation", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *locationClient) GetLocations(ctx context.Context, in *v3.Location, opts ...grpc.CallOption) (*v3.LocationList, error) { +func (c *locationServiceClient) GetLocations(ctx context.Context, in *v3.Location, opts ...grpc.CallOption) (*v3.LocationList, error) { out := new(v3.LocationList) - err := c.cc.Invoke(ctx, "/paralus.dev.rpc.v3.Location/GetLocations", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.rpc.system.v3.LocationService/GetLocations", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *locationClient) GetLocation(ctx context.Context, in *v3.Location, opts ...grpc.CallOption) (*v3.Location, error) { +func (c *locationServiceClient) GetLocation(ctx context.Context, in *v3.Location, opts ...grpc.CallOption) (*v3.Location, error) { out := new(v3.Location) - err := c.cc.Invoke(ctx, "/paralus.dev.rpc.v3.Location/GetLocation", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.rpc.system.v3.LocationService/GetLocation", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *locationClient) UpdateLocation(ctx context.Context, in *v3.Location, opts ...grpc.CallOption) (*v3.Location, error) { +func (c *locationServiceClient) UpdateLocation(ctx context.Context, in *v3.Location, opts ...grpc.CallOption) (*v3.Location, error) { out := new(v3.Location) - err := c.cc.Invoke(ctx, "/paralus.dev.rpc.v3.Location/UpdateLocation", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.rpc.system.v3.LocationService/UpdateLocation", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *locationClient) DeleteLocation(ctx context.Context, in *v3.Location, opts ...grpc.CallOption) (*v3.Location, error) { +func (c *locationServiceClient) DeleteLocation(ctx context.Context, in *v3.Location, opts ...grpc.CallOption) (*v3.Location, error) { out := new(v3.Location) - err := c.cc.Invoke(ctx, "/paralus.dev.rpc.v3.Location/DeleteLocation", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.rpc.system.v3.LocationService/DeleteLocation", in, out, opts...) if err != nil { return nil, err } return out, nil } -// LocationServer is the server API for Location service. -// All implementations should embed UnimplementedLocationServer +// LocationServiceServer is the server API for LocationService service. +// All implementations should embed UnimplementedLocationServiceServer // for forward compatibility -type LocationServer interface { +type LocationServiceServer interface { CreateLocation(context.Context, *v3.Location) (*v3.Location, error) GetLocations(context.Context, *v3.Location) (*v3.LocationList, error) GetLocation(context.Context, *v3.Location) (*v3.Location, error) @@ -94,153 +94,153 @@ type LocationServer interface { DeleteLocation(context.Context, *v3.Location) (*v3.Location, error) } -// UnimplementedLocationServer should be embedded to have forward compatible implementations. -type UnimplementedLocationServer struct { +// UnimplementedLocationServiceServer should be embedded to have forward compatible implementations. +type UnimplementedLocationServiceServer struct { } -func (UnimplementedLocationServer) CreateLocation(context.Context, *v3.Location) (*v3.Location, error) { +func (UnimplementedLocationServiceServer) CreateLocation(context.Context, *v3.Location) (*v3.Location, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateLocation not implemented") } -func (UnimplementedLocationServer) GetLocations(context.Context, *v3.Location) (*v3.LocationList, error) { +func (UnimplementedLocationServiceServer) GetLocations(context.Context, *v3.Location) (*v3.LocationList, error) { return nil, status.Errorf(codes.Unimplemented, "method GetLocations not implemented") } -func (UnimplementedLocationServer) GetLocation(context.Context, *v3.Location) (*v3.Location, error) { +func (UnimplementedLocationServiceServer) GetLocation(context.Context, *v3.Location) (*v3.Location, error) { return nil, status.Errorf(codes.Unimplemented, "method GetLocation not implemented") } -func (UnimplementedLocationServer) UpdateLocation(context.Context, *v3.Location) (*v3.Location, error) { +func (UnimplementedLocationServiceServer) UpdateLocation(context.Context, *v3.Location) (*v3.Location, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateLocation not implemented") } -func (UnimplementedLocationServer) DeleteLocation(context.Context, *v3.Location) (*v3.Location, error) { +func (UnimplementedLocationServiceServer) DeleteLocation(context.Context, *v3.Location) (*v3.Location, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteLocation not implemented") } -// UnsafeLocationServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to LocationServer will +// UnsafeLocationServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to LocationServiceServer will // result in compilation errors. -type UnsafeLocationServer interface { - mustEmbedUnimplementedLocationServer() +type UnsafeLocationServiceServer interface { + mustEmbedUnimplementedLocationServiceServer() } -func RegisterLocationServer(s grpc.ServiceRegistrar, srv LocationServer) { - s.RegisterService(&Location_ServiceDesc, srv) +func RegisterLocationServiceServer(s grpc.ServiceRegistrar, srv LocationServiceServer) { + s.RegisterService(&LocationService_ServiceDesc, srv) } -func _Location_CreateLocation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _LocationService_CreateLocation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v3.Location) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(LocationServer).CreateLocation(ctx, in) + return srv.(LocationServiceServer).CreateLocation(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.rpc.v3.Location/CreateLocation", + FullMethod: "/paralus.dev.rpc.system.v3.LocationService/CreateLocation", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LocationServer).CreateLocation(ctx, req.(*v3.Location)) + return srv.(LocationServiceServer).CreateLocation(ctx, req.(*v3.Location)) } return interceptor(ctx, in, info, handler) } -func _Location_GetLocations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _LocationService_GetLocations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v3.Location) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(LocationServer).GetLocations(ctx, in) + return srv.(LocationServiceServer).GetLocations(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.rpc.v3.Location/GetLocations", + FullMethod: "/paralus.dev.rpc.system.v3.LocationService/GetLocations", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LocationServer).GetLocations(ctx, req.(*v3.Location)) + return srv.(LocationServiceServer).GetLocations(ctx, req.(*v3.Location)) } return interceptor(ctx, in, info, handler) } -func _Location_GetLocation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _LocationService_GetLocation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v3.Location) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(LocationServer).GetLocation(ctx, in) + return srv.(LocationServiceServer).GetLocation(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.rpc.v3.Location/GetLocation", + FullMethod: "/paralus.dev.rpc.system.v3.LocationService/GetLocation", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LocationServer).GetLocation(ctx, req.(*v3.Location)) + return srv.(LocationServiceServer).GetLocation(ctx, req.(*v3.Location)) } return interceptor(ctx, in, info, handler) } -func _Location_UpdateLocation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _LocationService_UpdateLocation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v3.Location) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(LocationServer).UpdateLocation(ctx, in) + return srv.(LocationServiceServer).UpdateLocation(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.rpc.v3.Location/UpdateLocation", + FullMethod: "/paralus.dev.rpc.system.v3.LocationService/UpdateLocation", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LocationServer).UpdateLocation(ctx, req.(*v3.Location)) + return srv.(LocationServiceServer).UpdateLocation(ctx, req.(*v3.Location)) } return interceptor(ctx, in, info, handler) } -func _Location_DeleteLocation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _LocationService_DeleteLocation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v3.Location) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(LocationServer).DeleteLocation(ctx, in) + return srv.(LocationServiceServer).DeleteLocation(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.rpc.v3.Location/DeleteLocation", + FullMethod: "/paralus.dev.rpc.system.v3.LocationService/DeleteLocation", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(LocationServer).DeleteLocation(ctx, req.(*v3.Location)) + return srv.(LocationServiceServer).DeleteLocation(ctx, req.(*v3.Location)) } return interceptor(ctx, in, info, handler) } -// Location_ServiceDesc is the grpc.ServiceDesc for Location service. +// LocationService_ServiceDesc is the grpc.ServiceDesc for LocationService service. // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) -var Location_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "paralus.dev.rpc.v3.Location", - HandlerType: (*LocationServer)(nil), +var LocationService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "paralus.dev.rpc.system.v3.LocationService", + HandlerType: (*LocationServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateLocation", - Handler: _Location_CreateLocation_Handler, + Handler: _LocationService_CreateLocation_Handler, }, { MethodName: "GetLocations", - Handler: _Location_GetLocations_Handler, + Handler: _LocationService_GetLocations_Handler, }, { MethodName: "GetLocation", - Handler: _Location_GetLocation_Handler, + Handler: _LocationService_GetLocation_Handler, }, { MethodName: "UpdateLocation", - Handler: _Location_UpdateLocation_Handler, + Handler: _LocationService_UpdateLocation_Handler, }, { MethodName: "DeleteLocation", - Handler: _Location_DeleteLocation_Handler, + Handler: _LocationService_DeleteLocation_Handler, }, }, Streams: []grpc.StreamDesc{}, diff --git a/proto/rpc/system/oidc_provider.pb.go b/proto/rpc/system/oidc_provider.pb.go index 121a9a2a..458d8d1c 100644 --- a/proto/rpc/system/oidc_provider.pb.go +++ b/proto/rpc/system/oidc_provider.pb.go @@ -1,10 +1,10 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.27.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: proto/rpc/system/oidc_provider.proto -package rpcv3 +package systemv3 import ( _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" @@ -28,109 +28,112 @@ var File_proto_rpc_system_oidc_provider_proto protoreflect.FileDescriptor var file_proto_rpc_system_oidc_provider_proto_rawDesc = []byte{ 0x0a, 0x24, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x6f, 0x69, 0x64, 0x63, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x33, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, - 0x6e, 0x2d, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x6f, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x79, 0x70, - 0x65, 0x73, 0x2f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x70, 0x62, 0x2f, 0x76, 0x33, 0x2f, 0x6f, - 0x69, 0x64, 0x63, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x32, 0xf5, 0x06, 0x0a, 0x0c, 0x4f, 0x49, 0x44, 0x43, 0x50, 0x72, 0x6f, 0x76, 0x69, - 0x64, 0x65, 0x72, 0x12, 0xd3, 0x01, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x49, - 0x44, 0x43, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x29, 0x2e, 0x70, 0x61, 0x72, - 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, - 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x4f, 0x49, 0x44, 0x43, 0x50, 0x72, 0x6f, - 0x76, 0x69, 0x64, 0x65, 0x72, 0x1a, 0x29, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, - 0x2e, 0x76, 0x33, 0x2e, 0x4f, 0x49, 0x44, 0x43, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, - 0x22, 0x67, 0x92, 0x41, 0x3f, 0x4a, 0x3d, 0x0a, 0x03, 0x32, 0x30, 0x31, 0x12, 0x36, 0x0a, 0x34, - 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x6f, 0x69, - 0x64, 0x63, 0x20, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x20, 0x69, 0x73, 0x20, 0x63, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x20, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x66, 0x75, - 0x6c, 0x6c, 0x79, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1f, 0x22, 0x1a, 0x2f, 0x61, 0x75, 0x74, - 0x68, 0x2f, 0x76, 0x33, 0x2f, 0x73, 0x73, 0x6f, 0x2f, 0x6f, 0x69, 0x64, 0x63, 0x2f, 0x70, 0x72, - 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x3a, 0x01, 0x2a, 0x12, 0x9b, 0x01, 0x0a, 0x0f, 0x47, 0x65, - 0x74, 0x4f, 0x49, 0x44, 0x43, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x29, 0x2e, - 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, - 0x73, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x4f, 0x49, 0x44, 0x43, - 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x1a, 0x29, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, + 0x33, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, + 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, + 0x76, 0x32, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2b, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, + 0x70, 0x62, 0x2f, 0x76, 0x33, 0x2f, 0x6f, 0x69, 0x64, 0x63, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, + 0x64, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0xfc, 0x06, 0x0a, 0x13, 0x4f, 0x49, + 0x44, 0x43, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x12, 0xd3, 0x01, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x49, 0x44, 0x43, + 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x29, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x4f, 0x49, 0x44, 0x43, 0x50, 0x72, 0x6f, 0x76, 0x69, - 0x64, 0x65, 0x72, 0x22, 0x32, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2c, 0x12, 0x2a, 0x2f, 0x61, 0x75, - 0x74, 0x68, 0x2f, 0x76, 0x33, 0x2f, 0x73, 0x73, 0x6f, 0x2f, 0x6f, 0x69, 0x64, 0x63, 0x2f, 0x70, - 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x12, 0x7d, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x4f, - 0x49, 0x44, 0x43, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x16, 0x2e, 0x67, 0x6f, - 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, - 0x70, 0x74, 0x79, 0x1a, 0x2d, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, + 0x64, 0x65, 0x72, 0x1a, 0x29, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, - 0x33, 0x2e, 0x4f, 0x49, 0x44, 0x43, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x4c, 0x69, - 0x73, 0x74, 0x22, 0x22, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1c, 0x12, 0x1a, 0x2f, 0x61, 0x75, 0x74, - 0x68, 0x2f, 0x76, 0x33, 0x2f, 0x73, 0x73, 0x6f, 0x2f, 0x6f, 0x69, 0x64, 0x63, 0x2f, 0x70, 0x72, - 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0xa1, 0x01, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x4f, 0x49, 0x44, 0x43, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x29, 0x2e, - 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, - 0x73, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x4f, 0x49, 0x44, 0x43, - 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x1a, 0x29, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, - 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x73, - 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x4f, 0x49, 0x44, 0x43, 0x50, 0x72, 0x6f, 0x76, 0x69, - 0x64, 0x65, 0x72, 0x22, 0x35, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2f, 0x1a, 0x2a, 0x2f, 0x61, 0x75, - 0x74, 0x68, 0x2f, 0x76, 0x33, 0x2f, 0x73, 0x73, 0x6f, 0x2f, 0x6f, 0x69, 0x64, 0x63, 0x2f, 0x70, - 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x3a, 0x01, 0x2a, 0x12, 0xcd, 0x01, 0x0a, 0x12, 0x44, - 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x49, 0x44, 0x43, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, - 0x72, 0x12, 0x29, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x33, 0x2e, 0x4f, 0x49, 0x44, 0x43, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x22, 0x67, + 0x92, 0x41, 0x3f, 0x4a, 0x3d, 0x0a, 0x03, 0x32, 0x30, 0x31, 0x12, 0x36, 0x0a, 0x34, 0x52, 0x65, + 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x6f, 0x69, 0x64, 0x63, + 0x20, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x20, 0x69, 0x73, 0x20, 0x63, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x64, 0x20, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x66, 0x75, 0x6c, 0x6c, + 0x79, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1f, 0x22, 0x1a, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, + 0x76, 0x33, 0x2f, 0x73, 0x73, 0x6f, 0x2f, 0x6f, 0x69, 0x64, 0x63, 0x2f, 0x70, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x3a, 0x01, 0x2a, 0x12, 0x9b, 0x01, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x4f, + 0x49, 0x44, 0x43, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x29, 0x2e, 0x70, 0x61, + 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, + 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x4f, 0x49, 0x44, 0x43, 0x50, 0x72, + 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x1a, 0x29, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, + 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x4f, 0x49, 0x44, 0x43, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, + 0x72, 0x22, 0x32, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2c, 0x12, 0x2a, 0x2f, 0x61, 0x75, 0x74, 0x68, + 0x2f, 0x76, 0x33, 0x2f, 0x73, 0x73, 0x6f, 0x2f, 0x6f, 0x69, 0x64, 0x63, 0x2f, 0x70, 0x72, 0x6f, + 0x76, 0x69, 0x64, 0x65, 0x72, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x12, 0x7d, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x49, 0x44, + 0x43, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, + 0x79, 0x1a, 0x2d, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x2e, - 0x4f, 0x49, 0x44, 0x43, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x1a, 0x16, 0x2e, 0x67, - 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, - 0x6d, 0x70, 0x74, 0x79, 0x22, 0x74, 0x92, 0x41, 0x3f, 0x4a, 0x3d, 0x0a, 0x03, 0x32, 0x30, 0x34, - 0x12, 0x36, 0x0a, 0x34, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, - 0x6e, 0x20, 0x6f, 0x69, 0x64, 0x63, 0x20, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x20, - 0x69, 0x73, 0x20, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x20, 0x73, 0x75, 0x63, 0x63, 0x65, - 0x73, 0x73, 0x66, 0x75, 0x6c, 0x6c, 0x79, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2c, 0x2a, 0x2a, - 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x33, 0x2f, 0x73, 0x73, 0x6f, 0x2f, 0x6f, 0x69, 0x64, - 0x63, 0x2f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x42, 0xb1, 0x04, 0x0a, 0x16, 0x63, - 0x6f, 0x6d, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x72, - 0x70, 0x63, 0x2e, 0x76, 0x33, 0x42, 0x11, 0x4f, 0x69, 0x64, 0x63, 0x50, 0x72, 0x6f, 0x76, 0x69, - 0x64, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x31, 0x67, 0x69, 0x74, 0x68, - 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, - 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x72, 0x70, 0x63, - 0x2f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x3b, 0x72, 0x70, 0x63, 0x76, 0x33, 0xa2, 0x02, 0x03, - 0x50, 0x44, 0x52, 0xaa, 0x02, 0x12, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x44, 0x65, - 0x76, 0x2e, 0x52, 0x70, 0x63, 0x2e, 0x56, 0x33, 0xca, 0x02, 0x12, 0x50, 0x61, 0x72, 0x61, 0x6c, - 0x75, 0x73, 0x5c, 0x44, 0x65, 0x76, 0x5c, 0x52, 0x70, 0x63, 0x5c, 0x56, 0x33, 0xe2, 0x02, 0x1e, - 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x5c, 0x44, 0x65, 0x76, 0x5c, 0x52, 0x70, 0x63, 0x5c, - 0x56, 0x33, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, - 0x15, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x3a, 0x3a, 0x44, 0x65, 0x76, 0x3a, 0x3a, 0x52, - 0x70, 0x63, 0x3a, 0x3a, 0x56, 0x33, 0x92, 0x41, 0xe4, 0x02, 0x12, 0x2b, 0x0a, 0x15, 0x4f, 0x49, - 0x64, 0x43, 0x20, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x20, 0x53, 0x65, 0x72, 0x76, - 0x69, 0x63, 0x65, 0x22, 0x0d, 0x0a, 0x0b, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x20, 0x44, - 0x65, 0x76, 0x32, 0x03, 0x33, 0x2e, 0x30, 0x2a, 0x01, 0x02, 0x32, 0x10, 0x61, 0x70, 0x70, 0x6c, - 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x32, 0x10, 0x61, 0x70, - 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x10, - 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, - 0x3a, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x79, 0x61, - 0x6d, 0x6c, 0x52, 0x50, 0x0a, 0x03, 0x34, 0x30, 0x33, 0x12, 0x49, 0x0a, 0x47, 0x52, 0x65, 0x74, - 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, - 0x73, 0x65, 0x72, 0x20, 0x64, 0x6f, 0x65, 0x73, 0x20, 0x6e, 0x6f, 0x74, 0x20, 0x68, 0x61, 0x76, - 0x65, 0x20, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x20, 0x74, 0x6f, 0x20, - 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, - 0x72, 0x63, 0x65, 0x2e, 0x52, 0x3b, 0x0a, 0x03, 0x34, 0x30, 0x34, 0x12, 0x34, 0x0a, 0x2a, 0x52, - 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x74, 0x68, 0x65, - 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x20, 0x64, 0x6f, 0x65, 0x73, 0x20, 0x6e, - 0x6f, 0x74, 0x20, 0x65, 0x78, 0x69, 0x73, 0x74, 0x2e, 0x12, 0x06, 0x0a, 0x04, 0x9a, 0x02, 0x01, - 0x07, 0x5a, 0x3a, 0x0a, 0x27, 0x0a, 0x0a, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, - 0x68, 0x12, 0x19, 0x08, 0x02, 0x1a, 0x13, 0x58, 0x2d, 0x50, 0x41, 0x52, 0x41, 0x4c, 0x55, 0x53, - 0x2d, 0x41, 0x50, 0x49, 0x2d, 0x4b, 0x45, 0x59, 0x49, 0x44, 0x20, 0x02, 0x0a, 0x0f, 0x0a, 0x09, - 0x42, 0x61, 0x73, 0x69, 0x63, 0x41, 0x75, 0x74, 0x68, 0x12, 0x02, 0x08, 0x01, 0x62, 0x1f, 0x0a, - 0x0e, 0x0a, 0x0a, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x12, 0x00, 0x0a, - 0x0d, 0x0a, 0x09, 0x42, 0x61, 0x73, 0x69, 0x63, 0x41, 0x75, 0x74, 0x68, 0x12, 0x00, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x4f, 0x49, 0x44, 0x43, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, + 0x22, 0x22, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1c, 0x12, 0x1a, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, + 0x76, 0x33, 0x2f, 0x73, 0x73, 0x6f, 0x2f, 0x6f, 0x69, 0x64, 0x63, 0x2f, 0x70, 0x72, 0x6f, 0x76, + 0x69, 0x64, 0x65, 0x72, 0x12, 0xa1, 0x01, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, + 0x49, 0x44, 0x43, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x29, 0x2e, 0x70, 0x61, + 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, + 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x4f, 0x49, 0x44, 0x43, 0x50, 0x72, + 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x1a, 0x29, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, + 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x4f, 0x49, 0x44, 0x43, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, + 0x72, 0x22, 0x35, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2f, 0x1a, 0x2a, 0x2f, 0x61, 0x75, 0x74, 0x68, + 0x2f, 0x76, 0x33, 0x2f, 0x73, 0x73, 0x6f, 0x2f, 0x6f, 0x69, 0x64, 0x63, 0x2f, 0x70, 0x72, 0x6f, + 0x76, 0x69, 0x64, 0x65, 0x72, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x3a, 0x01, 0x2a, 0x12, 0xcd, 0x01, 0x0a, 0x12, 0x44, 0x65, 0x6c, + 0x65, 0x74, 0x65, 0x4f, 0x49, 0x44, 0x43, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, + 0x29, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, + 0x70, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x4f, 0x49, + 0x44, 0x43, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, + 0x74, 0x79, 0x22, 0x74, 0x92, 0x41, 0x3f, 0x4a, 0x3d, 0x0a, 0x03, 0x32, 0x30, 0x34, 0x12, 0x36, + 0x0a, 0x34, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, + 0x6f, 0x69, 0x64, 0x63, 0x20, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x20, 0x69, 0x73, + 0x20, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x20, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, + 0x66, 0x75, 0x6c, 0x6c, 0x79, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2c, 0x2a, 0x2a, 0x2f, 0x61, + 0x75, 0x74, 0x68, 0x2f, 0x76, 0x33, 0x2f, 0x73, 0x73, 0x6f, 0x2f, 0x6f, 0x69, 0x64, 0x63, 0x2f, + 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x42, 0xd9, 0x04, 0x0a, 0x1d, 0x63, 0x6f, 0x6d, + 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x72, 0x70, 0x63, + 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x42, 0x11, 0x4f, 0x69, 0x64, 0x63, + 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, + 0x34, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x61, 0x72, 0x61, + 0x6c, 0x75, 0x73, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x3b, 0x73, 0x79, 0x73, + 0x74, 0x65, 0x6d, 0x76, 0x33, 0xa2, 0x02, 0x04, 0x50, 0x44, 0x52, 0x53, 0xaa, 0x02, 0x19, 0x50, + 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x44, 0x65, 0x76, 0x2e, 0x52, 0x70, 0x63, 0x2e, 0x53, + 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x56, 0x33, 0xca, 0x02, 0x19, 0x50, 0x61, 0x72, 0x61, 0x6c, + 0x75, 0x73, 0x5c, 0x44, 0x65, 0x76, 0x5c, 0x52, 0x70, 0x63, 0x5c, 0x53, 0x79, 0x73, 0x74, 0x65, + 0x6d, 0x5c, 0x56, 0x33, 0xe2, 0x02, 0x25, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x5c, 0x44, + 0x65, 0x76, 0x5c, 0x52, 0x70, 0x63, 0x5c, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5c, 0x56, 0x33, + 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1d, 0x50, + 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x3a, 0x3a, 0x44, 0x65, 0x76, 0x3a, 0x3a, 0x52, 0x70, 0x63, + 0x3a, 0x3a, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x3a, 0x3a, 0x56, 0x33, 0x92, 0x41, 0xe4, 0x02, + 0x12, 0x2b, 0x0a, 0x15, 0x4f, 0x49, 0x64, 0x43, 0x20, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, + 0x72, 0x20, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x22, 0x0d, 0x0a, 0x0b, 0x50, 0x61, 0x72, + 0x61, 0x6c, 0x75, 0x73, 0x20, 0x44, 0x65, 0x76, 0x32, 0x03, 0x33, 0x2e, 0x30, 0x2a, 0x01, 0x02, + 0x32, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, + 0x6f, 0x6e, 0x32, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, + 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x2f, 0x79, 0x61, 0x6d, 0x6c, 0x52, 0x50, 0x0a, 0x03, 0x34, 0x30, 0x33, 0x12, + 0x49, 0x0a, 0x47, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, + 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x64, 0x6f, 0x65, 0x73, 0x20, 0x6e, + 0x6f, 0x74, 0x20, 0x68, 0x61, 0x76, 0x65, 0x20, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x20, 0x74, 0x6f, 0x20, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x20, 0x74, 0x68, 0x65, + 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x52, 0x3b, 0x0a, 0x03, 0x34, 0x30, + 0x34, 0x12, 0x34, 0x0a, 0x2a, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, + 0x65, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x20, + 0x64, 0x6f, 0x65, 0x73, 0x20, 0x6e, 0x6f, 0x74, 0x20, 0x65, 0x78, 0x69, 0x73, 0x74, 0x2e, 0x12, + 0x06, 0x0a, 0x04, 0x9a, 0x02, 0x01, 0x07, 0x5a, 0x3a, 0x0a, 0x27, 0x0a, 0x0a, 0x41, 0x70, 0x69, + 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x12, 0x19, 0x08, 0x02, 0x1a, 0x13, 0x58, 0x2d, 0x50, + 0x41, 0x52, 0x41, 0x4c, 0x55, 0x53, 0x2d, 0x41, 0x50, 0x49, 0x2d, 0x4b, 0x45, 0x59, 0x49, 0x44, + 0x20, 0x02, 0x0a, 0x0f, 0x0a, 0x09, 0x42, 0x61, 0x73, 0x69, 0x63, 0x41, 0x75, 0x74, 0x68, 0x12, + 0x02, 0x08, 0x01, 0x62, 0x1f, 0x0a, 0x0e, 0x0a, 0x0a, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x41, + 0x75, 0x74, 0x68, 0x12, 0x00, 0x0a, 0x0d, 0x0a, 0x09, 0x42, 0x61, 0x73, 0x69, 0x63, 0x41, 0x75, + 0x74, 0x68, 0x12, 0x00, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var file_proto_rpc_system_oidc_provider_proto_goTypes = []interface{}{ @@ -139,16 +142,16 @@ var file_proto_rpc_system_oidc_provider_proto_goTypes = []interface{}{ (*v3.OIDCProviderList)(nil), // 2: paralus.dev.types.system.v3.OIDCProviderList } var file_proto_rpc_system_oidc_provider_proto_depIdxs = []int32{ - 0, // 0: paralus.dev.rpc.v3.OIDCProvider.CreateOIDCProvider:input_type -> paralus.dev.types.system.v3.OIDCProvider - 0, // 1: paralus.dev.rpc.v3.OIDCProvider.GetOIDCProvider:input_type -> paralus.dev.types.system.v3.OIDCProvider - 1, // 2: paralus.dev.rpc.v3.OIDCProvider.ListOIDCProvider:input_type -> google.protobuf.Empty - 0, // 3: paralus.dev.rpc.v3.OIDCProvider.UpdateOIDCProvider:input_type -> paralus.dev.types.system.v3.OIDCProvider - 0, // 4: paralus.dev.rpc.v3.OIDCProvider.DeleteOIDCProvider:input_type -> paralus.dev.types.system.v3.OIDCProvider - 0, // 5: paralus.dev.rpc.v3.OIDCProvider.CreateOIDCProvider:output_type -> paralus.dev.types.system.v3.OIDCProvider - 0, // 6: paralus.dev.rpc.v3.OIDCProvider.GetOIDCProvider:output_type -> paralus.dev.types.system.v3.OIDCProvider - 2, // 7: paralus.dev.rpc.v3.OIDCProvider.ListOIDCProvider:output_type -> paralus.dev.types.system.v3.OIDCProviderList - 0, // 8: paralus.dev.rpc.v3.OIDCProvider.UpdateOIDCProvider:output_type -> paralus.dev.types.system.v3.OIDCProvider - 1, // 9: paralus.dev.rpc.v3.OIDCProvider.DeleteOIDCProvider:output_type -> google.protobuf.Empty + 0, // 0: paralus.dev.rpc.system.v3.OIDCProviderService.CreateOIDCProvider:input_type -> paralus.dev.types.system.v3.OIDCProvider + 0, // 1: paralus.dev.rpc.system.v3.OIDCProviderService.GetOIDCProvider:input_type -> paralus.dev.types.system.v3.OIDCProvider + 1, // 2: paralus.dev.rpc.system.v3.OIDCProviderService.ListOIDCProvider:input_type -> google.protobuf.Empty + 0, // 3: paralus.dev.rpc.system.v3.OIDCProviderService.UpdateOIDCProvider:input_type -> paralus.dev.types.system.v3.OIDCProvider + 0, // 4: paralus.dev.rpc.system.v3.OIDCProviderService.DeleteOIDCProvider:input_type -> paralus.dev.types.system.v3.OIDCProvider + 0, // 5: paralus.dev.rpc.system.v3.OIDCProviderService.CreateOIDCProvider:output_type -> paralus.dev.types.system.v3.OIDCProvider + 0, // 6: paralus.dev.rpc.system.v3.OIDCProviderService.GetOIDCProvider:output_type -> paralus.dev.types.system.v3.OIDCProvider + 2, // 7: paralus.dev.rpc.system.v3.OIDCProviderService.ListOIDCProvider:output_type -> paralus.dev.types.system.v3.OIDCProviderList + 0, // 8: paralus.dev.rpc.system.v3.OIDCProviderService.UpdateOIDCProvider:output_type -> paralus.dev.types.system.v3.OIDCProvider + 1, // 9: paralus.dev.rpc.system.v3.OIDCProviderService.DeleteOIDCProvider:output_type -> google.protobuf.Empty 5, // [5:10] is the sub-list for method output_type 0, // [0:5] is the sub-list for method input_type 0, // [0:0] is the sub-list for extension type_name diff --git a/proto/rpc/system/oidc_provider.pb.gw.go b/proto/rpc/system/oidc_provider.pb.gw.go index 6e181b5e..5ab7837a 100644 --- a/proto/rpc/system/oidc_provider.pb.gw.go +++ b/proto/rpc/system/oidc_provider.pb.gw.go @@ -2,11 +2,11 @@ // source: proto/rpc/system/oidc_provider.proto /* -Package rpcv3 is a reverse proxy. +Package systemv3 is a reverse proxy. It translates gRPC into RESTful JSON APIs. */ -package rpcv3 +package systemv3 import ( "context" @@ -33,7 +33,7 @@ var _ = runtime.String var _ = utilities.NewDoubleArray var _ = metadata.Join -func request_OIDCProvider_CreateOIDCProvider_0(ctx context.Context, marshaler runtime.Marshaler, client OIDCProviderClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_OIDCProviderService_CreateOIDCProvider_0(ctx context.Context, marshaler runtime.Marshaler, client OIDCProviderServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq systemv3.OIDCProvider var metadata runtime.ServerMetadata @@ -50,7 +50,7 @@ func request_OIDCProvider_CreateOIDCProvider_0(ctx context.Context, marshaler ru } -func local_request_OIDCProvider_CreateOIDCProvider_0(ctx context.Context, marshaler runtime.Marshaler, server OIDCProviderServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_OIDCProviderService_CreateOIDCProvider_0(ctx context.Context, marshaler runtime.Marshaler, server OIDCProviderServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq systemv3.OIDCProvider var metadata runtime.ServerMetadata @@ -68,10 +68,10 @@ func local_request_OIDCProvider_CreateOIDCProvider_0(ctx context.Context, marsha } var ( - filter_OIDCProvider_GetOIDCProvider_0 = &utilities.DoubleArray{Encoding: map[string]int{"metadata": 0, "name": 1}, Base: []int{1, 1, 1, 0}, Check: []int{0, 1, 2, 3}} + filter_OIDCProviderService_GetOIDCProvider_0 = &utilities.DoubleArray{Encoding: map[string]int{"metadata": 0, "name": 1}, Base: []int{1, 1, 1, 0}, Check: []int{0, 1, 2, 3}} ) -func request_OIDCProvider_GetOIDCProvider_0(ctx context.Context, marshaler runtime.Marshaler, client OIDCProviderClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_OIDCProviderService_GetOIDCProvider_0(ctx context.Context, marshaler runtime.Marshaler, client OIDCProviderServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq systemv3.OIDCProvider var metadata runtime.ServerMetadata @@ -95,7 +95,7 @@ func request_OIDCProvider_GetOIDCProvider_0(ctx context.Context, marshaler runti if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_OIDCProvider_GetOIDCProvider_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_OIDCProviderService_GetOIDCProvider_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -104,7 +104,7 @@ func request_OIDCProvider_GetOIDCProvider_0(ctx context.Context, marshaler runti } -func local_request_OIDCProvider_GetOIDCProvider_0(ctx context.Context, marshaler runtime.Marshaler, server OIDCProviderServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_OIDCProviderService_GetOIDCProvider_0(ctx context.Context, marshaler runtime.Marshaler, server OIDCProviderServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq systemv3.OIDCProvider var metadata runtime.ServerMetadata @@ -128,7 +128,7 @@ func local_request_OIDCProvider_GetOIDCProvider_0(ctx context.Context, marshaler if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_OIDCProvider_GetOIDCProvider_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_OIDCProviderService_GetOIDCProvider_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -137,7 +137,7 @@ func local_request_OIDCProvider_GetOIDCProvider_0(ctx context.Context, marshaler } -func request_OIDCProvider_ListOIDCProvider_0(ctx context.Context, marshaler runtime.Marshaler, client OIDCProviderClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_OIDCProviderService_ListOIDCProvider_0(ctx context.Context, marshaler runtime.Marshaler, client OIDCProviderServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq emptypb.Empty var metadata runtime.ServerMetadata @@ -146,7 +146,7 @@ func request_OIDCProvider_ListOIDCProvider_0(ctx context.Context, marshaler runt } -func local_request_OIDCProvider_ListOIDCProvider_0(ctx context.Context, marshaler runtime.Marshaler, server OIDCProviderServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_OIDCProviderService_ListOIDCProvider_0(ctx context.Context, marshaler runtime.Marshaler, server OIDCProviderServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq emptypb.Empty var metadata runtime.ServerMetadata @@ -155,7 +155,7 @@ func local_request_OIDCProvider_ListOIDCProvider_0(ctx context.Context, marshale } -func request_OIDCProvider_UpdateOIDCProvider_0(ctx context.Context, marshaler runtime.Marshaler, client OIDCProviderClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_OIDCProviderService_UpdateOIDCProvider_0(ctx context.Context, marshaler runtime.Marshaler, client OIDCProviderServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq systemv3.OIDCProvider var metadata runtime.ServerMetadata @@ -189,7 +189,7 @@ func request_OIDCProvider_UpdateOIDCProvider_0(ctx context.Context, marshaler ru } -func local_request_OIDCProvider_UpdateOIDCProvider_0(ctx context.Context, marshaler runtime.Marshaler, server OIDCProviderServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_OIDCProviderService_UpdateOIDCProvider_0(ctx context.Context, marshaler runtime.Marshaler, server OIDCProviderServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq systemv3.OIDCProvider var metadata runtime.ServerMetadata @@ -224,10 +224,10 @@ func local_request_OIDCProvider_UpdateOIDCProvider_0(ctx context.Context, marsha } var ( - filter_OIDCProvider_DeleteOIDCProvider_0 = &utilities.DoubleArray{Encoding: map[string]int{"metadata": 0, "name": 1}, Base: []int{1, 1, 1, 0}, Check: []int{0, 1, 2, 3}} + filter_OIDCProviderService_DeleteOIDCProvider_0 = &utilities.DoubleArray{Encoding: map[string]int{"metadata": 0, "name": 1}, Base: []int{1, 1, 1, 0}, Check: []int{0, 1, 2, 3}} ) -func request_OIDCProvider_DeleteOIDCProvider_0(ctx context.Context, marshaler runtime.Marshaler, client OIDCProviderClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_OIDCProviderService_DeleteOIDCProvider_0(ctx context.Context, marshaler runtime.Marshaler, client OIDCProviderServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq systemv3.OIDCProvider var metadata runtime.ServerMetadata @@ -251,7 +251,7 @@ func request_OIDCProvider_DeleteOIDCProvider_0(ctx context.Context, marshaler ru if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_OIDCProvider_DeleteOIDCProvider_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_OIDCProviderService_DeleteOIDCProvider_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -260,7 +260,7 @@ func request_OIDCProvider_DeleteOIDCProvider_0(ctx context.Context, marshaler ru } -func local_request_OIDCProvider_DeleteOIDCProvider_0(ctx context.Context, marshaler runtime.Marshaler, server OIDCProviderServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_OIDCProviderService_DeleteOIDCProvider_0(ctx context.Context, marshaler runtime.Marshaler, server OIDCProviderServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq systemv3.OIDCProvider var metadata runtime.ServerMetadata @@ -284,7 +284,7 @@ func local_request_OIDCProvider_DeleteOIDCProvider_0(ctx context.Context, marsha if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_OIDCProvider_DeleteOIDCProvider_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_OIDCProviderService_DeleteOIDCProvider_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -293,133 +293,143 @@ func local_request_OIDCProvider_DeleteOIDCProvider_0(ctx context.Context, marsha } -// RegisterOIDCProviderHandlerServer registers the http handlers for service OIDCProvider to "mux". -// UnaryRPC :call OIDCProviderServer directly. +// RegisterOIDCProviderServiceHandlerServer registers the http handlers for service OIDCProviderService to "mux". +// UnaryRPC :call OIDCProviderServiceServer directly. // StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. -// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterOIDCProviderHandlerFromEndpoint instead. -func RegisterOIDCProviderHandlerServer(ctx context.Context, mux *runtime.ServeMux, server OIDCProviderServer) error { +// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterOIDCProviderServiceHandlerFromEndpoint instead. +func RegisterOIDCProviderServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server OIDCProviderServiceServer) error { - mux.Handle("POST", pattern_OIDCProvider_CreateOIDCProvider_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("POST", pattern_OIDCProviderService_CreateOIDCProvider_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.v3.OIDCProvider/CreateOIDCProvider", runtime.WithHTTPPathPattern("/auth/v3/sso/oidc/provider")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.system.v3.OIDCProviderService/CreateOIDCProvider", runtime.WithHTTPPathPattern("/auth/v3/sso/oidc/provider")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_OIDCProvider_CreateOIDCProvider_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_OIDCProviderService_CreateOIDCProvider_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_OIDCProvider_CreateOIDCProvider_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_OIDCProviderService_CreateOIDCProvider_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_OIDCProvider_GetOIDCProvider_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_OIDCProviderService_GetOIDCProvider_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.v3.OIDCProvider/GetOIDCProvider", runtime.WithHTTPPathPattern("/auth/v3/sso/oidc/provider/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.system.v3.OIDCProviderService/GetOIDCProvider", runtime.WithHTTPPathPattern("/auth/v3/sso/oidc/provider/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_OIDCProvider_GetOIDCProvider_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_OIDCProviderService_GetOIDCProvider_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_OIDCProvider_GetOIDCProvider_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_OIDCProviderService_GetOIDCProvider_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_OIDCProvider_ListOIDCProvider_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_OIDCProviderService_ListOIDCProvider_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.v3.OIDCProvider/ListOIDCProvider", runtime.WithHTTPPathPattern("/auth/v3/sso/oidc/provider")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.system.v3.OIDCProviderService/ListOIDCProvider", runtime.WithHTTPPathPattern("/auth/v3/sso/oidc/provider")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_OIDCProvider_ListOIDCProvider_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_OIDCProviderService_ListOIDCProvider_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_OIDCProvider_ListOIDCProvider_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_OIDCProviderService_ListOIDCProvider_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("PUT", pattern_OIDCProvider_UpdateOIDCProvider_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("PUT", pattern_OIDCProviderService_UpdateOIDCProvider_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.v3.OIDCProvider/UpdateOIDCProvider", runtime.WithHTTPPathPattern("/auth/v3/sso/oidc/provider/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.system.v3.OIDCProviderService/UpdateOIDCProvider", runtime.WithHTTPPathPattern("/auth/v3/sso/oidc/provider/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_OIDCProvider_UpdateOIDCProvider_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_OIDCProviderService_UpdateOIDCProvider_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_OIDCProvider_UpdateOIDCProvider_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_OIDCProviderService_UpdateOIDCProvider_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("DELETE", pattern_OIDCProvider_DeleteOIDCProvider_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("DELETE", pattern_OIDCProviderService_DeleteOIDCProvider_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.v3.OIDCProvider/DeleteOIDCProvider", runtime.WithHTTPPathPattern("/auth/v3/sso/oidc/provider/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.system.v3.OIDCProviderService/DeleteOIDCProvider", runtime.WithHTTPPathPattern("/auth/v3/sso/oidc/provider/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_OIDCProvider_DeleteOIDCProvider_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_OIDCProviderService_DeleteOIDCProvider_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_OIDCProvider_DeleteOIDCProvider_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_OIDCProviderService_DeleteOIDCProvider_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) return nil } -// RegisterOIDCProviderHandlerFromEndpoint is same as RegisterOIDCProviderHandler but +// RegisterOIDCProviderServiceHandlerFromEndpoint is same as RegisterOIDCProviderServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. -func RegisterOIDCProviderHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { +func RegisterOIDCProviderServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { conn, err := grpc.Dial(endpoint, opts...) if err != nil { return err @@ -439,119 +449,129 @@ func RegisterOIDCProviderHandlerFromEndpoint(ctx context.Context, mux *runtime.S }() }() - return RegisterOIDCProviderHandler(ctx, mux, conn) + return RegisterOIDCProviderServiceHandler(ctx, mux, conn) } -// RegisterOIDCProviderHandler registers the http handlers for service OIDCProvider to "mux". +// RegisterOIDCProviderServiceHandler registers the http handlers for service OIDCProviderService to "mux". // The handlers forward requests to the grpc endpoint over "conn". -func RegisterOIDCProviderHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { - return RegisterOIDCProviderHandlerClient(ctx, mux, NewOIDCProviderClient(conn)) +func RegisterOIDCProviderServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { + return RegisterOIDCProviderServiceHandlerClient(ctx, mux, NewOIDCProviderServiceClient(conn)) } -// RegisterOIDCProviderHandlerClient registers the http handlers for service OIDCProvider -// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "OIDCProviderClient". -// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "OIDCProviderClient" +// RegisterOIDCProviderServiceHandlerClient registers the http handlers for service OIDCProviderService +// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "OIDCProviderServiceClient". +// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "OIDCProviderServiceClient" // doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in -// "OIDCProviderClient" to call the correct interceptors. -func RegisterOIDCProviderHandlerClient(ctx context.Context, mux *runtime.ServeMux, client OIDCProviderClient) error { +// "OIDCProviderServiceClient" to call the correct interceptors. +func RegisterOIDCProviderServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client OIDCProviderServiceClient) error { - mux.Handle("POST", pattern_OIDCProvider_CreateOIDCProvider_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("POST", pattern_OIDCProviderService_CreateOIDCProvider_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.v3.OIDCProvider/CreateOIDCProvider", runtime.WithHTTPPathPattern("/auth/v3/sso/oidc/provider")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.system.v3.OIDCProviderService/CreateOIDCProvider", runtime.WithHTTPPathPattern("/auth/v3/sso/oidc/provider")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_OIDCProvider_CreateOIDCProvider_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_OIDCProviderService_CreateOIDCProvider_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_OIDCProvider_CreateOIDCProvider_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_OIDCProviderService_CreateOIDCProvider_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_OIDCProvider_GetOIDCProvider_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_OIDCProviderService_GetOIDCProvider_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.v3.OIDCProvider/GetOIDCProvider", runtime.WithHTTPPathPattern("/auth/v3/sso/oidc/provider/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.system.v3.OIDCProviderService/GetOIDCProvider", runtime.WithHTTPPathPattern("/auth/v3/sso/oidc/provider/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_OIDCProvider_GetOIDCProvider_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_OIDCProviderService_GetOIDCProvider_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_OIDCProvider_GetOIDCProvider_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_OIDCProviderService_GetOIDCProvider_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_OIDCProvider_ListOIDCProvider_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_OIDCProviderService_ListOIDCProvider_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.v3.OIDCProvider/ListOIDCProvider", runtime.WithHTTPPathPattern("/auth/v3/sso/oidc/provider")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.system.v3.OIDCProviderService/ListOIDCProvider", runtime.WithHTTPPathPattern("/auth/v3/sso/oidc/provider")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_OIDCProvider_ListOIDCProvider_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_OIDCProviderService_ListOIDCProvider_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_OIDCProvider_ListOIDCProvider_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_OIDCProviderService_ListOIDCProvider_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("PUT", pattern_OIDCProvider_UpdateOIDCProvider_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("PUT", pattern_OIDCProviderService_UpdateOIDCProvider_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.v3.OIDCProvider/UpdateOIDCProvider", runtime.WithHTTPPathPattern("/auth/v3/sso/oidc/provider/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.system.v3.OIDCProviderService/UpdateOIDCProvider", runtime.WithHTTPPathPattern("/auth/v3/sso/oidc/provider/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_OIDCProvider_UpdateOIDCProvider_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_OIDCProviderService_UpdateOIDCProvider_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_OIDCProvider_UpdateOIDCProvider_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_OIDCProviderService_UpdateOIDCProvider_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("DELETE", pattern_OIDCProvider_DeleteOIDCProvider_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("DELETE", pattern_OIDCProviderService_DeleteOIDCProvider_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.v3.OIDCProvider/DeleteOIDCProvider", runtime.WithHTTPPathPattern("/auth/v3/sso/oidc/provider/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.system.v3.OIDCProviderService/DeleteOIDCProvider", runtime.WithHTTPPathPattern("/auth/v3/sso/oidc/provider/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_OIDCProvider_DeleteOIDCProvider_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_OIDCProviderService_DeleteOIDCProvider_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_OIDCProvider_DeleteOIDCProvider_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_OIDCProviderService_DeleteOIDCProvider_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) @@ -559,25 +579,25 @@ func RegisterOIDCProviderHandlerClient(ctx context.Context, mux *runtime.ServeMu } var ( - pattern_OIDCProvider_CreateOIDCProvider_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4}, []string{"auth", "v3", "sso", "oidc", "provider"}, "")) + pattern_OIDCProviderService_CreateOIDCProvider_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4}, []string{"auth", "v3", "sso", "oidc", "provider"}, "")) - pattern_OIDCProvider_GetOIDCProvider_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 1, 0, 4, 1, 5, 5}, []string{"auth", "v3", "sso", "oidc", "provider", "metadata.name"}, "")) + pattern_OIDCProviderService_GetOIDCProvider_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 1, 0, 4, 1, 5, 5}, []string{"auth", "v3", "sso", "oidc", "provider", "metadata.name"}, "")) - pattern_OIDCProvider_ListOIDCProvider_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4}, []string{"auth", "v3", "sso", "oidc", "provider"}, "")) + pattern_OIDCProviderService_ListOIDCProvider_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4}, []string{"auth", "v3", "sso", "oidc", "provider"}, "")) - pattern_OIDCProvider_UpdateOIDCProvider_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 1, 0, 4, 1, 5, 5}, []string{"auth", "v3", "sso", "oidc", "provider", "metadata.name"}, "")) + pattern_OIDCProviderService_UpdateOIDCProvider_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 1, 0, 4, 1, 5, 5}, []string{"auth", "v3", "sso", "oidc", "provider", "metadata.name"}, "")) - pattern_OIDCProvider_DeleteOIDCProvider_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 1, 0, 4, 1, 5, 5}, []string{"auth", "v3", "sso", "oidc", "provider", "metadata.name"}, "")) + pattern_OIDCProviderService_DeleteOIDCProvider_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 1, 0, 4, 1, 5, 5}, []string{"auth", "v3", "sso", "oidc", "provider", "metadata.name"}, "")) ) var ( - forward_OIDCProvider_CreateOIDCProvider_0 = runtime.ForwardResponseMessage + forward_OIDCProviderService_CreateOIDCProvider_0 = runtime.ForwardResponseMessage - forward_OIDCProvider_GetOIDCProvider_0 = runtime.ForwardResponseMessage + forward_OIDCProviderService_GetOIDCProvider_0 = runtime.ForwardResponseMessage - forward_OIDCProvider_ListOIDCProvider_0 = runtime.ForwardResponseMessage + forward_OIDCProviderService_ListOIDCProvider_0 = runtime.ForwardResponseMessage - forward_OIDCProvider_UpdateOIDCProvider_0 = runtime.ForwardResponseMessage + forward_OIDCProviderService_UpdateOIDCProvider_0 = runtime.ForwardResponseMessage - forward_OIDCProvider_DeleteOIDCProvider_0 = runtime.ForwardResponseMessage + forward_OIDCProviderService_DeleteOIDCProvider_0 = runtime.ForwardResponseMessage ) diff --git a/proto/rpc/system/oidc_provider.proto b/proto/rpc/system/oidc_provider.proto index 29825e70..d0f93b2f 100644 --- a/proto/rpc/system/oidc_provider.proto +++ b/proto/rpc/system/oidc_provider.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package paralus.dev.rpc.v3; +package paralus.dev.rpc.system.v3; import "google/api/annotations.proto"; import "google/protobuf/empty.proto"; @@ -53,7 +53,7 @@ option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = { } }; -service OIDCProvider { +service OIDCProviderService { rpc CreateOIDCProvider(paralus.dev.types.system.v3.OIDCProvider) returns (paralus.dev.types.system.v3.OIDCProvider) { option (google.api.http) = { post : "/auth/v3/sso/oidc/provider" diff --git a/proto/rpc/system/oidc_provider_grpc.pb.go b/proto/rpc/system/oidc_provider_grpc.pb.go index c2e4eac5..ff956906 100644 --- a/proto/rpc/system/oidc_provider_grpc.pb.go +++ b/proto/rpc/system/oidc_provider_grpc.pb.go @@ -4,7 +4,7 @@ // - protoc (unknown) // source: proto/rpc/system/oidc_provider.proto -package rpcv3 +package systemv3 import ( context "context" @@ -20,10 +20,10 @@ import ( // Requires gRPC-Go v1.32.0 or later. const _ = grpc.SupportPackageIsVersion7 -// OIDCProviderClient is the client API for OIDCProvider service. +// OIDCProviderServiceClient is the client API for OIDCProviderService service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. -type OIDCProviderClient interface { +type OIDCProviderServiceClient interface { CreateOIDCProvider(ctx context.Context, in *v3.OIDCProvider, opts ...grpc.CallOption) (*v3.OIDCProvider, error) GetOIDCProvider(ctx context.Context, in *v3.OIDCProvider, opts ...grpc.CallOption) (*v3.OIDCProvider, error) ListOIDCProvider(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*v3.OIDCProviderList, error) @@ -31,63 +31,63 @@ type OIDCProviderClient interface { DeleteOIDCProvider(ctx context.Context, in *v3.OIDCProvider, opts ...grpc.CallOption) (*emptypb.Empty, error) } -type oIDCProviderClient struct { +type oIDCProviderServiceClient struct { cc grpc.ClientConnInterface } -func NewOIDCProviderClient(cc grpc.ClientConnInterface) OIDCProviderClient { - return &oIDCProviderClient{cc} +func NewOIDCProviderServiceClient(cc grpc.ClientConnInterface) OIDCProviderServiceClient { + return &oIDCProviderServiceClient{cc} } -func (c *oIDCProviderClient) CreateOIDCProvider(ctx context.Context, in *v3.OIDCProvider, opts ...grpc.CallOption) (*v3.OIDCProvider, error) { +func (c *oIDCProviderServiceClient) CreateOIDCProvider(ctx context.Context, in *v3.OIDCProvider, opts ...grpc.CallOption) (*v3.OIDCProvider, error) { out := new(v3.OIDCProvider) - err := c.cc.Invoke(ctx, "/paralus.dev.rpc.v3.OIDCProvider/CreateOIDCProvider", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.rpc.system.v3.OIDCProviderService/CreateOIDCProvider", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *oIDCProviderClient) GetOIDCProvider(ctx context.Context, in *v3.OIDCProvider, opts ...grpc.CallOption) (*v3.OIDCProvider, error) { +func (c *oIDCProviderServiceClient) GetOIDCProvider(ctx context.Context, in *v3.OIDCProvider, opts ...grpc.CallOption) (*v3.OIDCProvider, error) { out := new(v3.OIDCProvider) - err := c.cc.Invoke(ctx, "/paralus.dev.rpc.v3.OIDCProvider/GetOIDCProvider", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.rpc.system.v3.OIDCProviderService/GetOIDCProvider", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *oIDCProviderClient) ListOIDCProvider(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*v3.OIDCProviderList, error) { +func (c *oIDCProviderServiceClient) ListOIDCProvider(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*v3.OIDCProviderList, error) { out := new(v3.OIDCProviderList) - err := c.cc.Invoke(ctx, "/paralus.dev.rpc.v3.OIDCProvider/ListOIDCProvider", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.rpc.system.v3.OIDCProviderService/ListOIDCProvider", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *oIDCProviderClient) UpdateOIDCProvider(ctx context.Context, in *v3.OIDCProvider, opts ...grpc.CallOption) (*v3.OIDCProvider, error) { +func (c *oIDCProviderServiceClient) UpdateOIDCProvider(ctx context.Context, in *v3.OIDCProvider, opts ...grpc.CallOption) (*v3.OIDCProvider, error) { out := new(v3.OIDCProvider) - err := c.cc.Invoke(ctx, "/paralus.dev.rpc.v3.OIDCProvider/UpdateOIDCProvider", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.rpc.system.v3.OIDCProviderService/UpdateOIDCProvider", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *oIDCProviderClient) DeleteOIDCProvider(ctx context.Context, in *v3.OIDCProvider, opts ...grpc.CallOption) (*emptypb.Empty, error) { +func (c *oIDCProviderServiceClient) DeleteOIDCProvider(ctx context.Context, in *v3.OIDCProvider, opts ...grpc.CallOption) (*emptypb.Empty, error) { out := new(emptypb.Empty) - err := c.cc.Invoke(ctx, "/paralus.dev.rpc.v3.OIDCProvider/DeleteOIDCProvider", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.rpc.system.v3.OIDCProviderService/DeleteOIDCProvider", in, out, opts...) if err != nil { return nil, err } return out, nil } -// OIDCProviderServer is the server API for OIDCProvider service. -// All implementations should embed UnimplementedOIDCProviderServer +// OIDCProviderServiceServer is the server API for OIDCProviderService service. +// All implementations should embed UnimplementedOIDCProviderServiceServer // for forward compatibility -type OIDCProviderServer interface { +type OIDCProviderServiceServer interface { CreateOIDCProvider(context.Context, *v3.OIDCProvider) (*v3.OIDCProvider, error) GetOIDCProvider(context.Context, *v3.OIDCProvider) (*v3.OIDCProvider, error) ListOIDCProvider(context.Context, *emptypb.Empty) (*v3.OIDCProviderList, error) @@ -95,153 +95,153 @@ type OIDCProviderServer interface { DeleteOIDCProvider(context.Context, *v3.OIDCProvider) (*emptypb.Empty, error) } -// UnimplementedOIDCProviderServer should be embedded to have forward compatible implementations. -type UnimplementedOIDCProviderServer struct { +// UnimplementedOIDCProviderServiceServer should be embedded to have forward compatible implementations. +type UnimplementedOIDCProviderServiceServer struct { } -func (UnimplementedOIDCProviderServer) CreateOIDCProvider(context.Context, *v3.OIDCProvider) (*v3.OIDCProvider, error) { +func (UnimplementedOIDCProviderServiceServer) CreateOIDCProvider(context.Context, *v3.OIDCProvider) (*v3.OIDCProvider, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateOIDCProvider not implemented") } -func (UnimplementedOIDCProviderServer) GetOIDCProvider(context.Context, *v3.OIDCProvider) (*v3.OIDCProvider, error) { +func (UnimplementedOIDCProviderServiceServer) GetOIDCProvider(context.Context, *v3.OIDCProvider) (*v3.OIDCProvider, error) { return nil, status.Errorf(codes.Unimplemented, "method GetOIDCProvider not implemented") } -func (UnimplementedOIDCProviderServer) ListOIDCProvider(context.Context, *emptypb.Empty) (*v3.OIDCProviderList, error) { +func (UnimplementedOIDCProviderServiceServer) ListOIDCProvider(context.Context, *emptypb.Empty) (*v3.OIDCProviderList, error) { return nil, status.Errorf(codes.Unimplemented, "method ListOIDCProvider not implemented") } -func (UnimplementedOIDCProviderServer) UpdateOIDCProvider(context.Context, *v3.OIDCProvider) (*v3.OIDCProvider, error) { +func (UnimplementedOIDCProviderServiceServer) UpdateOIDCProvider(context.Context, *v3.OIDCProvider) (*v3.OIDCProvider, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateOIDCProvider not implemented") } -func (UnimplementedOIDCProviderServer) DeleteOIDCProvider(context.Context, *v3.OIDCProvider) (*emptypb.Empty, error) { +func (UnimplementedOIDCProviderServiceServer) DeleteOIDCProvider(context.Context, *v3.OIDCProvider) (*emptypb.Empty, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteOIDCProvider not implemented") } -// UnsafeOIDCProviderServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to OIDCProviderServer will +// UnsafeOIDCProviderServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to OIDCProviderServiceServer will // result in compilation errors. -type UnsafeOIDCProviderServer interface { - mustEmbedUnimplementedOIDCProviderServer() +type UnsafeOIDCProviderServiceServer interface { + mustEmbedUnimplementedOIDCProviderServiceServer() } -func RegisterOIDCProviderServer(s grpc.ServiceRegistrar, srv OIDCProviderServer) { - s.RegisterService(&OIDCProvider_ServiceDesc, srv) +func RegisterOIDCProviderServiceServer(s grpc.ServiceRegistrar, srv OIDCProviderServiceServer) { + s.RegisterService(&OIDCProviderService_ServiceDesc, srv) } -func _OIDCProvider_CreateOIDCProvider_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _OIDCProviderService_CreateOIDCProvider_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v3.OIDCProvider) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(OIDCProviderServer).CreateOIDCProvider(ctx, in) + return srv.(OIDCProviderServiceServer).CreateOIDCProvider(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.rpc.v3.OIDCProvider/CreateOIDCProvider", + FullMethod: "/paralus.dev.rpc.system.v3.OIDCProviderService/CreateOIDCProvider", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OIDCProviderServer).CreateOIDCProvider(ctx, req.(*v3.OIDCProvider)) + return srv.(OIDCProviderServiceServer).CreateOIDCProvider(ctx, req.(*v3.OIDCProvider)) } return interceptor(ctx, in, info, handler) } -func _OIDCProvider_GetOIDCProvider_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _OIDCProviderService_GetOIDCProvider_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v3.OIDCProvider) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(OIDCProviderServer).GetOIDCProvider(ctx, in) + return srv.(OIDCProviderServiceServer).GetOIDCProvider(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.rpc.v3.OIDCProvider/GetOIDCProvider", + FullMethod: "/paralus.dev.rpc.system.v3.OIDCProviderService/GetOIDCProvider", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OIDCProviderServer).GetOIDCProvider(ctx, req.(*v3.OIDCProvider)) + return srv.(OIDCProviderServiceServer).GetOIDCProvider(ctx, req.(*v3.OIDCProvider)) } return interceptor(ctx, in, info, handler) } -func _OIDCProvider_ListOIDCProvider_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _OIDCProviderService_ListOIDCProvider_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(emptypb.Empty) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(OIDCProviderServer).ListOIDCProvider(ctx, in) + return srv.(OIDCProviderServiceServer).ListOIDCProvider(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.rpc.v3.OIDCProvider/ListOIDCProvider", + FullMethod: "/paralus.dev.rpc.system.v3.OIDCProviderService/ListOIDCProvider", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OIDCProviderServer).ListOIDCProvider(ctx, req.(*emptypb.Empty)) + return srv.(OIDCProviderServiceServer).ListOIDCProvider(ctx, req.(*emptypb.Empty)) } return interceptor(ctx, in, info, handler) } -func _OIDCProvider_UpdateOIDCProvider_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _OIDCProviderService_UpdateOIDCProvider_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v3.OIDCProvider) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(OIDCProviderServer).UpdateOIDCProvider(ctx, in) + return srv.(OIDCProviderServiceServer).UpdateOIDCProvider(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.rpc.v3.OIDCProvider/UpdateOIDCProvider", + FullMethod: "/paralus.dev.rpc.system.v3.OIDCProviderService/UpdateOIDCProvider", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OIDCProviderServer).UpdateOIDCProvider(ctx, req.(*v3.OIDCProvider)) + return srv.(OIDCProviderServiceServer).UpdateOIDCProvider(ctx, req.(*v3.OIDCProvider)) } return interceptor(ctx, in, info, handler) } -func _OIDCProvider_DeleteOIDCProvider_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _OIDCProviderService_DeleteOIDCProvider_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v3.OIDCProvider) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(OIDCProviderServer).DeleteOIDCProvider(ctx, in) + return srv.(OIDCProviderServiceServer).DeleteOIDCProvider(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.rpc.v3.OIDCProvider/DeleteOIDCProvider", + FullMethod: "/paralus.dev.rpc.system.v3.OIDCProviderService/DeleteOIDCProvider", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OIDCProviderServer).DeleteOIDCProvider(ctx, req.(*v3.OIDCProvider)) + return srv.(OIDCProviderServiceServer).DeleteOIDCProvider(ctx, req.(*v3.OIDCProvider)) } return interceptor(ctx, in, info, handler) } -// OIDCProvider_ServiceDesc is the grpc.ServiceDesc for OIDCProvider service. +// OIDCProviderService_ServiceDesc is the grpc.ServiceDesc for OIDCProviderService service. // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) -var OIDCProvider_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "paralus.dev.rpc.v3.OIDCProvider", - HandlerType: (*OIDCProviderServer)(nil), +var OIDCProviderService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "paralus.dev.rpc.system.v3.OIDCProviderService", + HandlerType: (*OIDCProviderServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateOIDCProvider", - Handler: _OIDCProvider_CreateOIDCProvider_Handler, + Handler: _OIDCProviderService_CreateOIDCProvider_Handler, }, { MethodName: "GetOIDCProvider", - Handler: _OIDCProvider_GetOIDCProvider_Handler, + Handler: _OIDCProviderService_GetOIDCProvider_Handler, }, { MethodName: "ListOIDCProvider", - Handler: _OIDCProvider_ListOIDCProvider_Handler, + Handler: _OIDCProviderService_ListOIDCProvider_Handler, }, { MethodName: "UpdateOIDCProvider", - Handler: _OIDCProvider_UpdateOIDCProvider_Handler, + Handler: _OIDCProviderService_UpdateOIDCProvider_Handler, }, { MethodName: "DeleteOIDCProvider", - Handler: _OIDCProvider_DeleteOIDCProvider_Handler, + Handler: _OIDCProviderService_DeleteOIDCProvider_Handler, }, }, Streams: []grpc.StreamDesc{}, diff --git a/proto/rpc/system/organization.pb.go b/proto/rpc/system/organization.pb.go index 6296424b..a27f5cb6 100644 --- a/proto/rpc/system/organization.pb.go +++ b/proto/rpc/system/organization.pb.go @@ -1,10 +1,10 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.27.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: proto/rpc/system/organization.proto -package rpcv3 +package systemv3 import ( _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" @@ -27,116 +27,120 @@ var File_proto_rpc_system_organization_proto protoreflect.FileDescriptor var file_proto_rpc_system_organization_proto_rawDesc = []byte{ 0x0a, 0x23, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x33, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, - 0x67, 0x65, 0x6e, 0x2d, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x6f, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2a, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, - 0x79, 0x70, 0x65, 0x73, 0x2f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x70, 0x62, 0x2f, 0x76, 0x33, - 0x2f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x32, 0x8a, 0x08, 0x0a, 0x0c, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x12, 0xe8, 0x01, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, + 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, + 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x6f, 0x70, 0x65, 0x6e, 0x61, + 0x70, 0x69, 0x76, 0x32, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x6e, 0x6e, + 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2a, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x73, 0x79, 0x73, 0x74, + 0x65, 0x6d, 0x70, 0x62, 0x2f, 0x76, 0x33, 0x2f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x91, 0x08, 0x0a, 0x13, 0x4f, + 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x12, 0xe8, 0x01, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, + 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x29, 0x2e, 0x70, 0x61, 0x72, 0x61, + 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x79, + 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x29, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, + 0x76, 0x33, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, + 0x7c, 0x92, 0x41, 0x3e, 0x4a, 0x3c, 0x0a, 0x03, 0x32, 0x30, 0x31, 0x12, 0x35, 0x0a, 0x33, 0x52, + 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x6f, 0x72, 0x67, + 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x69, 0x73, 0x20, 0x63, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x64, 0x20, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x66, 0x75, 0x6c, 0x6c, + 0x79, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x35, 0x22, 0x30, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, + 0x76, 0x33, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x7d, 0x2f, 0x6f, 0x72, + 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x01, 0x2a, 0x12, 0xa7, 0x01, + 0x0a, 0x10, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x12, 0x29, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, + 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x2d, 0x2e, + 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, + 0x73, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x4f, 0x72, 0x67, 0x61, + 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x39, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x33, 0x12, 0x31, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x33, 0x2f, 0x70, + 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x7d, 0x2f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, + 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0xb1, 0x01, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x29, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x29, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x22, 0x7c, 0x92, 0x41, 0x3e, 0x4a, 0x3c, 0x0a, 0x03, 0x32, 0x30, 0x31, 0x12, 0x35, 0x0a, - 0x33, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x6f, - 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x69, 0x73, 0x20, 0x63, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x20, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x66, 0x75, - 0x6c, 0x6c, 0x79, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x35, 0x22, 0x30, 0x2f, 0x61, 0x75, 0x74, - 0x68, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x2f, 0x7b, 0x6d, 0x65, - 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x7d, 0x2f, - 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x01, 0x2a, 0x12, - 0xa7, 0x01, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x29, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, - 0x76, 0x33, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, - 0x2d, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, - 0x70, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x4f, 0x72, - 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x39, - 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x12, 0x31, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x33, - 0x2f, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0x2e, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x7d, 0x2f, 0x6f, 0x72, 0x67, 0x61, - 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0xb1, 0x01, 0x0a, 0x0f, 0x47, 0x65, - 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x29, 0x2e, + 0x6e, 0x22, 0x48, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x42, 0x12, 0x40, 0x2f, 0x61, 0x75, 0x74, 0x68, + 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x2f, 0x7b, 0x6d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x7d, 0x2f, 0x6f, + 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x7b, 0x6d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x12, 0xb7, 0x01, 0x0a, 0x12, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x12, 0x29, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, + 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x29, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x4f, 0x72, 0x67, 0x61, - 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x29, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, - 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x73, - 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x22, 0x48, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x42, 0x12, 0x40, 0x2f, 0x61, 0x75, - 0x74, 0x68, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x2f, 0x7b, 0x6d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x7d, - 0x2f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x7b, 0x6d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x12, 0xb7, 0x01, - 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x29, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, - 0x76, 0x33, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, - 0x29, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, - 0x70, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x4f, 0x72, - 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x4b, 0x82, 0xd3, 0xe4, 0x93, - 0x02, 0x45, 0x1a, 0x40, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x61, 0x72, - 0x74, 0x6e, 0x65, 0x72, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, - 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x7d, 0x2f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6e, - 0x61, 0x6d, 0x65, 0x7d, 0x3a, 0x01, 0x2a, 0x12, 0xf6, 0x01, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x29, - 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, - 0x65, 0x73, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x4f, 0x72, 0x67, - 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x29, 0x2e, 0x70, 0x61, 0x72, 0x61, - 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x79, - 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x89, 0x01, 0x92, 0x41, 0x3e, 0x4a, 0x3c, 0x0a, 0x03, 0x32, 0x30, - 0x34, 0x12, 0x35, 0x0a, 0x33, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, - 0x65, 0x6e, 0x20, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, - 0x69, 0x73, 0x20, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x20, 0x73, 0x75, 0x63, 0x63, 0x65, - 0x73, 0x73, 0x66, 0x75, 0x6c, 0x6c, 0x79, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x42, 0x2a, 0x40, - 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, - 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x61, 0x72, 0x74, 0x6e, - 0x65, 0x72, 0x7d, 0x2f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, - 0x42, 0xb0, 0x04, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x33, 0x42, 0x11, 0x4f, 0x72, 0x67, - 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, - 0x5a, 0x31, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x61, 0x72, - 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x3b, 0x72, 0x70, - 0x63, 0x76, 0x33, 0xa2, 0x02, 0x03, 0x50, 0x44, 0x52, 0xaa, 0x02, 0x12, 0x50, 0x61, 0x72, 0x61, - 0x6c, 0x75, 0x73, 0x2e, 0x44, 0x65, 0x76, 0x2e, 0x52, 0x70, 0x63, 0x2e, 0x56, 0x33, 0xca, 0x02, - 0x12, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x5c, 0x44, 0x65, 0x76, 0x5c, 0x52, 0x70, 0x63, - 0x5c, 0x56, 0x33, 0xe2, 0x02, 0x1e, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x5c, 0x44, 0x65, - 0x76, 0x5c, 0x52, 0x70, 0x63, 0x5c, 0x56, 0x33, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x15, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x3a, 0x3a, - 0x44, 0x65, 0x76, 0x3a, 0x3a, 0x52, 0x70, 0x63, 0x3a, 0x3a, 0x56, 0x33, 0x92, 0x41, 0xe3, 0x02, - 0x12, 0x2a, 0x0a, 0x14, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x20, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x22, 0x0d, 0x0a, 0x0b, 0x50, 0x61, 0x72, 0x61, - 0x6c, 0x75, 0x73, 0x20, 0x44, 0x65, 0x76, 0x32, 0x03, 0x33, 0x2e, 0x30, 0x2a, 0x01, 0x02, 0x32, - 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, - 0x6e, 0x32, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x79, - 0x61, 0x6d, 0x6c, 0x3a, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x2f, 0x79, 0x61, 0x6d, 0x6c, 0x52, 0x50, 0x0a, 0x03, 0x34, 0x30, 0x33, 0x12, 0x49, - 0x0a, 0x47, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, - 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x64, 0x6f, 0x65, 0x73, 0x20, 0x6e, 0x6f, - 0x74, 0x20, 0x68, 0x61, 0x76, 0x65, 0x20, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, - 0x6e, 0x20, 0x74, 0x6f, 0x20, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x20, 0x74, 0x68, 0x65, 0x20, - 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x52, 0x3b, 0x0a, 0x03, 0x34, 0x30, 0x34, - 0x12, 0x34, 0x0a, 0x2a, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, - 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x20, 0x64, - 0x6f, 0x65, 0x73, 0x20, 0x6e, 0x6f, 0x74, 0x20, 0x65, 0x78, 0x69, 0x73, 0x74, 0x2e, 0x12, 0x06, - 0x0a, 0x04, 0x9a, 0x02, 0x01, 0x07, 0x5a, 0x3a, 0x0a, 0x27, 0x0a, 0x0a, 0x41, 0x70, 0x69, 0x4b, - 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x12, 0x19, 0x08, 0x02, 0x1a, 0x13, 0x58, 0x2d, 0x50, 0x41, - 0x52, 0x41, 0x4c, 0x55, 0x53, 0x2d, 0x41, 0x50, 0x49, 0x2d, 0x4b, 0x45, 0x59, 0x49, 0x44, 0x20, - 0x02, 0x0a, 0x0f, 0x0a, 0x09, 0x42, 0x61, 0x73, 0x69, 0x63, 0x41, 0x75, 0x74, 0x68, 0x12, 0x02, - 0x08, 0x01, 0x62, 0x1f, 0x0a, 0x0e, 0x0a, 0x0a, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x41, 0x75, - 0x74, 0x68, 0x12, 0x00, 0x0a, 0x0d, 0x0a, 0x09, 0x42, 0x61, 0x73, 0x69, 0x63, 0x41, 0x75, 0x74, - 0x68, 0x12, 0x00, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x4b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x45, + 0x1a, 0x40, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x6e, + 0x65, 0x72, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x61, 0x72, + 0x74, 0x6e, 0x65, 0x72, 0x7d, 0x2f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6e, 0x61, 0x6d, + 0x65, 0x7d, 0x3a, 0x01, 0x2a, 0x12, 0xf6, 0x01, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x29, 0x2e, 0x70, + 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, + 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, + 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x29, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, + 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x73, 0x74, + 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x22, 0x89, 0x01, 0x92, 0x41, 0x3e, 0x4a, 0x3c, 0x0a, 0x03, 0x32, 0x30, 0x34, 0x12, + 0x35, 0x0a, 0x33, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, + 0x20, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x69, 0x73, + 0x20, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x20, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, + 0x66, 0x75, 0x6c, 0x6c, 0x79, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x42, 0x2a, 0x40, 0x2f, 0x61, + 0x75, 0x74, 0x68, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x2f, 0x7b, + 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, + 0x7d, 0x2f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x7b, + 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x42, 0xd8, + 0x04, 0x0a, 0x1d, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, + 0x42, 0x11, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, + 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x34, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, + 0x6d, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, + 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x79, 0x73, 0x74, + 0x65, 0x6d, 0x3b, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x76, 0x33, 0xa2, 0x02, 0x04, 0x50, 0x44, + 0x52, 0x53, 0xaa, 0x02, 0x19, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x44, 0x65, 0x76, + 0x2e, 0x52, 0x70, 0x63, 0x2e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x56, 0x33, 0xca, 0x02, + 0x19, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x5c, 0x44, 0x65, 0x76, 0x5c, 0x52, 0x70, 0x63, + 0x5c, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5c, 0x56, 0x33, 0xe2, 0x02, 0x25, 0x50, 0x61, 0x72, + 0x61, 0x6c, 0x75, 0x73, 0x5c, 0x44, 0x65, 0x76, 0x5c, 0x52, 0x70, 0x63, 0x5c, 0x53, 0x79, 0x73, + 0x74, 0x65, 0x6d, 0x5c, 0x56, 0x33, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0xea, 0x02, 0x1d, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x3a, 0x3a, 0x44, 0x65, + 0x76, 0x3a, 0x3a, 0x52, 0x70, 0x63, 0x3a, 0x3a, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x3a, 0x3a, + 0x56, 0x33, 0x92, 0x41, 0xe3, 0x02, 0x12, 0x2a, 0x0a, 0x14, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, + 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x22, 0x0d, + 0x0a, 0x0b, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x20, 0x44, 0x65, 0x76, 0x32, 0x03, 0x33, + 0x2e, 0x30, 0x2a, 0x01, 0x02, 0x32, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x32, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x10, 0x61, 0x70, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x79, 0x61, 0x6d, 0x6c, 0x52, 0x50, 0x0a, + 0x03, 0x34, 0x30, 0x33, 0x12, 0x49, 0x0a, 0x47, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, + 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x64, + 0x6f, 0x65, 0x73, 0x20, 0x6e, 0x6f, 0x74, 0x20, 0x68, 0x61, 0x76, 0x65, 0x20, 0x70, 0x65, 0x72, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x20, 0x74, 0x6f, 0x20, 0x61, 0x63, 0x63, 0x65, 0x73, + 0x73, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x52, + 0x3b, 0x0a, 0x03, 0x34, 0x30, 0x34, 0x12, 0x34, 0x0a, 0x2a, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, + 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x20, 0x64, 0x6f, 0x65, 0x73, 0x20, 0x6e, 0x6f, 0x74, 0x20, 0x65, 0x78, + 0x69, 0x73, 0x74, 0x2e, 0x12, 0x06, 0x0a, 0x04, 0x9a, 0x02, 0x01, 0x07, 0x5a, 0x3a, 0x0a, 0x27, + 0x0a, 0x0a, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x12, 0x19, 0x08, 0x02, + 0x1a, 0x13, 0x58, 0x2d, 0x50, 0x41, 0x52, 0x41, 0x4c, 0x55, 0x53, 0x2d, 0x41, 0x50, 0x49, 0x2d, + 0x4b, 0x45, 0x59, 0x49, 0x44, 0x20, 0x02, 0x0a, 0x0f, 0x0a, 0x09, 0x42, 0x61, 0x73, 0x69, 0x63, + 0x41, 0x75, 0x74, 0x68, 0x12, 0x02, 0x08, 0x01, 0x62, 0x1f, 0x0a, 0x0e, 0x0a, 0x0a, 0x41, 0x70, + 0x69, 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x12, 0x00, 0x0a, 0x0d, 0x0a, 0x09, 0x42, 0x61, + 0x73, 0x69, 0x63, 0x41, 0x75, 0x74, 0x68, 0x12, 0x00, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, } var file_proto_rpc_system_organization_proto_goTypes = []interface{}{ @@ -144,16 +148,16 @@ var file_proto_rpc_system_organization_proto_goTypes = []interface{}{ (*v3.OrganizationList)(nil), // 1: paralus.dev.types.system.v3.OrganizationList } var file_proto_rpc_system_organization_proto_depIdxs = []int32{ - 0, // 0: paralus.dev.rpc.v3.Organization.CreateOrganization:input_type -> paralus.dev.types.system.v3.Organization - 0, // 1: paralus.dev.rpc.v3.Organization.GetOrganizations:input_type -> paralus.dev.types.system.v3.Organization - 0, // 2: paralus.dev.rpc.v3.Organization.GetOrganization:input_type -> paralus.dev.types.system.v3.Organization - 0, // 3: paralus.dev.rpc.v3.Organization.UpdateOrganization:input_type -> paralus.dev.types.system.v3.Organization - 0, // 4: paralus.dev.rpc.v3.Organization.DeleteOrganization:input_type -> paralus.dev.types.system.v3.Organization - 0, // 5: paralus.dev.rpc.v3.Organization.CreateOrganization:output_type -> paralus.dev.types.system.v3.Organization - 1, // 6: paralus.dev.rpc.v3.Organization.GetOrganizations:output_type -> paralus.dev.types.system.v3.OrganizationList - 0, // 7: paralus.dev.rpc.v3.Organization.GetOrganization:output_type -> paralus.dev.types.system.v3.Organization - 0, // 8: paralus.dev.rpc.v3.Organization.UpdateOrganization:output_type -> paralus.dev.types.system.v3.Organization - 0, // 9: paralus.dev.rpc.v3.Organization.DeleteOrganization:output_type -> paralus.dev.types.system.v3.Organization + 0, // 0: paralus.dev.rpc.system.v3.OrganizationService.CreateOrganization:input_type -> paralus.dev.types.system.v3.Organization + 0, // 1: paralus.dev.rpc.system.v3.OrganizationService.GetOrganizations:input_type -> paralus.dev.types.system.v3.Organization + 0, // 2: paralus.dev.rpc.system.v3.OrganizationService.GetOrganization:input_type -> paralus.dev.types.system.v3.Organization + 0, // 3: paralus.dev.rpc.system.v3.OrganizationService.UpdateOrganization:input_type -> paralus.dev.types.system.v3.Organization + 0, // 4: paralus.dev.rpc.system.v3.OrganizationService.DeleteOrganization:input_type -> paralus.dev.types.system.v3.Organization + 0, // 5: paralus.dev.rpc.system.v3.OrganizationService.CreateOrganization:output_type -> paralus.dev.types.system.v3.Organization + 1, // 6: paralus.dev.rpc.system.v3.OrganizationService.GetOrganizations:output_type -> paralus.dev.types.system.v3.OrganizationList + 0, // 7: paralus.dev.rpc.system.v3.OrganizationService.GetOrganization:output_type -> paralus.dev.types.system.v3.Organization + 0, // 8: paralus.dev.rpc.system.v3.OrganizationService.UpdateOrganization:output_type -> paralus.dev.types.system.v3.Organization + 0, // 9: paralus.dev.rpc.system.v3.OrganizationService.DeleteOrganization:output_type -> paralus.dev.types.system.v3.Organization 5, // [5:10] is the sub-list for method output_type 0, // [0:5] is the sub-list for method input_type 0, // [0:0] is the sub-list for extension type_name diff --git a/proto/rpc/system/organization.pb.gw.go b/proto/rpc/system/organization.pb.gw.go index b79fb561..69fd4bc6 100644 --- a/proto/rpc/system/organization.pb.gw.go +++ b/proto/rpc/system/organization.pb.gw.go @@ -2,11 +2,11 @@ // source: proto/rpc/system/organization.proto /* -Package rpcv3 is a reverse proxy. +Package systemv3 is a reverse proxy. It translates gRPC into RESTful JSON APIs. */ -package rpcv3 +package systemv3 import ( "context" @@ -32,7 +32,7 @@ var _ = runtime.String var _ = utilities.NewDoubleArray var _ = metadata.Join -func request_Organization_CreateOrganization_0(ctx context.Context, marshaler runtime.Marshaler, client OrganizationClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_OrganizationService_CreateOrganization_0(ctx context.Context, marshaler runtime.Marshaler, client OrganizationServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq systemv3.Organization var metadata runtime.ServerMetadata @@ -66,7 +66,7 @@ func request_Organization_CreateOrganization_0(ctx context.Context, marshaler ru } -func local_request_Organization_CreateOrganization_0(ctx context.Context, marshaler runtime.Marshaler, server OrganizationServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_OrganizationService_CreateOrganization_0(ctx context.Context, marshaler runtime.Marshaler, server OrganizationServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq systemv3.Organization var metadata runtime.ServerMetadata @@ -101,10 +101,10 @@ func local_request_Organization_CreateOrganization_0(ctx context.Context, marsha } var ( - filter_Organization_GetOrganizations_0 = &utilities.DoubleArray{Encoding: map[string]int{"metadata": 0, "partner": 1}, Base: []int{1, 1, 1, 0}, Check: []int{0, 1, 2, 3}} + filter_OrganizationService_GetOrganizations_0 = &utilities.DoubleArray{Encoding: map[string]int{"metadata": 0, "partner": 1}, Base: []int{1, 1, 1, 0}, Check: []int{0, 1, 2, 3}} ) -func request_Organization_GetOrganizations_0(ctx context.Context, marshaler runtime.Marshaler, client OrganizationClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_OrganizationService_GetOrganizations_0(ctx context.Context, marshaler runtime.Marshaler, client OrganizationServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq systemv3.Organization var metadata runtime.ServerMetadata @@ -128,7 +128,7 @@ func request_Organization_GetOrganizations_0(ctx context.Context, marshaler runt if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Organization_GetOrganizations_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_OrganizationService_GetOrganizations_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -137,7 +137,7 @@ func request_Organization_GetOrganizations_0(ctx context.Context, marshaler runt } -func local_request_Organization_GetOrganizations_0(ctx context.Context, marshaler runtime.Marshaler, server OrganizationServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_OrganizationService_GetOrganizations_0(ctx context.Context, marshaler runtime.Marshaler, server OrganizationServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq systemv3.Organization var metadata runtime.ServerMetadata @@ -161,7 +161,7 @@ func local_request_Organization_GetOrganizations_0(ctx context.Context, marshale if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Organization_GetOrganizations_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_OrganizationService_GetOrganizations_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -171,10 +171,10 @@ func local_request_Organization_GetOrganizations_0(ctx context.Context, marshale } var ( - filter_Organization_GetOrganization_0 = &utilities.DoubleArray{Encoding: map[string]int{"metadata": 0, "partner": 1, "name": 2}, Base: []int{1, 1, 1, 2, 0, 0}, Check: []int{0, 1, 2, 2, 3, 4}} + filter_OrganizationService_GetOrganization_0 = &utilities.DoubleArray{Encoding: map[string]int{"metadata": 0, "partner": 1, "name": 2}, Base: []int{1, 1, 1, 2, 0, 0}, Check: []int{0, 1, 2, 2, 3, 4}} ) -func request_Organization_GetOrganization_0(ctx context.Context, marshaler runtime.Marshaler, client OrganizationClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_OrganizationService_GetOrganization_0(ctx context.Context, marshaler runtime.Marshaler, client OrganizationServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq systemv3.Organization var metadata runtime.ServerMetadata @@ -208,7 +208,7 @@ func request_Organization_GetOrganization_0(ctx context.Context, marshaler runti if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Organization_GetOrganization_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_OrganizationService_GetOrganization_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -217,7 +217,7 @@ func request_Organization_GetOrganization_0(ctx context.Context, marshaler runti } -func local_request_Organization_GetOrganization_0(ctx context.Context, marshaler runtime.Marshaler, server OrganizationServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_OrganizationService_GetOrganization_0(ctx context.Context, marshaler runtime.Marshaler, server OrganizationServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq systemv3.Organization var metadata runtime.ServerMetadata @@ -251,7 +251,7 @@ func local_request_Organization_GetOrganization_0(ctx context.Context, marshaler if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Organization_GetOrganization_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_OrganizationService_GetOrganization_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -260,7 +260,7 @@ func local_request_Organization_GetOrganization_0(ctx context.Context, marshaler } -func request_Organization_UpdateOrganization_0(ctx context.Context, marshaler runtime.Marshaler, client OrganizationClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_OrganizationService_UpdateOrganization_0(ctx context.Context, marshaler runtime.Marshaler, client OrganizationServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq systemv3.Organization var metadata runtime.ServerMetadata @@ -304,7 +304,7 @@ func request_Organization_UpdateOrganization_0(ctx context.Context, marshaler ru } -func local_request_Organization_UpdateOrganization_0(ctx context.Context, marshaler runtime.Marshaler, server OrganizationServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_OrganizationService_UpdateOrganization_0(ctx context.Context, marshaler runtime.Marshaler, server OrganizationServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq systemv3.Organization var metadata runtime.ServerMetadata @@ -349,10 +349,10 @@ func local_request_Organization_UpdateOrganization_0(ctx context.Context, marsha } var ( - filter_Organization_DeleteOrganization_0 = &utilities.DoubleArray{Encoding: map[string]int{"metadata": 0, "partner": 1, "name": 2}, Base: []int{1, 1, 1, 2, 0, 0}, Check: []int{0, 1, 2, 2, 3, 4}} + filter_OrganizationService_DeleteOrganization_0 = &utilities.DoubleArray{Encoding: map[string]int{"metadata": 0, "partner": 1, "name": 2}, Base: []int{1, 1, 1, 2, 0, 0}, Check: []int{0, 1, 2, 2, 3, 4}} ) -func request_Organization_DeleteOrganization_0(ctx context.Context, marshaler runtime.Marshaler, client OrganizationClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_OrganizationService_DeleteOrganization_0(ctx context.Context, marshaler runtime.Marshaler, client OrganizationServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq systemv3.Organization var metadata runtime.ServerMetadata @@ -386,7 +386,7 @@ func request_Organization_DeleteOrganization_0(ctx context.Context, marshaler ru if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Organization_DeleteOrganization_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_OrganizationService_DeleteOrganization_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -395,7 +395,7 @@ func request_Organization_DeleteOrganization_0(ctx context.Context, marshaler ru } -func local_request_Organization_DeleteOrganization_0(ctx context.Context, marshaler runtime.Marshaler, server OrganizationServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_OrganizationService_DeleteOrganization_0(ctx context.Context, marshaler runtime.Marshaler, server OrganizationServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq systemv3.Organization var metadata runtime.ServerMetadata @@ -429,7 +429,7 @@ func local_request_Organization_DeleteOrganization_0(ctx context.Context, marsha if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Organization_DeleteOrganization_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_OrganizationService_DeleteOrganization_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -438,133 +438,143 @@ func local_request_Organization_DeleteOrganization_0(ctx context.Context, marsha } -// RegisterOrganizationHandlerServer registers the http handlers for service Organization to "mux". -// UnaryRPC :call OrganizationServer directly. +// RegisterOrganizationServiceHandlerServer registers the http handlers for service OrganizationService to "mux". +// UnaryRPC :call OrganizationServiceServer directly. // StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. -// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterOrganizationHandlerFromEndpoint instead. -func RegisterOrganizationHandlerServer(ctx context.Context, mux *runtime.ServeMux, server OrganizationServer) error { +// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterOrganizationServiceHandlerFromEndpoint instead. +func RegisterOrganizationServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server OrganizationServiceServer) error { - mux.Handle("POST", pattern_Organization_CreateOrganization_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("POST", pattern_OrganizationService_CreateOrganization_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.v3.Organization/CreateOrganization", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.system.v3.OrganizationService/CreateOrganization", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Organization_CreateOrganization_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_OrganizationService_CreateOrganization_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Organization_CreateOrganization_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_OrganizationService_CreateOrganization_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Organization_GetOrganizations_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_OrganizationService_GetOrganizations_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.v3.Organization/GetOrganizations", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organizations")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.system.v3.OrganizationService/GetOrganizations", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organizations")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Organization_GetOrganizations_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_OrganizationService_GetOrganizations_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Organization_GetOrganizations_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_OrganizationService_GetOrganizations_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Organization_GetOrganization_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_OrganizationService_GetOrganization_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.v3.Organization/GetOrganization", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.system.v3.OrganizationService/GetOrganization", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Organization_GetOrganization_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_OrganizationService_GetOrganization_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Organization_GetOrganization_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_OrganizationService_GetOrganization_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("PUT", pattern_Organization_UpdateOrganization_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("PUT", pattern_OrganizationService_UpdateOrganization_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.v3.Organization/UpdateOrganization", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.system.v3.OrganizationService/UpdateOrganization", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Organization_UpdateOrganization_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_OrganizationService_UpdateOrganization_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Organization_UpdateOrganization_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_OrganizationService_UpdateOrganization_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("DELETE", pattern_Organization_DeleteOrganization_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("DELETE", pattern_OrganizationService_DeleteOrganization_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.v3.Organization/DeleteOrganization", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.system.v3.OrganizationService/DeleteOrganization", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Organization_DeleteOrganization_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_OrganizationService_DeleteOrganization_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Organization_DeleteOrganization_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_OrganizationService_DeleteOrganization_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) return nil } -// RegisterOrganizationHandlerFromEndpoint is same as RegisterOrganizationHandler but +// RegisterOrganizationServiceHandlerFromEndpoint is same as RegisterOrganizationServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. -func RegisterOrganizationHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { +func RegisterOrganizationServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { conn, err := grpc.Dial(endpoint, opts...) if err != nil { return err @@ -584,119 +594,129 @@ func RegisterOrganizationHandlerFromEndpoint(ctx context.Context, mux *runtime.S }() }() - return RegisterOrganizationHandler(ctx, mux, conn) + return RegisterOrganizationServiceHandler(ctx, mux, conn) } -// RegisterOrganizationHandler registers the http handlers for service Organization to "mux". +// RegisterOrganizationServiceHandler registers the http handlers for service OrganizationService to "mux". // The handlers forward requests to the grpc endpoint over "conn". -func RegisterOrganizationHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { - return RegisterOrganizationHandlerClient(ctx, mux, NewOrganizationClient(conn)) +func RegisterOrganizationServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { + return RegisterOrganizationServiceHandlerClient(ctx, mux, NewOrganizationServiceClient(conn)) } -// RegisterOrganizationHandlerClient registers the http handlers for service Organization -// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "OrganizationClient". -// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "OrganizationClient" +// RegisterOrganizationServiceHandlerClient registers the http handlers for service OrganizationService +// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "OrganizationServiceClient". +// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "OrganizationServiceClient" // doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in -// "OrganizationClient" to call the correct interceptors. -func RegisterOrganizationHandlerClient(ctx context.Context, mux *runtime.ServeMux, client OrganizationClient) error { +// "OrganizationServiceClient" to call the correct interceptors. +func RegisterOrganizationServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client OrganizationServiceClient) error { - mux.Handle("POST", pattern_Organization_CreateOrganization_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("POST", pattern_OrganizationService_CreateOrganization_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.v3.Organization/CreateOrganization", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.system.v3.OrganizationService/CreateOrganization", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_Organization_CreateOrganization_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_OrganizationService_CreateOrganization_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Organization_CreateOrganization_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_OrganizationService_CreateOrganization_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Organization_GetOrganizations_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_OrganizationService_GetOrganizations_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.v3.Organization/GetOrganizations", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organizations")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.system.v3.OrganizationService/GetOrganizations", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organizations")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_Organization_GetOrganizations_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_OrganizationService_GetOrganizations_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Organization_GetOrganizations_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_OrganizationService_GetOrganizations_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Organization_GetOrganization_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_OrganizationService_GetOrganization_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.v3.Organization/GetOrganization", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.system.v3.OrganizationService/GetOrganization", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_Organization_GetOrganization_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_OrganizationService_GetOrganization_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Organization_GetOrganization_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_OrganizationService_GetOrganization_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("PUT", pattern_Organization_UpdateOrganization_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("PUT", pattern_OrganizationService_UpdateOrganization_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.v3.Organization/UpdateOrganization", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.system.v3.OrganizationService/UpdateOrganization", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_Organization_UpdateOrganization_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_OrganizationService_UpdateOrganization_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Organization_UpdateOrganization_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_OrganizationService_UpdateOrganization_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("DELETE", pattern_Organization_DeleteOrganization_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("DELETE", pattern_OrganizationService_DeleteOrganization_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.v3.Organization/DeleteOrganization", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.system.v3.OrganizationService/DeleteOrganization", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_Organization_DeleteOrganization_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_OrganizationService_DeleteOrganization_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Organization_DeleteOrganization_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_OrganizationService_DeleteOrganization_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) @@ -704,25 +724,25 @@ func RegisterOrganizationHandlerClient(ctx context.Context, mux *runtime.ServeMu } var ( - pattern_Organization_CreateOrganization_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4}, []string{"auth", "v3", "partner", "metadata.partner", "organization"}, "")) + pattern_OrganizationService_CreateOrganization_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4}, []string{"auth", "v3", "partner", "metadata.partner", "organization"}, "")) - pattern_Organization_GetOrganizations_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4}, []string{"auth", "v3", "partner", "metadata.partner", "organizations"}, "")) + pattern_OrganizationService_GetOrganizations_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4}, []string{"auth", "v3", "partner", "metadata.partner", "organizations"}, "")) - pattern_Organization_GetOrganization_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4, 1, 0, 4, 1, 5, 5}, []string{"auth", "v3", "partner", "metadata.partner", "organization", "metadata.name"}, "")) + pattern_OrganizationService_GetOrganization_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4, 1, 0, 4, 1, 5, 5}, []string{"auth", "v3", "partner", "metadata.partner", "organization", "metadata.name"}, "")) - pattern_Organization_UpdateOrganization_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4, 1, 0, 4, 1, 5, 5}, []string{"auth", "v3", "partner", "metadata.partner", "organization", "metadata.name"}, "")) + pattern_OrganizationService_UpdateOrganization_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4, 1, 0, 4, 1, 5, 5}, []string{"auth", "v3", "partner", "metadata.partner", "organization", "metadata.name"}, "")) - pattern_Organization_DeleteOrganization_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4, 1, 0, 4, 1, 5, 5}, []string{"auth", "v3", "partner", "metadata.partner", "organization", "metadata.name"}, "")) + pattern_OrganizationService_DeleteOrganization_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4, 1, 0, 4, 1, 5, 5}, []string{"auth", "v3", "partner", "metadata.partner", "organization", "metadata.name"}, "")) ) var ( - forward_Organization_CreateOrganization_0 = runtime.ForwardResponseMessage + forward_OrganizationService_CreateOrganization_0 = runtime.ForwardResponseMessage - forward_Organization_GetOrganizations_0 = runtime.ForwardResponseMessage + forward_OrganizationService_GetOrganizations_0 = runtime.ForwardResponseMessage - forward_Organization_GetOrganization_0 = runtime.ForwardResponseMessage + forward_OrganizationService_GetOrganization_0 = runtime.ForwardResponseMessage - forward_Organization_UpdateOrganization_0 = runtime.ForwardResponseMessage + forward_OrganizationService_UpdateOrganization_0 = runtime.ForwardResponseMessage - forward_Organization_DeleteOrganization_0 = runtime.ForwardResponseMessage + forward_OrganizationService_DeleteOrganization_0 = runtime.ForwardResponseMessage ) diff --git a/proto/rpc/system/organization.proto b/proto/rpc/system/organization.proto index 2fe5060e..f3ad1d0f 100644 --- a/proto/rpc/system/organization.proto +++ b/proto/rpc/system/organization.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package paralus.dev.rpc.v3; +package paralus.dev.rpc.system.v3; import "google/api/annotations.proto"; import "protoc-gen-openapiv2/options/annotations.proto"; @@ -51,7 +51,7 @@ option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = { } }; -service Organization { +service OrganizationService { rpc CreateOrganization(paralus.dev.types.system.v3.Organization) returns (paralus.dev.types.system.v3.Organization) { option (google.api.http) = { @@ -109,5 +109,4 @@ service Organization { } }; }; - } \ No newline at end of file diff --git a/proto/rpc/system/organization_grpc.pb.go b/proto/rpc/system/organization_grpc.pb.go index e1e95b18..6bc742c7 100644 --- a/proto/rpc/system/organization_grpc.pb.go +++ b/proto/rpc/system/organization_grpc.pb.go @@ -4,7 +4,7 @@ // - protoc (unknown) // source: proto/rpc/system/organization.proto -package rpcv3 +package systemv3 import ( context "context" @@ -19,10 +19,10 @@ import ( // Requires gRPC-Go v1.32.0 or later. const _ = grpc.SupportPackageIsVersion7 -// OrganizationClient is the client API for Organization service. +// OrganizationServiceClient is the client API for OrganizationService service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. -type OrganizationClient interface { +type OrganizationServiceClient interface { CreateOrganization(ctx context.Context, in *v3.Organization, opts ...grpc.CallOption) (*v3.Organization, error) GetOrganizations(ctx context.Context, in *v3.Organization, opts ...grpc.CallOption) (*v3.OrganizationList, error) GetOrganization(ctx context.Context, in *v3.Organization, opts ...grpc.CallOption) (*v3.Organization, error) @@ -30,63 +30,63 @@ type OrganizationClient interface { DeleteOrganization(ctx context.Context, in *v3.Organization, opts ...grpc.CallOption) (*v3.Organization, error) } -type organizationClient struct { +type organizationServiceClient struct { cc grpc.ClientConnInterface } -func NewOrganizationClient(cc grpc.ClientConnInterface) OrganizationClient { - return &organizationClient{cc} +func NewOrganizationServiceClient(cc grpc.ClientConnInterface) OrganizationServiceClient { + return &organizationServiceClient{cc} } -func (c *organizationClient) CreateOrganization(ctx context.Context, in *v3.Organization, opts ...grpc.CallOption) (*v3.Organization, error) { +func (c *organizationServiceClient) CreateOrganization(ctx context.Context, in *v3.Organization, opts ...grpc.CallOption) (*v3.Organization, error) { out := new(v3.Organization) - err := c.cc.Invoke(ctx, "/paralus.dev.rpc.v3.Organization/CreateOrganization", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.rpc.system.v3.OrganizationService/CreateOrganization", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *organizationClient) GetOrganizations(ctx context.Context, in *v3.Organization, opts ...grpc.CallOption) (*v3.OrganizationList, error) { +func (c *organizationServiceClient) GetOrganizations(ctx context.Context, in *v3.Organization, opts ...grpc.CallOption) (*v3.OrganizationList, error) { out := new(v3.OrganizationList) - err := c.cc.Invoke(ctx, "/paralus.dev.rpc.v3.Organization/GetOrganizations", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.rpc.system.v3.OrganizationService/GetOrganizations", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *organizationClient) GetOrganization(ctx context.Context, in *v3.Organization, opts ...grpc.CallOption) (*v3.Organization, error) { +func (c *organizationServiceClient) GetOrganization(ctx context.Context, in *v3.Organization, opts ...grpc.CallOption) (*v3.Organization, error) { out := new(v3.Organization) - err := c.cc.Invoke(ctx, "/paralus.dev.rpc.v3.Organization/GetOrganization", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.rpc.system.v3.OrganizationService/GetOrganization", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *organizationClient) UpdateOrganization(ctx context.Context, in *v3.Organization, opts ...grpc.CallOption) (*v3.Organization, error) { +func (c *organizationServiceClient) UpdateOrganization(ctx context.Context, in *v3.Organization, opts ...grpc.CallOption) (*v3.Organization, error) { out := new(v3.Organization) - err := c.cc.Invoke(ctx, "/paralus.dev.rpc.v3.Organization/UpdateOrganization", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.rpc.system.v3.OrganizationService/UpdateOrganization", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *organizationClient) DeleteOrganization(ctx context.Context, in *v3.Organization, opts ...grpc.CallOption) (*v3.Organization, error) { +func (c *organizationServiceClient) DeleteOrganization(ctx context.Context, in *v3.Organization, opts ...grpc.CallOption) (*v3.Organization, error) { out := new(v3.Organization) - err := c.cc.Invoke(ctx, "/paralus.dev.rpc.v3.Organization/DeleteOrganization", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.rpc.system.v3.OrganizationService/DeleteOrganization", in, out, opts...) if err != nil { return nil, err } return out, nil } -// OrganizationServer is the server API for Organization service. -// All implementations should embed UnimplementedOrganizationServer +// OrganizationServiceServer is the server API for OrganizationService service. +// All implementations should embed UnimplementedOrganizationServiceServer // for forward compatibility -type OrganizationServer interface { +type OrganizationServiceServer interface { CreateOrganization(context.Context, *v3.Organization) (*v3.Organization, error) GetOrganizations(context.Context, *v3.Organization) (*v3.OrganizationList, error) GetOrganization(context.Context, *v3.Organization) (*v3.Organization, error) @@ -94,153 +94,153 @@ type OrganizationServer interface { DeleteOrganization(context.Context, *v3.Organization) (*v3.Organization, error) } -// UnimplementedOrganizationServer should be embedded to have forward compatible implementations. -type UnimplementedOrganizationServer struct { +// UnimplementedOrganizationServiceServer should be embedded to have forward compatible implementations. +type UnimplementedOrganizationServiceServer struct { } -func (UnimplementedOrganizationServer) CreateOrganization(context.Context, *v3.Organization) (*v3.Organization, error) { +func (UnimplementedOrganizationServiceServer) CreateOrganization(context.Context, *v3.Organization) (*v3.Organization, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateOrganization not implemented") } -func (UnimplementedOrganizationServer) GetOrganizations(context.Context, *v3.Organization) (*v3.OrganizationList, error) { +func (UnimplementedOrganizationServiceServer) GetOrganizations(context.Context, *v3.Organization) (*v3.OrganizationList, error) { return nil, status.Errorf(codes.Unimplemented, "method GetOrganizations not implemented") } -func (UnimplementedOrganizationServer) GetOrganization(context.Context, *v3.Organization) (*v3.Organization, error) { +func (UnimplementedOrganizationServiceServer) GetOrganization(context.Context, *v3.Organization) (*v3.Organization, error) { return nil, status.Errorf(codes.Unimplemented, "method GetOrganization not implemented") } -func (UnimplementedOrganizationServer) UpdateOrganization(context.Context, *v3.Organization) (*v3.Organization, error) { +func (UnimplementedOrganizationServiceServer) UpdateOrganization(context.Context, *v3.Organization) (*v3.Organization, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateOrganization not implemented") } -func (UnimplementedOrganizationServer) DeleteOrganization(context.Context, *v3.Organization) (*v3.Organization, error) { +func (UnimplementedOrganizationServiceServer) DeleteOrganization(context.Context, *v3.Organization) (*v3.Organization, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteOrganization not implemented") } -// UnsafeOrganizationServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to OrganizationServer will +// UnsafeOrganizationServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to OrganizationServiceServer will // result in compilation errors. -type UnsafeOrganizationServer interface { - mustEmbedUnimplementedOrganizationServer() +type UnsafeOrganizationServiceServer interface { + mustEmbedUnimplementedOrganizationServiceServer() } -func RegisterOrganizationServer(s grpc.ServiceRegistrar, srv OrganizationServer) { - s.RegisterService(&Organization_ServiceDesc, srv) +func RegisterOrganizationServiceServer(s grpc.ServiceRegistrar, srv OrganizationServiceServer) { + s.RegisterService(&OrganizationService_ServiceDesc, srv) } -func _Organization_CreateOrganization_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _OrganizationService_CreateOrganization_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v3.Organization) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(OrganizationServer).CreateOrganization(ctx, in) + return srv.(OrganizationServiceServer).CreateOrganization(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.rpc.v3.Organization/CreateOrganization", + FullMethod: "/paralus.dev.rpc.system.v3.OrganizationService/CreateOrganization", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OrganizationServer).CreateOrganization(ctx, req.(*v3.Organization)) + return srv.(OrganizationServiceServer).CreateOrganization(ctx, req.(*v3.Organization)) } return interceptor(ctx, in, info, handler) } -func _Organization_GetOrganizations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _OrganizationService_GetOrganizations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v3.Organization) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(OrganizationServer).GetOrganizations(ctx, in) + return srv.(OrganizationServiceServer).GetOrganizations(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.rpc.v3.Organization/GetOrganizations", + FullMethod: "/paralus.dev.rpc.system.v3.OrganizationService/GetOrganizations", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OrganizationServer).GetOrganizations(ctx, req.(*v3.Organization)) + return srv.(OrganizationServiceServer).GetOrganizations(ctx, req.(*v3.Organization)) } return interceptor(ctx, in, info, handler) } -func _Organization_GetOrganization_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _OrganizationService_GetOrganization_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v3.Organization) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(OrganizationServer).GetOrganization(ctx, in) + return srv.(OrganizationServiceServer).GetOrganization(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.rpc.v3.Organization/GetOrganization", + FullMethod: "/paralus.dev.rpc.system.v3.OrganizationService/GetOrganization", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OrganizationServer).GetOrganization(ctx, req.(*v3.Organization)) + return srv.(OrganizationServiceServer).GetOrganization(ctx, req.(*v3.Organization)) } return interceptor(ctx, in, info, handler) } -func _Organization_UpdateOrganization_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _OrganizationService_UpdateOrganization_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v3.Organization) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(OrganizationServer).UpdateOrganization(ctx, in) + return srv.(OrganizationServiceServer).UpdateOrganization(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.rpc.v3.Organization/UpdateOrganization", + FullMethod: "/paralus.dev.rpc.system.v3.OrganizationService/UpdateOrganization", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OrganizationServer).UpdateOrganization(ctx, req.(*v3.Organization)) + return srv.(OrganizationServiceServer).UpdateOrganization(ctx, req.(*v3.Organization)) } return interceptor(ctx, in, info, handler) } -func _Organization_DeleteOrganization_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _OrganizationService_DeleteOrganization_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v3.Organization) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(OrganizationServer).DeleteOrganization(ctx, in) + return srv.(OrganizationServiceServer).DeleteOrganization(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.rpc.v3.Organization/DeleteOrganization", + FullMethod: "/paralus.dev.rpc.system.v3.OrganizationService/DeleteOrganization", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(OrganizationServer).DeleteOrganization(ctx, req.(*v3.Organization)) + return srv.(OrganizationServiceServer).DeleteOrganization(ctx, req.(*v3.Organization)) } return interceptor(ctx, in, info, handler) } -// Organization_ServiceDesc is the grpc.ServiceDesc for Organization service. +// OrganizationService_ServiceDesc is the grpc.ServiceDesc for OrganizationService service. // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) -var Organization_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "paralus.dev.rpc.v3.Organization", - HandlerType: (*OrganizationServer)(nil), +var OrganizationService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "paralus.dev.rpc.system.v3.OrganizationService", + HandlerType: (*OrganizationServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateOrganization", - Handler: _Organization_CreateOrganization_Handler, + Handler: _OrganizationService_CreateOrganization_Handler, }, { MethodName: "GetOrganizations", - Handler: _Organization_GetOrganizations_Handler, + Handler: _OrganizationService_GetOrganizations_Handler, }, { MethodName: "GetOrganization", - Handler: _Organization_GetOrganization_Handler, + Handler: _OrganizationService_GetOrganization_Handler, }, { MethodName: "UpdateOrganization", - Handler: _Organization_UpdateOrganization_Handler, + Handler: _OrganizationService_UpdateOrganization_Handler, }, { MethodName: "DeleteOrganization", - Handler: _Organization_DeleteOrganization_Handler, + Handler: _OrganizationService_DeleteOrganization_Handler, }, }, Streams: []grpc.StreamDesc{}, diff --git a/proto/rpc/system/partner.pb.go b/proto/rpc/system/partner.pb.go index c44181bd..4fc98ba7 100644 --- a/proto/rpc/system/partner.pb.go +++ b/proto/rpc/system/partner.pb.go @@ -1,10 +1,10 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.27.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: proto/rpc/system/partner.proto -package rpcv3 +package systemv3 import ( _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" @@ -66,100 +66,104 @@ var File_proto_rpc_system_partner_proto protoreflect.FileDescriptor var file_proto_rpc_system_partner_proto_rawDesc = []byte{ 0x0a, 0x1e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x12, 0x12, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x72, 0x70, - 0x63, 0x2e, 0x76, 0x33, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, - 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x6f, - 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x1a, 0x25, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, - 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x70, 0x62, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x61, 0x72, 0x74, - 0x6e, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x0e, 0x0a, 0x0c, 0x45, 0x6d, 0x70, - 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x32, 0x88, 0x06, 0x0a, 0x07, 0x50, 0x61, - 0x72, 0x74, 0x6e, 0x65, 0x72, 0x12, 0xb4, 0x01, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x12, 0x24, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, - 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x73, 0x74, - 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x1a, 0x24, 0x2e, - 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, - 0x73, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x61, 0x72, 0x74, - 0x6e, 0x65, 0x72, 0x22, 0x57, 0x92, 0x41, 0x39, 0x4a, 0x37, 0x0a, 0x03, 0x32, 0x30, 0x31, 0x12, - 0x30, 0x0a, 0x2e, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, - 0x20, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x20, 0x69, 0x73, 0x20, 0x63, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x64, 0x20, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x66, 0x75, 0x6c, 0x6c, 0x79, - 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x15, 0x22, 0x10, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, - 0x33, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x3a, 0x01, 0x2a, 0x12, 0x82, 0x01, 0x0a, - 0x0a, 0x47, 0x65, 0x74, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x12, 0x24, 0x2e, 0x70, 0x61, + 0x12, 0x19, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x72, 0x70, + 0x63, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, + 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x25, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x70, 0x62, 0x2f, + 0x76, 0x33, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x0e, 0x0a, 0x0c, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x32, 0x96, 0x06, 0x0a, 0x0e, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x12, 0xb4, 0x01, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x61, + 0x72, 0x74, 0x6e, 0x65, 0x72, 0x12, 0x24, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, + 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x1a, 0x24, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, - 0x72, 0x1a, 0x24, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x2e, - 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x22, 0x28, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x12, - 0x20, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, - 0x72, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6e, 0x61, 0x6d, 0x65, - 0x7d, 0x12, 0x72, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x69, 0x74, 0x50, 0x61, 0x72, 0x74, - 0x6e, 0x65, 0x72, 0x12, 0x20, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, - 0x76, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x33, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, - 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x22, 0x18, 0x82, 0xd3, 0xe4, - 0x93, 0x02, 0x12, 0x12, 0x10, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x61, - 0x72, 0x74, 0x6e, 0x65, 0x72, 0x12, 0x88, 0x01, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x72, 0x22, 0x57, 0x92, 0x41, 0x39, 0x4a, 0x37, 0x0a, 0x03, 0x32, 0x30, 0x31, 0x12, 0x30, 0x0a, + 0x2e, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x70, + 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x20, 0x69, 0x73, 0x20, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x64, 0x20, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x66, 0x75, 0x6c, 0x6c, 0x79, 0x2e, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x15, 0x22, 0x10, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x33, 0x2f, + 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x3a, 0x01, 0x2a, 0x12, 0x82, 0x01, 0x0a, 0x0a, 0x47, + 0x65, 0x74, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x12, 0x24, 0x2e, 0x70, 0x61, 0x72, 0x61, + 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x79, + 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x1a, + 0x24, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, + 0x70, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x61, + 0x72, 0x74, 0x6e, 0x65, 0x72, 0x22, 0x28, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x12, 0x20, 0x2f, + 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x2f, + 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x12, + 0x79, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x69, 0x74, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, + 0x72, 0x12, 0x27, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x72, 0x70, 0x63, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x45, 0x6d, + 0x70, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x70, 0x61, 0x72, + 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, + 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, + 0x22, 0x18, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x12, 0x12, 0x10, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, + 0x76, 0x33, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x12, 0x88, 0x01, 0x0a, 0x0d, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x12, 0x24, 0x2e, 0x70, + 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, + 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x6e, + 0x65, 0x72, 0x1a, 0x24, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, + 0x2e, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x22, 0x2b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x25, + 0x1a, 0x20, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x6e, + 0x65, 0x72, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6e, 0x61, 0x6d, + 0x65, 0x7d, 0x3a, 0x01, 0x2a, 0x12, 0xc1, 0x01, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x12, 0x24, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x1a, 0x24, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x61, 0x72, 0x74, - 0x6e, 0x65, 0x72, 0x22, 0x2b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x25, 0x1a, 0x20, 0x2f, 0x61, 0x75, - 0x74, 0x68, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x2f, 0x7b, 0x6d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x3a, 0x01, 0x2a, - 0x12, 0xc1, 0x01, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x61, 0x72, 0x74, 0x6e, - 0x65, 0x72, 0x12, 0x24, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, - 0x2e, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x1a, 0x24, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, - 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x73, - 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x22, 0x64, - 0x92, 0x41, 0x39, 0x4a, 0x37, 0x0a, 0x03, 0x32, 0x30, 0x34, 0x12, 0x30, 0x0a, 0x2e, 0x52, 0x65, - 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x70, 0x61, 0x72, 0x74, - 0x6e, 0x65, 0x72, 0x20, 0x69, 0x73, 0x20, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x20, 0x73, - 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x66, 0x75, 0x6c, 0x6c, 0x79, 0x2e, 0x82, 0xd3, 0xe4, 0x93, - 0x02, 0x22, 0x2a, 0x20, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x61, 0x72, - 0x74, 0x6e, 0x65, 0x72, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6e, - 0x61, 0x6d, 0x65, 0x7d, 0x42, 0xa6, 0x04, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x61, 0x72, - 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x33, 0x42, - 0x0c, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, - 0x31, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x61, 0x72, 0x61, - 0x6c, 0x75, 0x73, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x3b, 0x72, 0x70, 0x63, - 0x76, 0x33, 0xa2, 0x02, 0x03, 0x50, 0x44, 0x52, 0xaa, 0x02, 0x12, 0x50, 0x61, 0x72, 0x61, 0x6c, - 0x75, 0x73, 0x2e, 0x44, 0x65, 0x76, 0x2e, 0x52, 0x70, 0x63, 0x2e, 0x56, 0x33, 0xca, 0x02, 0x12, - 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x5c, 0x44, 0x65, 0x76, 0x5c, 0x52, 0x70, 0x63, 0x5c, - 0x56, 0x33, 0xe2, 0x02, 0x1e, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x5c, 0x44, 0x65, 0x76, - 0x5c, 0x52, 0x70, 0x63, 0x5c, 0x56, 0x33, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, - 0x61, 0x74, 0x61, 0xea, 0x02, 0x15, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x3a, 0x3a, 0x44, - 0x65, 0x76, 0x3a, 0x3a, 0x52, 0x70, 0x63, 0x3a, 0x3a, 0x56, 0x33, 0x92, 0x41, 0xde, 0x02, 0x12, - 0x25, 0x0a, 0x0f, 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x20, 0x53, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x22, 0x0d, 0x0a, 0x0b, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x20, 0x44, 0x65, - 0x76, 0x32, 0x03, 0x33, 0x2e, 0x30, 0x2a, 0x01, 0x02, 0x32, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, - 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x32, 0x10, 0x61, 0x70, 0x70, - 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x10, 0x61, - 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, - 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x79, 0x61, 0x6d, - 0x6c, 0x52, 0x50, 0x0a, 0x03, 0x34, 0x30, 0x33, 0x12, 0x49, 0x0a, 0x47, 0x52, 0x65, 0x74, 0x75, - 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, - 0x65, 0x72, 0x20, 0x64, 0x6f, 0x65, 0x73, 0x20, 0x6e, 0x6f, 0x74, 0x20, 0x68, 0x61, 0x76, 0x65, - 0x20, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x20, 0x74, 0x6f, 0x20, 0x61, - 0x63, 0x63, 0x65, 0x73, 0x73, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x2e, 0x52, 0x3b, 0x0a, 0x03, 0x34, 0x30, 0x34, 0x12, 0x34, 0x0a, 0x2a, 0x52, 0x65, - 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, - 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x20, 0x64, 0x6f, 0x65, 0x73, 0x20, 0x6e, 0x6f, - 0x74, 0x20, 0x65, 0x78, 0x69, 0x73, 0x74, 0x2e, 0x12, 0x06, 0x0a, 0x04, 0x9a, 0x02, 0x01, 0x07, - 0x5a, 0x3a, 0x0a, 0x27, 0x0a, 0x0a, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, - 0x12, 0x19, 0x08, 0x02, 0x1a, 0x13, 0x58, 0x2d, 0x50, 0x41, 0x52, 0x41, 0x4c, 0x55, 0x53, 0x2d, - 0x41, 0x50, 0x49, 0x2d, 0x4b, 0x45, 0x59, 0x49, 0x44, 0x20, 0x02, 0x0a, 0x0f, 0x0a, 0x09, 0x42, - 0x61, 0x73, 0x69, 0x63, 0x41, 0x75, 0x74, 0x68, 0x12, 0x02, 0x08, 0x01, 0x62, 0x1f, 0x0a, 0x0e, - 0x0a, 0x0a, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x12, 0x00, 0x0a, 0x0d, - 0x0a, 0x09, 0x42, 0x61, 0x73, 0x69, 0x63, 0x41, 0x75, 0x74, 0x68, 0x12, 0x00, 0x62, 0x06, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x6e, 0x65, 0x72, 0x22, 0x64, 0x92, 0x41, 0x39, 0x4a, 0x37, 0x0a, 0x03, 0x32, 0x30, 0x34, 0x12, + 0x30, 0x0a, 0x2e, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, + 0x20, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x20, 0x69, 0x73, 0x20, 0x64, 0x65, 0x6c, 0x65, + 0x74, 0x65, 0x64, 0x20, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x66, 0x75, 0x6c, 0x6c, 0x79, + 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x2a, 0x20, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, + 0x33, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x42, 0xce, 0x04, 0x0a, 0x1d, 0x63, 0x6f, + 0x6d, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x72, 0x70, + 0x63, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x42, 0x0c, 0x50, 0x61, 0x72, + 0x74, 0x6e, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x34, 0x67, 0x69, 0x74, + 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, + 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x72, 0x70, + 0x63, 0x2f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x3b, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x76, + 0x33, 0xa2, 0x02, 0x04, 0x50, 0x44, 0x52, 0x53, 0xaa, 0x02, 0x19, 0x50, 0x61, 0x72, 0x61, 0x6c, + 0x75, 0x73, 0x2e, 0x44, 0x65, 0x76, 0x2e, 0x52, 0x70, 0x63, 0x2e, 0x53, 0x79, 0x73, 0x74, 0x65, + 0x6d, 0x2e, 0x56, 0x33, 0xca, 0x02, 0x19, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x5c, 0x44, + 0x65, 0x76, 0x5c, 0x52, 0x70, 0x63, 0x5c, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5c, 0x56, 0x33, + 0xe2, 0x02, 0x25, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x5c, 0x44, 0x65, 0x76, 0x5c, 0x52, + 0x70, 0x63, 0x5c, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5c, 0x56, 0x33, 0x5c, 0x47, 0x50, 0x42, + 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1d, 0x50, 0x61, 0x72, 0x61, 0x6c, + 0x75, 0x73, 0x3a, 0x3a, 0x44, 0x65, 0x76, 0x3a, 0x3a, 0x52, 0x70, 0x63, 0x3a, 0x3a, 0x53, 0x79, + 0x73, 0x74, 0x65, 0x6d, 0x3a, 0x3a, 0x56, 0x33, 0x92, 0x41, 0xde, 0x02, 0x12, 0x25, 0x0a, 0x0f, + 0x50, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x20, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x22, + 0x0d, 0x0a, 0x0b, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x20, 0x44, 0x65, 0x76, 0x32, 0x03, + 0x33, 0x2e, 0x30, 0x2a, 0x01, 0x02, 0x32, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x32, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x10, 0x61, 0x70, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x10, 0x61, 0x70, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x79, 0x61, 0x6d, 0x6c, 0x52, 0x50, + 0x0a, 0x03, 0x34, 0x30, 0x33, 0x12, 0x49, 0x0a, 0x47, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, + 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, + 0x64, 0x6f, 0x65, 0x73, 0x20, 0x6e, 0x6f, 0x74, 0x20, 0x68, 0x61, 0x76, 0x65, 0x20, 0x70, 0x65, + 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x20, 0x74, 0x6f, 0x20, 0x61, 0x63, 0x63, 0x65, + 0x73, 0x73, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, + 0x52, 0x3b, 0x0a, 0x03, 0x34, 0x30, 0x34, 0x12, 0x34, 0x0a, 0x2a, 0x52, 0x65, 0x74, 0x75, 0x72, + 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x20, 0x64, 0x6f, 0x65, 0x73, 0x20, 0x6e, 0x6f, 0x74, 0x20, 0x65, + 0x78, 0x69, 0x73, 0x74, 0x2e, 0x12, 0x06, 0x0a, 0x04, 0x9a, 0x02, 0x01, 0x07, 0x5a, 0x3a, 0x0a, + 0x27, 0x0a, 0x0a, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x12, 0x19, 0x08, + 0x02, 0x1a, 0x13, 0x58, 0x2d, 0x50, 0x41, 0x52, 0x41, 0x4c, 0x55, 0x53, 0x2d, 0x41, 0x50, 0x49, + 0x2d, 0x4b, 0x45, 0x59, 0x49, 0x44, 0x20, 0x02, 0x0a, 0x0f, 0x0a, 0x09, 0x42, 0x61, 0x73, 0x69, + 0x63, 0x41, 0x75, 0x74, 0x68, 0x12, 0x02, 0x08, 0x01, 0x62, 0x1f, 0x0a, 0x0e, 0x0a, 0x0a, 0x41, + 0x70, 0x69, 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x12, 0x00, 0x0a, 0x0d, 0x0a, 0x09, 0x42, + 0x61, 0x73, 0x69, 0x63, 0x41, 0x75, 0x74, 0x68, 0x12, 0x00, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, } var ( @@ -176,20 +180,20 @@ func file_proto_rpc_system_partner_proto_rawDescGZIP() []byte { var file_proto_rpc_system_partner_proto_msgTypes = make([]protoimpl.MessageInfo, 1) var file_proto_rpc_system_partner_proto_goTypes = []interface{}{ - (*EmptyRequest)(nil), // 0: paralus.dev.rpc.v3.EmptyRequest + (*EmptyRequest)(nil), // 0: paralus.dev.rpc.system.v3.EmptyRequest (*v3.Partner)(nil), // 1: paralus.dev.types.system.v3.Partner } var file_proto_rpc_system_partner_proto_depIdxs = []int32{ - 1, // 0: paralus.dev.rpc.v3.Partner.CreatePartner:input_type -> paralus.dev.types.system.v3.Partner - 1, // 1: paralus.dev.rpc.v3.Partner.GetPartner:input_type -> paralus.dev.types.system.v3.Partner - 0, // 2: paralus.dev.rpc.v3.Partner.GetInitPartner:input_type -> paralus.dev.rpc.v3.EmptyRequest - 1, // 3: paralus.dev.rpc.v3.Partner.UpdatePartner:input_type -> paralus.dev.types.system.v3.Partner - 1, // 4: paralus.dev.rpc.v3.Partner.DeletePartner:input_type -> paralus.dev.types.system.v3.Partner - 1, // 5: paralus.dev.rpc.v3.Partner.CreatePartner:output_type -> paralus.dev.types.system.v3.Partner - 1, // 6: paralus.dev.rpc.v3.Partner.GetPartner:output_type -> paralus.dev.types.system.v3.Partner - 1, // 7: paralus.dev.rpc.v3.Partner.GetInitPartner:output_type -> paralus.dev.types.system.v3.Partner - 1, // 8: paralus.dev.rpc.v3.Partner.UpdatePartner:output_type -> paralus.dev.types.system.v3.Partner - 1, // 9: paralus.dev.rpc.v3.Partner.DeletePartner:output_type -> paralus.dev.types.system.v3.Partner + 1, // 0: paralus.dev.rpc.system.v3.PartnerService.CreatePartner:input_type -> paralus.dev.types.system.v3.Partner + 1, // 1: paralus.dev.rpc.system.v3.PartnerService.GetPartner:input_type -> paralus.dev.types.system.v3.Partner + 0, // 2: paralus.dev.rpc.system.v3.PartnerService.GetInitPartner:input_type -> paralus.dev.rpc.system.v3.EmptyRequest + 1, // 3: paralus.dev.rpc.system.v3.PartnerService.UpdatePartner:input_type -> paralus.dev.types.system.v3.Partner + 1, // 4: paralus.dev.rpc.system.v3.PartnerService.DeletePartner:input_type -> paralus.dev.types.system.v3.Partner + 1, // 5: paralus.dev.rpc.system.v3.PartnerService.CreatePartner:output_type -> paralus.dev.types.system.v3.Partner + 1, // 6: paralus.dev.rpc.system.v3.PartnerService.GetPartner:output_type -> paralus.dev.types.system.v3.Partner + 1, // 7: paralus.dev.rpc.system.v3.PartnerService.GetInitPartner:output_type -> paralus.dev.types.system.v3.Partner + 1, // 8: paralus.dev.rpc.system.v3.PartnerService.UpdatePartner:output_type -> paralus.dev.types.system.v3.Partner + 1, // 9: paralus.dev.rpc.system.v3.PartnerService.DeletePartner:output_type -> paralus.dev.types.system.v3.Partner 5, // [5:10] is the sub-list for method output_type 0, // [0:5] is the sub-list for method input_type 0, // [0:0] is the sub-list for extension type_name diff --git a/proto/rpc/system/partner.pb.gw.go b/proto/rpc/system/partner.pb.gw.go index 6e70c83c..c6f285d4 100644 --- a/proto/rpc/system/partner.pb.gw.go +++ b/proto/rpc/system/partner.pb.gw.go @@ -2,11 +2,11 @@ // source: proto/rpc/system/partner.proto /* -Package rpcv3 is a reverse proxy. +Package systemv3 is a reverse proxy. It translates gRPC into RESTful JSON APIs. */ -package rpcv3 +package systemv3 import ( "context" @@ -32,7 +32,7 @@ var _ = runtime.String var _ = utilities.NewDoubleArray var _ = metadata.Join -func request_Partner_CreatePartner_0(ctx context.Context, marshaler runtime.Marshaler, client PartnerClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_PartnerService_CreatePartner_0(ctx context.Context, marshaler runtime.Marshaler, client PartnerServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq systemv3.Partner var metadata runtime.ServerMetadata @@ -49,7 +49,7 @@ func request_Partner_CreatePartner_0(ctx context.Context, marshaler runtime.Mars } -func local_request_Partner_CreatePartner_0(ctx context.Context, marshaler runtime.Marshaler, server PartnerServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_PartnerService_CreatePartner_0(ctx context.Context, marshaler runtime.Marshaler, server PartnerServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq systemv3.Partner var metadata runtime.ServerMetadata @@ -67,10 +67,10 @@ func local_request_Partner_CreatePartner_0(ctx context.Context, marshaler runtim } var ( - filter_Partner_GetPartner_0 = &utilities.DoubleArray{Encoding: map[string]int{"metadata": 0, "name": 1}, Base: []int{1, 1, 1, 0}, Check: []int{0, 1, 2, 3}} + filter_PartnerService_GetPartner_0 = &utilities.DoubleArray{Encoding: map[string]int{"metadata": 0, "name": 1}, Base: []int{1, 1, 1, 0}, Check: []int{0, 1, 2, 3}} ) -func request_Partner_GetPartner_0(ctx context.Context, marshaler runtime.Marshaler, client PartnerClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_PartnerService_GetPartner_0(ctx context.Context, marshaler runtime.Marshaler, client PartnerServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq systemv3.Partner var metadata runtime.ServerMetadata @@ -94,7 +94,7 @@ func request_Partner_GetPartner_0(ctx context.Context, marshaler runtime.Marshal if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Partner_GetPartner_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_PartnerService_GetPartner_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -103,7 +103,7 @@ func request_Partner_GetPartner_0(ctx context.Context, marshaler runtime.Marshal } -func local_request_Partner_GetPartner_0(ctx context.Context, marshaler runtime.Marshaler, server PartnerServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_PartnerService_GetPartner_0(ctx context.Context, marshaler runtime.Marshaler, server PartnerServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq systemv3.Partner var metadata runtime.ServerMetadata @@ -127,7 +127,7 @@ func local_request_Partner_GetPartner_0(ctx context.Context, marshaler runtime.M if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Partner_GetPartner_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_PartnerService_GetPartner_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -136,7 +136,7 @@ func local_request_Partner_GetPartner_0(ctx context.Context, marshaler runtime.M } -func request_Partner_GetInitPartner_0(ctx context.Context, marshaler runtime.Marshaler, client PartnerClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_PartnerService_GetInitPartner_0(ctx context.Context, marshaler runtime.Marshaler, client PartnerServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq EmptyRequest var metadata runtime.ServerMetadata @@ -145,7 +145,7 @@ func request_Partner_GetInitPartner_0(ctx context.Context, marshaler runtime.Mar } -func local_request_Partner_GetInitPartner_0(ctx context.Context, marshaler runtime.Marshaler, server PartnerServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_PartnerService_GetInitPartner_0(ctx context.Context, marshaler runtime.Marshaler, server PartnerServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq EmptyRequest var metadata runtime.ServerMetadata @@ -154,7 +154,7 @@ func local_request_Partner_GetInitPartner_0(ctx context.Context, marshaler runti } -func request_Partner_UpdatePartner_0(ctx context.Context, marshaler runtime.Marshaler, client PartnerClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_PartnerService_UpdatePartner_0(ctx context.Context, marshaler runtime.Marshaler, client PartnerServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq systemv3.Partner var metadata runtime.ServerMetadata @@ -188,7 +188,7 @@ func request_Partner_UpdatePartner_0(ctx context.Context, marshaler runtime.Mars } -func local_request_Partner_UpdatePartner_0(ctx context.Context, marshaler runtime.Marshaler, server PartnerServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_PartnerService_UpdatePartner_0(ctx context.Context, marshaler runtime.Marshaler, server PartnerServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq systemv3.Partner var metadata runtime.ServerMetadata @@ -223,10 +223,10 @@ func local_request_Partner_UpdatePartner_0(ctx context.Context, marshaler runtim } var ( - filter_Partner_DeletePartner_0 = &utilities.DoubleArray{Encoding: map[string]int{"metadata": 0, "name": 1}, Base: []int{1, 1, 1, 0}, Check: []int{0, 1, 2, 3}} + filter_PartnerService_DeletePartner_0 = &utilities.DoubleArray{Encoding: map[string]int{"metadata": 0, "name": 1}, Base: []int{1, 1, 1, 0}, Check: []int{0, 1, 2, 3}} ) -func request_Partner_DeletePartner_0(ctx context.Context, marshaler runtime.Marshaler, client PartnerClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_PartnerService_DeletePartner_0(ctx context.Context, marshaler runtime.Marshaler, client PartnerServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq systemv3.Partner var metadata runtime.ServerMetadata @@ -250,7 +250,7 @@ func request_Partner_DeletePartner_0(ctx context.Context, marshaler runtime.Mars if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Partner_DeletePartner_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_PartnerService_DeletePartner_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -259,7 +259,7 @@ func request_Partner_DeletePartner_0(ctx context.Context, marshaler runtime.Mars } -func local_request_Partner_DeletePartner_0(ctx context.Context, marshaler runtime.Marshaler, server PartnerServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_PartnerService_DeletePartner_0(ctx context.Context, marshaler runtime.Marshaler, server PartnerServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq systemv3.Partner var metadata runtime.ServerMetadata @@ -283,7 +283,7 @@ func local_request_Partner_DeletePartner_0(ctx context.Context, marshaler runtim if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Partner_DeletePartner_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_PartnerService_DeletePartner_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -292,133 +292,143 @@ func local_request_Partner_DeletePartner_0(ctx context.Context, marshaler runtim } -// RegisterPartnerHandlerServer registers the http handlers for service Partner to "mux". -// UnaryRPC :call PartnerServer directly. +// RegisterPartnerServiceHandlerServer registers the http handlers for service PartnerService to "mux". +// UnaryRPC :call PartnerServiceServer directly. // StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. -// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterPartnerHandlerFromEndpoint instead. -func RegisterPartnerHandlerServer(ctx context.Context, mux *runtime.ServeMux, server PartnerServer) error { +// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterPartnerServiceHandlerFromEndpoint instead. +func RegisterPartnerServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server PartnerServiceServer) error { - mux.Handle("POST", pattern_Partner_CreatePartner_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("POST", pattern_PartnerService_CreatePartner_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.v3.Partner/CreatePartner", runtime.WithHTTPPathPattern("/auth/v3/partner")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.system.v3.PartnerService/CreatePartner", runtime.WithHTTPPathPattern("/auth/v3/partner")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Partner_CreatePartner_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_PartnerService_CreatePartner_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Partner_CreatePartner_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_PartnerService_CreatePartner_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Partner_GetPartner_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_PartnerService_GetPartner_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.v3.Partner/GetPartner", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.system.v3.PartnerService/GetPartner", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Partner_GetPartner_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_PartnerService_GetPartner_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Partner_GetPartner_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_PartnerService_GetPartner_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Partner_GetInitPartner_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_PartnerService_GetInitPartner_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.v3.Partner/GetInitPartner", runtime.WithHTTPPathPattern("/auth/v3/partner")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.system.v3.PartnerService/GetInitPartner", runtime.WithHTTPPathPattern("/auth/v3/partner")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Partner_GetInitPartner_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_PartnerService_GetInitPartner_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Partner_GetInitPartner_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_PartnerService_GetInitPartner_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("PUT", pattern_Partner_UpdatePartner_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("PUT", pattern_PartnerService_UpdatePartner_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.v3.Partner/UpdatePartner", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.system.v3.PartnerService/UpdatePartner", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Partner_UpdatePartner_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_PartnerService_UpdatePartner_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Partner_UpdatePartner_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_PartnerService_UpdatePartner_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("DELETE", pattern_Partner_DeletePartner_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("DELETE", pattern_PartnerService_DeletePartner_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.v3.Partner/DeletePartner", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.system.v3.PartnerService/DeletePartner", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Partner_DeletePartner_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_PartnerService_DeletePartner_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Partner_DeletePartner_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_PartnerService_DeletePartner_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) return nil } -// RegisterPartnerHandlerFromEndpoint is same as RegisterPartnerHandler but +// RegisterPartnerServiceHandlerFromEndpoint is same as RegisterPartnerServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. -func RegisterPartnerHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { +func RegisterPartnerServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { conn, err := grpc.Dial(endpoint, opts...) if err != nil { return err @@ -438,119 +448,129 @@ func RegisterPartnerHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeM }() }() - return RegisterPartnerHandler(ctx, mux, conn) + return RegisterPartnerServiceHandler(ctx, mux, conn) } -// RegisterPartnerHandler registers the http handlers for service Partner to "mux". +// RegisterPartnerServiceHandler registers the http handlers for service PartnerService to "mux". // The handlers forward requests to the grpc endpoint over "conn". -func RegisterPartnerHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { - return RegisterPartnerHandlerClient(ctx, mux, NewPartnerClient(conn)) +func RegisterPartnerServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { + return RegisterPartnerServiceHandlerClient(ctx, mux, NewPartnerServiceClient(conn)) } -// RegisterPartnerHandlerClient registers the http handlers for service Partner -// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "PartnerClient". -// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "PartnerClient" +// RegisterPartnerServiceHandlerClient registers the http handlers for service PartnerService +// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "PartnerServiceClient". +// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "PartnerServiceClient" // doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in -// "PartnerClient" to call the correct interceptors. -func RegisterPartnerHandlerClient(ctx context.Context, mux *runtime.ServeMux, client PartnerClient) error { +// "PartnerServiceClient" to call the correct interceptors. +func RegisterPartnerServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client PartnerServiceClient) error { - mux.Handle("POST", pattern_Partner_CreatePartner_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("POST", pattern_PartnerService_CreatePartner_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.v3.Partner/CreatePartner", runtime.WithHTTPPathPattern("/auth/v3/partner")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.system.v3.PartnerService/CreatePartner", runtime.WithHTTPPathPattern("/auth/v3/partner")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_Partner_CreatePartner_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_PartnerService_CreatePartner_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Partner_CreatePartner_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_PartnerService_CreatePartner_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Partner_GetPartner_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_PartnerService_GetPartner_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.v3.Partner/GetPartner", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.system.v3.PartnerService/GetPartner", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_Partner_GetPartner_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_PartnerService_GetPartner_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Partner_GetPartner_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_PartnerService_GetPartner_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Partner_GetInitPartner_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_PartnerService_GetInitPartner_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.v3.Partner/GetInitPartner", runtime.WithHTTPPathPattern("/auth/v3/partner")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.system.v3.PartnerService/GetInitPartner", runtime.WithHTTPPathPattern("/auth/v3/partner")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_Partner_GetInitPartner_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_PartnerService_GetInitPartner_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Partner_GetInitPartner_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_PartnerService_GetInitPartner_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("PUT", pattern_Partner_UpdatePartner_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("PUT", pattern_PartnerService_UpdatePartner_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.v3.Partner/UpdatePartner", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.system.v3.PartnerService/UpdatePartner", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_Partner_UpdatePartner_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_PartnerService_UpdatePartner_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Partner_UpdatePartner_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_PartnerService_UpdatePartner_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("DELETE", pattern_Partner_DeletePartner_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("DELETE", pattern_PartnerService_DeletePartner_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.v3.Partner/DeletePartner", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.system.v3.PartnerService/DeletePartner", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_Partner_DeletePartner_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_PartnerService_DeletePartner_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Partner_DeletePartner_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_PartnerService_DeletePartner_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) @@ -558,25 +578,25 @@ func RegisterPartnerHandlerClient(ctx context.Context, mux *runtime.ServeMux, cl } var ( - pattern_Partner_CreatePartner_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"auth", "v3", "partner"}, "")) + pattern_PartnerService_CreatePartner_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"auth", "v3", "partner"}, "")) - pattern_Partner_GetPartner_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"auth", "v3", "partner", "metadata.name"}, "")) + pattern_PartnerService_GetPartner_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"auth", "v3", "partner", "metadata.name"}, "")) - pattern_Partner_GetInitPartner_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"auth", "v3", "partner"}, "")) + pattern_PartnerService_GetInitPartner_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"auth", "v3", "partner"}, "")) - pattern_Partner_UpdatePartner_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"auth", "v3", "partner", "metadata.name"}, "")) + pattern_PartnerService_UpdatePartner_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"auth", "v3", "partner", "metadata.name"}, "")) - pattern_Partner_DeletePartner_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"auth", "v3", "partner", "metadata.name"}, "")) + pattern_PartnerService_DeletePartner_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"auth", "v3", "partner", "metadata.name"}, "")) ) var ( - forward_Partner_CreatePartner_0 = runtime.ForwardResponseMessage + forward_PartnerService_CreatePartner_0 = runtime.ForwardResponseMessage - forward_Partner_GetPartner_0 = runtime.ForwardResponseMessage + forward_PartnerService_GetPartner_0 = runtime.ForwardResponseMessage - forward_Partner_GetInitPartner_0 = runtime.ForwardResponseMessage + forward_PartnerService_GetInitPartner_0 = runtime.ForwardResponseMessage - forward_Partner_UpdatePartner_0 = runtime.ForwardResponseMessage + forward_PartnerService_UpdatePartner_0 = runtime.ForwardResponseMessage - forward_Partner_DeletePartner_0 = runtime.ForwardResponseMessage + forward_PartnerService_DeletePartner_0 = runtime.ForwardResponseMessage ) diff --git a/proto/rpc/system/partner.proto b/proto/rpc/system/partner.proto index 9380d3b7..b55d0042 100644 --- a/proto/rpc/system/partner.proto +++ b/proto/rpc/system/partner.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package paralus.dev.rpc.v3; +package paralus.dev.rpc.system.v3; import "google/api/annotations.proto"; import "protoc-gen-openapiv2/options/annotations.proto"; @@ -53,7 +53,7 @@ option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = { message EmptyRequest {} -service Partner { +service PartnerService { rpc CreatePartner(paralus.dev.types.system.v3.Partner) returns (paralus.dev.types.system.v3.Partner) { option (google.api.http) = { @@ -108,5 +108,4 @@ service Partner { } }; }; - } \ No newline at end of file diff --git a/proto/rpc/system/partner_grpc.pb.go b/proto/rpc/system/partner_grpc.pb.go index 4b842932..17c830f5 100644 --- a/proto/rpc/system/partner_grpc.pb.go +++ b/proto/rpc/system/partner_grpc.pb.go @@ -4,7 +4,7 @@ // - protoc (unknown) // source: proto/rpc/system/partner.proto -package rpcv3 +package systemv3 import ( context "context" @@ -19,10 +19,10 @@ import ( // Requires gRPC-Go v1.32.0 or later. const _ = grpc.SupportPackageIsVersion7 -// PartnerClient is the client API for Partner service. +// PartnerServiceClient is the client API for PartnerService service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. -type PartnerClient interface { +type PartnerServiceClient interface { CreatePartner(ctx context.Context, in *v3.Partner, opts ...grpc.CallOption) (*v3.Partner, error) GetPartner(ctx context.Context, in *v3.Partner, opts ...grpc.CallOption) (*v3.Partner, error) GetInitPartner(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*v3.Partner, error) @@ -30,63 +30,63 @@ type PartnerClient interface { DeletePartner(ctx context.Context, in *v3.Partner, opts ...grpc.CallOption) (*v3.Partner, error) } -type partnerClient struct { +type partnerServiceClient struct { cc grpc.ClientConnInterface } -func NewPartnerClient(cc grpc.ClientConnInterface) PartnerClient { - return &partnerClient{cc} +func NewPartnerServiceClient(cc grpc.ClientConnInterface) PartnerServiceClient { + return &partnerServiceClient{cc} } -func (c *partnerClient) CreatePartner(ctx context.Context, in *v3.Partner, opts ...grpc.CallOption) (*v3.Partner, error) { +func (c *partnerServiceClient) CreatePartner(ctx context.Context, in *v3.Partner, opts ...grpc.CallOption) (*v3.Partner, error) { out := new(v3.Partner) - err := c.cc.Invoke(ctx, "/paralus.dev.rpc.v3.Partner/CreatePartner", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.rpc.system.v3.PartnerService/CreatePartner", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *partnerClient) GetPartner(ctx context.Context, in *v3.Partner, opts ...grpc.CallOption) (*v3.Partner, error) { +func (c *partnerServiceClient) GetPartner(ctx context.Context, in *v3.Partner, opts ...grpc.CallOption) (*v3.Partner, error) { out := new(v3.Partner) - err := c.cc.Invoke(ctx, "/paralus.dev.rpc.v3.Partner/GetPartner", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.rpc.system.v3.PartnerService/GetPartner", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *partnerClient) GetInitPartner(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*v3.Partner, error) { +func (c *partnerServiceClient) GetInitPartner(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*v3.Partner, error) { out := new(v3.Partner) - err := c.cc.Invoke(ctx, "/paralus.dev.rpc.v3.Partner/GetInitPartner", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.rpc.system.v3.PartnerService/GetInitPartner", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *partnerClient) UpdatePartner(ctx context.Context, in *v3.Partner, opts ...grpc.CallOption) (*v3.Partner, error) { +func (c *partnerServiceClient) UpdatePartner(ctx context.Context, in *v3.Partner, opts ...grpc.CallOption) (*v3.Partner, error) { out := new(v3.Partner) - err := c.cc.Invoke(ctx, "/paralus.dev.rpc.v3.Partner/UpdatePartner", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.rpc.system.v3.PartnerService/UpdatePartner", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *partnerClient) DeletePartner(ctx context.Context, in *v3.Partner, opts ...grpc.CallOption) (*v3.Partner, error) { +func (c *partnerServiceClient) DeletePartner(ctx context.Context, in *v3.Partner, opts ...grpc.CallOption) (*v3.Partner, error) { out := new(v3.Partner) - err := c.cc.Invoke(ctx, "/paralus.dev.rpc.v3.Partner/DeletePartner", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.rpc.system.v3.PartnerService/DeletePartner", in, out, opts...) if err != nil { return nil, err } return out, nil } -// PartnerServer is the server API for Partner service. -// All implementations should embed UnimplementedPartnerServer +// PartnerServiceServer is the server API for PartnerService service. +// All implementations should embed UnimplementedPartnerServiceServer // for forward compatibility -type PartnerServer interface { +type PartnerServiceServer interface { CreatePartner(context.Context, *v3.Partner) (*v3.Partner, error) GetPartner(context.Context, *v3.Partner) (*v3.Partner, error) GetInitPartner(context.Context, *EmptyRequest) (*v3.Partner, error) @@ -94,153 +94,153 @@ type PartnerServer interface { DeletePartner(context.Context, *v3.Partner) (*v3.Partner, error) } -// UnimplementedPartnerServer should be embedded to have forward compatible implementations. -type UnimplementedPartnerServer struct { +// UnimplementedPartnerServiceServer should be embedded to have forward compatible implementations. +type UnimplementedPartnerServiceServer struct { } -func (UnimplementedPartnerServer) CreatePartner(context.Context, *v3.Partner) (*v3.Partner, error) { +func (UnimplementedPartnerServiceServer) CreatePartner(context.Context, *v3.Partner) (*v3.Partner, error) { return nil, status.Errorf(codes.Unimplemented, "method CreatePartner not implemented") } -func (UnimplementedPartnerServer) GetPartner(context.Context, *v3.Partner) (*v3.Partner, error) { +func (UnimplementedPartnerServiceServer) GetPartner(context.Context, *v3.Partner) (*v3.Partner, error) { return nil, status.Errorf(codes.Unimplemented, "method GetPartner not implemented") } -func (UnimplementedPartnerServer) GetInitPartner(context.Context, *EmptyRequest) (*v3.Partner, error) { +func (UnimplementedPartnerServiceServer) GetInitPartner(context.Context, *EmptyRequest) (*v3.Partner, error) { return nil, status.Errorf(codes.Unimplemented, "method GetInitPartner not implemented") } -func (UnimplementedPartnerServer) UpdatePartner(context.Context, *v3.Partner) (*v3.Partner, error) { +func (UnimplementedPartnerServiceServer) UpdatePartner(context.Context, *v3.Partner) (*v3.Partner, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdatePartner not implemented") } -func (UnimplementedPartnerServer) DeletePartner(context.Context, *v3.Partner) (*v3.Partner, error) { +func (UnimplementedPartnerServiceServer) DeletePartner(context.Context, *v3.Partner) (*v3.Partner, error) { return nil, status.Errorf(codes.Unimplemented, "method DeletePartner not implemented") } -// UnsafePartnerServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to PartnerServer will +// UnsafePartnerServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to PartnerServiceServer will // result in compilation errors. -type UnsafePartnerServer interface { - mustEmbedUnimplementedPartnerServer() +type UnsafePartnerServiceServer interface { + mustEmbedUnimplementedPartnerServiceServer() } -func RegisterPartnerServer(s grpc.ServiceRegistrar, srv PartnerServer) { - s.RegisterService(&Partner_ServiceDesc, srv) +func RegisterPartnerServiceServer(s grpc.ServiceRegistrar, srv PartnerServiceServer) { + s.RegisterService(&PartnerService_ServiceDesc, srv) } -func _Partner_CreatePartner_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _PartnerService_CreatePartner_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v3.Partner) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(PartnerServer).CreatePartner(ctx, in) + return srv.(PartnerServiceServer).CreatePartner(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.rpc.v3.Partner/CreatePartner", + FullMethod: "/paralus.dev.rpc.system.v3.PartnerService/CreatePartner", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PartnerServer).CreatePartner(ctx, req.(*v3.Partner)) + return srv.(PartnerServiceServer).CreatePartner(ctx, req.(*v3.Partner)) } return interceptor(ctx, in, info, handler) } -func _Partner_GetPartner_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _PartnerService_GetPartner_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v3.Partner) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(PartnerServer).GetPartner(ctx, in) + return srv.(PartnerServiceServer).GetPartner(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.rpc.v3.Partner/GetPartner", + FullMethod: "/paralus.dev.rpc.system.v3.PartnerService/GetPartner", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PartnerServer).GetPartner(ctx, req.(*v3.Partner)) + return srv.(PartnerServiceServer).GetPartner(ctx, req.(*v3.Partner)) } return interceptor(ctx, in, info, handler) } -func _Partner_GetInitPartner_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _PartnerService_GetInitPartner_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(EmptyRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(PartnerServer).GetInitPartner(ctx, in) + return srv.(PartnerServiceServer).GetInitPartner(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.rpc.v3.Partner/GetInitPartner", + FullMethod: "/paralus.dev.rpc.system.v3.PartnerService/GetInitPartner", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PartnerServer).GetInitPartner(ctx, req.(*EmptyRequest)) + return srv.(PartnerServiceServer).GetInitPartner(ctx, req.(*EmptyRequest)) } return interceptor(ctx, in, info, handler) } -func _Partner_UpdatePartner_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _PartnerService_UpdatePartner_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v3.Partner) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(PartnerServer).UpdatePartner(ctx, in) + return srv.(PartnerServiceServer).UpdatePartner(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.rpc.v3.Partner/UpdatePartner", + FullMethod: "/paralus.dev.rpc.system.v3.PartnerService/UpdatePartner", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PartnerServer).UpdatePartner(ctx, req.(*v3.Partner)) + return srv.(PartnerServiceServer).UpdatePartner(ctx, req.(*v3.Partner)) } return interceptor(ctx, in, info, handler) } -func _Partner_DeletePartner_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _PartnerService_DeletePartner_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v3.Partner) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(PartnerServer).DeletePartner(ctx, in) + return srv.(PartnerServiceServer).DeletePartner(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.rpc.v3.Partner/DeletePartner", + FullMethod: "/paralus.dev.rpc.system.v3.PartnerService/DeletePartner", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(PartnerServer).DeletePartner(ctx, req.(*v3.Partner)) + return srv.(PartnerServiceServer).DeletePartner(ctx, req.(*v3.Partner)) } return interceptor(ctx, in, info, handler) } -// Partner_ServiceDesc is the grpc.ServiceDesc for Partner service. +// PartnerService_ServiceDesc is the grpc.ServiceDesc for PartnerService service. // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) -var Partner_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "paralus.dev.rpc.v3.Partner", - HandlerType: (*PartnerServer)(nil), +var PartnerService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "paralus.dev.rpc.system.v3.PartnerService", + HandlerType: (*PartnerServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreatePartner", - Handler: _Partner_CreatePartner_Handler, + Handler: _PartnerService_CreatePartner_Handler, }, { MethodName: "GetPartner", - Handler: _Partner_GetPartner_Handler, + Handler: _PartnerService_GetPartner_Handler, }, { MethodName: "GetInitPartner", - Handler: _Partner_GetInitPartner_Handler, + Handler: _PartnerService_GetInitPartner_Handler, }, { MethodName: "UpdatePartner", - Handler: _Partner_UpdatePartner_Handler, + Handler: _PartnerService_UpdatePartner_Handler, }, { MethodName: "DeletePartner", - Handler: _Partner_DeletePartner_Handler, + Handler: _PartnerService_DeletePartner_Handler, }, }, Streams: []grpc.StreamDesc{}, diff --git a/proto/rpc/system/project.pb.go b/proto/rpc/system/project.pb.go index 01bdf8d5..c6f705bf 100644 --- a/proto/rpc/system/project.pb.go +++ b/proto/rpc/system/project.pb.go @@ -1,10 +1,10 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.27.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: proto/rpc/system/project.proto -package rpcv3 +package systemv3 import ( _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" @@ -27,119 +27,123 @@ var File_proto_rpc_system_project_proto protoreflect.FileDescriptor var file_proto_rpc_system_project_proto_rawDesc = []byte{ 0x0a, 0x1e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x12, 0x12, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x72, 0x70, - 0x63, 0x2e, 0x76, 0x33, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, - 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x6f, - 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x1a, 0x25, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, - 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x70, 0x62, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x72, 0x6f, 0x6a, - 0x65, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0xd1, 0x08, 0x0a, 0x07, 0x50, 0x72, - 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0xf5, 0x01, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x24, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, - 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x73, 0x74, - 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x1a, 0x24, 0x2e, - 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, - 0x73, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x72, 0x6f, 0x6a, - 0x65, 0x63, 0x74, 0x22, 0x97, 0x01, 0x92, 0x41, 0x39, 0x4a, 0x37, 0x0a, 0x03, 0x32, 0x30, 0x31, - 0x12, 0x30, 0x0a, 0x2e, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, - 0x6e, 0x20, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x20, 0x69, 0x73, 0x20, 0x63, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x64, 0x20, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x66, 0x75, 0x6c, 0x6c, - 0x79, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x55, 0x22, 0x50, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, - 0x76, 0x33, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x7d, 0x2f, 0x6f, 0x72, - 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x7d, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x3a, 0x01, 0x2a, 0x12, 0xb8, 0x01, - 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x12, 0x24, 0x2e, - 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, - 0x73, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x72, 0x6f, 0x6a, - 0x65, 0x63, 0x74, 0x1a, 0x28, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, - 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, - 0x33, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x59, 0x82, - 0xd3, 0xe4, 0x93, 0x02, 0x53, 0x12, 0x51, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x33, 0x2f, - 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x7d, 0x2f, 0x6f, 0x72, 0x67, 0x61, 0x6e, - 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, - 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x12, 0xc2, 0x01, 0x0a, 0x0a, 0x47, 0x65, 0x74, - 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x24, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, - 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x73, 0x74, - 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x1a, 0x24, 0x2e, - 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, - 0x73, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x72, 0x6f, 0x6a, - 0x65, 0x63, 0x74, 0x22, 0x68, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x62, 0x12, 0x60, 0x2f, 0x61, 0x75, - 0x74, 0x68, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x2f, 0x7b, 0x6d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x7d, - 0x2f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x7b, 0x6d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2f, 0x7b, 0x6d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x12, 0xc8, 0x01, - 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, - 0x24, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, - 0x70, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x72, - 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x1a, 0x24, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, + 0x12, 0x19, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x72, 0x70, + 0x63, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, + 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x25, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x70, 0x62, 0x2f, + 0x76, 0x33, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x32, 0xd8, 0x08, 0x0a, 0x0e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x12, 0xf5, 0x01, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x24, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, - 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x6b, 0x82, 0xd3, 0xe4, - 0x93, 0x02, 0x65, 0x1a, 0x60, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x61, + 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x1a, 0x24, 0x2e, 0x70, 0x61, + 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, + 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, + 0x74, 0x22, 0x97, 0x01, 0x92, 0x41, 0x39, 0x4a, 0x37, 0x0a, 0x03, 0x32, 0x30, 0x31, 0x12, 0x30, + 0x0a, 0x2e, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, + 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x20, 0x69, 0x73, 0x20, 0x63, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x64, 0x20, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x66, 0x75, 0x6c, 0x6c, 0x79, 0x2e, + 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x55, 0x22, 0x50, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x33, + 0x2f, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x7d, 0x2f, 0x6f, 0x72, 0x67, 0x61, + 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, + 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x3a, 0x01, 0x2a, 0x12, 0xb8, 0x01, 0x0a, 0x0b, + 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x12, 0x24, 0x2e, 0x70, 0x61, + 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, + 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, + 0x74, 0x1a, 0x28, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x2e, + 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x59, 0x82, 0xd3, 0xe4, + 0x93, 0x02, 0x53, 0x12, 0x51, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x7d, 0x2f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x70, 0x72, - 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, - 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x3a, 0x01, 0x2a, 0x12, 0x82, 0x02, 0x0a, 0x0d, 0x44, 0x65, 0x6c, - 0x65, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x24, 0x2e, 0x70, 0x61, 0x72, - 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, - 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, - 0x1a, 0x24, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, - 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x50, - 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22, 0xa4, 0x01, 0x92, 0x41, 0x39, 0x4a, 0x37, 0x0a, 0x03, - 0x32, 0x30, 0x34, 0x12, 0x30, 0x0a, 0x2e, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, - 0x77, 0x68, 0x65, 0x6e, 0x20, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x20, 0x69, 0x73, 0x20, - 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x20, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x66, - 0x75, 0x6c, 0x6c, 0x79, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x62, 0x2a, 0x60, 0x2f, 0x61, 0x75, - 0x74, 0x68, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x2f, 0x7b, 0x6d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x7d, - 0x2f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x7b, 0x6d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2f, 0x7b, 0x6d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x42, 0xa6, 0x04, - 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, - 0x76, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x33, 0x42, 0x0c, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, - 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x31, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, - 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, 0x61, 0x72, - 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x73, - 0x79, 0x73, 0x74, 0x65, 0x6d, 0x3b, 0x72, 0x70, 0x63, 0x76, 0x33, 0xa2, 0x02, 0x03, 0x50, 0x44, - 0x52, 0xaa, 0x02, 0x12, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x44, 0x65, 0x76, 0x2e, - 0x52, 0x70, 0x63, 0x2e, 0x56, 0x33, 0xca, 0x02, 0x12, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, - 0x5c, 0x44, 0x65, 0x76, 0x5c, 0x52, 0x70, 0x63, 0x5c, 0x56, 0x33, 0xe2, 0x02, 0x1e, 0x50, 0x61, - 0x72, 0x61, 0x6c, 0x75, 0x73, 0x5c, 0x44, 0x65, 0x76, 0x5c, 0x52, 0x70, 0x63, 0x5c, 0x56, 0x33, - 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x15, 0x50, - 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x3a, 0x3a, 0x44, 0x65, 0x76, 0x3a, 0x3a, 0x52, 0x70, 0x63, - 0x3a, 0x3a, 0x56, 0x33, 0x92, 0x41, 0xde, 0x02, 0x12, 0x25, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x6a, - 0x65, 0x63, 0x74, 0x20, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x22, 0x0d, 0x0a, 0x0b, 0x50, - 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x20, 0x44, 0x65, 0x76, 0x32, 0x03, 0x33, 0x2e, 0x30, 0x2a, - 0x01, 0x02, 0x32, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, - 0x6a, 0x73, 0x6f, 0x6e, 0x32, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x2f, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x79, 0x61, 0x6d, 0x6c, 0x52, 0x50, 0x0a, 0x03, 0x34, 0x30, - 0x33, 0x12, 0x49, 0x0a, 0x47, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, - 0x65, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x64, 0x6f, 0x65, 0x73, - 0x20, 0x6e, 0x6f, 0x74, 0x20, 0x68, 0x61, 0x76, 0x65, 0x20, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, - 0x73, 0x69, 0x6f, 0x6e, 0x20, 0x74, 0x6f, 0x20, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x20, 0x74, - 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x52, 0x3b, 0x0a, 0x03, - 0x34, 0x30, 0x34, 0x12, 0x34, 0x0a, 0x2a, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, - 0x77, 0x68, 0x65, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x20, 0x64, 0x6f, 0x65, 0x73, 0x20, 0x6e, 0x6f, 0x74, 0x20, 0x65, 0x78, 0x69, 0x73, 0x74, - 0x2e, 0x12, 0x06, 0x0a, 0x04, 0x9a, 0x02, 0x01, 0x07, 0x5a, 0x3a, 0x0a, 0x27, 0x0a, 0x0a, 0x41, - 0x70, 0x69, 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x12, 0x19, 0x08, 0x02, 0x1a, 0x13, 0x58, - 0x2d, 0x50, 0x41, 0x52, 0x41, 0x4c, 0x55, 0x53, 0x2d, 0x41, 0x50, 0x49, 0x2d, 0x4b, 0x45, 0x59, - 0x49, 0x44, 0x20, 0x02, 0x0a, 0x0f, 0x0a, 0x09, 0x42, 0x61, 0x73, 0x69, 0x63, 0x41, 0x75, 0x74, - 0x68, 0x12, 0x02, 0x08, 0x01, 0x62, 0x1f, 0x0a, 0x0e, 0x0a, 0x0a, 0x41, 0x70, 0x69, 0x4b, 0x65, - 0x79, 0x41, 0x75, 0x74, 0x68, 0x12, 0x00, 0x0a, 0x0d, 0x0a, 0x09, 0x42, 0x61, 0x73, 0x69, 0x63, - 0x41, 0x75, 0x74, 0x68, 0x12, 0x00, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x12, 0xc2, 0x01, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x50, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x24, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, + 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x1a, 0x24, 0x2e, 0x70, 0x61, + 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, + 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, + 0x74, 0x22, 0x68, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x62, 0x12, 0x60, 0x2f, 0x61, 0x75, 0x74, 0x68, + 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x2f, 0x7b, 0x6d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x7d, 0x2f, 0x6f, + 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x7b, 0x6d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x7d, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2f, 0x7b, 0x6d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x12, 0xc8, 0x01, 0x0a, 0x0d, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x24, 0x2e, + 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, + 0x73, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x72, 0x6f, 0x6a, + 0x65, 0x63, 0x74, 0x1a, 0x24, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, + 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, + 0x33, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x6b, 0x82, 0xd3, 0xe4, 0x93, 0x02, + 0x65, 0x1a, 0x60, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x61, 0x72, 0x74, + 0x6e, 0x65, 0x72, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x61, + 0x72, 0x74, 0x6e, 0x65, 0x72, 0x7d, 0x2f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6f, 0x72, + 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x70, 0x72, 0x6f, 0x6a, + 0x65, 0x63, 0x74, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6e, 0x61, + 0x6d, 0x65, 0x7d, 0x3a, 0x01, 0x2a, 0x12, 0x82, 0x02, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x24, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, + 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x73, + 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x1a, 0x24, + 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, + 0x65, 0x73, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x72, 0x6f, + 0x6a, 0x65, 0x63, 0x74, 0x22, 0xa4, 0x01, 0x92, 0x41, 0x39, 0x4a, 0x37, 0x0a, 0x03, 0x32, 0x30, + 0x34, 0x12, 0x30, 0x0a, 0x2e, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, + 0x65, 0x6e, 0x20, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x20, 0x69, 0x73, 0x20, 0x64, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x64, 0x20, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x66, 0x75, 0x6c, + 0x6c, 0x79, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x62, 0x2a, 0x60, 0x2f, 0x61, 0x75, 0x74, 0x68, + 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x2f, 0x7b, 0x6d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x7d, 0x2f, 0x6f, + 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x7b, 0x6d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x7d, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2f, 0x7b, 0x6d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x42, 0xce, 0x04, 0x0a, 0x1d, + 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x72, 0x70, 0x63, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x42, 0x0c, 0x50, + 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x34, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, + 0x73, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, + 0x72, 0x70, 0x63, 0x2f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x3b, 0x73, 0x79, 0x73, 0x74, 0x65, + 0x6d, 0x76, 0x33, 0xa2, 0x02, 0x04, 0x50, 0x44, 0x52, 0x53, 0xaa, 0x02, 0x19, 0x50, 0x61, 0x72, + 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x44, 0x65, 0x76, 0x2e, 0x52, 0x70, 0x63, 0x2e, 0x53, 0x79, 0x73, + 0x74, 0x65, 0x6d, 0x2e, 0x56, 0x33, 0xca, 0x02, 0x19, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, + 0x5c, 0x44, 0x65, 0x76, 0x5c, 0x52, 0x70, 0x63, 0x5c, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5c, + 0x56, 0x33, 0xe2, 0x02, 0x25, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x5c, 0x44, 0x65, 0x76, + 0x5c, 0x52, 0x70, 0x63, 0x5c, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5c, 0x56, 0x33, 0x5c, 0x47, + 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1d, 0x50, 0x61, 0x72, + 0x61, 0x6c, 0x75, 0x73, 0x3a, 0x3a, 0x44, 0x65, 0x76, 0x3a, 0x3a, 0x52, 0x70, 0x63, 0x3a, 0x3a, + 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x3a, 0x3a, 0x56, 0x33, 0x92, 0x41, 0xde, 0x02, 0x12, 0x25, + 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x20, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x22, 0x0d, 0x0a, 0x0b, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x20, 0x44, 0x65, 0x76, + 0x32, 0x03, 0x33, 0x2e, 0x30, 0x2a, 0x01, 0x02, 0x32, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x32, 0x10, 0x61, 0x70, 0x70, 0x6c, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x10, 0x61, 0x70, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x10, + 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x79, 0x61, 0x6d, 0x6c, + 0x52, 0x50, 0x0a, 0x03, 0x34, 0x30, 0x33, 0x12, 0x49, 0x0a, 0x47, 0x52, 0x65, 0x74, 0x75, 0x72, + 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, + 0x72, 0x20, 0x64, 0x6f, 0x65, 0x73, 0x20, 0x6e, 0x6f, 0x74, 0x20, 0x68, 0x61, 0x76, 0x65, 0x20, + 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x20, 0x74, 0x6f, 0x20, 0x61, 0x63, + 0x63, 0x65, 0x73, 0x73, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x2e, 0x52, 0x3b, 0x0a, 0x03, 0x34, 0x30, 0x34, 0x12, 0x34, 0x0a, 0x2a, 0x52, 0x65, 0x74, + 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x20, 0x64, 0x6f, 0x65, 0x73, 0x20, 0x6e, 0x6f, 0x74, + 0x20, 0x65, 0x78, 0x69, 0x73, 0x74, 0x2e, 0x12, 0x06, 0x0a, 0x04, 0x9a, 0x02, 0x01, 0x07, 0x5a, + 0x3a, 0x0a, 0x27, 0x0a, 0x0a, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x12, + 0x19, 0x08, 0x02, 0x1a, 0x13, 0x58, 0x2d, 0x50, 0x41, 0x52, 0x41, 0x4c, 0x55, 0x53, 0x2d, 0x41, + 0x50, 0x49, 0x2d, 0x4b, 0x45, 0x59, 0x49, 0x44, 0x20, 0x02, 0x0a, 0x0f, 0x0a, 0x09, 0x42, 0x61, + 0x73, 0x69, 0x63, 0x41, 0x75, 0x74, 0x68, 0x12, 0x02, 0x08, 0x01, 0x62, 0x1f, 0x0a, 0x0e, 0x0a, + 0x0a, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x12, 0x00, 0x0a, 0x0d, 0x0a, + 0x09, 0x42, 0x61, 0x73, 0x69, 0x63, 0x41, 0x75, 0x74, 0x68, 0x12, 0x00, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, } var file_proto_rpc_system_project_proto_goTypes = []interface{}{ @@ -147,16 +151,16 @@ var file_proto_rpc_system_project_proto_goTypes = []interface{}{ (*v3.ProjectList)(nil), // 1: paralus.dev.types.system.v3.ProjectList } var file_proto_rpc_system_project_proto_depIdxs = []int32{ - 0, // 0: paralus.dev.rpc.v3.Project.CreateProject:input_type -> paralus.dev.types.system.v3.Project - 0, // 1: paralus.dev.rpc.v3.Project.GetProjects:input_type -> paralus.dev.types.system.v3.Project - 0, // 2: paralus.dev.rpc.v3.Project.GetProject:input_type -> paralus.dev.types.system.v3.Project - 0, // 3: paralus.dev.rpc.v3.Project.UpdateProject:input_type -> paralus.dev.types.system.v3.Project - 0, // 4: paralus.dev.rpc.v3.Project.DeleteProject:input_type -> paralus.dev.types.system.v3.Project - 0, // 5: paralus.dev.rpc.v3.Project.CreateProject:output_type -> paralus.dev.types.system.v3.Project - 1, // 6: paralus.dev.rpc.v3.Project.GetProjects:output_type -> paralus.dev.types.system.v3.ProjectList - 0, // 7: paralus.dev.rpc.v3.Project.GetProject:output_type -> paralus.dev.types.system.v3.Project - 0, // 8: paralus.dev.rpc.v3.Project.UpdateProject:output_type -> paralus.dev.types.system.v3.Project - 0, // 9: paralus.dev.rpc.v3.Project.DeleteProject:output_type -> paralus.dev.types.system.v3.Project + 0, // 0: paralus.dev.rpc.system.v3.ProjectService.CreateProject:input_type -> paralus.dev.types.system.v3.Project + 0, // 1: paralus.dev.rpc.system.v3.ProjectService.GetProjects:input_type -> paralus.dev.types.system.v3.Project + 0, // 2: paralus.dev.rpc.system.v3.ProjectService.GetProject:input_type -> paralus.dev.types.system.v3.Project + 0, // 3: paralus.dev.rpc.system.v3.ProjectService.UpdateProject:input_type -> paralus.dev.types.system.v3.Project + 0, // 4: paralus.dev.rpc.system.v3.ProjectService.DeleteProject:input_type -> paralus.dev.types.system.v3.Project + 0, // 5: paralus.dev.rpc.system.v3.ProjectService.CreateProject:output_type -> paralus.dev.types.system.v3.Project + 1, // 6: paralus.dev.rpc.system.v3.ProjectService.GetProjects:output_type -> paralus.dev.types.system.v3.ProjectList + 0, // 7: paralus.dev.rpc.system.v3.ProjectService.GetProject:output_type -> paralus.dev.types.system.v3.Project + 0, // 8: paralus.dev.rpc.system.v3.ProjectService.UpdateProject:output_type -> paralus.dev.types.system.v3.Project + 0, // 9: paralus.dev.rpc.system.v3.ProjectService.DeleteProject:output_type -> paralus.dev.types.system.v3.Project 5, // [5:10] is the sub-list for method output_type 0, // [0:5] is the sub-list for method input_type 0, // [0:0] is the sub-list for extension type_name diff --git a/proto/rpc/system/project.pb.gw.go b/proto/rpc/system/project.pb.gw.go index 0b46c945..91eeea1a 100644 --- a/proto/rpc/system/project.pb.gw.go +++ b/proto/rpc/system/project.pb.gw.go @@ -2,11 +2,11 @@ // source: proto/rpc/system/project.proto /* -Package rpcv3 is a reverse proxy. +Package systemv3 is a reverse proxy. It translates gRPC into RESTful JSON APIs. */ -package rpcv3 +package systemv3 import ( "context" @@ -32,7 +32,7 @@ var _ = runtime.String var _ = utilities.NewDoubleArray var _ = metadata.Join -func request_Project_CreateProject_0(ctx context.Context, marshaler runtime.Marshaler, client ProjectClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_ProjectService_CreateProject_0(ctx context.Context, marshaler runtime.Marshaler, client ProjectServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq systemv3.Project var metadata runtime.ServerMetadata @@ -76,7 +76,7 @@ func request_Project_CreateProject_0(ctx context.Context, marshaler runtime.Mars } -func local_request_Project_CreateProject_0(ctx context.Context, marshaler runtime.Marshaler, server ProjectServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_ProjectService_CreateProject_0(ctx context.Context, marshaler runtime.Marshaler, server ProjectServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq systemv3.Project var metadata runtime.ServerMetadata @@ -121,10 +121,10 @@ func local_request_Project_CreateProject_0(ctx context.Context, marshaler runtim } var ( - filter_Project_GetProjects_0 = &utilities.DoubleArray{Encoding: map[string]int{"metadata": 0, "partner": 1, "organization": 2}, Base: []int{1, 1, 1, 2, 0, 0}, Check: []int{0, 1, 2, 2, 3, 4}} + filter_ProjectService_GetProjects_0 = &utilities.DoubleArray{Encoding: map[string]int{"metadata": 0, "partner": 1, "organization": 2}, Base: []int{1, 1, 1, 2, 0, 0}, Check: []int{0, 1, 2, 2, 3, 4}} ) -func request_Project_GetProjects_0(ctx context.Context, marshaler runtime.Marshaler, client ProjectClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_ProjectService_GetProjects_0(ctx context.Context, marshaler runtime.Marshaler, client ProjectServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq systemv3.Project var metadata runtime.ServerMetadata @@ -158,7 +158,7 @@ func request_Project_GetProjects_0(ctx context.Context, marshaler runtime.Marsha if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Project_GetProjects_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_ProjectService_GetProjects_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -167,7 +167,7 @@ func request_Project_GetProjects_0(ctx context.Context, marshaler runtime.Marsha } -func local_request_Project_GetProjects_0(ctx context.Context, marshaler runtime.Marshaler, server ProjectServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_ProjectService_GetProjects_0(ctx context.Context, marshaler runtime.Marshaler, server ProjectServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq systemv3.Project var metadata runtime.ServerMetadata @@ -201,7 +201,7 @@ func local_request_Project_GetProjects_0(ctx context.Context, marshaler runtime. if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Project_GetProjects_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_ProjectService_GetProjects_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -211,10 +211,10 @@ func local_request_Project_GetProjects_0(ctx context.Context, marshaler runtime. } var ( - filter_Project_GetProject_0 = &utilities.DoubleArray{Encoding: map[string]int{"metadata": 0, "partner": 1, "organization": 2, "name": 3}, Base: []int{1, 1, 1, 2, 3, 0, 0, 0}, Check: []int{0, 1, 2, 2, 2, 3, 4, 5}} + filter_ProjectService_GetProject_0 = &utilities.DoubleArray{Encoding: map[string]int{"metadata": 0, "partner": 1, "organization": 2, "name": 3}, Base: []int{1, 1, 1, 2, 3, 0, 0, 0}, Check: []int{0, 1, 2, 2, 2, 3, 4, 5}} ) -func request_Project_GetProject_0(ctx context.Context, marshaler runtime.Marshaler, client ProjectClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_ProjectService_GetProject_0(ctx context.Context, marshaler runtime.Marshaler, client ProjectServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq systemv3.Project var metadata runtime.ServerMetadata @@ -258,7 +258,7 @@ func request_Project_GetProject_0(ctx context.Context, marshaler runtime.Marshal if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Project_GetProject_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_ProjectService_GetProject_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -267,7 +267,7 @@ func request_Project_GetProject_0(ctx context.Context, marshaler runtime.Marshal } -func local_request_Project_GetProject_0(ctx context.Context, marshaler runtime.Marshaler, server ProjectServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_ProjectService_GetProject_0(ctx context.Context, marshaler runtime.Marshaler, server ProjectServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq systemv3.Project var metadata runtime.ServerMetadata @@ -311,7 +311,7 @@ func local_request_Project_GetProject_0(ctx context.Context, marshaler runtime.M if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Project_GetProject_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_ProjectService_GetProject_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -320,7 +320,7 @@ func local_request_Project_GetProject_0(ctx context.Context, marshaler runtime.M } -func request_Project_UpdateProject_0(ctx context.Context, marshaler runtime.Marshaler, client ProjectClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_ProjectService_UpdateProject_0(ctx context.Context, marshaler runtime.Marshaler, client ProjectServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq systemv3.Project var metadata runtime.ServerMetadata @@ -374,7 +374,7 @@ func request_Project_UpdateProject_0(ctx context.Context, marshaler runtime.Mars } -func local_request_Project_UpdateProject_0(ctx context.Context, marshaler runtime.Marshaler, server ProjectServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_ProjectService_UpdateProject_0(ctx context.Context, marshaler runtime.Marshaler, server ProjectServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq systemv3.Project var metadata runtime.ServerMetadata @@ -429,10 +429,10 @@ func local_request_Project_UpdateProject_0(ctx context.Context, marshaler runtim } var ( - filter_Project_DeleteProject_0 = &utilities.DoubleArray{Encoding: map[string]int{"metadata": 0, "partner": 1, "organization": 2, "name": 3}, Base: []int{1, 1, 1, 2, 3, 0, 0, 0}, Check: []int{0, 1, 2, 2, 2, 3, 4, 5}} + filter_ProjectService_DeleteProject_0 = &utilities.DoubleArray{Encoding: map[string]int{"metadata": 0, "partner": 1, "organization": 2, "name": 3}, Base: []int{1, 1, 1, 2, 3, 0, 0, 0}, Check: []int{0, 1, 2, 2, 2, 3, 4, 5}} ) -func request_Project_DeleteProject_0(ctx context.Context, marshaler runtime.Marshaler, client ProjectClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_ProjectService_DeleteProject_0(ctx context.Context, marshaler runtime.Marshaler, client ProjectServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq systemv3.Project var metadata runtime.ServerMetadata @@ -476,7 +476,7 @@ func request_Project_DeleteProject_0(ctx context.Context, marshaler runtime.Mars if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Project_DeleteProject_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_ProjectService_DeleteProject_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -485,7 +485,7 @@ func request_Project_DeleteProject_0(ctx context.Context, marshaler runtime.Mars } -func local_request_Project_DeleteProject_0(ctx context.Context, marshaler runtime.Marshaler, server ProjectServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_ProjectService_DeleteProject_0(ctx context.Context, marshaler runtime.Marshaler, server ProjectServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq systemv3.Project var metadata runtime.ServerMetadata @@ -529,7 +529,7 @@ func local_request_Project_DeleteProject_0(ctx context.Context, marshaler runtim if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Project_DeleteProject_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_ProjectService_DeleteProject_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -538,133 +538,143 @@ func local_request_Project_DeleteProject_0(ctx context.Context, marshaler runtim } -// RegisterProjectHandlerServer registers the http handlers for service Project to "mux". -// UnaryRPC :call ProjectServer directly. +// RegisterProjectServiceHandlerServer registers the http handlers for service ProjectService to "mux". +// UnaryRPC :call ProjectServiceServer directly. // StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. -// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterProjectHandlerFromEndpoint instead. -func RegisterProjectHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ProjectServer) error { +// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterProjectServiceHandlerFromEndpoint instead. +func RegisterProjectServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ProjectServiceServer) error { - mux.Handle("POST", pattern_Project_CreateProject_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("POST", pattern_ProjectService_CreateProject_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.v3.Project/CreateProject", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/project")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.system.v3.ProjectService/CreateProject", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/project")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Project_CreateProject_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_ProjectService_CreateProject_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Project_CreateProject_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ProjectService_CreateProject_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Project_GetProjects_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_ProjectService_GetProjects_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.v3.Project/GetProjects", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/projects")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.system.v3.ProjectService/GetProjects", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/projects")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Project_GetProjects_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_ProjectService_GetProjects_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Project_GetProjects_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ProjectService_GetProjects_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Project_GetProject_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_ProjectService_GetProject_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.v3.Project/GetProject", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/project/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.system.v3.ProjectService/GetProject", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/project/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Project_GetProject_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_ProjectService_GetProject_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Project_GetProject_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ProjectService_GetProject_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("PUT", pattern_Project_UpdateProject_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("PUT", pattern_ProjectService_UpdateProject_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.v3.Project/UpdateProject", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/project/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.system.v3.ProjectService/UpdateProject", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/project/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Project_UpdateProject_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_ProjectService_UpdateProject_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Project_UpdateProject_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ProjectService_UpdateProject_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("DELETE", pattern_Project_DeleteProject_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("DELETE", pattern_ProjectService_DeleteProject_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.v3.Project/DeleteProject", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/project/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.system.v3.ProjectService/DeleteProject", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/project/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Project_DeleteProject_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_ProjectService_DeleteProject_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Project_DeleteProject_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ProjectService_DeleteProject_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) return nil } -// RegisterProjectHandlerFromEndpoint is same as RegisterProjectHandler but +// RegisterProjectServiceHandlerFromEndpoint is same as RegisterProjectServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. -func RegisterProjectHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { +func RegisterProjectServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { conn, err := grpc.Dial(endpoint, opts...) if err != nil { return err @@ -684,119 +694,129 @@ func RegisterProjectHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeM }() }() - return RegisterProjectHandler(ctx, mux, conn) + return RegisterProjectServiceHandler(ctx, mux, conn) } -// RegisterProjectHandler registers the http handlers for service Project to "mux". +// RegisterProjectServiceHandler registers the http handlers for service ProjectService to "mux". // The handlers forward requests to the grpc endpoint over "conn". -func RegisterProjectHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { - return RegisterProjectHandlerClient(ctx, mux, NewProjectClient(conn)) +func RegisterProjectServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { + return RegisterProjectServiceHandlerClient(ctx, mux, NewProjectServiceClient(conn)) } -// RegisterProjectHandlerClient registers the http handlers for service Project -// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ProjectClient". -// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ProjectClient" +// RegisterProjectServiceHandlerClient registers the http handlers for service ProjectService +// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ProjectServiceClient". +// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ProjectServiceClient" // doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in -// "ProjectClient" to call the correct interceptors. -func RegisterProjectHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ProjectClient) error { +// "ProjectServiceClient" to call the correct interceptors. +func RegisterProjectServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ProjectServiceClient) error { - mux.Handle("POST", pattern_Project_CreateProject_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("POST", pattern_ProjectService_CreateProject_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.v3.Project/CreateProject", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/project")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.system.v3.ProjectService/CreateProject", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/project")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_Project_CreateProject_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_ProjectService_CreateProject_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Project_CreateProject_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ProjectService_CreateProject_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Project_GetProjects_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_ProjectService_GetProjects_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.v3.Project/GetProjects", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/projects")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.system.v3.ProjectService/GetProjects", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/projects")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_Project_GetProjects_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_ProjectService_GetProjects_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Project_GetProjects_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ProjectService_GetProjects_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Project_GetProject_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_ProjectService_GetProject_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.v3.Project/GetProject", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/project/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.system.v3.ProjectService/GetProject", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/project/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_Project_GetProject_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_ProjectService_GetProject_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Project_GetProject_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ProjectService_GetProject_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("PUT", pattern_Project_UpdateProject_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("PUT", pattern_ProjectService_UpdateProject_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.v3.Project/UpdateProject", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/project/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.system.v3.ProjectService/UpdateProject", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/project/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_Project_UpdateProject_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_ProjectService_UpdateProject_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Project_UpdateProject_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ProjectService_UpdateProject_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("DELETE", pattern_Project_DeleteProject_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("DELETE", pattern_ProjectService_DeleteProject_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.v3.Project/DeleteProject", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/project/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.system.v3.ProjectService/DeleteProject", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/project/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_Project_DeleteProject_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_ProjectService_DeleteProject_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Project_DeleteProject_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_ProjectService_DeleteProject_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) @@ -804,25 +824,25 @@ func RegisterProjectHandlerClient(ctx context.Context, mux *runtime.ServeMux, cl } var ( - pattern_Project_CreateProject_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4, 1, 0, 4, 1, 5, 5, 2, 6}, []string{"auth", "v3", "partner", "metadata.partner", "organization", "metadata.organization", "project"}, "")) + pattern_ProjectService_CreateProject_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4, 1, 0, 4, 1, 5, 5, 2, 6}, []string{"auth", "v3", "partner", "metadata.partner", "organization", "metadata.organization", "project"}, "")) - pattern_Project_GetProjects_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4, 1, 0, 4, 1, 5, 5, 2, 6}, []string{"auth", "v3", "partner", "metadata.partner", "organization", "metadata.organization", "projects"}, "")) + pattern_ProjectService_GetProjects_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4, 1, 0, 4, 1, 5, 5, 2, 6}, []string{"auth", "v3", "partner", "metadata.partner", "organization", "metadata.organization", "projects"}, "")) - pattern_Project_GetProject_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4, 1, 0, 4, 1, 5, 5, 2, 6, 1, 0, 4, 1, 5, 7}, []string{"auth", "v3", "partner", "metadata.partner", "organization", "metadata.organization", "project", "metadata.name"}, "")) + pattern_ProjectService_GetProject_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4, 1, 0, 4, 1, 5, 5, 2, 6, 1, 0, 4, 1, 5, 7}, []string{"auth", "v3", "partner", "metadata.partner", "organization", "metadata.organization", "project", "metadata.name"}, "")) - pattern_Project_UpdateProject_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4, 1, 0, 4, 1, 5, 5, 2, 6, 1, 0, 4, 1, 5, 7}, []string{"auth", "v3", "partner", "metadata.partner", "organization", "metadata.organization", "project", "metadata.name"}, "")) + pattern_ProjectService_UpdateProject_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4, 1, 0, 4, 1, 5, 5, 2, 6, 1, 0, 4, 1, 5, 7}, []string{"auth", "v3", "partner", "metadata.partner", "organization", "metadata.organization", "project", "metadata.name"}, "")) - pattern_Project_DeleteProject_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4, 1, 0, 4, 1, 5, 5, 2, 6, 1, 0, 4, 1, 5, 7}, []string{"auth", "v3", "partner", "metadata.partner", "organization", "metadata.organization", "project", "metadata.name"}, "")) + pattern_ProjectService_DeleteProject_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4, 1, 0, 4, 1, 5, 5, 2, 6, 1, 0, 4, 1, 5, 7}, []string{"auth", "v3", "partner", "metadata.partner", "organization", "metadata.organization", "project", "metadata.name"}, "")) ) var ( - forward_Project_CreateProject_0 = runtime.ForwardResponseMessage + forward_ProjectService_CreateProject_0 = runtime.ForwardResponseMessage - forward_Project_GetProjects_0 = runtime.ForwardResponseMessage + forward_ProjectService_GetProjects_0 = runtime.ForwardResponseMessage - forward_Project_GetProject_0 = runtime.ForwardResponseMessage + forward_ProjectService_GetProject_0 = runtime.ForwardResponseMessage - forward_Project_UpdateProject_0 = runtime.ForwardResponseMessage + forward_ProjectService_UpdateProject_0 = runtime.ForwardResponseMessage - forward_Project_DeleteProject_0 = runtime.ForwardResponseMessage + forward_ProjectService_DeleteProject_0 = runtime.ForwardResponseMessage ) diff --git a/proto/rpc/system/project.proto b/proto/rpc/system/project.proto index 2286a5f1..839066ec 100644 --- a/proto/rpc/system/project.proto +++ b/proto/rpc/system/project.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package paralus.dev.rpc.v3; +package paralus.dev.rpc.system.v3; import "google/api/annotations.proto"; import "protoc-gen-openapiv2/options/annotations.proto"; @@ -52,7 +52,7 @@ option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = { } }; -service Project { +service ProjectService { rpc CreateProject(paralus.dev.types.system.v3.Project) returns (paralus.dev.types.system.v3.Project) { option (google.api.http) = { diff --git a/proto/rpc/system/project_grpc.pb.go b/proto/rpc/system/project_grpc.pb.go index 53f313e4..bf21248b 100644 --- a/proto/rpc/system/project_grpc.pb.go +++ b/proto/rpc/system/project_grpc.pb.go @@ -4,7 +4,7 @@ // - protoc (unknown) // source: proto/rpc/system/project.proto -package rpcv3 +package systemv3 import ( context "context" @@ -19,10 +19,10 @@ import ( // Requires gRPC-Go v1.32.0 or later. const _ = grpc.SupportPackageIsVersion7 -// ProjectClient is the client API for Project service. +// ProjectServiceClient is the client API for ProjectService service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. -type ProjectClient interface { +type ProjectServiceClient interface { CreateProject(ctx context.Context, in *v3.Project, opts ...grpc.CallOption) (*v3.Project, error) GetProjects(ctx context.Context, in *v3.Project, opts ...grpc.CallOption) (*v3.ProjectList, error) GetProject(ctx context.Context, in *v3.Project, opts ...grpc.CallOption) (*v3.Project, error) @@ -30,63 +30,63 @@ type ProjectClient interface { DeleteProject(ctx context.Context, in *v3.Project, opts ...grpc.CallOption) (*v3.Project, error) } -type projectClient struct { +type projectServiceClient struct { cc grpc.ClientConnInterface } -func NewProjectClient(cc grpc.ClientConnInterface) ProjectClient { - return &projectClient{cc} +func NewProjectServiceClient(cc grpc.ClientConnInterface) ProjectServiceClient { + return &projectServiceClient{cc} } -func (c *projectClient) CreateProject(ctx context.Context, in *v3.Project, opts ...grpc.CallOption) (*v3.Project, error) { +func (c *projectServiceClient) CreateProject(ctx context.Context, in *v3.Project, opts ...grpc.CallOption) (*v3.Project, error) { out := new(v3.Project) - err := c.cc.Invoke(ctx, "/paralus.dev.rpc.v3.Project/CreateProject", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.rpc.system.v3.ProjectService/CreateProject", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *projectClient) GetProjects(ctx context.Context, in *v3.Project, opts ...grpc.CallOption) (*v3.ProjectList, error) { +func (c *projectServiceClient) GetProjects(ctx context.Context, in *v3.Project, opts ...grpc.CallOption) (*v3.ProjectList, error) { out := new(v3.ProjectList) - err := c.cc.Invoke(ctx, "/paralus.dev.rpc.v3.Project/GetProjects", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.rpc.system.v3.ProjectService/GetProjects", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *projectClient) GetProject(ctx context.Context, in *v3.Project, opts ...grpc.CallOption) (*v3.Project, error) { +func (c *projectServiceClient) GetProject(ctx context.Context, in *v3.Project, opts ...grpc.CallOption) (*v3.Project, error) { out := new(v3.Project) - err := c.cc.Invoke(ctx, "/paralus.dev.rpc.v3.Project/GetProject", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.rpc.system.v3.ProjectService/GetProject", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *projectClient) UpdateProject(ctx context.Context, in *v3.Project, opts ...grpc.CallOption) (*v3.Project, error) { +func (c *projectServiceClient) UpdateProject(ctx context.Context, in *v3.Project, opts ...grpc.CallOption) (*v3.Project, error) { out := new(v3.Project) - err := c.cc.Invoke(ctx, "/paralus.dev.rpc.v3.Project/UpdateProject", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.rpc.system.v3.ProjectService/UpdateProject", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *projectClient) DeleteProject(ctx context.Context, in *v3.Project, opts ...grpc.CallOption) (*v3.Project, error) { +func (c *projectServiceClient) DeleteProject(ctx context.Context, in *v3.Project, opts ...grpc.CallOption) (*v3.Project, error) { out := new(v3.Project) - err := c.cc.Invoke(ctx, "/paralus.dev.rpc.v3.Project/DeleteProject", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.rpc.system.v3.ProjectService/DeleteProject", in, out, opts...) if err != nil { return nil, err } return out, nil } -// ProjectServer is the server API for Project service. -// All implementations should embed UnimplementedProjectServer +// ProjectServiceServer is the server API for ProjectService service. +// All implementations should embed UnimplementedProjectServiceServer // for forward compatibility -type ProjectServer interface { +type ProjectServiceServer interface { CreateProject(context.Context, *v3.Project) (*v3.Project, error) GetProjects(context.Context, *v3.Project) (*v3.ProjectList, error) GetProject(context.Context, *v3.Project) (*v3.Project, error) @@ -94,153 +94,153 @@ type ProjectServer interface { DeleteProject(context.Context, *v3.Project) (*v3.Project, error) } -// UnimplementedProjectServer should be embedded to have forward compatible implementations. -type UnimplementedProjectServer struct { +// UnimplementedProjectServiceServer should be embedded to have forward compatible implementations. +type UnimplementedProjectServiceServer struct { } -func (UnimplementedProjectServer) CreateProject(context.Context, *v3.Project) (*v3.Project, error) { +func (UnimplementedProjectServiceServer) CreateProject(context.Context, *v3.Project) (*v3.Project, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateProject not implemented") } -func (UnimplementedProjectServer) GetProjects(context.Context, *v3.Project) (*v3.ProjectList, error) { +func (UnimplementedProjectServiceServer) GetProjects(context.Context, *v3.Project) (*v3.ProjectList, error) { return nil, status.Errorf(codes.Unimplemented, "method GetProjects not implemented") } -func (UnimplementedProjectServer) GetProject(context.Context, *v3.Project) (*v3.Project, error) { +func (UnimplementedProjectServiceServer) GetProject(context.Context, *v3.Project) (*v3.Project, error) { return nil, status.Errorf(codes.Unimplemented, "method GetProject not implemented") } -func (UnimplementedProjectServer) UpdateProject(context.Context, *v3.Project) (*v3.Project, error) { +func (UnimplementedProjectServiceServer) UpdateProject(context.Context, *v3.Project) (*v3.Project, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateProject not implemented") } -func (UnimplementedProjectServer) DeleteProject(context.Context, *v3.Project) (*v3.Project, error) { +func (UnimplementedProjectServiceServer) DeleteProject(context.Context, *v3.Project) (*v3.Project, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteProject not implemented") } -// UnsafeProjectServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to ProjectServer will +// UnsafeProjectServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to ProjectServiceServer will // result in compilation errors. -type UnsafeProjectServer interface { - mustEmbedUnimplementedProjectServer() +type UnsafeProjectServiceServer interface { + mustEmbedUnimplementedProjectServiceServer() } -func RegisterProjectServer(s grpc.ServiceRegistrar, srv ProjectServer) { - s.RegisterService(&Project_ServiceDesc, srv) +func RegisterProjectServiceServer(s grpc.ServiceRegistrar, srv ProjectServiceServer) { + s.RegisterService(&ProjectService_ServiceDesc, srv) } -func _Project_CreateProject_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _ProjectService_CreateProject_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v3.Project) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(ProjectServer).CreateProject(ctx, in) + return srv.(ProjectServiceServer).CreateProject(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.rpc.v3.Project/CreateProject", + FullMethod: "/paralus.dev.rpc.system.v3.ProjectService/CreateProject", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProjectServer).CreateProject(ctx, req.(*v3.Project)) + return srv.(ProjectServiceServer).CreateProject(ctx, req.(*v3.Project)) } return interceptor(ctx, in, info, handler) } -func _Project_GetProjects_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _ProjectService_GetProjects_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v3.Project) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(ProjectServer).GetProjects(ctx, in) + return srv.(ProjectServiceServer).GetProjects(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.rpc.v3.Project/GetProjects", + FullMethod: "/paralus.dev.rpc.system.v3.ProjectService/GetProjects", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProjectServer).GetProjects(ctx, req.(*v3.Project)) + return srv.(ProjectServiceServer).GetProjects(ctx, req.(*v3.Project)) } return interceptor(ctx, in, info, handler) } -func _Project_GetProject_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _ProjectService_GetProject_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v3.Project) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(ProjectServer).GetProject(ctx, in) + return srv.(ProjectServiceServer).GetProject(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.rpc.v3.Project/GetProject", + FullMethod: "/paralus.dev.rpc.system.v3.ProjectService/GetProject", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProjectServer).GetProject(ctx, req.(*v3.Project)) + return srv.(ProjectServiceServer).GetProject(ctx, req.(*v3.Project)) } return interceptor(ctx, in, info, handler) } -func _Project_UpdateProject_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _ProjectService_UpdateProject_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v3.Project) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(ProjectServer).UpdateProject(ctx, in) + return srv.(ProjectServiceServer).UpdateProject(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.rpc.v3.Project/UpdateProject", + FullMethod: "/paralus.dev.rpc.system.v3.ProjectService/UpdateProject", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProjectServer).UpdateProject(ctx, req.(*v3.Project)) + return srv.(ProjectServiceServer).UpdateProject(ctx, req.(*v3.Project)) } return interceptor(ctx, in, info, handler) } -func _Project_DeleteProject_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _ProjectService_DeleteProject_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v3.Project) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(ProjectServer).DeleteProject(ctx, in) + return srv.(ProjectServiceServer).DeleteProject(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.rpc.v3.Project/DeleteProject", + FullMethod: "/paralus.dev.rpc.system.v3.ProjectService/DeleteProject", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ProjectServer).DeleteProject(ctx, req.(*v3.Project)) + return srv.(ProjectServiceServer).DeleteProject(ctx, req.(*v3.Project)) } return interceptor(ctx, in, info, handler) } -// Project_ServiceDesc is the grpc.ServiceDesc for Project service. +// ProjectService_ServiceDesc is the grpc.ServiceDesc for ProjectService service. // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) -var Project_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "paralus.dev.rpc.v3.Project", - HandlerType: (*ProjectServer)(nil), +var ProjectService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "paralus.dev.rpc.system.v3.ProjectService", + HandlerType: (*ProjectServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateProject", - Handler: _Project_CreateProject_Handler, + Handler: _ProjectService_CreateProject_Handler, }, { MethodName: "GetProjects", - Handler: _Project_GetProjects_Handler, + Handler: _ProjectService_GetProjects_Handler, }, { MethodName: "GetProject", - Handler: _Project_GetProject_Handler, + Handler: _ProjectService_GetProject_Handler, }, { MethodName: "UpdateProject", - Handler: _Project_UpdateProject_Handler, + Handler: _ProjectService_UpdateProject_Handler, }, { MethodName: "DeleteProject", - Handler: _Project_DeleteProject_Handler, + Handler: _ProjectService_DeleteProject_Handler, }, }, Streams: []grpc.StreamDesc{}, diff --git a/proto/rpc/user/group.pb.go b/proto/rpc/user/group.pb.go index a6d70abc..1743521b 100644 --- a/proto/rpc/user/group.pb.go +++ b/proto/rpc/user/group.pb.go @@ -1,10 +1,10 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.27.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: proto/rpc/user/group.proto -package rpcv3 +package userv3 import ( _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" @@ -27,118 +27,120 @@ var File_proto_rpc_user_group_proto protoreflect.FileDescriptor var file_proto_rpc_user_group_proto_rawDesc = []byte{ 0x0a, 0x1a, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x75, 0x73, 0x65, 0x72, - 0x2f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x70, 0x61, - 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x33, - 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, - 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x6f, 0x70, 0x65, 0x6e, 0x61, - 0x70, 0x69, 0x76, 0x32, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x6e, 0x6e, - 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x75, 0x73, 0x65, 0x72, - 0x70, 0x62, 0x2f, 0x76, 0x33, 0x2f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x1a, 0x24, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x63, - 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x70, 0x62, 0x2f, 0x76, 0x33, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, - 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x87, 0x08, 0x0a, 0x05, 0x47, 0x72, 0x6f, 0x75, - 0x70, 0x12, 0xe8, 0x01, 0x0a, 0x0b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, - 0x70, 0x12, 0x20, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x47, 0x72, - 0x6f, 0x75, 0x70, 0x1a, 0x20, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, - 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, - 0x47, 0x72, 0x6f, 0x75, 0x70, 0x22, 0x94, 0x01, 0x92, 0x41, 0x37, 0x4a, 0x35, 0x0a, 0x03, 0x32, - 0x30, 0x31, 0x12, 0x2e, 0x0a, 0x2c, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, - 0x68, 0x65, 0x6e, 0x20, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x20, 0x69, 0x73, 0x20, 0x63, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x64, 0x20, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x66, 0x75, 0x6c, 0x6c, - 0x79, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x54, 0x22, 0x4f, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, - 0x76, 0x33, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x7d, 0x2f, 0x6f, 0x72, - 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x7d, 0x2f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x3a, 0x01, 0x2a, 0x12, 0xa3, 0x01, 0x0a, - 0x09, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x29, 0x2e, 0x70, 0x61, 0x72, - 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, - 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4f, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x24, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, - 0x33, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x45, 0x82, 0xd3, 0xe4, - 0x93, 0x02, 0x3f, 0x12, 0x3d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x61, - 0x72, 0x74, 0x6e, 0x65, 0x72, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x7d, 0x2f, - 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x7b, 0x6f, 0x72, - 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x67, 0x72, 0x6f, 0x75, - 0x70, 0x73, 0x12, 0xb6, 0x01, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, + 0x2f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x70, 0x61, + 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x75, 0x73, + 0x65, 0x72, 0x2e, 0x76, 0x33, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, + 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, + 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, + 0x2f, 0x75, 0x73, 0x65, 0x72, 0x70, 0x62, 0x2f, 0x76, 0x33, 0x2f, 0x67, 0x72, 0x6f, 0x75, 0x70, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x79, + 0x70, 0x65, 0x73, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x70, 0x62, 0x2f, 0x76, 0x33, 0x2f, + 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x8e, 0x08, 0x0a, + 0x0c, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xe8, 0x01, + 0x0a, 0x0b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x20, 0x2e, + 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, + 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x1a, 0x20, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x47, 0x72, 0x6f, 0x75, - 0x70, 0x1a, 0x20, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x70, 0x22, 0x94, 0x01, 0x92, 0x41, 0x37, 0x4a, 0x35, 0x0a, 0x03, 0x32, 0x30, 0x31, 0x12, 0x2e, + 0x0a, 0x2c, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, + 0x67, 0x72, 0x6f, 0x75, 0x70, 0x20, 0x69, 0x73, 0x20, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, + 0x20, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x66, 0x75, 0x6c, 0x6c, 0x79, 0x2e, 0x82, 0xd3, + 0xe4, 0x93, 0x02, 0x54, 0x22, 0x4f, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x33, 0x2f, 0x70, + 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x7d, 0x2f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, + 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x67, + 0x72, 0x6f, 0x75, 0x70, 0x73, 0x3a, 0x01, 0x2a, 0x12, 0xa3, 0x01, 0x0a, 0x09, 0x47, 0x65, 0x74, + 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x29, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, + 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x1a, 0x24, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x47, 0x72, - 0x6f, 0x75, 0x70, 0x22, 0x66, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x60, 0x12, 0x5e, 0x2f, 0x61, 0x75, - 0x74, 0x68, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x2f, 0x7b, 0x6d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x7d, - 0x2f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x7b, 0x6d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2f, 0x7b, 0x6d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x12, 0xbc, 0x01, 0x0a, 0x0b, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x20, 0x2e, 0x70, 0x61, + 0x6f, 0x75, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x45, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3f, 0x12, + 0x3d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, + 0x72, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x7d, 0x2f, 0x6f, 0x72, 0x67, 0x61, + 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x7b, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, + 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0xb6, + 0x01, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x20, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x1a, 0x20, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x22, - 0x69, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x63, 0x1a, 0x5e, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, + 0x66, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x60, 0x12, 0x5e, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x7d, 0x2f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x3a, 0x01, 0x2a, 0x12, 0xf4, 0x01, 0x0a, 0x0b, 0x44, - 0x65, 0x6c, 0x65, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x20, 0x2e, 0x70, 0x61, 0x72, - 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x75, - 0x73, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x1a, 0x20, 0x2e, 0x70, - 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, - 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x22, 0xa0, - 0x01, 0x92, 0x41, 0x37, 0x4a, 0x35, 0x0a, 0x03, 0x32, 0x30, 0x34, 0x12, 0x2e, 0x0a, 0x2c, 0x52, - 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x67, 0x72, 0x6f, - 0x75, 0x70, 0x20, 0x69, 0x73, 0x20, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x20, 0x73, 0x75, - 0x63, 0x63, 0x65, 0x73, 0x73, 0x66, 0x75, 0x6c, 0x6c, 0x79, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, - 0x60, 0x2a, 0x5e, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x61, 0x72, 0x74, - 0x6e, 0x65, 0x72, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x61, - 0x72, 0x74, 0x6e, 0x65, 0x72, 0x7d, 0x2f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6f, 0x72, - 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x67, 0x72, 0x6f, 0x75, - 0x70, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6e, 0x61, 0x6d, 0x65, - 0x7d, 0x42, 0xac, 0x04, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, - 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x33, 0x42, 0x0a, 0x47, 0x72, - 0x6f, 0x75, 0x70, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x68, - 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, - 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x72, 0x70, 0x63, - 0x2f, 0x75, 0x73, 0x65, 0x72, 0x3b, 0x72, 0x70, 0x63, 0x76, 0x33, 0xa2, 0x02, 0x03, 0x50, 0x44, - 0x52, 0xaa, 0x02, 0x12, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x44, 0x65, 0x76, 0x2e, - 0x52, 0x70, 0x63, 0x2e, 0x56, 0x33, 0xca, 0x02, 0x12, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, - 0x5c, 0x44, 0x65, 0x76, 0x5c, 0x52, 0x70, 0x63, 0x5c, 0x56, 0x33, 0xe2, 0x02, 0x1e, 0x50, 0x61, - 0x72, 0x61, 0x6c, 0x75, 0x73, 0x5c, 0x44, 0x65, 0x76, 0x5c, 0x52, 0x70, 0x63, 0x5c, 0x56, 0x33, - 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x15, 0x50, - 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x3a, 0x3a, 0x44, 0x65, 0x76, 0x3a, 0x3a, 0x52, 0x70, 0x63, - 0x3a, 0x3a, 0x56, 0x33, 0x92, 0x41, 0xe8, 0x02, 0x12, 0x2e, 0x0a, 0x18, 0x47, 0x72, 0x6f, 0x75, - 0x70, 0x20, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x20, 0x53, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x22, 0x0d, 0x0a, 0x0b, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x20, - 0x44, 0x65, 0x76, 0x32, 0x03, 0x32, 0x2e, 0x30, 0x2a, 0x01, 0x02, 0x32, 0x10, 0x61, 0x70, 0x70, - 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x32, 0x10, 0x61, - 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x79, 0x61, 0x6d, 0x6c, 0x3a, - 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, - 0x6e, 0x3a, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x79, - 0x61, 0x6d, 0x6c, 0x52, 0x51, 0x0a, 0x03, 0x34, 0x30, 0x33, 0x12, 0x4a, 0x0a, 0x48, 0x52, 0x65, - 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, - 0x67, 0x72, 0x6f, 0x75, 0x70, 0x20, 0x64, 0x6f, 0x65, 0x73, 0x20, 0x6e, 0x6f, 0x74, 0x20, 0x68, - 0x61, 0x76, 0x65, 0x20, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x20, 0x74, - 0x6f, 0x20, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, - 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x52, 0x3b, 0x0a, 0x03, 0x34, 0x30, 0x34, 0x12, 0x34, 0x0a, - 0x2a, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x74, - 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x20, 0x64, 0x6f, 0x65, 0x73, - 0x20, 0x6e, 0x6f, 0x74, 0x20, 0x65, 0x78, 0x69, 0x73, 0x74, 0x2e, 0x12, 0x06, 0x0a, 0x04, 0x9a, - 0x02, 0x01, 0x07, 0x5a, 0x3a, 0x0a, 0x27, 0x0a, 0x0a, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x41, - 0x75, 0x74, 0x68, 0x12, 0x19, 0x08, 0x02, 0x1a, 0x13, 0x58, 0x2d, 0x50, 0x41, 0x52, 0x41, 0x4c, - 0x55, 0x53, 0x2d, 0x41, 0x50, 0x49, 0x2d, 0x4b, 0x45, 0x59, 0x49, 0x44, 0x20, 0x02, 0x0a, 0x0f, - 0x0a, 0x09, 0x42, 0x61, 0x73, 0x69, 0x63, 0x41, 0x75, 0x74, 0x68, 0x12, 0x02, 0x08, 0x01, 0x62, - 0x1f, 0x0a, 0x0e, 0x0a, 0x0a, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x12, - 0x00, 0x0a, 0x0d, 0x0a, 0x09, 0x42, 0x61, 0x73, 0x69, 0x63, 0x41, 0x75, 0x74, 0x68, 0x12, 0x00, - 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x61, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x12, 0xbc, 0x01, 0x0a, 0x0b, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x20, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, + 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, + 0x2e, 0x76, 0x33, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x1a, 0x20, 0x2e, 0x70, 0x61, 0x72, 0x61, + 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x75, 0x73, + 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x22, 0x69, 0x82, 0xd3, 0xe4, + 0x93, 0x02, 0x63, 0x1a, 0x5e, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x61, + 0x72, 0x74, 0x6e, 0x65, 0x72, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x7d, 0x2f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, + 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x67, 0x72, + 0x6f, 0x75, 0x70, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6e, 0x61, + 0x6d, 0x65, 0x7d, 0x3a, 0x01, 0x2a, 0x12, 0xf4, 0x01, 0x0a, 0x0b, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x20, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, + 0x76, 0x33, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x1a, 0x20, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, + 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, + 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x22, 0xa0, 0x01, 0x92, 0x41, 0x37, + 0x4a, 0x35, 0x0a, 0x03, 0x32, 0x30, 0x34, 0x12, 0x2e, 0x0a, 0x2c, 0x52, 0x65, 0x74, 0x75, 0x72, + 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x20, 0x69, + 0x73, 0x20, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x20, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, + 0x73, 0x66, 0x75, 0x6c, 0x6c, 0x79, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x60, 0x2a, 0x5e, 0x2f, + 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, 0x72, 0x2f, + 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, + 0x72, 0x7d, 0x2f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, + 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, + 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2f, 0x7b, 0x6d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x42, 0xc8, 0x04, + 0x0a, 0x1b, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, + 0x76, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x42, 0x0a, 0x47, + 0x72, 0x6f, 0x75, 0x70, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x30, 0x67, 0x69, 0x74, + 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, + 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x72, 0x70, + 0x63, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x3b, 0x75, 0x73, 0x65, 0x72, 0x76, 0x33, 0xa2, 0x02, 0x04, + 0x50, 0x44, 0x52, 0x55, 0xaa, 0x02, 0x17, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x44, + 0x65, 0x76, 0x2e, 0x52, 0x70, 0x63, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x2e, 0x56, 0x33, 0xca, 0x02, + 0x17, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x5c, 0x44, 0x65, 0x76, 0x5c, 0x52, 0x70, 0x63, + 0x5c, 0x55, 0x73, 0x65, 0x72, 0x5c, 0x56, 0x33, 0xe2, 0x02, 0x23, 0x50, 0x61, 0x72, 0x61, 0x6c, + 0x75, 0x73, 0x5c, 0x44, 0x65, 0x76, 0x5c, 0x52, 0x70, 0x63, 0x5c, 0x55, 0x73, 0x65, 0x72, 0x5c, + 0x56, 0x33, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, + 0x1b, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x3a, 0x3a, 0x44, 0x65, 0x76, 0x3a, 0x3a, 0x52, + 0x70, 0x63, 0x3a, 0x3a, 0x55, 0x73, 0x65, 0x72, 0x3a, 0x3a, 0x56, 0x33, 0x92, 0x41, 0xe8, 0x02, + 0x12, 0x2e, 0x0a, 0x18, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x20, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, + 0x6d, 0x65, 0x6e, 0x74, 0x20, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x22, 0x0d, 0x0a, 0x0b, + 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x20, 0x44, 0x65, 0x76, 0x32, 0x03, 0x32, 0x2e, 0x30, + 0x2a, 0x01, 0x02, 0x32, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x32, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x2f, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x79, 0x61, 0x6d, 0x6c, 0x52, 0x51, 0x0a, 0x03, 0x34, + 0x30, 0x33, 0x12, 0x4a, 0x0a, 0x48, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, + 0x68, 0x65, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x20, 0x64, 0x6f, + 0x65, 0x73, 0x20, 0x6e, 0x6f, 0x74, 0x20, 0x68, 0x61, 0x76, 0x65, 0x20, 0x70, 0x65, 0x72, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x20, 0x74, 0x6f, 0x20, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, + 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x52, 0x3b, + 0x0a, 0x03, 0x34, 0x30, 0x34, 0x12, 0x34, 0x0a, 0x2a, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, + 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x20, 0x64, 0x6f, 0x65, 0x73, 0x20, 0x6e, 0x6f, 0x74, 0x20, 0x65, 0x78, 0x69, + 0x73, 0x74, 0x2e, 0x12, 0x06, 0x0a, 0x04, 0x9a, 0x02, 0x01, 0x07, 0x5a, 0x3a, 0x0a, 0x27, 0x0a, + 0x0a, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x12, 0x19, 0x08, 0x02, 0x1a, + 0x13, 0x58, 0x2d, 0x50, 0x41, 0x52, 0x41, 0x4c, 0x55, 0x53, 0x2d, 0x41, 0x50, 0x49, 0x2d, 0x4b, + 0x45, 0x59, 0x49, 0x44, 0x20, 0x02, 0x0a, 0x0f, 0x0a, 0x09, 0x42, 0x61, 0x73, 0x69, 0x63, 0x41, + 0x75, 0x74, 0x68, 0x12, 0x02, 0x08, 0x01, 0x62, 0x1f, 0x0a, 0x0e, 0x0a, 0x0a, 0x41, 0x70, 0x69, + 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x12, 0x00, 0x0a, 0x0d, 0x0a, 0x09, 0x42, 0x61, 0x73, + 0x69, 0x63, 0x41, 0x75, 0x74, 0x68, 0x12, 0x00, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var file_proto_rpc_user_group_proto_goTypes = []interface{}{ @@ -147,16 +149,16 @@ var file_proto_rpc_user_group_proto_goTypes = []interface{}{ (*v3.GroupList)(nil), // 2: paralus.dev.types.user.v3.GroupList } var file_proto_rpc_user_group_proto_depIdxs = []int32{ - 0, // 0: paralus.dev.rpc.v3.Group.CreateGroup:input_type -> paralus.dev.types.user.v3.Group - 1, // 1: paralus.dev.rpc.v3.Group.GetGroups:input_type -> paralus.dev.types.common.v3.QueryOptions - 0, // 2: paralus.dev.rpc.v3.Group.GetGroup:input_type -> paralus.dev.types.user.v3.Group - 0, // 3: paralus.dev.rpc.v3.Group.UpdateGroup:input_type -> paralus.dev.types.user.v3.Group - 0, // 4: paralus.dev.rpc.v3.Group.DeleteGroup:input_type -> paralus.dev.types.user.v3.Group - 0, // 5: paralus.dev.rpc.v3.Group.CreateGroup:output_type -> paralus.dev.types.user.v3.Group - 2, // 6: paralus.dev.rpc.v3.Group.GetGroups:output_type -> paralus.dev.types.user.v3.GroupList - 0, // 7: paralus.dev.rpc.v3.Group.GetGroup:output_type -> paralus.dev.types.user.v3.Group - 0, // 8: paralus.dev.rpc.v3.Group.UpdateGroup:output_type -> paralus.dev.types.user.v3.Group - 0, // 9: paralus.dev.rpc.v3.Group.DeleteGroup:output_type -> paralus.dev.types.user.v3.Group + 0, // 0: paralus.dev.rpc.user.v3.GroupService.CreateGroup:input_type -> paralus.dev.types.user.v3.Group + 1, // 1: paralus.dev.rpc.user.v3.GroupService.GetGroups:input_type -> paralus.dev.types.common.v3.QueryOptions + 0, // 2: paralus.dev.rpc.user.v3.GroupService.GetGroup:input_type -> paralus.dev.types.user.v3.Group + 0, // 3: paralus.dev.rpc.user.v3.GroupService.UpdateGroup:input_type -> paralus.dev.types.user.v3.Group + 0, // 4: paralus.dev.rpc.user.v3.GroupService.DeleteGroup:input_type -> paralus.dev.types.user.v3.Group + 0, // 5: paralus.dev.rpc.user.v3.GroupService.CreateGroup:output_type -> paralus.dev.types.user.v3.Group + 2, // 6: paralus.dev.rpc.user.v3.GroupService.GetGroups:output_type -> paralus.dev.types.user.v3.GroupList + 0, // 7: paralus.dev.rpc.user.v3.GroupService.GetGroup:output_type -> paralus.dev.types.user.v3.Group + 0, // 8: paralus.dev.rpc.user.v3.GroupService.UpdateGroup:output_type -> paralus.dev.types.user.v3.Group + 0, // 9: paralus.dev.rpc.user.v3.GroupService.DeleteGroup:output_type -> paralus.dev.types.user.v3.Group 5, // [5:10] is the sub-list for method output_type 0, // [0:5] is the sub-list for method input_type 0, // [0:0] is the sub-list for extension type_name diff --git a/proto/rpc/user/group.pb.gw.go b/proto/rpc/user/group.pb.gw.go index 95ae73ad..ca07c4e1 100644 --- a/proto/rpc/user/group.pb.gw.go +++ b/proto/rpc/user/group.pb.gw.go @@ -2,11 +2,11 @@ // source: proto/rpc/user/group.proto /* -Package rpcv3 is a reverse proxy. +Package userv3 is a reverse proxy. It translates gRPC into RESTful JSON APIs. */ -package rpcv3 +package userv3 import ( "context" @@ -33,7 +33,7 @@ var _ = runtime.String var _ = utilities.NewDoubleArray var _ = metadata.Join -func request_Group_CreateGroup_0(ctx context.Context, marshaler runtime.Marshaler, client GroupClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_GroupService_CreateGroup_0(ctx context.Context, marshaler runtime.Marshaler, client GroupServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq userv3.Group var metadata runtime.ServerMetadata @@ -77,7 +77,7 @@ func request_Group_CreateGroup_0(ctx context.Context, marshaler runtime.Marshale } -func local_request_Group_CreateGroup_0(ctx context.Context, marshaler runtime.Marshaler, server GroupServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_GroupService_CreateGroup_0(ctx context.Context, marshaler runtime.Marshaler, server GroupServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq userv3.Group var metadata runtime.ServerMetadata @@ -122,10 +122,10 @@ func local_request_Group_CreateGroup_0(ctx context.Context, marshaler runtime.Ma } var ( - filter_Group_GetGroups_0 = &utilities.DoubleArray{Encoding: map[string]int{"partner": 0, "organization": 1}, Base: []int{1, 1, 2, 0, 0}, Check: []int{0, 1, 1, 2, 3}} + filter_GroupService_GetGroups_0 = &utilities.DoubleArray{Encoding: map[string]int{"partner": 0, "organization": 1}, Base: []int{1, 1, 2, 0, 0}, Check: []int{0, 1, 1, 2, 3}} ) -func request_Group_GetGroups_0(ctx context.Context, marshaler runtime.Marshaler, client GroupClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_GroupService_GetGroups_0(ctx context.Context, marshaler runtime.Marshaler, client GroupServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq commonv3.QueryOptions var metadata runtime.ServerMetadata @@ -159,7 +159,7 @@ func request_Group_GetGroups_0(ctx context.Context, marshaler runtime.Marshaler, if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Group_GetGroups_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_GroupService_GetGroups_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -168,7 +168,7 @@ func request_Group_GetGroups_0(ctx context.Context, marshaler runtime.Marshaler, } -func local_request_Group_GetGroups_0(ctx context.Context, marshaler runtime.Marshaler, server GroupServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_GroupService_GetGroups_0(ctx context.Context, marshaler runtime.Marshaler, server GroupServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq commonv3.QueryOptions var metadata runtime.ServerMetadata @@ -202,7 +202,7 @@ func local_request_Group_GetGroups_0(ctx context.Context, marshaler runtime.Mars if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Group_GetGroups_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_GroupService_GetGroups_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -212,10 +212,10 @@ func local_request_Group_GetGroups_0(ctx context.Context, marshaler runtime.Mars } var ( - filter_Group_GetGroup_0 = &utilities.DoubleArray{Encoding: map[string]int{"metadata": 0, "partner": 1, "organization": 2, "name": 3}, Base: []int{1, 1, 1, 2, 3, 0, 0, 0}, Check: []int{0, 1, 2, 2, 2, 3, 4, 5}} + filter_GroupService_GetGroup_0 = &utilities.DoubleArray{Encoding: map[string]int{"metadata": 0, "partner": 1, "organization": 2, "name": 3}, Base: []int{1, 1, 1, 2, 3, 0, 0, 0}, Check: []int{0, 1, 2, 2, 2, 3, 4, 5}} ) -func request_Group_GetGroup_0(ctx context.Context, marshaler runtime.Marshaler, client GroupClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_GroupService_GetGroup_0(ctx context.Context, marshaler runtime.Marshaler, client GroupServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq userv3.Group var metadata runtime.ServerMetadata @@ -259,7 +259,7 @@ func request_Group_GetGroup_0(ctx context.Context, marshaler runtime.Marshaler, if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Group_GetGroup_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_GroupService_GetGroup_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -268,7 +268,7 @@ func request_Group_GetGroup_0(ctx context.Context, marshaler runtime.Marshaler, } -func local_request_Group_GetGroup_0(ctx context.Context, marshaler runtime.Marshaler, server GroupServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_GroupService_GetGroup_0(ctx context.Context, marshaler runtime.Marshaler, server GroupServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq userv3.Group var metadata runtime.ServerMetadata @@ -312,7 +312,7 @@ func local_request_Group_GetGroup_0(ctx context.Context, marshaler runtime.Marsh if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Group_GetGroup_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_GroupService_GetGroup_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -321,7 +321,7 @@ func local_request_Group_GetGroup_0(ctx context.Context, marshaler runtime.Marsh } -func request_Group_UpdateGroup_0(ctx context.Context, marshaler runtime.Marshaler, client GroupClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_GroupService_UpdateGroup_0(ctx context.Context, marshaler runtime.Marshaler, client GroupServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq userv3.Group var metadata runtime.ServerMetadata @@ -375,7 +375,7 @@ func request_Group_UpdateGroup_0(ctx context.Context, marshaler runtime.Marshale } -func local_request_Group_UpdateGroup_0(ctx context.Context, marshaler runtime.Marshaler, server GroupServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_GroupService_UpdateGroup_0(ctx context.Context, marshaler runtime.Marshaler, server GroupServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq userv3.Group var metadata runtime.ServerMetadata @@ -430,10 +430,10 @@ func local_request_Group_UpdateGroup_0(ctx context.Context, marshaler runtime.Ma } var ( - filter_Group_DeleteGroup_0 = &utilities.DoubleArray{Encoding: map[string]int{"metadata": 0, "partner": 1, "organization": 2, "name": 3}, Base: []int{1, 1, 1, 2, 3, 0, 0, 0}, Check: []int{0, 1, 2, 2, 2, 3, 4, 5}} + filter_GroupService_DeleteGroup_0 = &utilities.DoubleArray{Encoding: map[string]int{"metadata": 0, "partner": 1, "organization": 2, "name": 3}, Base: []int{1, 1, 1, 2, 3, 0, 0, 0}, Check: []int{0, 1, 2, 2, 2, 3, 4, 5}} ) -func request_Group_DeleteGroup_0(ctx context.Context, marshaler runtime.Marshaler, client GroupClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_GroupService_DeleteGroup_0(ctx context.Context, marshaler runtime.Marshaler, client GroupServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq userv3.Group var metadata runtime.ServerMetadata @@ -477,7 +477,7 @@ func request_Group_DeleteGroup_0(ctx context.Context, marshaler runtime.Marshale if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Group_DeleteGroup_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_GroupService_DeleteGroup_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -486,7 +486,7 @@ func request_Group_DeleteGroup_0(ctx context.Context, marshaler runtime.Marshale } -func local_request_Group_DeleteGroup_0(ctx context.Context, marshaler runtime.Marshaler, server GroupServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_GroupService_DeleteGroup_0(ctx context.Context, marshaler runtime.Marshaler, server GroupServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq userv3.Group var metadata runtime.ServerMetadata @@ -530,7 +530,7 @@ func local_request_Group_DeleteGroup_0(ctx context.Context, marshaler runtime.Ma if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Group_DeleteGroup_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_GroupService_DeleteGroup_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -539,133 +539,143 @@ func local_request_Group_DeleteGroup_0(ctx context.Context, marshaler runtime.Ma } -// RegisterGroupHandlerServer registers the http handlers for service Group to "mux". -// UnaryRPC :call GroupServer directly. +// RegisterGroupServiceHandlerServer registers the http handlers for service GroupService to "mux". +// UnaryRPC :call GroupServiceServer directly. // StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. -// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterGroupHandlerFromEndpoint instead. -func RegisterGroupHandlerServer(ctx context.Context, mux *runtime.ServeMux, server GroupServer) error { +// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterGroupServiceHandlerFromEndpoint instead. +func RegisterGroupServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server GroupServiceServer) error { - mux.Handle("POST", pattern_Group_CreateGroup_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("POST", pattern_GroupService_CreateGroup_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.v3.Group/CreateGroup", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/groups")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.user.v3.GroupService/CreateGroup", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/groups")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Group_CreateGroup_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_GroupService_CreateGroup_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Group_CreateGroup_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_GroupService_CreateGroup_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Group_GetGroups_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_GroupService_GetGroups_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.v3.Group/GetGroups", runtime.WithHTTPPathPattern("/auth/v3/partner/{partner}/organization/{organization}/groups")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.user.v3.GroupService/GetGroups", runtime.WithHTTPPathPattern("/auth/v3/partner/{partner}/organization/{organization}/groups")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Group_GetGroups_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_GroupService_GetGroups_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Group_GetGroups_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_GroupService_GetGroups_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Group_GetGroup_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_GroupService_GetGroup_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.v3.Group/GetGroup", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/group/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.user.v3.GroupService/GetGroup", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/group/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Group_GetGroup_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_GroupService_GetGroup_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Group_GetGroup_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_GroupService_GetGroup_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("PUT", pattern_Group_UpdateGroup_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("PUT", pattern_GroupService_UpdateGroup_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.v3.Group/UpdateGroup", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/group/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.user.v3.GroupService/UpdateGroup", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/group/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Group_UpdateGroup_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_GroupService_UpdateGroup_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Group_UpdateGroup_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_GroupService_UpdateGroup_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("DELETE", pattern_Group_DeleteGroup_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("DELETE", pattern_GroupService_DeleteGroup_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.v3.Group/DeleteGroup", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/group/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.user.v3.GroupService/DeleteGroup", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/group/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_Group_DeleteGroup_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_GroupService_DeleteGroup_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Group_DeleteGroup_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_GroupService_DeleteGroup_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) return nil } -// RegisterGroupHandlerFromEndpoint is same as RegisterGroupHandler but +// RegisterGroupServiceHandlerFromEndpoint is same as RegisterGroupServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. -func RegisterGroupHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { +func RegisterGroupServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { conn, err := grpc.Dial(endpoint, opts...) if err != nil { return err @@ -685,119 +695,129 @@ func RegisterGroupHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux }() }() - return RegisterGroupHandler(ctx, mux, conn) + return RegisterGroupServiceHandler(ctx, mux, conn) } -// RegisterGroupHandler registers the http handlers for service Group to "mux". +// RegisterGroupServiceHandler registers the http handlers for service GroupService to "mux". // The handlers forward requests to the grpc endpoint over "conn". -func RegisterGroupHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { - return RegisterGroupHandlerClient(ctx, mux, NewGroupClient(conn)) +func RegisterGroupServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { + return RegisterGroupServiceHandlerClient(ctx, mux, NewGroupServiceClient(conn)) } -// RegisterGroupHandlerClient registers the http handlers for service Group -// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "GroupClient". -// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "GroupClient" +// RegisterGroupServiceHandlerClient registers the http handlers for service GroupService +// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "GroupServiceClient". +// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "GroupServiceClient" // doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in -// "GroupClient" to call the correct interceptors. -func RegisterGroupHandlerClient(ctx context.Context, mux *runtime.ServeMux, client GroupClient) error { +// "GroupServiceClient" to call the correct interceptors. +func RegisterGroupServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client GroupServiceClient) error { - mux.Handle("POST", pattern_Group_CreateGroup_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("POST", pattern_GroupService_CreateGroup_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.v3.Group/CreateGroup", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/groups")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.user.v3.GroupService/CreateGroup", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/groups")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_Group_CreateGroup_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_GroupService_CreateGroup_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Group_CreateGroup_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_GroupService_CreateGroup_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Group_GetGroups_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_GroupService_GetGroups_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.v3.Group/GetGroups", runtime.WithHTTPPathPattern("/auth/v3/partner/{partner}/organization/{organization}/groups")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.user.v3.GroupService/GetGroups", runtime.WithHTTPPathPattern("/auth/v3/partner/{partner}/organization/{organization}/groups")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_Group_GetGroups_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_GroupService_GetGroups_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Group_GetGroups_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_GroupService_GetGroups_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_Group_GetGroup_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_GroupService_GetGroup_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.v3.Group/GetGroup", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/group/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.user.v3.GroupService/GetGroup", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/group/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_Group_GetGroup_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_GroupService_GetGroup_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Group_GetGroup_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_GroupService_GetGroup_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("PUT", pattern_Group_UpdateGroup_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("PUT", pattern_GroupService_UpdateGroup_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.v3.Group/UpdateGroup", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/group/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.user.v3.GroupService/UpdateGroup", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/group/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_Group_UpdateGroup_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_GroupService_UpdateGroup_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Group_UpdateGroup_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_GroupService_UpdateGroup_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("DELETE", pattern_Group_DeleteGroup_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("DELETE", pattern_GroupService_DeleteGroup_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.v3.Group/DeleteGroup", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/group/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.user.v3.GroupService/DeleteGroup", runtime.WithHTTPPathPattern("/auth/v3/partner/{metadata.partner}/organization/{metadata.organization}/group/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_Group_DeleteGroup_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_GroupService_DeleteGroup_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_Group_DeleteGroup_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_GroupService_DeleteGroup_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) @@ -805,25 +825,25 @@ func RegisterGroupHandlerClient(ctx context.Context, mux *runtime.ServeMux, clie } var ( - pattern_Group_CreateGroup_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4, 1, 0, 4, 1, 5, 5, 2, 6}, []string{"auth", "v3", "partner", "metadata.partner", "organization", "metadata.organization", "groups"}, "")) + pattern_GroupService_CreateGroup_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4, 1, 0, 4, 1, 5, 5, 2, 6}, []string{"auth", "v3", "partner", "metadata.partner", "organization", "metadata.organization", "groups"}, "")) - pattern_Group_GetGroups_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 2, 2, 3, 1, 0, 4, 1, 5, 3, 2, 4}, []string{"auth", "v3", "partner", "organization", "groups"}, "")) + pattern_GroupService_GetGroups_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 2, 2, 3, 1, 0, 4, 1, 5, 3, 2, 4}, []string{"auth", "v3", "partner", "organization", "groups"}, "")) - pattern_Group_GetGroup_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4, 1, 0, 4, 1, 5, 5, 2, 6, 1, 0, 4, 1, 5, 7}, []string{"auth", "v3", "partner", "metadata.partner", "organization", "metadata.organization", "group", "metadata.name"}, "")) + pattern_GroupService_GetGroup_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4, 1, 0, 4, 1, 5, 5, 2, 6, 1, 0, 4, 1, 5, 7}, []string{"auth", "v3", "partner", "metadata.partner", "organization", "metadata.organization", "group", "metadata.name"}, "")) - pattern_Group_UpdateGroup_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4, 1, 0, 4, 1, 5, 5, 2, 6, 1, 0, 4, 1, 5, 7}, []string{"auth", "v3", "partner", "metadata.partner", "organization", "metadata.organization", "group", "metadata.name"}, "")) + pattern_GroupService_UpdateGroup_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4, 1, 0, 4, 1, 5, 5, 2, 6, 1, 0, 4, 1, 5, 7}, []string{"auth", "v3", "partner", "metadata.partner", "organization", "metadata.organization", "group", "metadata.name"}, "")) - pattern_Group_DeleteGroup_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4, 1, 0, 4, 1, 5, 5, 2, 6, 1, 0, 4, 1, 5, 7}, []string{"auth", "v3", "partner", "metadata.partner", "organization", "metadata.organization", "group", "metadata.name"}, "")) + pattern_GroupService_DeleteGroup_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4, 1, 0, 4, 1, 5, 5, 2, 6, 1, 0, 4, 1, 5, 7}, []string{"auth", "v3", "partner", "metadata.partner", "organization", "metadata.organization", "group", "metadata.name"}, "")) ) var ( - forward_Group_CreateGroup_0 = runtime.ForwardResponseMessage + forward_GroupService_CreateGroup_0 = runtime.ForwardResponseMessage - forward_Group_GetGroups_0 = runtime.ForwardResponseMessage + forward_GroupService_GetGroups_0 = runtime.ForwardResponseMessage - forward_Group_GetGroup_0 = runtime.ForwardResponseMessage + forward_GroupService_GetGroup_0 = runtime.ForwardResponseMessage - forward_Group_UpdateGroup_0 = runtime.ForwardResponseMessage + forward_GroupService_UpdateGroup_0 = runtime.ForwardResponseMessage - forward_Group_DeleteGroup_0 = runtime.ForwardResponseMessage + forward_GroupService_DeleteGroup_0 = runtime.ForwardResponseMessage ) diff --git a/proto/rpc/user/group.proto b/proto/rpc/user/group.proto index a1b4e0be..3b4efe8d 100644 --- a/proto/rpc/user/group.proto +++ b/proto/rpc/user/group.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package paralus.dev.rpc.v3; +package paralus.dev.rpc.user.v3; import "google/api/annotations.proto"; import "protoc-gen-openapiv2/options/annotations.proto"; @@ -54,7 +54,7 @@ option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = { } }; -service Group { +service GroupService { rpc CreateGroup(paralus.dev.types.user.v3.Group) returns (paralus.dev.types.user.v3.Group) { option (google.api.http) = { diff --git a/proto/rpc/user/group_grpc.pb.go b/proto/rpc/user/group_grpc.pb.go index 075249f4..3bf70b6a 100644 --- a/proto/rpc/user/group_grpc.pb.go +++ b/proto/rpc/user/group_grpc.pb.go @@ -4,7 +4,7 @@ // - protoc (unknown) // source: proto/rpc/user/group.proto -package rpcv3 +package userv3 import ( context "context" @@ -20,10 +20,10 @@ import ( // Requires gRPC-Go v1.32.0 or later. const _ = grpc.SupportPackageIsVersion7 -// GroupClient is the client API for Group service. +// GroupServiceClient is the client API for GroupService service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. -type GroupClient interface { +type GroupServiceClient interface { CreateGroup(ctx context.Context, in *v3.Group, opts ...grpc.CallOption) (*v3.Group, error) GetGroups(ctx context.Context, in *v31.QueryOptions, opts ...grpc.CallOption) (*v3.GroupList, error) GetGroup(ctx context.Context, in *v3.Group, opts ...grpc.CallOption) (*v3.Group, error) @@ -31,63 +31,63 @@ type GroupClient interface { DeleteGroup(ctx context.Context, in *v3.Group, opts ...grpc.CallOption) (*v3.Group, error) } -type groupClient struct { +type groupServiceClient struct { cc grpc.ClientConnInterface } -func NewGroupClient(cc grpc.ClientConnInterface) GroupClient { - return &groupClient{cc} +func NewGroupServiceClient(cc grpc.ClientConnInterface) GroupServiceClient { + return &groupServiceClient{cc} } -func (c *groupClient) CreateGroup(ctx context.Context, in *v3.Group, opts ...grpc.CallOption) (*v3.Group, error) { +func (c *groupServiceClient) CreateGroup(ctx context.Context, in *v3.Group, opts ...grpc.CallOption) (*v3.Group, error) { out := new(v3.Group) - err := c.cc.Invoke(ctx, "/paralus.dev.rpc.v3.Group/CreateGroup", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.rpc.user.v3.GroupService/CreateGroup", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *groupClient) GetGroups(ctx context.Context, in *v31.QueryOptions, opts ...grpc.CallOption) (*v3.GroupList, error) { +func (c *groupServiceClient) GetGroups(ctx context.Context, in *v31.QueryOptions, opts ...grpc.CallOption) (*v3.GroupList, error) { out := new(v3.GroupList) - err := c.cc.Invoke(ctx, "/paralus.dev.rpc.v3.Group/GetGroups", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.rpc.user.v3.GroupService/GetGroups", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *groupClient) GetGroup(ctx context.Context, in *v3.Group, opts ...grpc.CallOption) (*v3.Group, error) { +func (c *groupServiceClient) GetGroup(ctx context.Context, in *v3.Group, opts ...grpc.CallOption) (*v3.Group, error) { out := new(v3.Group) - err := c.cc.Invoke(ctx, "/paralus.dev.rpc.v3.Group/GetGroup", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.rpc.user.v3.GroupService/GetGroup", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *groupClient) UpdateGroup(ctx context.Context, in *v3.Group, opts ...grpc.CallOption) (*v3.Group, error) { +func (c *groupServiceClient) UpdateGroup(ctx context.Context, in *v3.Group, opts ...grpc.CallOption) (*v3.Group, error) { out := new(v3.Group) - err := c.cc.Invoke(ctx, "/paralus.dev.rpc.v3.Group/UpdateGroup", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.rpc.user.v3.GroupService/UpdateGroup", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *groupClient) DeleteGroup(ctx context.Context, in *v3.Group, opts ...grpc.CallOption) (*v3.Group, error) { +func (c *groupServiceClient) DeleteGroup(ctx context.Context, in *v3.Group, opts ...grpc.CallOption) (*v3.Group, error) { out := new(v3.Group) - err := c.cc.Invoke(ctx, "/paralus.dev.rpc.v3.Group/DeleteGroup", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.rpc.user.v3.GroupService/DeleteGroup", in, out, opts...) if err != nil { return nil, err } return out, nil } -// GroupServer is the server API for Group service. -// All implementations should embed UnimplementedGroupServer +// GroupServiceServer is the server API for GroupService service. +// All implementations should embed UnimplementedGroupServiceServer // for forward compatibility -type GroupServer interface { +type GroupServiceServer interface { CreateGroup(context.Context, *v3.Group) (*v3.Group, error) GetGroups(context.Context, *v31.QueryOptions) (*v3.GroupList, error) GetGroup(context.Context, *v3.Group) (*v3.Group, error) @@ -95,153 +95,153 @@ type GroupServer interface { DeleteGroup(context.Context, *v3.Group) (*v3.Group, error) } -// UnimplementedGroupServer should be embedded to have forward compatible implementations. -type UnimplementedGroupServer struct { +// UnimplementedGroupServiceServer should be embedded to have forward compatible implementations. +type UnimplementedGroupServiceServer struct { } -func (UnimplementedGroupServer) CreateGroup(context.Context, *v3.Group) (*v3.Group, error) { +func (UnimplementedGroupServiceServer) CreateGroup(context.Context, *v3.Group) (*v3.Group, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateGroup not implemented") } -func (UnimplementedGroupServer) GetGroups(context.Context, *v31.QueryOptions) (*v3.GroupList, error) { +func (UnimplementedGroupServiceServer) GetGroups(context.Context, *v31.QueryOptions) (*v3.GroupList, error) { return nil, status.Errorf(codes.Unimplemented, "method GetGroups not implemented") } -func (UnimplementedGroupServer) GetGroup(context.Context, *v3.Group) (*v3.Group, error) { +func (UnimplementedGroupServiceServer) GetGroup(context.Context, *v3.Group) (*v3.Group, error) { return nil, status.Errorf(codes.Unimplemented, "method GetGroup not implemented") } -func (UnimplementedGroupServer) UpdateGroup(context.Context, *v3.Group) (*v3.Group, error) { +func (UnimplementedGroupServiceServer) UpdateGroup(context.Context, *v3.Group) (*v3.Group, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateGroup not implemented") } -func (UnimplementedGroupServer) DeleteGroup(context.Context, *v3.Group) (*v3.Group, error) { +func (UnimplementedGroupServiceServer) DeleteGroup(context.Context, *v3.Group) (*v3.Group, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteGroup not implemented") } -// UnsafeGroupServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to GroupServer will +// UnsafeGroupServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to GroupServiceServer will // result in compilation errors. -type UnsafeGroupServer interface { - mustEmbedUnimplementedGroupServer() +type UnsafeGroupServiceServer interface { + mustEmbedUnimplementedGroupServiceServer() } -func RegisterGroupServer(s grpc.ServiceRegistrar, srv GroupServer) { - s.RegisterService(&Group_ServiceDesc, srv) +func RegisterGroupServiceServer(s grpc.ServiceRegistrar, srv GroupServiceServer) { + s.RegisterService(&GroupService_ServiceDesc, srv) } -func _Group_CreateGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _GroupService_CreateGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v3.Group) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(GroupServer).CreateGroup(ctx, in) + return srv.(GroupServiceServer).CreateGroup(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.rpc.v3.Group/CreateGroup", + FullMethod: "/paralus.dev.rpc.user.v3.GroupService/CreateGroup", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GroupServer).CreateGroup(ctx, req.(*v3.Group)) + return srv.(GroupServiceServer).CreateGroup(ctx, req.(*v3.Group)) } return interceptor(ctx, in, info, handler) } -func _Group_GetGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _GroupService_GetGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v31.QueryOptions) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(GroupServer).GetGroups(ctx, in) + return srv.(GroupServiceServer).GetGroups(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.rpc.v3.Group/GetGroups", + FullMethod: "/paralus.dev.rpc.user.v3.GroupService/GetGroups", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GroupServer).GetGroups(ctx, req.(*v31.QueryOptions)) + return srv.(GroupServiceServer).GetGroups(ctx, req.(*v31.QueryOptions)) } return interceptor(ctx, in, info, handler) } -func _Group_GetGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _GroupService_GetGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v3.Group) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(GroupServer).GetGroup(ctx, in) + return srv.(GroupServiceServer).GetGroup(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.rpc.v3.Group/GetGroup", + FullMethod: "/paralus.dev.rpc.user.v3.GroupService/GetGroup", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GroupServer).GetGroup(ctx, req.(*v3.Group)) + return srv.(GroupServiceServer).GetGroup(ctx, req.(*v3.Group)) } return interceptor(ctx, in, info, handler) } -func _Group_UpdateGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _GroupService_UpdateGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v3.Group) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(GroupServer).UpdateGroup(ctx, in) + return srv.(GroupServiceServer).UpdateGroup(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.rpc.v3.Group/UpdateGroup", + FullMethod: "/paralus.dev.rpc.user.v3.GroupService/UpdateGroup", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GroupServer).UpdateGroup(ctx, req.(*v3.Group)) + return srv.(GroupServiceServer).UpdateGroup(ctx, req.(*v3.Group)) } return interceptor(ctx, in, info, handler) } -func _Group_DeleteGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _GroupService_DeleteGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v3.Group) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(GroupServer).DeleteGroup(ctx, in) + return srv.(GroupServiceServer).DeleteGroup(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.rpc.v3.Group/DeleteGroup", + FullMethod: "/paralus.dev.rpc.user.v3.GroupService/DeleteGroup", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(GroupServer).DeleteGroup(ctx, req.(*v3.Group)) + return srv.(GroupServiceServer).DeleteGroup(ctx, req.(*v3.Group)) } return interceptor(ctx, in, info, handler) } -// Group_ServiceDesc is the grpc.ServiceDesc for Group service. +// GroupService_ServiceDesc is the grpc.ServiceDesc for GroupService service. // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) -var Group_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "paralus.dev.rpc.v3.Group", - HandlerType: (*GroupServer)(nil), +var GroupService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "paralus.dev.rpc.user.v3.GroupService", + HandlerType: (*GroupServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateGroup", - Handler: _Group_CreateGroup_Handler, + Handler: _GroupService_CreateGroup_Handler, }, { MethodName: "GetGroups", - Handler: _Group_GetGroups_Handler, + Handler: _GroupService_GetGroups_Handler, }, { MethodName: "GetGroup", - Handler: _Group_GetGroup_Handler, + Handler: _GroupService_GetGroup_Handler, }, { MethodName: "UpdateGroup", - Handler: _Group_UpdateGroup_Handler, + Handler: _GroupService_UpdateGroup_Handler, }, { MethodName: "DeleteGroup", - Handler: _Group_DeleteGroup_Handler, + Handler: _GroupService_DeleteGroup_Handler, }, }, Streams: []grpc.StreamDesc{}, diff --git a/proto/rpc/user/internal.go b/proto/rpc/user/internal.go index ec0b53b3..361c3c11 100644 --- a/proto/rpc/user/internal.go +++ b/proto/rpc/user/internal.go @@ -1,4 +1,4 @@ -package rpcv3 +package userv3 import ( "context" @@ -12,12 +12,12 @@ import ( type UGClient interface { Unhealthy() Close() error - UserClient + UserServiceClient } type ugClient struct { *grpcpool.ClientConn - *userClient + *userServiceClient } var _ UGClient = (*ugClient)(nil) @@ -52,7 +52,7 @@ func (p *ugPool) NewClient(ctx context.Context) (UGClient, error) { } return &ugClient{ cc, - &userClient{cc.ClientConn}, + &userServiceClient{cc.ClientConn}, }, nil } diff --git a/proto/rpc/user/user.pb.go b/proto/rpc/user/user.pb.go index d0af3701..321316cc 100644 --- a/proto/rpc/user/user.pb.go +++ b/proto/rpc/user/user.pb.go @@ -1,10 +1,10 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.27.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: proto/rpc/user/user.proto -package rpcv3 +package userv3 import ( _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" @@ -159,7 +159,7 @@ func (x *ApiKeyResponse) GetName() string { return "" } -type ApiKeyResponseList struct { +type UserListApiKeysResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -167,8 +167,8 @@ type ApiKeyResponseList struct { Items []*ApiKeyResponse `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` } -func (x *ApiKeyResponseList) Reset() { - *x = ApiKeyResponseList{} +func (x *UserListApiKeysResponse) Reset() { + *x = UserListApiKeysResponse{} if protoimpl.UnsafeEnabled { mi := &file_proto_rpc_user_user_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -176,13 +176,13 @@ func (x *ApiKeyResponseList) Reset() { } } -func (x *ApiKeyResponseList) String() string { +func (x *UserListApiKeysResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ApiKeyResponseList) ProtoMessage() {} +func (*UserListApiKeysResponse) ProtoMessage() {} -func (x *ApiKeyResponseList) ProtoReflect() protoreflect.Message { +func (x *UserListApiKeysResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_rpc_user_user_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -194,19 +194,19 @@ func (x *ApiKeyResponseList) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ApiKeyResponseList.ProtoReflect.Descriptor instead. -func (*ApiKeyResponseList) Descriptor() ([]byte, []int) { +// Deprecated: Use UserListApiKeysResponse.ProtoReflect.Descriptor instead. +func (*UserListApiKeysResponse) Descriptor() ([]byte, []int) { return file_proto_rpc_user_user_proto_rawDescGZIP(), []int{2} } -func (x *ApiKeyResponseList) GetItems() []*ApiKeyResponse { +func (x *UserListApiKeysResponse) GetItems() []*ApiKeyResponse { if x != nil { return x.Items } return nil } -type ForgotPasswordRequest struct { +type UserForgotPasswordRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -214,8 +214,8 @@ type ForgotPasswordRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` } -func (x *ForgotPasswordRequest) Reset() { - *x = ForgotPasswordRequest{} +func (x *UserForgotPasswordRequest) Reset() { + *x = UserForgotPasswordRequest{} if protoimpl.UnsafeEnabled { mi := &file_proto_rpc_user_user_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -223,13 +223,13 @@ func (x *ForgotPasswordRequest) Reset() { } } -func (x *ForgotPasswordRequest) String() string { +func (x *UserForgotPasswordRequest) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ForgotPasswordRequest) ProtoMessage() {} +func (*UserForgotPasswordRequest) ProtoMessage() {} -func (x *ForgotPasswordRequest) ProtoReflect() protoreflect.Message { +func (x *UserForgotPasswordRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_rpc_user_user_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -241,19 +241,19 @@ func (x *ForgotPasswordRequest) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ForgotPasswordRequest.ProtoReflect.Descriptor instead. -func (*ForgotPasswordRequest) Descriptor() ([]byte, []int) { +// Deprecated: Use UserForgotPasswordRequest.ProtoReflect.Descriptor instead. +func (*UserForgotPasswordRequest) Descriptor() ([]byte, []int) { return file_proto_rpc_user_user_proto_rawDescGZIP(), []int{3} } -func (x *ForgotPasswordRequest) GetUsername() string { +func (x *UserForgotPasswordRequest) GetUsername() string { if x != nil { return x.Username } return "" } -type ForgotPasswordResponse struct { +type UserForgotPasswordResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -261,8 +261,8 @@ type ForgotPasswordResponse struct { RecoveryLink string `protobuf:"bytes,1,opt,name=recoveryLink,proto3" json:"recoveryLink,omitempty"` } -func (x *ForgotPasswordResponse) Reset() { - *x = ForgotPasswordResponse{} +func (x *UserForgotPasswordResponse) Reset() { + *x = UserForgotPasswordResponse{} if protoimpl.UnsafeEnabled { mi := &file_proto_rpc_user_user_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -270,13 +270,13 @@ func (x *ForgotPasswordResponse) Reset() { } } -func (x *ForgotPasswordResponse) String() string { +func (x *UserForgotPasswordResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*ForgotPasswordResponse) ProtoMessage() {} +func (*UserForgotPasswordResponse) ProtoMessage() {} -func (x *ForgotPasswordResponse) ProtoReflect() protoreflect.Message { +func (x *UserForgotPasswordResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_rpc_user_user_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -288,26 +288,26 @@ func (x *ForgotPasswordResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use ForgotPasswordResponse.ProtoReflect.Descriptor instead. -func (*ForgotPasswordResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use UserForgotPasswordResponse.ProtoReflect.Descriptor instead. +func (*UserForgotPasswordResponse) Descriptor() ([]byte, []int) { return file_proto_rpc_user_user_proto_rawDescGZIP(), []int{4} } -func (x *ForgotPasswordResponse) GetRecoveryLink() string { +func (x *UserForgotPasswordResponse) GetRecoveryLink() string { if x != nil { return x.RecoveryLink } return "" } -type DeleteUserResponse struct { +type UserDeleteApiKeysResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } -func (x *DeleteUserResponse) Reset() { - *x = DeleteUserResponse{} +func (x *UserDeleteApiKeysResponse) Reset() { + *x = UserDeleteApiKeysResponse{} if protoimpl.UnsafeEnabled { mi := &file_proto_rpc_user_user_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -315,13 +315,13 @@ func (x *DeleteUserResponse) Reset() { } } -func (x *DeleteUserResponse) String() string { +func (x *UserDeleteApiKeysResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*DeleteUserResponse) ProtoMessage() {} +func (*UserDeleteApiKeysResponse) ProtoMessage() {} -func (x *DeleteUserResponse) ProtoReflect() protoreflect.Message { +func (x *UserDeleteApiKeysResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_rpc_user_user_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -333,8 +333,8 @@ func (x *DeleteUserResponse) ProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -// Deprecated: Use DeleteUserResponse.ProtoReflect.Descriptor instead. -func (*DeleteUserResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use UserDeleteApiKeysResponse.ProtoReflect.Descriptor instead. +func (*UserDeleteApiKeysResponse) Descriptor() ([]byte, []int) { return file_proto_rpc_user_user_proto_rawDescGZIP(), []int{5} } @@ -380,173 +380,181 @@ var File_proto_rpc_user_user_proto protoreflect.FileDescriptor var file_proto_rpc_user_user_proto_rawDesc = []byte{ 0x0a, 0x19, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x75, 0x73, 0x65, 0x72, - 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x70, 0x61, 0x72, - 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x33, 0x1a, - 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, - 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x6f, 0x70, 0x65, 0x6e, 0x61, - 0x70, 0x69, 0x76, 0x32, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x6e, 0x6e, - 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x75, 0x73, 0x65, 0x72, - 0x70, 0x62, 0x2f, 0x76, 0x33, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x1a, 0x24, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x63, 0x6f, - 0x6d, 0x6d, 0x6f, 0x6e, 0x70, 0x62, 0x2f, 0x76, 0x33, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3b, 0x0a, 0x0d, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, - 0x61, 0x6d, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x02, 0x69, 0x64, 0x22, 0xbc, 0x01, 0x0a, 0x0e, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3a, 0x0a, 0x0a, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, - 0x65, 0x64, 0x41, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, + 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x70, 0x61, 0x72, + 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x75, 0x73, 0x65, + 0x72, 0x2e, 0x76, 0x33, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, + 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, + 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, + 0x2f, 0x75, 0x73, 0x65, 0x72, 0x70, 0x62, 0x2f, 0x76, 0x33, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x79, 0x70, + 0x65, 0x73, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x70, 0x62, 0x2f, 0x76, 0x33, 0x2f, 0x63, + 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3b, 0x0a, 0x0d, 0x41, + 0x70, 0x69, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, + 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0xbc, 0x01, 0x0a, 0x0e, 0x41, 0x70, 0x69, + 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3a, 0x0a, 0x0a, 0x6d, + 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x41, 0x74, 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, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x6d, 0x6f, 0x64, + 0x69, 0x66, 0x69, 0x65, 0x64, 0x41, 0x74, 0x12, 0x38, 0x0a, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x64, 0x41, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, - 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, - 0x41, 0x74, 0x12, 0x38, 0x0a, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, - 0x70, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x0e, 0x0a, 0x02, - 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, - 0x6b, 0x65, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x12, - 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x22, 0x4e, 0x0a, 0x12, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, - 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x33, 0x2e, 0x41, 0x70, 0x69, - 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x05, 0x69, 0x74, 0x65, - 0x6d, 0x73, 0x22, 0x33, 0x0a, 0x15, 0x46, 0x6f, 0x72, 0x67, 0x6f, 0x74, 0x50, 0x61, 0x73, 0x73, - 0x77, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x75, - 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, - 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x3c, 0x0a, 0x16, 0x46, 0x6f, 0x72, 0x67, 0x6f, - 0x74, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x72, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x4c, 0x69, 0x6e, - 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, - 0x79, 0x4c, 0x69, 0x6e, 0x6b, 0x22, 0x14, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, - 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x12, 0x0a, 0x10, 0x43, - 0x6c, 0x69, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x32, - 0xec, 0x0a, 0x0a, 0x04, 0x55, 0x73, 0x65, 0x72, 0x12, 0xa2, 0x01, 0x0a, 0x0a, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x12, 0x1f, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, - 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, - 0x2e, 0x76, 0x33, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x1a, 0x1f, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, - 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, - 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x22, 0x52, 0x92, 0x41, 0x36, 0x4a, 0x34, - 0x0a, 0x03, 0x32, 0x30, 0x31, 0x12, 0x2d, 0x0a, 0x2b, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, - 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x69, 0x73, 0x20, 0x63, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x20, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x66, 0x75, - 0x6c, 0x6c, 0x79, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x13, 0x22, 0x0e, 0x2f, 0x61, 0x75, 0x74, - 0x68, 0x2f, 0x76, 0x33, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x73, 0x3a, 0x01, 0x2a, 0x12, 0x72, 0x0a, - 0x08, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x73, 0x12, 0x29, 0x2e, 0x70, 0x61, 0x72, 0x61, - 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, - 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4f, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x23, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x33, - 0x2e, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x16, 0x82, 0xd3, 0xe4, 0x93, 0x02, - 0x10, 0x12, 0x0e, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x33, 0x2f, 0x75, 0x73, 0x65, 0x72, - 0x73, 0x12, 0x72, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x12, 0x1f, 0x2e, 0x70, + 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, + 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, + 0x64, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, + 0x6b, 0x65, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x58, 0x0a, 0x17, 0x55, 0x73, 0x65, 0x72, 0x4c, + 0x69, 0x73, 0x74, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x27, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x72, 0x70, 0x63, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x41, 0x70, 0x69, 0x4b, + 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, + 0x73, 0x22, 0x37, 0x0a, 0x19, 0x55, 0x73, 0x65, 0x72, 0x46, 0x6f, 0x72, 0x67, 0x6f, 0x74, 0x50, + 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, + 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x40, 0x0a, 0x1a, 0x55, 0x73, + 0x65, 0x72, 0x46, 0x6f, 0x72, 0x67, 0x6f, 0x74, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x72, 0x65, 0x63, 0x6f, + 0x76, 0x65, 0x72, 0x79, 0x4c, 0x69, 0x6e, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, + 0x72, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x4c, 0x69, 0x6e, 0x6b, 0x22, 0x1b, 0x0a, 0x19, + 0x55, 0x73, 0x65, 0x72, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x12, 0x0a, 0x10, 0x43, 0x6c, 0x69, + 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x32, 0xb7, 0x0b, + 0x0a, 0x0b, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xa2, 0x01, + 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x12, 0x1f, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x1a, 0x1f, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, - 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x22, 0x25, - 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1f, 0x12, 0x1d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x33, - 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, - 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x12, 0x6e, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, - 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1f, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x33, - 0x2e, 0x55, 0x73, 0x65, 0x72, 0x1a, 0x23, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, - 0x33, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x19, 0x82, 0xd3, 0xe4, 0x93, - 0x02, 0x13, 0x12, 0x11, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x33, 0x2f, 0x75, 0x73, 0x65, - 0x72, 0x69, 0x6e, 0x66, 0x6f, 0x12, 0x78, 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, + 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x22, 0x52, + 0x92, 0x41, 0x36, 0x4a, 0x34, 0x0a, 0x03, 0x32, 0x30, 0x31, 0x12, 0x2d, 0x0a, 0x2b, 0x52, 0x65, + 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x75, 0x73, 0x65, 0x72, + 0x20, 0x69, 0x73, 0x20, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x20, 0x73, 0x75, 0x63, 0x63, + 0x65, 0x73, 0x73, 0x66, 0x75, 0x6c, 0x6c, 0x79, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x13, 0x22, + 0x0e, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x33, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x73, 0x3a, + 0x01, 0x2a, 0x12, 0x72, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x73, 0x12, 0x29, + 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, + 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x51, 0x75, 0x65, + 0x72, 0x79, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x23, 0x2e, 0x70, 0x61, 0x72, 0x61, + 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x75, 0x73, + 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x16, + 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x10, 0x12, 0x0e, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x33, + 0x2f, 0x75, 0x73, 0x65, 0x72, 0x73, 0x12, 0x72, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, + 0x72, 0x12, 0x1f, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x55, 0x73, + 0x65, 0x72, 0x1a, 0x1f, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x55, + 0x73, 0x65, 0x72, 0x22, 0x25, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1f, 0x12, 0x1d, 0x2f, 0x61, 0x75, + 0x74, 0x68, 0x2f, 0x76, 0x33, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x12, 0x6e, 0x0a, 0x0b, 0x47, 0x65, + 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1f, 0x2e, 0x70, 0x61, 0x72, 0x61, + 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x75, 0x73, + 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x1a, 0x23, 0x2e, 0x70, 0x61, 0x72, + 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x75, + 0x73, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x22, + 0x19, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x13, 0x12, 0x11, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, + 0x33, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x69, 0x6e, 0x66, 0x6f, 0x12, 0x78, 0x0a, 0x0a, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x12, 0x1f, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, + 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, + 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x1a, 0x1f, 0x2e, 0x70, 0x61, 0x72, 0x61, + 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x75, 0x73, + 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x22, 0x28, 0x82, 0xd3, 0xe4, 0x93, + 0x02, 0x22, 0x1a, 0x1d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x33, 0x2f, 0x75, 0x73, 0x65, + 0x72, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6e, 0x61, 0x6d, 0x65, + 0x7d, 0x3a, 0x01, 0x2a, 0x12, 0xc1, 0x01, 0x0a, 0x0a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x12, 0x1f, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, - 0x55, 0x73, 0x65, 0x72, 0x1a, 0x1f, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x33, - 0x2e, 0x55, 0x73, 0x65, 0x72, 0x22, 0x28, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x1a, 0x1d, 0x2f, - 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x33, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x7b, 0x6d, 0x65, - 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x3a, 0x01, 0x2a, 0x12, - 0xb5, 0x01, 0x0a, 0x0a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x12, 0x1f, - 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, - 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x1a, - 0x26, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x72, 0x70, - 0x63, 0x2e, 0x76, 0x33, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x5e, 0x92, 0x41, 0x36, 0x4a, 0x34, 0x0a, 0x03, - 0x32, 0x30, 0x34, 0x12, 0x2d, 0x0a, 0x2b, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, - 0x77, 0x68, 0x65, 0x6e, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x69, 0x73, 0x20, 0x64, 0x65, 0x6c, - 0x65, 0x74, 0x65, 0x64, 0x20, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x66, 0x75, 0x6c, 0x6c, - 0x79, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1f, 0x2a, 0x1d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, - 0x76, 0x33, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, - 0x61, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x12, 0x7d, 0x0a, 0x11, 0x44, 0x6f, 0x77, 0x6e, 0x6c, - 0x6f, 0x61, 0x64, 0x43, 0x6c, 0x69, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x24, 0x2e, 0x70, - 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, - 0x33, 0x2e, 0x43, 0x6c, 0x69, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, - 0x2e, 0x48, 0x74, 0x74, 0x70, 0x42, 0x6f, 0x64, 0x79, 0x22, 0x1b, 0x82, 0xd3, 0xe4, 0x93, 0x02, - 0x15, 0x12, 0x13, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x33, 0x2f, 0x63, 0x6c, 0x69, 0x2f, - 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x86, 0x01, 0x0a, 0x0f, 0x55, 0x73, 0x65, 0x72, 0x4c, - 0x69, 0x73, 0x74, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x21, 0x2e, 0x70, 0x61, 0x72, - 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x33, 0x2e, - 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, + 0x55, 0x73, 0x65, 0x72, 0x1a, 0x32, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x55, + 0x73, 0x65, 0x72, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x5e, 0x92, 0x41, 0x36, 0x4a, 0x34, 0x0a, + 0x03, 0x32, 0x30, 0x34, 0x12, 0x2d, 0x0a, 0x2b, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, + 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x69, 0x73, 0x20, 0x64, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x64, 0x20, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x66, 0x75, 0x6c, + 0x6c, 0x79, 0x2e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1f, 0x2a, 0x1d, 0x2f, 0x61, 0x75, 0x74, 0x68, + 0x2f, 0x76, 0x33, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x7b, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x12, 0x82, 0x01, 0x0a, 0x11, 0x44, 0x6f, 0x77, + 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x43, 0x6c, 0x69, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x29, + 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x72, 0x70, 0x63, + 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x6c, 0x69, 0x43, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x70, 0x61, 0x72, 0x61, + 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, + 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x42, 0x6f, 0x64, 0x79, + 0x22, 0x1b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x15, 0x12, 0x13, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, + 0x76, 0x33, 0x2f, 0x63, 0x6c, 0x69, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x95, 0x01, + 0x0a, 0x0f, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, + 0x73, 0x12, 0x26, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x72, 0x70, 0x63, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x41, 0x70, 0x69, 0x4b, + 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x70, 0x61, 0x72, 0x61, + 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x75, 0x73, 0x65, 0x72, + 0x2e, 0x76, 0x33, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x70, 0x69, 0x4b, + 0x65, 0x79, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x28, 0x82, 0xd3, 0xe4, + 0x93, 0x02, 0x22, 0x12, 0x20, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x33, 0x2f, 0x75, 0x73, + 0x65, 0x72, 0x2f, 0x7b, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x2f, 0x61, 0x70, + 0x69, 0x6b, 0x65, 0x79, 0x73, 0x12, 0x9e, 0x01, 0x0a, 0x11, 0x55, 0x73, 0x65, 0x72, 0x44, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x26, 0x2e, 0x70, 0x61, + 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x75, 0x73, + 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, + 0x76, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x55, 0x73, + 0x65, 0x72, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x27, 0x2a, + 0x25, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x33, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x7b, + 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x2f, 0x61, 0x70, 0x69, 0x6b, 0x65, 0x79, + 0x73, 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x12, 0xae, 0x01, 0x0a, 0x12, 0x55, 0x73, 0x65, 0x72, 0x46, + 0x6f, 0x72, 0x67, 0x6f, 0x74, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x32, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x72, 0x70, 0x63, 0x2e, - 0x76, 0x33, 0x2e, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x28, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x12, 0x20, 0x2f, - 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x33, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x7b, 0x75, 0x73, - 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x2f, 0x61, 0x70, 0x69, 0x6b, 0x65, 0x79, 0x73, 0x12, - 0x8d, 0x01, 0x0a, 0x11, 0x55, 0x73, 0x65, 0x72, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x70, - 0x69, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x21, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x33, 0x2e, 0x41, 0x70, 0x69, 0x4b, 0x65, - 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, - 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x33, 0x2e, 0x44, 0x65, - 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x2d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x27, 0x2a, 0x25, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, - 0x76, 0x33, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x7b, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, - 0x65, 0x7d, 0x2f, 0x61, 0x70, 0x69, 0x6b, 0x65, 0x79, 0x73, 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x12, - 0x9c, 0x01, 0x0a, 0x12, 0x55, 0x73, 0x65, 0x72, 0x46, 0x6f, 0x72, 0x67, 0x6f, 0x74, 0x50, 0x61, - 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x29, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x33, 0x2e, 0x46, 0x6f, 0x72, 0x67, + 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x46, 0x6f, 0x72, 0x67, 0x6f, 0x74, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x2a, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x72, 0x70, 0x63, 0x2e, 0x76, 0x33, 0x2e, 0x46, 0x6f, 0x72, 0x67, 0x6f, 0x74, 0x50, 0x61, 0x73, - 0x73, 0x77, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2f, 0x82, - 0xd3, 0xe4, 0x93, 0x02, 0x29, 0x12, 0x27, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x33, 0x2f, - 0x75, 0x73, 0x65, 0x72, 0x2f, 0x7b, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x2f, - 0x66, 0x6f, 0x72, 0x67, 0x6f, 0x74, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x42, 0xa9, - 0x04, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x33, 0x42, 0x09, 0x55, 0x73, 0x65, 0x72, 0x50, - 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, - 0x6f, 0x6d, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6c, - 0x75, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x75, 0x73, 0x65, - 0x72, 0x3b, 0x72, 0x70, 0x63, 0x76, 0x33, 0xa2, 0x02, 0x03, 0x50, 0x44, 0x52, 0xaa, 0x02, 0x12, + 0x74, 0x1a, 0x33, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x72, 0x70, 0x63, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x55, 0x73, 0x65, 0x72, + 0x46, 0x6f, 0x72, 0x67, 0x6f, 0x74, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x29, 0x12, 0x27, + 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x76, 0x33, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x7b, 0x75, + 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x2f, 0x66, 0x6f, 0x72, 0x67, 0x6f, 0x74, 0x70, + 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x42, 0xc5, 0x04, 0x0a, 0x1b, 0x63, 0x6f, 0x6d, 0x2e, + 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x72, 0x70, 0x63, 0x2e, + 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x42, 0x09, 0x55, 0x73, 0x65, 0x72, 0x50, 0x72, 0x6f, + 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x30, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, + 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, + 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x3b, + 0x75, 0x73, 0x65, 0x72, 0x76, 0x33, 0xa2, 0x02, 0x04, 0x50, 0x44, 0x52, 0x55, 0xaa, 0x02, 0x17, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x44, 0x65, 0x76, 0x2e, 0x52, 0x70, 0x63, 0x2e, - 0x56, 0x33, 0xca, 0x02, 0x12, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x5c, 0x44, 0x65, 0x76, - 0x5c, 0x52, 0x70, 0x63, 0x5c, 0x56, 0x33, 0xe2, 0x02, 0x1e, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, - 0x73, 0x5c, 0x44, 0x65, 0x76, 0x5c, 0x52, 0x70, 0x63, 0x5c, 0x56, 0x33, 0x5c, 0x47, 0x50, 0x42, - 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x15, 0x50, 0x61, 0x72, 0x61, 0x6c, - 0x75, 0x73, 0x3a, 0x3a, 0x44, 0x65, 0x76, 0x3a, 0x3a, 0x52, 0x70, 0x63, 0x3a, 0x3a, 0x56, 0x33, - 0x92, 0x41, 0xe6, 0x02, 0x12, 0x2d, 0x0a, 0x17, 0x55, 0x73, 0x65, 0x72, 0x20, 0x6d, 0x61, 0x6e, - 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x20, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x22, - 0x0d, 0x0a, 0x0b, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x20, 0x44, 0x65, 0x76, 0x32, 0x03, - 0x32, 0x2e, 0x30, 0x2a, 0x01, 0x02, 0x32, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x32, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x79, 0x61, 0x6d, 0x6c, 0x3a, 0x10, 0x61, 0x70, 0x70, 0x6c, - 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x10, 0x61, 0x70, - 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x79, 0x61, 0x6d, 0x6c, 0x52, 0x50, - 0x0a, 0x03, 0x34, 0x30, 0x33, 0x12, 0x49, 0x0a, 0x47, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, - 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, - 0x64, 0x6f, 0x65, 0x73, 0x20, 0x6e, 0x6f, 0x74, 0x20, 0x68, 0x61, 0x76, 0x65, 0x20, 0x70, 0x65, - 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x20, 0x74, 0x6f, 0x20, 0x61, 0x63, 0x63, 0x65, - 0x73, 0x73, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, - 0x52, 0x3b, 0x0a, 0x03, 0x34, 0x30, 0x34, 0x12, 0x34, 0x0a, 0x2a, 0x52, 0x65, 0x74, 0x75, 0x72, - 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, - 0x6f, 0x75, 0x72, 0x63, 0x65, 0x20, 0x64, 0x6f, 0x65, 0x73, 0x20, 0x6e, 0x6f, 0x74, 0x20, 0x65, - 0x78, 0x69, 0x73, 0x74, 0x2e, 0x12, 0x06, 0x0a, 0x04, 0x9a, 0x02, 0x01, 0x07, 0x5a, 0x3a, 0x0a, - 0x27, 0x0a, 0x0a, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x12, 0x19, 0x08, - 0x02, 0x1a, 0x13, 0x58, 0x2d, 0x50, 0x41, 0x52, 0x41, 0x4c, 0x55, 0x53, 0x2d, 0x41, 0x50, 0x49, - 0x2d, 0x4b, 0x45, 0x59, 0x49, 0x44, 0x20, 0x02, 0x0a, 0x0f, 0x0a, 0x09, 0x42, 0x61, 0x73, 0x69, - 0x63, 0x41, 0x75, 0x74, 0x68, 0x12, 0x02, 0x08, 0x01, 0x62, 0x1f, 0x0a, 0x0e, 0x0a, 0x0a, 0x41, - 0x70, 0x69, 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x12, 0x00, 0x0a, 0x0d, 0x0a, 0x09, 0x42, - 0x61, 0x73, 0x69, 0x63, 0x41, 0x75, 0x74, 0x68, 0x12, 0x00, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x33, + 0x55, 0x73, 0x65, 0x72, 0x2e, 0x56, 0x33, 0xca, 0x02, 0x17, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, + 0x73, 0x5c, 0x44, 0x65, 0x76, 0x5c, 0x52, 0x70, 0x63, 0x5c, 0x55, 0x73, 0x65, 0x72, 0x5c, 0x56, + 0x33, 0xe2, 0x02, 0x23, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x5c, 0x44, 0x65, 0x76, 0x5c, + 0x52, 0x70, 0x63, 0x5c, 0x55, 0x73, 0x65, 0x72, 0x5c, 0x56, 0x33, 0x5c, 0x47, 0x50, 0x42, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1b, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, + 0x73, 0x3a, 0x3a, 0x44, 0x65, 0x76, 0x3a, 0x3a, 0x52, 0x70, 0x63, 0x3a, 0x3a, 0x55, 0x73, 0x65, + 0x72, 0x3a, 0x3a, 0x56, 0x33, 0x92, 0x41, 0xe6, 0x02, 0x12, 0x2d, 0x0a, 0x17, 0x55, 0x73, 0x65, + 0x72, 0x20, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x20, 0x53, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x22, 0x0d, 0x0a, 0x0b, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x20, + 0x44, 0x65, 0x76, 0x32, 0x03, 0x32, 0x2e, 0x30, 0x2a, 0x01, 0x02, 0x32, 0x10, 0x61, 0x70, 0x70, + 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x32, 0x10, 0x61, + 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x79, 0x61, 0x6d, 0x6c, 0x3a, + 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, + 0x6e, 0x3a, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x79, + 0x61, 0x6d, 0x6c, 0x52, 0x50, 0x0a, 0x03, 0x34, 0x30, 0x33, 0x12, 0x49, 0x0a, 0x47, 0x52, 0x65, + 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, + 0x75, 0x73, 0x65, 0x72, 0x20, 0x64, 0x6f, 0x65, 0x73, 0x20, 0x6e, 0x6f, 0x74, 0x20, 0x68, 0x61, + 0x76, 0x65, 0x20, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x20, 0x74, 0x6f, + 0x20, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x2e, 0x52, 0x3b, 0x0a, 0x03, 0x34, 0x30, 0x34, 0x12, 0x34, 0x0a, 0x2a, + 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x74, 0x68, + 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x20, 0x64, 0x6f, 0x65, 0x73, 0x20, + 0x6e, 0x6f, 0x74, 0x20, 0x65, 0x78, 0x69, 0x73, 0x74, 0x2e, 0x12, 0x06, 0x0a, 0x04, 0x9a, 0x02, + 0x01, 0x07, 0x5a, 0x3a, 0x0a, 0x27, 0x0a, 0x0a, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x41, 0x75, + 0x74, 0x68, 0x12, 0x19, 0x08, 0x02, 0x1a, 0x13, 0x58, 0x2d, 0x50, 0x41, 0x52, 0x41, 0x4c, 0x55, + 0x53, 0x2d, 0x41, 0x50, 0x49, 0x2d, 0x4b, 0x45, 0x59, 0x49, 0x44, 0x20, 0x02, 0x0a, 0x0f, 0x0a, + 0x09, 0x42, 0x61, 0x73, 0x69, 0x63, 0x41, 0x75, 0x74, 0x68, 0x12, 0x02, 0x08, 0x01, 0x62, 0x1f, + 0x0a, 0x0e, 0x0a, 0x0a, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x12, 0x00, + 0x0a, 0x0d, 0x0a, 0x09, 0x42, 0x61, 0x73, 0x69, 0x63, 0x41, 0x75, 0x74, 0x68, 0x12, 0x00, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -563,44 +571,44 @@ func file_proto_rpc_user_user_proto_rawDescGZIP() []byte { var file_proto_rpc_user_user_proto_msgTypes = make([]protoimpl.MessageInfo, 7) var file_proto_rpc_user_user_proto_goTypes = []interface{}{ - (*ApiKeyRequest)(nil), // 0: paralus.dev.rpc.v3.ApiKeyRequest - (*ApiKeyResponse)(nil), // 1: paralus.dev.rpc.v3.ApiKeyResponse - (*ApiKeyResponseList)(nil), // 2: paralus.dev.rpc.v3.ApiKeyResponseList - (*ForgotPasswordRequest)(nil), // 3: paralus.dev.rpc.v3.ForgotPasswordRequest - (*ForgotPasswordResponse)(nil), // 4: paralus.dev.rpc.v3.ForgotPasswordResponse - (*DeleteUserResponse)(nil), // 5: paralus.dev.rpc.v3.DeleteUserResponse - (*CliConfigRequest)(nil), // 6: paralus.dev.rpc.v3.CliConfigRequest - (*timestamppb.Timestamp)(nil), // 7: google.protobuf.Timestamp - (*v3.User)(nil), // 8: paralus.dev.types.user.v3.User - (*v31.QueryOptions)(nil), // 9: paralus.dev.types.common.v3.QueryOptions - (*v3.UserList)(nil), // 10: paralus.dev.types.user.v3.UserList - (*v3.UserInfo)(nil), // 11: paralus.dev.types.user.v3.UserInfo - (*v31.HttpBody)(nil), // 12: paralus.dev.types.common.v3.HttpBody + (*ApiKeyRequest)(nil), // 0: paralus.dev.rpc.user.v3.ApiKeyRequest + (*ApiKeyResponse)(nil), // 1: paralus.dev.rpc.user.v3.ApiKeyResponse + (*UserListApiKeysResponse)(nil), // 2: paralus.dev.rpc.user.v3.UserListApiKeysResponse + (*UserForgotPasswordRequest)(nil), // 3: paralus.dev.rpc.user.v3.UserForgotPasswordRequest + (*UserForgotPasswordResponse)(nil), // 4: paralus.dev.rpc.user.v3.UserForgotPasswordResponse + (*UserDeleteApiKeysResponse)(nil), // 5: paralus.dev.rpc.user.v3.UserDeleteApiKeysResponse + (*CliConfigRequest)(nil), // 6: paralus.dev.rpc.user.v3.CliConfigRequest + (*timestamppb.Timestamp)(nil), // 7: google.protobuf.Timestamp + (*v3.User)(nil), // 8: paralus.dev.types.user.v3.User + (*v31.QueryOptions)(nil), // 9: paralus.dev.types.common.v3.QueryOptions + (*v3.UserList)(nil), // 10: paralus.dev.types.user.v3.UserList + (*v3.UserInfo)(nil), // 11: paralus.dev.types.user.v3.UserInfo + (*v31.HttpBody)(nil), // 12: paralus.dev.types.common.v3.HttpBody } var file_proto_rpc_user_user_proto_depIdxs = []int32{ - 7, // 0: paralus.dev.rpc.v3.ApiKeyResponse.modifiedAt:type_name -> google.protobuf.Timestamp - 7, // 1: paralus.dev.rpc.v3.ApiKeyResponse.createdAt:type_name -> google.protobuf.Timestamp - 1, // 2: paralus.dev.rpc.v3.ApiKeyResponseList.items:type_name -> paralus.dev.rpc.v3.ApiKeyResponse - 8, // 3: paralus.dev.rpc.v3.User.CreateUser:input_type -> paralus.dev.types.user.v3.User - 9, // 4: paralus.dev.rpc.v3.User.GetUsers:input_type -> paralus.dev.types.common.v3.QueryOptions - 8, // 5: paralus.dev.rpc.v3.User.GetUser:input_type -> paralus.dev.types.user.v3.User - 8, // 6: paralus.dev.rpc.v3.User.GetUserInfo:input_type -> paralus.dev.types.user.v3.User - 8, // 7: paralus.dev.rpc.v3.User.UpdateUser:input_type -> paralus.dev.types.user.v3.User - 8, // 8: paralus.dev.rpc.v3.User.DeleteUser:input_type -> paralus.dev.types.user.v3.User - 6, // 9: paralus.dev.rpc.v3.User.DownloadCliConfig:input_type -> paralus.dev.rpc.v3.CliConfigRequest - 0, // 10: paralus.dev.rpc.v3.User.UserListApiKeys:input_type -> paralus.dev.rpc.v3.ApiKeyRequest - 0, // 11: paralus.dev.rpc.v3.User.UserDeleteApiKeys:input_type -> paralus.dev.rpc.v3.ApiKeyRequest - 3, // 12: paralus.dev.rpc.v3.User.UserForgotPassword:input_type -> paralus.dev.rpc.v3.ForgotPasswordRequest - 8, // 13: paralus.dev.rpc.v3.User.CreateUser:output_type -> paralus.dev.types.user.v3.User - 10, // 14: paralus.dev.rpc.v3.User.GetUsers:output_type -> paralus.dev.types.user.v3.UserList - 8, // 15: paralus.dev.rpc.v3.User.GetUser:output_type -> paralus.dev.types.user.v3.User - 11, // 16: paralus.dev.rpc.v3.User.GetUserInfo:output_type -> paralus.dev.types.user.v3.UserInfo - 8, // 17: paralus.dev.rpc.v3.User.UpdateUser:output_type -> paralus.dev.types.user.v3.User - 5, // 18: paralus.dev.rpc.v3.User.DeleteUser:output_type -> paralus.dev.rpc.v3.DeleteUserResponse - 12, // 19: paralus.dev.rpc.v3.User.DownloadCliConfig:output_type -> paralus.dev.types.common.v3.HttpBody - 2, // 20: paralus.dev.rpc.v3.User.UserListApiKeys:output_type -> paralus.dev.rpc.v3.ApiKeyResponseList - 5, // 21: paralus.dev.rpc.v3.User.UserDeleteApiKeys:output_type -> paralus.dev.rpc.v3.DeleteUserResponse - 4, // 22: paralus.dev.rpc.v3.User.UserForgotPassword:output_type -> paralus.dev.rpc.v3.ForgotPasswordResponse + 7, // 0: paralus.dev.rpc.user.v3.ApiKeyResponse.modifiedAt:type_name -> google.protobuf.Timestamp + 7, // 1: paralus.dev.rpc.user.v3.ApiKeyResponse.createdAt:type_name -> google.protobuf.Timestamp + 1, // 2: paralus.dev.rpc.user.v3.UserListApiKeysResponse.items:type_name -> paralus.dev.rpc.user.v3.ApiKeyResponse + 8, // 3: paralus.dev.rpc.user.v3.UserService.CreateUser:input_type -> paralus.dev.types.user.v3.User + 9, // 4: paralus.dev.rpc.user.v3.UserService.GetUsers:input_type -> paralus.dev.types.common.v3.QueryOptions + 8, // 5: paralus.dev.rpc.user.v3.UserService.GetUser:input_type -> paralus.dev.types.user.v3.User + 8, // 6: paralus.dev.rpc.user.v3.UserService.GetUserInfo:input_type -> paralus.dev.types.user.v3.User + 8, // 7: paralus.dev.rpc.user.v3.UserService.UpdateUser:input_type -> paralus.dev.types.user.v3.User + 8, // 8: paralus.dev.rpc.user.v3.UserService.DeleteUser:input_type -> paralus.dev.types.user.v3.User + 6, // 9: paralus.dev.rpc.user.v3.UserService.DownloadCliConfig:input_type -> paralus.dev.rpc.user.v3.CliConfigRequest + 0, // 10: paralus.dev.rpc.user.v3.UserService.UserListApiKeys:input_type -> paralus.dev.rpc.user.v3.ApiKeyRequest + 0, // 11: paralus.dev.rpc.user.v3.UserService.UserDeleteApiKeys:input_type -> paralus.dev.rpc.user.v3.ApiKeyRequest + 3, // 12: paralus.dev.rpc.user.v3.UserService.UserForgotPassword:input_type -> paralus.dev.rpc.user.v3.UserForgotPasswordRequest + 8, // 13: paralus.dev.rpc.user.v3.UserService.CreateUser:output_type -> paralus.dev.types.user.v3.User + 10, // 14: paralus.dev.rpc.user.v3.UserService.GetUsers:output_type -> paralus.dev.types.user.v3.UserList + 8, // 15: paralus.dev.rpc.user.v3.UserService.GetUser:output_type -> paralus.dev.types.user.v3.User + 11, // 16: paralus.dev.rpc.user.v3.UserService.GetUserInfo:output_type -> paralus.dev.types.user.v3.UserInfo + 8, // 17: paralus.dev.rpc.user.v3.UserService.UpdateUser:output_type -> paralus.dev.types.user.v3.User + 5, // 18: paralus.dev.rpc.user.v3.UserService.DeleteUser:output_type -> paralus.dev.rpc.user.v3.UserDeleteApiKeysResponse + 12, // 19: paralus.dev.rpc.user.v3.UserService.DownloadCliConfig:output_type -> paralus.dev.types.common.v3.HttpBody + 2, // 20: paralus.dev.rpc.user.v3.UserService.UserListApiKeys:output_type -> paralus.dev.rpc.user.v3.UserListApiKeysResponse + 5, // 21: paralus.dev.rpc.user.v3.UserService.UserDeleteApiKeys:output_type -> paralus.dev.rpc.user.v3.UserDeleteApiKeysResponse + 4, // 22: paralus.dev.rpc.user.v3.UserService.UserForgotPassword:output_type -> paralus.dev.rpc.user.v3.UserForgotPasswordResponse 13, // [13:23] is the sub-list for method output_type 3, // [3:13] is the sub-list for method input_type 3, // [3:3] is the sub-list for extension type_name @@ -639,7 +647,7 @@ func file_proto_rpc_user_user_proto_init() { } } file_proto_rpc_user_user_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ApiKeyResponseList); i { + switch v := v.(*UserListApiKeysResponse); i { case 0: return &v.state case 1: @@ -651,7 +659,7 @@ func file_proto_rpc_user_user_proto_init() { } } file_proto_rpc_user_user_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ForgotPasswordRequest); i { + switch v := v.(*UserForgotPasswordRequest); i { case 0: return &v.state case 1: @@ -663,7 +671,7 @@ func file_proto_rpc_user_user_proto_init() { } } file_proto_rpc_user_user_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ForgotPasswordResponse); i { + switch v := v.(*UserForgotPasswordResponse); i { case 0: return &v.state case 1: @@ -675,7 +683,7 @@ func file_proto_rpc_user_user_proto_init() { } } file_proto_rpc_user_user_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteUserResponse); i { + switch v := v.(*UserDeleteApiKeysResponse); i { case 0: return &v.state case 1: diff --git a/proto/rpc/user/user.pb.gw.go b/proto/rpc/user/user.pb.gw.go index a7b304a9..5d4d3c0d 100644 --- a/proto/rpc/user/user.pb.gw.go +++ b/proto/rpc/user/user.pb.gw.go @@ -2,11 +2,11 @@ // source: proto/rpc/user/user.proto /* -Package rpcv3 is a reverse proxy. +Package userv3 is a reverse proxy. It translates gRPC into RESTful JSON APIs. */ -package rpcv3 +package userv3 import ( "context" @@ -33,7 +33,7 @@ var _ = runtime.String var _ = utilities.NewDoubleArray var _ = metadata.Join -func request_User_CreateUser_0(ctx context.Context, marshaler runtime.Marshaler, client UserClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_UserService_CreateUser_0(ctx context.Context, marshaler runtime.Marshaler, client UserServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq userv3.User var metadata runtime.ServerMetadata @@ -50,7 +50,7 @@ func request_User_CreateUser_0(ctx context.Context, marshaler runtime.Marshaler, } -func local_request_User_CreateUser_0(ctx context.Context, marshaler runtime.Marshaler, server UserServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_UserService_CreateUser_0(ctx context.Context, marshaler runtime.Marshaler, server UserServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq userv3.User var metadata runtime.ServerMetadata @@ -68,17 +68,17 @@ func local_request_User_CreateUser_0(ctx context.Context, marshaler runtime.Mars } var ( - filter_User_GetUsers_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} + filter_UserService_GetUsers_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} ) -func request_User_GetUsers_0(ctx context.Context, marshaler runtime.Marshaler, client UserClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_UserService_GetUsers_0(ctx context.Context, marshaler runtime.Marshaler, client UserServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq commonv3.QueryOptions var metadata runtime.ServerMetadata if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_User_GetUsers_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_UserService_GetUsers_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -87,14 +87,14 @@ func request_User_GetUsers_0(ctx context.Context, marshaler runtime.Marshaler, c } -func local_request_User_GetUsers_0(ctx context.Context, marshaler runtime.Marshaler, server UserServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_UserService_GetUsers_0(ctx context.Context, marshaler runtime.Marshaler, server UserServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq commonv3.QueryOptions var metadata runtime.ServerMetadata if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_User_GetUsers_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_UserService_GetUsers_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -104,10 +104,10 @@ func local_request_User_GetUsers_0(ctx context.Context, marshaler runtime.Marsha } var ( - filter_User_GetUser_0 = &utilities.DoubleArray{Encoding: map[string]int{"metadata": 0, "name": 1}, Base: []int{1, 1, 1, 0}, Check: []int{0, 1, 2, 3}} + filter_UserService_GetUser_0 = &utilities.DoubleArray{Encoding: map[string]int{"metadata": 0, "name": 1}, Base: []int{1, 1, 1, 0}, Check: []int{0, 1, 2, 3}} ) -func request_User_GetUser_0(ctx context.Context, marshaler runtime.Marshaler, client UserClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_UserService_GetUser_0(ctx context.Context, marshaler runtime.Marshaler, client UserServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq userv3.User var metadata runtime.ServerMetadata @@ -131,7 +131,7 @@ func request_User_GetUser_0(ctx context.Context, marshaler runtime.Marshaler, cl if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_User_GetUser_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_UserService_GetUser_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -140,7 +140,7 @@ func request_User_GetUser_0(ctx context.Context, marshaler runtime.Marshaler, cl } -func local_request_User_GetUser_0(ctx context.Context, marshaler runtime.Marshaler, server UserServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_UserService_GetUser_0(ctx context.Context, marshaler runtime.Marshaler, server UserServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq userv3.User var metadata runtime.ServerMetadata @@ -164,7 +164,7 @@ func local_request_User_GetUser_0(ctx context.Context, marshaler runtime.Marshal if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_User_GetUser_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_UserService_GetUser_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -174,17 +174,17 @@ func local_request_User_GetUser_0(ctx context.Context, marshaler runtime.Marshal } var ( - filter_User_GetUserInfo_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} + filter_UserService_GetUserInfo_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} ) -func request_User_GetUserInfo_0(ctx context.Context, marshaler runtime.Marshaler, client UserClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_UserService_GetUserInfo_0(ctx context.Context, marshaler runtime.Marshaler, client UserServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq userv3.User var metadata runtime.ServerMetadata if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_User_GetUserInfo_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_UserService_GetUserInfo_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -193,14 +193,14 @@ func request_User_GetUserInfo_0(ctx context.Context, marshaler runtime.Marshaler } -func local_request_User_GetUserInfo_0(ctx context.Context, marshaler runtime.Marshaler, server UserServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_UserService_GetUserInfo_0(ctx context.Context, marshaler runtime.Marshaler, server UserServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq userv3.User var metadata runtime.ServerMetadata if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_User_GetUserInfo_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_UserService_GetUserInfo_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -209,7 +209,7 @@ func local_request_User_GetUserInfo_0(ctx context.Context, marshaler runtime.Mar } -func request_User_UpdateUser_0(ctx context.Context, marshaler runtime.Marshaler, client UserClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_UserService_UpdateUser_0(ctx context.Context, marshaler runtime.Marshaler, client UserServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq userv3.User var metadata runtime.ServerMetadata @@ -243,7 +243,7 @@ func request_User_UpdateUser_0(ctx context.Context, marshaler runtime.Marshaler, } -func local_request_User_UpdateUser_0(ctx context.Context, marshaler runtime.Marshaler, server UserServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_UserService_UpdateUser_0(ctx context.Context, marshaler runtime.Marshaler, server UserServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq userv3.User var metadata runtime.ServerMetadata @@ -278,10 +278,10 @@ func local_request_User_UpdateUser_0(ctx context.Context, marshaler runtime.Mars } var ( - filter_User_DeleteUser_0 = &utilities.DoubleArray{Encoding: map[string]int{"metadata": 0, "name": 1}, Base: []int{1, 1, 1, 0}, Check: []int{0, 1, 2, 3}} + filter_UserService_DeleteUser_0 = &utilities.DoubleArray{Encoding: map[string]int{"metadata": 0, "name": 1}, Base: []int{1, 1, 1, 0}, Check: []int{0, 1, 2, 3}} ) -func request_User_DeleteUser_0(ctx context.Context, marshaler runtime.Marshaler, client UserClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_UserService_DeleteUser_0(ctx context.Context, marshaler runtime.Marshaler, client UserServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq userv3.User var metadata runtime.ServerMetadata @@ -305,7 +305,7 @@ func request_User_DeleteUser_0(ctx context.Context, marshaler runtime.Marshaler, if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_User_DeleteUser_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_UserService_DeleteUser_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -314,7 +314,7 @@ func request_User_DeleteUser_0(ctx context.Context, marshaler runtime.Marshaler, } -func local_request_User_DeleteUser_0(ctx context.Context, marshaler runtime.Marshaler, server UserServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_UserService_DeleteUser_0(ctx context.Context, marshaler runtime.Marshaler, server UserServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq userv3.User var metadata runtime.ServerMetadata @@ -338,7 +338,7 @@ func local_request_User_DeleteUser_0(ctx context.Context, marshaler runtime.Mars if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_User_DeleteUser_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_UserService_DeleteUser_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -347,7 +347,7 @@ func local_request_User_DeleteUser_0(ctx context.Context, marshaler runtime.Mars } -func request_User_DownloadCliConfig_0(ctx context.Context, marshaler runtime.Marshaler, client UserClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_UserService_DownloadCliConfig_0(ctx context.Context, marshaler runtime.Marshaler, client UserServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq CliConfigRequest var metadata runtime.ServerMetadata @@ -356,7 +356,7 @@ func request_User_DownloadCliConfig_0(ctx context.Context, marshaler runtime.Mar } -func local_request_User_DownloadCliConfig_0(ctx context.Context, marshaler runtime.Marshaler, server UserServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_UserService_DownloadCliConfig_0(ctx context.Context, marshaler runtime.Marshaler, server UserServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq CliConfigRequest var metadata runtime.ServerMetadata @@ -366,10 +366,10 @@ func local_request_User_DownloadCliConfig_0(ctx context.Context, marshaler runti } var ( - filter_User_UserListApiKeys_0 = &utilities.DoubleArray{Encoding: map[string]int{"username": 0}, Base: []int{1, 1, 0}, Check: []int{0, 1, 2}} + filter_UserService_UserListApiKeys_0 = &utilities.DoubleArray{Encoding: map[string]int{"username": 0}, Base: []int{1, 1, 0}, Check: []int{0, 1, 2}} ) -func request_User_UserListApiKeys_0(ctx context.Context, marshaler runtime.Marshaler, client UserClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_UserService_UserListApiKeys_0(ctx context.Context, marshaler runtime.Marshaler, client UserServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq ApiKeyRequest var metadata runtime.ServerMetadata @@ -393,7 +393,7 @@ func request_User_UserListApiKeys_0(ctx context.Context, marshaler runtime.Marsh if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_User_UserListApiKeys_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_UserService_UserListApiKeys_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -402,7 +402,7 @@ func request_User_UserListApiKeys_0(ctx context.Context, marshaler runtime.Marsh } -func local_request_User_UserListApiKeys_0(ctx context.Context, marshaler runtime.Marshaler, server UserServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_UserService_UserListApiKeys_0(ctx context.Context, marshaler runtime.Marshaler, server UserServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq ApiKeyRequest var metadata runtime.ServerMetadata @@ -426,7 +426,7 @@ func local_request_User_UserListApiKeys_0(ctx context.Context, marshaler runtime if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } - if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_User_UserListApiKeys_0); err != nil { + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_UserService_UserListApiKeys_0); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -435,7 +435,7 @@ func local_request_User_UserListApiKeys_0(ctx context.Context, marshaler runtime } -func request_User_UserDeleteApiKeys_0(ctx context.Context, marshaler runtime.Marshaler, client UserClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func request_UserService_UserDeleteApiKeys_0(ctx context.Context, marshaler runtime.Marshaler, client UserServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq ApiKeyRequest var metadata runtime.ServerMetadata @@ -471,7 +471,7 @@ func request_User_UserDeleteApiKeys_0(ctx context.Context, marshaler runtime.Mar } -func local_request_User_UserDeleteApiKeys_0(ctx context.Context, marshaler runtime.Marshaler, server UserServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { +func local_request_UserService_UserDeleteApiKeys_0(ctx context.Context, marshaler runtime.Marshaler, server UserServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq ApiKeyRequest var metadata runtime.ServerMetadata @@ -507,8 +507,8 @@ func local_request_User_UserDeleteApiKeys_0(ctx context.Context, marshaler runti } -func request_User_UserForgotPassword_0(ctx context.Context, marshaler runtime.Marshaler, client UserClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq ForgotPasswordRequest +func request_UserService_UserForgotPassword_0(ctx context.Context, marshaler runtime.Marshaler, client UserServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq UserForgotPasswordRequest var metadata runtime.ServerMetadata var ( @@ -533,8 +533,8 @@ func request_User_UserForgotPassword_0(ctx context.Context, marshaler runtime.Ma } -func local_request_User_UserForgotPassword_0(ctx context.Context, marshaler runtime.Marshaler, server UserServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq ForgotPasswordRequest +func local_request_UserService_UserForgotPassword_0(ctx context.Context, marshaler runtime.Marshaler, server UserServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { + var protoReq UserForgotPasswordRequest var metadata runtime.ServerMetadata var ( @@ -559,248 +559,268 @@ func local_request_User_UserForgotPassword_0(ctx context.Context, marshaler runt } -// RegisterUserHandlerServer registers the http handlers for service User to "mux". -// UnaryRPC :call UserServer directly. +// RegisterUserServiceHandlerServer registers the http handlers for service UserService to "mux". +// UnaryRPC :call UserServiceServer directly. // StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. -// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterUserHandlerFromEndpoint instead. -func RegisterUserHandlerServer(ctx context.Context, mux *runtime.ServeMux, server UserServer) error { +// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterUserServiceHandlerFromEndpoint instead. +func RegisterUserServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server UserServiceServer) error { - mux.Handle("POST", pattern_User_CreateUser_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("POST", pattern_UserService_CreateUser_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.v3.User/CreateUser", runtime.WithHTTPPathPattern("/auth/v3/users")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.user.v3.UserService/CreateUser", runtime.WithHTTPPathPattern("/auth/v3/users")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_User_CreateUser_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_UserService_CreateUser_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_User_CreateUser_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_UserService_CreateUser_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_User_GetUsers_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_UserService_GetUsers_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.v3.User/GetUsers", runtime.WithHTTPPathPattern("/auth/v3/users")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.user.v3.UserService/GetUsers", runtime.WithHTTPPathPattern("/auth/v3/users")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_User_GetUsers_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_UserService_GetUsers_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_User_GetUsers_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_UserService_GetUsers_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_User_GetUser_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_UserService_GetUser_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.v3.User/GetUser", runtime.WithHTTPPathPattern("/auth/v3/user/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.user.v3.UserService/GetUser", runtime.WithHTTPPathPattern("/auth/v3/user/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_User_GetUser_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_UserService_GetUser_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_User_GetUser_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_UserService_GetUser_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_User_GetUserInfo_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_UserService_GetUserInfo_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.v3.User/GetUserInfo", runtime.WithHTTPPathPattern("/auth/v3/userinfo")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.user.v3.UserService/GetUserInfo", runtime.WithHTTPPathPattern("/auth/v3/userinfo")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_User_GetUserInfo_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_UserService_GetUserInfo_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_User_GetUserInfo_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_UserService_GetUserInfo_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("PUT", pattern_User_UpdateUser_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("PUT", pattern_UserService_UpdateUser_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.v3.User/UpdateUser", runtime.WithHTTPPathPattern("/auth/v3/user/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.user.v3.UserService/UpdateUser", runtime.WithHTTPPathPattern("/auth/v3/user/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_User_UpdateUser_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_UserService_UpdateUser_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_User_UpdateUser_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_UserService_UpdateUser_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("DELETE", pattern_User_DeleteUser_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("DELETE", pattern_UserService_DeleteUser_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.v3.User/DeleteUser", runtime.WithHTTPPathPattern("/auth/v3/user/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.user.v3.UserService/DeleteUser", runtime.WithHTTPPathPattern("/auth/v3/user/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_User_DeleteUser_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_UserService_DeleteUser_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_User_DeleteUser_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_UserService_DeleteUser_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_User_DownloadCliConfig_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_UserService_DownloadCliConfig_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.v3.User/DownloadCliConfig", runtime.WithHTTPPathPattern("/auth/v3/cli/config")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.user.v3.UserService/DownloadCliConfig", runtime.WithHTTPPathPattern("/auth/v3/cli/config")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_User_DownloadCliConfig_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_UserService_DownloadCliConfig_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_User_DownloadCliConfig_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_UserService_DownloadCliConfig_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_User_UserListApiKeys_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_UserService_UserListApiKeys_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.v3.User/UserListApiKeys", runtime.WithHTTPPathPattern("/auth/v3/user/{username}/apikeys")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.user.v3.UserService/UserListApiKeys", runtime.WithHTTPPathPattern("/auth/v3/user/{username}/apikeys")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_User_UserListApiKeys_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_UserService_UserListApiKeys_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_User_UserListApiKeys_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_UserService_UserListApiKeys_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("DELETE", pattern_User_UserDeleteApiKeys_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("DELETE", pattern_UserService_UserDeleteApiKeys_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.v3.User/UserDeleteApiKeys", runtime.WithHTTPPathPattern("/auth/v3/user/{username}/apikeys/{id}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.user.v3.UserService/UserDeleteApiKeys", runtime.WithHTTPPathPattern("/auth/v3/user/{username}/apikeys/{id}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_User_UserDeleteApiKeys_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_UserService_UserDeleteApiKeys_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_User_UserDeleteApiKeys_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_UserService_UserDeleteApiKeys_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_User_UserForgotPassword_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_UserService_UserForgotPassword_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() var stream runtime.ServerTransportStream ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.v3.User/UserForgotPassword", runtime.WithHTTPPathPattern("/auth/v3/user/{username}/forgotpassword")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/paralus.dev.rpc.user.v3.UserService/UserForgotPassword", runtime.WithHTTPPathPattern("/auth/v3/user/{username}/forgotpassword")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := local_request_User_UserForgotPassword_0(rctx, inboundMarshaler, server, req, pathParams) + resp, md, err := local_request_UserService_UserForgotPassword_0(annotatedContext, inboundMarshaler, server, req, pathParams) md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_User_UserForgotPassword_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_UserService_UserForgotPassword_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) return nil } -// RegisterUserHandlerFromEndpoint is same as RegisterUserHandler but +// RegisterUserServiceHandlerFromEndpoint is same as RegisterUserServiceHandler but // automatically dials to "endpoint" and closes the connection when "ctx" gets done. -func RegisterUserHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { +func RegisterUserServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) { conn, err := grpc.Dial(endpoint, opts...) if err != nil { return err @@ -820,219 +840,239 @@ func RegisterUserHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, }() }() - return RegisterUserHandler(ctx, mux, conn) + return RegisterUserServiceHandler(ctx, mux, conn) } -// RegisterUserHandler registers the http handlers for service User to "mux". +// RegisterUserServiceHandler registers the http handlers for service UserService to "mux". // The handlers forward requests to the grpc endpoint over "conn". -func RegisterUserHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { - return RegisterUserHandlerClient(ctx, mux, NewUserClient(conn)) +func RegisterUserServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error { + return RegisterUserServiceHandlerClient(ctx, mux, NewUserServiceClient(conn)) } -// RegisterUserHandlerClient registers the http handlers for service User -// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "UserClient". -// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "UserClient" +// RegisterUserServiceHandlerClient registers the http handlers for service UserService +// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "UserServiceClient". +// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "UserServiceClient" // doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in -// "UserClient" to call the correct interceptors. -func RegisterUserHandlerClient(ctx context.Context, mux *runtime.ServeMux, client UserClient) error { +// "UserServiceClient" to call the correct interceptors. +func RegisterUserServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client UserServiceClient) error { - mux.Handle("POST", pattern_User_CreateUser_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("POST", pattern_UserService_CreateUser_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.v3.User/CreateUser", runtime.WithHTTPPathPattern("/auth/v3/users")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.user.v3.UserService/CreateUser", runtime.WithHTTPPathPattern("/auth/v3/users")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_User_CreateUser_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_UserService_CreateUser_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_User_CreateUser_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_UserService_CreateUser_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_User_GetUsers_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_UserService_GetUsers_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.v3.User/GetUsers", runtime.WithHTTPPathPattern("/auth/v3/users")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.user.v3.UserService/GetUsers", runtime.WithHTTPPathPattern("/auth/v3/users")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_User_GetUsers_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_UserService_GetUsers_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_User_GetUsers_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_UserService_GetUsers_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_User_GetUser_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_UserService_GetUser_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.v3.User/GetUser", runtime.WithHTTPPathPattern("/auth/v3/user/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.user.v3.UserService/GetUser", runtime.WithHTTPPathPattern("/auth/v3/user/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_User_GetUser_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_UserService_GetUser_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_User_GetUser_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_UserService_GetUser_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_User_GetUserInfo_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_UserService_GetUserInfo_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.v3.User/GetUserInfo", runtime.WithHTTPPathPattern("/auth/v3/userinfo")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.user.v3.UserService/GetUserInfo", runtime.WithHTTPPathPattern("/auth/v3/userinfo")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_User_GetUserInfo_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_UserService_GetUserInfo_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_User_GetUserInfo_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_UserService_GetUserInfo_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("PUT", pattern_User_UpdateUser_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("PUT", pattern_UserService_UpdateUser_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.v3.User/UpdateUser", runtime.WithHTTPPathPattern("/auth/v3/user/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.user.v3.UserService/UpdateUser", runtime.WithHTTPPathPattern("/auth/v3/user/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_User_UpdateUser_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_UserService_UpdateUser_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_User_UpdateUser_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_UserService_UpdateUser_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("DELETE", pattern_User_DeleteUser_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("DELETE", pattern_UserService_DeleteUser_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.v3.User/DeleteUser", runtime.WithHTTPPathPattern("/auth/v3/user/{metadata.name}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.user.v3.UserService/DeleteUser", runtime.WithHTTPPathPattern("/auth/v3/user/{metadata.name}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_User_DeleteUser_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_UserService_DeleteUser_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_User_DeleteUser_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_UserService_DeleteUser_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_User_DownloadCliConfig_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_UserService_DownloadCliConfig_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.v3.User/DownloadCliConfig", runtime.WithHTTPPathPattern("/auth/v3/cli/config")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.user.v3.UserService/DownloadCliConfig", runtime.WithHTTPPathPattern("/auth/v3/cli/config")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_User_DownloadCliConfig_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_UserService_DownloadCliConfig_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_User_DownloadCliConfig_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_UserService_DownloadCliConfig_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_User_UserListApiKeys_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_UserService_UserListApiKeys_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.v3.User/UserListApiKeys", runtime.WithHTTPPathPattern("/auth/v3/user/{username}/apikeys")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.user.v3.UserService/UserListApiKeys", runtime.WithHTTPPathPattern("/auth/v3/user/{username}/apikeys")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_User_UserListApiKeys_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_UserService_UserListApiKeys_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_User_UserListApiKeys_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_UserService_UserListApiKeys_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("DELETE", pattern_User_UserDeleteApiKeys_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("DELETE", pattern_UserService_UserDeleteApiKeys_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.v3.User/UserDeleteApiKeys", runtime.WithHTTPPathPattern("/auth/v3/user/{username}/apikeys/{id}")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.user.v3.UserService/UserDeleteApiKeys", runtime.WithHTTPPathPattern("/auth/v3/user/{username}/apikeys/{id}")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_User_UserDeleteApiKeys_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_UserService_UserDeleteApiKeys_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_User_UserDeleteApiKeys_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_UserService_UserDeleteApiKeys_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) - mux.Handle("GET", pattern_User_UserForgotPassword_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { + mux.Handle("GET", pattern_UserService_UserForgotPassword_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.v3.User/UserForgotPassword", runtime.WithHTTPPathPattern("/auth/v3/user/{username}/forgotpassword")) + var err error + var annotatedContext context.Context + annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/paralus.dev.rpc.user.v3.UserService/UserForgotPassword", runtime.WithHTTPPathPattern("/auth/v3/user/{username}/forgotpassword")) if err != nil { runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) return } - resp, md, err := request_User_UserForgotPassword_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) + resp, md, err := request_UserService_UserForgotPassword_0(annotatedContext, inboundMarshaler, client, req, pathParams) + annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md) if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) + runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err) return } - forward_User_UserForgotPassword_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) + forward_UserService_UserForgotPassword_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) }) @@ -1040,45 +1080,45 @@ func RegisterUserHandlerClient(ctx context.Context, mux *runtime.ServeMux, clien } var ( - pattern_User_CreateUser_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"auth", "v3", "users"}, "")) + pattern_UserService_CreateUser_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"auth", "v3", "users"}, "")) - pattern_User_GetUsers_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"auth", "v3", "users"}, "")) + pattern_UserService_GetUsers_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"auth", "v3", "users"}, "")) - pattern_User_GetUser_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"auth", "v3", "user", "metadata.name"}, "")) + pattern_UserService_GetUser_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"auth", "v3", "user", "metadata.name"}, "")) - pattern_User_GetUserInfo_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"auth", "v3", "userinfo"}, "")) + pattern_UserService_GetUserInfo_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"auth", "v3", "userinfo"}, "")) - pattern_User_UpdateUser_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"auth", "v3", "user", "metadata.name"}, "")) + pattern_UserService_UpdateUser_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"auth", "v3", "user", "metadata.name"}, "")) - pattern_User_DeleteUser_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"auth", "v3", "user", "metadata.name"}, "")) + pattern_UserService_DeleteUser_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3}, []string{"auth", "v3", "user", "metadata.name"}, "")) - pattern_User_DownloadCliConfig_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"auth", "v3", "cli", "config"}, "")) + pattern_UserService_DownloadCliConfig_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"auth", "v3", "cli", "config"}, "")) - pattern_User_UserListApiKeys_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4}, []string{"auth", "v3", "user", "username", "apikeys"}, "")) + pattern_UserService_UserListApiKeys_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4}, []string{"auth", "v3", "user", "username", "apikeys"}, "")) - pattern_User_UserDeleteApiKeys_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4, 1, 0, 4, 1, 5, 5}, []string{"auth", "v3", "user", "username", "apikeys", "id"}, "")) + pattern_UserService_UserDeleteApiKeys_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4, 1, 0, 4, 1, 5, 5}, []string{"auth", "v3", "user", "username", "apikeys", "id"}, "")) - pattern_User_UserForgotPassword_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4}, []string{"auth", "v3", "user", "username", "forgotpassword"}, "")) + pattern_UserService_UserForgotPassword_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 1, 0, 4, 1, 5, 3, 2, 4}, []string{"auth", "v3", "user", "username", "forgotpassword"}, "")) ) var ( - forward_User_CreateUser_0 = runtime.ForwardResponseMessage + forward_UserService_CreateUser_0 = runtime.ForwardResponseMessage - forward_User_GetUsers_0 = runtime.ForwardResponseMessage + forward_UserService_GetUsers_0 = runtime.ForwardResponseMessage - forward_User_GetUser_0 = runtime.ForwardResponseMessage + forward_UserService_GetUser_0 = runtime.ForwardResponseMessage - forward_User_GetUserInfo_0 = runtime.ForwardResponseMessage + forward_UserService_GetUserInfo_0 = runtime.ForwardResponseMessage - forward_User_UpdateUser_0 = runtime.ForwardResponseMessage + forward_UserService_UpdateUser_0 = runtime.ForwardResponseMessage - forward_User_DeleteUser_0 = runtime.ForwardResponseMessage + forward_UserService_DeleteUser_0 = runtime.ForwardResponseMessage - forward_User_DownloadCliConfig_0 = runtime.ForwardResponseMessage + forward_UserService_DownloadCliConfig_0 = runtime.ForwardResponseMessage - forward_User_UserListApiKeys_0 = runtime.ForwardResponseMessage + forward_UserService_UserListApiKeys_0 = runtime.ForwardResponseMessage - forward_User_UserDeleteApiKeys_0 = runtime.ForwardResponseMessage + forward_UserService_UserDeleteApiKeys_0 = runtime.ForwardResponseMessage - forward_User_UserForgotPassword_0 = runtime.ForwardResponseMessage + forward_UserService_UserForgotPassword_0 = runtime.ForwardResponseMessage ) diff --git a/proto/rpc/user/user.proto b/proto/rpc/user/user.proto index 2987f3ce..24f205e8 100644 --- a/proto/rpc/user/user.proto +++ b/proto/rpc/user/user.proto @@ -1,5 +1,5 @@ syntax = "proto3"; -package paralus.dev.rpc.v3; +package paralus.dev.rpc.user.v3; import "google/protobuf/timestamp.proto"; import "google/api/annotations.proto"; @@ -67,16 +67,16 @@ message ApiKeyResponse { string name = 5; } -message ApiKeyResponseList { repeated ApiKeyResponse items = 1; } +message UserListApiKeysResponse { repeated ApiKeyResponse items = 1; } -message ForgotPasswordRequest { string username = 1; } +message UserForgotPasswordRequest { string username = 1; } -message ForgotPasswordResponse { string recoveryLink = 1; } +message UserForgotPasswordResponse { string recoveryLink = 1; } -message DeleteUserResponse {} +message UserDeleteApiKeysResponse {} message CliConfigRequest {} -service User { +service UserService { rpc CreateUser(paralus.dev.types.user.v3.User) returns (paralus.dev.types.user.v3.User) { option (google.api.http) = { @@ -121,7 +121,7 @@ service User { }; }; - rpc DeleteUser(paralus.dev.types.user.v3.User) returns (DeleteUserResponse) { + rpc DeleteUser(paralus.dev.types.user.v3.User) returns (UserDeleteApiKeysResponse) { option (google.api.http) = { delete : "/auth/v3/user/{metadata.name}" }; @@ -141,19 +141,19 @@ service User { }; }; - rpc UserListApiKeys(ApiKeyRequest) returns (ApiKeyResponseList) { + rpc UserListApiKeys(ApiKeyRequest) returns (UserListApiKeysResponse) { option (google.api.http) = { get : "/auth/v3/user/{username}/apikeys" }; }; - rpc UserDeleteApiKeys(ApiKeyRequest) returns (DeleteUserResponse) { + rpc UserDeleteApiKeys(ApiKeyRequest) returns (UserDeleteApiKeysResponse) { option (google.api.http) = { delete : "/auth/v3/user/{username}/apikeys/{id}" }; }; - rpc UserForgotPassword(ForgotPasswordRequest) returns (ForgotPasswordResponse) { + rpc UserForgotPassword(UserForgotPasswordRequest) returns (UserForgotPasswordResponse) { option (google.api.http) = { get : "/auth/v3/user/{username}/forgotpassword" }; diff --git a/proto/rpc/user/user_grpc.pb.go b/proto/rpc/user/user_grpc.pb.go index 8e408cdf..160be70a 100644 --- a/proto/rpc/user/user_grpc.pb.go +++ b/proto/rpc/user/user_grpc.pb.go @@ -4,7 +4,7 @@ // - protoc (unknown) // source: proto/rpc/user/user.proto -package rpcv3 +package userv3 import ( context "context" @@ -20,408 +20,408 @@ import ( // Requires gRPC-Go v1.32.0 or later. const _ = grpc.SupportPackageIsVersion7 -// UserClient is the client API for User service. +// UserServiceClient is the client API for UserService service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. -type UserClient interface { +type UserServiceClient interface { CreateUser(ctx context.Context, in *v3.User, opts ...grpc.CallOption) (*v3.User, error) GetUsers(ctx context.Context, in *v31.QueryOptions, opts ...grpc.CallOption) (*v3.UserList, error) GetUser(ctx context.Context, in *v3.User, opts ...grpc.CallOption) (*v3.User, error) GetUserInfo(ctx context.Context, in *v3.User, opts ...grpc.CallOption) (*v3.UserInfo, error) UpdateUser(ctx context.Context, in *v3.User, opts ...grpc.CallOption) (*v3.User, error) - DeleteUser(ctx context.Context, in *v3.User, opts ...grpc.CallOption) (*DeleteUserResponse, error) + DeleteUser(ctx context.Context, in *v3.User, opts ...grpc.CallOption) (*UserDeleteApiKeysResponse, error) DownloadCliConfig(ctx context.Context, in *CliConfigRequest, opts ...grpc.CallOption) (*v31.HttpBody, error) - UserListApiKeys(ctx context.Context, in *ApiKeyRequest, opts ...grpc.CallOption) (*ApiKeyResponseList, error) - UserDeleteApiKeys(ctx context.Context, in *ApiKeyRequest, opts ...grpc.CallOption) (*DeleteUserResponse, error) - UserForgotPassword(ctx context.Context, in *ForgotPasswordRequest, opts ...grpc.CallOption) (*ForgotPasswordResponse, error) + UserListApiKeys(ctx context.Context, in *ApiKeyRequest, opts ...grpc.CallOption) (*UserListApiKeysResponse, error) + UserDeleteApiKeys(ctx context.Context, in *ApiKeyRequest, opts ...grpc.CallOption) (*UserDeleteApiKeysResponse, error) + UserForgotPassword(ctx context.Context, in *UserForgotPasswordRequest, opts ...grpc.CallOption) (*UserForgotPasswordResponse, error) } -type userClient struct { +type userServiceClient struct { cc grpc.ClientConnInterface } -func NewUserClient(cc grpc.ClientConnInterface) UserClient { - return &userClient{cc} +func NewUserServiceClient(cc grpc.ClientConnInterface) UserServiceClient { + return &userServiceClient{cc} } -func (c *userClient) CreateUser(ctx context.Context, in *v3.User, opts ...grpc.CallOption) (*v3.User, error) { +func (c *userServiceClient) CreateUser(ctx context.Context, in *v3.User, opts ...grpc.CallOption) (*v3.User, error) { out := new(v3.User) - err := c.cc.Invoke(ctx, "/paralus.dev.rpc.v3.User/CreateUser", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.rpc.user.v3.UserService/CreateUser", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *userClient) GetUsers(ctx context.Context, in *v31.QueryOptions, opts ...grpc.CallOption) (*v3.UserList, error) { +func (c *userServiceClient) GetUsers(ctx context.Context, in *v31.QueryOptions, opts ...grpc.CallOption) (*v3.UserList, error) { out := new(v3.UserList) - err := c.cc.Invoke(ctx, "/paralus.dev.rpc.v3.User/GetUsers", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.rpc.user.v3.UserService/GetUsers", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *userClient) GetUser(ctx context.Context, in *v3.User, opts ...grpc.CallOption) (*v3.User, error) { +func (c *userServiceClient) GetUser(ctx context.Context, in *v3.User, opts ...grpc.CallOption) (*v3.User, error) { out := new(v3.User) - err := c.cc.Invoke(ctx, "/paralus.dev.rpc.v3.User/GetUser", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.rpc.user.v3.UserService/GetUser", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *userClient) GetUserInfo(ctx context.Context, in *v3.User, opts ...grpc.CallOption) (*v3.UserInfo, error) { +func (c *userServiceClient) GetUserInfo(ctx context.Context, in *v3.User, opts ...grpc.CallOption) (*v3.UserInfo, error) { out := new(v3.UserInfo) - err := c.cc.Invoke(ctx, "/paralus.dev.rpc.v3.User/GetUserInfo", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.rpc.user.v3.UserService/GetUserInfo", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *userClient) UpdateUser(ctx context.Context, in *v3.User, opts ...grpc.CallOption) (*v3.User, error) { +func (c *userServiceClient) UpdateUser(ctx context.Context, in *v3.User, opts ...grpc.CallOption) (*v3.User, error) { out := new(v3.User) - err := c.cc.Invoke(ctx, "/paralus.dev.rpc.v3.User/UpdateUser", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.rpc.user.v3.UserService/UpdateUser", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *userClient) DeleteUser(ctx context.Context, in *v3.User, opts ...grpc.CallOption) (*DeleteUserResponse, error) { - out := new(DeleteUserResponse) - err := c.cc.Invoke(ctx, "/paralus.dev.rpc.v3.User/DeleteUser", in, out, opts...) +func (c *userServiceClient) DeleteUser(ctx context.Context, in *v3.User, opts ...grpc.CallOption) (*UserDeleteApiKeysResponse, error) { + out := new(UserDeleteApiKeysResponse) + err := c.cc.Invoke(ctx, "/paralus.dev.rpc.user.v3.UserService/DeleteUser", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *userClient) DownloadCliConfig(ctx context.Context, in *CliConfigRequest, opts ...grpc.CallOption) (*v31.HttpBody, error) { +func (c *userServiceClient) DownloadCliConfig(ctx context.Context, in *CliConfigRequest, opts ...grpc.CallOption) (*v31.HttpBody, error) { out := new(v31.HttpBody) - err := c.cc.Invoke(ctx, "/paralus.dev.rpc.v3.User/DownloadCliConfig", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.rpc.user.v3.UserService/DownloadCliConfig", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *userClient) UserListApiKeys(ctx context.Context, in *ApiKeyRequest, opts ...grpc.CallOption) (*ApiKeyResponseList, error) { - out := new(ApiKeyResponseList) - err := c.cc.Invoke(ctx, "/paralus.dev.rpc.v3.User/UserListApiKeys", in, out, opts...) +func (c *userServiceClient) UserListApiKeys(ctx context.Context, in *ApiKeyRequest, opts ...grpc.CallOption) (*UserListApiKeysResponse, error) { + out := new(UserListApiKeysResponse) + err := c.cc.Invoke(ctx, "/paralus.dev.rpc.user.v3.UserService/UserListApiKeys", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *userClient) UserDeleteApiKeys(ctx context.Context, in *ApiKeyRequest, opts ...grpc.CallOption) (*DeleteUserResponse, error) { - out := new(DeleteUserResponse) - err := c.cc.Invoke(ctx, "/paralus.dev.rpc.v3.User/UserDeleteApiKeys", in, out, opts...) +func (c *userServiceClient) UserDeleteApiKeys(ctx context.Context, in *ApiKeyRequest, opts ...grpc.CallOption) (*UserDeleteApiKeysResponse, error) { + out := new(UserDeleteApiKeysResponse) + err := c.cc.Invoke(ctx, "/paralus.dev.rpc.user.v3.UserService/UserDeleteApiKeys", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *userClient) UserForgotPassword(ctx context.Context, in *ForgotPasswordRequest, opts ...grpc.CallOption) (*ForgotPasswordResponse, error) { - out := new(ForgotPasswordResponse) - err := c.cc.Invoke(ctx, "/paralus.dev.rpc.v3.User/UserForgotPassword", in, out, opts...) +func (c *userServiceClient) UserForgotPassword(ctx context.Context, in *UserForgotPasswordRequest, opts ...grpc.CallOption) (*UserForgotPasswordResponse, error) { + out := new(UserForgotPasswordResponse) + err := c.cc.Invoke(ctx, "/paralus.dev.rpc.user.v3.UserService/UserForgotPassword", in, out, opts...) if err != nil { return nil, err } return out, nil } -// UserServer is the server API for User service. -// All implementations should embed UnimplementedUserServer +// UserServiceServer is the server API for UserService service. +// All implementations should embed UnimplementedUserServiceServer // for forward compatibility -type UserServer interface { +type UserServiceServer interface { CreateUser(context.Context, *v3.User) (*v3.User, error) GetUsers(context.Context, *v31.QueryOptions) (*v3.UserList, error) GetUser(context.Context, *v3.User) (*v3.User, error) GetUserInfo(context.Context, *v3.User) (*v3.UserInfo, error) UpdateUser(context.Context, *v3.User) (*v3.User, error) - DeleteUser(context.Context, *v3.User) (*DeleteUserResponse, error) + DeleteUser(context.Context, *v3.User) (*UserDeleteApiKeysResponse, error) DownloadCliConfig(context.Context, *CliConfigRequest) (*v31.HttpBody, error) - UserListApiKeys(context.Context, *ApiKeyRequest) (*ApiKeyResponseList, error) - UserDeleteApiKeys(context.Context, *ApiKeyRequest) (*DeleteUserResponse, error) - UserForgotPassword(context.Context, *ForgotPasswordRequest) (*ForgotPasswordResponse, error) + UserListApiKeys(context.Context, *ApiKeyRequest) (*UserListApiKeysResponse, error) + UserDeleteApiKeys(context.Context, *ApiKeyRequest) (*UserDeleteApiKeysResponse, error) + UserForgotPassword(context.Context, *UserForgotPasswordRequest) (*UserForgotPasswordResponse, error) } -// UnimplementedUserServer should be embedded to have forward compatible implementations. -type UnimplementedUserServer struct { +// UnimplementedUserServiceServer should be embedded to have forward compatible implementations. +type UnimplementedUserServiceServer struct { } -func (UnimplementedUserServer) CreateUser(context.Context, *v3.User) (*v3.User, error) { +func (UnimplementedUserServiceServer) CreateUser(context.Context, *v3.User) (*v3.User, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateUser not implemented") } -func (UnimplementedUserServer) GetUsers(context.Context, *v31.QueryOptions) (*v3.UserList, error) { +func (UnimplementedUserServiceServer) GetUsers(context.Context, *v31.QueryOptions) (*v3.UserList, error) { return nil, status.Errorf(codes.Unimplemented, "method GetUsers not implemented") } -func (UnimplementedUserServer) GetUser(context.Context, *v3.User) (*v3.User, error) { +func (UnimplementedUserServiceServer) GetUser(context.Context, *v3.User) (*v3.User, error) { return nil, status.Errorf(codes.Unimplemented, "method GetUser not implemented") } -func (UnimplementedUserServer) GetUserInfo(context.Context, *v3.User) (*v3.UserInfo, error) { +func (UnimplementedUserServiceServer) GetUserInfo(context.Context, *v3.User) (*v3.UserInfo, error) { return nil, status.Errorf(codes.Unimplemented, "method GetUserInfo not implemented") } -func (UnimplementedUserServer) UpdateUser(context.Context, *v3.User) (*v3.User, error) { +func (UnimplementedUserServiceServer) UpdateUser(context.Context, *v3.User) (*v3.User, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateUser not implemented") } -func (UnimplementedUserServer) DeleteUser(context.Context, *v3.User) (*DeleteUserResponse, error) { +func (UnimplementedUserServiceServer) DeleteUser(context.Context, *v3.User) (*UserDeleteApiKeysResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteUser not implemented") } -func (UnimplementedUserServer) DownloadCliConfig(context.Context, *CliConfigRequest) (*v31.HttpBody, error) { +func (UnimplementedUserServiceServer) DownloadCliConfig(context.Context, *CliConfigRequest) (*v31.HttpBody, error) { return nil, status.Errorf(codes.Unimplemented, "method DownloadCliConfig not implemented") } -func (UnimplementedUserServer) UserListApiKeys(context.Context, *ApiKeyRequest) (*ApiKeyResponseList, error) { +func (UnimplementedUserServiceServer) UserListApiKeys(context.Context, *ApiKeyRequest) (*UserListApiKeysResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method UserListApiKeys not implemented") } -func (UnimplementedUserServer) UserDeleteApiKeys(context.Context, *ApiKeyRequest) (*DeleteUserResponse, error) { +func (UnimplementedUserServiceServer) UserDeleteApiKeys(context.Context, *ApiKeyRequest) (*UserDeleteApiKeysResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method UserDeleteApiKeys not implemented") } -func (UnimplementedUserServer) UserForgotPassword(context.Context, *ForgotPasswordRequest) (*ForgotPasswordResponse, error) { +func (UnimplementedUserServiceServer) UserForgotPassword(context.Context, *UserForgotPasswordRequest) (*UserForgotPasswordResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method UserForgotPassword not implemented") } -// UnsafeUserServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to UserServer will +// UnsafeUserServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to UserServiceServer will // result in compilation errors. -type UnsafeUserServer interface { - mustEmbedUnimplementedUserServer() +type UnsafeUserServiceServer interface { + mustEmbedUnimplementedUserServiceServer() } -func RegisterUserServer(s grpc.ServiceRegistrar, srv UserServer) { - s.RegisterService(&User_ServiceDesc, srv) +func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer) { + s.RegisterService(&UserService_ServiceDesc, srv) } -func _User_CreateUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _UserService_CreateUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v3.User) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(UserServer).CreateUser(ctx, in) + return srv.(UserServiceServer).CreateUser(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.rpc.v3.User/CreateUser", + FullMethod: "/paralus.dev.rpc.user.v3.UserService/CreateUser", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(UserServer).CreateUser(ctx, req.(*v3.User)) + return srv.(UserServiceServer).CreateUser(ctx, req.(*v3.User)) } return interceptor(ctx, in, info, handler) } -func _User_GetUsers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _UserService_GetUsers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v31.QueryOptions) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(UserServer).GetUsers(ctx, in) + return srv.(UserServiceServer).GetUsers(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.rpc.v3.User/GetUsers", + FullMethod: "/paralus.dev.rpc.user.v3.UserService/GetUsers", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(UserServer).GetUsers(ctx, req.(*v31.QueryOptions)) + return srv.(UserServiceServer).GetUsers(ctx, req.(*v31.QueryOptions)) } return interceptor(ctx, in, info, handler) } -func _User_GetUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _UserService_GetUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v3.User) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(UserServer).GetUser(ctx, in) + return srv.(UserServiceServer).GetUser(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.rpc.v3.User/GetUser", + FullMethod: "/paralus.dev.rpc.user.v3.UserService/GetUser", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(UserServer).GetUser(ctx, req.(*v3.User)) + return srv.(UserServiceServer).GetUser(ctx, req.(*v3.User)) } return interceptor(ctx, in, info, handler) } -func _User_GetUserInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _UserService_GetUserInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v3.User) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(UserServer).GetUserInfo(ctx, in) + return srv.(UserServiceServer).GetUserInfo(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.rpc.v3.User/GetUserInfo", + FullMethod: "/paralus.dev.rpc.user.v3.UserService/GetUserInfo", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(UserServer).GetUserInfo(ctx, req.(*v3.User)) + return srv.(UserServiceServer).GetUserInfo(ctx, req.(*v3.User)) } return interceptor(ctx, in, info, handler) } -func _User_UpdateUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _UserService_UpdateUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v3.User) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(UserServer).UpdateUser(ctx, in) + return srv.(UserServiceServer).UpdateUser(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.rpc.v3.User/UpdateUser", + FullMethod: "/paralus.dev.rpc.user.v3.UserService/UpdateUser", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(UserServer).UpdateUser(ctx, req.(*v3.User)) + return srv.(UserServiceServer).UpdateUser(ctx, req.(*v3.User)) } return interceptor(ctx, in, info, handler) } -func _User_DeleteUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _UserService_DeleteUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v3.User) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(UserServer).DeleteUser(ctx, in) + return srv.(UserServiceServer).DeleteUser(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.rpc.v3.User/DeleteUser", + FullMethod: "/paralus.dev.rpc.user.v3.UserService/DeleteUser", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(UserServer).DeleteUser(ctx, req.(*v3.User)) + return srv.(UserServiceServer).DeleteUser(ctx, req.(*v3.User)) } return interceptor(ctx, in, info, handler) } -func _User_DownloadCliConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _UserService_DownloadCliConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(CliConfigRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(UserServer).DownloadCliConfig(ctx, in) + return srv.(UserServiceServer).DownloadCliConfig(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.rpc.v3.User/DownloadCliConfig", + FullMethod: "/paralus.dev.rpc.user.v3.UserService/DownloadCliConfig", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(UserServer).DownloadCliConfig(ctx, req.(*CliConfigRequest)) + return srv.(UserServiceServer).DownloadCliConfig(ctx, req.(*CliConfigRequest)) } return interceptor(ctx, in, info, handler) } -func _User_UserListApiKeys_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _UserService_UserListApiKeys_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(ApiKeyRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(UserServer).UserListApiKeys(ctx, in) + return srv.(UserServiceServer).UserListApiKeys(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.rpc.v3.User/UserListApiKeys", + FullMethod: "/paralus.dev.rpc.user.v3.UserService/UserListApiKeys", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(UserServer).UserListApiKeys(ctx, req.(*ApiKeyRequest)) + return srv.(UserServiceServer).UserListApiKeys(ctx, req.(*ApiKeyRequest)) } return interceptor(ctx, in, info, handler) } -func _User_UserDeleteApiKeys_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _UserService_UserDeleteApiKeys_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(ApiKeyRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(UserServer).UserDeleteApiKeys(ctx, in) + return srv.(UserServiceServer).UserDeleteApiKeys(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.rpc.v3.User/UserDeleteApiKeys", + FullMethod: "/paralus.dev.rpc.user.v3.UserService/UserDeleteApiKeys", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(UserServer).UserDeleteApiKeys(ctx, req.(*ApiKeyRequest)) + return srv.(UserServiceServer).UserDeleteApiKeys(ctx, req.(*ApiKeyRequest)) } return interceptor(ctx, in, info, handler) } -func _User_UserForgotPassword_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ForgotPasswordRequest) +func _UserService_UserForgotPassword_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UserForgotPasswordRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(UserServer).UserForgotPassword(ctx, in) + return srv.(UserServiceServer).UserForgotPassword(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.rpc.v3.User/UserForgotPassword", + FullMethod: "/paralus.dev.rpc.user.v3.UserService/UserForgotPassword", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(UserServer).UserForgotPassword(ctx, req.(*ForgotPasswordRequest)) + return srv.(UserServiceServer).UserForgotPassword(ctx, req.(*UserForgotPasswordRequest)) } return interceptor(ctx, in, info, handler) } -// User_ServiceDesc is the grpc.ServiceDesc for User service. +// UserService_ServiceDesc is the grpc.ServiceDesc for UserService service. // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) -var User_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "paralus.dev.rpc.v3.User", - HandlerType: (*UserServer)(nil), +var UserService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "paralus.dev.rpc.user.v3.UserService", + HandlerType: (*UserServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateUser", - Handler: _User_CreateUser_Handler, + Handler: _UserService_CreateUser_Handler, }, { MethodName: "GetUsers", - Handler: _User_GetUsers_Handler, + Handler: _UserService_GetUsers_Handler, }, { MethodName: "GetUser", - Handler: _User_GetUser_Handler, + Handler: _UserService_GetUser_Handler, }, { MethodName: "GetUserInfo", - Handler: _User_GetUserInfo_Handler, + Handler: _UserService_GetUserInfo_Handler, }, { MethodName: "UpdateUser", - Handler: _User_UpdateUser_Handler, + Handler: _UserService_UpdateUser_Handler, }, { MethodName: "DeleteUser", - Handler: _User_DeleteUser_Handler, + Handler: _UserService_DeleteUser_Handler, }, { MethodName: "DownloadCliConfig", - Handler: _User_DownloadCliConfig_Handler, + Handler: _UserService_DownloadCliConfig_Handler, }, { MethodName: "UserListApiKeys", - Handler: _User_UserListApiKeys_Handler, + Handler: _UserService_UserListApiKeys_Handler, }, { MethodName: "UserDeleteApiKeys", - Handler: _User_UserDeleteApiKeys_Handler, + Handler: _UserService_UserDeleteApiKeys_Handler, }, { MethodName: "UserForgotPassword", - Handler: _User_UserForgotPassword_Handler, + Handler: _UserService_UserForgotPassword_Handler, }, }, Streams: []grpc.StreamDesc{}, diff --git a/proto/rpc/v3/auth.pb.go b/proto/rpc/v3/auth.pb.go index 3d7ba4ef..63cfcff7 100644 --- a/proto/rpc/v3/auth.pb.go +++ b/proto/rpc/v3/auth.pb.go @@ -1,10 +1,10 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.27.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: proto/rpc/v3/auth.proto -package rpcv3 +package authv3 import ( v3 "github.com/paralus/paralus/proto/types/commonpb/v3" @@ -24,32 +24,34 @@ var File_proto_rpc_v3_auth_proto protoreflect.FileDescriptor var file_proto_rpc_v3_auth_proto_rawDesc = []byte{ 0x0a, 0x17, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x76, 0x33, 0x2f, 0x61, - 0x75, 0x74, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x70, 0x61, 0x72, 0x61, 0x6c, - 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x76, 0x33, 0x1a, 0x22, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, - 0x6e, 0x70, 0x62, 0x2f, 0x76, 0x33, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x32, 0x87, 0x01, 0x0a, 0x04, 0x41, 0x75, 0x74, 0x68, 0x12, 0x7f, 0x0a, 0x10, 0x49, 0x73, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x12, 0x34, - 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, - 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x49, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, - 0x76, 0x33, 0x2e, 0x49, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x6f, - 0x77, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0xbd, 0x01, 0x0a, 0x16, - 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x72, 0x70, 0x63, 0x2e, 0x76, 0x33, 0x42, 0x09, 0x41, 0x75, 0x74, 0x68, 0x50, 0x72, 0x6f, 0x74, - 0x6f, 0x50, 0x01, 0x5a, 0x2d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, - 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x76, 0x33, 0x3b, 0x72, 0x70, 0x63, - 0x76, 0x33, 0xa2, 0x02, 0x03, 0x50, 0x44, 0x52, 0xaa, 0x02, 0x12, 0x50, 0x61, 0x72, 0x61, 0x6c, - 0x75, 0x73, 0x2e, 0x44, 0x65, 0x76, 0x2e, 0x52, 0x70, 0x63, 0x2e, 0x56, 0x33, 0xca, 0x02, 0x12, - 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x5c, 0x44, 0x65, 0x76, 0x5c, 0x52, 0x70, 0x63, 0x5c, - 0x56, 0x33, 0xe2, 0x02, 0x1e, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x5c, 0x44, 0x65, 0x76, - 0x5c, 0x52, 0x70, 0x63, 0x5c, 0x56, 0x33, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, - 0x61, 0x74, 0x61, 0xea, 0x02, 0x15, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x3a, 0x3a, 0x44, - 0x65, 0x76, 0x3a, 0x3a, 0x52, 0x70, 0x63, 0x3a, 0x3a, 0x56, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x33, + 0x75, 0x74, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x70, 0x61, 0x72, 0x61, 0x6c, + 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, + 0x76, 0x33, 0x1a, 0x22, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, + 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x70, 0x62, 0x2f, 0x76, 0x33, 0x2f, 0x61, 0x75, 0x74, 0x68, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0x8e, 0x01, 0x0a, 0x0b, 0x41, 0x75, 0x74, 0x68, 0x53, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x7f, 0x0a, 0x10, 0x49, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x12, 0x34, 0x2e, 0x70, 0x61, 0x72, + 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, + 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x49, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x35, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, + 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x49, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0xd9, 0x01, 0x0a, 0x1b, 0x63, 0x6f, 0x6d, 0x2e, + 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x72, 0x70, 0x63, 0x2e, + 0x61, 0x75, 0x74, 0x68, 0x2e, 0x76, 0x33, 0x42, 0x09, 0x41, 0x75, 0x74, 0x68, 0x50, 0x72, 0x6f, + 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, + 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, + 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x76, 0x33, 0x3b, 0x61, 0x75, + 0x74, 0x68, 0x76, 0x33, 0xa2, 0x02, 0x04, 0x50, 0x44, 0x52, 0x41, 0xaa, 0x02, 0x17, 0x50, 0x61, + 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x44, 0x65, 0x76, 0x2e, 0x52, 0x70, 0x63, 0x2e, 0x41, 0x75, + 0x74, 0x68, 0x2e, 0x56, 0x33, 0xca, 0x02, 0x17, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x5c, + 0x44, 0x65, 0x76, 0x5c, 0x52, 0x70, 0x63, 0x5c, 0x41, 0x75, 0x74, 0x68, 0x5c, 0x56, 0x33, 0xe2, + 0x02, 0x23, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x5c, 0x44, 0x65, 0x76, 0x5c, 0x52, 0x70, + 0x63, 0x5c, 0x41, 0x75, 0x74, 0x68, 0x5c, 0x56, 0x33, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1b, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x3a, + 0x3a, 0x44, 0x65, 0x76, 0x3a, 0x3a, 0x52, 0x70, 0x63, 0x3a, 0x3a, 0x41, 0x75, 0x74, 0x68, 0x3a, + 0x3a, 0x56, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var file_proto_rpc_v3_auth_proto_goTypes = []interface{}{ @@ -57,8 +59,8 @@ var file_proto_rpc_v3_auth_proto_goTypes = []interface{}{ (*v3.IsRequestAllowedResponse)(nil), // 1: paralus.dev.types.common.v3.IsRequestAllowedResponse } var file_proto_rpc_v3_auth_proto_depIdxs = []int32{ - 0, // 0: paralus.dev.rpc.v3.Auth.IsRequestAllowed:input_type -> paralus.dev.types.common.v3.IsRequestAllowedRequest - 1, // 1: paralus.dev.rpc.v3.Auth.IsRequestAllowed:output_type -> paralus.dev.types.common.v3.IsRequestAllowedResponse + 0, // 0: paralus.dev.rpc.auth.v3.AuthService.IsRequestAllowed:input_type -> paralus.dev.types.common.v3.IsRequestAllowedRequest + 1, // 1: paralus.dev.rpc.auth.v3.AuthService.IsRequestAllowed:output_type -> paralus.dev.types.common.v3.IsRequestAllowedResponse 1, // [1:2] is the sub-list for method output_type 0, // [0:1] is the sub-list for method input_type 0, // [0:0] is the sub-list for extension type_name diff --git a/proto/rpc/v3/auth.proto b/proto/rpc/v3/auth.proto index 736f6fd8..0cb9f288 100644 --- a/proto/rpc/v3/auth.proto +++ b/proto/rpc/v3/auth.proto @@ -1,9 +1,9 @@ syntax = "proto3"; -package paralus.dev.rpc.v3; +package paralus.dev.rpc.auth.v3; import "proto/types/commonpb/v3/auth.proto"; -service Auth { +service AuthService { rpc IsRequestAllowed(paralus.dev.types.common.v3.IsRequestAllowedRequest) returns (paralus.dev.types.common.v3.IsRequestAllowedResponse); // rpc GetSession(GetSessionRequest) returns (GetSessionResponse); // rpc GetAPIKey(GetAPIKeyRequest) returns (GetAPIKeyResponse); diff --git a/proto/rpc/v3/auth_grpc.pb.go b/proto/rpc/v3/auth_grpc.pb.go index 87c04712..2aeedf04 100644 --- a/proto/rpc/v3/auth_grpc.pb.go +++ b/proto/rpc/v3/auth_grpc.pb.go @@ -4,7 +4,7 @@ // - protoc (unknown) // source: proto/rpc/v3/auth.proto -package rpcv3 +package authv3 import ( context "context" @@ -19,84 +19,84 @@ import ( // Requires gRPC-Go v1.32.0 or later. const _ = grpc.SupportPackageIsVersion7 -// AuthClient is the client API for Auth service. +// AuthServiceClient is the client API for AuthService service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. -type AuthClient interface { +type AuthServiceClient interface { IsRequestAllowed(ctx context.Context, in *v3.IsRequestAllowedRequest, opts ...grpc.CallOption) (*v3.IsRequestAllowedResponse, error) } -type authClient struct { +type authServiceClient struct { cc grpc.ClientConnInterface } -func NewAuthClient(cc grpc.ClientConnInterface) AuthClient { - return &authClient{cc} +func NewAuthServiceClient(cc grpc.ClientConnInterface) AuthServiceClient { + return &authServiceClient{cc} } -func (c *authClient) IsRequestAllowed(ctx context.Context, in *v3.IsRequestAllowedRequest, opts ...grpc.CallOption) (*v3.IsRequestAllowedResponse, error) { +func (c *authServiceClient) IsRequestAllowed(ctx context.Context, in *v3.IsRequestAllowedRequest, opts ...grpc.CallOption) (*v3.IsRequestAllowedResponse, error) { out := new(v3.IsRequestAllowedResponse) - err := c.cc.Invoke(ctx, "/paralus.dev.rpc.v3.Auth/IsRequestAllowed", in, out, opts...) + err := c.cc.Invoke(ctx, "/paralus.dev.rpc.auth.v3.AuthService/IsRequestAllowed", in, out, opts...) if err != nil { return nil, err } return out, nil } -// AuthServer is the server API for Auth service. -// All implementations should embed UnimplementedAuthServer +// AuthServiceServer is the server API for AuthService service. +// All implementations should embed UnimplementedAuthServiceServer // for forward compatibility -type AuthServer interface { +type AuthServiceServer interface { IsRequestAllowed(context.Context, *v3.IsRequestAllowedRequest) (*v3.IsRequestAllowedResponse, error) } -// UnimplementedAuthServer should be embedded to have forward compatible implementations. -type UnimplementedAuthServer struct { +// UnimplementedAuthServiceServer should be embedded to have forward compatible implementations. +type UnimplementedAuthServiceServer struct { } -func (UnimplementedAuthServer) IsRequestAllowed(context.Context, *v3.IsRequestAllowedRequest) (*v3.IsRequestAllowedResponse, error) { +func (UnimplementedAuthServiceServer) IsRequestAllowed(context.Context, *v3.IsRequestAllowedRequest) (*v3.IsRequestAllowedResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method IsRequestAllowed not implemented") } -// UnsafeAuthServer may be embedded to opt out of forward compatibility for this service. -// Use of this interface is not recommended, as added methods to AuthServer will +// UnsafeAuthServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to AuthServiceServer will // result in compilation errors. -type UnsafeAuthServer interface { - mustEmbedUnimplementedAuthServer() +type UnsafeAuthServiceServer interface { + mustEmbedUnimplementedAuthServiceServer() } -func RegisterAuthServer(s grpc.ServiceRegistrar, srv AuthServer) { - s.RegisterService(&Auth_ServiceDesc, srv) +func RegisterAuthServiceServer(s grpc.ServiceRegistrar, srv AuthServiceServer) { + s.RegisterService(&AuthService_ServiceDesc, srv) } -func _Auth_IsRequestAllowed_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { +func _AuthService_IsRequestAllowed_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v3.IsRequestAllowedRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(AuthServer).IsRequestAllowed(ctx, in) + return srv.(AuthServiceServer).IsRequestAllowed(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/paralus.dev.rpc.v3.Auth/IsRequestAllowed", + FullMethod: "/paralus.dev.rpc.auth.v3.AuthService/IsRequestAllowed", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(AuthServer).IsRequestAllowed(ctx, req.(*v3.IsRequestAllowedRequest)) + return srv.(AuthServiceServer).IsRequestAllowed(ctx, req.(*v3.IsRequestAllowedRequest)) } return interceptor(ctx, in, info, handler) } -// Auth_ServiceDesc is the grpc.ServiceDesc for Auth service. +// AuthService_ServiceDesc is the grpc.ServiceDesc for AuthService service. // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) -var Auth_ServiceDesc = grpc.ServiceDesc{ - ServiceName: "paralus.dev.rpc.v3.Auth", - HandlerType: (*AuthServer)(nil), +var AuthService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "paralus.dev.rpc.auth.v3.AuthService", + HandlerType: (*AuthServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "IsRequestAllowed", - Handler: _Auth_IsRequestAllowed_Handler, + Handler: _AuthService_IsRequestAllowed_Handler, }, }, Streams: []grpc.StreamDesc{}, diff --git a/proto/types/authz/authz.pb.go b/proto/types/authz/authz.pb.go index 73a86eed..6fede104 100644 --- a/proto/types/authz/authz.pb.go +++ b/proto/types/authz/authz.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.27.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: proto/types/authz/authz.proto diff --git a/proto/types/commonpb/v3/artifacts.pb.go b/proto/types/commonpb/v3/artifacts.pb.go index 7258efaf..5370a137 100644 --- a/proto/types/commonpb/v3/artifacts.pb.go +++ b/proto/types/commonpb/v3/artifacts.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.27.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: proto/types/commonpb/v3/artifacts.proto @@ -8,7 +8,6 @@ package commonv3 import ( _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" @@ -866,433 +865,431 @@ var file_proto_types_commonpb_v3_artifacts_proto_rawDesc = []byte{ 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, - 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, - 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa9, 0x02, 0x0a, 0x04, 0x46, 0x69, 0x6c, 0x65, - 0x12, 0x3a, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x26, - 0x92, 0x41, 0x23, 0x2a, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x32, 0x1b, 0x72, 0x65, 0x6c, 0x61, 0x74, - 0x69, 0x76, 0x65, 0x20, 0x70, 0x61, 0x74, 0x68, 0x20, 0x6f, 0x66, 0x20, 0x61, 0x20, 0x61, 0x72, - 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x4e, 0x0a, 0x04, - 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x3a, 0x92, 0x41, 0x37, 0x2a, - 0x04, 0x44, 0x61, 0x74, 0x61, 0x32, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x20, 0x69, 0x73, 0x20, 0x74, - 0x68, 0x65, 0x20, 0x62, 0x61, 0x73, 0x65, 0x36, 0x34, 0x20, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x65, - 0x64, 0x20, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, - 0x65, 0x20, 0x66, 0x69, 0x6c, 0x65, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x3a, 0x94, 0x01, 0x92, - 0x41, 0x90, 0x01, 0x0a, 0x5b, 0x2a, 0x04, 0x46, 0x69, 0x6c, 0x65, 0x32, 0x4c, 0x66, 0x69, 0x6c, - 0x65, 0x20, 0x72, 0x65, 0x70, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x74, 0x73, 0x20, 0x61, 0x6e, 0x20, - 0x66, 0x69, 0x6c, 0x65, 0x20, 0x28, 0x6f, 0x72, 0x20, 0x61, 0x20, 0x64, 0x69, 0x72, 0x65, 0x63, - 0x74, 0x6f, 0x72, 0x79, 0x29, 0x20, 0x6f, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x46, 0x69, 0x6c, - 0x65, 0x20, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x20, 0x62, 0x79, 0x20, 0x72, 0x65, 0x6c, 0x61, - 0x74, 0x69, 0x76, 0x65, 0x20, 0x70, 0x61, 0x74, 0x68, 0xd2, 0x01, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x32, 0x31, 0x7b, 0x22, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x20, 0x22, 0x73, 0x6f, 0x6d, 0x65, - 0x2d, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x2c, 0x22, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22, - 0x3a, 0x20, 0x22, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, - 0x74, 0x22, 0x7d, 0x22, 0x9d, 0x02, 0x0a, 0x14, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x65, 0x64, - 0x59, 0x41, 0x4d, 0x4c, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x12, 0x7a, 0x0a, 0x05, - 0x70, 0x61, 0x74, 0x68, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x70, 0x61, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa9, 0x02, 0x0a, 0x04, 0x46, 0x69, 0x6c, 0x65, 0x12, + 0x3a, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x26, 0x92, + 0x41, 0x23, 0x2a, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x32, 0x1b, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, + 0x76, 0x65, 0x20, 0x70, 0x61, 0x74, 0x68, 0x20, 0x6f, 0x66, 0x20, 0x61, 0x20, 0x61, 0x72, 0x74, + 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x4e, 0x0a, 0x04, 0x64, + 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x3a, 0x92, 0x41, 0x37, 0x2a, 0x04, + 0x44, 0x61, 0x74, 0x61, 0x32, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x20, 0x69, 0x73, 0x20, 0x74, 0x68, + 0x65, 0x20, 0x62, 0x61, 0x73, 0x65, 0x36, 0x34, 0x20, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x64, + 0x20, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, + 0x20, 0x66, 0x69, 0x6c, 0x65, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x3a, 0x94, 0x01, 0x92, 0x41, + 0x90, 0x01, 0x0a, 0x5b, 0x2a, 0x04, 0x46, 0x69, 0x6c, 0x65, 0x32, 0x4c, 0x66, 0x69, 0x6c, 0x65, + 0x20, 0x72, 0x65, 0x70, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x74, 0x73, 0x20, 0x61, 0x6e, 0x20, 0x66, + 0x69, 0x6c, 0x65, 0x20, 0x28, 0x6f, 0x72, 0x20, 0x61, 0x20, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, + 0x6f, 0x72, 0x79, 0x29, 0x20, 0x6f, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x46, 0x69, 0x6c, 0x65, + 0x20, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x20, 0x62, 0x79, 0x20, 0x72, 0x65, 0x6c, 0x61, 0x74, + 0x69, 0x76, 0x65, 0x20, 0x70, 0x61, 0x74, 0x68, 0xd2, 0x01, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x32, + 0x31, 0x7b, 0x22, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x20, 0x22, 0x73, 0x6f, 0x6d, 0x65, 0x2d, + 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x2c, 0x22, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x3a, + 0x20, 0x22, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, + 0x22, 0x7d, 0x22, 0x9d, 0x02, 0x0a, 0x14, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x65, 0x64, 0x59, + 0x41, 0x4d, 0x4c, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x12, 0x7a, 0x0a, 0x05, 0x70, + 0x61, 0x74, 0x68, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x70, 0x61, 0x72, + 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, + 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x42, 0x41, 0x92, + 0x41, 0x3e, 0x2a, 0x05, 0x50, 0x61, 0x74, 0x68, 0x73, 0x32, 0x35, 0x6c, 0x69, 0x73, 0x74, 0x20, + 0x6f, 0x66, 0x20, 0x59, 0x41, 0x4d, 0x4c, 0x20, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x20, 0x72, 0x65, + 0x70, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x74, 0x65, 0x64, 0x20, 0x62, 0x79, 0x20, 0x74, 0x68, 0x65, + 0x69, 0x72, 0x20, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x20, 0x70, 0x61, 0x74, 0x68, + 0x52, 0x05, 0x70, 0x61, 0x74, 0x68, 0x73, 0x3a, 0x88, 0x01, 0x92, 0x41, 0x84, 0x01, 0x0a, 0x41, + 0x2a, 0x16, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x65, 0x64, 0x20, 0x59, 0x41, 0x4d, 0x4c, 0x20, + 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x32, 0x1f, 0x72, 0x65, 0x70, 0x72, 0x65, 0x73, + 0x65, 0x6e, 0x74, 0x73, 0x20, 0x61, 0x20, 0x6c, 0x69, 0x73, 0x74, 0x20, 0x6f, 0x66, 0x20, 0x59, + 0x41, 0x4d, 0x4c, 0x20, 0x66, 0x69, 0x6c, 0x65, 0x73, 0xd2, 0x01, 0x05, 0x70, 0x61, 0x74, 0x68, + 0x73, 0x32, 0x3f, 0x7b, 0x22, 0x70, 0x61, 0x74, 0x68, 0x73, 0x22, 0x3a, 0x20, 0x5b, 0x7b, 0x22, + 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x20, 0x22, 0x66, 0x69, 0x6c, 0x65, 0x3a, 0x2f, 0x2f, 0x72, + 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x2f, 0x70, 0x61, 0x74, 0x68, 0x2f, 0x74, 0x6f, 0x2f, + 0x73, 0x6f, 0x6d, 0x65, 0x2f, 0x66, 0x69, 0x6c, 0x65, 0x2e, 0x79, 0x61, 0x6d, 0x6c, 0x22, 0x7d, + 0x5d, 0x7d, 0x22, 0xc8, 0x03, 0x0a, 0x14, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x65, 0x64, 0x48, + 0x65, 0x6c, 0x6d, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x12, 0x7d, 0x0a, 0x09, 0x63, + 0x68, 0x61, 0x72, 0x74, 0x50, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, + 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, + 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x46, 0x69, 0x6c, + 0x65, 0x42, 0x3c, 0x92, 0x41, 0x39, 0x2a, 0x09, 0x43, 0x68, 0x61, 0x72, 0x74, 0x50, 0x61, 0x74, + 0x68, 0x32, 0x2c, 0x72, 0x65, 0x70, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x74, 0x73, 0x20, 0x61, 0x20, + 0x48, 0x65, 0x6c, 0x6d, 0x20, 0x43, 0x68, 0x61, 0x72, 0x74, 0x20, 0x62, 0x79, 0x20, 0x69, 0x74, + 0x73, 0x20, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x20, 0x70, 0x61, 0x74, 0x68, 0x52, + 0x09, 0x63, 0x68, 0x61, 0x72, 0x74, 0x50, 0x61, 0x74, 0x68, 0x12, 0x86, 0x01, 0x0a, 0x0b, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x73, 0x50, 0x61, 0x74, 0x68, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x21, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, + 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x46, + 0x69, 0x6c, 0x65, 0x42, 0x41, 0x92, 0x41, 0x3e, 0x2a, 0x0b, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, + 0x50, 0x61, 0x74, 0x68, 0x73, 0x32, 0x2f, 0x72, 0x65, 0x70, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x74, + 0x73, 0x20, 0x61, 0x20, 0x48, 0x65, 0x6c, 0x6d, 0x20, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x20, + 0x62, 0x79, 0x20, 0x74, 0x68, 0x65, 0x69, 0x72, 0x20, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, + 0x65, 0x20, 0x70, 0x61, 0x74, 0x68, 0x52, 0x0b, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x50, 0x61, + 0x74, 0x68, 0x73, 0x3a, 0xa7, 0x01, 0x92, 0x41, 0xa3, 0x01, 0x0a, 0x5c, 0x2a, 0x16, 0x55, 0x70, + 0x6c, 0x6f, 0x61, 0x64, 0x65, 0x64, 0x20, 0x48, 0x65, 0x6c, 0x6d, 0x20, 0x41, 0x72, 0x74, 0x69, + 0x66, 0x61, 0x63, 0x74, 0x32, 0x36, 0x72, 0x65, 0x70, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x74, 0x73, + 0x20, 0x61, 0x6e, 0x20, 0x48, 0x65, 0x6c, 0x6d, 0x20, 0x63, 0x68, 0x61, 0x72, 0x74, 0x20, 0x61, + 0x6e, 0x64, 0x20, 0x7a, 0x65, 0x72, 0x6f, 0x20, 0x6f, 0x72, 0x20, 0x6d, 0x6f, 0x72, 0x65, 0x20, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x20, 0x66, 0x69, 0x6c, 0x65, 0x73, 0xd2, 0x01, 0x09, 0x63, + 0x68, 0x61, 0x72, 0x74, 0x50, 0x61, 0x74, 0x68, 0x32, 0x43, 0x7b, 0x22, 0x63, 0x68, 0x61, 0x72, + 0x74, 0x50, 0x61, 0x74, 0x68, 0x22, 0x3a, 0x20, 0x5b, 0x7b, 0x22, 0x6e, 0x61, 0x6d, 0x65, 0x22, + 0x3a, 0x20, 0x22, 0x66, 0x69, 0x6c, 0x65, 0x3a, 0x2f, 0x2f, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, + 0x76, 0x65, 0x2f, 0x70, 0x61, 0x74, 0x68, 0x2f, 0x74, 0x6f, 0x2f, 0x73, 0x6f, 0x6d, 0x65, 0x2f, + 0x63, 0x68, 0x61, 0x72, 0x74, 0x2e, 0x74, 0x67, 0x7a, 0x22, 0x7d, 0x5d, 0x7d, 0x22, 0xf1, 0x03, + 0x0a, 0x0d, 0x59, 0x41, 0x4d, 0x4c, 0x49, 0x6e, 0x47, 0x69, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x12, + 0x4b, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x42, 0x2b, 0x92, 0x41, 0x28, 0x2a, 0x0a, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x6f, 0x72, 0x79, 0x32, 0x1a, 0x6e, 0x61, 0x6d, 0x65, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, + 0x65, 0x20, 0x67, 0x69, 0x74, 0x20, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, + 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x4e, 0x0a, 0x08, + 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x32, + 0x92, 0x41, 0x2f, 0x2a, 0x08, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x32, 0x23, 0x62, + 0x72, 0x61, 0x6e, 0x63, 0x68, 0x20, 0x6f, 0x72, 0x20, 0x74, 0x61, 0x67, 0x20, 0x69, 0x6e, 0x20, + 0x74, 0x68, 0x65, 0x20, 0x67, 0x69, 0x74, 0x20, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x71, 0x0a, 0x05, + 0x70, 0x61, 0x74, 0x68, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, - 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x42, 0x41, - 0x92, 0x41, 0x3e, 0x2a, 0x05, 0x50, 0x61, 0x74, 0x68, 0x73, 0x32, 0x35, 0x6c, 0x69, 0x73, 0x74, - 0x20, 0x6f, 0x66, 0x20, 0x59, 0x41, 0x4d, 0x4c, 0x20, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x20, 0x72, - 0x65, 0x70, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x74, 0x65, 0x64, 0x20, 0x62, 0x79, 0x20, 0x74, 0x68, - 0x65, 0x69, 0x72, 0x20, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x20, 0x70, 0x61, 0x74, - 0x68, 0x52, 0x05, 0x70, 0x61, 0x74, 0x68, 0x73, 0x3a, 0x88, 0x01, 0x92, 0x41, 0x84, 0x01, 0x0a, - 0x41, 0x2a, 0x16, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x65, 0x64, 0x20, 0x59, 0x41, 0x4d, 0x4c, - 0x20, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x32, 0x1f, 0x72, 0x65, 0x70, 0x72, 0x65, - 0x73, 0x65, 0x6e, 0x74, 0x73, 0x20, 0x61, 0x20, 0x6c, 0x69, 0x73, 0x74, 0x20, 0x6f, 0x66, 0x20, - 0x59, 0x41, 0x4d, 0x4c, 0x20, 0x66, 0x69, 0x6c, 0x65, 0x73, 0xd2, 0x01, 0x05, 0x70, 0x61, 0x74, - 0x68, 0x73, 0x32, 0x3f, 0x7b, 0x22, 0x70, 0x61, 0x74, 0x68, 0x73, 0x22, 0x3a, 0x20, 0x5b, 0x7b, - 0x22, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x20, 0x22, 0x66, 0x69, 0x6c, 0x65, 0x3a, 0x2f, 0x2f, - 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x2f, 0x70, 0x61, 0x74, 0x68, 0x2f, 0x74, 0x6f, - 0x2f, 0x73, 0x6f, 0x6d, 0x65, 0x2f, 0x66, 0x69, 0x6c, 0x65, 0x2e, 0x79, 0x61, 0x6d, 0x6c, 0x22, - 0x7d, 0x5d, 0x7d, 0x22, 0xc8, 0x03, 0x0a, 0x14, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x65, 0x64, - 0x48, 0x65, 0x6c, 0x6d, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x12, 0x7d, 0x0a, 0x09, - 0x63, 0x68, 0x61, 0x72, 0x74, 0x50, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x21, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, - 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x46, 0x69, - 0x6c, 0x65, 0x42, 0x3c, 0x92, 0x41, 0x39, 0x2a, 0x09, 0x43, 0x68, 0x61, 0x72, 0x74, 0x50, 0x61, - 0x74, 0x68, 0x32, 0x2c, 0x72, 0x65, 0x70, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x74, 0x73, 0x20, 0x61, - 0x20, 0x48, 0x65, 0x6c, 0x6d, 0x20, 0x43, 0x68, 0x61, 0x72, 0x74, 0x20, 0x62, 0x79, 0x20, 0x69, - 0x74, 0x73, 0x20, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x20, 0x70, 0x61, 0x74, 0x68, - 0x52, 0x09, 0x63, 0x68, 0x61, 0x72, 0x74, 0x50, 0x61, 0x74, 0x68, 0x12, 0x86, 0x01, 0x0a, 0x0b, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x50, 0x61, 0x74, 0x68, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x21, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, - 0x46, 0x69, 0x6c, 0x65, 0x42, 0x41, 0x92, 0x41, 0x3e, 0x2a, 0x0b, 0x56, 0x61, 0x6c, 0x75, 0x65, - 0x73, 0x50, 0x61, 0x74, 0x68, 0x73, 0x32, 0x2f, 0x72, 0x65, 0x70, 0x72, 0x65, 0x73, 0x65, 0x6e, - 0x74, 0x73, 0x20, 0x61, 0x20, 0x48, 0x65, 0x6c, 0x6d, 0x20, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, - 0x20, 0x62, 0x79, 0x20, 0x74, 0x68, 0x65, 0x69, 0x72, 0x20, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, - 0x76, 0x65, 0x20, 0x70, 0x61, 0x74, 0x68, 0x52, 0x0b, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x50, - 0x61, 0x74, 0x68, 0x73, 0x3a, 0xa7, 0x01, 0x92, 0x41, 0xa3, 0x01, 0x0a, 0x5c, 0x2a, 0x16, 0x55, - 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x65, 0x64, 0x20, 0x48, 0x65, 0x6c, 0x6d, 0x20, 0x41, 0x72, 0x74, - 0x69, 0x66, 0x61, 0x63, 0x74, 0x32, 0x36, 0x72, 0x65, 0x70, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x74, - 0x73, 0x20, 0x61, 0x6e, 0x20, 0x48, 0x65, 0x6c, 0x6d, 0x20, 0x63, 0x68, 0x61, 0x72, 0x74, 0x20, - 0x61, 0x6e, 0x64, 0x20, 0x7a, 0x65, 0x72, 0x6f, 0x20, 0x6f, 0x72, 0x20, 0x6d, 0x6f, 0x72, 0x65, - 0x20, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x20, 0x66, 0x69, 0x6c, 0x65, 0x73, 0xd2, 0x01, 0x09, - 0x63, 0x68, 0x61, 0x72, 0x74, 0x50, 0x61, 0x74, 0x68, 0x32, 0x43, 0x7b, 0x22, 0x63, 0x68, 0x61, - 0x72, 0x74, 0x50, 0x61, 0x74, 0x68, 0x22, 0x3a, 0x20, 0x5b, 0x7b, 0x22, 0x6e, 0x61, 0x6d, 0x65, - 0x22, 0x3a, 0x20, 0x22, 0x66, 0x69, 0x6c, 0x65, 0x3a, 0x2f, 0x2f, 0x72, 0x65, 0x6c, 0x61, 0x74, - 0x69, 0x76, 0x65, 0x2f, 0x70, 0x61, 0x74, 0x68, 0x2f, 0x74, 0x6f, 0x2f, 0x73, 0x6f, 0x6d, 0x65, - 0x2f, 0x63, 0x68, 0x61, 0x72, 0x74, 0x2e, 0x74, 0x67, 0x7a, 0x22, 0x7d, 0x5d, 0x7d, 0x22, 0xf1, - 0x03, 0x0a, 0x0d, 0x59, 0x41, 0x4d, 0x4c, 0x49, 0x6e, 0x47, 0x69, 0x74, 0x52, 0x65, 0x70, 0x6f, - 0x12, 0x4b, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x42, 0x2b, 0x92, 0x41, 0x28, 0x2a, 0x0a, 0x52, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x32, 0x1a, 0x6e, 0x61, 0x6d, 0x65, 0x20, 0x6f, 0x66, 0x20, 0x74, - 0x68, 0x65, 0x20, 0x67, 0x69, 0x74, 0x20, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x4e, 0x0a, - 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, - 0x32, 0x92, 0x41, 0x2f, 0x2a, 0x08, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x32, 0x23, - 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x20, 0x6f, 0x72, 0x20, 0x74, 0x61, 0x67, 0x20, 0x69, 0x6e, - 0x20, 0x74, 0x68, 0x65, 0x20, 0x67, 0x69, 0x74, 0x20, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x71, 0x0a, - 0x05, 0x70, 0x61, 0x74, 0x68, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x70, + 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x42, 0x38, + 0x92, 0x41, 0x35, 0x2a, 0x05, 0x50, 0x61, 0x74, 0x68, 0x73, 0x32, 0x2c, 0x72, 0x65, 0x6c, 0x61, + 0x74, 0x69, 0x76, 0x65, 0x20, 0x70, 0x61, 0x74, 0x68, 0x73, 0x20, 0x74, 0x6f, 0x20, 0x66, 0x69, + 0x6c, 0x65, 0x20, 0x69, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x67, 0x69, 0x74, 0x20, 0x72, 0x65, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x05, 0x70, 0x61, 0x74, 0x68, 0x73, 0x3a, + 0xcf, 0x01, 0x92, 0x41, 0xcb, 0x01, 0x0a, 0x60, 0x2a, 0x19, 0x59, 0x41, 0x4d, 0x4c, 0x20, 0x49, + 0x6e, 0x20, 0x47, 0x69, 0x74, 0x20, 0x52, 0x65, 0x70, 0x6f, 0x20, 0x41, 0x72, 0x74, 0x69, 0x66, + 0x61, 0x63, 0x74, 0x32, 0x23, 0x72, 0x65, 0x70, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x74, 0x73, 0x20, + 0x59, 0x41, 0x4d, 0x4c, 0x20, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x20, 0x69, 0x6e, 0x20, 0x61, 0x20, + 0x47, 0x69, 0x74, 0x20, 0x72, 0x65, 0x70, 0x6f, 0xd2, 0x01, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x6f, 0x72, 0x79, 0xd2, 0x01, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, + 0xd2, 0x01, 0x05, 0x70, 0x61, 0x74, 0x68, 0x73, 0x32, 0x67, 0x7b, 0x22, 0x72, 0x65, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x3a, 0x20, 0x22, 0x73, 0x6f, 0x6d, 0x65, 0x2d, 0x72, + 0x65, 0x70, 0x6f, 0x22, 0x2c, 0x22, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, + 0x20, 0x22, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x22, 0x2c, 0x22, 0x70, 0x61, 0x74, 0x68, 0x73, + 0x22, 0x3a, 0x20, 0x5b, 0x7b, 0x22, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x20, 0x22, 0x72, 0x65, + 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x2f, 0x70, 0x61, 0x74, 0x68, 0x2f, 0x74, 0x6f, 0x2f, 0x73, + 0x6f, 0x6d, 0x65, 0x2f, 0x66, 0x69, 0x6c, 0x65, 0x2e, 0x79, 0x61, 0x6d, 0x6c, 0x22, 0x7d, 0x5d, + 0x7d, 0x22, 0x96, 0x05, 0x0a, 0x0d, 0x48, 0x65, 0x6c, 0x6d, 0x49, 0x6e, 0x47, 0x69, 0x74, 0x52, + 0x65, 0x70, 0x6f, 0x12, 0x4b, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2b, 0x92, 0x41, 0x28, 0x2a, 0x0a, 0x52, 0x65, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x32, 0x1a, 0x6e, 0x61, 0x6d, 0x65, 0x20, 0x6f, + 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x67, 0x69, 0x74, 0x20, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x6f, 0x72, 0x79, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, + 0x12, 0x4e, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x42, 0x32, 0x92, 0x41, 0x2f, 0x2a, 0x08, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, + 0x6e, 0x32, 0x23, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x20, 0x6f, 0x72, 0x20, 0x74, 0x61, 0x67, + 0x20, 0x69, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x67, 0x69, 0x74, 0x20, 0x72, 0x65, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, + 0x12, 0x83, 0x01, 0x0a, 0x09, 0x63, 0x68, 0x61, 0x72, 0x74, 0x50, 0x61, 0x74, 0x68, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, + 0x76, 0x33, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x42, 0x42, 0x92, 0x41, 0x3f, 0x2a, 0x0a, 0x43, 0x68, + 0x61, 0x72, 0x74, 0x20, 0x50, 0x61, 0x74, 0x68, 0x32, 0x31, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, + 0x76, 0x65, 0x20, 0x70, 0x61, 0x74, 0x68, 0x20, 0x74, 0x6f, 0x20, 0x63, 0x68, 0x61, 0x72, 0x74, + 0x20, 0x66, 0x69, 0x6c, 0x65, 0x20, 0x69, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x67, 0x69, 0x74, + 0x20, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x09, 0x63, 0x68, 0x61, + 0x72, 0x74, 0x50, 0x61, 0x74, 0x68, 0x12, 0x89, 0x01, 0x0a, 0x0b, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x73, 0x50, 0x61, 0x74, 0x68, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x42, - 0x38, 0x92, 0x41, 0x35, 0x2a, 0x05, 0x50, 0x61, 0x74, 0x68, 0x73, 0x32, 0x2c, 0x72, 0x65, 0x6c, - 0x61, 0x74, 0x69, 0x76, 0x65, 0x20, 0x70, 0x61, 0x74, 0x68, 0x73, 0x20, 0x74, 0x6f, 0x20, 0x66, - 0x69, 0x6c, 0x65, 0x20, 0x69, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x67, 0x69, 0x74, 0x20, 0x72, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x05, 0x70, 0x61, 0x74, 0x68, 0x73, - 0x3a, 0xcf, 0x01, 0x92, 0x41, 0xcb, 0x01, 0x0a, 0x60, 0x2a, 0x19, 0x59, 0x41, 0x4d, 0x4c, 0x20, - 0x49, 0x6e, 0x20, 0x47, 0x69, 0x74, 0x20, 0x52, 0x65, 0x70, 0x6f, 0x20, 0x41, 0x72, 0x74, 0x69, - 0x66, 0x61, 0x63, 0x74, 0x32, 0x23, 0x72, 0x65, 0x70, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x74, 0x73, - 0x20, 0x59, 0x41, 0x4d, 0x4c, 0x20, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x20, 0x69, 0x6e, 0x20, 0x61, - 0x20, 0x47, 0x69, 0x74, 0x20, 0x72, 0x65, 0x70, 0x6f, 0xd2, 0x01, 0x0a, 0x72, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0xd2, 0x01, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, - 0x6e, 0xd2, 0x01, 0x05, 0x70, 0x61, 0x74, 0x68, 0x73, 0x32, 0x67, 0x7b, 0x22, 0x72, 0x65, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x3a, 0x20, 0x22, 0x73, 0x6f, 0x6d, 0x65, 0x2d, - 0x72, 0x65, 0x70, 0x6f, 0x22, 0x2c, 0x22, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x22, - 0x3a, 0x20, 0x22, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x22, 0x2c, 0x22, 0x70, 0x61, 0x74, 0x68, - 0x73, 0x22, 0x3a, 0x20, 0x5b, 0x7b, 0x22, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x20, 0x22, 0x72, - 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x2f, 0x70, 0x61, 0x74, 0x68, 0x2f, 0x74, 0x6f, 0x2f, - 0x73, 0x6f, 0x6d, 0x65, 0x2f, 0x66, 0x69, 0x6c, 0x65, 0x2e, 0x79, 0x61, 0x6d, 0x6c, 0x22, 0x7d, - 0x5d, 0x7d, 0x22, 0x96, 0x05, 0x0a, 0x0d, 0x48, 0x65, 0x6c, 0x6d, 0x49, 0x6e, 0x47, 0x69, 0x74, - 0x52, 0x65, 0x70, 0x6f, 0x12, 0x4b, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, - 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2b, 0x92, 0x41, 0x28, 0x2a, 0x0a, 0x52, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x32, 0x1a, 0x6e, 0x61, 0x6d, 0x65, 0x20, - 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x67, 0x69, 0x74, 0x20, 0x72, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x79, 0x12, 0x4e, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x42, 0x32, 0x92, 0x41, 0x2f, 0x2a, 0x08, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, - 0x6f, 0x6e, 0x32, 0x23, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x20, 0x6f, 0x72, 0x20, 0x74, 0x61, - 0x67, 0x20, 0x69, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x67, 0x69, 0x74, 0x20, 0x72, 0x65, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, - 0x6e, 0x12, 0x83, 0x01, 0x0a, 0x09, 0x63, 0x68, 0x61, 0x72, 0x74, 0x50, 0x61, 0x74, 0x68, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, - 0x2e, 0x76, 0x33, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x42, 0x42, 0x92, 0x41, 0x3f, 0x2a, 0x0a, 0x43, - 0x68, 0x61, 0x72, 0x74, 0x20, 0x50, 0x61, 0x74, 0x68, 0x32, 0x31, 0x72, 0x65, 0x6c, 0x61, 0x74, - 0x69, 0x76, 0x65, 0x20, 0x70, 0x61, 0x74, 0x68, 0x20, 0x74, 0x6f, 0x20, 0x63, 0x68, 0x61, 0x72, - 0x74, 0x20, 0x66, 0x69, 0x6c, 0x65, 0x20, 0x69, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x67, 0x69, - 0x74, 0x20, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x09, 0x63, 0x68, - 0x61, 0x72, 0x74, 0x50, 0x61, 0x74, 0x68, 0x12, 0x89, 0x01, 0x0a, 0x0b, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x73, 0x50, 0x61, 0x74, 0x68, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, + 0x44, 0x92, 0x41, 0x41, 0x2a, 0x0b, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x20, 0x50, 0x61, 0x74, 0x68, + 0x73, 0x32, 0x32, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x20, 0x70, 0x61, 0x74, 0x68, + 0x73, 0x20, 0x74, 0x6f, 0x20, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x20, 0x66, 0x69, 0x6c, 0x65, 0x20, + 0x69, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x67, 0x69, 0x74, 0x20, 0x72, 0x65, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x0b, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x50, 0x61, 0x74, + 0x68, 0x73, 0x3a, 0xd5, 0x01, 0x92, 0x41, 0xd1, 0x01, 0x0a, 0x64, 0x2a, 0x19, 0x48, 0x65, 0x6c, + 0x6d, 0x20, 0x69, 0x6e, 0x20, 0x47, 0x69, 0x74, 0x20, 0x52, 0x65, 0x70, 0x6f, 0x20, 0x41, 0x72, + 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x32, 0x23, 0x72, 0x65, 0x70, 0x72, 0x65, 0x73, 0x65, 0x6e, + 0x74, 0x73, 0x20, 0x48, 0x65, 0x6c, 0x6d, 0x20, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x20, 0x69, 0x6e, + 0x20, 0x61, 0x20, 0x47, 0x69, 0x74, 0x20, 0x72, 0x65, 0x70, 0x6f, 0xd2, 0x01, 0x0a, 0x72, 0x65, + 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0xd2, 0x01, 0x08, 0x72, 0x65, 0x76, 0x69, 0x73, + 0x69, 0x6f, 0x6e, 0xd2, 0x01, 0x09, 0x63, 0x68, 0x61, 0x72, 0x74, 0x50, 0x61, 0x74, 0x68, 0x32, + 0x69, 0x7b, 0x22, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x3a, 0x20, + 0x22, 0x73, 0x6f, 0x6d, 0x65, 0x2d, 0x72, 0x65, 0x70, 0x6f, 0x22, 0x2c, 0x22, 0x72, 0x65, 0x76, + 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x20, 0x22, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x22, + 0x2c, 0x22, 0x63, 0x68, 0x61, 0x72, 0x74, 0x50, 0x61, 0x74, 0x68, 0x22, 0x3a, 0x20, 0x7b, 0x22, + 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x20, 0x22, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, + 0x2f, 0x70, 0x61, 0x74, 0x68, 0x2f, 0x74, 0x6f, 0x2f, 0x73, 0x6f, 0x6d, 0x65, 0x2f, 0x63, 0x68, + 0x61, 0x72, 0x74, 0x2e, 0x74, 0x67, 0x7a, 0x22, 0x7d, 0x7d, 0x22, 0x9f, 0x04, 0x0a, 0x0e, 0x48, + 0x65, 0x6c, 0x6d, 0x49, 0x6e, 0x48, 0x65, 0x6c, 0x6d, 0x52, 0x65, 0x70, 0x6f, 0x12, 0x4c, 0x0a, + 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x42, 0x2c, 0x92, 0x41, 0x29, 0x2a, 0x0a, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0x32, 0x1b, 0x6e, 0x61, 0x6d, 0x65, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, + 0x68, 0x65, 0x6c, 0x6d, 0x20, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, + 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x40, 0x0a, 0x09, 0x63, + 0x68, 0x61, 0x72, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x22, + 0x92, 0x41, 0x1f, 0x2a, 0x0a, 0x43, 0x68, 0x61, 0x72, 0x74, 0x20, 0x4e, 0x61, 0x6d, 0x65, 0x32, + 0x11, 0x6e, 0x61, 0x6d, 0x65, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x63, 0x68, 0x61, + 0x72, 0x74, 0x52, 0x09, 0x63, 0x68, 0x61, 0x72, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x4c, 0x0a, + 0x0c, 0x63, 0x68, 0x61, 0x72, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x42, 0x28, 0x92, 0x41, 0x25, 0x2a, 0x0d, 0x43, 0x68, 0x61, 0x72, 0x74, 0x20, + 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x32, 0x14, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x63, 0x68, 0x61, 0x72, 0x74, 0x52, 0x0c, 0x63, + 0x68, 0x61, 0x72, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x76, 0x0a, 0x0b, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x73, 0x50, 0x61, 0x74, 0x68, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x21, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, + 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x46, + 0x69, 0x6c, 0x65, 0x42, 0x31, 0x92, 0x41, 0x2e, 0x2a, 0x0c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, + 0x20, 0x50, 0x61, 0x74, 0x68, 0x73, 0x32, 0x1e, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, + 0x20, 0x70, 0x61, 0x74, 0x68, 0x73, 0x20, 0x74, 0x6f, 0x20, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, + 0x20, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x52, 0x0b, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x50, 0x61, + 0x74, 0x68, 0x73, 0x3a, 0xb6, 0x01, 0x92, 0x41, 0xb2, 0x01, 0x0a, 0x61, 0x2a, 0x11, 0x48, 0x65, + 0x6c, 0x6d, 0x20, 0x69, 0x6e, 0x20, 0x48, 0x65, 0x6c, 0x6d, 0x20, 0x52, 0x65, 0x70, 0x6f, 0x32, + 0x24, 0x72, 0x65, 0x70, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x74, 0x73, 0x20, 0x48, 0x65, 0x6c, 0x6d, + 0x20, 0x63, 0x68, 0x61, 0x72, 0x74, 0x20, 0x69, 0x6e, 0x20, 0x61, 0x20, 0x48, 0x65, 0x6c, 0x6d, + 0x20, 0x72, 0x65, 0x70, 0x6f, 0xd2, 0x01, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, + 0x72, 0x79, 0xd2, 0x01, 0x09, 0x63, 0x68, 0x61, 0x72, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0xd2, 0x01, + 0x0c, 0x63, 0x68, 0x61, 0x72, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x32, 0x4d, 0x7b, + 0x22, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x3a, 0x20, 0x22, 0x73, + 0x6f, 0x6d, 0x65, 0x2d, 0x72, 0x65, 0x70, 0x6f, 0x22, 0x2c, 0x22, 0x63, 0x68, 0x61, 0x72, 0x74, + 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x20, 0x22, 0x73, 0x6f, 0x6d, 0x65, 0x2d, 0x63, 0x68, 0x61, + 0x72, 0x74, 0x22, 0x2c, 0x22, 0x63, 0x68, 0x61, 0x72, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x22, 0x3a, 0x20, 0x22, 0x31, 0x2e, 0x32, 0x2e, 0x33, 0x22, 0x7d, 0x22, 0x8c, 0x07, 0x0a, + 0x13, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x64, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x4d, 0x61, 0x6e, + 0x61, 0x67, 0x65, 0x72, 0x12, 0x80, 0x01, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x6d, + 0x61, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, + 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, + 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x42, 0x3f, 0x92, 0x41, 0x3c, + 0x2a, 0x0a, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x20, 0x4d, 0x61, 0x70, 0x32, 0x2e, 0x72, 0x65, + 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x20, 0x70, 0x61, 0x74, 0x68, 0x73, 0x20, 0x74, 0x6f, 0x20, + 0x61, 0x6c, 0x65, 0x72, 0x74, 0x20, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x20, 0x63, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x6d, 0x61, 0x70, 0x20, 0x66, 0x69, 0x6c, 0x65, 0x52, 0x09, 0x63, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x6d, 0x61, 0x70, 0x12, 0x73, 0x0a, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, + 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, + 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, + 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x42, 0x38, 0x92, 0x41, 0x35, 0x2a, + 0x06, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x32, 0x2b, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, + 0x65, 0x20, 0x70, 0x61, 0x74, 0x68, 0x73, 0x20, 0x74, 0x6f, 0x20, 0x61, 0x6c, 0x65, 0x72, 0x74, + 0x20, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x20, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x20, + 0x66, 0x69, 0x6c, 0x65, 0x52, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x88, 0x01, 0x0a, + 0x0d, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, + 0x76, 0x33, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x42, 0x3f, 0x92, 0x41, 0x3c, 0x2a, 0x06, 0x53, 0x65, + 0x63, 0x72, 0x65, 0x74, 0x32, 0x32, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x20, 0x70, + 0x61, 0x74, 0x68, 0x73, 0x20, 0x74, 0x6f, 0x20, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x20, 0x6d, 0x61, + 0x6e, 0x61, 0x67, 0x65, 0x72, 0x20, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x20, 0x66, 0x69, 0x6c, 0x65, 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x82, 0x01, 0x0a, 0x0b, 0x73, 0x74, 0x61, 0x74, + 0x65, 0x66, 0x75, 0x6c, 0x73, 0x65, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x46, 0x69, 0x6c, 0x65, - 0x42, 0x44, 0x92, 0x41, 0x41, 0x2a, 0x0b, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x20, 0x50, 0x61, 0x74, - 0x68, 0x73, 0x32, 0x32, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x20, 0x70, 0x61, 0x74, - 0x68, 0x73, 0x20, 0x74, 0x6f, 0x20, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x20, 0x66, 0x69, 0x6c, 0x65, - 0x20, 0x69, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x67, 0x69, 0x74, 0x20, 0x72, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x0b, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x50, 0x61, - 0x74, 0x68, 0x73, 0x3a, 0xd5, 0x01, 0x92, 0x41, 0xd1, 0x01, 0x0a, 0x64, 0x2a, 0x19, 0x48, 0x65, - 0x6c, 0x6d, 0x20, 0x69, 0x6e, 0x20, 0x47, 0x69, 0x74, 0x20, 0x52, 0x65, 0x70, 0x6f, 0x20, 0x41, - 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x32, 0x23, 0x72, 0x65, 0x70, 0x72, 0x65, 0x73, 0x65, - 0x6e, 0x74, 0x73, 0x20, 0x48, 0x65, 0x6c, 0x6d, 0x20, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x20, 0x69, - 0x6e, 0x20, 0x61, 0x20, 0x47, 0x69, 0x74, 0x20, 0x72, 0x65, 0x70, 0x6f, 0xd2, 0x01, 0x0a, 0x72, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0xd2, 0x01, 0x08, 0x72, 0x65, 0x76, 0x69, - 0x73, 0x69, 0x6f, 0x6e, 0xd2, 0x01, 0x09, 0x63, 0x68, 0x61, 0x72, 0x74, 0x50, 0x61, 0x74, 0x68, - 0x32, 0x69, 0x7b, 0x22, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x3a, - 0x20, 0x22, 0x73, 0x6f, 0x6d, 0x65, 0x2d, 0x72, 0x65, 0x70, 0x6f, 0x22, 0x2c, 0x22, 0x72, 0x65, - 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x20, 0x22, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, - 0x22, 0x2c, 0x22, 0x63, 0x68, 0x61, 0x72, 0x74, 0x50, 0x61, 0x74, 0x68, 0x22, 0x3a, 0x20, 0x7b, - 0x22, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x20, 0x22, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, - 0x65, 0x2f, 0x70, 0x61, 0x74, 0x68, 0x2f, 0x74, 0x6f, 0x2f, 0x73, 0x6f, 0x6d, 0x65, 0x2f, 0x63, - 0x68, 0x61, 0x72, 0x74, 0x2e, 0x74, 0x67, 0x7a, 0x22, 0x7d, 0x7d, 0x22, 0x9f, 0x04, 0x0a, 0x0e, - 0x48, 0x65, 0x6c, 0x6d, 0x49, 0x6e, 0x48, 0x65, 0x6c, 0x6d, 0x52, 0x65, 0x70, 0x6f, 0x12, 0x4c, - 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x42, 0x2c, 0x92, 0x41, 0x29, 0x2a, 0x0a, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0x32, 0x1b, 0x6e, 0x61, 0x6d, 0x65, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, - 0x20, 0x68, 0x65, 0x6c, 0x6d, 0x20, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, - 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x40, 0x0a, 0x09, - 0x63, 0x68, 0x61, 0x72, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, - 0x22, 0x92, 0x41, 0x1f, 0x2a, 0x0a, 0x43, 0x68, 0x61, 0x72, 0x74, 0x20, 0x4e, 0x61, 0x6d, 0x65, - 0x32, 0x11, 0x6e, 0x61, 0x6d, 0x65, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x63, 0x68, - 0x61, 0x72, 0x74, 0x52, 0x09, 0x63, 0x68, 0x61, 0x72, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x4c, - 0x0a, 0x0c, 0x63, 0x68, 0x61, 0x72, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x09, 0x42, 0x28, 0x92, 0x41, 0x25, 0x2a, 0x0d, 0x43, 0x68, 0x61, 0x72, 0x74, - 0x20, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x32, 0x14, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, - 0x6e, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x63, 0x68, 0x61, 0x72, 0x74, 0x52, 0x0c, - 0x63, 0x68, 0x61, 0x72, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x76, 0x0a, 0x0b, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x50, 0x61, 0x74, 0x68, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x21, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, - 0x46, 0x69, 0x6c, 0x65, 0x42, 0x31, 0x92, 0x41, 0x2e, 0x2a, 0x0c, 0x56, 0x61, 0x6c, 0x75, 0x65, - 0x73, 0x20, 0x50, 0x61, 0x74, 0x68, 0x73, 0x32, 0x1e, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, - 0x65, 0x20, 0x70, 0x61, 0x74, 0x68, 0x73, 0x20, 0x74, 0x6f, 0x20, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x73, 0x20, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x52, 0x0b, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x50, - 0x61, 0x74, 0x68, 0x73, 0x3a, 0xb6, 0x01, 0x92, 0x41, 0xb2, 0x01, 0x0a, 0x61, 0x2a, 0x11, 0x48, - 0x65, 0x6c, 0x6d, 0x20, 0x69, 0x6e, 0x20, 0x48, 0x65, 0x6c, 0x6d, 0x20, 0x52, 0x65, 0x70, 0x6f, - 0x32, 0x24, 0x72, 0x65, 0x70, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x74, 0x73, 0x20, 0x48, 0x65, 0x6c, - 0x6d, 0x20, 0x63, 0x68, 0x61, 0x72, 0x74, 0x20, 0x69, 0x6e, 0x20, 0x61, 0x20, 0x48, 0x65, 0x6c, - 0x6d, 0x20, 0x72, 0x65, 0x70, 0x6f, 0xd2, 0x01, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, - 0x6f, 0x72, 0x79, 0xd2, 0x01, 0x09, 0x63, 0x68, 0x61, 0x72, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0xd2, - 0x01, 0x0c, 0x63, 0x68, 0x61, 0x72, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x32, 0x4d, - 0x7b, 0x22, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x3a, 0x20, 0x22, - 0x73, 0x6f, 0x6d, 0x65, 0x2d, 0x72, 0x65, 0x70, 0x6f, 0x22, 0x2c, 0x22, 0x63, 0x68, 0x61, 0x72, - 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x20, 0x22, 0x73, 0x6f, 0x6d, 0x65, 0x2d, 0x63, 0x68, - 0x61, 0x72, 0x74, 0x22, 0x2c, 0x22, 0x63, 0x68, 0x61, 0x72, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, - 0x6f, 0x6e, 0x22, 0x3a, 0x20, 0x22, 0x31, 0x2e, 0x32, 0x2e, 0x33, 0x22, 0x7d, 0x22, 0x8c, 0x07, - 0x0a, 0x13, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x64, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x4d, 0x61, - 0x6e, 0x61, 0x67, 0x65, 0x72, 0x12, 0x80, 0x01, 0x0a, 0x09, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, - 0x6d, 0x61, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x70, 0x61, 0x72, 0x61, - 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, - 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x42, 0x3f, 0x92, 0x41, - 0x3c, 0x2a, 0x0a, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x20, 0x4d, 0x61, 0x70, 0x32, 0x2e, 0x72, + 0x42, 0x3d, 0x92, 0x41, 0x3a, 0x2a, 0x06, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x32, 0x30, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x20, 0x70, 0x61, 0x74, 0x68, 0x73, 0x20, 0x74, 0x6f, - 0x20, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x20, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x20, 0x63, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x6d, 0x61, 0x70, 0x20, 0x66, 0x69, 0x6c, 0x65, 0x52, 0x09, 0x63, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x6d, 0x61, 0x70, 0x12, 0x73, 0x0a, 0x06, 0x73, 0x65, 0x63, 0x72, - 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, - 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, - 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x42, 0x38, 0x92, 0x41, 0x35, - 0x2a, 0x06, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x32, 0x2b, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, - 0x76, 0x65, 0x20, 0x70, 0x61, 0x74, 0x68, 0x73, 0x20, 0x74, 0x6f, 0x20, 0x61, 0x6c, 0x65, 0x72, - 0x74, 0x20, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x20, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, - 0x20, 0x66, 0x69, 0x6c, 0x65, 0x52, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x88, 0x01, - 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, - 0x2e, 0x76, 0x33, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x42, 0x3f, 0x92, 0x41, 0x3c, 0x2a, 0x06, 0x53, - 0x65, 0x63, 0x72, 0x65, 0x74, 0x32, 0x32, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x20, - 0x70, 0x61, 0x74, 0x68, 0x73, 0x20, 0x74, 0x6f, 0x20, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x20, 0x6d, - 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x20, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x66, 0x69, 0x6c, 0x65, 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x66, 0x69, - 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x82, 0x01, 0x0a, 0x0b, 0x73, 0x74, 0x61, - 0x74, 0x65, 0x66, 0x75, 0x6c, 0x73, 0x65, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, - 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, - 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x46, 0x69, 0x6c, - 0x65, 0x42, 0x3d, 0x92, 0x41, 0x3a, 0x2a, 0x06, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x32, 0x30, - 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x20, 0x70, 0x61, 0x74, 0x68, 0x73, 0x20, 0x74, - 0x6f, 0x20, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x20, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x20, - 0x73, 0x74, 0x61, 0x74, 0x65, 0x66, 0x75, 0x6c, 0x73, 0x65, 0x74, 0x20, 0x66, 0x69, 0x6c, 0x65, - 0x52, 0x0b, 0x73, 0x74, 0x61, 0x74, 0x65, 0x66, 0x75, 0x6c, 0x73, 0x65, 0x74, 0x3a, 0xec, 0x02, - 0x92, 0x41, 0xe8, 0x02, 0x0a, 0x6c, 0x2a, 0x15, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x64, 0x20, - 0x41, 0x6c, 0x65, 0x72, 0x74, 0x20, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x32, 0x20, 0x72, - 0x65, 0x70, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x74, 0x73, 0x20, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, - 0x64, 0x20, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x20, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0xd2, - 0x01, 0x09, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x6d, 0x61, 0x70, 0xd2, 0x01, 0x06, 0x73, 0x65, - 0x63, 0x72, 0x65, 0x74, 0xd2, 0x01, 0x0d, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0xd2, 0x01, 0x0b, 0x73, 0x74, 0x61, 0x74, 0x65, 0x66, 0x75, 0x6c, 0x73, - 0x65, 0x74, 0x32, 0xf7, 0x01, 0x7b, 0x22, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x6d, 0x61, 0x70, - 0x22, 0x3a, 0x20, 0x7b, 0x22, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x20, 0x22, 0x66, 0x69, 0x6c, - 0x65, 0x3a, 0x2f, 0x2f, 0x70, 0x61, 0x74, 0x68, 0x2f, 0x74, 0x6f, 0x2f, 0x73, 0x6f, 0x6d, 0x65, - 0x2d, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x6d, 0x61, 0x70, 0x2e, 0x79, 0x61, 0x6d, 0x6c, 0x22, - 0x7d, 0x2c, 0x22, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x22, 0x3a, 0x20, 0x7b, 0x22, 0x6e, 0x61, - 0x6d, 0x65, 0x22, 0x3a, 0x20, 0x22, 0x66, 0x69, 0x6c, 0x65, 0x3a, 0x2f, 0x2f, 0x70, 0x61, 0x74, - 0x68, 0x2f, 0x74, 0x6f, 0x2f, 0x73, 0x6f, 0x6d, 0x65, 0x2d, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, - 0x2e, 0x79, 0x61, 0x6d, 0x6c, 0x22, 0x7d, 0x2c, 0x22, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x20, 0x7b, 0x22, 0x6e, 0x61, 0x6d, 0x65, 0x22, - 0x3a, 0x20, 0x22, 0x66, 0x69, 0x6c, 0x65, 0x3a, 0x2f, 0x2f, 0x70, 0x61, 0x74, 0x68, 0x2f, 0x74, - 0x6f, 0x2f, 0x73, 0x6f, 0x6d, 0x65, 0x2d, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x79, 0x61, 0x6d, 0x6c, 0x22, 0x7d, 0x2c, 0x22, 0x73, 0x74, 0x61, - 0x74, 0x65, 0x66, 0x75, 0x6c, 0x73, 0x65, 0x74, 0x22, 0x3a, 0x20, 0x7b, 0x22, 0x6e, 0x61, 0x6d, + 0x20, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x20, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x20, 0x73, + 0x74, 0x61, 0x74, 0x65, 0x66, 0x75, 0x6c, 0x73, 0x65, 0x74, 0x20, 0x66, 0x69, 0x6c, 0x65, 0x52, + 0x0b, 0x73, 0x74, 0x61, 0x74, 0x65, 0x66, 0x75, 0x6c, 0x73, 0x65, 0x74, 0x3a, 0xec, 0x02, 0x92, + 0x41, 0xe8, 0x02, 0x0a, 0x6c, 0x2a, 0x15, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x64, 0x20, 0x41, + 0x6c, 0x65, 0x72, 0x74, 0x20, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x32, 0x20, 0x72, 0x65, + 0x70, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x74, 0x73, 0x20, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x64, + 0x20, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x20, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0xd2, 0x01, + 0x09, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x6d, 0x61, 0x70, 0xd2, 0x01, 0x06, 0x73, 0x65, 0x63, + 0x72, 0x65, 0x74, 0xd2, 0x01, 0x0d, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0xd2, 0x01, 0x0b, 0x73, 0x74, 0x61, 0x74, 0x65, 0x66, 0x75, 0x6c, 0x73, 0x65, + 0x74, 0x32, 0xf7, 0x01, 0x7b, 0x22, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x6d, 0x61, 0x70, 0x22, + 0x3a, 0x20, 0x7b, 0x22, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x20, 0x22, 0x66, 0x69, 0x6c, 0x65, + 0x3a, 0x2f, 0x2f, 0x70, 0x61, 0x74, 0x68, 0x2f, 0x74, 0x6f, 0x2f, 0x73, 0x6f, 0x6d, 0x65, 0x2d, + 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x6d, 0x61, 0x70, 0x2e, 0x79, 0x61, 0x6d, 0x6c, 0x22, 0x7d, + 0x2c, 0x22, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x22, 0x3a, 0x20, 0x7b, 0x22, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x20, 0x22, 0x66, 0x69, 0x6c, 0x65, 0x3a, 0x2f, 0x2f, 0x70, 0x61, 0x74, 0x68, - 0x2f, 0x74, 0x6f, 0x2f, 0x73, 0x6f, 0x6d, 0x65, 0x2d, 0x73, 0x74, 0x61, 0x74, 0x65, 0x66, 0x75, - 0x6c, 0x73, 0x65, 0x74, 0x2e, 0x79, 0x61, 0x6d, 0x6c, 0x22, 0x7d, 0x7d, 0x22, 0xf1, 0x07, 0x0a, - 0x0c, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x53, 0x70, 0x65, 0x63, 0x12, 0x59, 0x0a, - 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x45, 0x92, 0x41, 0x42, - 0x2a, 0x0d, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x20, 0x54, 0x79, 0x70, 0x65, 0x32, - 0x14, 0x74, 0x79, 0x70, 0x65, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x61, 0x72, 0x74, - 0x69, 0x66, 0x61, 0x63, 0x74, 0xf2, 0x02, 0x04, 0x48, 0x65, 0x6c, 0x6d, 0xf2, 0x02, 0x04, 0x59, - 0x61, 0x6d, 0x6c, 0xf2, 0x02, 0x0c, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x4d, 0x61, 0x6e, 0x61, 0x67, - 0x65, 0x72, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x57, 0x0a, 0x0c, 0x75, 0x70, 0x6c, 0x6f, - 0x61, 0x64, 0x65, 0x64, 0x59, 0x41, 0x4d, 0x4c, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, - 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, - 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x55, 0x70, 0x6c, - 0x6f, 0x61, 0x64, 0x65, 0x64, 0x59, 0x41, 0x4d, 0x4c, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, - 0x74, 0x48, 0x00, 0x52, 0x0c, 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x65, 0x64, 0x59, 0x41, 0x4d, - 0x4c, 0x12, 0x57, 0x0a, 0x0c, 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x65, 0x64, 0x48, 0x65, 0x6c, - 0x6d, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, - 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, - 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x65, 0x64, 0x48, 0x65, - 0x6c, 0x6d, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x48, 0x00, 0x52, 0x0c, 0x75, 0x70, - 0x6c, 0x6f, 0x61, 0x64, 0x65, 0x64, 0x48, 0x65, 0x6c, 0x6d, 0x12, 0x52, 0x0a, 0x0d, 0x79, 0x61, - 0x6d, 0x6c, 0x49, 0x6e, 0x47, 0x69, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x18, 0x0c, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x2a, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, - 0x59, 0x41, 0x4d, 0x4c, 0x49, 0x6e, 0x47, 0x69, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x48, 0x00, 0x52, - 0x0d, 0x79, 0x61, 0x6d, 0x6c, 0x49, 0x6e, 0x47, 0x69, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x12, 0x52, - 0x0a, 0x0d, 0x68, 0x65, 0x6c, 0x6d, 0x49, 0x6e, 0x47, 0x69, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x18, - 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, - 0x2e, 0x76, 0x33, 0x2e, 0x48, 0x65, 0x6c, 0x6d, 0x49, 0x6e, 0x47, 0x69, 0x74, 0x52, 0x65, 0x70, - 0x6f, 0x48, 0x00, 0x52, 0x0d, 0x68, 0x65, 0x6c, 0x6d, 0x49, 0x6e, 0x47, 0x69, 0x74, 0x52, 0x65, - 0x70, 0x6f, 0x12, 0x55, 0x0a, 0x0e, 0x68, 0x65, 0x6c, 0x6d, 0x49, 0x6e, 0x48, 0x65, 0x6c, 0x6d, - 0x52, 0x65, 0x70, 0x6f, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x70, 0x61, 0x72, - 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, - 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x48, 0x65, 0x6c, 0x6d, 0x49, 0x6e, 0x48, - 0x65, 0x6c, 0x6d, 0x52, 0x65, 0x70, 0x6f, 0x48, 0x00, 0x52, 0x0e, 0x68, 0x65, 0x6c, 0x6d, 0x49, - 0x6e, 0x48, 0x65, 0x6c, 0x6d, 0x52, 0x65, 0x70, 0x6f, 0x12, 0x62, 0x0a, 0x12, 0x6d, 0x61, 0x6e, - 0x61, 0x67, 0x65, 0x64, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x4d, 0x61, 0x6e, 0x67, 0x65, 0x72, 0x18, - 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, - 0x2e, 0x76, 0x33, 0x2e, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x64, 0x41, 0x6c, 0x65, 0x72, 0x74, - 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x48, 0x00, 0x52, 0x12, 0x6d, 0x61, 0x6e, 0x61, 0x67, - 0x65, 0x64, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x4d, 0x61, 0x6e, 0x67, 0x65, 0x72, 0x12, 0x4c, 0x0a, - 0x0b, 0x68, 0x65, 0x6c, 0x6d, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x1e, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, - 0x2e, 0x48, 0x65, 0x6c, 0x6d, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x48, 0x01, 0x52, 0x0b, - 0x68, 0x65, 0x6c, 0x6d, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x4c, 0x0a, 0x0b, 0x79, - 0x61, 0x6d, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x28, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, + 0x2f, 0x74, 0x6f, 0x2f, 0x73, 0x6f, 0x6d, 0x65, 0x2d, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x2e, + 0x79, 0x61, 0x6d, 0x6c, 0x22, 0x7d, 0x2c, 0x22, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x20, 0x7b, 0x22, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x3a, + 0x20, 0x22, 0x66, 0x69, 0x6c, 0x65, 0x3a, 0x2f, 0x2f, 0x70, 0x61, 0x74, 0x68, 0x2f, 0x74, 0x6f, + 0x2f, 0x73, 0x6f, 0x6d, 0x65, 0x2d, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x2e, 0x79, 0x61, 0x6d, 0x6c, 0x22, 0x7d, 0x2c, 0x22, 0x73, 0x74, 0x61, 0x74, + 0x65, 0x66, 0x75, 0x6c, 0x73, 0x65, 0x74, 0x22, 0x3a, 0x20, 0x7b, 0x22, 0x6e, 0x61, 0x6d, 0x65, + 0x22, 0x3a, 0x20, 0x22, 0x66, 0x69, 0x6c, 0x65, 0x3a, 0x2f, 0x2f, 0x70, 0x61, 0x74, 0x68, 0x2f, + 0x74, 0x6f, 0x2f, 0x73, 0x6f, 0x6d, 0x65, 0x2d, 0x73, 0x74, 0x61, 0x74, 0x65, 0x66, 0x75, 0x6c, + 0x73, 0x65, 0x74, 0x2e, 0x79, 0x61, 0x6d, 0x6c, 0x22, 0x7d, 0x7d, 0x22, 0xf1, 0x07, 0x0a, 0x0c, + 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x53, 0x70, 0x65, 0x63, 0x12, 0x59, 0x0a, 0x04, + 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x45, 0x92, 0x41, 0x42, 0x2a, + 0x0d, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x20, 0x54, 0x79, 0x70, 0x65, 0x32, 0x14, + 0x74, 0x79, 0x70, 0x65, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x61, 0x72, 0x74, 0x69, + 0x66, 0x61, 0x63, 0x74, 0xf2, 0x02, 0x04, 0x48, 0x65, 0x6c, 0x6d, 0xf2, 0x02, 0x04, 0x59, 0x61, + 0x6d, 0x6c, 0xf2, 0x02, 0x0c, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, + 0x72, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x57, 0x0a, 0x0c, 0x75, 0x70, 0x6c, 0x6f, 0x61, + 0x64, 0x65, 0x64, 0x59, 0x41, 0x4d, 0x4c, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, + 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, + 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x55, 0x70, 0x6c, 0x6f, + 0x61, 0x64, 0x65, 0x64, 0x59, 0x41, 0x4d, 0x4c, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, + 0x48, 0x00, 0x52, 0x0c, 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x65, 0x64, 0x59, 0x41, 0x4d, 0x4c, + 0x12, 0x57, 0x0a, 0x0c, 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x65, 0x64, 0x48, 0x65, 0x6c, 0x6d, + 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, + 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x65, 0x64, 0x48, 0x65, 0x6c, + 0x6d, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x48, 0x00, 0x52, 0x0c, 0x75, 0x70, 0x6c, + 0x6f, 0x61, 0x64, 0x65, 0x64, 0x48, 0x65, 0x6c, 0x6d, 0x12, 0x52, 0x0a, 0x0d, 0x79, 0x61, 0x6d, + 0x6c, 0x49, 0x6e, 0x47, 0x69, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x2a, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x59, - 0x41, 0x4d, 0x4c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x48, 0x01, 0x52, 0x0b, 0x79, 0x61, - 0x6d, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x3a, 0xbd, 0x01, 0x92, 0x41, 0xb9, 0x01, - 0x0a, 0x2e, 0x2a, 0x0c, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x53, 0x70, 0x65, 0x63, - 0x32, 0x0c, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x53, 0x70, 0x65, 0x63, 0xd2, 0x01, - 0x04, 0x74, 0x79, 0x70, 0x65, 0xd2, 0x01, 0x08, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, - 0x32, 0x86, 0x01, 0x7b, 0x22, 0x74, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x20, 0x22, 0x48, 0x65, 0x6c, - 0x6d, 0x22, 0x2c, 0x22, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x22, 0x3a, 0x20, 0x7b, - 0x22, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x3a, 0x20, 0x22, 0x73, - 0x6f, 0x6d, 0x65, 0x2d, 0x72, 0x65, 0x70, 0x6f, 0x22, 0x2c, 0x22, 0x72, 0x65, 0x76, 0x69, 0x73, - 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x20, 0x22, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x22, 0x2c, 0x22, - 0x63, 0x68, 0x61, 0x72, 0x74, 0x50, 0x61, 0x74, 0x68, 0x22, 0x3a, 0x20, 0x7b, 0x22, 0x6e, 0x61, - 0x6d, 0x65, 0x22, 0x3a, 0x20, 0x22, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x2f, 0x70, - 0x61, 0x74, 0x68, 0x2f, 0x74, 0x6f, 0x2f, 0x73, 0x6f, 0x6d, 0x65, 0x2f, 0x63, 0x68, 0x61, 0x72, - 0x74, 0x2e, 0x74, 0x67, 0x7a, 0x22, 0x7d, 0x7d, 0x7d, 0x42, 0x0a, 0x0a, 0x08, 0x61, 0x72, 0x74, - 0x69, 0x66, 0x61, 0x63, 0x74, 0x42, 0x09, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x22, 0xd0, 0x0b, 0x0a, 0x0b, 0x48, 0x65, 0x6c, 0x6d, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x12, 0x4a, 0x0a, 0x06, 0x61, 0x74, 0x6f, 0x6d, 0x69, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, - 0x42, 0x32, 0x92, 0x41, 0x2f, 0x2a, 0x06, 0x41, 0x74, 0x6f, 0x6d, 0x69, 0x63, 0x32, 0x25, 0x64, - 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x20, 0x48, 0x65, 0x6c, 0x6d, 0x20, 0x61, 0x72, 0x74, 0x69, 0x66, - 0x61, 0x63, 0x74, 0x20, 0x77, 0x69, 0x74, 0x68, 0x20, 0x61, 0x74, 0x6f, 0x6d, 0x69, 0x63, 0x20, - 0x66, 0x6c, 0x61, 0x67, 0x52, 0x06, 0x61, 0x74, 0x6f, 0x6d, 0x69, 0x63, 0x12, 0x42, 0x0a, 0x04, - 0x77, 0x61, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x42, 0x2e, 0x92, 0x41, 0x2b, 0x2a, - 0x04, 0x57, 0x61, 0x69, 0x74, 0x32, 0x23, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x20, 0x48, 0x65, - 0x6c, 0x6d, 0x20, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x20, 0x77, 0x69, 0x74, 0x68, - 0x20, 0x77, 0x61, 0x69, 0x74, 0x20, 0x66, 0x6c, 0x61, 0x67, 0x52, 0x04, 0x77, 0x61, 0x69, 0x74, - 0x12, 0x46, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x42, - 0x30, 0x92, 0x41, 0x2d, 0x2a, 0x05, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x32, 0x24, 0x64, 0x65, 0x70, - 0x6c, 0x6f, 0x79, 0x20, 0x48, 0x65, 0x6c, 0x6d, 0x20, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, - 0x74, 0x20, 0x77, 0x69, 0x74, 0x68, 0x20, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x20, 0x66, 0x6c, 0x61, - 0x67, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x12, 0x4b, 0x0a, 0x07, 0x6e, 0x6f, 0x48, 0x6f, - 0x6f, 0x6b, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x42, 0x31, 0x92, 0x41, 0x2e, 0x2a, 0x08, - 0x4e, 0x6f, 0x20, 0x48, 0x6f, 0x6f, 0x6b, 0x73, 0x32, 0x22, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, - 0x20, 0x48, 0x65, 0x6c, 0x6d, 0x20, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x20, 0x77, - 0x69, 0x74, 0x68, 0x6f, 0x75, 0x74, 0x20, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x52, 0x07, 0x6e, 0x6f, - 0x48, 0x6f, 0x6f, 0x6b, 0x73, 0x12, 0x4d, 0x0a, 0x0a, 0x6d, 0x61, 0x78, 0x48, 0x69, 0x73, 0x74, - 0x6f, 0x72, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x11, 0x42, 0x2d, 0x92, 0x41, 0x2a, 0x2a, 0x0b, - 0x4d, 0x61, 0x78, 0x20, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x32, 0x1b, 0x6c, 0x69, 0x6d, - 0x69, 0x74, 0x20, 0x48, 0x65, 0x6c, 0x6d, 0x20, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, - 0x20, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x0a, 0x6d, 0x61, 0x78, 0x48, 0x69, 0x73, - 0x74, 0x6f, 0x72, 0x79, 0x12, 0x65, 0x0a, 0x13, 0x72, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x53, 0x75, - 0x62, 0x43, 0x68, 0x61, 0x72, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, - 0x08, 0x42, 0x33, 0x92, 0x41, 0x30, 0x2a, 0x16, 0x52, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x20, 0x53, - 0x75, 0x62, 0x20, 0x43, 0x68, 0x61, 0x72, 0x74, 0x20, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x32, 0x16, - 0x72, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x20, 0x73, 0x75, 0x62, 0x20, 0x63, 0x68, 0x61, 0x72, 0x74, - 0x20, 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x52, 0x13, 0x72, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x53, 0x75, - 0x62, 0x43, 0x68, 0x61, 0x72, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x12, 0x4f, 0x0a, 0x0b, 0x72, - 0x65, 0x73, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, - 0x42, 0x2d, 0x92, 0x41, 0x2a, 0x2a, 0x0c, 0x52, 0x65, 0x73, 0x65, 0x74, 0x20, 0x56, 0x61, 0x6c, - 0x75, 0x65, 0x73, 0x32, 0x1a, 0x72, 0x65, 0x73, 0x65, 0x74, 0x20, 0x65, 0x78, 0x69, 0x73, 0x74, - 0x69, 0x6e, 0x67, 0x20, 0x68, 0x65, 0x6c, 0x6d, 0x20, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x52, - 0x0b, 0x72, 0x65, 0x73, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x4a, 0x0a, 0x0b, - 0x72, 0x65, 0x75, 0x73, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, - 0x08, 0x42, 0x28, 0x92, 0x41, 0x25, 0x2a, 0x0c, 0x52, 0x65, 0x75, 0x73, 0x65, 0x20, 0x56, 0x61, - 0x6c, 0x75, 0x65, 0x73, 0x32, 0x15, 0x72, 0x65, 0x75, 0x73, 0x65, 0x20, 0x65, 0x78, 0x69, 0x73, - 0x74, 0x69, 0x6e, 0x67, 0x20, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x52, 0x0b, 0x72, 0x65, 0x75, - 0x73, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x53, 0x0a, 0x09, 0x73, 0x65, 0x74, 0x53, - 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, 0x42, 0x35, 0x92, 0x41, 0x32, - 0x2a, 0x0a, 0x53, 0x65, 0x74, 0x20, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x32, 0x24, 0x70, 0x61, - 0x73, 0x73, 0x20, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x20, 0x68, 0x65, 0x6c, 0x6d, 0x20, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x73, 0x20, 0x61, 0x73, 0x20, 0x6b, 0x65, 0x79, 0x3d, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x52, 0x09, 0x73, 0x65, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x3f, 0x0a, - 0x08, 0x73, 0x6b, 0x69, 0x70, 0x43, 0x52, 0x44, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x42, - 0x23, 0x92, 0x41, 0x20, 0x2a, 0x09, 0x53, 0x6b, 0x69, 0x70, 0x20, 0x43, 0x52, 0x44, 0x73, 0x32, - 0x13, 0x73, 0x6b, 0x69, 0x70, 0x20, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x69, 0x6e, 0x67, 0x20, - 0x63, 0x72, 0x64, 0x73, 0x52, 0x08, 0x73, 0x6b, 0x69, 0x70, 0x43, 0x52, 0x44, 0x73, 0x12, 0x5d, - 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x42, - 0x43, 0x92, 0x41, 0x40, 0x2a, 0x07, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x32, 0x35, 0x74, - 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x77, 0x61, 0x69, 0x74, 0x69, - 0x6e, 0x67, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, - 0x72, 0x63, 0x65, 0x73, 0x20, 0x74, 0x6f, 0x20, 0x62, 0x65, 0x63, 0x6f, 0x6d, 0x65, 0x20, 0x72, - 0x65, 0x61, 0x64, 0x79, 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x71, 0x0a, - 0x0d, 0x63, 0x6c, 0x65, 0x61, 0x6e, 0x55, 0x70, 0x4f, 0x6e, 0x46, 0x61, 0x69, 0x6c, 0x18, 0x0c, - 0x20, 0x01, 0x28, 0x08, 0x42, 0x4b, 0x92, 0x41, 0x48, 0x2a, 0x0f, 0x43, 0x6c, 0x65, 0x61, 0x6e, - 0x75, 0x70, 0x20, 0x6f, 0x6e, 0x20, 0x66, 0x61, 0x69, 0x6c, 0x32, 0x35, 0x63, 0x6c, 0x65, 0x61, - 0x6e, 0x75, 0x70, 0x20, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x65, 0x64, 0x20, 0x72, 0x65, 0x73, - 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x63, 0x68, 0x61, 0x72, - 0x74, 0x20, 0x66, 0x61, 0x69, 0x6c, 0x73, 0x20, 0x74, 0x6f, 0x20, 0x64, 0x65, 0x70, 0x6c, 0x6f, - 0x79, 0x52, 0x0d, 0x63, 0x6c, 0x65, 0x61, 0x6e, 0x55, 0x70, 0x4f, 0x6e, 0x46, 0x61, 0x69, 0x6c, - 0x12, 0x56, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, - 0x0d, 0x20, 0x01, 0x28, 0x09, 0x42, 0x34, 0x92, 0x41, 0x31, 0x2a, 0x0b, 0x44, 0x65, 0x73, 0x63, - 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x32, 0x22, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x20, - 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x66, 0x6f, 0x72, 0x20, - 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x52, 0x0b, 0x64, 0x65, 0x73, - 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x91, 0x01, 0x0a, 0x18, 0x64, 0x69, 0x73, - 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, 0x65, 0x6e, 0x41, 0x50, 0x49, 0x56, 0x61, 0x6c, 0x69, 0x64, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x08, 0x42, 0x55, 0x92, 0x41, 0x52, - 0x2a, 0x1a, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x20, 0x4f, 0x70, 0x65, 0x6e, 0x41, 0x50, - 0x49, 0x20, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x32, 0x34, 0x64, 0x69, - 0x73, 0x61, 0x62, 0x6c, 0x65, 0x20, 0x4f, 0x70, 0x65, 0x6e, 0x41, 0x50, 0x49, 0x20, 0x76, 0x61, - 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x77, 0x68, 0x69, 0x6c, 0x65, 0x20, 0x64, - 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x69, 0x6e, 0x67, 0x20, 0x74, 0x68, 0x65, 0x20, 0x63, 0x68, 0x61, - 0x72, 0x74, 0x52, 0x18, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, 0x65, 0x6e, 0x41, - 0x50, 0x49, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x5c, 0x0a, 0x0b, - 0x6b, 0x65, 0x65, 0x70, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x0f, 0x20, 0x01, 0x28, - 0x08, 0x42, 0x3a, 0x92, 0x41, 0x37, 0x2a, 0x0c, 0x4b, 0x65, 0x65, 0x70, 0x20, 0x48, 0x69, 0x73, - 0x74, 0x6f, 0x72, 0x79, 0x32, 0x27, 0x6b, 0x65, 0x65, 0x70, 0x20, 0x72, 0x65, 0x6c, 0x65, 0x61, - 0x73, 0x65, 0x20, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x20, 0x61, 0x66, 0x74, 0x65, 0x72, - 0x20, 0x75, 0x6e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x52, 0x0b, 0x6b, - 0x65, 0x65, 0x70, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x3a, 0x96, 0x01, 0x92, 0x41, 0x92, - 0x01, 0x0a, 0x34, 0x2a, 0x0c, 0x48, 0x65, 0x6c, 0x6d, 0x20, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x32, 0x24, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x64, - 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x69, 0x6e, 0x67, 0x20, 0x48, 0x65, 0x6c, 0x6d, 0x20, 0x61, 0x72, - 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x32, 0x5a, 0x7b, 0x22, 0x61, 0x74, 0x6f, 0x6d, 0x69, - 0x63, 0x22, 0x3a, 0x20, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x2c, 0x22, 0x6e, 0x6f, 0x48, 0x6f, 0x6f, - 0x6b, 0x73, 0x22, 0x3a, 0x20, 0x74, 0x72, 0x75, 0x65, 0x2c, 0x22, 0x73, 0x6b, 0x69, 0x70, 0x43, - 0x52, 0x44, 0x73, 0x22, 0x3a, 0x20, 0x74, 0x72, 0x75, 0x65, 0x2c, 0x22, 0x73, 0x65, 0x74, 0x53, - 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0x3a, 0x20, 0x5b, 0x22, 0x6b, 0x65, 0x79, 0x31, 0x3d, 0x76, - 0x61, 0x6c, 0x31, 0x22, 0x2c, 0x20, 0x22, 0x6b, 0x65, 0x79, 0x32, 0x3d, 0x76, 0x61, 0x6c, 0x32, - 0x22, 0x5d, 0x7d, 0x22, 0xd6, 0x02, 0x0a, 0x0b, 0x59, 0x41, 0x4d, 0x4c, 0x4f, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x12, 0x46, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x08, 0x42, 0x30, 0x92, 0x41, 0x2d, 0x2a, 0x05, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x32, 0x24, - 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x20, 0x59, 0x41, 0x4d, 0x4c, 0x20, 0x61, 0x72, 0x74, 0x69, - 0x66, 0x61, 0x63, 0x74, 0x20, 0x77, 0x69, 0x74, 0x68, 0x20, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x20, - 0x66, 0x6c, 0x61, 0x67, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x12, 0x90, 0x01, 0x0a, 0x18, - 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, 0x65, 0x6e, 0x41, 0x50, 0x49, 0x56, 0x61, - 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x42, 0x54, - 0x92, 0x41, 0x51, 0x2a, 0x1a, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x20, 0x4f, 0x70, 0x65, - 0x6e, 0x41, 0x50, 0x49, 0x20, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x32, - 0x33, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x20, 0x4f, 0x70, 0x65, 0x6e, 0x41, 0x50, 0x49, - 0x20, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x77, 0x68, 0x69, 0x6c, - 0x65, 0x20, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x69, 0x6e, 0x67, 0x20, 0x74, 0x68, 0x65, 0x20, - 0x59, 0x41, 0x4d, 0x4c, 0x52, 0x18, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, 0x65, - 0x6e, 0x41, 0x50, 0x49, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x6c, - 0x92, 0x41, 0x69, 0x0a, 0x34, 0x2a, 0x0c, 0x59, 0x41, 0x4d, 0x4c, 0x20, 0x4f, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x32, 0x24, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x20, 0x66, 0x6f, 0x72, - 0x20, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x69, 0x6e, 0x67, 0x20, 0x59, 0x41, 0x4d, 0x4c, 0x20, - 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x32, 0x31, 0x7b, 0x22, 0x66, 0x6f, 0x72, - 0x63, 0x65, 0x22, 0x3a, 0x20, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x2c, 0x22, 0x64, 0x69, 0x73, 0x61, + 0x41, 0x4d, 0x4c, 0x49, 0x6e, 0x47, 0x69, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x48, 0x00, 0x52, 0x0d, + 0x79, 0x61, 0x6d, 0x6c, 0x49, 0x6e, 0x47, 0x69, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x12, 0x52, 0x0a, + 0x0d, 0x68, 0x65, 0x6c, 0x6d, 0x49, 0x6e, 0x47, 0x69, 0x74, 0x52, 0x65, 0x70, 0x6f, 0x18, 0x0d, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, + 0x76, 0x33, 0x2e, 0x48, 0x65, 0x6c, 0x6d, 0x49, 0x6e, 0x47, 0x69, 0x74, 0x52, 0x65, 0x70, 0x6f, + 0x48, 0x00, 0x52, 0x0d, 0x68, 0x65, 0x6c, 0x6d, 0x49, 0x6e, 0x47, 0x69, 0x74, 0x52, 0x65, 0x70, + 0x6f, 0x12, 0x55, 0x0a, 0x0e, 0x68, 0x65, 0x6c, 0x6d, 0x49, 0x6e, 0x48, 0x65, 0x6c, 0x6d, 0x52, + 0x65, 0x70, 0x6f, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x70, 0x61, 0x72, 0x61, + 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, + 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x48, 0x65, 0x6c, 0x6d, 0x49, 0x6e, 0x48, 0x65, + 0x6c, 0x6d, 0x52, 0x65, 0x70, 0x6f, 0x48, 0x00, 0x52, 0x0e, 0x68, 0x65, 0x6c, 0x6d, 0x49, 0x6e, + 0x48, 0x65, 0x6c, 0x6d, 0x52, 0x65, 0x70, 0x6f, 0x12, 0x62, 0x0a, 0x12, 0x6d, 0x61, 0x6e, 0x61, + 0x67, 0x65, 0x64, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x4d, 0x61, 0x6e, 0x67, 0x65, 0x72, 0x18, 0x0f, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, + 0x76, 0x33, 0x2e, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x64, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x4d, + 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x48, 0x00, 0x52, 0x12, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, + 0x64, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x4d, 0x61, 0x6e, 0x67, 0x65, 0x72, 0x12, 0x4c, 0x0a, 0x0b, + 0x68, 0x65, 0x6c, 0x6d, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x1e, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x28, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, + 0x48, 0x65, 0x6c, 0x6d, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x48, 0x01, 0x52, 0x0b, 0x68, + 0x65, 0x6c, 0x6d, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x4c, 0x0a, 0x0b, 0x79, 0x61, + 0x6d, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x28, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, + 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x59, 0x41, + 0x4d, 0x4c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x48, 0x01, 0x52, 0x0b, 0x79, 0x61, 0x6d, + 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x3a, 0xbd, 0x01, 0x92, 0x41, 0xb9, 0x01, 0x0a, + 0x2e, 0x2a, 0x0c, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x53, 0x70, 0x65, 0x63, 0x32, + 0x0c, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x53, 0x70, 0x65, 0x63, 0xd2, 0x01, 0x04, + 0x74, 0x79, 0x70, 0x65, 0xd2, 0x01, 0x08, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x32, + 0x86, 0x01, 0x7b, 0x22, 0x74, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x20, 0x22, 0x48, 0x65, 0x6c, 0x6d, + 0x22, 0x2c, 0x22, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x22, 0x3a, 0x20, 0x7b, 0x22, + 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x22, 0x3a, 0x20, 0x22, 0x73, 0x6f, + 0x6d, 0x65, 0x2d, 0x72, 0x65, 0x70, 0x6f, 0x22, 0x2c, 0x22, 0x72, 0x65, 0x76, 0x69, 0x73, 0x69, + 0x6f, 0x6e, 0x22, 0x3a, 0x20, 0x22, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x22, 0x2c, 0x22, 0x63, + 0x68, 0x61, 0x72, 0x74, 0x50, 0x61, 0x74, 0x68, 0x22, 0x3a, 0x20, 0x7b, 0x22, 0x6e, 0x61, 0x6d, + 0x65, 0x22, 0x3a, 0x20, 0x22, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x2f, 0x70, 0x61, + 0x74, 0x68, 0x2f, 0x74, 0x6f, 0x2f, 0x73, 0x6f, 0x6d, 0x65, 0x2f, 0x63, 0x68, 0x61, 0x72, 0x74, + 0x2e, 0x74, 0x67, 0x7a, 0x22, 0x7d, 0x7d, 0x7d, 0x42, 0x0a, 0x0a, 0x08, 0x61, 0x72, 0x74, 0x69, + 0x66, 0x61, 0x63, 0x74, 0x42, 0x09, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, + 0xd0, 0x0b, 0x0a, 0x0b, 0x48, 0x65, 0x6c, 0x6d, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, + 0x4a, 0x0a, 0x06, 0x61, 0x74, 0x6f, 0x6d, 0x69, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x42, + 0x32, 0x92, 0x41, 0x2f, 0x2a, 0x06, 0x41, 0x74, 0x6f, 0x6d, 0x69, 0x63, 0x32, 0x25, 0x64, 0x65, + 0x70, 0x6c, 0x6f, 0x79, 0x20, 0x48, 0x65, 0x6c, 0x6d, 0x20, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, + 0x63, 0x74, 0x20, 0x77, 0x69, 0x74, 0x68, 0x20, 0x61, 0x74, 0x6f, 0x6d, 0x69, 0x63, 0x20, 0x66, + 0x6c, 0x61, 0x67, 0x52, 0x06, 0x61, 0x74, 0x6f, 0x6d, 0x69, 0x63, 0x12, 0x42, 0x0a, 0x04, 0x77, + 0x61, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x42, 0x2e, 0x92, 0x41, 0x2b, 0x2a, 0x04, + 0x57, 0x61, 0x69, 0x74, 0x32, 0x23, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x20, 0x48, 0x65, 0x6c, + 0x6d, 0x20, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x20, 0x77, 0x69, 0x74, 0x68, 0x20, + 0x77, 0x61, 0x69, 0x74, 0x20, 0x66, 0x6c, 0x61, 0x67, 0x52, 0x04, 0x77, 0x61, 0x69, 0x74, 0x12, + 0x46, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x42, 0x30, + 0x92, 0x41, 0x2d, 0x2a, 0x05, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x32, 0x24, 0x64, 0x65, 0x70, 0x6c, + 0x6f, 0x79, 0x20, 0x48, 0x65, 0x6c, 0x6d, 0x20, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, + 0x20, 0x77, 0x69, 0x74, 0x68, 0x20, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x20, 0x66, 0x6c, 0x61, 0x67, + 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x12, 0x4b, 0x0a, 0x07, 0x6e, 0x6f, 0x48, 0x6f, 0x6f, + 0x6b, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x42, 0x31, 0x92, 0x41, 0x2e, 0x2a, 0x08, 0x4e, + 0x6f, 0x20, 0x48, 0x6f, 0x6f, 0x6b, 0x73, 0x32, 0x22, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x20, + 0x48, 0x65, 0x6c, 0x6d, 0x20, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x20, 0x77, 0x69, + 0x74, 0x68, 0x6f, 0x75, 0x74, 0x20, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x52, 0x07, 0x6e, 0x6f, 0x48, + 0x6f, 0x6f, 0x6b, 0x73, 0x12, 0x4d, 0x0a, 0x0a, 0x6d, 0x61, 0x78, 0x48, 0x69, 0x73, 0x74, 0x6f, + 0x72, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x11, 0x42, 0x2d, 0x92, 0x41, 0x2a, 0x2a, 0x0b, 0x4d, + 0x61, 0x78, 0x20, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x32, 0x1b, 0x6c, 0x69, 0x6d, 0x69, + 0x74, 0x20, 0x48, 0x65, 0x6c, 0x6d, 0x20, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x20, + 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x0a, 0x6d, 0x61, 0x78, 0x48, 0x69, 0x73, 0x74, + 0x6f, 0x72, 0x79, 0x12, 0x65, 0x0a, 0x13, 0x72, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x53, 0x75, 0x62, + 0x43, 0x68, 0x61, 0x72, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, + 0x42, 0x33, 0x92, 0x41, 0x30, 0x2a, 0x16, 0x52, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x20, 0x53, 0x75, + 0x62, 0x20, 0x43, 0x68, 0x61, 0x72, 0x74, 0x20, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x32, 0x16, 0x72, + 0x65, 0x6e, 0x64, 0x65, 0x72, 0x20, 0x73, 0x75, 0x62, 0x20, 0x63, 0x68, 0x61, 0x72, 0x74, 0x20, + 0x6e, 0x6f, 0x74, 0x65, 0x73, 0x52, 0x13, 0x72, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x53, 0x75, 0x62, + 0x43, 0x68, 0x61, 0x72, 0x74, 0x4e, 0x6f, 0x74, 0x65, 0x73, 0x12, 0x4f, 0x0a, 0x0b, 0x72, 0x65, + 0x73, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x42, + 0x2d, 0x92, 0x41, 0x2a, 0x2a, 0x0c, 0x52, 0x65, 0x73, 0x65, 0x74, 0x20, 0x56, 0x61, 0x6c, 0x75, + 0x65, 0x73, 0x32, 0x1a, 0x72, 0x65, 0x73, 0x65, 0x74, 0x20, 0x65, 0x78, 0x69, 0x73, 0x74, 0x69, + 0x6e, 0x67, 0x20, 0x68, 0x65, 0x6c, 0x6d, 0x20, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x52, 0x0b, + 0x72, 0x65, 0x73, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x4a, 0x0a, 0x0b, 0x72, + 0x65, 0x75, 0x73, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, + 0x42, 0x28, 0x92, 0x41, 0x25, 0x2a, 0x0c, 0x52, 0x65, 0x75, 0x73, 0x65, 0x20, 0x56, 0x61, 0x6c, + 0x75, 0x65, 0x73, 0x32, 0x15, 0x72, 0x65, 0x75, 0x73, 0x65, 0x20, 0x65, 0x78, 0x69, 0x73, 0x74, + 0x69, 0x6e, 0x67, 0x20, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x52, 0x0b, 0x72, 0x65, 0x75, 0x73, + 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x53, 0x0a, 0x09, 0x73, 0x65, 0x74, 0x53, 0x74, + 0x72, 0x69, 0x6e, 0x67, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, 0x42, 0x35, 0x92, 0x41, 0x32, 0x2a, + 0x0a, 0x53, 0x65, 0x74, 0x20, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x32, 0x24, 0x70, 0x61, 0x73, + 0x73, 0x20, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x20, 0x68, 0x65, 0x6c, 0x6d, 0x20, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x73, 0x20, 0x61, 0x73, 0x20, 0x6b, 0x65, 0x79, 0x3d, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x52, 0x09, 0x73, 0x65, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x3f, 0x0a, 0x08, + 0x73, 0x6b, 0x69, 0x70, 0x43, 0x52, 0x44, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x42, 0x23, + 0x92, 0x41, 0x20, 0x2a, 0x09, 0x53, 0x6b, 0x69, 0x70, 0x20, 0x43, 0x52, 0x44, 0x73, 0x32, 0x13, + 0x73, 0x6b, 0x69, 0x70, 0x20, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x69, 0x6e, 0x67, 0x20, 0x63, + 0x72, 0x64, 0x73, 0x52, 0x08, 0x73, 0x6b, 0x69, 0x70, 0x43, 0x52, 0x44, 0x73, 0x12, 0x5d, 0x0a, + 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x42, 0x43, + 0x92, 0x41, 0x40, 0x2a, 0x07, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x32, 0x35, 0x74, 0x69, + 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x77, 0x61, 0x69, 0x74, 0x69, 0x6e, + 0x67, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x73, 0x20, 0x74, 0x6f, 0x20, 0x62, 0x65, 0x63, 0x6f, 0x6d, 0x65, 0x20, 0x72, 0x65, + 0x61, 0x64, 0x79, 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x71, 0x0a, 0x0d, + 0x63, 0x6c, 0x65, 0x61, 0x6e, 0x55, 0x70, 0x4f, 0x6e, 0x46, 0x61, 0x69, 0x6c, 0x18, 0x0c, 0x20, + 0x01, 0x28, 0x08, 0x42, 0x4b, 0x92, 0x41, 0x48, 0x2a, 0x0f, 0x43, 0x6c, 0x65, 0x61, 0x6e, 0x75, + 0x70, 0x20, 0x6f, 0x6e, 0x20, 0x66, 0x61, 0x69, 0x6c, 0x32, 0x35, 0x63, 0x6c, 0x65, 0x61, 0x6e, + 0x75, 0x70, 0x20, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x65, 0x64, 0x20, 0x72, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x73, 0x20, 0x77, 0x68, 0x65, 0x6e, 0x20, 0x63, 0x68, 0x61, 0x72, 0x74, + 0x20, 0x66, 0x61, 0x69, 0x6c, 0x73, 0x20, 0x74, 0x6f, 0x20, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, + 0x52, 0x0d, 0x63, 0x6c, 0x65, 0x61, 0x6e, 0x55, 0x70, 0x4f, 0x6e, 0x46, 0x61, 0x69, 0x6c, 0x12, + 0x56, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0d, + 0x20, 0x01, 0x28, 0x09, 0x42, 0x34, 0x92, 0x41, 0x31, 0x2a, 0x0b, 0x44, 0x65, 0x73, 0x63, 0x72, + 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x32, 0x22, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x20, 0x64, + 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x74, + 0x68, 0x65, 0x20, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, + 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x91, 0x01, 0x0a, 0x18, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, 0x65, 0x6e, 0x41, 0x50, 0x49, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x20, 0x74, 0x72, 0x75, 0x65, 0x7d, 0x42, 0xff, 0x01, 0x0a, - 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, - 0x42, 0x0e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, - 0x50, 0x01, 0x5a, 0x3b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, - 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, - 0x6e, 0x70, 0x62, 0x2f, 0x76, 0x33, 0x3b, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x76, 0x33, 0xa2, - 0x02, 0x04, 0x50, 0x44, 0x54, 0x43, 0xaa, 0x02, 0x1b, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, - 0x2e, 0x44, 0x65, 0x76, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, - 0x6e, 0x2e, 0x56, 0x33, 0xca, 0x02, 0x1b, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x5c, 0x44, - 0x65, 0x76, 0x5c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x5c, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x5c, - 0x56, 0x33, 0xe2, 0x02, 0x27, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x5c, 0x44, 0x65, 0x76, - 0x5c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x5c, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x5c, 0x56, 0x33, - 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1f, 0x50, - 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x3a, 0x3a, 0x44, 0x65, 0x76, 0x3a, 0x3a, 0x54, 0x79, 0x70, - 0x65, 0x73, 0x3a, 0x3a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x3a, 0x3a, 0x56, 0x33, 0x62, 0x06, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x08, 0x42, 0x55, 0x92, 0x41, 0x52, 0x2a, + 0x1a, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x20, 0x4f, 0x70, 0x65, 0x6e, 0x41, 0x50, 0x49, + 0x20, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x32, 0x34, 0x64, 0x69, 0x73, + 0x61, 0x62, 0x6c, 0x65, 0x20, 0x4f, 0x70, 0x65, 0x6e, 0x41, 0x50, 0x49, 0x20, 0x76, 0x61, 0x6c, + 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x77, 0x68, 0x69, 0x6c, 0x65, 0x20, 0x64, 0x65, + 0x70, 0x6c, 0x6f, 0x79, 0x69, 0x6e, 0x67, 0x20, 0x74, 0x68, 0x65, 0x20, 0x63, 0x68, 0x61, 0x72, + 0x74, 0x52, 0x18, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, 0x65, 0x6e, 0x41, 0x50, + 0x49, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x5c, 0x0a, 0x0b, 0x6b, + 0x65, 0x65, 0x70, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, + 0x42, 0x3a, 0x92, 0x41, 0x37, 0x2a, 0x0c, 0x4b, 0x65, 0x65, 0x70, 0x20, 0x48, 0x69, 0x73, 0x74, + 0x6f, 0x72, 0x79, 0x32, 0x27, 0x6b, 0x65, 0x65, 0x70, 0x20, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, + 0x65, 0x20, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x20, 0x61, 0x66, 0x74, 0x65, 0x72, 0x20, + 0x75, 0x6e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x69, 0x6e, 0x67, 0x52, 0x0b, 0x6b, 0x65, + 0x65, 0x70, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x3a, 0x96, 0x01, 0x92, 0x41, 0x92, 0x01, + 0x0a, 0x34, 0x2a, 0x0c, 0x48, 0x65, 0x6c, 0x6d, 0x20, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x32, 0x24, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x64, 0x65, + 0x70, 0x6c, 0x6f, 0x79, 0x69, 0x6e, 0x67, 0x20, 0x48, 0x65, 0x6c, 0x6d, 0x20, 0x61, 0x72, 0x74, + 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x32, 0x5a, 0x7b, 0x22, 0x61, 0x74, 0x6f, 0x6d, 0x69, 0x63, + 0x22, 0x3a, 0x20, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x2c, 0x22, 0x6e, 0x6f, 0x48, 0x6f, 0x6f, 0x6b, + 0x73, 0x22, 0x3a, 0x20, 0x74, 0x72, 0x75, 0x65, 0x2c, 0x22, 0x73, 0x6b, 0x69, 0x70, 0x43, 0x52, + 0x44, 0x73, 0x22, 0x3a, 0x20, 0x74, 0x72, 0x75, 0x65, 0x2c, 0x22, 0x73, 0x65, 0x74, 0x53, 0x74, + 0x72, 0x69, 0x6e, 0x67, 0x22, 0x3a, 0x20, 0x5b, 0x22, 0x6b, 0x65, 0x79, 0x31, 0x3d, 0x76, 0x61, + 0x6c, 0x31, 0x22, 0x2c, 0x20, 0x22, 0x6b, 0x65, 0x79, 0x32, 0x3d, 0x76, 0x61, 0x6c, 0x32, 0x22, + 0x5d, 0x7d, 0x22, 0xd6, 0x02, 0x0a, 0x0b, 0x59, 0x41, 0x4d, 0x4c, 0x4f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x12, 0x46, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x08, 0x42, 0x30, 0x92, 0x41, 0x2d, 0x2a, 0x05, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x32, 0x24, 0x64, + 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x20, 0x59, 0x41, 0x4d, 0x4c, 0x20, 0x61, 0x72, 0x74, 0x69, 0x66, + 0x61, 0x63, 0x74, 0x20, 0x77, 0x69, 0x74, 0x68, 0x20, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x20, 0x66, + 0x6c, 0x61, 0x67, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x12, 0x90, 0x01, 0x0a, 0x18, 0x64, + 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, 0x65, 0x6e, 0x41, 0x50, 0x49, 0x56, 0x61, 0x6c, + 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x42, 0x54, 0x92, + 0x41, 0x51, 0x2a, 0x1a, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x20, 0x4f, 0x70, 0x65, 0x6e, + 0x41, 0x50, 0x49, 0x20, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x32, 0x33, + 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x20, 0x4f, 0x70, 0x65, 0x6e, 0x41, 0x50, 0x49, 0x20, + 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x77, 0x68, 0x69, 0x6c, 0x65, + 0x20, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x69, 0x6e, 0x67, 0x20, 0x74, 0x68, 0x65, 0x20, 0x59, + 0x41, 0x4d, 0x4c, 0x52, 0x18, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x70, 0x65, 0x6e, + 0x41, 0x50, 0x49, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x6c, 0x92, + 0x41, 0x69, 0x0a, 0x34, 0x2a, 0x0c, 0x59, 0x41, 0x4d, 0x4c, 0x20, 0x4f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x32, 0x24, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x20, 0x66, 0x6f, 0x72, 0x20, + 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x69, 0x6e, 0x67, 0x20, 0x59, 0x41, 0x4d, 0x4c, 0x20, 0x61, + 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x32, 0x31, 0x7b, 0x22, 0x66, 0x6f, 0x72, 0x63, + 0x65, 0x22, 0x3a, 0x20, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x2c, 0x22, 0x64, 0x69, 0x73, 0x61, 0x62, + 0x6c, 0x65, 0x4f, 0x70, 0x65, 0x6e, 0x41, 0x50, 0x49, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x20, 0x74, 0x72, 0x75, 0x65, 0x7d, 0x42, 0xff, 0x01, 0x0a, 0x1f, + 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x42, + 0x0e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, + 0x01, 0x5a, 0x3b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x61, + 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, + 0x70, 0x62, 0x2f, 0x76, 0x33, 0x3b, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x76, 0x33, 0xa2, 0x02, + 0x04, 0x50, 0x44, 0x54, 0x43, 0xaa, 0x02, 0x1b, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, + 0x44, 0x65, 0x76, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, + 0x2e, 0x56, 0x33, 0xca, 0x02, 0x1b, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x5c, 0x44, 0x65, + 0x76, 0x5c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x5c, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x5c, 0x56, + 0x33, 0xe2, 0x02, 0x27, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x5c, 0x44, 0x65, 0x76, 0x5c, + 0x54, 0x79, 0x70, 0x65, 0x73, 0x5c, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x5c, 0x56, 0x33, 0x5c, + 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1f, 0x50, 0x61, + 0x72, 0x61, 0x6c, 0x75, 0x73, 0x3a, 0x3a, 0x44, 0x65, 0x76, 0x3a, 0x3a, 0x54, 0x79, 0x70, 0x65, + 0x73, 0x3a, 0x3a, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x3a, 0x3a, 0x56, 0x33, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/proto/types/commonpb/v3/artifacts.proto b/proto/types/commonpb/v3/artifacts.proto index 7178d97a..8c258f0b 100644 --- a/proto/types/commonpb/v3/artifacts.proto +++ b/proto/types/commonpb/v3/artifacts.proto @@ -3,7 +3,6 @@ syntax = "proto3"; package paralus.dev.types.common.v3; import "protoc-gen-openapiv2/options/annotations.proto"; -import "google/api/field_behavior.proto"; message File { option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = { diff --git a/proto/types/commonpb/v3/auth.pb.go b/proto/types/commonpb/v3/auth.pb.go index 3de24585..793789b3 100644 --- a/proto/types/commonpb/v3/auth.pb.go +++ b/proto/types/commonpb/v3/auth.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.27.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: proto/types/commonpb/v3/auth.proto diff --git a/proto/types/commonpb/v3/common.pb.go b/proto/types/commonpb/v3/common.pb.go index a4480093..56cce30c 100644 --- a/proto/types/commonpb/v3/common.pb.go +++ b/proto/types/commonpb/v3/common.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.27.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: proto/types/commonpb/v3/common.proto diff --git a/proto/types/controller/cluster_controller.pb.go b/proto/types/controller/cluster_controller.pb.go index 3505aa13..97c43fcf 100644 --- a/proto/types/controller/cluster_controller.pb.go +++ b/proto/types/controller/cluster_controller.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.27.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: proto/types/controller/cluster_controller.proto @@ -12,7 +12,6 @@ import ( v1beta1 "k8s.io/api/batch/v1beta1" v11 "k8s.io/api/core/v1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" - _ "k8s.io/apimachinery/pkg/runtime" reflect "reflect" sync "sync" ) @@ -1475,353 +1474,350 @@ var file_proto_types_controller_cluster_controller_proto_rawDesc = []byte{ 0x34, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2f, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, - 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x72, - 0x75, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x22, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2f, 0x61, - 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, - 0x61, 0x74, 0x65, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x28, 0x6b, 0x38, 0x73, 0x2e, - 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2f, 0x76, 0x31, 0x62, - 0x65, 0x74, 0x61, 0x31, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd0, 0x01, 0x0a, 0x0a, 0x53, 0x74, 0x65, 0x70, 0x4f, 0x62, 0x6a, - 0x65, 0x63, 0x74, 0x12, 0x4a, 0x0a, 0x08, 0x74, 0x79, 0x70, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, - 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, - 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x79, 0x70, - 0x65, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x08, 0x74, 0x79, 0x70, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x12, - 0x50, 0x0a, 0x0a, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, - 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, - 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, - 0x74, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x0a, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x74, - 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x72, 0x61, 0x77, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x0c, 0x52, 0x03, 0x72, 0x61, 0x77, 0x22, 0xcd, 0x01, 0x0a, 0x0c, 0x53, 0x74, 0x65, 0x70, - 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, - 0x6f, 0x6e, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, - 0x6f, 0x6e, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x12, 0x40, 0x0a, 0x06, 0x6f, 0x62, 0x6a, 0x65, - 0x63, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x22, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, + 0x69, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, + 0x74, 0x65, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x28, 0x6b, 0x38, 0x73, 0x2e, 0x69, + 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2f, 0x76, 0x31, 0x62, 0x65, + 0x74, 0x61, 0x31, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0xd0, 0x01, 0x0a, 0x0a, 0x53, 0x74, 0x65, 0x70, 0x4f, 0x62, 0x6a, 0x65, + 0x63, 0x74, 0x12, 0x4a, 0x0a, 0x08, 0x74, 0x79, 0x70, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, + 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, + 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x79, 0x70, 0x65, + 0x4d, 0x65, 0x74, 0x61, 0x52, 0x08, 0x74, 0x79, 0x70, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x50, + 0x0a, 0x0a, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, + 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, + 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, + 0x4d, 0x65, 0x74, 0x61, 0x52, 0x0a, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x74, 0x61, + 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x72, 0x61, 0x77, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x03, 0x72, 0x61, 0x77, 0x22, 0xcd, 0x01, 0x0a, 0x0c, 0x53, 0x74, 0x65, 0x70, 0x54, + 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6f, + 0x6e, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, + 0x6e, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x12, 0x40, 0x0a, 0x06, 0x6f, 0x62, 0x6a, 0x65, 0x63, + 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, + 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, + 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x53, 0x74, 0x65, 0x70, 0x4f, 0x62, 0x6a, 0x65, 0x63, + 0x74, 0x52, 0x06, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x4b, 0x0a, 0x0b, 0x6a, 0x6f, 0x62, + 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, + 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x62, 0x61, 0x74, 0x63, + 0x68, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4a, 0x6f, 0x62, 0x54, 0x65, 0x6d, + 0x70, 0x6c, 0x61, 0x74, 0x65, 0x53, 0x70, 0x65, 0x63, 0x52, 0x0b, 0x6a, 0x6f, 0x62, 0x54, 0x65, + 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x22, 0x98, 0x03, 0x0a, 0x0a, 0x53, 0x74, 0x65, 0x70, 0x53, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x41, 0x0a, 0x09, 0x6f, 0x62, 0x6a, + 0x65, 0x63, 0x74, 0x52, 0x65, 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6b, + 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, + 0x65, 0x52, 0x09, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x66, 0x12, 0x20, 0x0a, 0x0b, + 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0b, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x22, + 0x0a, 0x0c, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x61, 0x73, + 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x6a, 0x6f, 0x62, 0x53, 0x74, 0x61, 0x74, 0x65, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6a, 0x6f, 0x62, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1c, + 0x0a, 0x09, 0x6a, 0x6f, 0x62, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x09, 0x6a, 0x6f, 0x62, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x3b, 0x0a, 0x06, + 0x6a, 0x6f, 0x62, 0x52, 0x65, 0x66, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6b, + 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, + 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, + 0x65, 0x52, 0x06, 0x6a, 0x6f, 0x62, 0x52, 0x65, 0x66, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, + 0x74, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, + 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x26, 0x0a, 0x0e, 0x6f, 0x62, 0x6a, 0x65, 0x63, + 0x74, 0x53, 0x70, 0x65, 0x63, 0x48, 0x61, 0x73, 0x68, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0e, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x70, 0x65, 0x63, 0x48, 0x61, 0x73, 0x68, 0x12, + 0x20, 0x0a, 0x0b, 0x6a, 0x6f, 0x62, 0x53, 0x70, 0x65, 0x63, 0x48, 0x61, 0x73, 0x68, 0x18, 0x0b, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6a, 0x6f, 0x62, 0x53, 0x70, 0x65, 0x63, 0x48, 0x61, 0x73, + 0x68, 0x22, 0xab, 0x02, 0x0a, 0x0b, 0x54, 0x61, 0x73, 0x6b, 0x6c, 0x65, 0x74, 0x53, 0x70, 0x65, + 0x63, 0x12, 0x3e, 0x0a, 0x04, 0x69, 0x6e, 0x69, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x2a, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, + 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x53, + 0x74, 0x65, 0x70, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x04, 0x69, 0x6e, 0x69, + 0x74, 0x12, 0x44, 0x0a, 0x07, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x18, 0x02, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, + 0x72, 0x2e, 0x53, 0x74, 0x65, 0x70, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x07, + 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x12, 0x4c, 0x0a, 0x0b, 0x70, 0x6f, 0x73, 0x74, 0x49, + 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x70, + 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, + 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x53, 0x74, 0x65, 0x70, + 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x0b, 0x70, 0x6f, 0x73, 0x74, 0x49, 0x6e, + 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x12, 0x48, 0x0a, 0x09, 0x70, 0x72, 0x65, 0x44, 0x65, 0x6c, 0x65, + 0x74, 0x65, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6e, - 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x53, 0x74, 0x65, 0x70, 0x4f, 0x62, 0x6a, 0x65, - 0x63, 0x74, 0x52, 0x06, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x4b, 0x0a, 0x0b, 0x6a, 0x6f, - 0x62, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x29, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x62, 0x61, 0x74, - 0x63, 0x68, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4a, 0x6f, 0x62, 0x54, 0x65, - 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x53, 0x70, 0x65, 0x63, 0x52, 0x0b, 0x6a, 0x6f, 0x62, 0x54, - 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x22, 0x98, 0x03, 0x0a, 0x0a, 0x53, 0x74, 0x65, 0x70, - 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x41, 0x0a, 0x09, 0x6f, 0x62, - 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, - 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, - 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, - 0x63, 0x65, 0x52, 0x09, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x66, 0x12, 0x20, 0x0a, - 0x0b, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, - 0x22, 0x0a, 0x0c, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x61, - 0x73, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x6a, 0x6f, 0x62, 0x53, 0x74, 0x61, 0x74, 0x65, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6a, 0x6f, 0x62, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, - 0x1c, 0x0a, 0x09, 0x6a, 0x6f, 0x62, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x09, 0x6a, 0x6f, 0x62, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x3b, 0x0a, - 0x06, 0x6a, 0x6f, 0x62, 0x52, 0x65, 0x66, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, - 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, - 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, - 0x63, 0x65, 0x52, 0x06, 0x6a, 0x6f, 0x62, 0x52, 0x65, 0x66, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, - 0x61, 0x74, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, - 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x26, 0x0a, 0x0e, 0x6f, 0x62, 0x6a, 0x65, - 0x63, 0x74, 0x53, 0x70, 0x65, 0x63, 0x48, 0x61, 0x73, 0x68, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0e, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x70, 0x65, 0x63, 0x48, 0x61, 0x73, 0x68, - 0x12, 0x20, 0x0a, 0x0b, 0x6a, 0x6f, 0x62, 0x53, 0x70, 0x65, 0x63, 0x48, 0x61, 0x73, 0x68, 0x18, - 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6a, 0x6f, 0x62, 0x53, 0x70, 0x65, 0x63, 0x48, 0x61, - 0x73, 0x68, 0x22, 0xab, 0x02, 0x0a, 0x0b, 0x54, 0x61, 0x73, 0x6b, 0x6c, 0x65, 0x74, 0x53, 0x70, - 0x65, 0x63, 0x12, 0x3e, 0x0a, 0x04, 0x69, 0x6e, 0x69, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x2a, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, - 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, - 0x53, 0x74, 0x65, 0x70, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x04, 0x69, 0x6e, - 0x69, 0x74, 0x12, 0x44, 0x0a, 0x07, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x18, 0x02, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, - 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, - 0x65, 0x72, 0x2e, 0x53, 0x74, 0x65, 0x70, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, - 0x07, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x12, 0x4c, 0x0a, 0x0b, 0x70, 0x6f, 0x73, 0x74, - 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, - 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, - 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x53, 0x74, 0x65, - 0x70, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x0b, 0x70, 0x6f, 0x73, 0x74, 0x49, - 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x12, 0x48, 0x0a, 0x09, 0x70, 0x72, 0x65, 0x44, 0x65, 0x6c, - 0x65, 0x74, 0x65, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x70, 0x61, 0x72, 0x61, - 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, - 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x53, 0x74, 0x65, 0x70, 0x54, 0x65, 0x6d, - 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x09, 0x70, 0x72, 0x65, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, - 0x22, 0xaa, 0x01, 0x0a, 0x10, 0x54, 0x61, 0x73, 0x6b, 0x6c, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x64, - 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, - 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x12, 0x52, 0x0a, 0x0e, 0x6c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, - 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x6b, 0x38, 0x73, 0x2e, - 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, - 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, - 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x0e, 0x6c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x22, 0xa5, 0x03, - 0x0a, 0x0d, 0x54, 0x61, 0x73, 0x6b, 0x6c, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, - 0x2e, 0x0a, 0x12, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x47, 0x65, 0x6e, 0x65, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x12, 0x52, 0x12, 0x6f, 0x62, 0x73, - 0x65, 0x72, 0x76, 0x65, 0x64, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, - 0x4e, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, - 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, - 0x65, 0x72, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x6c, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, - 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, - 0x3c, 0x0a, 0x04, 0x69, 0x6e, 0x69, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, + 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x53, 0x74, 0x65, 0x70, 0x54, 0x65, 0x6d, 0x70, + 0x6c, 0x61, 0x74, 0x65, 0x52, 0x09, 0x70, 0x72, 0x65, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x22, + 0xaa, 0x01, 0x0a, 0x10, 0x54, 0x61, 0x73, 0x6b, 0x6c, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x64, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x12, 0x52, 0x0a, 0x0e, 0x6c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, + 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, + 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, + 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, + 0x54, 0x69, 0x6d, 0x65, 0x52, 0x0e, 0x6c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x54, 0x69, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x22, 0xa5, 0x03, 0x0a, + 0x0d, 0x54, 0x61, 0x73, 0x6b, 0x6c, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2e, + 0x0a, 0x12, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x12, 0x52, 0x12, 0x6f, 0x62, 0x73, 0x65, + 0x72, 0x76, 0x65, 0x64, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4e, + 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, + 0x72, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x6c, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3c, + 0x0a, 0x04, 0x69, 0x6e, 0x69, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x70, + 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, + 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x53, 0x74, 0x65, 0x70, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x04, 0x69, 0x6e, 0x69, 0x74, 0x12, 0x42, 0x0a, 0x07, + 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x53, 0x74, 0x65, - 0x70, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x04, 0x69, 0x6e, 0x69, 0x74, 0x12, 0x42, 0x0a, - 0x07, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, - 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, - 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x53, 0x74, - 0x65, 0x70, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x07, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, - 0x6c, 0x12, 0x4a, 0x0a, 0x0b, 0x70, 0x6f, 0x73, 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, - 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, - 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x53, 0x74, 0x65, 0x70, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, - 0x52, 0x0b, 0x70, 0x6f, 0x73, 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x12, 0x46, 0x0a, - 0x09, 0x70, 0x72, 0x65, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x28, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, - 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, - 0x53, 0x74, 0x65, 0x70, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x09, 0x70, 0x72, 0x65, 0x44, - 0x65, 0x6c, 0x65, 0x74, 0x65, 0x22, 0xab, 0x02, 0x0a, 0x07, 0x54, 0x61, 0x73, 0x6b, 0x6c, 0x65, - 0x74, 0x12, 0x4a, 0x0a, 0x08, 0x74, 0x79, 0x70, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, - 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, - 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x4d, - 0x65, 0x74, 0x61, 0x52, 0x08, 0x74, 0x79, 0x70, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x50, 0x0a, - 0x0a, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x30, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, - 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, - 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4d, - 0x65, 0x74, 0x61, 0x52, 0x0a, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x12, - 0x3d, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, - 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, - 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x54, 0x61, 0x73, - 0x6b, 0x6c, 0x65, 0x74, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x43, - 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, - 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, - 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x54, 0x61, - 0x73, 0x6b, 0x6c, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, - 0x74, 0x75, 0x73, 0x22, 0xe2, 0x01, 0x0a, 0x0b, 0x54, 0x61, 0x73, 0x6b, 0x6c, 0x65, 0x74, 0x4c, - 0x69, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x08, 0x74, 0x79, 0x70, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, - 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, - 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x79, 0x70, - 0x65, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x08, 0x74, 0x79, 0x70, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x12, - 0x4a, 0x0a, 0x08, 0x6c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x2e, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, - 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, - 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, - 0x61, 0x52, 0x08, 0x6c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x3b, 0x0a, 0x05, 0x69, - 0x74, 0x65, 0x6d, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x70, 0x61, 0x72, - 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, - 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x6c, 0x65, - 0x74, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x22, 0xa2, 0x01, 0x0a, 0x0f, 0x54, 0x61, 0x73, - 0x6b, 0x6c, 0x65, 0x74, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x50, 0x0a, 0x0a, - 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x70, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x07, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, + 0x12, 0x4a, 0x0a, 0x0b, 0x70, 0x6f, 0x73, 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x18, + 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, + 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x53, 0x74, 0x65, 0x70, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, + 0x0b, 0x70, 0x6f, 0x73, 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x12, 0x46, 0x0a, 0x09, + 0x70, 0x72, 0x65, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x28, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, + 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x53, + 0x74, 0x65, 0x70, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x09, 0x70, 0x72, 0x65, 0x44, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x22, 0xab, 0x02, 0x0a, 0x07, 0x54, 0x61, 0x73, 0x6b, 0x6c, 0x65, 0x74, + 0x12, 0x4a, 0x0a, 0x08, 0x74, 0x79, 0x70, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, + 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, + 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x4d, 0x65, + 0x74, 0x61, 0x52, 0x08, 0x74, 0x79, 0x70, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x50, 0x0a, 0x0a, + 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x0a, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x3d, - 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x70, + 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x54, 0x61, 0x73, 0x6b, - 0x6c, 0x65, 0x74, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x22, 0xdd, 0x01, - 0x0a, 0x08, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x70, 0x65, 0x63, 0x12, 0x3e, 0x0a, 0x04, 0x69, 0x6e, - 0x69, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, - 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6e, - 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x53, 0x74, 0x65, 0x70, 0x54, 0x65, 0x6d, 0x70, - 0x6c, 0x61, 0x74, 0x65, 0x52, 0x04, 0x69, 0x6e, 0x69, 0x74, 0x12, 0x47, 0x0a, 0x07, 0x74, 0x61, - 0x73, 0x6b, 0x6c, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x70, 0x61, + 0x6c, 0x65, 0x74, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x43, 0x0a, + 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, + 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, + 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x54, 0x61, 0x73, + 0x6b, 0x6c, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x22, 0xe2, 0x01, 0x0a, 0x0b, 0x54, 0x61, 0x73, 0x6b, 0x6c, 0x65, 0x74, 0x4c, 0x69, + 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x08, 0x74, 0x79, 0x70, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, + 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, + 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x79, 0x70, 0x65, + 0x4d, 0x65, 0x74, 0x61, 0x52, 0x08, 0x74, 0x79, 0x70, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x4a, + 0x0a, 0x08, 0x6c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x2e, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, + 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, + 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, + 0x52, 0x08, 0x6c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x3b, 0x0a, 0x05, 0x69, 0x74, + 0x65, 0x6d, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x70, 0x61, 0x72, 0x61, + 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, + 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x6c, 0x65, 0x74, + 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x22, 0xa2, 0x01, 0x0a, 0x0f, 0x54, 0x61, 0x73, 0x6b, + 0x6c, 0x65, 0x74, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x50, 0x0a, 0x0a, 0x6f, + 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x30, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, + 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, + 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x74, + 0x61, 0x52, 0x0a, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x3d, 0x0a, + 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x6c, - 0x65, 0x74, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x07, 0x74, 0x61, 0x73, 0x6b, - 0x6c, 0x65, 0x74, 0x12, 0x48, 0x0a, 0x09, 0x70, 0x72, 0x65, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, - 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, - 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x53, 0x74, 0x65, 0x70, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, - 0x74, 0x65, 0x52, 0x09, 0x70, 0x72, 0x65, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x22, 0xa7, 0x01, - 0x0a, 0x0d, 0x54, 0x61, 0x73, 0x6b, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, - 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, - 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x52, 0x0a, 0x0e, 0x6c, - 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, - 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, - 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, - 0x0e, 0x6c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, - 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x22, 0xd4, 0x02, 0x0a, 0x0a, 0x54, 0x61, 0x73, 0x6b, - 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2e, 0x0a, 0x12, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, - 0x65, 0x64, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x12, 0x52, 0x12, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x47, 0x65, 0x6e, 0x65, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4b, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x70, 0x61, 0x72, + 0x65, 0x74, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x22, 0xdd, 0x01, 0x0a, + 0x08, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x70, 0x65, 0x63, 0x12, 0x3e, 0x0a, 0x04, 0x69, 0x6e, 0x69, + 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, + 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, + 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x53, 0x74, 0x65, 0x70, 0x54, 0x65, 0x6d, 0x70, 0x6c, + 0x61, 0x74, 0x65, 0x52, 0x04, 0x69, 0x6e, 0x69, 0x74, 0x12, 0x47, 0x0a, 0x07, 0x74, 0x61, 0x73, + 0x6b, 0x6c, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, - 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x43, 0x6f, - 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x12, 0x3c, 0x0a, 0x04, 0x69, 0x6e, 0x69, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x28, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, - 0x2e, 0x53, 0x74, 0x65, 0x70, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x04, 0x69, 0x6e, 0x69, - 0x74, 0x12, 0x43, 0x0a, 0x0a, 0x74, 0x61, 0x73, 0x6b, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x66, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, - 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, - 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x0a, 0x74, 0x61, 0x73, 0x6b, - 0x6c, 0x65, 0x74, 0x52, 0x65, 0x66, 0x12, 0x46, 0x0a, 0x09, 0x70, 0x72, 0x65, 0x44, 0x65, 0x6c, - 0x65, 0x74, 0x65, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x70, 0x61, 0x72, 0x61, - 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, - 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x53, 0x74, 0x65, 0x70, 0x53, 0x74, 0x61, - 0x74, 0x75, 0x73, 0x52, 0x09, 0x70, 0x72, 0x65, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x22, 0xa2, - 0x02, 0x0a, 0x04, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x4a, 0x0a, 0x08, 0x74, 0x79, 0x70, 0x65, 0x4d, - 0x65, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x6b, 0x38, 0x73, 0x2e, - 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, - 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, - 0x2e, 0x54, 0x79, 0x70, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x08, 0x74, 0x79, 0x70, 0x65, 0x4d, - 0x65, 0x74, 0x61, 0x12, 0x50, 0x0a, 0x0a, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x74, - 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, - 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, - 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4f, - 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x0a, 0x6f, 0x62, 0x6a, 0x65, 0x63, - 0x74, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x3a, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, - 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, - 0x65, 0x72, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, - 0x63, 0x12, 0x40, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x28, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, - 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, - 0x74, 0x75, 0x73, 0x22, 0xdc, 0x01, 0x0a, 0x08, 0x54, 0x61, 0x73, 0x6b, 0x4c, 0x69, 0x73, 0x74, - 0x12, 0x4a, 0x0a, 0x08, 0x74, 0x79, 0x70, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, + 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x6c, 0x65, + 0x74, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x07, 0x74, 0x61, 0x73, 0x6b, 0x6c, + 0x65, 0x74, 0x12, 0x48, 0x0a, 0x09, 0x70, 0x72, 0x65, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x18, + 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, + 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, + 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x53, 0x74, 0x65, 0x70, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, + 0x65, 0x52, 0x09, 0x70, 0x72, 0x65, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x22, 0xa7, 0x01, 0x0a, + 0x0d, 0x54, 0x61, 0x73, 0x6b, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, + 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, + 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x52, 0x0a, 0x0e, 0x6c, 0x61, + 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, - 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x4d, 0x65, - 0x74, 0x61, 0x52, 0x08, 0x74, 0x79, 0x70, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x4a, 0x0a, 0x08, - 0x6c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, - 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, - 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, - 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x08, - 0x6c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x38, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, - 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, - 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, - 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x05, 0x69, 0x74, 0x65, - 0x6d, 0x73, 0x22, 0xbd, 0x02, 0x0a, 0x0d, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x53, 0x70, 0x65, 0x63, 0x12, 0x3e, 0x0a, 0x04, 0x69, 0x6e, 0x69, 0x74, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, - 0x72, 0x2e, 0x53, 0x74, 0x65, 0x70, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x04, - 0x69, 0x6e, 0x69, 0x74, 0x12, 0x56, 0x0a, 0x0d, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x4d, 0x65, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x6b, 0x38, - 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, - 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, - 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x0d, 0x6e, - 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x4a, 0x0a, 0x0a, - 0x70, 0x6f, 0x73, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x2a, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, - 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, - 0x53, 0x74, 0x65, 0x70, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x0a, 0x70, 0x6f, - 0x73, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x48, 0x0a, 0x09, 0x70, 0x72, 0x65, 0x44, - 0x65, 0x6c, 0x65, 0x74, 0x65, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x70, 0x61, - 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, - 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x53, 0x74, 0x65, 0x70, 0x54, - 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x09, 0x70, 0x72, 0x65, 0x44, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x22, 0xac, 0x01, 0x0a, 0x12, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, - 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, - 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x52, 0x0a, 0x0e, 0x6c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, - 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, - 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, - 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x0e, 0x6c, 0x61, 0x73, 0x74, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, - 0x73, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, - 0x6e, 0x22, 0xac, 0x03, 0x0a, 0x0f, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, + 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x0e, + 0x6c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x16, + 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, + 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x22, 0xd4, 0x02, 0x0a, 0x0a, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2e, 0x0a, 0x12, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x12, 0x52, 0x12, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x47, 0x65, 0x6e, 0x65, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x50, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x70, 0x61, 0x72, 0x61, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4b, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, - 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x63, 0x6f, 0x6e, - 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3c, 0x0a, 0x04, 0x69, 0x6e, 0x69, 0x74, 0x18, - 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, - 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, - 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x53, 0x74, 0x65, 0x70, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, - 0x04, 0x69, 0x6e, 0x69, 0x74, 0x12, 0x47, 0x0a, 0x0c, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x52, 0x65, 0x66, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6b, 0x38, - 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, - 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, - 0x52, 0x0c, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x66, 0x12, 0x48, - 0x0a, 0x0a, 0x70, 0x6f, 0x73, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, - 0x72, 0x2e, 0x53, 0x74, 0x65, 0x70, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0a, 0x70, 0x6f, - 0x73, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x46, 0x0a, 0x09, 0x70, 0x72, 0x65, 0x44, - 0x65, 0x6c, 0x65, 0x74, 0x65, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x70, 0x61, - 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, - 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x53, 0x74, 0x65, 0x70, 0x53, - 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x09, 0x70, 0x72, 0x65, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, - 0x22, 0xb1, 0x02, 0x0a, 0x09, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x4a, - 0x0a, 0x08, 0x74, 0x79, 0x70, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x2e, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, - 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, - 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x4d, 0x65, 0x74, 0x61, - 0x52, 0x08, 0x74, 0x79, 0x70, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x50, 0x0a, 0x0a, 0x6f, 0x62, - 0x6a, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, - 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, - 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, - 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x74, 0x61, - 0x52, 0x0a, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x3f, 0x0a, 0x04, - 0x73, 0x70, 0x65, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x70, 0x61, 0x72, - 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, - 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x45, 0x0a, - 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, - 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, - 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x4e, 0x61, 0x6d, - 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, - 0x61, 0x74, 0x75, 0x73, 0x22, 0xe6, 0x01, 0x0a, 0x0d, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x08, 0x74, 0x79, 0x70, 0x65, 0x4d, 0x65, + 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x43, 0x6f, 0x6e, + 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x12, 0x3c, 0x0a, 0x04, 0x69, 0x6e, 0x69, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x28, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, + 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, + 0x53, 0x74, 0x65, 0x70, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x04, 0x69, 0x6e, 0x69, 0x74, + 0x12, 0x43, 0x0a, 0x0a, 0x74, 0x61, 0x73, 0x6b, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x66, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, + 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, + 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x0a, 0x74, 0x61, 0x73, 0x6b, 0x6c, + 0x65, 0x74, 0x52, 0x65, 0x66, 0x12, 0x46, 0x0a, 0x09, 0x70, 0x72, 0x65, 0x44, 0x65, 0x6c, 0x65, + 0x74, 0x65, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, + 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6e, + 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x53, 0x74, 0x65, 0x70, 0x53, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x52, 0x09, 0x70, 0x72, 0x65, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x22, 0xa2, 0x02, + 0x0a, 0x04, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x4a, 0x0a, 0x08, 0x74, 0x79, 0x70, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x08, 0x74, 0x79, 0x70, 0x65, 0x4d, 0x65, - 0x74, 0x61, 0x12, 0x4a, 0x0a, 0x08, 0x6c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, - 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, - 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, - 0x4d, 0x65, 0x74, 0x61, 0x52, 0x08, 0x6c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x3d, - 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, - 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, - 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x4e, 0x61, 0x6d, - 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x42, 0x81, 0x02, - 0x0a, 0x20, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, - 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, - 0x65, 0x72, 0x42, 0x16, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x72, - 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x31, 0x67, 0x69, - 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, - 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, - 0x79, 0x70, 0x65, 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0xa2, - 0x02, 0x04, 0x50, 0x44, 0x54, 0x43, 0xaa, 0x02, 0x1c, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, - 0x2e, 0x44, 0x65, 0x76, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x72, - 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0xca, 0x02, 0x1c, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x5c, - 0x44, 0x65, 0x76, 0x5c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x5c, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, - 0x6c, 0x6c, 0x65, 0x72, 0xe2, 0x02, 0x28, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x5c, 0x44, + 0x74, 0x61, 0x12, 0x50, 0x0a, 0x0a, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x74, 0x61, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, + 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, + 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, + 0x6a, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x0a, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, + 0x4d, 0x65, 0x74, 0x61, 0x12, 0x3a, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, + 0x72, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, + 0x12, 0x40, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x28, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, + 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, + 0x54, 0x61, 0x73, 0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x22, 0xdc, 0x01, 0x0a, 0x08, 0x54, 0x61, 0x73, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x12, + 0x4a, 0x0a, 0x08, 0x74, 0x79, 0x70, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x2e, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, + 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, + 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x4d, 0x65, 0x74, + 0x61, 0x52, 0x08, 0x74, 0x79, 0x70, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x4a, 0x0a, 0x08, 0x6c, + 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, + 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, + 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, + 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x08, 0x6c, + 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x38, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, + 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, + 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, + 0x73, 0x22, 0xbd, 0x02, 0x0a, 0x0d, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, + 0x70, 0x65, 0x63, 0x12, 0x3e, 0x0a, 0x04, 0x69, 0x6e, 0x69, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x2a, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, + 0x2e, 0x53, 0x74, 0x65, 0x70, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x04, 0x69, + 0x6e, 0x69, 0x74, 0x12, 0x56, 0x0a, 0x0d, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x4d, 0x65, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x6b, 0x38, 0x73, + 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, + 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, + 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x0d, 0x6e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x4a, 0x0a, 0x0a, 0x70, + 0x6f, 0x73, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x2a, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, + 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x53, + 0x74, 0x65, 0x70, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x0a, 0x70, 0x6f, 0x73, + 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x48, 0x0a, 0x09, 0x70, 0x72, 0x65, 0x44, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x70, 0x61, 0x72, + 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, + 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x53, 0x74, 0x65, 0x70, 0x54, 0x65, + 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x52, 0x09, 0x70, 0x72, 0x65, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x22, 0xac, 0x01, 0x0a, 0x12, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x43, + 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, + 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x12, 0x52, 0x0a, 0x0e, 0x6c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x6b, + 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, + 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, + 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x0e, 0x6c, 0x61, 0x73, 0x74, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, + 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, + 0x22, 0xac, 0x03, 0x0a, 0x0f, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x12, 0x2e, 0x0a, 0x12, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, + 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x12, + 0x52, 0x12, 0x6f, 0x62, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x50, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, + 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6e, + 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x64, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3c, 0x0a, 0x04, 0x69, 0x6e, 0x69, 0x74, 0x18, 0x03, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, + 0x6c, 0x65, 0x72, 0x2e, 0x53, 0x74, 0x65, 0x70, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x04, + 0x69, 0x6e, 0x69, 0x74, 0x12, 0x47, 0x0a, 0x0c, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x52, 0x65, 0x66, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6b, 0x38, 0x73, + 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x31, 0x2e, + 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, + 0x0c, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x66, 0x12, 0x48, 0x0a, + 0x0a, 0x70, 0x6f, 0x73, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x28, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, + 0x2e, 0x53, 0x74, 0x65, 0x70, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0a, 0x70, 0x6f, 0x73, + 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x46, 0x0a, 0x09, 0x70, 0x72, 0x65, 0x44, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x70, 0x61, 0x72, + 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, + 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x53, 0x74, 0x65, 0x70, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x52, 0x09, 0x70, 0x72, 0x65, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x22, + 0xb1, 0x02, 0x0a, 0x09, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x4a, 0x0a, + 0x08, 0x74, 0x79, 0x70, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x2e, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, + 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, + 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x52, + 0x08, 0x74, 0x79, 0x70, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x50, 0x0a, 0x0a, 0x6f, 0x62, 0x6a, + 0x65, 0x63, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, + 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, + 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, + 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x52, + 0x0a, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x3f, 0x0a, 0x04, 0x73, + 0x70, 0x65, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x70, 0x61, 0x72, 0x61, + 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, + 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x45, 0x0a, 0x06, + 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x70, + 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, + 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x4e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x22, 0xe6, 0x01, 0x0a, 0x0d, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x4a, 0x0a, 0x08, 0x74, 0x79, 0x70, 0x65, 0x4d, 0x65, 0x74, + 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, + 0x2e, 0x61, 0x70, 0x69, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, + 0x67, 0x2e, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x54, + 0x79, 0x70, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x08, 0x74, 0x79, 0x70, 0x65, 0x4d, 0x65, 0x74, + 0x61, 0x12, 0x4a, 0x0a, 0x08, 0x6c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x6b, 0x38, 0x73, 0x2e, 0x69, 0x6f, 0x2e, 0x61, 0x70, 0x69, + 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x6b, 0x67, 0x2e, 0x61, 0x70, + 0x69, 0x73, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, + 0x65, 0x74, 0x61, 0x52, 0x08, 0x6c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x3d, 0x0a, + 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x70, + 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, + 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x4e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x42, 0x81, 0x02, 0x0a, + 0x20, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, + 0x72, 0x42, 0x16, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, + 0x6c, 0x6c, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x31, 0x67, 0x69, 0x74, + 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, + 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x79, + 0x70, 0x65, 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0xa2, 0x02, + 0x04, 0x50, 0x44, 0x54, 0x43, 0xaa, 0x02, 0x1c, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, + 0x44, 0x65, 0x76, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, + 0x6c, 0x6c, 0x65, 0x72, 0xca, 0x02, 0x1c, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x5c, 0x44, 0x65, 0x76, 0x5c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x5c, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, - 0x6c, 0x65, 0x72, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, - 0x02, 0x1f, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x3a, 0x3a, 0x44, 0x65, 0x76, 0x3a, 0x3a, - 0x54, 0x79, 0x70, 0x65, 0x73, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, - 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x6c, 0x65, 0x72, 0xe2, 0x02, 0x28, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x5c, 0x44, 0x65, + 0x76, 0x5c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x5c, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, + 0x65, 0x72, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, + 0x1f, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x3a, 0x3a, 0x44, 0x65, 0x76, 0x3a, 0x3a, 0x54, + 0x79, 0x70, 0x65, 0x73, 0x3a, 0x3a, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/proto/types/controller/cluster_controller.proto b/proto/types/controller/cluster_controller.proto index 6451225c..43bb6d02 100644 --- a/proto/types/controller/cluster_controller.proto +++ b/proto/types/controller/cluster_controller.proto @@ -2,7 +2,6 @@ syntax = "proto3"; package paralus.dev.types.controller; import "k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto"; -import "k8s.io/apimachinery/pkg/runtime/generated.proto"; import "k8s.io/api/core/v1/generated.proto"; import "k8s.io/api/batch/v1beta1/generated.proto"; diff --git a/proto/types/infrapb/v3/cluster.pb.go b/proto/types/infrapb/v3/cluster.pb.go index 1ec99ec1..7777c336 100644 --- a/proto/types/infrapb/v3/cluster.pb.go +++ b/proto/types/infrapb/v3/cluster.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.27.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: proto/types/infrapb/v3/cluster.proto diff --git a/proto/types/rolepb/v3/role.pb.go b/proto/types/rolepb/v3/role.pb.go index 931d4746..238d4944 100644 --- a/proto/types/rolepb/v3/role.pb.go +++ b/proto/types/rolepb/v3/role.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.27.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: proto/types/rolepb/v3/role.proto @@ -252,110 +252,107 @@ var file_proto_types_rolepb_v3_role_proto_rawDesc = []byte{ 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x72, 0x6f, 0x6c, 0x65, 0x2e, 0x76, 0x33, 0x1a, 0x24, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x70, 0x62, 0x2f, 0x76, 0x33, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x1a, 0x2a, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, - 0x2f, 0x72, 0x6f, 0x6c, 0x65, 0x70, 0x62, 0x2f, 0x76, 0x33, 0x2f, 0x72, 0x6f, 0x6c, 0x65, 0x70, - 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x6f, 0x70, 0x65, 0x6e, - 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x6e, - 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, - 0x9d, 0x04, 0x0a, 0x04, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x68, 0x0a, 0x0a, 0x61, 0x70, 0x69, 0x56, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x48, 0x92, 0x41, - 0x45, 0x2a, 0x0b, 0x41, 0x50, 0x49, 0x20, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x32, 0x20, - 0x41, 0x50, 0x49, 0x20, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x20, 0x6f, 0x66, 0x20, 0x74, - 0x68, 0x65, 0x20, 0x52, 0x6f, 0x6c, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, - 0x3a, 0x14, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x6b, 0x38, 0x73, 0x6d, 0x67, 0x6d, 0x74, - 0x2e, 0x69, 0x6f, 0x2f, 0x76, 0x33, 0x52, 0x0a, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, - 0x6f, 0x6e, 0x12, 0x3e, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x42, 0x2a, 0x92, 0x41, 0x27, 0x2a, 0x04, 0x4b, 0x69, 0x6e, 0x64, 0x32, 0x19, 0x4b, 0x69, 0x6e, - 0x64, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x6f, 0x6c, 0x65, 0x20, 0x72, 0x65, - 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3a, 0x04, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x04, 0x6b, 0x69, - 0x6e, 0x64, 0x12, 0x6f, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, - 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, - 0x76, 0x33, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, 0x2c, 0x92, 0x41, 0x29, - 0x2a, 0x08, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x32, 0x1d, 0x4d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x6f, 0x6c, 0x65, - 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, - 0x61, 0x74, 0x61, 0x12, 0x5d, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x23, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x72, 0x6f, 0x6c, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x52, 0x6f, - 0x6c, 0x65, 0x53, 0x70, 0x65, 0x63, 0x42, 0x24, 0x92, 0x41, 0x21, 0x2a, 0x04, 0x53, 0x70, 0x65, - 0x63, 0x32, 0x19, 0x53, 0x70, 0x65, 0x63, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, - 0x6f, 0x6c, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x04, 0x73, 0x70, - 0x65, 0x63, 0x12, 0x62, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, - 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x42, 0x25, 0x92, 0x41, 0x22, 0x2a, 0x06, 0x53, 0x74, - 0x61, 0x74, 0x75, 0x73, 0x32, 0x16, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x20, 0x6f, 0x66, 0x20, - 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x40, 0x01, 0x52, 0x06, - 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x3a, 0x37, 0x92, 0x41, 0x34, 0x0a, 0x32, 0x2a, 0x04, 0x52, - 0x6f, 0x6c, 0x65, 0x32, 0x04, 0x52, 0x6f, 0x6c, 0x65, 0xd2, 0x01, 0x0a, 0x61, 0x70, 0x69, 0x56, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0xd2, 0x01, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0xd2, 0x01, 0x08, - 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xd2, 0x01, 0x04, 0x73, 0x70, 0x65, 0x63, 0x22, - 0xdf, 0x02, 0x0a, 0x08, 0x52, 0x6f, 0x6c, 0x65, 0x53, 0x70, 0x65, 0x63, 0x12, 0x59, 0x0a, 0x0f, - 0x72, 0x6f, 0x6c, 0x65, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, - 0x01, 0x20, 0x03, 0x28, 0x09, 0x42, 0x2f, 0x92, 0x41, 0x2c, 0x2a, 0x10, 0x52, 0x6f, 0x6c, 0x65, - 0x20, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x32, 0x18, 0x50, 0x65, - 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x74, 0x68, - 0x65, 0x20, 0x72, 0x6f, 0x6c, 0x65, 0x52, 0x0f, 0x72, 0x6f, 0x6c, 0x65, 0x70, 0x65, 0x72, 0x6d, - 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x4b, 0x0a, 0x08, 0x69, 0x73, 0x47, 0x6c, 0x6f, - 0x62, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x42, 0x2f, 0x92, 0x41, 0x2c, 0x2a, 0x08, - 0x49, 0x73, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x32, 0x20, 0x53, 0x70, 0x65, 0x63, 0x69, 0x66, - 0x79, 0x20, 0x69, 0x66, 0x20, 0x74, 0x68, 0x69, 0x73, 0x20, 0x69, 0x73, 0x20, 0x61, 0x20, 0x67, - 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x20, 0x72, 0x6f, 0x6c, 0x65, 0x52, 0x08, 0x69, 0x73, 0x47, 0x6c, - 0x6f, 0x62, 0x61, 0x6c, 0x12, 0x2f, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x09, 0x42, 0x19, 0x92, 0x41, 0x16, 0x2a, 0x05, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x32, - 0x0d, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x20, 0x6f, 0x66, 0x20, 0x72, 0x6f, 0x6c, 0x65, 0x52, 0x05, - 0x73, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x4b, 0x0a, 0x07, 0x62, 0x75, 0x69, 0x6c, 0x74, 0x69, 0x6e, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x42, 0x31, 0x92, 0x41, 0x2e, 0x2a, 0x07, 0x42, 0x75, 0x69, - 0x6c, 0x74, 0x69, 0x6e, 0x32, 0x21, 0x53, 0x70, 0x65, 0x63, 0x69, 0x66, 0x79, 0x20, 0x69, 0x66, - 0x20, 0x74, 0x68, 0x69, 0x73, 0x20, 0x69, 0x73, 0x20, 0x61, 0x20, 0x62, 0x75, 0x69, 0x6c, 0x74, - 0x69, 0x6e, 0x20, 0x72, 0x6f, 0x6c, 0x65, 0x40, 0x01, 0x52, 0x07, 0x62, 0x75, 0x69, 0x6c, 0x74, - 0x69, 0x6e, 0x3a, 0x2d, 0x92, 0x41, 0x2a, 0x0a, 0x28, 0x2a, 0x12, 0x52, 0x6f, 0x6c, 0x65, 0x20, - 0x53, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x32, 0x12, 0x52, - 0x6f, 0x6c, 0x65, 0x20, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x22, 0x9d, 0x03, 0x0a, 0x08, 0x52, 0x6f, 0x6c, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x59, - 0x0a, 0x0a, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x42, 0x39, 0x92, 0x41, 0x36, 0x2a, 0x0b, 0x41, 0x50, 0x49, 0x20, 0x56, 0x65, 0x72, - 0x73, 0x69, 0x6f, 0x6e, 0x32, 0x25, 0x41, 0x50, 0x49, 0x20, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, - 0x6e, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x6f, 0x6c, 0x65, 0x20, 0x6c, 0x69, - 0x73, 0x74, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x40, 0x01, 0x52, 0x0a, 0x61, - 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3f, 0x0a, 0x04, 0x6b, 0x69, 0x6e, - 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2b, 0x92, 0x41, 0x28, 0x2a, 0x04, 0x4b, 0x69, - 0x6e, 0x64, 0x32, 0x1e, 0x4b, 0x69, 0x6e, 0x64, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, - 0x72, 0x6f, 0x6c, 0x65, 0x20, 0x6c, 0x69, 0x73, 0x74, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x40, 0x01, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x12, 0x7a, 0x0a, 0x08, 0x6d, 0x65, - 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x70, - 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, - 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, 0x33, 0x92, 0x41, 0x30, 0x2a, 0x08, 0x4d, 0x65, - 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x32, 0x22, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, - 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x6f, 0x6c, 0x65, 0x20, 0x6c, 0x69, 0x73, - 0x74, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x40, 0x01, 0x52, 0x08, 0x6d, 0x65, - 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x5b, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, - 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, + 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, + 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x9d, 0x04, 0x0a, 0x04, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x68, 0x0a, 0x0a, + 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x42, 0x48, 0x92, 0x41, 0x45, 0x2a, 0x0b, 0x41, 0x50, 0x49, 0x20, 0x56, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x32, 0x20, 0x41, 0x50, 0x49, 0x20, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x20, + 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x52, 0x6f, 0x6c, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x3a, 0x14, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x6b, 0x38, 0x73, + 0x6d, 0x67, 0x6d, 0x74, 0x2e, 0x69, 0x6f, 0x2f, 0x76, 0x33, 0x52, 0x0a, 0x61, 0x70, 0x69, 0x56, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3e, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x42, 0x2a, 0x92, 0x41, 0x27, 0x2a, 0x04, 0x4b, 0x69, 0x6e, 0x64, 0x32, + 0x19, 0x4b, 0x69, 0x6e, 0x64, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x6f, 0x6c, + 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3a, 0x04, 0x52, 0x6f, 0x6c, 0x65, + 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x12, 0x6f, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, + 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, + 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, + 0x2c, 0x92, 0x41, 0x29, 0x2a, 0x08, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x32, 0x1d, + 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, + 0x72, 0x6f, 0x6c, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x08, 0x6d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x5d, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x72, 0x6f, 0x6c, 0x65, 0x2e, 0x76, - 0x33, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x42, 0x24, 0x92, 0x41, 0x21, 0x2a, 0x05, 0x49, 0x74, 0x65, - 0x6d, 0x73, 0x32, 0x16, 0x4c, 0x69, 0x73, 0x74, 0x20, 0x6f, 0x66, 0x20, 0x72, 0x6f, 0x6c, 0x65, - 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x40, 0x01, 0x52, 0x05, 0x69, 0x74, - 0x65, 0x6d, 0x73, 0x3a, 0x1c, 0x92, 0x41, 0x19, 0x0a, 0x17, 0x2a, 0x08, 0x52, 0x6f, 0x6c, 0x65, - 0x4c, 0x69, 0x73, 0x74, 0x32, 0x09, 0x52, 0x6f, 0x6c, 0x65, 0x20, 0x6c, 0x69, 0x73, 0x74, 0x40, - 0x01, 0x42, 0xec, 0x01, 0x0a, 0x1d, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, - 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x72, 0x6f, 0x6c, 0x65, - 0x2e, 0x76, 0x33, 0x42, 0x09, 0x52, 0x6f, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, - 0x5a, 0x37, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x61, 0x72, - 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x72, 0x6f, 0x6c, 0x65, 0x70, 0x62, 0x2f, - 0x76, 0x33, 0x3b, 0x72, 0x6f, 0x6c, 0x65, 0x76, 0x33, 0xa2, 0x02, 0x04, 0x50, 0x44, 0x54, 0x52, - 0xaa, 0x02, 0x19, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x44, 0x65, 0x76, 0x2e, 0x54, - 0x79, 0x70, 0x65, 0x73, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x2e, 0x56, 0x33, 0xca, 0x02, 0x19, 0x50, + 0x33, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x53, 0x70, 0x65, 0x63, 0x42, 0x24, 0x92, 0x41, 0x21, 0x2a, + 0x04, 0x53, 0x70, 0x65, 0x63, 0x32, 0x19, 0x53, 0x70, 0x65, 0x63, 0x20, 0x6f, 0x66, 0x20, 0x74, + 0x68, 0x65, 0x20, 0x72, 0x6f, 0x6c, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x62, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, + 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x42, 0x25, 0x92, 0x41, 0x22, + 0x2a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x32, 0x16, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x40, 0x01, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x3a, 0x37, 0x92, 0x41, 0x34, 0x0a, + 0x32, 0x2a, 0x04, 0x52, 0x6f, 0x6c, 0x65, 0x32, 0x04, 0x52, 0x6f, 0x6c, 0x65, 0xd2, 0x01, 0x0a, + 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0xd2, 0x01, 0x04, 0x6b, 0x69, 0x6e, + 0x64, 0xd2, 0x01, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xd2, 0x01, 0x04, 0x73, + 0x70, 0x65, 0x63, 0x22, 0xdf, 0x02, 0x0a, 0x08, 0x52, 0x6f, 0x6c, 0x65, 0x53, 0x70, 0x65, 0x63, + 0x12, 0x59, 0x0a, 0x0f, 0x72, 0x6f, 0x6c, 0x65, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x42, 0x2f, 0x92, 0x41, 0x2c, 0x2a, 0x10, + 0x52, 0x6f, 0x6c, 0x65, 0x20, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x32, 0x18, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x20, 0x66, 0x6f, + 0x72, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x6f, 0x6c, 0x65, 0x52, 0x0f, 0x72, 0x6f, 0x6c, 0x65, + 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x4b, 0x0a, 0x08, 0x69, + 0x73, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x42, 0x2f, 0x92, + 0x41, 0x2c, 0x2a, 0x08, 0x49, 0x73, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x32, 0x20, 0x53, 0x70, + 0x65, 0x63, 0x69, 0x66, 0x79, 0x20, 0x69, 0x66, 0x20, 0x74, 0x68, 0x69, 0x73, 0x20, 0x69, 0x73, + 0x20, 0x61, 0x20, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x20, 0x72, 0x6f, 0x6c, 0x65, 0x52, 0x08, + 0x69, 0x73, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x12, 0x2f, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x70, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x19, 0x92, 0x41, 0x16, 0x2a, 0x05, 0x53, 0x63, + 0x6f, 0x70, 0x65, 0x32, 0x0d, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x20, 0x6f, 0x66, 0x20, 0x72, 0x6f, + 0x6c, 0x65, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x4b, 0x0a, 0x07, 0x62, 0x75, 0x69, + 0x6c, 0x74, 0x69, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x42, 0x31, 0x92, 0x41, 0x2e, 0x2a, + 0x07, 0x42, 0x75, 0x69, 0x6c, 0x74, 0x69, 0x6e, 0x32, 0x21, 0x53, 0x70, 0x65, 0x63, 0x69, 0x66, + 0x79, 0x20, 0x69, 0x66, 0x20, 0x74, 0x68, 0x69, 0x73, 0x20, 0x69, 0x73, 0x20, 0x61, 0x20, 0x62, + 0x75, 0x69, 0x6c, 0x74, 0x69, 0x6e, 0x20, 0x72, 0x6f, 0x6c, 0x65, 0x40, 0x01, 0x52, 0x07, 0x62, + 0x75, 0x69, 0x6c, 0x74, 0x69, 0x6e, 0x3a, 0x2d, 0x92, 0x41, 0x2a, 0x0a, 0x28, 0x2a, 0x12, 0x52, + 0x6f, 0x6c, 0x65, 0x20, 0x53, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x32, 0x12, 0x52, 0x6f, 0x6c, 0x65, 0x20, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x9d, 0x03, 0x0a, 0x08, 0x52, 0x6f, 0x6c, 0x65, 0x4c, 0x69, + 0x73, 0x74, 0x12, 0x59, 0x0a, 0x0a, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x39, 0x92, 0x41, 0x36, 0x2a, 0x0b, 0x41, 0x50, 0x49, + 0x20, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x32, 0x25, 0x41, 0x50, 0x49, 0x20, 0x56, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x6f, 0x6c, + 0x65, 0x20, 0x6c, 0x69, 0x73, 0x74, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x40, + 0x01, 0x52, 0x0a, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3f, 0x0a, + 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2b, 0x92, 0x41, 0x28, + 0x2a, 0x04, 0x4b, 0x69, 0x6e, 0x64, 0x32, 0x1e, 0x4b, 0x69, 0x6e, 0x64, 0x20, 0x6f, 0x66, 0x20, + 0x74, 0x68, 0x65, 0x20, 0x72, 0x6f, 0x6c, 0x65, 0x20, 0x6c, 0x69, 0x73, 0x74, 0x20, 0x72, 0x65, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x40, 0x01, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x12, 0x7a, + 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x29, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, + 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x4c, + 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, 0x33, 0x92, 0x41, 0x30, + 0x2a, 0x08, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x32, 0x22, 0x4d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x6f, 0x6c, 0x65, + 0x20, 0x6c, 0x69, 0x73, 0x74, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x40, 0x01, + 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x5b, 0x0a, 0x05, 0x69, 0x74, + 0x65, 0x6d, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x70, 0x61, 0x72, 0x61, + 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x72, 0x6f, + 0x6c, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x42, 0x24, 0x92, 0x41, 0x21, 0x2a, + 0x05, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x32, 0x16, 0x4c, 0x69, 0x73, 0x74, 0x20, 0x6f, 0x66, 0x20, + 0x72, 0x6f, 0x6c, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x40, 0x01, + 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x3a, 0x1c, 0x92, 0x41, 0x19, 0x0a, 0x17, 0x2a, 0x08, + 0x52, 0x6f, 0x6c, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x32, 0x09, 0x52, 0x6f, 0x6c, 0x65, 0x20, 0x6c, + 0x69, 0x73, 0x74, 0x40, 0x01, 0x42, 0xec, 0x01, 0x0a, 0x1d, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x61, + 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, + 0x72, 0x6f, 0x6c, 0x65, 0x2e, 0x76, 0x33, 0x42, 0x09, 0x52, 0x6f, 0x6c, 0x65, 0x50, 0x72, 0x6f, + 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x37, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, + 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, + 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x72, 0x6f, 0x6c, + 0x65, 0x70, 0x62, 0x2f, 0x76, 0x33, 0x3b, 0x72, 0x6f, 0x6c, 0x65, 0x76, 0x33, 0xa2, 0x02, 0x04, + 0x50, 0x44, 0x54, 0x52, 0xaa, 0x02, 0x19, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x44, + 0x65, 0x76, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x2e, 0x56, 0x33, + 0xca, 0x02, 0x19, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x5c, 0x44, 0x65, 0x76, 0x5c, 0x54, + 0x79, 0x70, 0x65, 0x73, 0x5c, 0x52, 0x6f, 0x6c, 0x65, 0x5c, 0x56, 0x33, 0xe2, 0x02, 0x25, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x5c, 0x44, 0x65, 0x76, 0x5c, 0x54, 0x79, 0x70, 0x65, 0x73, - 0x5c, 0x52, 0x6f, 0x6c, 0x65, 0x5c, 0x56, 0x33, 0xe2, 0x02, 0x25, 0x50, 0x61, 0x72, 0x61, 0x6c, - 0x75, 0x73, 0x5c, 0x44, 0x65, 0x76, 0x5c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x5c, 0x52, 0x6f, 0x6c, - 0x65, 0x5c, 0x56, 0x33, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, - 0xea, 0x02, 0x1d, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x3a, 0x3a, 0x44, 0x65, 0x76, 0x3a, - 0x3a, 0x54, 0x79, 0x70, 0x65, 0x73, 0x3a, 0x3a, 0x52, 0x6f, 0x6c, 0x65, 0x3a, 0x3a, 0x56, 0x33, - 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x5c, 0x52, 0x6f, 0x6c, 0x65, 0x5c, 0x56, 0x33, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1d, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x3a, 0x3a, + 0x44, 0x65, 0x76, 0x3a, 0x3a, 0x54, 0x79, 0x70, 0x65, 0x73, 0x3a, 0x3a, 0x52, 0x6f, 0x6c, 0x65, + 0x3a, 0x3a, 0x56, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -397,7 +394,6 @@ func file_proto_types_rolepb_v3_role_proto_init() { if File_proto_types_rolepb_v3_role_proto != nil { return } - file_proto_types_rolepb_v3_rolepermission_proto_init() if !protoimpl.UnsafeEnabled { file_proto_types_rolepb_v3_role_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Role); i { diff --git a/proto/types/rolepb/v3/role.proto b/proto/types/rolepb/v3/role.proto index f016b1ed..75572852 100644 --- a/proto/types/rolepb/v3/role.proto +++ b/proto/types/rolepb/v3/role.proto @@ -2,7 +2,6 @@ syntax = "proto3"; package paralus.dev.types.role.v3; import "proto/types/commonpb/v3/common.proto"; -import "proto/types/rolepb/v3/rolepermission.proto"; import "protoc-gen-openapiv2/options/annotations.proto"; message Role { diff --git a/proto/types/rolepb/v3/rolepermission.pb.go b/proto/types/rolepb/v3/rolepermission.pb.go index 2d545e53..3adfd8ce 100644 --- a/proto/types/rolepb/v3/rolepermission.pb.go +++ b/proto/types/rolepb/v3/rolepermission.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.27.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: proto/types/rolepb/v3/rolepermission.proto diff --git a/proto/types/scheduler/namespace.pb.go b/proto/types/scheduler/namespace.pb.go index 5601364e..cb5f4032 100644 --- a/proto/types/scheduler/namespace.pb.go +++ b/proto/types/scheduler/namespace.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.27.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: proto/types/scheduler/namespace.proto diff --git a/proto/types/sentry/account_permission.pb.go b/proto/types/sentry/account_permission.pb.go index e56b54bd..48fab694 100644 --- a/proto/types/sentry/account_permission.pb.go +++ b/proto/types/sentry/account_permission.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.27.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: proto/types/sentry/account_permission.proto diff --git a/proto/types/sentry/group_permission.pb.go b/proto/types/sentry/group_permission.pb.go index 97cb8b0d..1e1081f3 100644 --- a/proto/types/sentry/group_permission.pb.go +++ b/proto/types/sentry/group_permission.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.27.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: proto/types/sentry/group_permission.proto @@ -9,7 +9,6 @@ package sentry import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" - _ "google.golang.org/protobuf/types/known/timestamppb" reflect "reflect" sync "sync" ) @@ -163,53 +162,51 @@ var file_proto_types_sentry_group_permission_proto_rawDesc = []byte{ 0x6e, 0x74, 0x72, 0x79, 0x2f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, - 0x65, 0x6e, 0x74, 0x72, 0x79, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x79, - 0x70, 0x65, 0x73, 0x2f, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x22, 0x9c, 0x03, 0x0a, 0x0f, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x50, 0x65, 0x72, - 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, - 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, - 0x44, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x44, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x44, 0x12, - 0x26, 0x0a, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, - 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x74, 0x6e, - 0x65, 0x72, 0x49, 0x44, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x72, 0x74, - 0x6e, 0x65, 0x72, 0x49, 0x44, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x61, - 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x4e, - 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x6f, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, - 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x6f, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, - 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, - 0x08, 0x52, 0x08, 0x69, 0x73, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x73, - 0x63, 0x6f, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x70, - 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x4e, - 0x61, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x65, 0x72, 0x6d, 0x69, - 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x61, 0x73, - 0x65, 0x55, 0x52, 0x4c, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x62, 0x61, 0x73, 0x65, - 0x55, 0x52, 0x4c, 0x12, 0x3b, 0x0a, 0x04, 0x75, 0x72, 0x6c, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x27, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x50, 0x65, 0x72, - 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x55, 0x52, 0x4c, 0x52, 0x04, 0x75, 0x72, 0x6c, 0x73, - 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, - 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x4e, 0x61, - 0x6d, 0x65, 0x42, 0xe7, 0x01, 0x0a, 0x1c, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, - 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x6e, - 0x74, 0x72, 0x79, 0x42, 0x14, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, - 0x73, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2d, 0x67, 0x69, 0x74, - 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, - 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x79, - 0x70, 0x65, 0x73, 0x2f, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0xa2, 0x02, 0x04, 0x50, 0x44, 0x54, - 0x53, 0xaa, 0x02, 0x18, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x44, 0x65, 0x76, 0x2e, - 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x53, 0x65, 0x6e, 0x74, 0x72, 0x79, 0xca, 0x02, 0x18, 0x50, - 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x5c, 0x44, 0x65, 0x76, 0x5c, 0x54, 0x79, 0x70, 0x65, 0x73, - 0x5c, 0x53, 0x65, 0x6e, 0x74, 0x72, 0x79, 0xe2, 0x02, 0x24, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, - 0x73, 0x5c, 0x44, 0x65, 0x76, 0x5c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x5c, 0x53, 0x65, 0x6e, 0x74, - 0x72, 0x79, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, - 0x1b, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x3a, 0x3a, 0x44, 0x65, 0x76, 0x3a, 0x3a, 0x54, - 0x79, 0x70, 0x65, 0x73, 0x3a, 0x3a, 0x53, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x62, 0x06, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x33, + 0x65, 0x6e, 0x74, 0x72, 0x79, 0x1a, 0x2b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x79, 0x70, + 0x65, 0x73, 0x2f, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x9c, 0x03, 0x0a, 0x0f, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x50, 0x65, 0x72, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, + 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x44, + 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x44, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x44, 0x12, 0x26, + 0x0a, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x74, 0x6e, 0x65, + 0x72, 0x49, 0x44, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x72, 0x74, 0x6e, + 0x65, 0x72, 0x49, 0x44, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x61, 0x6d, + 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x4e, 0x61, + 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x6f, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x6f, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, + 0x0a, 0x08, 0x69, 0x73, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x08, 0x69, 0x73, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, + 0x6f, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, + 0x12, 0x26, 0x0a, 0x0e, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x4e, 0x61, + 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x61, 0x73, 0x65, + 0x55, 0x52, 0x4c, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x62, 0x61, 0x73, 0x65, 0x55, + 0x52, 0x4c, 0x12, 0x3b, 0x0a, 0x04, 0x75, 0x72, 0x6c, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x27, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, + 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x50, 0x65, 0x72, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x55, 0x52, 0x4c, 0x52, 0x04, 0x75, 0x72, 0x6c, 0x73, 0x12, + 0x20, 0x0a, 0x0b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x0c, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x4e, 0x61, 0x6d, + 0x65, 0x42, 0xe7, 0x01, 0x0a, 0x1c, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, + 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x65, 0x6e, 0x74, + 0x72, 0x79, 0x42, 0x14, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x2d, 0x67, 0x69, 0x74, 0x68, + 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, + 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x79, 0x70, + 0x65, 0x73, 0x2f, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0xa2, 0x02, 0x04, 0x50, 0x44, 0x54, 0x53, + 0xaa, 0x02, 0x18, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x44, 0x65, 0x76, 0x2e, 0x54, + 0x79, 0x70, 0x65, 0x73, 0x2e, 0x53, 0x65, 0x6e, 0x74, 0x72, 0x79, 0xca, 0x02, 0x18, 0x50, 0x61, + 0x72, 0x61, 0x6c, 0x75, 0x73, 0x5c, 0x44, 0x65, 0x76, 0x5c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x5c, + 0x53, 0x65, 0x6e, 0x74, 0x72, 0x79, 0xe2, 0x02, 0x24, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, + 0x5c, 0x44, 0x65, 0x76, 0x5c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x5c, 0x53, 0x65, 0x6e, 0x74, 0x72, + 0x79, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1b, + 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x3a, 0x3a, 0x44, 0x65, 0x76, 0x3a, 0x3a, 0x54, 0x79, + 0x70, 0x65, 0x73, 0x3a, 0x3a, 0x53, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, } var ( diff --git a/proto/types/sentry/group_permission.proto b/proto/types/sentry/group_permission.proto index a4b378ad..bf1b2e4d 100644 --- a/proto/types/sentry/group_permission.proto +++ b/proto/types/sentry/group_permission.proto @@ -1,7 +1,6 @@ syntax = "proto3"; package paralus.dev.types.sentry; -import "google/protobuf/timestamp.proto"; import "proto/types/sentry/account_permission.proto"; message GroupPermission { diff --git a/proto/types/sentry/kubeconfig_setting.pb.go b/proto/types/sentry/kubeconfig_setting.pb.go index b2f987b0..25b336c3 100644 --- a/proto/types/sentry/kubeconfig_setting.pb.go +++ b/proto/types/sentry/kubeconfig_setting.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.27.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: proto/types/sentry/kubeconfig_setting.proto diff --git a/proto/types/sentry/kubectl_cluster_setting.pb.go b/proto/types/sentry/kubectl_cluster_setting.pb.go index a0d239bc..e25d22cc 100644 --- a/proto/types/sentry/kubectl_cluster_setting.pb.go +++ b/proto/types/sentry/kubectl_cluster_setting.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.27.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: proto/types/sentry/kubectl_cluster_setting.proto diff --git a/proto/types/sentry/sentry.pb.go b/proto/types/sentry/sentry.pb.go index b4ab71d1..94fcc6c5 100644 --- a/proto/types/sentry/sentry.pb.go +++ b/proto/types/sentry/sentry.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.27.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: proto/types/sentry/sentry.proto diff --git a/proto/types/systempb/v3/idp.pb.go b/proto/types/systempb/v3/idp.pb.go index 9fb84f6b..49a022e9 100644 --- a/proto/types/systempb/v3/idp.pb.go +++ b/proto/types/systempb/v3/idp.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.27.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: proto/types/systempb/v3/idp.proto diff --git a/proto/types/systempb/v3/oidc_provider.pb.go b/proto/types/systempb/v3/oidc_provider.pb.go index 9df2879f..131ed2af 100644 --- a/proto/types/systempb/v3/oidc_provider.pb.go +++ b/proto/types/systempb/v3/oidc_provider.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.27.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: proto/types/systempb/v3/oidc_provider.proto diff --git a/proto/types/systempb/v3/organization.pb.go b/proto/types/systempb/v3/organization.pb.go index 5382bce3..98dc28e7 100644 --- a/proto/types/systempb/v3/organization.pb.go +++ b/proto/types/systempb/v3/organization.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.27.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: proto/types/systempb/v3/organization.proto diff --git a/proto/types/systempb/v3/partner.pb.go b/proto/types/systempb/v3/partner.pb.go index 0d1e2127..82c8d710 100644 --- a/proto/types/systempb/v3/partner.pb.go +++ b/proto/types/systempb/v3/partner.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.27.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: proto/types/systempb/v3/partner.proto diff --git a/proto/types/systempb/v3/project.pb.go b/proto/types/systempb/v3/project.pb.go index fe986e90..51a83f60 100644 --- a/proto/types/systempb/v3/project.pb.go +++ b/proto/types/systempb/v3/project.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.27.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: proto/types/systempb/v3/project.proto @@ -10,7 +10,6 @@ import ( _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" v31 "github.com/paralus/paralus/proto/types/commonpb/v3" v3 "github.com/paralus/paralus/proto/types/userpb/v3" - _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" @@ -253,119 +252,117 @@ var file_proto_types_systempb_v3_project_proto_rawDesc = []byte{ 0x6f, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x70, 0x62, 0x2f, 0x76, 0x33, 0x2f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x70, - 0x62, 0x2f, 0x76, 0x33, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, - 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, - 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x22, 0xe9, 0x03, 0x0a, 0x0b, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x70, 0x65, 0x63, - 0x12, 0x6b, 0x0a, 0x07, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x08, 0x42, 0x51, 0x92, 0x41, 0x4e, 0x2a, 0x07, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x32, - 0x43, 0x66, 0x6c, 0x61, 0x67, 0x20, 0x74, 0x6f, 0x20, 0x69, 0x6e, 0x64, 0x69, 0x63, 0x61, 0x74, - 0x65, 0x20, 0x69, 0x66, 0x20, 0x74, 0x68, 0x69, 0x73, 0x20, 0x69, 0x73, 0x20, 0x74, 0x68, 0x65, - 0x20, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x20, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, - 0x20, 0x69, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, 0xb4, 0x01, - 0x0a, 0x15, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, - 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, - 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, - 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x42, 0x4d, - 0x92, 0x41, 0x4a, 0x2a, 0x15, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x32, 0x31, 0x50, 0x72, 0x6f, 0x6a, - 0x65, 0x63, 0x74, 0x2c, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2c, 0x20, - 0x72, 0x6f, 0x6c, 0x65, 0x20, 0x61, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x20, 0x77, 0x69, 0x74, 0x68, 0x20, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52, 0x15, 0x70, - 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, - 0x6f, 0x6c, 0x65, 0x73, 0x12, 0x80, 0x01, 0x0a, 0x09, 0x75, 0x73, 0x65, 0x72, 0x52, 0x6f, 0x6c, - 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, - 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, - 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x42, 0x3d, 0x92, - 0x41, 0x3a, 0x2a, 0x09, 0x55, 0x73, 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x32, 0x2d, 0x4c, - 0x69, 0x73, 0x74, 0x20, 0x6f, 0x66, 0x20, 0x75, 0x73, 0x65, 0x72, 0x73, 0x20, 0x77, 0x69, 0x74, - 0x68, 0x20, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x20, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, - 0x20, 0x74, 0x6f, 0x20, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x52, 0x09, 0x75, 0x73, - 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x3a, 0x33, 0x92, 0x41, 0x30, 0x0a, 0x2e, 0x2a, 0x15, - 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x20, 0x53, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x32, 0x15, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x20, 0x73, - 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x9e, 0x04, 0x0a, - 0x07, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x65, 0x0a, 0x0a, 0x61, 0x70, 0x69, 0x56, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x45, 0x92, 0x41, - 0x42, 0x2a, 0x0b, 0x41, 0x50, 0x49, 0x20, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x32, 0x1b, - 0x41, 0x50, 0x49, 0x20, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x20, 0x6f, 0x66, 0x20, 0x74, - 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3a, 0x14, 0x73, 0x79, 0x73, - 0x74, 0x65, 0x6d, 0x2e, 0x6b, 0x38, 0x73, 0x6d, 0x67, 0x6d, 0x74, 0x2e, 0x69, 0x6f, 0x2f, 0x76, - 0x33, 0x40, 0x01, 0x52, 0x0a, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, - 0x3e, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2a, 0x92, - 0x41, 0x27, 0x2a, 0x04, 0x4b, 0x69, 0x6e, 0x64, 0x32, 0x14, 0x4b, 0x69, 0x6e, 0x64, 0x20, 0x6f, - 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3a, 0x07, - 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x40, 0x01, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x12, - 0x6a, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x25, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, - 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, 0x27, 0x92, 0x41, 0x24, 0x2a, 0x08, 0x4d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x32, 0x18, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, - 0x61, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x5d, 0x0a, 0x04, 0x73, - 0x70, 0x65, 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x70, 0x61, 0x72, 0x61, - 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x79, - 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x53, - 0x70, 0x65, 0x63, 0x42, 0x1f, 0x92, 0x41, 0x1c, 0x2a, 0x04, 0x53, 0x70, 0x65, 0x63, 0x32, 0x14, - 0x53, 0x70, 0x65, 0x63, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, - 0x75, 0x72, 0x63, 0x65, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x62, 0x0a, 0x06, 0x73, 0x74, - 0x61, 0x74, 0x75, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x70, 0x61, 0x72, - 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, - 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x42, - 0x25, 0x92, 0x41, 0x22, 0x2a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x32, 0x16, 0x53, 0x74, - 0x61, 0x74, 0x75, 0x73, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, - 0x75, 0x72, 0x63, 0x65, 0x40, 0x01, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x3a, 0x3d, - 0x92, 0x41, 0x3a, 0x0a, 0x38, 0x2a, 0x07, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x32, 0x07, - 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0xd2, 0x01, 0x0a, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, - 0x73, 0x69, 0x6f, 0x6e, 0xd2, 0x01, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0xd2, 0x01, 0x08, 0x6d, 0x65, - 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xd2, 0x01, 0x04, 0x73, 0x70, 0x65, 0x63, 0x22, 0xbc, 0x03, - 0x0a, 0x0b, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x6a, 0x0a, - 0x0a, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x42, 0x4a, 0x92, 0x41, 0x47, 0x2a, 0x0b, 0x41, 0x50, 0x49, 0x20, 0x56, 0x65, 0x72, 0x73, - 0x69, 0x6f, 0x6e, 0x32, 0x20, 0x41, 0x50, 0x49, 0x20, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, - 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x6c, 0x69, 0x73, 0x74, 0x20, 0x72, 0x65, 0x73, - 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3a, 0x14, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x6b, 0x38, - 0x73, 0x6d, 0x67, 0x6d, 0x74, 0x2e, 0x69, 0x6f, 0x2f, 0x76, 0x33, 0x40, 0x01, 0x52, 0x0a, 0x61, - 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x43, 0x0a, 0x04, 0x6b, 0x69, 0x6e, - 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2f, 0x92, 0x41, 0x2c, 0x2a, 0x04, 0x4b, 0x69, - 0x6e, 0x64, 0x32, 0x19, 0x4b, 0x69, 0x6e, 0x64, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, - 0x6c, 0x69, 0x73, 0x74, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3a, 0x07, 0x50, - 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x40, 0x01, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x12, 0x79, + 0x62, 0x2f, 0x76, 0x33, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, + 0xe9, 0x03, 0x0a, 0x0b, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x70, 0x65, 0x63, 0x12, + 0x6b, 0x0a, 0x07, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, + 0x42, 0x51, 0x92, 0x41, 0x4e, 0x2a, 0x07, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x32, 0x43, + 0x66, 0x6c, 0x61, 0x67, 0x20, 0x74, 0x6f, 0x20, 0x69, 0x6e, 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, + 0x20, 0x69, 0x66, 0x20, 0x74, 0x68, 0x69, 0x73, 0x20, 0x69, 0x73, 0x20, 0x74, 0x68, 0x65, 0x20, + 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x20, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x20, + 0x69, 0x6e, 0x20, 0x74, 0x68, 0x65, 0x20, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, 0xb4, 0x01, 0x0a, + 0x15, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x70, + 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, + 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, + 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x42, 0x4d, 0x92, + 0x41, 0x4a, 0x2a, 0x15, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x32, 0x31, 0x50, 0x72, 0x6f, 0x6a, 0x65, + 0x63, 0x74, 0x2c, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2c, 0x20, 0x72, + 0x6f, 0x6c, 0x65, 0x20, 0x61, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x20, 0x77, 0x69, 0x74, 0x68, 0x20, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x52, 0x15, 0x70, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x6f, + 0x6c, 0x65, 0x73, 0x12, 0x80, 0x01, 0x0a, 0x09, 0x75, 0x73, 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, + 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, + 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, + 0x2e, 0x76, 0x33, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x42, 0x3d, 0x92, 0x41, + 0x3a, 0x2a, 0x09, 0x55, 0x73, 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x32, 0x2d, 0x4c, 0x69, + 0x73, 0x74, 0x20, 0x6f, 0x66, 0x20, 0x75, 0x73, 0x65, 0x72, 0x73, 0x20, 0x77, 0x69, 0x74, 0x68, + 0x20, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x20, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x20, + 0x74, 0x6f, 0x20, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x52, 0x09, 0x75, 0x73, 0x65, + 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x3a, 0x33, 0x92, 0x41, 0x30, 0x0a, 0x2e, 0x2a, 0x15, 0x50, + 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x20, 0x53, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x32, 0x15, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x20, 0x73, 0x70, + 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x9e, 0x04, 0x0a, 0x07, + 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x65, 0x0a, 0x0a, 0x61, 0x70, 0x69, 0x56, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x45, 0x92, 0x41, 0x42, + 0x2a, 0x0b, 0x41, 0x50, 0x49, 0x20, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x32, 0x1b, 0x41, + 0x50, 0x49, 0x20, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, + 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3a, 0x14, 0x73, 0x79, 0x73, 0x74, + 0x65, 0x6d, 0x2e, 0x6b, 0x38, 0x73, 0x6d, 0x67, 0x6d, 0x74, 0x2e, 0x69, 0x6f, 0x2f, 0x76, 0x33, + 0x40, 0x01, 0x52, 0x0a, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3e, + 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2a, 0x92, 0x41, + 0x27, 0x2a, 0x04, 0x4b, 0x69, 0x6e, 0x64, 0x32, 0x14, 0x4b, 0x69, 0x6e, 0x64, 0x20, 0x6f, 0x66, + 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3a, 0x07, 0x50, + 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x40, 0x01, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x12, 0x6a, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x29, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, - 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x4c, - 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, 0x32, 0x92, 0x41, 0x2f, - 0x2a, 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x32, 0x1d, - 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, - 0x6c, 0x69, 0x73, 0x74, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x40, 0x01, 0x52, - 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x5f, 0x0a, 0x05, 0x69, 0x74, 0x65, - 0x6d, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, - 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x73, - 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x42, 0x23, - 0x92, 0x41, 0x20, 0x2a, 0x05, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x32, 0x15, 0x4c, 0x69, 0x73, 0x74, + 0x32, 0x25, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, + 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, 0x27, 0x92, 0x41, 0x24, 0x2a, 0x08, 0x4d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x32, 0x18, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, - 0x73, 0x40, 0x01, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x3a, 0x20, 0x92, 0x41, 0x1d, 0x0a, - 0x1b, 0x2a, 0x0b, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x32, 0x0c, - 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x20, 0x6c, 0x69, 0x73, 0x74, 0x42, 0xfd, 0x01, 0x0a, - 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, - 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, - 0x42, 0x0c, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, - 0x5a, 0x3b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x61, 0x72, - 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x70, - 0x62, 0x2f, 0x76, 0x33, 0x3b, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x76, 0x33, 0xa2, 0x02, 0x04, - 0x50, 0x44, 0x54, 0x53, 0xaa, 0x02, 0x1b, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x44, - 0x65, 0x76, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, - 0x56, 0x33, 0xca, 0x02, 0x1b, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x5c, 0x44, 0x65, 0x76, - 0x5c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x5c, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5c, 0x56, 0x33, - 0xe2, 0x02, 0x27, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x5c, 0x44, 0x65, 0x76, 0x5c, 0x54, - 0x79, 0x70, 0x65, 0x73, 0x5c, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5c, 0x56, 0x33, 0x5c, 0x47, - 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1f, 0x50, 0x61, 0x72, - 0x61, 0x6c, 0x75, 0x73, 0x3a, 0x3a, 0x44, 0x65, 0x76, 0x3a, 0x3a, 0x54, 0x79, 0x70, 0x65, 0x73, - 0x3a, 0x3a, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x3a, 0x3a, 0x56, 0x33, 0x62, 0x06, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x33, + 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x5d, 0x0a, 0x04, 0x73, 0x70, + 0x65, 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, + 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x73, + 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x70, + 0x65, 0x63, 0x42, 0x1f, 0x92, 0x41, 0x1c, 0x2a, 0x04, 0x53, 0x70, 0x65, 0x63, 0x32, 0x14, 0x53, + 0x70, 0x65, 0x63, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x62, 0x0a, 0x06, 0x73, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x70, 0x61, 0x72, 0x61, + 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, + 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x42, 0x25, + 0x92, 0x41, 0x22, 0x2a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x32, 0x16, 0x53, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x40, 0x01, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x3a, 0x3d, 0x92, + 0x41, 0x3a, 0x0a, 0x38, 0x2a, 0x07, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x32, 0x07, 0x50, + 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0xd2, 0x01, 0x0a, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, + 0x69, 0x6f, 0x6e, 0xd2, 0x01, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0xd2, 0x01, 0x08, 0x6d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0xd2, 0x01, 0x04, 0x73, 0x70, 0x65, 0x63, 0x22, 0xbc, 0x03, 0x0a, + 0x0b, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x6a, 0x0a, 0x0a, + 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x42, 0x4a, 0x92, 0x41, 0x47, 0x2a, 0x0b, 0x41, 0x50, 0x49, 0x20, 0x56, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x32, 0x20, 0x41, 0x50, 0x49, 0x20, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x20, + 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x6c, 0x69, 0x73, 0x74, 0x20, 0x72, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x3a, 0x14, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x6b, 0x38, 0x73, + 0x6d, 0x67, 0x6d, 0x74, 0x2e, 0x69, 0x6f, 0x2f, 0x76, 0x33, 0x40, 0x01, 0x52, 0x0a, 0x61, 0x70, + 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x43, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2f, 0x92, 0x41, 0x2c, 0x2a, 0x04, 0x4b, 0x69, 0x6e, + 0x64, 0x32, 0x19, 0x4b, 0x69, 0x6e, 0x64, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x6c, + 0x69, 0x73, 0x74, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3a, 0x07, 0x50, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x40, 0x01, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x12, 0x79, 0x0a, + 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x29, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, + 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x4c, 0x69, + 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, 0x32, 0x92, 0x41, 0x2f, 0x2a, + 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x32, 0x1d, 0x4d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x6c, + 0x69, 0x73, 0x74, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x40, 0x01, 0x52, 0x08, + 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x5f, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, + 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, + 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x73, 0x74, + 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x42, 0x23, 0x92, + 0x41, 0x20, 0x2a, 0x05, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x32, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x20, + 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, + 0x40, 0x01, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x3a, 0x20, 0x92, 0x41, 0x1d, 0x0a, 0x1b, + 0x2a, 0x0b, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x32, 0x0c, 0x50, + 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x20, 0x6c, 0x69, 0x73, 0x74, 0x42, 0xfd, 0x01, 0x0a, 0x1f, + 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x76, 0x33, 0x42, + 0x0c, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, + 0x3b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x61, 0x72, 0x61, + 0x6c, 0x75, 0x73, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x70, 0x62, + 0x2f, 0x76, 0x33, 0x3b, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x76, 0x33, 0xa2, 0x02, 0x04, 0x50, + 0x44, 0x54, 0x53, 0xaa, 0x02, 0x1b, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x44, 0x65, + 0x76, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x56, + 0x33, 0xca, 0x02, 0x1b, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x5c, 0x44, 0x65, 0x76, 0x5c, + 0x54, 0x79, 0x70, 0x65, 0x73, 0x5c, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5c, 0x56, 0x33, 0xe2, + 0x02, 0x27, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x5c, 0x44, 0x65, 0x76, 0x5c, 0x54, 0x79, + 0x70, 0x65, 0x73, 0x5c, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5c, 0x56, 0x33, 0x5c, 0x47, 0x50, + 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1f, 0x50, 0x61, 0x72, 0x61, + 0x6c, 0x75, 0x73, 0x3a, 0x3a, 0x44, 0x65, 0x76, 0x3a, 0x3a, 0x54, 0x79, 0x70, 0x65, 0x73, 0x3a, + 0x3a, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x3a, 0x3a, 0x56, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, } var ( diff --git a/proto/types/systempb/v3/project.proto b/proto/types/systempb/v3/project.proto index 6abf32ce..85bbee84 100644 --- a/proto/types/systempb/v3/project.proto +++ b/proto/types/systempb/v3/project.proto @@ -5,7 +5,6 @@ import "proto/types/commonpb/v3/common.proto"; import "protoc-gen-openapiv2/options/annotations.proto"; import "proto/types/userpb/v3/group.proto"; import "proto/types/userpb/v3/user.proto"; -import "google/api/field_behavior.proto"; message ProjectSpec { option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = { diff --git a/proto/types/userpb/v3/group.pb.go b/proto/types/userpb/v3/group.pb.go index 3508232b..0bd4e627 100644 --- a/proto/types/userpb/v3/group.pb.go +++ b/proto/types/userpb/v3/group.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.27.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: proto/types/userpb/v3/group.proto @@ -9,7 +9,6 @@ package userv3 import ( _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" v3 "github.com/paralus/paralus/proto/types/commonpb/v3" - _ "github.com/paralus/paralus/proto/types/rolepb/v3" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" @@ -387,152 +386,149 @@ var file_proto_types_userpb_v3_group_proto_rawDesc = []byte{ 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x1a, 0x24, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x70, 0x62, 0x2f, 0x76, 0x33, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x79, 0x70, 0x65, - 0x73, 0x2f, 0x72, 0x6f, 0x6c, 0x65, 0x70, 0x62, 0x2f, 0x76, 0x33, 0x2f, 0x72, 0x6f, 0x6c, 0x65, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, - 0x65, 0x6e, 0x2d, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x6f, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xae, 0x04, 0x0a, 0x05, 0x47, 0x72, 0x6f, 0x75, 0x70, - 0x12, 0x69, 0x0a, 0x0a, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x42, 0x49, 0x92, 0x41, 0x46, 0x2a, 0x0b, 0x41, 0x50, 0x49, 0x20, 0x56, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x32, 0x21, 0x41, 0x50, 0x49, 0x20, 0x56, 0x65, 0x72, 0x73, - 0x69, 0x6f, 0x6e, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x67, 0x72, 0x6f, 0x75, 0x70, - 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3a, 0x14, 0x73, 0x79, 0x73, 0x74, 0x65, - 0x6d, 0x2e, 0x6b, 0x38, 0x73, 0x6d, 0x67, 0x6d, 0x74, 0x2e, 0x69, 0x6f, 0x2f, 0x76, 0x33, 0x52, - 0x0a, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x40, 0x0a, 0x04, 0x6b, - 0x69, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2c, 0x92, 0x41, 0x29, 0x2a, 0x04, - 0x4b, 0x69, 0x6e, 0x64, 0x32, 0x1a, 0x4b, 0x69, 0x6e, 0x64, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, - 0x65, 0x20, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, - 0x3a, 0x05, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x12, 0x70, 0x0a, - 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x25, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, - 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x4d, 0x65, - 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, 0x2d, 0x92, 0x41, 0x2a, 0x2a, 0x08, 0x4d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0x32, 0x1e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x20, - 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x20, 0x72, 0x65, 0x73, - 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, - 0x67, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, + 0x2d, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xae, 0x04, 0x0a, 0x05, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x69, + 0x0a, 0x0a, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x42, 0x49, 0x92, 0x41, 0x46, 0x2a, 0x0b, 0x41, 0x50, 0x49, 0x20, 0x56, 0x65, 0x72, + 0x73, 0x69, 0x6f, 0x6e, 0x32, 0x21, 0x41, 0x50, 0x49, 0x20, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x20, 0x72, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3a, 0x14, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, + 0x6b, 0x38, 0x73, 0x6d, 0x67, 0x6d, 0x74, 0x2e, 0x69, 0x6f, 0x2f, 0x76, 0x33, 0x52, 0x0a, 0x61, + 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x40, 0x0a, 0x04, 0x6b, 0x69, 0x6e, + 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2c, 0x92, 0x41, 0x29, 0x2a, 0x04, 0x4b, 0x69, + 0x6e, 0x64, 0x32, 0x1a, 0x4b, 0x69, 0x6e, 0x64, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, + 0x67, 0x72, 0x6f, 0x75, 0x70, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3a, 0x05, + 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x12, 0x70, 0x0a, 0x08, 0x6d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, - 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x53, - 0x70, 0x65, 0x63, 0x42, 0x2d, 0x92, 0x41, 0x2a, 0x2a, 0x08, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0x32, 0x1e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x20, 0x6f, 0x66, 0x20, - 0x74, 0x68, 0x65, 0x20, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x62, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, - 0x75, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, - 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, - 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x42, 0x25, 0x92, - 0x41, 0x22, 0x2a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x32, 0x16, 0x53, 0x74, 0x61, 0x74, - 0x75, 0x73, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x40, 0x01, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x3a, 0x39, 0x92, 0x41, - 0x36, 0x0a, 0x34, 0x2a, 0x05, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x32, 0x05, 0x47, 0x72, 0x6f, 0x75, - 0x70, 0xd2, 0x01, 0x0a, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0xd2, 0x01, - 0x04, 0x6b, 0x69, 0x6e, 0x64, 0xd2, 0x01, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, - 0xd2, 0x01, 0x04, 0x73, 0x70, 0x65, 0x63, 0x22, 0xd2, 0x02, 0x0a, 0x14, 0x50, 0x72, 0x6f, 0x6a, - 0x65, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x6f, 0x6c, 0x65, - 0x12, 0x34, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x42, 0x15, 0x92, 0x41, 0x12, 0x2a, 0x07, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x32, - 0x07, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x48, 0x00, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, - 0x65, 0x63, 0x74, 0x88, 0x01, 0x01, 0x12, 0x3c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x19, 0x92, 0x41, 0x16, 0x2a, 0x09, - 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x32, 0x09, 0x4e, 0x61, 0x6d, 0x65, 0x73, - 0x70, 0x61, 0x63, 0x65, 0x48, 0x01, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x88, 0x01, 0x01, 0x12, 0x23, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x09, 0x42, 0x0f, 0x92, 0x41, 0x0c, 0x2a, 0x04, 0x52, 0x6f, 0x6c, 0x65, 0x32, 0x04, 0x52, - 0x6f, 0x6c, 0x65, 0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x12, 0x2c, 0x0a, 0x05, 0x67, 0x72, 0x6f, - 0x75, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x11, 0x92, 0x41, 0x0e, 0x2a, 0x05, 0x47, - 0x72, 0x6f, 0x75, 0x70, 0x32, 0x05, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x48, 0x02, 0x52, 0x05, 0x67, - 0x72, 0x6f, 0x75, 0x70, 0x88, 0x01, 0x01, 0x3a, 0x4f, 0x92, 0x41, 0x4c, 0x0a, 0x4a, 0x2a, 0x14, - 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x52, 0x6f, 0x6c, 0x65, 0x32, 0x32, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2c, 0x20, 0x72, - 0x6f, 0x6c, 0x65, 0x20, 0x61, 0x6e, 0x64, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x20, 0x70, 0x61, 0x69, 0x72, 0x69, 0x6e, 0x67, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x70, 0x65, - 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x70, 0x72, 0x6f, - 0x6a, 0x65, 0x63, 0x74, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x22, 0xb2, 0x02, 0x0a, - 0x0a, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x34, 0x0a, 0x07, 0x70, - 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x15, 0x92, 0x41, - 0x12, 0x2a, 0x07, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x32, 0x07, 0x50, 0x72, 0x6f, 0x6a, - 0x65, 0x63, 0x74, 0x48, 0x00, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x88, 0x01, - 0x01, 0x12, 0x3c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x42, 0x19, 0x92, 0x41, 0x16, 0x2a, 0x09, 0x4e, 0x61, 0x6d, 0x65, 0x73, - 0x70, 0x61, 0x63, 0x65, 0x32, 0x09, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x48, - 0x01, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x88, 0x01, 0x01, 0x12, - 0x23, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0f, 0x92, - 0x41, 0x0c, 0x2a, 0x04, 0x52, 0x6f, 0x6c, 0x65, 0x32, 0x04, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x04, - 0x72, 0x6f, 0x6c, 0x65, 0x12, 0x50, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, - 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x42, 0x2e, 0x92, 0x41, 0x2b, 0x2a, 0x0b, - 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x32, 0x1c, 0x50, 0x65, 0x72, - 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x20, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, - 0x64, 0x20, 0x62, 0x79, 0x20, 0x72, 0x6f, 0x6c, 0x65, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, - 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x3a, 0x1f, 0x92, 0x41, 0x1c, 0x0a, 0x1a, 0x2a, 0x0b, 0x50, - 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x32, 0x0b, 0x50, 0x65, 0x72, 0x6d, - 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x70, 0x72, 0x6f, 0x6a, - 0x65, 0x63, 0x74, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x22, 0xda, 0x02, 0x0a, 0x09, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x70, 0x65, 0x63, 0x12, - 0xb2, 0x01, 0x0a, 0x15, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, - 0x70, 0x61, 0x63, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x2f, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, - 0x70, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x72, 0x6f, 0x6a, - 0x65, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x6f, 0x6c, 0x65, - 0x42, 0x4b, 0x92, 0x41, 0x48, 0x2a, 0x15, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x4e, 0x61, - 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x32, 0x2f, 0x50, 0x72, - 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2c, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, - 0x2c, 0x20, 0x72, 0x6f, 0x6c, 0x65, 0x20, 0x61, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x15, 0x70, - 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, - 0x6f, 0x6c, 0x65, 0x73, 0x12, 0x39, 0x0a, 0x05, 0x75, 0x73, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, - 0x03, 0x28, 0x09, 0x42, 0x23, 0x92, 0x41, 0x20, 0x2a, 0x05, 0x55, 0x73, 0x65, 0x72, 0x73, 0x32, - 0x17, 0x4c, 0x69, 0x73, 0x74, 0x20, 0x6f, 0x66, 0x20, 0x75, 0x73, 0x65, 0x72, 0x73, 0x20, 0x66, - 0x6f, 0x72, 0x20, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x05, 0x75, 0x73, 0x65, 0x72, 0x73, 0x12, - 0x2c, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 0x92, - 0x41, 0x15, 0x2a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x32, 0x0d, 0x54, 0x79, 0x70, 0x65, 0x20, 0x6f, - 0x66, 0x20, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x3a, 0x2f, 0x92, - 0x41, 0x2c, 0x0a, 0x2a, 0x2a, 0x13, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x20, 0x53, 0x70, 0x65, 0x63, - 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x32, 0x13, 0x47, 0x72, 0x6f, 0x75, 0x70, - 0x20, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xa9, - 0x03, 0x0a, 0x09, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x5a, 0x0a, 0x0a, - 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x42, 0x3a, 0x92, 0x41, 0x37, 0x2a, 0x0b, 0x41, 0x50, 0x49, 0x20, 0x56, 0x65, 0x72, 0x73, 0x69, - 0x6f, 0x6e, 0x32, 0x26, 0x41, 0x50, 0x49, 0x20, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x20, - 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x20, 0x6c, 0x69, 0x73, - 0x74, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x40, 0x01, 0x52, 0x0a, 0x61, 0x70, - 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x40, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2c, 0x92, 0x41, 0x29, 0x2a, 0x04, 0x4b, 0x69, 0x6e, - 0x64, 0x32, 0x1f, 0x4b, 0x69, 0x6e, 0x64, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x67, - 0x72, 0x6f, 0x75, 0x70, 0x20, 0x6c, 0x69, 0x73, 0x74, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x40, 0x01, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x12, 0x7b, 0x0a, 0x08, 0x6d, 0x65, - 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x70, - 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, - 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, 0x34, 0x92, 0x41, 0x31, 0x2a, 0x08, 0x4d, 0x65, - 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x32, 0x23, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, - 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x20, 0x6c, 0x69, - 0x73, 0x74, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x40, 0x01, 0x52, 0x08, 0x6d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x61, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, - 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, - 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, - 0x76, 0x33, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x29, 0x92, 0x41, 0x26, 0x2a, 0x05, 0x49, - 0x74, 0x65, 0x6d, 0x73, 0x32, 0x1b, 0x4c, 0x69, 0x73, 0x74, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, + 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x4d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x42, 0x2d, 0x92, 0x41, 0x2a, 0x2a, 0x08, 0x4d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x32, 0x1e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x20, 0x6f, 0x66, + 0x20, 0x74, 0x68, 0x65, 0x20, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x67, 0x0a, + 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x70, 0x61, + 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, + 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x70, 0x65, + 0x63, 0x42, 0x2d, 0x92, 0x41, 0x2a, 0x2a, 0x08, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0x32, 0x1e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, - 0x73, 0x40, 0x01, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x3a, 0x1e, 0x92, 0x41, 0x1b, 0x0a, - 0x19, 0x2a, 0x09, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x32, 0x0a, 0x47, 0x72, - 0x6f, 0x75, 0x70, 0x20, 0x6c, 0x69, 0x73, 0x74, 0x40, 0x01, 0x42, 0xed, 0x01, 0x0a, 0x1d, 0x63, - 0x6f, 0x6d, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, - 0x79, 0x70, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x42, 0x0a, 0x47, 0x72, - 0x6f, 0x75, 0x70, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x37, 0x67, 0x69, 0x74, 0x68, - 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, - 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x79, 0x70, - 0x65, 0x73, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x70, 0x62, 0x2f, 0x76, 0x33, 0x3b, 0x75, 0x73, 0x65, - 0x72, 0x76, 0x33, 0xa2, 0x02, 0x04, 0x50, 0x44, 0x54, 0x55, 0xaa, 0x02, 0x19, 0x50, 0x61, 0x72, - 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x44, 0x65, 0x76, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x55, - 0x73, 0x65, 0x72, 0x2e, 0x56, 0x33, 0xca, 0x02, 0x19, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, - 0x5c, 0x44, 0x65, 0x76, 0x5c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x5c, 0x55, 0x73, 0x65, 0x72, 0x5c, - 0x56, 0x33, 0xe2, 0x02, 0x25, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x5c, 0x44, 0x65, 0x76, - 0x5c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x5c, 0x55, 0x73, 0x65, 0x72, 0x5c, 0x56, 0x33, 0x5c, 0x47, - 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1d, 0x50, 0x61, 0x72, - 0x61, 0x6c, 0x75, 0x73, 0x3a, 0x3a, 0x44, 0x65, 0x76, 0x3a, 0x3a, 0x54, 0x79, 0x70, 0x65, 0x73, - 0x3a, 0x3a, 0x55, 0x73, 0x65, 0x72, 0x3a, 0x3a, 0x56, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x33, + 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x62, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, + 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, + 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x42, 0x25, 0x92, 0x41, 0x22, + 0x2a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x32, 0x16, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x40, 0x01, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x3a, 0x39, 0x92, 0x41, 0x36, 0x0a, + 0x34, 0x2a, 0x05, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x32, 0x05, 0x47, 0x72, 0x6f, 0x75, 0x70, 0xd2, + 0x01, 0x0a, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0xd2, 0x01, 0x04, 0x6b, + 0x69, 0x6e, 0x64, 0xd2, 0x01, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xd2, 0x01, + 0x04, 0x73, 0x70, 0x65, 0x63, 0x22, 0xd2, 0x02, 0x0a, 0x14, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, + 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x34, + 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, + 0x15, 0x92, 0x41, 0x12, 0x2a, 0x07, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x32, 0x07, 0x50, + 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x48, 0x00, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, + 0x74, 0x88, 0x01, 0x01, 0x12, 0x3c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x19, 0x92, 0x41, 0x16, 0x2a, 0x09, 0x4e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x32, 0x09, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x48, 0x01, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x88, + 0x01, 0x01, 0x12, 0x23, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x42, 0x0f, 0x92, 0x41, 0x0c, 0x2a, 0x04, 0x52, 0x6f, 0x6c, 0x65, 0x32, 0x04, 0x52, 0x6f, 0x6c, + 0x65, 0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x12, 0x2c, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x11, 0x92, 0x41, 0x0e, 0x2a, 0x05, 0x47, 0x72, 0x6f, + 0x75, 0x70, 0x32, 0x05, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x48, 0x02, 0x52, 0x05, 0x67, 0x72, 0x6f, + 0x75, 0x70, 0x88, 0x01, 0x01, 0x3a, 0x4f, 0x92, 0x41, 0x4c, 0x0a, 0x4a, 0x2a, 0x14, 0x50, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x6f, + 0x6c, 0x65, 0x32, 0x32, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2c, 0x20, 0x72, 0x6f, 0x6c, + 0x65, 0x20, 0x61, 0x6e, 0x64, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x20, + 0x70, 0x61, 0x69, 0x72, 0x69, 0x6e, 0x67, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x70, 0x65, 0x72, 0x6d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x70, 0x72, 0x6f, 0x6a, 0x65, + 0x63, 0x74, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x22, 0xb2, 0x02, 0x0a, 0x0a, 0x50, + 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x34, 0x0a, 0x07, 0x70, 0x72, 0x6f, + 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x15, 0x92, 0x41, 0x12, 0x2a, + 0x07, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x32, 0x07, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, + 0x74, 0x48, 0x00, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x88, 0x01, 0x01, 0x12, + 0x3c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x42, 0x19, 0x92, 0x41, 0x16, 0x2a, 0x09, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x32, 0x09, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x48, 0x01, 0x52, + 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x88, 0x01, 0x01, 0x12, 0x23, 0x0a, + 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0f, 0x92, 0x41, 0x0c, + 0x2a, 0x04, 0x52, 0x6f, 0x6c, 0x65, 0x32, 0x04, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x04, 0x72, 0x6f, + 0x6c, 0x65, 0x12, 0x50, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x42, 0x2e, 0x92, 0x41, 0x2b, 0x2a, 0x0b, 0x50, 0x65, + 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x32, 0x1c, 0x50, 0x65, 0x72, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x20, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x64, 0x20, + 0x62, 0x79, 0x20, 0x72, 0x6f, 0x6c, 0x65, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x73, 0x3a, 0x1f, 0x92, 0x41, 0x1c, 0x0a, 0x1a, 0x2a, 0x0b, 0x50, 0x65, 0x72, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x32, 0x0b, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, + 0x74, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, + 0xda, 0x02, 0x0a, 0x09, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x53, 0x70, 0x65, 0x63, 0x12, 0xb2, 0x01, + 0x0a, 0x15, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, + 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, + 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, + 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x42, 0x4b, + 0x92, 0x41, 0x48, 0x2a, 0x15, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x32, 0x2f, 0x50, 0x72, 0x6f, 0x6a, + 0x65, 0x63, 0x74, 0x2c, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2c, 0x20, + 0x72, 0x6f, 0x6c, 0x65, 0x20, 0x61, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x15, 0x70, 0x72, 0x6f, + 0x6a, 0x65, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x6f, 0x6c, + 0x65, 0x73, 0x12, 0x39, 0x0a, 0x05, 0x75, 0x73, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, + 0x09, 0x42, 0x23, 0x92, 0x41, 0x20, 0x2a, 0x05, 0x55, 0x73, 0x65, 0x72, 0x73, 0x32, 0x17, 0x4c, + 0x69, 0x73, 0x74, 0x20, 0x6f, 0x66, 0x20, 0x75, 0x73, 0x65, 0x72, 0x73, 0x20, 0x66, 0x6f, 0x72, + 0x20, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x05, 0x75, 0x73, 0x65, 0x72, 0x73, 0x12, 0x2c, 0x0a, + 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 0x92, 0x41, 0x15, + 0x2a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x32, 0x0d, 0x54, 0x79, 0x70, 0x65, 0x20, 0x6f, 0x66, 0x20, + 0x67, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x3a, 0x2f, 0x92, 0x41, 0x2c, + 0x0a, 0x2a, 0x2a, 0x13, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x20, 0x53, 0x70, 0x65, 0x63, 0x69, 0x66, + 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x32, 0x13, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x20, 0x73, + 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xa9, 0x03, 0x0a, + 0x09, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x5a, 0x0a, 0x0a, 0x61, 0x70, + 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x3a, + 0x92, 0x41, 0x37, 0x2a, 0x0b, 0x41, 0x50, 0x49, 0x20, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x32, 0x26, 0x41, 0x50, 0x49, 0x20, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x20, 0x6f, 0x66, + 0x20, 0x74, 0x68, 0x65, 0x20, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x20, 0x6c, 0x69, 0x73, 0x74, 0x20, + 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x40, 0x01, 0x52, 0x0a, 0x61, 0x70, 0x69, 0x56, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x40, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x42, 0x2c, 0x92, 0x41, 0x29, 0x2a, 0x04, 0x4b, 0x69, 0x6e, 0x64, 0x32, + 0x1f, 0x4b, 0x69, 0x6e, 0x64, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x67, 0x72, 0x6f, + 0x75, 0x70, 0x20, 0x6c, 0x69, 0x73, 0x74, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x40, 0x01, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x12, 0x7b, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x70, 0x61, 0x72, + 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, + 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, 0x34, 0x92, 0x41, 0x31, 0x2a, 0x08, 0x4d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x32, 0x23, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x20, 0x6f, + 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x20, 0x6c, 0x69, 0x73, 0x74, + 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x40, 0x01, 0x52, 0x08, 0x6d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x61, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x04, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, + 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x33, + 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x29, 0x92, 0x41, 0x26, 0x2a, 0x05, 0x49, 0x74, 0x65, + 0x6d, 0x73, 0x32, 0x1b, 0x4c, 0x69, 0x73, 0x74, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, + 0x67, 0x72, 0x6f, 0x75, 0x70, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x40, + 0x01, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x3a, 0x1e, 0x92, 0x41, 0x1b, 0x0a, 0x19, 0x2a, + 0x09, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x32, 0x0a, 0x47, 0x72, 0x6f, 0x75, + 0x70, 0x20, 0x6c, 0x69, 0x73, 0x74, 0x40, 0x01, 0x42, 0xed, 0x01, 0x0a, 0x1d, 0x63, 0x6f, 0x6d, + 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, + 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x42, 0x0a, 0x47, 0x72, 0x6f, 0x75, + 0x70, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x37, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, + 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, 0x61, 0x72, + 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, + 0x2f, 0x75, 0x73, 0x65, 0x72, 0x70, 0x62, 0x2f, 0x76, 0x33, 0x3b, 0x75, 0x73, 0x65, 0x72, 0x76, + 0x33, 0xa2, 0x02, 0x04, 0x50, 0x44, 0x54, 0x55, 0xaa, 0x02, 0x19, 0x50, 0x61, 0x72, 0x61, 0x6c, + 0x75, 0x73, 0x2e, 0x44, 0x65, 0x76, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x55, 0x73, 0x65, + 0x72, 0x2e, 0x56, 0x33, 0xca, 0x02, 0x19, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x5c, 0x44, + 0x65, 0x76, 0x5c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x5c, 0x55, 0x73, 0x65, 0x72, 0x5c, 0x56, 0x33, + 0xe2, 0x02, 0x25, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x5c, 0x44, 0x65, 0x76, 0x5c, 0x54, + 0x79, 0x70, 0x65, 0x73, 0x5c, 0x55, 0x73, 0x65, 0x72, 0x5c, 0x56, 0x33, 0x5c, 0x47, 0x50, 0x42, + 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1d, 0x50, 0x61, 0x72, 0x61, 0x6c, + 0x75, 0x73, 0x3a, 0x3a, 0x44, 0x65, 0x76, 0x3a, 0x3a, 0x54, 0x79, 0x70, 0x65, 0x73, 0x3a, 0x3a, + 0x55, 0x73, 0x65, 0x72, 0x3a, 0x3a, 0x56, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/proto/types/userpb/v3/group.proto b/proto/types/userpb/v3/group.proto index a1cea55d..f1ce9e92 100644 --- a/proto/types/userpb/v3/group.proto +++ b/proto/types/userpb/v3/group.proto @@ -2,7 +2,6 @@ syntax = "proto3"; package paralus.dev.types.user.v3; import "proto/types/commonpb/v3/common.proto"; -import "proto/types/rolepb/v3/role.proto"; import "protoc-gen-openapiv2/options/annotations.proto"; message Group { diff --git a/proto/types/userpb/v3/user.pb.go b/proto/types/userpb/v3/user.pb.go index 9746e481..e8bac0e9 100644 --- a/proto/types/userpb/v3/user.pb.go +++ b/proto/types/userpb/v3/user.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.27.1 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: proto/types/userpb/v3/user.proto @@ -9,7 +9,6 @@ package userv3 import ( _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options" v3 "github.com/paralus/paralus/proto/types/commonpb/v3" - _ "github.com/paralus/paralus/proto/types/rolepb/v3" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" @@ -546,252 +545,248 @@ var file_proto_types_userpb_v3_user_proto_rawDesc = []byte{ 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x1a, 0x24, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x70, 0x62, 0x2f, 0x76, 0x33, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, - 0x2f, 0x72, 0x6f, 0x6c, 0x65, 0x70, 0x62, 0x2f, 0x76, 0x33, 0x2f, 0x72, 0x6f, 0x6c, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2a, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x79, 0x70, - 0x65, 0x73, 0x2f, 0x72, 0x6f, 0x6c, 0x65, 0x70, 0x62, 0x2f, 0x76, 0x33, 0x2f, 0x72, 0x6f, 0x6c, - 0x65, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x1a, 0x21, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x75, - 0x73, 0x65, 0x72, 0x70, 0x62, 0x2f, 0x76, 0x33, 0x2f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, - 0x2d, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xae, 0x04, 0x0a, 0x08, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, - 0x6f, 0x12, 0x68, 0x0a, 0x0a, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x48, 0x92, 0x41, 0x45, 0x2a, 0x0b, 0x41, 0x50, 0x49, 0x20, - 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x32, 0x20, 0x41, 0x50, 0x49, 0x20, 0x56, 0x65, 0x72, - 0x73, 0x69, 0x6f, 0x6e, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, - 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3a, 0x14, 0x73, 0x79, 0x73, 0x74, 0x65, - 0x6d, 0x2e, 0x6b, 0x38, 0x73, 0x6d, 0x67, 0x6d, 0x74, 0x2e, 0x69, 0x6f, 0x2f, 0x76, 0x33, 0x52, - 0x0a, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3e, 0x0a, 0x04, 0x6b, - 0x69, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2a, 0x92, 0x41, 0x27, 0x2a, 0x04, - 0x4b, 0x69, 0x6e, 0x64, 0x32, 0x19, 0x4b, 0x69, 0x6e, 0x64, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, + 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, + 0x2f, 0x75, 0x73, 0x65, 0x72, 0x70, 0x62, 0x2f, 0x76, 0x33, 0x2f, 0x67, 0x72, 0x6f, 0x75, 0x70, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, + 0x65, 0x6e, 0x2d, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x6f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xae, 0x04, 0x0a, 0x08, 0x55, 0x73, 0x65, 0x72, 0x49, + 0x6e, 0x66, 0x6f, 0x12, 0x68, 0x0a, 0x0a, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x48, 0x92, 0x41, 0x45, 0x2a, 0x0b, 0x41, 0x50, + 0x49, 0x20, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x32, 0x20, 0x41, 0x50, 0x49, 0x20, 0x56, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, + 0x65, 0x72, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3a, 0x14, 0x73, 0x79, 0x73, + 0x74, 0x65, 0x6d, 0x2e, 0x6b, 0x38, 0x73, 0x6d, 0x67, 0x6d, 0x74, 0x2e, 0x69, 0x6f, 0x2f, 0x76, + 0x33, 0x52, 0x0a, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3e, 0x0a, + 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2a, 0x92, 0x41, 0x27, + 0x2a, 0x04, 0x4b, 0x69, 0x6e, 0x64, 0x32, 0x19, 0x4b, 0x69, 0x6e, 0x64, 0x20, 0x6f, 0x66, 0x20, + 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x3a, 0x04, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x12, 0x6f, 0x0a, + 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x25, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, + 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x4d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, 0x2c, 0x92, 0x41, 0x29, 0x2a, 0x08, 0x4d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x32, 0x1d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x20, + 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x72, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x61, + 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x70, + 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, + 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, + 0x6f, 0x53, 0x70, 0x65, 0x63, 0x42, 0x24, 0x92, 0x41, 0x21, 0x2a, 0x04, 0x53, 0x70, 0x65, 0x63, + 0x32, 0x19, 0x53, 0x70, 0x65, 0x63, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, + 0x65, 0x72, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x04, 0x73, 0x70, 0x65, + 0x63, 0x12, 0x62, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x23, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x42, 0x25, 0x92, 0x41, 0x22, 0x2a, 0x06, 0x53, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x32, 0x16, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x20, 0x6f, 0x66, 0x20, 0x74, + 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x40, 0x01, 0x52, 0x06, 0x73, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x3a, 0x40, 0x92, 0x41, 0x3d, 0x0a, 0x3b, 0x2a, 0x08, 0x55, 0x73, + 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x32, 0x09, 0x55, 0x73, 0x65, 0x72, 0x20, 0x69, 0x6e, 0x66, + 0x6f, 0xd2, 0x01, 0x0a, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0xd2, 0x01, + 0x04, 0x6b, 0x69, 0x6e, 0x64, 0xd2, 0x01, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0xd2, 0x01, 0x04, 0x73, 0x70, 0x65, 0x63, 0x22, 0xf4, 0x05, 0x0a, 0x0c, 0x55, 0x73, 0x65, 0x72, + 0x49, 0x6e, 0x66, 0x6f, 0x53, 0x70, 0x65, 0x63, 0x12, 0x44, 0x0a, 0x09, 0x66, 0x69, 0x72, 0x73, + 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x26, 0x92, 0x41, 0x23, + 0x2a, 0x09, 0x46, 0x69, 0x72, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x32, 0x16, 0x46, 0x69, 0x72, + 0x73, 0x74, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, + 0x73, 0x65, 0x72, 0x52, 0x09, 0x66, 0x69, 0x72, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x40, + 0x0a, 0x08, 0x6c, 0x61, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x42, 0x24, 0x92, 0x41, 0x21, 0x2a, 0x08, 0x4c, 0x61, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x32, + 0x15, 0x4c, 0x61, 0x73, 0x74, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, + 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x52, 0x08, 0x6c, 0x61, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, + 0x12, 0x3a, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, + 0x24, 0x92, 0x41, 0x21, 0x2a, 0x05, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x32, 0x18, 0x50, 0x68, 0x6f, + 0x6e, 0x65, 0x20, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, + 0x20, 0x75, 0x73, 0x65, 0x72, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x40, 0x0a, 0x06, + 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x42, 0x28, 0x92, 0x41, + 0x25, 0x2a, 0x05, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x32, 0x1a, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, + 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x62, 0x65, 0x6c, 0x6f, 0x6e, 0x67, + 0x73, 0x20, 0x74, 0x6f, 0x40, 0x01, 0x52, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x4e, + 0x0a, 0x09, 0x69, 0x64, 0x70, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, + 0x09, 0x42, 0x30, 0x92, 0x41, 0x2d, 0x2a, 0x09, 0x49, 0x64, 0x70, 0x20, 0x47, 0x72, 0x6f, 0x75, + 0x70, 0x32, 0x1e, 0x49, 0x64, 0x70, 0x20, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x20, 0x74, 0x68, + 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x62, 0x65, 0x6c, 0x6f, 0x6e, 0x67, 0x73, 0x20, 0x74, + 0x6f, 0x40, 0x01, 0x52, 0x09, 0x69, 0x64, 0x70, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x73, + 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x08, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, + 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, + 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x2a, 0x92, 0x41, 0x27, 0x2a, + 0x0b, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x32, 0x18, 0x50, 0x65, + 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x74, 0x68, + 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x12, 0x6e, 0x0a, 0x0d, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x56, 0x65, 0x72, 0x69, + 0x66, 0x69, 0x65, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x42, 0x48, 0x92, 0x41, 0x45, 0x2a, + 0x0d, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x32, 0x32, + 0x46, 0x6c, 0x61, 0x67, 0x20, 0x74, 0x6f, 0x20, 0x73, 0x68, 0x6f, 0x77, 0x20, 0x69, 0x66, 0x20, + 0x74, 0x68, 0x65, 0x20, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, + 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x77, 0x61, 0x73, 0x20, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, + 0x65, 0x64, 0x40, 0x01, 0x52, 0x0d, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x56, 0x65, 0x72, 0x69, 0x66, + 0x69, 0x65, 0x64, 0x12, 0x71, 0x0a, 0x0d, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x56, 0x65, 0x72, 0x69, + 0x66, 0x69, 0x65, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x42, 0x4b, 0x92, 0x41, 0x48, 0x2a, + 0x0d, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x32, 0x35, + 0x46, 0x6c, 0x61, 0x67, 0x20, 0x74, 0x6f, 0x20, 0x73, 0x68, 0x6f, 0x77, 0x20, 0x69, 0x66, 0x20, + 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x20, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x20, 0x6f, 0x66, 0x20, + 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x77, 0x61, 0x73, 0x20, 0x76, 0x65, 0x72, + 0x69, 0x66, 0x69, 0x65, 0x64, 0x40, 0x01, 0x52, 0x0d, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x56, 0x65, + 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x3a, 0x36, 0x92, 0x41, 0x33, 0x0a, 0x31, 0x2a, 0x16, 0x55, + 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x20, 0x53, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x32, 0x17, 0x55, 0x73, 0x65, 0x72, 0x20, 0x69, 0x6e, 0x66, 0x6f, + 0x20, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x9d, + 0x04, 0x0a, 0x04, 0x55, 0x73, 0x65, 0x72, 0x12, 0x68, 0x0a, 0x0a, 0x61, 0x70, 0x69, 0x56, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x48, 0x92, 0x41, 0x45, + 0x2a, 0x0b, 0x41, 0x50, 0x49, 0x20, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x32, 0x20, 0x41, + 0x50, 0x49, 0x20, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3a, - 0x04, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x12, 0x6f, 0x0a, 0x08, 0x6d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, - 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, - 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x4d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0x42, 0x2c, 0x92, 0x41, 0x29, 0x2a, 0x08, 0x4d, 0x65, 0x74, 0x61, 0x64, - 0x61, 0x74, 0x61, 0x32, 0x1d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x20, 0x6f, 0x66, - 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x61, 0x0a, 0x04, - 0x73, 0x70, 0x65, 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x70, 0x61, 0x72, - 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x75, - 0x73, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x53, - 0x70, 0x65, 0x63, 0x42, 0x24, 0x92, 0x41, 0x21, 0x2a, 0x04, 0x53, 0x70, 0x65, 0x63, 0x32, 0x19, - 0x53, 0x70, 0x65, 0x63, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, - 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, - 0x62, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x23, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, - 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x74, - 0x61, 0x74, 0x75, 0x73, 0x42, 0x25, 0x92, 0x41, 0x22, 0x2a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x32, 0x16, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, - 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x40, 0x01, 0x52, 0x06, 0x73, 0x74, 0x61, - 0x74, 0x75, 0x73, 0x3a, 0x40, 0x92, 0x41, 0x3d, 0x0a, 0x3b, 0x2a, 0x08, 0x55, 0x73, 0x65, 0x72, - 0x49, 0x6e, 0x66, 0x6f, 0x32, 0x09, 0x55, 0x73, 0x65, 0x72, 0x20, 0x69, 0x6e, 0x66, 0x6f, 0xd2, - 0x01, 0x0a, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0xd2, 0x01, 0x04, 0x6b, - 0x69, 0x6e, 0x64, 0xd2, 0x01, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xd2, 0x01, - 0x04, 0x73, 0x70, 0x65, 0x63, 0x22, 0xf4, 0x05, 0x0a, 0x0c, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, - 0x66, 0x6f, 0x53, 0x70, 0x65, 0x63, 0x12, 0x44, 0x0a, 0x09, 0x66, 0x69, 0x72, 0x73, 0x74, 0x4e, - 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x26, 0x92, 0x41, 0x23, 0x2a, 0x09, - 0x46, 0x69, 0x72, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x32, 0x16, 0x46, 0x69, 0x72, 0x73, 0x74, - 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, - 0x72, 0x52, 0x09, 0x66, 0x69, 0x72, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x08, - 0x6c, 0x61, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x24, - 0x92, 0x41, 0x21, 0x2a, 0x08, 0x4c, 0x61, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x32, 0x15, 0x4c, - 0x61, 0x73, 0x74, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, - 0x75, 0x73, 0x65, 0x72, 0x52, 0x08, 0x6c, 0x61, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3a, - 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x24, 0x92, - 0x41, 0x21, 0x2a, 0x05, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x32, 0x18, 0x50, 0x68, 0x6f, 0x6e, 0x65, - 0x20, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, - 0x73, 0x65, 0x72, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x40, 0x0a, 0x06, 0x67, 0x72, - 0x6f, 0x75, 0x70, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x42, 0x28, 0x92, 0x41, 0x25, 0x2a, - 0x05, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x32, 0x1a, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x20, 0x74, - 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x62, 0x65, 0x6c, 0x6f, 0x6e, 0x67, 0x73, 0x20, - 0x74, 0x6f, 0x40, 0x01, 0x52, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x4e, 0x0a, 0x09, - 0x69, 0x64, 0x70, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x42, - 0x30, 0x92, 0x41, 0x2d, 0x2a, 0x09, 0x49, 0x64, 0x70, 0x20, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x32, - 0x1e, 0x49, 0x64, 0x70, 0x20, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x20, 0x74, 0x68, 0x65, 0x20, - 0x75, 0x73, 0x65, 0x72, 0x20, 0x62, 0x65, 0x6c, 0x6f, 0x6e, 0x67, 0x73, 0x20, 0x74, 0x6f, 0x40, - 0x01, 0x52, 0x09, 0x69, 0x64, 0x70, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x73, 0x0a, 0x0b, - 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x25, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, - 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x65, - 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x2a, 0x92, 0x41, 0x27, 0x2a, 0x0b, 0x50, - 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x32, 0x18, 0x50, 0x65, 0x72, 0x6d, - 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x74, 0x68, 0x65, 0x20, - 0x75, 0x73, 0x65, 0x72, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, - 0x73, 0x12, 0x6e, 0x0a, 0x0d, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, - 0x65, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x42, 0x48, 0x92, 0x41, 0x45, 0x2a, 0x0d, 0x45, - 0x6d, 0x61, 0x69, 0x6c, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x32, 0x32, 0x46, 0x6c, - 0x61, 0x67, 0x20, 0x74, 0x6f, 0x20, 0x73, 0x68, 0x6f, 0x77, 0x20, 0x69, 0x66, 0x20, 0x74, 0x68, - 0x65, 0x20, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, - 0x73, 0x65, 0x72, 0x20, 0x77, 0x61, 0x73, 0x20, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, - 0x40, 0x01, 0x52, 0x0d, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, - 0x64, 0x12, 0x71, 0x0a, 0x0d, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, - 0x65, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x42, 0x4b, 0x92, 0x41, 0x48, 0x2a, 0x0d, 0x50, - 0x68, 0x6f, 0x6e, 0x65, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x32, 0x35, 0x46, 0x6c, - 0x61, 0x67, 0x20, 0x74, 0x6f, 0x20, 0x73, 0x68, 0x6f, 0x77, 0x20, 0x69, 0x66, 0x20, 0x70, 0x68, - 0x6f, 0x6e, 0x65, 0x20, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, - 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x77, 0x61, 0x73, 0x20, 0x76, 0x65, 0x72, 0x69, 0x66, - 0x69, 0x65, 0x64, 0x40, 0x01, 0x52, 0x0d, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x56, 0x65, 0x72, 0x69, - 0x66, 0x69, 0x65, 0x64, 0x3a, 0x36, 0x92, 0x41, 0x33, 0x0a, 0x31, 0x2a, 0x16, 0x55, 0x73, 0x65, - 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x20, 0x53, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x32, 0x17, 0x55, 0x73, 0x65, 0x72, 0x20, 0x69, 0x6e, 0x66, 0x6f, 0x20, 0x73, - 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x9d, 0x04, 0x0a, - 0x04, 0x55, 0x73, 0x65, 0x72, 0x12, 0x68, 0x0a, 0x0a, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, - 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x48, 0x92, 0x41, 0x45, 0x2a, 0x0b, - 0x41, 0x50, 0x49, 0x20, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x32, 0x20, 0x41, 0x50, 0x49, - 0x20, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, - 0x75, 0x73, 0x65, 0x72, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3a, 0x14, 0x73, - 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x6b, 0x38, 0x73, 0x6d, 0x67, 0x6d, 0x74, 0x2e, 0x69, 0x6f, - 0x2f, 0x76, 0x33, 0x52, 0x0a, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, - 0x3e, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2a, 0x92, - 0x41, 0x27, 0x2a, 0x04, 0x4b, 0x69, 0x6e, 0x64, 0x32, 0x19, 0x4b, 0x69, 0x6e, 0x64, 0x20, 0x6f, - 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, - 0x72, 0x63, 0x65, 0x3a, 0x04, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x12, - 0x6f, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x25, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, + 0x14, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2e, 0x6b, 0x38, 0x73, 0x6d, 0x67, 0x6d, 0x74, 0x2e, + 0x69, 0x6f, 0x2f, 0x76, 0x33, 0x52, 0x0a, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x12, 0x3e, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, + 0x2a, 0x92, 0x41, 0x27, 0x2a, 0x04, 0x4b, 0x69, 0x6e, 0x64, 0x32, 0x19, 0x4b, 0x69, 0x6e, 0x64, + 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x72, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3a, 0x04, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x6b, 0x69, 0x6e, + 0x64, 0x12, 0x6f, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, + 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, + 0x33, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, 0x2c, 0x92, 0x41, 0x29, 0x2a, + 0x08, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x32, 0x1d, 0x4d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, + 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, + 0x74, 0x61, 0x12, 0x5d, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x23, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, + 0x79, 0x70, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x55, 0x73, 0x65, + 0x72, 0x53, 0x70, 0x65, 0x63, 0x42, 0x24, 0x92, 0x41, 0x21, 0x2a, 0x04, 0x53, 0x70, 0x65, 0x63, + 0x32, 0x19, 0x53, 0x70, 0x65, 0x63, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, + 0x65, 0x72, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x04, 0x73, 0x70, 0x65, + 0x63, 0x12, 0x62, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x23, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, - 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, 0x2c, 0x92, 0x41, 0x29, 0x2a, 0x08, 0x4d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x32, 0x1d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, - 0x61, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x72, 0x65, - 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, - 0x12, 0x5d, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, - 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, - 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x53, - 0x70, 0x65, 0x63, 0x42, 0x24, 0x92, 0x41, 0x21, 0x2a, 0x04, 0x53, 0x70, 0x65, 0x63, 0x32, 0x19, - 0x53, 0x70, 0x65, 0x63, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, - 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, - 0x62, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x23, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, - 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x74, - 0x61, 0x74, 0x75, 0x73, 0x42, 0x25, 0x92, 0x41, 0x22, 0x2a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x32, 0x16, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, - 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x40, 0x01, 0x52, 0x06, 0x73, 0x74, 0x61, - 0x74, 0x75, 0x73, 0x3a, 0x37, 0x92, 0x41, 0x34, 0x0a, 0x32, 0x2a, 0x04, 0x55, 0x73, 0x65, 0x72, - 0x32, 0x04, 0x55, 0x73, 0x65, 0x72, 0xd2, 0x01, 0x0a, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, - 0x69, 0x6f, 0x6e, 0xd2, 0x01, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0xd2, 0x01, 0x08, 0x6d, 0x65, 0x74, - 0x61, 0x64, 0x61, 0x74, 0x61, 0xd2, 0x01, 0x04, 0x73, 0x70, 0x65, 0x63, 0x22, 0xe4, 0x07, 0x0a, - 0x08, 0x55, 0x73, 0x65, 0x72, 0x53, 0x70, 0x65, 0x63, 0x12, 0x44, 0x0a, 0x09, 0x66, 0x69, 0x72, - 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x26, 0x92, 0x41, - 0x23, 0x2a, 0x09, 0x46, 0x69, 0x72, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x32, 0x16, 0x46, 0x69, - 0x72, 0x73, 0x74, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, - 0x75, 0x73, 0x65, 0x72, 0x52, 0x09, 0x66, 0x69, 0x72, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, - 0x40, 0x0a, 0x08, 0x6c, 0x61, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x42, 0x24, 0x92, 0x41, 0x21, 0x2a, 0x08, 0x4c, 0x61, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, - 0x32, 0x15, 0x4c, 0x61, 0x73, 0x74, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x20, 0x6f, 0x66, 0x20, 0x74, - 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x52, 0x08, 0x6c, 0x61, 0x73, 0x74, 0x4e, 0x61, 0x6d, - 0x65, 0x12, 0x3a, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, - 0x42, 0x24, 0x92, 0x41, 0x21, 0x2a, 0x05, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x32, 0x18, 0x50, 0x68, - 0x6f, 0x6e, 0x65, 0x20, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, - 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x3f, 0x0a, - 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, - 0x23, 0x92, 0x41, 0x20, 0x2a, 0x08, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x32, 0x14, - 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, - 0x75, 0x73, 0x65, 0x72, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x40, - 0x0a, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x42, 0x28, - 0x92, 0x41, 0x25, 0x2a, 0x05, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x32, 0x1a, 0x47, 0x72, 0x6f, 0x75, - 0x70, 0x73, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x62, 0x65, 0x6c, 0x6f, - 0x6e, 0x67, 0x73, 0x20, 0x74, 0x6f, 0x40, 0x01, 0x52, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, - 0x12, 0x4e, 0x0a, 0x09, 0x69, 0x64, 0x70, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x07, 0x20, - 0x03, 0x28, 0x09, 0x42, 0x30, 0x92, 0x41, 0x2d, 0x2a, 0x09, 0x49, 0x64, 0x70, 0x20, 0x47, 0x72, - 0x6f, 0x75, 0x70, 0x32, 0x1e, 0x49, 0x64, 0x70, 0x20, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x20, - 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x62, 0x65, 0x6c, 0x6f, 0x6e, 0x67, 0x73, - 0x20, 0x74, 0x6f, 0x40, 0x01, 0x52, 0x09, 0x69, 0x64, 0x70, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, - 0x12, 0xb1, 0x01, 0x0a, 0x15, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, - 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x2f, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, - 0x79, 0x70, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x72, 0x6f, - 0x6a, 0x65, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x6f, 0x6c, - 0x65, 0x42, 0x4a, 0x92, 0x41, 0x47, 0x2a, 0x15, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x4e, - 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x32, 0x2e, 0x50, - 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2c, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x2c, 0x20, 0x72, 0x6f, 0x6c, 0x65, 0x20, 0x61, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x75, 0x73, 0x65, 0x72, 0x52, 0x15, 0x70, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x42, 0x25, 0x92, 0x41, 0x22, 0x2a, 0x06, 0x53, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x32, 0x16, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x20, 0x6f, 0x66, 0x20, 0x74, + 0x68, 0x65, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x40, 0x01, 0x52, 0x06, 0x73, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x3a, 0x37, 0x92, 0x41, 0x34, 0x0a, 0x32, 0x2a, 0x04, 0x55, 0x73, + 0x65, 0x72, 0x32, 0x04, 0x55, 0x73, 0x65, 0x72, 0xd2, 0x01, 0x0a, 0x61, 0x70, 0x69, 0x56, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0xd2, 0x01, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0xd2, 0x01, 0x08, 0x6d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xd2, 0x01, 0x04, 0x73, 0x70, 0x65, 0x63, 0x22, 0xe4, + 0x07, 0x0a, 0x08, 0x55, 0x73, 0x65, 0x72, 0x53, 0x70, 0x65, 0x63, 0x12, 0x44, 0x0a, 0x09, 0x66, + 0x69, 0x72, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x26, + 0x92, 0x41, 0x23, 0x2a, 0x09, 0x46, 0x69, 0x72, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x32, 0x16, + 0x46, 0x69, 0x72, 0x73, 0x74, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, + 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x52, 0x09, 0x66, 0x69, 0x72, 0x73, 0x74, 0x4e, 0x61, 0x6d, + 0x65, 0x12, 0x40, 0x0a, 0x08, 0x6c, 0x61, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x42, 0x24, 0x92, 0x41, 0x21, 0x2a, 0x08, 0x4c, 0x61, 0x73, 0x74, 0x4e, 0x61, + 0x6d, 0x65, 0x32, 0x15, 0x4c, 0x61, 0x73, 0x74, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x20, 0x6f, 0x66, + 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x52, 0x08, 0x6c, 0x61, 0x73, 0x74, 0x4e, + 0x61, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x09, 0x42, 0x24, 0x92, 0x41, 0x21, 0x2a, 0x05, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x32, 0x18, + 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x20, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x20, 0x6f, 0x66, 0x20, + 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x12, + 0x3f, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x09, 0x42, 0x23, 0x92, 0x41, 0x20, 0x2a, 0x08, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, + 0x32, 0x14, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, + 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, + 0x12, 0x40, 0x0a, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, + 0x42, 0x28, 0x92, 0x41, 0x25, 0x2a, 0x05, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x32, 0x1a, 0x47, 0x72, + 0x6f, 0x75, 0x70, 0x73, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x62, 0x65, + 0x6c, 0x6f, 0x6e, 0x67, 0x73, 0x20, 0x74, 0x6f, 0x40, 0x01, 0x52, 0x06, 0x67, 0x72, 0x6f, 0x75, + 0x70, 0x73, 0x12, 0x4e, 0x0a, 0x09, 0x69, 0x64, 0x70, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x18, + 0x07, 0x20, 0x03, 0x28, 0x09, 0x42, 0x30, 0x92, 0x41, 0x2d, 0x2a, 0x09, 0x49, 0x64, 0x70, 0x20, + 0x47, 0x72, 0x6f, 0x75, 0x70, 0x32, 0x1e, 0x49, 0x64, 0x70, 0x20, 0x47, 0x72, 0x6f, 0x75, 0x70, + 0x73, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x62, 0x65, 0x6c, 0x6f, 0x6e, + 0x67, 0x73, 0x20, 0x74, 0x6f, 0x40, 0x01, 0x52, 0x09, 0x69, 0x64, 0x70, 0x47, 0x72, 0x6f, 0x75, + 0x70, 0x73, 0x12, 0xb1, 0x01, 0x0a, 0x15, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x4e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, - 0x6f, 0x6c, 0x65, 0x73, 0x12, 0x6e, 0x0a, 0x0d, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x56, 0x65, 0x72, - 0x69, 0x66, 0x69, 0x65, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x42, 0x48, 0x92, 0x41, 0x45, - 0x2a, 0x0d, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x32, - 0x32, 0x46, 0x6c, 0x61, 0x67, 0x20, 0x74, 0x6f, 0x20, 0x73, 0x68, 0x6f, 0x77, 0x20, 0x69, 0x66, - 0x20, 0x74, 0x68, 0x65, 0x20, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, - 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x77, 0x61, 0x73, 0x20, 0x76, 0x65, 0x72, 0x69, 0x66, - 0x69, 0x65, 0x64, 0x40, 0x01, 0x52, 0x0d, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x56, 0x65, 0x72, 0x69, - 0x66, 0x69, 0x65, 0x64, 0x12, 0x71, 0x0a, 0x0d, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x56, 0x65, 0x72, - 0x69, 0x66, 0x69, 0x65, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x42, 0x4b, 0x92, 0x41, 0x48, - 0x2a, 0x0d, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x32, - 0x35, 0x46, 0x6c, 0x61, 0x67, 0x20, 0x74, 0x6f, 0x20, 0x73, 0x68, 0x6f, 0x77, 0x20, 0x69, 0x66, - 0x20, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x20, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x20, 0x6f, 0x66, - 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x77, 0x61, 0x73, 0x20, 0x76, 0x65, - 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x40, 0x01, 0x52, 0x0d, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x56, - 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x12, 0x6b, 0x0a, 0x0b, 0x72, 0x65, 0x63, 0x6f, 0x76, - 0x65, 0x72, 0x79, 0x55, 0x72, 0x6c, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x42, 0x44, 0x92, 0x41, - 0x41, 0x2a, 0x0c, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x20, 0x55, 0x72, 0x6c, 0x32, - 0x2f, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x20, 0x73, 0x69, 0x67, 0x6e, 0x75, 0x70, 0x20, - 0x55, 0x52, 0x4c, 0x20, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x61, 0x66, 0x74, - 0x65, 0x72, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x40, 0x01, 0x48, 0x00, 0x52, 0x0b, 0x72, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x55, 0x72, - 0x6c, 0x88, 0x01, 0x01, 0x3a, 0x2d, 0x92, 0x41, 0x2a, 0x0a, 0x28, 0x2a, 0x12, 0x55, 0x73, 0x65, - 0x72, 0x20, 0x53, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x32, - 0x12, 0x55, 0x73, 0x65, 0x72, 0x20, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, - 0x55, 0x72, 0x6c, 0x22, 0xc3, 0x03, 0x0a, 0x08, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, - 0x12, 0x71, 0x0a, 0x0a, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x42, 0x51, 0x92, 0x41, 0x4e, 0x2a, 0x0b, 0x41, 0x50, 0x49, 0x20, 0x56, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x32, 0x25, 0x41, 0x50, 0x49, 0x20, 0x56, 0x65, 0x72, 0x73, - 0x69, 0x6f, 0x6e, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, - 0x6c, 0x69, 0x73, 0x74, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3a, 0x16, 0x75, - 0x73, 0x65, 0x72, 0x6d, 0x67, 0x6d, 0x74, 0x2e, 0x6b, 0x38, 0x73, 0x6d, 0x67, 0x6d, 0x74, 0x2e, - 0x69, 0x6f, 0x2f, 0x76, 0x33, 0x40, 0x01, 0x52, 0x0a, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, - 0x69, 0x6f, 0x6e, 0x12, 0x49, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x42, 0x35, 0x92, 0x41, 0x32, 0x2a, 0x04, 0x4b, 0x69, 0x6e, 0x64, 0x32, 0x1e, 0x4b, 0x69, - 0x6e, 0x64, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x6c, - 0x69, 0x73, 0x74, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3a, 0x08, 0x55, 0x73, - 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x40, 0x01, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x12, 0x7a, - 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x29, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, - 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x4c, - 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, 0x33, 0x92, 0x41, 0x30, - 0x2a, 0x08, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x32, 0x22, 0x4d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, - 0x20, 0x6c, 0x69, 0x73, 0x74, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x40, 0x01, - 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x5f, 0x0a, 0x05, 0x69, 0x74, - 0x65, 0x6d, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x70, 0x61, 0x72, 0x61, - 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x75, 0x73, - 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x42, 0x28, 0x92, 0x41, 0x25, 0x2a, - 0x05, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x32, 0x1a, 0x4c, 0x69, 0x73, 0x74, 0x20, 0x6f, 0x66, 0x20, - 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x73, 0x40, 0x01, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x3a, 0x1c, 0x92, 0x41, 0x19, - 0x0a, 0x17, 0x2a, 0x08, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x32, 0x09, 0x55, 0x73, - 0x65, 0x72, 0x20, 0x6c, 0x69, 0x73, 0x74, 0x40, 0x01, 0x22, 0xcc, 0x01, 0x0a, 0x08, 0x55, 0x73, - 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x23, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x42, 0x0f, 0x92, 0x41, 0x0c, 0x2a, 0x04, 0x55, 0x73, 0x65, 0x72, 0x32, - 0x04, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x23, 0x0a, 0x04, 0x72, - 0x6f, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0f, 0x92, 0x41, 0x0c, 0x2a, 0x04, - 0x52, 0x6f, 0x6c, 0x65, 0x32, 0x04, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65, - 0x12, 0x37, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x09, 0x42, 0x19, 0x92, 0x41, 0x16, 0x2a, 0x09, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x32, 0x09, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x09, - 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x3a, 0x3d, 0x92, 0x41, 0x3a, 0x0a, 0x38, - 0x2a, 0x08, 0x55, 0x73, 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x32, 0x2c, 0x55, 0x73, 0x65, 0x72, - 0x2c, 0x20, 0x72, 0x6f, 0x6c, 0x65, 0x2c, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, - 0x65, 0x20, 0x70, 0x61, 0x69, 0x72, 0x69, 0x6e, 0x67, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x70, 0x65, - 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0xec, 0x01, 0x0a, 0x1d, 0x63, 0x6f, 0x6d, - 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, - 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x42, 0x09, 0x55, 0x73, 0x65, 0x72, - 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x37, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, - 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, 0x61, 0x72, 0x61, - 0x6c, 0x75, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, - 0x75, 0x73, 0x65, 0x72, 0x70, 0x62, 0x2f, 0x76, 0x33, 0x3b, 0x75, 0x73, 0x65, 0x72, 0x76, 0x33, - 0xa2, 0x02, 0x04, 0x50, 0x44, 0x54, 0x55, 0xaa, 0x02, 0x19, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, - 0x73, 0x2e, 0x44, 0x65, 0x76, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x55, 0x73, 0x65, 0x72, - 0x2e, 0x56, 0x33, 0xca, 0x02, 0x19, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x5c, 0x44, 0x65, - 0x76, 0x5c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x5c, 0x55, 0x73, 0x65, 0x72, 0x5c, 0x56, 0x33, 0xe2, - 0x02, 0x25, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x5c, 0x44, 0x65, 0x76, 0x5c, 0x54, 0x79, - 0x70, 0x65, 0x73, 0x5c, 0x55, 0x73, 0x65, 0x72, 0x5c, 0x56, 0x33, 0x5c, 0x47, 0x50, 0x42, 0x4d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1d, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, - 0x73, 0x3a, 0x3a, 0x44, 0x65, 0x76, 0x3a, 0x3a, 0x54, 0x79, 0x70, 0x65, 0x73, 0x3a, 0x3a, 0x55, - 0x73, 0x65, 0x72, 0x3a, 0x3a, 0x56, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x6f, 0x6c, 0x65, 0x42, 0x4a, 0x92, 0x41, 0x47, 0x2a, 0x15, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, + 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x32, + 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2c, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x2c, 0x20, 0x72, 0x6f, 0x6c, 0x65, 0x20, 0x61, 0x73, 0x73, 0x6f, 0x63, 0x69, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x75, 0x73, 0x65, 0x72, 0x52, + 0x15, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x12, 0x6e, 0x0a, 0x0d, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x56, + 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x42, 0x48, 0x92, + 0x41, 0x45, 0x2a, 0x0d, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, + 0x64, 0x32, 0x32, 0x46, 0x6c, 0x61, 0x67, 0x20, 0x74, 0x6f, 0x20, 0x73, 0x68, 0x6f, 0x77, 0x20, + 0x69, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x20, 0x6f, 0x66, 0x20, + 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x77, 0x61, 0x73, 0x20, 0x76, 0x65, 0x72, + 0x69, 0x66, 0x69, 0x65, 0x64, 0x40, 0x01, 0x52, 0x0d, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x56, 0x65, + 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x12, 0x71, 0x0a, 0x0d, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x56, + 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x42, 0x4b, 0x92, + 0x41, 0x48, 0x2a, 0x0d, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, + 0x64, 0x32, 0x35, 0x46, 0x6c, 0x61, 0x67, 0x20, 0x74, 0x6f, 0x20, 0x73, 0x68, 0x6f, 0x77, 0x20, + 0x69, 0x66, 0x20, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x20, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x20, + 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x77, 0x61, 0x73, 0x20, + 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x40, 0x01, 0x52, 0x0d, 0x70, 0x68, 0x6f, 0x6e, + 0x65, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x12, 0x6b, 0x0a, 0x0b, 0x72, 0x65, 0x63, + 0x6f, 0x76, 0x65, 0x72, 0x79, 0x55, 0x72, 0x6c, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x42, 0x44, + 0x92, 0x41, 0x41, 0x2a, 0x0c, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x20, 0x55, 0x72, + 0x6c, 0x32, 0x2f, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x20, 0x73, 0x69, 0x67, 0x6e, 0x75, + 0x70, 0x20, 0x55, 0x52, 0x4c, 0x20, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x65, 0x64, 0x20, 0x61, + 0x66, 0x74, 0x65, 0x72, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x40, 0x01, 0x48, 0x00, 0x52, 0x0b, 0x72, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, + 0x55, 0x72, 0x6c, 0x88, 0x01, 0x01, 0x3a, 0x2d, 0x92, 0x41, 0x2a, 0x0a, 0x28, 0x2a, 0x12, 0x55, + 0x73, 0x65, 0x72, 0x20, 0x53, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x32, 0x12, 0x55, 0x73, 0x65, 0x72, 0x20, 0x73, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x76, 0x65, + 0x72, 0x79, 0x55, 0x72, 0x6c, 0x22, 0xc3, 0x03, 0x0a, 0x08, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x69, + 0x73, 0x74, 0x12, 0x71, 0x0a, 0x0a, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x51, 0x92, 0x41, 0x4e, 0x2a, 0x0b, 0x41, 0x50, 0x49, + 0x20, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x32, 0x25, 0x41, 0x50, 0x49, 0x20, 0x56, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, + 0x72, 0x20, 0x6c, 0x69, 0x73, 0x74, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3a, + 0x16, 0x75, 0x73, 0x65, 0x72, 0x6d, 0x67, 0x6d, 0x74, 0x2e, 0x6b, 0x38, 0x73, 0x6d, 0x67, 0x6d, + 0x74, 0x2e, 0x69, 0x6f, 0x2f, 0x76, 0x33, 0x40, 0x01, 0x52, 0x0a, 0x61, 0x70, 0x69, 0x56, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x49, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x42, 0x35, 0x92, 0x41, 0x32, 0x2a, 0x04, 0x4b, 0x69, 0x6e, 0x64, 0x32, 0x1e, + 0x4b, 0x69, 0x6e, 0x64, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, + 0x20, 0x6c, 0x69, 0x73, 0x74, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3a, 0x08, + 0x55, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x40, 0x01, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, + 0x12, 0x7a, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, + 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x76, 0x33, + 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, 0x33, 0x92, + 0x41, 0x30, 0x2a, 0x08, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x32, 0x22, 0x4d, 0x65, + 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x20, 0x6f, 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, + 0x65, 0x72, 0x20, 0x6c, 0x69, 0x73, 0x74, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x40, 0x01, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x5f, 0x0a, 0x05, + 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x70, 0x61, + 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, + 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x42, 0x28, 0x92, 0x41, + 0x25, 0x2a, 0x05, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x32, 0x1a, 0x4c, 0x69, 0x73, 0x74, 0x20, 0x6f, + 0x66, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72, 0x20, 0x72, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x73, 0x40, 0x01, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x3a, 0x1c, 0x92, + 0x41, 0x19, 0x0a, 0x17, 0x2a, 0x08, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x32, 0x09, + 0x55, 0x73, 0x65, 0x72, 0x20, 0x6c, 0x69, 0x73, 0x74, 0x40, 0x01, 0x22, 0xcc, 0x01, 0x0a, 0x08, + 0x55, 0x73, 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x23, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0f, 0x92, 0x41, 0x0c, 0x2a, 0x04, 0x55, 0x73, 0x65, + 0x72, 0x32, 0x04, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x23, 0x0a, + 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0f, 0x92, 0x41, 0x0c, + 0x2a, 0x04, 0x52, 0x6f, 0x6c, 0x65, 0x32, 0x04, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x04, 0x72, 0x6f, + 0x6c, 0x65, 0x12, 0x37, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x19, 0x92, 0x41, 0x16, 0x2a, 0x09, 0x4e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x32, 0x09, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x3a, 0x3d, 0x92, 0x41, 0x3a, + 0x0a, 0x38, 0x2a, 0x08, 0x55, 0x73, 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x32, 0x2c, 0x55, 0x73, + 0x65, 0x72, 0x2c, 0x20, 0x72, 0x6f, 0x6c, 0x65, 0x2c, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x20, 0x70, 0x61, 0x69, 0x72, 0x69, 0x6e, 0x67, 0x20, 0x66, 0x6f, 0x72, 0x20, + 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0xec, 0x01, 0x0a, 0x1d, 0x63, + 0x6f, 0x6d, 0x2e, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2e, 0x64, 0x65, 0x76, 0x2e, 0x74, + 0x79, 0x70, 0x65, 0x73, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x42, 0x09, 0x55, 0x73, + 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x37, 0x67, 0x69, 0x74, 0x68, 0x75, + 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, 0x61, + 0x72, 0x61, 0x6c, 0x75, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x79, 0x70, 0x65, + 0x73, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x70, 0x62, 0x2f, 0x76, 0x33, 0x3b, 0x75, 0x73, 0x65, 0x72, + 0x76, 0x33, 0xa2, 0x02, 0x04, 0x50, 0x44, 0x54, 0x55, 0xaa, 0x02, 0x19, 0x50, 0x61, 0x72, 0x61, + 0x6c, 0x75, 0x73, 0x2e, 0x44, 0x65, 0x76, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x55, 0x73, + 0x65, 0x72, 0x2e, 0x56, 0x33, 0xca, 0x02, 0x19, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x5c, + 0x44, 0x65, 0x76, 0x5c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x5c, 0x55, 0x73, 0x65, 0x72, 0x5c, 0x56, + 0x33, 0xe2, 0x02, 0x25, 0x50, 0x61, 0x72, 0x61, 0x6c, 0x75, 0x73, 0x5c, 0x44, 0x65, 0x76, 0x5c, + 0x54, 0x79, 0x70, 0x65, 0x73, 0x5c, 0x55, 0x73, 0x65, 0x72, 0x5c, 0x56, 0x33, 0x5c, 0x47, 0x50, + 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x1d, 0x50, 0x61, 0x72, 0x61, + 0x6c, 0x75, 0x73, 0x3a, 0x3a, 0x44, 0x65, 0x76, 0x3a, 0x3a, 0x54, 0x79, 0x70, 0x65, 0x73, 0x3a, + 0x3a, 0x55, 0x73, 0x65, 0x72, 0x3a, 0x3a, 0x56, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, } var ( diff --git a/proto/types/userpb/v3/user.proto b/proto/types/userpb/v3/user.proto index 8634e05b..0fd48915 100644 --- a/proto/types/userpb/v3/user.proto +++ b/proto/types/userpb/v3/user.proto @@ -2,8 +2,6 @@ syntax = "proto3"; package paralus.dev.types.user.v3; import "proto/types/commonpb/v3/common.proto"; -import "proto/types/rolepb/v3/role.proto"; -import "proto/types/rolepb/v3/rolepermission.proto"; import "proto/types/userpb/v3/group.proto"; import "protoc-gen-openapiv2/options/annotations.proto"; diff --git a/server/audit_info.go b/server/audit_info.go index 085cc22f..a54c0878 100644 --- a/server/audit_info.go +++ b/server/audit_info.go @@ -17,10 +17,10 @@ type auditInfoServer struct { aps service.AccountPermissionService } -var _ sentryrpc.AuditInformationServer = (*auditInfoServer)(nil) +var _ sentryrpc.AuditInformationServiceServer = (*auditInfoServer)(nil) // NewAuditInfoServer returns new Audit Information Server -func NewAuditInfoServer(bs service.BootstrapService, aps service.AccountPermissionService) sentryrpc.AuditInformationServer { +func NewAuditInfoServer(bs service.BootstrapService, aps service.AccountPermissionService) sentryrpc.AuditInformationServiceServer { return &auditInfoServer{bs: bs, aps: aps} } diff --git a/server/auditlog.go b/server/auditlog.go index 77bb7b6b..f71e3593 100644 --- a/server/auditlog.go +++ b/server/auditlog.go @@ -11,17 +11,17 @@ type auditLogServer struct { as *q.AuditLogService } -var _ v1.AuditLogServer = (*auditLogServer)(nil) +var _ v1.AuditLogServiceServer = (*auditLogServer)(nil) // NewAuditServer returns new placement server implementation -func NewAuditLogServer(auditLogService *q.AuditLogService) (v1.AuditLogServer, error) { +func NewAuditLogServer(auditLogService *q.AuditLogService) (v1.AuditLogServiceServer, error) { return &auditLogServer{as: auditLogService}, nil } -func (a *auditLogServer) GetAuditLog(ctx context.Context, req *v1.AuditLogSearchRequest) (res *v1.AuditLogSearchResponse, err error) { +func (a *auditLogServer) GetAuditLog(ctx context.Context, req *v1.GetAuditLogSearchRequest) (res *v1.GetAuditLogSearchResponse, err error) { return a.as.GetAuditLog(req) } -func (a *auditLogServer) GetAuditLogByProjects(ctx context.Context, req *v1.AuditLogSearchRequest) (res *v1.AuditLogSearchResponse, err error) { +func (a *auditLogServer) GetAuditLogByProjects(ctx context.Context, req *v1.GetAuditLogSearchRequest) (res *v1.GetAuditLogSearchResponse, err error) { return a.as.GetAuditLogByProjects(req) } diff --git a/server/auth.go b/server/auth.go index 9a200f78..82ff9b7c 100644 --- a/server/auth.go +++ b/server/auth.go @@ -13,7 +13,7 @@ type authServer struct { } // NewAuthServer returns new auth server implementation -func NewAuthServer(as authv3.AuthService) rpcv3.AuthServer { +func NewAuthServer(as authv3.AuthService) rpcv3.AuthServiceServer { return &authServer{as} } diff --git a/server/bootstrap.go b/server/bootstrap.go index 152a65b1..aa8aafff 100644 --- a/server/bootstrap.go +++ b/server/bootstrap.go @@ -52,7 +52,7 @@ type bootstrapServer struct { cs service.ClusterService } -var _ sentryrpc.BootstrapServer = (*bootstrapServer)(nil) +var _ sentryrpc.BootstrapServiceServer = (*bootstrapServer)(nil) func (s *bootstrapServer) GetBootstrapInfra(ctx context.Context, in *sentry.BootstrapInfra) (*sentry.BootstrapInfra, error) { return s.bs.GetBootstrapInfra(ctx, in.Metadata.Name) @@ -295,6 +295,6 @@ func (s *bootstrapServer) GetBootstrapAgentConfig(ctx context.Context, in *sentr } // NewBootstrapServer return new bootstrap server -func NewBootstrapServer(bs service.BootstrapService, f cryptoutil.PasswordFunc, cs service.ClusterService) sentryrpc.BootstrapServer { +func NewBootstrapServer(bs service.BootstrapService, f cryptoutil.PasswordFunc, cs service.ClusterService) sentryrpc.BootstrapServiceServer { return &bootstrapServer{bs, f, cs} } diff --git a/server/cluster.go b/server/cluster.go index a0040212..45fe7899 100644 --- a/server/cluster.go +++ b/server/cluster.go @@ -22,7 +22,7 @@ type clusterServer struct { } // NewClusterServer returns new cluster server implementation -func NewClusterServer(es service.ClusterService, data *common.DownloadData) rpcv3.ClusterServer { +func NewClusterServer(es service.ClusterService, data *common.DownloadData) rpcv3.ClusterServiceServer { return &clusterServer{ ClusterService: es, downloadData: *data, diff --git a/server/cluster_authz.go b/server/cluster_authz.go index be4d4bf3..15b61b67 100644 --- a/server/cluster_authz.go +++ b/server/cluster_authz.go @@ -30,7 +30,7 @@ func (s *clusterAuthzServer) GetUserAuthorization(ctx context.Context, req *sent } // NewClusterAuthzServer returns New ClusterAuthzServer -func NewClusterAuthzServer(bs service.BootstrapService, aps service.AccountPermissionService, gps service.GroupPermissionService, krs service.KubeconfigRevocationService, kcs service.KubectlClusterSettingsService, kss service.KubeconfigSettingService, ns service.NamespaceService) sentryrpc.ClusterAuthorizationServer { +func NewClusterAuthzServer(bs service.BootstrapService, aps service.AccountPermissionService, gps service.GroupPermissionService, krs service.KubeconfigRevocationService, kcs service.KubectlClusterSettingsService, kss service.KubeconfigSettingService, ns service.NamespaceService) sentryrpc.ClusterAuthorizationServiceServer { return &clusterAuthzServer{ bs: bs, aps: aps, diff --git a/server/group.go b/server/group.go index 6cdfcfbe..77ce85f3 100644 --- a/server/group.go +++ b/server/group.go @@ -17,7 +17,7 @@ type groupServer struct { } // NewGroupServer returns new group server implementation -func NewGroupServer(ps service.GroupService) rpcv3.GroupServer { +func NewGroupServer(ps service.GroupService) rpcv3.GroupServiceServer { return &groupServer{ps} } diff --git a/server/idp.go b/server/idp.go index 49062ca4..e9bdf290 100644 --- a/server/idp.go +++ b/server/idp.go @@ -13,7 +13,7 @@ type idpServer struct { service.IdpService } -func NewIdpServer(is service.IdpService) rpcv3.IdpServer { +func NewIdpServer(is service.IdpService) rpcv3.IdpServiceServer { return &idpServer{is} } diff --git a/server/kubeconfig.go b/server/kubeconfig.go index dca31a0d..64ebb6ee 100644 --- a/server/kubeconfig.go +++ b/server/kubeconfig.go @@ -32,7 +32,7 @@ type kubeConfigServer struct { al *zap.Logger } -var _ sentryrpc.KubeConfigServer = (*kubeConfigServer)(nil) +var _ sentryrpc.KubeConfigServiceServer = (*kubeConfigServer)(nil) func (s *kubeConfigServer) GetForClusterSystemSession(ctx context.Context, in *sentryrpc.GetForClusterRequest) (*commonv3.HttpBody, error) { config, err := kubeconfig.GetConfigForCluster(ctx, s.bs, in, s.pf, s.kss, kubeconfig.ParalusSystem) @@ -204,7 +204,7 @@ func (s *kubeConfigServer) UpdateUserSetting(ctx context.Context, req *sentryrpc // NewKubeConfigServer returns new kube config server func NewKubeConfigServer(bs service.BootstrapService, aps service.AccountPermissionService, gps service.GroupPermissionService, kss service.KubeconfigSettingService, - krs service.KubeconfigRevocationService, pf cryptoutil.PasswordFunc, ksvc service.ApiKeyService, os service.OrganizationService, ps service.PartnerService, al *zap.Logger) sentryrpc.KubeConfigServer { + krs service.KubeconfigRevocationService, pf cryptoutil.PasswordFunc, ksvc service.ApiKeyService, os service.OrganizationService, ps service.PartnerService, al *zap.Logger) sentryrpc.KubeConfigServiceServer { return &kubeConfigServer{bs, aps, gps, kss, krs, pf, ksvc, os, ps, al} } diff --git a/server/kubectl_cluster_settings.go b/server/kubectl_cluster_settings.go index 36ec391b..ec239c45 100644 --- a/server/kubectl_cluster_settings.go +++ b/server/kubectl_cluster_settings.go @@ -16,7 +16,7 @@ type kubectlClusterSettingsServer struct { kcs service.KubectlClusterSettingsService } -var _ sentryrpc.KubectlClusterSettingsServer = (*kubectlClusterSettingsServer)(nil) +var _ sentryrpc.KubectlClusterSettingsServiceServer = (*kubectlClusterSettingsServer)(nil) func (s *kubectlClusterSettingsServer) GetKubectlClusterSettings(ctx context.Context, in *sentryrpc.GetKubectlClusterSettingsRequest) (*sentryrpc.GetKubectlClusterSettingsResponse, error) { opts := in.Opts @@ -113,6 +113,6 @@ func (s *kubectlClusterSettingsServer) UpdateKubectlClusterSettings(ctx context. } // NewKubectlClusterSettingsServer returns new kubectl cluster setting server -func NewKubectlClusterSettingsServer(bs service.BootstrapService, kcs service.KubectlClusterSettingsService) sentryrpc.KubectlClusterSettingsServer { +func NewKubectlClusterSettingsServer(bs service.BootstrapService, kcs service.KubectlClusterSettingsService) sentryrpc.KubectlClusterSettingsServiceServer { return &kubectlClusterSettingsServer{bs, kcs} } diff --git a/server/metro.go b/server/metro.go index 7b21a936..cef6591d 100644 --- a/server/metro.go +++ b/server/metro.go @@ -14,7 +14,7 @@ type locationServer struct { } // NewLocationServer returns new location server implementation -func NewLocationServer(ms service.MetroService) systemrpc.LocationServer { +func NewLocationServer(ms service.MetroService) systemrpc.LocationServiceServer { return &locationServer{ms} } diff --git a/server/oidc_provider.go b/server/oidc_provider.go index 6ff4ce48..3a57dbbe 100644 --- a/server/oidc_provider.go +++ b/server/oidc_provider.go @@ -13,7 +13,7 @@ type oidcProvider struct { service.OIDCProviderService } -func NewOIDCServer(providerSvc service.OIDCProviderService) rpcv3.OIDCProviderServer { +func NewOIDCServer(providerSvc service.OIDCProviderService) rpcv3.OIDCProviderServiceServer { return &oidcProvider{providerSvc} } diff --git a/server/organization.go b/server/organization.go index 51e4afc6..efbd914b 100644 --- a/server/organization.go +++ b/server/organization.go @@ -15,7 +15,7 @@ type organizationServer struct { } // NewOrganizationServer returns new organization server implementation -func NewOrganizationServer(ps service.OrganizationService) systemrpc.OrganizationServer { +func NewOrganizationServer(ps service.OrganizationService) systemrpc.OrganizationServiceServer { return &organizationServer{ps} } diff --git a/server/partner.go b/server/partner.go index 961c9735..c0a270eb 100644 --- a/server/partner.go +++ b/server/partner.go @@ -15,7 +15,7 @@ type partnerServer struct { } // NewPartnerServer returns new partner server implementation -func NewPartnerServer(ps service.PartnerService) systemrpc.PartnerServer { +func NewPartnerServer(ps service.PartnerService) systemrpc.PartnerServiceServer { return &partnerServer{ps} } diff --git a/server/project.go b/server/project.go index 99f062bd..d58ffb48 100644 --- a/server/project.go +++ b/server/project.go @@ -15,7 +15,7 @@ type projectServer struct { } // NewProjectServer returns new project server implementation -func NewProjectServer(ps service.ProjectService) systemrpc.ProjectServer { +func NewProjectServer(ps service.ProjectService) systemrpc.ProjectServiceServer { return &projectServer{ps} } diff --git a/server/relayaudit.go b/server/relayaudit.go index 39ca6bfd..d2330962 100644 --- a/server/relayaudit.go +++ b/server/relayaudit.go @@ -14,25 +14,25 @@ type relayAuditServer struct { al *q.AuditLogService } -var _ v1.RelayAuditServer = (*relayAuditServer)(nil) +var _ v1.RelayAuditServiceServer = (*relayAuditServer)(nil) // NewAuditServer returns new placement server implementation -func NewRelayAuditServer(relayAuditService *q.RelayAuditService, relayCommandAuditService *q.AuditLogService) (v1.RelayAuditServer, error) { +func NewRelayAuditServer(relayAuditService *q.RelayAuditService, relayCommandAuditService *q.AuditLogService) (v1.RelayAuditServiceServer, error) { return &relayAuditServer{ rs: relayAuditService, al: relayCommandAuditService, }, nil } -func (r *relayAuditServer) GetRelayAPIAudit(ctx context.Context, req *v1.RelayAuditSearchRequest) (res *v1.RelayAuditSearchResponse, err error) { +func (r *relayAuditServer) GetRelayAPIAudit(ctx context.Context, req *v1.RelayAuditRequest) (res *v1.RelayAuditResponse, err error) { return r.rs.GetRelayAudit(req) } -func (r *relayAuditServer) GetRelayAPIAuditByProjects(ctx context.Context, req *v1.RelayAuditSearchRequest) (res *v1.RelayAuditSearchResponse, err error) { +func (r *relayAuditServer) GetRelayAPIAuditByProjects(ctx context.Context, req *v1.RelayAuditRequest) (res *v1.RelayAuditResponse, err error) { return r.rs.GetRelayAuditByProjects(req) } -func (r *relayAuditServer) GetRelayAudit(ctx context.Context, req *v1.RelayAuditSearchRequest) (res *v1.RelayAuditSearchResponse, err error) { +func (r *relayAuditServer) GetRelayAudit(ctx context.Context, req *v1.RelayAuditRequest) (res *v1.RelayAuditResponse, err error) { if req.AuditType == ec.RelayAPIAuditType { res, err = r.rs.GetRelayAudit(req) if err != nil { @@ -48,7 +48,7 @@ func (r *relayAuditServer) GetRelayAudit(ctx context.Context, req *v1.RelayAudit if err != nil { return nil, err } - res = &v1.RelayAuditSearchResponse{ + res = &v1.RelayAuditResponse{ AuditType: ec.RelayCommandsAuditType, Result: auditRes.Result, } @@ -56,7 +56,7 @@ func (r *relayAuditServer) GetRelayAudit(ctx context.Context, req *v1.RelayAudit return } -func (r *relayAuditServer) GetRelayAuditByProjects(ctx context.Context, req *v1.RelayAuditSearchRequest) (res *v1.RelayAuditSearchResponse, err error) { +func (r *relayAuditServer) GetRelayAuditByProjects(ctx context.Context, req *v1.RelayAuditRequest) (res *v1.RelayAuditResponse, err error) { if req.AuditType == ec.RelayAPIAuditType { res, err = r.rs.GetRelayAuditByProjects(req) if err != nil { @@ -72,7 +72,7 @@ func (r *relayAuditServer) GetRelayAuditByProjects(ctx context.Context, req *v1. if err != nil { return nil, err } - res = &v1.RelayAuditSearchResponse{ + res = &v1.RelayAuditResponse{ AuditType: ec.RelayCommandsAuditType, Result: auditRes.Result, } @@ -81,13 +81,13 @@ func (r *relayAuditServer) GetRelayAuditByProjects(ctx context.Context, req *v1. return } -func convertRelayToAuditSearchRequest(req *v1.RelayAuditSearchRequest) (*v1.AuditLogSearchRequest, error) { +func convertRelayToAuditSearchRequest(req *v1.RelayAuditRequest) (*v1.GetAuditLogSearchRequest, error) { reqByte, err := json.Marshal(req) if err != nil { return nil, err } - var res v1.AuditLogSearchRequest + var res v1.GetAuditLogSearchRequest err = json.Unmarshal(reqByte, &res) if err != nil { return nil, err diff --git a/server/role.go b/server/role.go index e811f231..152e583d 100644 --- a/server/role.go +++ b/server/role.go @@ -15,7 +15,7 @@ type roleServer struct { } // NewRoleServer returns new role server implementation -func NewRoleServer(ps service.RoleService) rpcv3.RoleServer { +func NewRoleServer(ps service.RoleService) rpcv3.RoleServiceServer { return &roleServer{ps} } diff --git a/server/rolepermission.go b/server/rolepermission.go index 25b4fb18..1a6ade4a 100644 --- a/server/rolepermission.go +++ b/server/rolepermission.go @@ -15,7 +15,7 @@ type rolepermissionServer struct { } // NewRolePermissionServer returns new role server implementation -func NewRolePermissionServer(ps service.RolepermissionService) rpcv3.RolepermissionServer { +func NewRolePermissionServer(ps service.RolepermissionService) rpcv3.RolepermissionServiceServer { return &rolepermissionServer{ps} } diff --git a/server/user.go b/server/user.go index 341063a3..021efd42 100644 --- a/server/user.go +++ b/server/user.go @@ -19,7 +19,7 @@ type userServer struct { } // NewUserServer returns new user server implementation -func NewUserServer(ps service.UserService, as service.ApiKeyService) rpcv3.UserServer { +func NewUserServer(ps service.UserService, as service.ApiKeyService) rpcv3.UserServiceServer { return &userServer{us: ps, ks: as} } func updateUserStatus(req *userpbv3.User, resp *userpbv3.User, err error) *userpbv3.User { @@ -63,7 +63,7 @@ func (s *userServer) GetUserInfo(ctx context.Context, req *userpbv3.User) (*user return resp, nil } -func (s *userServer) DeleteUser(ctx context.Context, req *userpbv3.User) (*rpcv3.DeleteUserResponse, error) { +func (s *userServer) DeleteUser(ctx context.Context, req *userpbv3.User) (*rpcv3.UserDeleteApiKeysResponse, error) { return s.us.Delete(ctx, req) } @@ -97,19 +97,19 @@ func (s *userServer) DownloadCliConfig(ctx context.Context, req *rpcv3.CliConfig }, nil } -func (s *userServer) UserListApiKeys(ctx context.Context, req *rpcv3.ApiKeyRequest) (*rpcv3.ApiKeyResponseList, error) { +func (s *userServer) UserListApiKeys(ctx context.Context, req *rpcv3.ApiKeyRequest) (*rpcv3.UserListApiKeysResponse, error) { return s.ks.List(ctx, req) } -func (s *userServer) UserDeleteApiKeys(ctx context.Context, req *rpcv3.ApiKeyRequest) (*rpcv3.DeleteUserResponse, error) { +func (s *userServer) UserDeleteApiKeys(ctx context.Context, req *rpcv3.ApiKeyRequest) (*rpcv3.UserDeleteApiKeysResponse, error) { _, err := s.ks.Delete(ctx, req) if err != nil { return nil, err } - return &rpcv3.DeleteUserResponse{}, nil + return &rpcv3.UserDeleteApiKeysResponse{}, nil } -func (s *userServer) UserForgotPassword(ctx context.Context, req *rpcv3.ForgotPasswordRequest) (*rpcv3.ForgotPasswordResponse, error) { +func (s *userServer) UserForgotPassword(ctx context.Context, req *rpcv3.UserForgotPasswordRequest) (*rpcv3.UserForgotPasswordResponse, error) { return s.us.ForgotPassword(ctx, req) } From 30095a21d5cdf3bf2de8af0541083c2c78d1e78d Mon Sep 17 00:00:00 2001 From: vivekhiwarkar Date: Thu, 25 Aug 2022 18:33:13 +0530 Subject: [PATCH 2/3] Adding Changlog --- CHANGELOG.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 83ce1655..3d7bb0ed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,9 +6,13 @@ All notable changes to this project will be documented in this file. ## Added -- Adding more audit points for better visibility from [vivekhiwarkar](https://github.com/vivekhiwarkar) +- Added more audit points for better visibility from [vivekhiwarkar](https://github.com/vivekhiwarkar) - Added audit point for kubeconfig download [meain](https://github.com/meain) +## Fixed + +- Fixed lint issues due to buf from [vivekhiwarkar](https://github.com/vivekhiwarkar) + ## [0.1.2] - 2022-08-12 ## Fixed From 10396c7d131d76350e56b96260fc68830b4a7662 Mon Sep 17 00:00:00 2001 From: vivekhiwarkar Date: Fri, 26 Aug 2022 10:25:06 +0530 Subject: [PATCH 3/3] fix for failing test cases --- pkg/service/audit_log_query_test.go | 4 ++-- pkg/service/relay_audit_query_test.go | 4 ++-- pkg/service/user_test.go | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pkg/service/audit_log_query_test.go b/pkg/service/audit_log_query_test.go index abb89711..a914357c 100644 --- a/pkg/service/audit_log_query_test.go +++ b/pkg/service/audit_log_query_test.go @@ -87,7 +87,7 @@ func (m *mockElasticSearchQuery) Handle(msg bytes.Buffer) (map[string]interface{ func TestGetAuditLogByProjectsSimple(t *testing.T) { esq := &mockElasticSearchQuery{} al := &AuditLogService{auditQuery: esq} - req := v1.AuditLogSearchRequest{ + req := v1.GetAuditLogSearchRequest{ Filter: &v1.AuditLogQueryFilter{ QueryString: "query-string", Projects: []string{"project-one", "project-two"}, @@ -119,7 +119,7 @@ func TestGetAuditLogByProjectsSimple(t *testing.T) { func TestGetAuditLogByProjectsNoProject(t *testing.T) { esq := &mockElasticSearchQuery{} al := &AuditLogService{auditQuery: esq} - req := v1.AuditLogSearchRequest{ + req := v1.GetAuditLogSearchRequest{ Metadata: &v3.Metadata{UrlScope: "url/project"}, Filter: &v1.AuditLogQueryFilter{ QueryString: "query-string", diff --git a/pkg/service/relay_audit_query_test.go b/pkg/service/relay_audit_query_test.go index 1a954e37..280708b3 100644 --- a/pkg/service/relay_audit_query_test.go +++ b/pkg/service/relay_audit_query_test.go @@ -87,7 +87,7 @@ type rmd struct { func TestGetRelayAuditLogByProjectsSimple(t *testing.T) { esq := &mockElasticSearchQuery{} al := &RelayAuditService{relayQuery: esq} - req := v1.RelayAuditSearchRequest{ + req := v1.RelayAuditRequest{ Filter: &v1.RelayAuditQueryFilter{ QueryString: "query-string", Projects: []string{"project-one", "project-two"}, @@ -123,7 +123,7 @@ func TestGetRelayAuditLogByProjectsSimple(t *testing.T) { func TestGetRelayAuditLogByProjectsNoProject(t *testing.T) { esq := &mockElasticSearchQuery{} al := &RelayAuditService{relayQuery: esq} - req := v1.RelayAuditSearchRequest{ + req := v1.RelayAuditRequest{ Metadata: &v3.Metadata{UrlScope: "url/project"}, Filter: &v1.RelayAuditQueryFilter{ QueryString: "query-string", diff --git a/pkg/service/user_test.go b/pkg/service/user_test.go index 3075dd8e..e80a5ba8 100644 --- a/pkg/service/user_test.go +++ b/pkg/service/user_test.go @@ -742,7 +742,7 @@ func TestUserForgotPassword(t *testing.T) { uuuid := addUserFetchExpectation(mock) - fpreq := &userrpcv3.ForgotPasswordRequest{Username: "user-" + uuuid} + fpreq := &userrpcv3.UserForgotPasswordRequest{Username: "user-" + uuuid} fpresp, err := us.ForgotPassword(context.Background(), fpreq) if err != nil { t.Fatal("could not fetch password recovery link:", err)