Skip to content

Commit

Permalink
PMM-12673 Remove redundant go_package option
Browse files Browse the repository at this point in the history
  • Loading branch information
artemgavrilov committed Nov 19, 2023
1 parent 69d84a3 commit 7a8b6be
Show file tree
Hide file tree
Showing 49 changed files with 0 additions and 94 deletions.
2 changes: 0 additions & 2 deletions api/agentlocalpb/v1/agentlocal.proto
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ import "google/protobuf/duration.proto";
import "inventorypb/v1/agent_status.proto";
import "inventorypb/v1/agents.proto";

option go_package = "api/agentlocalpb;agentlocalpb";

// ServerInfo contains information about the PMM Server.
message ServerInfo {
// PMM Server URL in a form https://HOST:PORT/.
Expand Down
2 changes: 0 additions & 2 deletions api/agentpb/v1/agent.proto
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ import "inventorypb/v1/agents.proto";
import "inventorypb/v1/services.proto";
import "managementpb/v1/backup/common.proto";

option go_package = "api/agentpb;agentpb";

// TextFiles contains files which can be used to connect to DB (certificates, keys and etc).
message TextFiles {
// files contains files which can be used to connect to DB (certificates, keys and etc).
Expand Down
2 changes: 0 additions & 2 deletions api/agentpb/v1/collector.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ package agentpb.v1;

import "inventorypb/v1/agents.proto";

option go_package = "api/agentpb;agentpb";

// ExampleFormat is format of query example: real or query without values.
//
// Deprecated: is not used, should not be used, should be removed.
Expand Down
2 changes: 0 additions & 2 deletions api/inventorypb/v1/agent_status.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ syntax = "proto3";

package inventorypb.v1;

option go_package = "api/inventorypb;inventorypb";

// AgentStatus represents actual Agent status.
enum AgentStatus {
AGENT_STATUS_UNSPECIFIED = 0;
Expand Down
2 changes: 0 additions & 2 deletions api/inventorypb/v1/agents.proto
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ import "inventorypb/v1/log_level.proto";
import "protoc-gen-openapiv2/options/annotations.proto";
import "validate/validate.proto";

option go_package = "api/inventorypb;inventorypb";

// AgentType describes supported Agent types.
enum AgentType {
AGENT_TYPE_UNSPECIFIED = 0;
Expand Down
2 changes: 0 additions & 2 deletions api/inventorypb/v1/log_level.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ syntax = "proto3";

package inventorypb.v1;

option go_package = "api/inventorypb;inventorypb";

// Log level for exporters
enum LogLevel {
// Auto
Expand Down
2 changes: 0 additions & 2 deletions api/inventorypb/v1/nodes.proto
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ import "google/api/annotations.proto";
import "protoc-gen-openapiv2/options/annotations.proto";
import "validate/validate.proto";

option go_package = "api/inventorypb;inventorypb";

// NodeType describes supported Node types.
enum NodeType {
NODE_TYPE_UNSPECIFIED = 0;
Expand Down
2 changes: 0 additions & 2 deletions api/inventorypb/v1/services.proto
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ import "google/api/annotations.proto";
import "protoc-gen-openapiv2/options/annotations.proto";
import "validate/validate.proto";

option go_package = "api/inventorypb;inventorypb";

// ServiceType describes supported Service types.
enum ServiceType {
SERVICE_TYPE_UNSPECIFIED = 0;
Expand Down
2 changes: 0 additions & 2 deletions api/managementpb/v1/actions.proto
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ import "google/api/annotations.proto";
import "protoc-gen-openapiv2/options/annotations.proto";
import "validate/validate.proto";

option go_package = "api/managementpb;managementpb";

// ActionType represents Action type.
enum ActionType {
ACTION_TYPE_UNSPECIFIED = 0;
Expand Down
2 changes: 0 additions & 2 deletions api/managementpb/v1/agent/agent.proto
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ import "google/api/annotations.proto";
import "google/protobuf/timestamp.proto";
import "protoc-gen-openapiv2/options/annotations.proto";

option go_package = "api/managementpb/agent;agentv1beta1";

message UniversalAgent {
message MySQLOptions {
// TLS CA certificate.
Expand Down
2 changes: 0 additions & 2 deletions api/managementpb/v1/alerting/alerting.proto
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ import "managementpb/v1/pagination.proto";
import "managementpb/v1/severity.proto";
import "validate/validate.proto";

option go_package = "api/managementpb/alerting;alertingv1";

// BoolParamDefinition represents boolean parameter's default value.
message BoolParamDefinition {
managementpb.v1.BooleanFlag default = 1;
Expand Down
2 changes: 0 additions & 2 deletions api/managementpb/v1/alerting/params.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ syntax = "proto3";

package alerting.v1;

option go_package = "api/managementpb/alerting;alertingv1";

// ParamUnit represents template parameter unit.
enum ParamUnit {
// Invalid, unknown or absent.
Expand Down
2 changes: 0 additions & 2 deletions api/managementpb/v1/annotation.proto
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ import "google/api/annotations.proto";
import "protoc-gen-openapiv2/options/annotations.proto";
import "validate/validate.proto";

option go_package = "api/managementpb;managementpb";

// AddAnnotationRequest is a params to add new annotation.
message AddAnnotationRequest {
// An annotation description. Required.
Expand Down
2 changes: 0 additions & 2 deletions api/managementpb/v1/azure/azure.proto
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ package azure.v1beta1;
import "google/api/annotations.proto";
import "validate/validate.proto";

option go_package = "api/managementpb/azure;azurev1beta1";

// DiscoverAzureDatabaseRequest discover azure databases request.
message DiscoverAzureDatabaseRequest {
// Azure client ID.
Expand Down
2 changes: 0 additions & 2 deletions api/managementpb/v1/backup/artifacts.proto
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ import "google/api/annotations.proto";
import "google/protobuf/timestamp.proto";
import "managementpb/v1/backup/common.proto";

option go_package = "api/managementpb/backup;backupv1";

// BackupStatus shows the current status of execution of backup.
enum BackupStatus {
BACKUP_STATUS_UNSPECIFIED = 0;
Expand Down
2 changes: 0 additions & 2 deletions api/managementpb/v1/backup/backups.proto
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ import "managementpb/v1/backup/common.proto";
import "protoc-gen-openapiv2/options/annotations.proto";
import "validate/validate.proto";

option go_package = "api/managementpb/backup;backupv1";

message StartBackupRequest {
// Service identifier.
string service_id = 1 [(validate.rules).string.min_len = 1];
Expand Down
2 changes: 0 additions & 2 deletions api/managementpb/v1/backup/common.proto
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ package backup.v1;
import "google/protobuf/timestamp.proto";
import "validate/validate.proto";

option go_package = "api/managementpb/backup;backupv1";

// DataModel is a model used for performing a backup.
enum DataModel {
DATA_MODEL_UNSPECIFIED = 0;
Expand Down
2 changes: 0 additions & 2 deletions api/managementpb/v1/backup/errors.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ syntax = "proto3";

package backup.v1;

option go_package = "api/managementpb/backup;backupv1";

// ErrorCode is a set of specific errors that are not present in the standard set of errors
// and returned in the details field of the response.
enum ErrorCode {
Expand Down
2 changes: 0 additions & 2 deletions api/managementpb/v1/backup/locations.proto
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ package backup.v1;
import "google/api/annotations.proto";
import "validate/validate.proto";

option go_package = "api/managementpb/backup;backupv1";

// FilesystemLocationConfig represents file system location config.
message FilesystemLocationConfig {
string path = 1 [(validate.rules).string.min_len = 1];
Expand Down
2 changes: 0 additions & 2 deletions api/managementpb/v1/backup/restores.proto
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ import "google/api/annotations.proto";
import "google/protobuf/timestamp.proto";
import "managementpb/v1/backup/common.proto";

option go_package = "api/managementpb/backup;backupv1";

// RestoreStatus shows the current status of execution of restore.
enum RestoreStatus {
RESTORE_STATUS_UNSPECIFIED = 0;
Expand Down
2 changes: 0 additions & 2 deletions api/managementpb/v1/boolean_flag.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ syntax = "proto3";

package managementpb.v1;

option go_package = "api/managementpb;managementpb";

// BooleanFlag represent a command to set some boolean property to true,
// to false, or avoid changing that property.
enum BooleanFlag {
Expand Down
2 changes: 0 additions & 2 deletions api/managementpb/v1/checks.proto
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ import "managementpb/v1/pagination.proto";
import "managementpb/v1/severity.proto";
import "protoc-gen-openapiv2/options/annotations.proto";

option go_package = "api/managementpb;managementpb";

// SecurityCheckInterval represents possible execution interval values for checks.
enum SecurityCheckInterval {
SECURITY_CHECK_INTERVAL_UNSPECIFIED = 0;
Expand Down
2 changes: 0 additions & 2 deletions api/managementpb/v1/external.proto
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ import "managementpb/v1/service.proto";
import "protoc-gen-openapiv2/options/annotations.proto";
import "validate/validate.proto";

option go_package = "api/managementpb;managementpb";

// Add External

message AddExternalRequest {
Expand Down
2 changes: 0 additions & 2 deletions api/managementpb/v1/haproxy.proto
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ import "managementpb/v1/service.proto";
import "protoc-gen-openapiv2/options/annotations.proto";
import "validate/validate.proto";

option go_package = "api/managementpb;managementpb";

// Add HAProxy

message AddHAProxyRequest {
Expand Down
2 changes: 0 additions & 2 deletions api/managementpb/v1/metrics.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ syntax = "proto3";

package managementpb.v1;

option go_package = "api/managementpb;managementpb";

// MetricsMode defines desired metrics mode for agent,
// it can be pull, push or auto mode chosen by server.
enum MetricsMode {
Expand Down
2 changes: 0 additions & 2 deletions api/managementpb/v1/mongodb.proto
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ import "managementpb/v1/service.proto";
import "protoc-gen-openapiv2/options/annotations.proto";
import "validate/validate.proto";

option go_package = "api/managementpb;managementpb";

// Add MongoDB

message AddMongoDBRequest {
Expand Down
2 changes: 0 additions & 2 deletions api/managementpb/v1/mysql.proto
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ import "managementpb/v1/service.proto";
import "protoc-gen-openapiv2/options/annotations.proto";
import "validate/validate.proto";

option go_package = "api/managementpb;managementpb";

// Add MySQL

message AddMySQLRequest {
Expand Down
2 changes: 0 additions & 2 deletions api/managementpb/v1/node.proto
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ import "managementpb/v1/metrics.proto";
import "protoc-gen-openapiv2/options/annotations.proto";
import "validate/validate.proto";

option go_package = "api/managementpb;managementpb";

message RegisterNodeRequest {
// Node type to be registered.
inventorypb.v1.NodeType node_type = 1;
Expand Down
2 changes: 0 additions & 2 deletions api/managementpb/v1/node/node.proto
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ import "google/protobuf/timestamp.proto";
import "inventorypb/v1/nodes.proto";
import "protoc-gen-openapiv2/options/annotations.proto";

option go_package = "api/managementpb/node;nodev1beta1";

message UniversalNode {
// Node status.
enum Status {
Expand Down
2 changes: 0 additions & 2 deletions api/managementpb/v1/pagination.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ package managementpb.v1;

import "validate/validate.proto";

option go_package = "api/managementpb;managementpb";

// PageParams represents page request parameters for pagination.
message PageParams {
// Maximum number of results per page.
Expand Down
2 changes: 0 additions & 2 deletions api/managementpb/v1/postgresql.proto
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ import "managementpb/v1/service.proto";
import "protoc-gen-openapiv2/options/annotations.proto";
import "validate/validate.proto";

option go_package = "api/managementpb;managementpb";

// Add PostgreSQL

message AddPostgreSQLRequest {
Expand Down
2 changes: 0 additions & 2 deletions api/managementpb/v1/proxysql.proto
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ import "managementpb/v1/service.proto";
import "protoc-gen-openapiv2/options/annotations.proto";
import "validate/validate.proto";

option go_package = "api/managementpb;managementpb";

// Add ProxySQL

message AddProxySQLRequest {
Expand Down
2 changes: 0 additions & 2 deletions api/managementpb/v1/rds.proto
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ import "managementpb/v1/metrics.proto";
import "protoc-gen-openapiv2/options/annotations.proto";
import "validate/validate.proto";

option go_package = "api/managementpb;managementpb";

// DiscoverRDSEngine describes supported RDS instance engines.
enum DiscoverRDSEngine {
DISCOVER_RDS_ENGINE_UNSPECIFIED = 0;
Expand Down
2 changes: 0 additions & 2 deletions api/managementpb/v1/role/role.proto
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ import "google/api/annotations.proto";
import "protoc-gen-openapiv2/options/annotations.proto";
import "validate/validate.proto";

option go_package = "api/managementpb/role;rolev1beta1";

message CreateRoleRequest {
string title = 1 [(validate.rules).string.min_len = 1];
string filter = 2;
Expand Down
2 changes: 0 additions & 2 deletions api/managementpb/v1/service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ import "inventorypb/v1/services.proto";
import "protoc-gen-openapiv2/options/annotations.proto";
import "validate/validate.proto";

option go_package = "api/managementpb;managementpb";

// AddNodeParams holds node params and is used to add new node to inventory while adding new service.
message AddNodeParams {
// Node type to be registered.
Expand Down
2 changes: 0 additions & 2 deletions api/managementpb/v1/service/service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ import "inventorypb/v1/services.proto";
import "managementpb/v1/agent/agent.proto";
import "protoc-gen-openapiv2/options/annotations.proto";

option go_package = "api/managementpb/service;servicev1beta1";

message UniversalService {
// Service status.
enum Status {
Expand Down
2 changes: 0 additions & 2 deletions api/managementpb/v1/severity.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ syntax = "proto3";

package managementpb.v1;

option go_package = "api/managementpb;managementpb";

// Severity represents severity level of the check result or alert.
enum Severity {
SEVERITY_UNSPECIFIED = 0;
Expand Down
1 change: 0 additions & 1 deletion api/platformpb/v1/platform.proto
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import "google/protobuf/wrappers.proto";
import "protoc-gen-openapiv2/options/annotations.proto";
import "validate/validate.proto";

option go_package = "api/platformpb;platformpb";
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = {
info: {title: "Platform API"}
};
Expand Down
2 changes: 0 additions & 2 deletions api/qan/v1beta1/collector.proto
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ package qan.v1beta1;
import "inventorypb/v1/agents.proto";
import "qan/v1beta1/qan.proto";

option go_package = "api/qanpb;qanpb";

// Collector service accepts data from pmm-agent (via pmm-managed).
service CollectorService {
// Collect accepts data from pmm-agent (via pmm-managed).
Expand Down
2 changes: 0 additions & 2 deletions api/qan/v1beta1/filters.proto
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ import "google/api/annotations.proto";
import "google/protobuf/timestamp.proto";
import "qan/v1beta1/qan.proto";

option go_package = "api/qanpb;qanpb";

// Filters serves list of names of metrics.
service FiltersService {
// Get gets map of metrics names.
Expand Down
2 changes: 0 additions & 2 deletions api/qan/v1beta1/metrics_names.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ package qan.v1beta1;

import "google/api/annotations.proto";

option go_package = "api/qanpb;qanpb";

// MetricsNames serves list of names of metrics.
service MetricsNamesService {
// GetMetricsNames gets map of metrics names.
Expand Down
2 changes: 0 additions & 2 deletions api/qan/v1beta1/object_details.proto
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ import "google/api/annotations.proto";
import "google/protobuf/timestamp.proto";
import "qan/v1beta1/qan.proto";

option go_package = "api/qanpb;qanpb";

// ObjectDetails serves agregated metrics filtered by given dimension value and period.
service ObjectDetailsService {
// GetMetrics gets map of metrics for specific filtering.
Expand Down
2 changes: 0 additions & 2 deletions api/qan/v1beta1/profile.proto
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ import "google/api/annotations.proto";
import "google/protobuf/timestamp.proto";
import "qan/v1beta1/qan.proto";

option go_package = "api/qanpb;qanpb";

// Profile of metrics by QueryID, Host etc.
service ProfileService {
// GetReport returns list of metrics group by queryid or other dimentions.
Expand Down
2 changes: 0 additions & 2 deletions api/qan/v1beta1/qan.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ syntax = "proto3";

package qan.v1beta1;

option go_package = "api/qanpb;qanpb";

// ExampleFormat is format of query example: real or query without values.
//
// Deprecated: is not used, should not be used, should be removed.
Expand Down
Loading

0 comments on commit 7a8b6be

Please sign in to comment.