diff --git a/api/agentlocalpb/agentlocal.pb.go b/api/agentlocalpb/agentlocal.pb.go index bdca844b42..965c6098bd 100644 --- a/api/agentlocalpb/agentlocal.pb.go +++ b/api/agentlocalpb/agentlocal.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: agentlocalpb/agentlocal.proto @@ -27,10 +27,7 @@ const ( // ServerInfo contains information about the PMM Server. type ServerInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // PMM Server URL in a form https://HOST:PORT/. Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` // PMM Server's TLS certificate validation should be skipped if true. @@ -42,7 +39,9 @@ type ServerInfo struct { // Ping time from pmm-agent to pmm-managed (if agent is connected). Latency *durationpb.Duration `protobuf:"bytes,5,opt,name=latency,proto3" json:"latency,omitempty"` // Clock drift from PMM Server (if agent is connected). - ClockDrift *durationpb.Duration `protobuf:"bytes,6,opt,name=clock_drift,json=clockDrift,proto3" json:"clock_drift,omitempty"` + ClockDrift *durationpb.Duration `protobuf:"bytes,6,opt,name=clock_drift,json=clockDrift,proto3" json:"clock_drift,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ServerInfo) Reset() { @@ -119,10 +118,7 @@ func (x *ServerInfo) GetClockDrift() *durationpb.Duration { // AgentInfo contains information about Agent managed by pmm-agent. type AgentInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` AgentType inventorypb.AgentType `protobuf:"varint,2,opt,name=agent_type,json=agentType,proto3,enum=inventory.AgentType" json:"agent_type,omitempty"` Status inventorypb.AgentStatus `protobuf:"varint,3,opt,name=status,proto3,enum=inventory.AgentStatus" json:"status,omitempty"` @@ -130,6 +126,8 @@ type AgentInfo struct { // Zero for other Agent types, or if unknown or not yet supported. ListenPort uint32 `protobuf:"varint,4,opt,name=listen_port,json=listenPort,proto3" json:"listen_port,omitempty"` ProcessExecPath string `protobuf:"bytes,5,opt,name=process_exec_path,json=processExecPath,proto3" json:"process_exec_path,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AgentInfo) Reset() { @@ -198,12 +196,11 @@ func (x *AgentInfo) GetProcessExecPath() string { } type StatusRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Returns network info (latency and clock_drift) if true. GetNetworkInfo bool `protobuf:"varint,1,opt,name=get_network_info,json=getNetworkInfo,proto3" json:"get_network_info,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StatusRequest) Reset() { @@ -244,14 +241,11 @@ func (x *StatusRequest) GetGetNetworkInfo() bool { } type StatusResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` - RunsOnNodeId string `protobuf:"bytes,2,opt,name=runs_on_node_id,json=runsOnNodeId,proto3" json:"runs_on_node_id,omitempty"` - ServerInfo *ServerInfo `protobuf:"bytes,3,opt,name=server_info,json=serverInfo,proto3" json:"server_info,omitempty"` - AgentsInfo []*AgentInfo `protobuf:"bytes,4,rep,name=agents_info,json=agentsInfo,proto3" json:"agents_info,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` + RunsOnNodeId string `protobuf:"bytes,2,opt,name=runs_on_node_id,json=runsOnNodeId,proto3" json:"runs_on_node_id,omitempty"` + ServerInfo *ServerInfo `protobuf:"bytes,3,opt,name=server_info,json=serverInfo,proto3" json:"server_info,omitempty"` + AgentsInfo []*AgentInfo `protobuf:"bytes,4,rep,name=agents_info,json=agentsInfo,proto3" json:"agents_info,omitempty"` // Config file path if pmm-agent was started with one. ConfigFilepath string `protobuf:"bytes,5,opt,name=config_filepath,json=configFilepath,proto3" json:"config_filepath,omitempty"` // PMM Agent version. @@ -259,6 +253,8 @@ type StatusResponse struct { NodeName string `protobuf:"bytes,7,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"` // Shows connection uptime in percentage between agent and server ConnectionUptime float32 `protobuf:"fixed32,8,opt,name=connection_uptime,json=connectionUptime,proto3" json:"connection_uptime,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StatusResponse) Reset() { @@ -348,9 +344,9 @@ func (x *StatusResponse) GetConnectionUptime() float32 { } type ReloadRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ReloadRequest) Reset() { @@ -385,9 +381,9 @@ func (*ReloadRequest) Descriptor() ([]byte, []int) { // ReloadRequest may not be received by the client due to pmm-agent restart. type ReloadResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ReloadResponse) Reset() { diff --git a/api/agentpb/agent.pb.go b/api/agentpb/agent.pb.go index b83bb4a580..b67a75ea48 100644 --- a/api/agentpb/agent.pb.go +++ b/api/agentpb/agent.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: agentpb/agent.proto @@ -135,16 +135,15 @@ func (StartActionRequest_RestartSystemServiceParams_SystemService) EnumDescripto // TextFiles contains files which can be used to connect to DB (certificates, keys and etc). type TextFiles struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // files contains files which can be used to connect to DB (certificates, keys and etc). - Files map[string]string `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Files map[string]string `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // template_left_delim is used to replace placeholders in templates (DSN and etc.) with paths to files. TemplateLeftDelim string `protobuf:"bytes,2,opt,name=template_left_delim,json=templateLeftDelim,proto3" json:"template_left_delim,omitempty"` // template_right_delim is used to replace placeholders in templates (DSN and etc.) with paths to files. TemplateRightDelim string `protobuf:"bytes,3,opt,name=template_right_delim,json=templateRightDelim,proto3" json:"template_right_delim,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *TextFiles) Reset() { @@ -200,9 +199,9 @@ func (x *TextFiles) GetTemplateRightDelim() string { // Ping is a AgentMessage/ServerMessage for checking connectivity, latency and clock drift. type Ping struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Ping) Reset() { @@ -237,11 +236,10 @@ func (*Ping) Descriptor() ([]byte, []int) { // Pong is an AgentMessage/ServerMessage with current time for measuring clock drift. type Pong struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + CurrentTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=current_time,json=currentTime,proto3" json:"current_time,omitempty"` unknownFields protoimpl.UnknownFields - - CurrentTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=current_time,json=currentTime,proto3" json:"current_time,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Pong) Reset() { @@ -283,11 +281,10 @@ func (x *Pong) GetCurrentTime() *timestamppb.Timestamp { // QANCollectRequest is an AgentMessage for sending QAN data for qan-api. type QANCollectRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + MetricsBucket []*MetricsBucket `protobuf:"bytes,1,rep,name=metrics_bucket,json=metricsBucket,proto3" json:"metrics_bucket,omitempty"` unknownFields protoimpl.UnknownFields - - MetricsBucket []*MetricsBucket `protobuf:"bytes,1,rep,name=metrics_bucket,json=metricsBucket,proto3" json:"metrics_bucket,omitempty"` + sizeCache protoimpl.SizeCache } func (x *QANCollectRequest) Reset() { @@ -329,9 +326,9 @@ func (x *QANCollectRequest) GetMetricsBucket() []*MetricsBucket { // QANCollectResponse is a ServerMessage for QAN data acceptance. type QANCollectResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *QANCollectResponse) Reset() { @@ -366,15 +363,14 @@ func (*QANCollectResponse) Descriptor() ([]byte, []int) { // StateChangedRequest is an AgentMessage describing actual agent status. type StateChangedRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` Status inventorypb.AgentStatus `protobuf:"varint,2,opt,name=status,proto3,enum=inventory.AgentStatus" json:"status,omitempty"` ListenPort uint32 `protobuf:"varint,3,opt,name=listen_port,json=listenPort,proto3" json:"listen_port,omitempty"` ProcessExecPath string `protobuf:"bytes,4,opt,name=process_exec_path,json=processExecPath,proto3" json:"process_exec_path,omitempty"` Version string `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StateChangedRequest) Reset() { @@ -444,9 +440,9 @@ func (x *StateChangedRequest) GetVersion() string { // StateChangedResponse is a ServerMessage for StateChangedRequest acceptance. type StateChangedResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StateChangedResponse) Reset() { @@ -481,12 +477,11 @@ func (*StateChangedResponse) Descriptor() ([]byte, []int) { // SetStateRequest is a ServerMessage asking pmm-agent to run agents according to desired state. type SetStateRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - AgentProcesses map[string]*SetStateRequest_AgentProcess `protobuf:"bytes,1,rep,name=agent_processes,json=agentProcesses,proto3" json:"agent_processes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - BuiltinAgents map[string]*SetStateRequest_BuiltinAgent `protobuf:"bytes,2,rep,name=builtin_agents,json=builtinAgents,proto3" json:"builtin_agents,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + state protoimpl.MessageState `protogen:"open.v1"` + AgentProcesses map[string]*SetStateRequest_AgentProcess `protobuf:"bytes,1,rep,name=agent_processes,json=agentProcesses,proto3" json:"agent_processes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + BuiltinAgents map[string]*SetStateRequest_BuiltinAgent `protobuf:"bytes,2,rep,name=builtin_agents,json=builtinAgents,proto3" json:"builtin_agents,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SetStateRequest) Reset() { @@ -535,9 +530,9 @@ func (x *SetStateRequest) GetBuiltinAgents() map[string]*SetStateRequest_Builtin // SetStateResponse is an AgentMessage for SetStateRequest acceptance. type SetStateResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SetStateResponse) Reset() { @@ -572,11 +567,8 @@ func (*SetStateResponse) Descriptor() ([]byte, []int) { // QueryActionValue represents a single value used in query Actions. type QueryActionValue struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Kind: + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to Kind: // // *QueryActionValue_Nil // *QueryActionValue_Bool @@ -588,7 +580,9 @@ type QueryActionValue struct { // *QueryActionValue_Slice // *QueryActionValue_Map // *QueryActionValue_Binary - Kind isQueryActionValue_Kind `protobuf_oneof:"kind"` + Kind isQueryActionValue_Kind `protobuf_oneof:"kind"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *QueryActionValue) Reset() { @@ -621,79 +615,99 @@ func (*QueryActionValue) Descriptor() ([]byte, []int) { return file_agentpb_agent_proto_rawDescGZIP(), []int{9} } -func (m *QueryActionValue) GetKind() isQueryActionValue_Kind { - if m != nil { - return m.Kind +func (x *QueryActionValue) GetKind() isQueryActionValue_Kind { + if x != nil { + return x.Kind } return nil } func (x *QueryActionValue) GetNil() bool { - if x, ok := x.GetKind().(*QueryActionValue_Nil); ok { - return x.Nil + if x != nil { + if x, ok := x.Kind.(*QueryActionValue_Nil); ok { + return x.Nil + } } return false } func (x *QueryActionValue) GetBool() bool { - if x, ok := x.GetKind().(*QueryActionValue_Bool); ok { - return x.Bool + if x != nil { + if x, ok := x.Kind.(*QueryActionValue_Bool); ok { + return x.Bool + } } return false } func (x *QueryActionValue) GetInt64() int64 { - if x, ok := x.GetKind().(*QueryActionValue_Int64); ok { - return x.Int64 + if x != nil { + if x, ok := x.Kind.(*QueryActionValue_Int64); ok { + return x.Int64 + } } return 0 } func (x *QueryActionValue) GetUint64() uint64 { - if x, ok := x.GetKind().(*QueryActionValue_Uint64); ok { - return x.Uint64 + if x != nil { + if x, ok := x.Kind.(*QueryActionValue_Uint64); ok { + return x.Uint64 + } } return 0 } func (x *QueryActionValue) GetDouble() float64 { - if x, ok := x.GetKind().(*QueryActionValue_Double); ok { - return x.Double + if x != nil { + if x, ok := x.Kind.(*QueryActionValue_Double); ok { + return x.Double + } } return 0 } func (x *QueryActionValue) GetBytes() []byte { - if x, ok := x.GetKind().(*QueryActionValue_Bytes); ok { - return x.Bytes + if x != nil { + if x, ok := x.Kind.(*QueryActionValue_Bytes); ok { + return x.Bytes + } } return nil } func (x *QueryActionValue) GetTimestamp() *timestamppb.Timestamp { - if x, ok := x.GetKind().(*QueryActionValue_Timestamp); ok { - return x.Timestamp + if x != nil { + if x, ok := x.Kind.(*QueryActionValue_Timestamp); ok { + return x.Timestamp + } } return nil } func (x *QueryActionValue) GetSlice() *QueryActionSlice { - if x, ok := x.GetKind().(*QueryActionValue_Slice); ok { - return x.Slice + if x != nil { + if x, ok := x.Kind.(*QueryActionValue_Slice); ok { + return x.Slice + } } return nil } func (x *QueryActionValue) GetMap() *QueryActionMap { - if x, ok := x.GetKind().(*QueryActionValue_Map); ok { - return x.Map + if x != nil { + if x, ok := x.Kind.(*QueryActionValue_Map); ok { + return x.Map + } } return nil } func (x *QueryActionValue) GetBinary() *QueryActionBinary { - if x, ok := x.GetKind().(*QueryActionValue_Binary); ok { - return x.Binary + if x != nil { + if x, ok := x.Kind.(*QueryActionValue_Binary); ok { + return x.Binary + } } return nil } @@ -764,11 +778,10 @@ func (*QueryActionValue_Binary) isQueryActionValue_Kind() {} // QueryActionSlice represents a slice of values used in query Actions. type QueryActionSlice struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Slice []*QueryActionValue `protobuf:"bytes,1,rep,name=slice,proto3" json:"slice,omitempty"` unknownFields protoimpl.UnknownFields - - Slice []*QueryActionValue `protobuf:"bytes,1,rep,name=slice,proto3" json:"slice,omitempty"` + sizeCache protoimpl.SizeCache } func (x *QueryActionSlice) Reset() { @@ -810,11 +823,10 @@ func (x *QueryActionSlice) GetSlice() []*QueryActionValue { // QueryActionMap represents a map of values used in query Actions. type QueryActionMap struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Map map[string]*QueryActionValue `protobuf:"bytes,1,rep,name=map,proto3" json:"map,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` unknownFields protoimpl.UnknownFields - - Map map[string]*QueryActionValue `protobuf:"bytes,1,rep,name=map,proto3" json:"map,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + sizeCache protoimpl.SizeCache } func (x *QueryActionMap) Reset() { @@ -856,12 +868,11 @@ func (x *QueryActionMap) GetMap() map[string]*QueryActionValue { // QueryActionBinary represents primitive.Binary used in query Actions. type QueryActionBinary struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Subtype int32 `protobuf:"varint,1,opt,name=subtype,proto3" json:"subtype,omitempty"` + Bytes []byte `protobuf:"bytes,2,opt,name=bytes,proto3" json:"bytes,omitempty"` unknownFields protoimpl.UnknownFields - - Subtype int32 `protobuf:"varint,1,opt,name=subtype,proto3" json:"subtype,omitempty"` - Bytes []byte `protobuf:"bytes,2,opt,name=bytes,proto3" json:"bytes,omitempty"` + sizeCache protoimpl.SizeCache } func (x *QueryActionBinary) Reset() { @@ -910,16 +921,15 @@ func (x *QueryActionBinary) GetBytes() []byte { // QueryActionResult represents query Action result. type QueryActionResult struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // SQL result column names. Columns []string `protobuf:"bytes,1,rep,name=columns,proto3" json:"columns,omitempty"` // SQL result data rows. Rows []*QueryActionSlice `protobuf:"bytes,2,rep,name=rows,proto3" json:"rows,omitempty"` // MongoDB documents. - Docs []*QueryActionMap `protobuf:"bytes,3,rep,name=docs,proto3" json:"docs,omitempty"` + Docs []*QueryActionMap `protobuf:"bytes,3,rep,name=docs,proto3" json:"docs,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *QueryActionResult) Reset() { @@ -975,12 +985,9 @@ func (x *QueryActionResult) GetDocs() []*QueryActionMap { // StartActionRequest is a ServerMessage asking pmm-agent to start action. type StartActionRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ActionId string `protobuf:"bytes,1,opt,name=action_id,json=actionId,proto3" json:"action_id,omitempty"` - // Types that are assignable to Params: + state protoimpl.MessageState `protogen:"open.v1"` + ActionId string `protobuf:"bytes,1,opt,name=action_id,json=actionId,proto3" json:"action_id,omitempty"` + // Types that are valid to be assigned to Params: // // *StartActionRequest_MysqlExplainParams // *StartActionRequest_MysqlShowCreateTableParams @@ -1005,7 +1012,9 @@ type StartActionRequest struct { // *StartActionRequest_RestartSysServiceParams Params isStartActionRequest_Params `protobuf_oneof:"params"` // Timeout for the whole action. If zero or absent, pmm-agent will pick one itself. - Timeout *durationpb.Duration `protobuf:"bytes,9,opt,name=timeout,proto3" json:"timeout,omitempty"` + Timeout *durationpb.Duration `protobuf:"bytes,9,opt,name=timeout,proto3" json:"timeout,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartActionRequest) Reset() { @@ -1045,156 +1054,198 @@ func (x *StartActionRequest) GetActionId() string { return "" } -func (m *StartActionRequest) GetParams() isStartActionRequest_Params { - if m != nil { - return m.Params +func (x *StartActionRequest) GetParams() isStartActionRequest_Params { + if x != nil { + return x.Params } return nil } func (x *StartActionRequest) GetMysqlExplainParams() *StartActionRequest_MySQLExplainParams { - if x, ok := x.GetParams().(*StartActionRequest_MysqlExplainParams); ok { - return x.MysqlExplainParams + if x != nil { + if x, ok := x.Params.(*StartActionRequest_MysqlExplainParams); ok { + return x.MysqlExplainParams + } } return nil } func (x *StartActionRequest) GetMysqlShowCreateTableParams() *StartActionRequest_MySQLShowCreateTableParams { - if x, ok := x.GetParams().(*StartActionRequest_MysqlShowCreateTableParams); ok { - return x.MysqlShowCreateTableParams + if x != nil { + if x, ok := x.Params.(*StartActionRequest_MysqlShowCreateTableParams); ok { + return x.MysqlShowCreateTableParams + } } return nil } func (x *StartActionRequest) GetMysqlShowTableStatusParams() *StartActionRequest_MySQLShowTableStatusParams { - if x, ok := x.GetParams().(*StartActionRequest_MysqlShowTableStatusParams); ok { - return x.MysqlShowTableStatusParams + if x != nil { + if x, ok := x.Params.(*StartActionRequest_MysqlShowTableStatusParams); ok { + return x.MysqlShowTableStatusParams + } } return nil } func (x *StartActionRequest) GetMysqlShowIndexParams() *StartActionRequest_MySQLShowIndexParams { - if x, ok := x.GetParams().(*StartActionRequest_MysqlShowIndexParams); ok { - return x.MysqlShowIndexParams + if x != nil { + if x, ok := x.Params.(*StartActionRequest_MysqlShowIndexParams); ok { + return x.MysqlShowIndexParams + } } return nil } func (x *StartActionRequest) GetPostgresqlShowCreateTableParams() *StartActionRequest_PostgreSQLShowCreateTableParams { - if x, ok := x.GetParams().(*StartActionRequest_PostgresqlShowCreateTableParams); ok { - return x.PostgresqlShowCreateTableParams + if x != nil { + if x, ok := x.Params.(*StartActionRequest_PostgresqlShowCreateTableParams); ok { + return x.PostgresqlShowCreateTableParams + } } return nil } func (x *StartActionRequest) GetPostgresqlShowIndexParams() *StartActionRequest_PostgreSQLShowIndexParams { - if x, ok := x.GetParams().(*StartActionRequest_PostgresqlShowIndexParams); ok { - return x.PostgresqlShowIndexParams + if x != nil { + if x, ok := x.Params.(*StartActionRequest_PostgresqlShowIndexParams); ok { + return x.PostgresqlShowIndexParams + } } return nil } func (x *StartActionRequest) GetMongodbExplainParams() *StartActionRequest_MongoDBExplainParams { - if x, ok := x.GetParams().(*StartActionRequest_MongodbExplainParams); ok { - return x.MongodbExplainParams + if x != nil { + if x, ok := x.Params.(*StartActionRequest_MongodbExplainParams); ok { + return x.MongodbExplainParams + } } return nil } func (x *StartActionRequest) GetPtSummaryParams() *StartActionRequest_PTSummaryParams { - if x, ok := x.GetParams().(*StartActionRequest_PtSummaryParams); ok { - return x.PtSummaryParams + if x != nil { + if x, ok := x.Params.(*StartActionRequest_PtSummaryParams); ok { + return x.PtSummaryParams + } } return nil } func (x *StartActionRequest) GetPtPgSummaryParams() *StartActionRequest_PTPgSummaryParams { - if x, ok := x.GetParams().(*StartActionRequest_PtPgSummaryParams); ok { - return x.PtPgSummaryParams + if x != nil { + if x, ok := x.Params.(*StartActionRequest_PtPgSummaryParams); ok { + return x.PtPgSummaryParams + } } return nil } func (x *StartActionRequest) GetPtMongodbSummaryParams() *StartActionRequest_PTMongoDBSummaryParams { - if x, ok := x.GetParams().(*StartActionRequest_PtMongodbSummaryParams); ok { - return x.PtMongodbSummaryParams + if x != nil { + if x, ok := x.Params.(*StartActionRequest_PtMongodbSummaryParams); ok { + return x.PtMongodbSummaryParams + } } return nil } func (x *StartActionRequest) GetPtMysqlSummaryParams() *StartActionRequest_PTMySQLSummaryParams { - if x, ok := x.GetParams().(*StartActionRequest_PtMysqlSummaryParams); ok { - return x.PtMysqlSummaryParams + if x != nil { + if x, ok := x.Params.(*StartActionRequest_PtMysqlSummaryParams); ok { + return x.PtMysqlSummaryParams + } } return nil } func (x *StartActionRequest) GetMysqlQueryShowParams() *StartActionRequest_MySQLQueryShowParams { - if x, ok := x.GetParams().(*StartActionRequest_MysqlQueryShowParams); ok { - return x.MysqlQueryShowParams + if x != nil { + if x, ok := x.Params.(*StartActionRequest_MysqlQueryShowParams); ok { + return x.MysqlQueryShowParams + } } return nil } func (x *StartActionRequest) GetMysqlQuerySelectParams() *StartActionRequest_MySQLQuerySelectParams { - if x, ok := x.GetParams().(*StartActionRequest_MysqlQuerySelectParams); ok { - return x.MysqlQuerySelectParams + if x != nil { + if x, ok := x.Params.(*StartActionRequest_MysqlQuerySelectParams); ok { + return x.MysqlQuerySelectParams + } } return nil } func (x *StartActionRequest) GetPostgresqlQueryShowParams() *StartActionRequest_PostgreSQLQueryShowParams { - if x, ok := x.GetParams().(*StartActionRequest_PostgresqlQueryShowParams); ok { - return x.PostgresqlQueryShowParams + if x != nil { + if x, ok := x.Params.(*StartActionRequest_PostgresqlQueryShowParams); ok { + return x.PostgresqlQueryShowParams + } } return nil } func (x *StartActionRequest) GetPostgresqlQuerySelectParams() *StartActionRequest_PostgreSQLQuerySelectParams { - if x, ok := x.GetParams().(*StartActionRequest_PostgresqlQuerySelectParams); ok { - return x.PostgresqlQuerySelectParams + if x != nil { + if x, ok := x.Params.(*StartActionRequest_PostgresqlQuerySelectParams); ok { + return x.PostgresqlQuerySelectParams + } } return nil } func (x *StartActionRequest) GetMongodbQueryGetparameterParams() *StartActionRequest_MongoDBQueryGetParameterParams { - if x, ok := x.GetParams().(*StartActionRequest_MongodbQueryGetparameterParams); ok { - return x.MongodbQueryGetparameterParams + if x != nil { + if x, ok := x.Params.(*StartActionRequest_MongodbQueryGetparameterParams); ok { + return x.MongodbQueryGetparameterParams + } } return nil } func (x *StartActionRequest) GetMongodbQueryBuildinfoParams() *StartActionRequest_MongoDBQueryBuildInfoParams { - if x, ok := x.GetParams().(*StartActionRequest_MongodbQueryBuildinfoParams); ok { - return x.MongodbQueryBuildinfoParams + if x != nil { + if x, ok := x.Params.(*StartActionRequest_MongodbQueryBuildinfoParams); ok { + return x.MongodbQueryBuildinfoParams + } } return nil } func (x *StartActionRequest) GetMongodbQueryGetcmdlineoptsParams() *StartActionRequest_MongoDBQueryGetCmdLineOptsParams { - if x, ok := x.GetParams().(*StartActionRequest_MongodbQueryGetcmdlineoptsParams); ok { - return x.MongodbQueryGetcmdlineoptsParams + if x != nil { + if x, ok := x.Params.(*StartActionRequest_MongodbQueryGetcmdlineoptsParams); ok { + return x.MongodbQueryGetcmdlineoptsParams + } } return nil } func (x *StartActionRequest) GetMongodbQueryReplsetgetstatusParams() *StartActionRequest_MongoDBQueryReplSetGetStatusParams { - if x, ok := x.GetParams().(*StartActionRequest_MongodbQueryReplsetgetstatusParams); ok { - return x.MongodbQueryReplsetgetstatusParams + if x != nil { + if x, ok := x.Params.(*StartActionRequest_MongodbQueryReplsetgetstatusParams); ok { + return x.MongodbQueryReplsetgetstatusParams + } } return nil } func (x *StartActionRequest) GetMongodbQueryGetdiagnosticdataParams() *StartActionRequest_MongoDBQueryGetDiagnosticDataParams { - if x, ok := x.GetParams().(*StartActionRequest_MongodbQueryGetdiagnosticdataParams); ok { - return x.MongodbQueryGetdiagnosticdataParams + if x != nil { + if x, ok := x.Params.(*StartActionRequest_MongodbQueryGetdiagnosticdataParams); ok { + return x.MongodbQueryGetdiagnosticdataParams + } } return nil } func (x *StartActionRequest) GetRestartSysServiceParams() *StartActionRequest_RestartSystemServiceParams { - if x, ok := x.GetParams().(*StartActionRequest_RestartSysServiceParams); ok { - return x.RestartSysServiceParams + if x != nil { + if x, ok := x.Params.(*StartActionRequest_RestartSysServiceParams); ok { + return x.RestartSysServiceParams + } } return nil } @@ -1338,9 +1389,9 @@ func (*StartActionRequest_RestartSysServiceParams) isStartActionRequest_Params() // StartActionResponse is an AgentMessage for StartActionRequest acceptance. type StartActionResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartActionResponse) Reset() { @@ -1375,11 +1426,10 @@ func (*StartActionResponse) Descriptor() ([]byte, []int) { // StopActionRequest is a ServerMessage asking pmm-agent to stop action. type StopActionRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + ActionId string `protobuf:"bytes,1,opt,name=action_id,json=actionId,proto3" json:"action_id,omitempty"` unknownFields protoimpl.UnknownFields - - ActionId string `protobuf:"bytes,1,opt,name=action_id,json=actionId,proto3" json:"action_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *StopActionRequest) Reset() { @@ -1421,9 +1471,9 @@ func (x *StopActionRequest) GetActionId() string { // StopActionResponse is an AgentMessage for StopActionRequest acceptance. type StopActionResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StopActionResponse) Reset() { @@ -1458,10 +1508,7 @@ func (*StopActionResponse) Descriptor() ([]byte, []int) { // ActionResultRequest is an AgentMessage containing action run status and new chunk of output. type ActionResultRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique action ID. ActionId string `protobuf:"bytes,1,opt,name=action_id,json=actionId,proto3" json:"action_id,omitempty"` // New chunk of action output. @@ -1469,7 +1516,9 @@ type ActionResultRequest struct { // True if action is finished. Done bool `protobuf:"varint,4,opt,name=done,proto3" json:"done,omitempty"` // Error message if action failed. - Error string `protobuf:"bytes,5,opt,name=error,proto3" json:"error,omitempty"` + Error string `protobuf:"bytes,5,opt,name=error,proto3" json:"error,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ActionResultRequest) Reset() { @@ -1532,9 +1581,9 @@ func (x *ActionResultRequest) GetError() string { // ActionResultResponse is an ServerMessage for ActionResultRequest acceptance. type ActionResultResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ActionResultResponse) Reset() { @@ -1569,17 +1618,16 @@ func (*ActionResultResponse) Descriptor() ([]byte, []int) { // PBMSwitchPITRRequest is a ServerMessage asking pmm-agent to switch PITR pbm feature. type PBMSwitchPITRRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // DSN for the MongoDB service. May contain connection (dial) timeout. // May contain placeholders for file paths in DSN. Dsn string `protobuf:"bytes,1,opt,name=dsn,proto3" json:"dsn,omitempty"` // Contains files and their contents which can be used in DSN. TextFiles *TextFiles `protobuf:"bytes,2,opt,name=text_files,json=textFiles,proto3" json:"text_files,omitempty"` // Specifies if PITR should be enabled or disabled. - Enabled bool `protobuf:"varint,3,opt,name=enabled,proto3" json:"enabled,omitempty"` + Enabled bool `protobuf:"varint,3,opt,name=enabled,proto3" json:"enabled,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PBMSwitchPITRRequest) Reset() { @@ -1635,12 +1683,11 @@ func (x *PBMSwitchPITRRequest) GetEnabled() bool { // PBMSwitchPITRResponse is an AgentMessage for PBMSwitchPITRRequest success result. type PBMSwitchPITRResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Error message. - Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` + Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PBMSwitchPITRResponse) Reset() { @@ -1682,12 +1729,11 @@ func (x *PBMSwitchPITRResponse) GetError() string { // AgentLogsRequest is an ServerMessage asking logs by Agent ID. type AgentLogsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` + Limit uint32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` unknownFields protoimpl.UnknownFields - - AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` - Limit uint32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` + sizeCache protoimpl.SizeCache } func (x *AgentLogsRequest) Reset() { @@ -1736,12 +1782,11 @@ func (x *AgentLogsRequest) GetLimit() uint32 { // AgentLogsResponse is an AgentMessage containing logs by Agent ID. type AgentLogsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Logs []string `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"` - AgentConfigLogLinesCount uint32 `protobuf:"varint,2,opt,name=agent_config_log_lines_count,json=agentConfigLogLinesCount,proto3" json:"agent_config_log_lines_count,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Logs []string `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"` + AgentConfigLogLinesCount uint32 `protobuf:"varint,2,opt,name=agent_config_log_lines_count,json=agentConfigLogLinesCount,proto3" json:"agent_config_log_lines_count,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AgentLogsResponse) Reset() { @@ -1790,10 +1835,7 @@ func (x *AgentLogsResponse) GetAgentConfigLogLinesCount() uint32 { // CheckConnectionRequest is a ServerMessage asking pmm-agent to check connection with Service. type CheckConnectionRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Service type. Type inventorypb.ServiceType `protobuf:"varint,1,opt,name=type,proto3,enum=inventory.ServiceType" json:"type,omitempty"` // DSN for the service. May contain connection (dial) timeout. @@ -1804,6 +1846,8 @@ type CheckConnectionRequest struct { TextFiles *TextFiles `protobuf:"bytes,4,opt,name=text_files,json=textFiles,proto3" json:"text_files,omitempty"` // TLS certificate wont be verified. TlsSkipVerify bool `protobuf:"varint,5,opt,name=tls_skip_verify,json=tlsSkipVerify,proto3" json:"tls_skip_verify,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CheckConnectionRequest) Reset() { @@ -1873,14 +1917,13 @@ func (x *CheckConnectionRequest) GetTlsSkipVerify() bool { // CheckConnectionResponse is an AgentMessage containing the result of a connection check. type CheckConnectionResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Error message if connection check failed. Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` // Deprecated: Marked as deprecated in agentpb/agent.proto. - Stats *CheckConnectionResponse_Stats `protobuf:"bytes,2,opt,name=stats,proto3" json:"stats,omitempty"` + Stats *CheckConnectionResponse_Stats `protobuf:"bytes,2,opt,name=stats,proto3" json:"stats,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CheckConnectionResponse) Reset() { @@ -1930,10 +1973,7 @@ func (x *CheckConnectionResponse) GetStats() *CheckConnectionResponse_Stats { // ServiceInfoRequest is a ServerMessage that queries pmm-agent for database information. type ServiceInfoRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Service type. Type inventorypb.ServiceType `protobuf:"varint,1,opt,name=type,proto3,enum=inventory.ServiceType" json:"type,omitempty"` // DSN for the service. May contain connection (dial) timeout. @@ -1944,6 +1984,8 @@ type ServiceInfoRequest struct { TextFiles *TextFiles `protobuf:"bytes,4,opt,name=text_files,json=textFiles,proto3" json:"text_files,omitempty"` // TLS certificate wont be verified. TlsSkipVerify bool `protobuf:"varint,5,opt,name=tls_skip_verify,json=tlsSkipVerify,proto3" json:"tls_skip_verify,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ServiceInfoRequest) Reset() { @@ -2013,10 +2055,7 @@ func (x *ServiceInfoRequest) GetTlsSkipVerify() bool { // ServiceInfoResponse is an AgentMessage containing information gathered from a service. type ServiceInfoResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Error message if the request failed. Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` // A number of MySQL tables, 0 if unknown. @@ -2026,7 +2065,9 @@ type ServiceInfoResponse struct { // A list of PostgreSQL databases. DatabaseList []string `protobuf:"bytes,4,rep,name=database_list,json=databaseList,proto3" json:"database_list,omitempty"` // A version of pg_stat_monitor, empty if unavailable. - PgsmVersion *string `protobuf:"bytes,5,opt,name=pgsm_version,json=pgsmVersion,proto3,oneof" json:"pgsm_version,omitempty"` + PgsmVersion *string `protobuf:"bytes,5,opt,name=pgsm_version,json=pgsmVersion,proto3,oneof" json:"pgsm_version,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ServiceInfoResponse) Reset() { @@ -2096,11 +2137,10 @@ func (x *ServiceInfoResponse) GetPgsmVersion() string { // JobStatusRequest is a ServerMessage asking pmm-agent for job status. type JobStatusRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` unknownFields protoimpl.UnknownFields - - JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *JobStatusRequest) Reset() { @@ -2142,11 +2182,10 @@ func (x *JobStatusRequest) GetJobId() string { // JobStatusResponse is an AgentMessage containing job status. type JobStatusResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Alive bool `protobuf:"varint,1,opt,name=alive,proto3" json:"alive,omitempty"` unknownFields protoimpl.UnknownFields - - Alive bool `protobuf:"varint,1,opt,name=alive,proto3" json:"alive,omitempty"` + sizeCache protoimpl.SizeCache } func (x *JobStatusResponse) Reset() { @@ -2188,15 +2227,14 @@ func (x *JobStatusResponse) GetAlive() bool { // S3LocationConfig represents S3 bucket configuration. type S3LocationConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` + AccessKey string `protobuf:"bytes,2,opt,name=access_key,json=accessKey,proto3" json:"access_key,omitempty"` + SecretKey string `protobuf:"bytes,3,opt,name=secret_key,json=secretKey,proto3" json:"secret_key,omitempty"` + BucketName string `protobuf:"bytes,4,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` + BucketRegion string `protobuf:"bytes,5,opt,name=bucket_region,json=bucketRegion,proto3" json:"bucket_region,omitempty"` unknownFields protoimpl.UnknownFields - - Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` - AccessKey string `protobuf:"bytes,2,opt,name=access_key,json=accessKey,proto3" json:"access_key,omitempty"` - SecretKey string `protobuf:"bytes,3,opt,name=secret_key,json=secretKey,proto3" json:"secret_key,omitempty"` - BucketName string `protobuf:"bytes,4,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` - BucketRegion string `protobuf:"bytes,5,opt,name=bucket_region,json=bucketRegion,proto3" json:"bucket_region,omitempty"` + sizeCache protoimpl.SizeCache } func (x *S3LocationConfig) Reset() { @@ -2266,11 +2304,10 @@ func (x *S3LocationConfig) GetBucketRegion() string { // FilesystemLocationConfig represents path for storing backup artifacts locally. type FilesystemLocationConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` unknownFields protoimpl.UnknownFields - - Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` + sizeCache protoimpl.SizeCache } func (x *FilesystemLocationConfig) Reset() { @@ -2312,20 +2349,19 @@ func (x *FilesystemLocationConfig) GetPath() string { // StartJobRequest is a ServerMessage asking pmm-agent to start job. type StartJobRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` // Timeout for the job. Timeout *durationpb.Duration `protobuf:"bytes,2,opt,name=timeout,proto3" json:"timeout,omitempty"` - // Types that are assignable to Job: + // Types that are valid to be assigned to Job: // // *StartJobRequest_MysqlBackup // *StartJobRequest_MysqlRestoreBackup // *StartJobRequest_MongodbBackup // *StartJobRequest_MongodbRestoreBackup - Job isStartJobRequest_Job `protobuf_oneof:"job"` + Job isStartJobRequest_Job `protobuf_oneof:"job"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartJobRequest) Reset() { @@ -2372,37 +2408,45 @@ func (x *StartJobRequest) GetTimeout() *durationpb.Duration { return nil } -func (m *StartJobRequest) GetJob() isStartJobRequest_Job { - if m != nil { - return m.Job +func (x *StartJobRequest) GetJob() isStartJobRequest_Job { + if x != nil { + return x.Job } return nil } func (x *StartJobRequest) GetMysqlBackup() *StartJobRequest_MySQLBackup { - if x, ok := x.GetJob().(*StartJobRequest_MysqlBackup); ok { - return x.MysqlBackup + if x != nil { + if x, ok := x.Job.(*StartJobRequest_MysqlBackup); ok { + return x.MysqlBackup + } } return nil } func (x *StartJobRequest) GetMysqlRestoreBackup() *StartJobRequest_MySQLRestoreBackup { - if x, ok := x.GetJob().(*StartJobRequest_MysqlRestoreBackup); ok { - return x.MysqlRestoreBackup + if x != nil { + if x, ok := x.Job.(*StartJobRequest_MysqlRestoreBackup); ok { + return x.MysqlRestoreBackup + } } return nil } func (x *StartJobRequest) GetMongodbBackup() *StartJobRequest_MongoDBBackup { - if x, ok := x.GetJob().(*StartJobRequest_MongodbBackup); ok { - return x.MongodbBackup + if x != nil { + if x, ok := x.Job.(*StartJobRequest_MongodbBackup); ok { + return x.MongodbBackup + } } return nil } func (x *StartJobRequest) GetMongodbRestoreBackup() *StartJobRequest_MongoDBRestoreBackup { - if x, ok := x.GetJob().(*StartJobRequest_MongodbRestoreBackup); ok { - return x.MongodbRestoreBackup + if x != nil { + if x, ok := x.Job.(*StartJobRequest_MongodbRestoreBackup); ok { + return x.MongodbRestoreBackup + } } return nil } @@ -2437,11 +2481,10 @@ func (*StartJobRequest_MongodbRestoreBackup) isStartJobRequest_Job() {} // StartJobResponse is an AgentMessage for StartJobRequest acceptance. type StartJobResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` unknownFields protoimpl.UnknownFields - - Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` + sizeCache protoimpl.SizeCache } func (x *StartJobResponse) Reset() { @@ -2483,11 +2526,10 @@ func (x *StartJobResponse) GetError() string { // StopJobRequest is a ServerMessage asking pmm-agent to stop job. type StopJobRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` unknownFields protoimpl.UnknownFields - - JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *StopJobRequest) Reset() { @@ -2529,9 +2571,9 @@ func (x *StopJobRequest) GetJobId() string { // StopJobResponse is an AgentMessage for StopJobRequest acceptance. type StopJobResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StopJobResponse) Reset() { @@ -2566,20 +2608,19 @@ func (*StopJobResponse) Descriptor() ([]byte, []int) { // JobResult represents job result. type JobResult struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` Timestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` - // Types that are assignable to Result: + // Types that are valid to be assigned to Result: // // *JobResult_Error_ // *JobResult_MysqlBackup // *JobResult_MysqlRestoreBackup // *JobResult_MongodbBackup // *JobResult_MongodbRestoreBackup - Result isJobResult_Result `protobuf_oneof:"result"` + Result isJobResult_Result `protobuf_oneof:"result"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *JobResult) Reset() { @@ -2626,44 +2667,54 @@ func (x *JobResult) GetTimestamp() *timestamppb.Timestamp { return nil } -func (m *JobResult) GetResult() isJobResult_Result { - if m != nil { - return m.Result +func (x *JobResult) GetResult() isJobResult_Result { + if x != nil { + return x.Result } return nil } func (x *JobResult) GetError() *JobResult_Error { - if x, ok := x.GetResult().(*JobResult_Error_); ok { - return x.Error + if x != nil { + if x, ok := x.Result.(*JobResult_Error_); ok { + return x.Error + } } return nil } func (x *JobResult) GetMysqlBackup() *JobResult_MySQLBackup { - if x, ok := x.GetResult().(*JobResult_MysqlBackup); ok { - return x.MysqlBackup + if x != nil { + if x, ok := x.Result.(*JobResult_MysqlBackup); ok { + return x.MysqlBackup + } } return nil } func (x *JobResult) GetMysqlRestoreBackup() *JobResult_MySQLRestoreBackup { - if x, ok := x.GetResult().(*JobResult_MysqlRestoreBackup); ok { - return x.MysqlRestoreBackup + if x != nil { + if x, ok := x.Result.(*JobResult_MysqlRestoreBackup); ok { + return x.MysqlRestoreBackup + } } return nil } func (x *JobResult) GetMongodbBackup() *JobResult_MongoDBBackup { - if x, ok := x.GetResult().(*JobResult_MongodbBackup); ok { - return x.MongodbBackup + if x != nil { + if x, ok := x.Result.(*JobResult_MongodbBackup); ok { + return x.MongodbBackup + } } return nil } func (x *JobResult) GetMongodbRestoreBackup() *JobResult_MongoDBRestoreBackup { - if x, ok := x.GetResult().(*JobResult_MongodbRestoreBackup); ok { - return x.MongodbRestoreBackup + if x != nil { + if x, ok := x.Result.(*JobResult_MongodbRestoreBackup); ok { + return x.MongodbRestoreBackup + } } return nil } @@ -2704,18 +2755,17 @@ func (*JobResult_MongodbRestoreBackup) isJobResult_Result() {} // JobProgress represents job progress messages like percentage of completion, status updates, etc. type JobProgress struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` Timestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` - // Types that are assignable to Result: + // Types that are valid to be assigned to Result: // // *JobProgress_MysqlBackup // *JobProgress_MysqlRestoreBackup // *JobProgress_Logs_ - Result isJobProgress_Result `protobuf_oneof:"result"` + Result isJobProgress_Result `protobuf_oneof:"result"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *JobProgress) Reset() { @@ -2762,30 +2812,36 @@ func (x *JobProgress) GetTimestamp() *timestamppb.Timestamp { return nil } -func (m *JobProgress) GetResult() isJobProgress_Result { - if m != nil { - return m.Result +func (x *JobProgress) GetResult() isJobProgress_Result { + if x != nil { + return x.Result } return nil } func (x *JobProgress) GetMysqlBackup() *JobProgress_MySQLBackup { - if x, ok := x.GetResult().(*JobProgress_MysqlBackup); ok { - return x.MysqlBackup + if x != nil { + if x, ok := x.Result.(*JobProgress_MysqlBackup); ok { + return x.MysqlBackup + } } return nil } func (x *JobProgress) GetMysqlRestoreBackup() *JobProgress_MySQLRestoreBackup { - if x, ok := x.GetResult().(*JobProgress_MysqlRestoreBackup); ok { - return x.MysqlRestoreBackup + if x != nil { + if x, ok := x.Result.(*JobProgress_MysqlRestoreBackup); ok { + return x.MysqlRestoreBackup + } } return nil } func (x *JobProgress) GetLogs() *JobProgress_Logs { - if x, ok := x.GetResult().(*JobProgress_Logs_); ok { - return x.Logs + if x != nil { + if x, ok := x.Result.(*JobProgress_Logs_); ok { + return x.Logs + } } return nil } @@ -2814,11 +2870,10 @@ func (*JobProgress_Logs_) isJobProgress_Result() {} // GetVersionsRequest represents a request for version retrieving of different software. type GetVersionsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Softwares []*GetVersionsRequest_Software `protobuf:"bytes,1,rep,name=softwares,proto3" json:"softwares,omitempty"` unknownFields protoimpl.UnknownFields - - Softwares []*GetVersionsRequest_Software `protobuf:"bytes,1,rep,name=softwares,proto3" json:"softwares,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetVersionsRequest) Reset() { @@ -2860,11 +2915,10 @@ func (x *GetVersionsRequest) GetSoftwares() []*GetVersionsRequest_Software { // GetVersionsResponse represents a response containing versions of software in the same order as in the request. type GetVersionsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Versions []*GetVersionsResponse_Version `protobuf:"bytes,1,rep,name=versions,proto3" json:"versions,omitempty"` unknownFields protoimpl.UnknownFields - - Versions []*GetVersionsResponse_Version `protobuf:"bytes,1,rep,name=versions,proto3" json:"versions,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetVersionsResponse) Reset() { @@ -2905,18 +2959,15 @@ func (x *GetVersionsResponse) GetVersions() []*GetVersionsResponse_Version { } type AgentMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // The responder sets the status field in two situations: // 1. When it received a request with the payload field not set. // That means that responded is older than the requester, and doesn't know about newer payload types. // Status code UNIMPLEMENTED (12) is reserved for that case. // 2. When the payload is set, but the request can't be performed due to some error. Status *status.Status `protobuf:"bytes,2047,opt,name=status,proto3" json:"status,omitempty"` - // Types that are assignable to Payload: + // Types that are valid to be assigned to Payload: // // *AgentMessage_Ping // *AgentMessage_StateChanged @@ -2936,7 +2987,9 @@ type AgentMessage struct { // *AgentMessage_PbmSwitchPitr // *AgentMessage_AgentLogs // *AgentMessage_ServiceInfo - Payload isAgentMessage_Payload `protobuf_oneof:"payload"` + Payload isAgentMessage_Payload `protobuf_oneof:"payload"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AgentMessage) Reset() { @@ -2983,135 +3036,171 @@ func (x *AgentMessage) GetStatus() *status.Status { return nil } -func (m *AgentMessage) GetPayload() isAgentMessage_Payload { - if m != nil { - return m.Payload +func (x *AgentMessage) GetPayload() isAgentMessage_Payload { + if x != nil { + return x.Payload } return nil } func (x *AgentMessage) GetPing() *Ping { - if x, ok := x.GetPayload().(*AgentMessage_Ping); ok { - return x.Ping + if x != nil { + if x, ok := x.Payload.(*AgentMessage_Ping); ok { + return x.Ping + } } return nil } func (x *AgentMessage) GetStateChanged() *StateChangedRequest { - if x, ok := x.GetPayload().(*AgentMessage_StateChanged); ok { - return x.StateChanged + if x != nil { + if x, ok := x.Payload.(*AgentMessage_StateChanged); ok { + return x.StateChanged + } } return nil } func (x *AgentMessage) GetQanCollect() *QANCollectRequest { - if x, ok := x.GetPayload().(*AgentMessage_QanCollect); ok { - return x.QanCollect + if x != nil { + if x, ok := x.Payload.(*AgentMessage_QanCollect); ok { + return x.QanCollect + } } return nil } func (x *AgentMessage) GetActionResult() *ActionResultRequest { - if x, ok := x.GetPayload().(*AgentMessage_ActionResult); ok { - return x.ActionResult + if x != nil { + if x, ok := x.Payload.(*AgentMessage_ActionResult); ok { + return x.ActionResult + } } return nil } func (x *AgentMessage) GetJobResult() *JobResult { - if x, ok := x.GetPayload().(*AgentMessage_JobResult); ok { - return x.JobResult + if x != nil { + if x, ok := x.Payload.(*AgentMessage_JobResult); ok { + return x.JobResult + } } return nil } func (x *AgentMessage) GetJobProgress() *JobProgress { - if x, ok := x.GetPayload().(*AgentMessage_JobProgress); ok { - return x.JobProgress + if x != nil { + if x, ok := x.Payload.(*AgentMessage_JobProgress); ok { + return x.JobProgress + } } return nil } func (x *AgentMessage) GetPong() *Pong { - if x, ok := x.GetPayload().(*AgentMessage_Pong); ok { - return x.Pong + if x != nil { + if x, ok := x.Payload.(*AgentMessage_Pong); ok { + return x.Pong + } } return nil } func (x *AgentMessage) GetSetState() *SetStateResponse { - if x, ok := x.GetPayload().(*AgentMessage_SetState); ok { - return x.SetState + if x != nil { + if x, ok := x.Payload.(*AgentMessage_SetState); ok { + return x.SetState + } } return nil } func (x *AgentMessage) GetStartAction() *StartActionResponse { - if x, ok := x.GetPayload().(*AgentMessage_StartAction); ok { - return x.StartAction + if x != nil { + if x, ok := x.Payload.(*AgentMessage_StartAction); ok { + return x.StartAction + } } return nil } func (x *AgentMessage) GetStopAction() *StopActionResponse { - if x, ok := x.GetPayload().(*AgentMessage_StopAction); ok { - return x.StopAction + if x != nil { + if x, ok := x.Payload.(*AgentMessage_StopAction); ok { + return x.StopAction + } } return nil } func (x *AgentMessage) GetCheckConnection() *CheckConnectionResponse { - if x, ok := x.GetPayload().(*AgentMessage_CheckConnection); ok { - return x.CheckConnection + if x != nil { + if x, ok := x.Payload.(*AgentMessage_CheckConnection); ok { + return x.CheckConnection + } } return nil } func (x *AgentMessage) GetStartJob() *StartJobResponse { - if x, ok := x.GetPayload().(*AgentMessage_StartJob); ok { - return x.StartJob + if x != nil { + if x, ok := x.Payload.(*AgentMessage_StartJob); ok { + return x.StartJob + } } return nil } func (x *AgentMessage) GetStopJob() *StopJobResponse { - if x, ok := x.GetPayload().(*AgentMessage_StopJob); ok { - return x.StopJob + if x != nil { + if x, ok := x.Payload.(*AgentMessage_StopJob); ok { + return x.StopJob + } } return nil } func (x *AgentMessage) GetJobStatus() *JobStatusResponse { - if x, ok := x.GetPayload().(*AgentMessage_JobStatus); ok { - return x.JobStatus + if x != nil { + if x, ok := x.Payload.(*AgentMessage_JobStatus); ok { + return x.JobStatus + } } return nil } func (x *AgentMessage) GetGetVersions() *GetVersionsResponse { - if x, ok := x.GetPayload().(*AgentMessage_GetVersions); ok { - return x.GetVersions + if x != nil { + if x, ok := x.Payload.(*AgentMessage_GetVersions); ok { + return x.GetVersions + } } return nil } func (x *AgentMessage) GetPbmSwitchPitr() *PBMSwitchPITRResponse { - if x, ok := x.GetPayload().(*AgentMessage_PbmSwitchPitr); ok { - return x.PbmSwitchPitr + if x != nil { + if x, ok := x.Payload.(*AgentMessage_PbmSwitchPitr); ok { + return x.PbmSwitchPitr + } } return nil } func (x *AgentMessage) GetAgentLogs() *AgentLogsResponse { - if x, ok := x.GetPayload().(*AgentMessage_AgentLogs); ok { - return x.AgentLogs + if x != nil { + if x, ok := x.Payload.(*AgentMessage_AgentLogs); ok { + return x.AgentLogs + } } return nil } func (x *AgentMessage) GetServiceInfo() *ServiceInfoResponse { - if x, ok := x.GetPayload().(*AgentMessage_ServiceInfo); ok { - return x.ServiceInfo + if x != nil { + if x, ok := x.Payload.(*AgentMessage_ServiceInfo); ok { + return x.ServiceInfo + } } return nil } @@ -3231,18 +3320,15 @@ func (*AgentMessage_AgentLogs) isAgentMessage_Payload() {} func (*AgentMessage_ServiceInfo) isAgentMessage_Payload() {} type ServerMessage struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // The responder sets the status field in two situations: // 1. When it received a request with the payload field not set. // That means that responded is older than the requester, and doesn't know about newer payload types. // Status code UNIMPLEMENTED (12) is reserved for that case. // 2. When the payload is set, but the request can't be performed due to some error. Status *status.Status `protobuf:"bytes,2047,opt,name=status,proto3" json:"status,omitempty"` - // Types that are assignable to Payload: + // Types that are valid to be assigned to Payload: // // *ServerMessage_Pong // *ServerMessage_StateChanged @@ -3260,7 +3346,9 @@ type ServerMessage struct { // *ServerMessage_PbmSwitchPitr // *ServerMessage_AgentLogs // *ServerMessage_ServiceInfo - Payload isServerMessage_Payload `protobuf_oneof:"payload"` + Payload isServerMessage_Payload `protobuf_oneof:"payload"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ServerMessage) Reset() { @@ -3307,121 +3395,153 @@ func (x *ServerMessage) GetStatus() *status.Status { return nil } -func (m *ServerMessage) GetPayload() isServerMessage_Payload { - if m != nil { - return m.Payload +func (x *ServerMessage) GetPayload() isServerMessage_Payload { + if x != nil { + return x.Payload } return nil } func (x *ServerMessage) GetPong() *Pong { - if x, ok := x.GetPayload().(*ServerMessage_Pong); ok { - return x.Pong + if x != nil { + if x, ok := x.Payload.(*ServerMessage_Pong); ok { + return x.Pong + } } return nil } func (x *ServerMessage) GetStateChanged() *StateChangedResponse { - if x, ok := x.GetPayload().(*ServerMessage_StateChanged); ok { - return x.StateChanged + if x != nil { + if x, ok := x.Payload.(*ServerMessage_StateChanged); ok { + return x.StateChanged + } } return nil } func (x *ServerMessage) GetQanCollect() *QANCollectResponse { - if x, ok := x.GetPayload().(*ServerMessage_QanCollect); ok { - return x.QanCollect + if x != nil { + if x, ok := x.Payload.(*ServerMessage_QanCollect); ok { + return x.QanCollect + } } return nil } func (x *ServerMessage) GetActionResult() *ActionResultResponse { - if x, ok := x.GetPayload().(*ServerMessage_ActionResult); ok { - return x.ActionResult + if x != nil { + if x, ok := x.Payload.(*ServerMessage_ActionResult); ok { + return x.ActionResult + } } return nil } func (x *ServerMessage) GetPing() *Ping { - if x, ok := x.GetPayload().(*ServerMessage_Ping); ok { - return x.Ping + if x != nil { + if x, ok := x.Payload.(*ServerMessage_Ping); ok { + return x.Ping + } } return nil } func (x *ServerMessage) GetSetState() *SetStateRequest { - if x, ok := x.GetPayload().(*ServerMessage_SetState); ok { - return x.SetState + if x != nil { + if x, ok := x.Payload.(*ServerMessage_SetState); ok { + return x.SetState + } } return nil } func (x *ServerMessage) GetStartAction() *StartActionRequest { - if x, ok := x.GetPayload().(*ServerMessage_StartAction); ok { - return x.StartAction + if x != nil { + if x, ok := x.Payload.(*ServerMessage_StartAction); ok { + return x.StartAction + } } return nil } func (x *ServerMessage) GetStopAction() *StopActionRequest { - if x, ok := x.GetPayload().(*ServerMessage_StopAction); ok { - return x.StopAction + if x != nil { + if x, ok := x.Payload.(*ServerMessage_StopAction); ok { + return x.StopAction + } } return nil } func (x *ServerMessage) GetCheckConnection() *CheckConnectionRequest { - if x, ok := x.GetPayload().(*ServerMessage_CheckConnection); ok { - return x.CheckConnection + if x != nil { + if x, ok := x.Payload.(*ServerMessage_CheckConnection); ok { + return x.CheckConnection + } } return nil } func (x *ServerMessage) GetStartJob() *StartJobRequest { - if x, ok := x.GetPayload().(*ServerMessage_StartJob); ok { - return x.StartJob + if x != nil { + if x, ok := x.Payload.(*ServerMessage_StartJob); ok { + return x.StartJob + } } return nil } func (x *ServerMessage) GetStopJob() *StopJobRequest { - if x, ok := x.GetPayload().(*ServerMessage_StopJob); ok { - return x.StopJob + if x != nil { + if x, ok := x.Payload.(*ServerMessage_StopJob); ok { + return x.StopJob + } } return nil } func (x *ServerMessage) GetJobStatus() *JobStatusRequest { - if x, ok := x.GetPayload().(*ServerMessage_JobStatus); ok { - return x.JobStatus + if x != nil { + if x, ok := x.Payload.(*ServerMessage_JobStatus); ok { + return x.JobStatus + } } return nil } func (x *ServerMessage) GetGetVersions() *GetVersionsRequest { - if x, ok := x.GetPayload().(*ServerMessage_GetVersions); ok { - return x.GetVersions + if x != nil { + if x, ok := x.Payload.(*ServerMessage_GetVersions); ok { + return x.GetVersions + } } return nil } func (x *ServerMessage) GetPbmSwitchPitr() *PBMSwitchPITRRequest { - if x, ok := x.GetPayload().(*ServerMessage_PbmSwitchPitr); ok { - return x.PbmSwitchPitr + if x != nil { + if x, ok := x.Payload.(*ServerMessage_PbmSwitchPitr); ok { + return x.PbmSwitchPitr + } } return nil } func (x *ServerMessage) GetAgentLogs() *AgentLogsRequest { - if x, ok := x.GetPayload().(*ServerMessage_AgentLogs); ok { - return x.AgentLogs + if x != nil { + if x, ok := x.Payload.(*ServerMessage_AgentLogs); ok { + return x.AgentLogs + } } return nil } func (x *ServerMessage) GetServiceInfo() *ServiceInfoRequest { - if x, ok := x.GetPayload().(*ServerMessage_ServiceInfo); ok { - return x.ServiceInfo + if x != nil { + if x, ok := x.Payload.(*ServerMessage_ServiceInfo); ok { + return x.ServiceInfo + } } return nil } @@ -3530,17 +3650,16 @@ func (*ServerMessage_ServiceInfo) isServerMessage_Payload() {} // AgentProcess describes desired configuration of a single agent process started by pmm-agent. type SetStateRequest_AgentProcess struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Type inventorypb.AgentType `protobuf:"varint,1,opt,name=type,proto3,enum=inventory.AgentType" json:"type,omitempty"` - TemplateLeftDelim string `protobuf:"bytes,2,opt,name=template_left_delim,json=templateLeftDelim,proto3" json:"template_left_delim,omitempty"` - TemplateRightDelim string `protobuf:"bytes,3,opt,name=template_right_delim,json=templateRightDelim,proto3" json:"template_right_delim,omitempty"` - Args []string `protobuf:"bytes,4,rep,name=args,proto3" json:"args,omitempty"` - Env []string `protobuf:"bytes,5,rep,name=env,proto3" json:"env,omitempty"` - TextFiles map[string]string `protobuf:"bytes,6,rep,name=text_files,json=textFiles,proto3" json:"text_files,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - RedactWords []string `protobuf:"bytes,7,rep,name=redact_words,json=redactWords,proto3" json:"redact_words,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Type inventorypb.AgentType `protobuf:"varint,1,opt,name=type,proto3,enum=inventory.AgentType" json:"type,omitempty"` + TemplateLeftDelim string `protobuf:"bytes,2,opt,name=template_left_delim,json=templateLeftDelim,proto3" json:"template_left_delim,omitempty"` + TemplateRightDelim string `protobuf:"bytes,3,opt,name=template_right_delim,json=templateRightDelim,proto3" json:"template_right_delim,omitempty"` + Args []string `protobuf:"bytes,4,rep,name=args,proto3" json:"args,omitempty"` + Env []string `protobuf:"bytes,5,rep,name=env,proto3" json:"env,omitempty"` + TextFiles map[string]string `protobuf:"bytes,6,rep,name=text_files,json=textFiles,proto3" json:"text_files,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + RedactWords []string `protobuf:"bytes,7,rep,name=redact_words,json=redactWords,proto3" json:"redact_words,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SetStateRequest_AgentProcess) Reset() { @@ -3624,12 +3743,9 @@ func (x *SetStateRequest_AgentProcess) GetRedactWords() []string { // BuiltinAgent describes desired configuration of a single built-in agent for pmm-agent. type SetStateRequest_BuiltinAgent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Type inventorypb.AgentType `protobuf:"varint,1,opt,name=type,proto3,enum=inventory.AgentType" json:"type,omitempty"` - Dsn string `protobuf:"bytes,2,opt,name=dsn,proto3" json:"dsn,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Type inventorypb.AgentType `protobuf:"varint,1,opt,name=type,proto3,enum=inventory.AgentType" json:"type,omitempty"` + Dsn string `protobuf:"bytes,2,opt,name=dsn,proto3" json:"dsn,omitempty"` // Limit query length in QAN (default: server-defined; -1: no limit). MaxQueryLength int32 `protobuf:"varint,8,opt,name=max_query_length,json=maxQueryLength,proto3" json:"max_query_length,omitempty"` // Disable parsing comments from queries and showing them in QAN. @@ -3644,6 +3760,8 @@ type SetStateRequest_BuiltinAgent struct { Tls bool `protobuf:"varint,6,opt,name=tls,proto3" json:"tls,omitempty"` // TLS certificate wont be verified. TlsSkipVerify bool `protobuf:"varint,7,opt,name=tls_skip_verify,json=tlsSkipVerify,proto3" json:"tls_skip_verify,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SetStateRequest_BuiltinAgent) Reset() { @@ -3741,10 +3859,7 @@ func (x *SetStateRequest_BuiltinAgent) GetTlsSkipVerify() bool { // MySQLExplainParams describes MySQL EXPLAIN action parameters. type StartActionRequest_MySQLExplainParams struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // DSN for the service. May contain connection (dial) timeout. Dsn string `protobuf:"bytes,1,opt,name=dsn,proto3" json:"dsn,omitempty"` Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` @@ -3755,6 +3870,8 @@ type StartActionRequest_MySQLExplainParams struct { TlsFiles *TextFiles `protobuf:"bytes,4,opt,name=tls_files,json=tlsFiles,proto3" json:"tls_files,omitempty"` // TLS certificate wont be verified. TlsSkipVerify bool `protobuf:"varint,5,opt,name=tls_skip_verify,json=tlsSkipVerify,proto3" json:"tls_skip_verify,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartActionRequest_MySQLExplainParams) Reset() { @@ -3838,10 +3955,7 @@ func (x *StartActionRequest_MySQLExplainParams) GetTlsSkipVerify() bool { // MySQLShowCreateTableParams describes MySQL SHOW CREATE TABLE action parameters. type StartActionRequest_MySQLShowCreateTableParams struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // DSN for the service. May contain connection (dial) timeout. Dsn string `protobuf:"bytes,1,opt,name=dsn,proto3" json:"dsn,omitempty"` Table string `protobuf:"bytes,2,opt,name=table,proto3" json:"table,omitempty"` @@ -3849,6 +3963,8 @@ type StartActionRequest_MySQLShowCreateTableParams struct { TlsFiles *TextFiles `protobuf:"bytes,3,opt,name=tls_files,json=tlsFiles,proto3" json:"tls_files,omitempty"` // TLS certificate wont be verified. TlsSkipVerify bool `protobuf:"varint,4,opt,name=tls_skip_verify,json=tlsSkipVerify,proto3" json:"tls_skip_verify,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartActionRequest_MySQLShowCreateTableParams) Reset() { @@ -3911,10 +4027,7 @@ func (x *StartActionRequest_MySQLShowCreateTableParams) GetTlsSkipVerify() bool // MySQLShowTableStatusParams describes MySQL SHOW TABLE STATUS action parameters. type StartActionRequest_MySQLShowTableStatusParams struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // DSN for the service. May contain connection (dial) timeout. Dsn string `protobuf:"bytes,1,opt,name=dsn,proto3" json:"dsn,omitempty"` Table string `protobuf:"bytes,2,opt,name=table,proto3" json:"table,omitempty"` @@ -3922,6 +4035,8 @@ type StartActionRequest_MySQLShowTableStatusParams struct { TlsFiles *TextFiles `protobuf:"bytes,3,opt,name=tls_files,json=tlsFiles,proto3" json:"tls_files,omitempty"` // TLS certificate wont be verified. TlsSkipVerify bool `protobuf:"varint,4,opt,name=tls_skip_verify,json=tlsSkipVerify,proto3" json:"tls_skip_verify,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartActionRequest_MySQLShowTableStatusParams) Reset() { @@ -3984,10 +4099,7 @@ func (x *StartActionRequest_MySQLShowTableStatusParams) GetTlsSkipVerify() bool // MySQLShowIndexParams describes MySQL SHOW INDEX action parameters. type StartActionRequest_MySQLShowIndexParams struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // DSN for the service. May contain connection (dial) timeout. Dsn string `protobuf:"bytes,1,opt,name=dsn,proto3" json:"dsn,omitempty"` Table string `protobuf:"bytes,2,opt,name=table,proto3" json:"table,omitempty"` @@ -3995,6 +4107,8 @@ type StartActionRequest_MySQLShowIndexParams struct { TlsFiles *TextFiles `protobuf:"bytes,3,opt,name=tls_files,json=tlsFiles,proto3" json:"tls_files,omitempty"` // TLS certificate wont be verified. TlsSkipVerify bool `protobuf:"varint,4,opt,name=tls_skip_verify,json=tlsSkipVerify,proto3" json:"tls_skip_verify,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartActionRequest_MySQLShowIndexParams) Reset() { @@ -4057,10 +4171,7 @@ func (x *StartActionRequest_MySQLShowIndexParams) GetTlsSkipVerify() bool { // PostgreSQLShowCreateTableParams describes PostgreSQL SHOW CREATE TABLE action parameters. type StartActionRequest_PostgreSQLShowCreateTableParams struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // DSN for the service. May contain connection (dial) timeout. Dsn string `protobuf:"bytes,1,opt,name=dsn,proto3" json:"dsn,omitempty"` Table string `protobuf:"bytes,2,opt,name=table,proto3" json:"table,omitempty"` @@ -4068,6 +4179,8 @@ type StartActionRequest_PostgreSQLShowCreateTableParams struct { TlsFiles *TextFiles `protobuf:"bytes,3,opt,name=tls_files,json=tlsFiles,proto3" json:"tls_files,omitempty"` // TLS certificate wont be verified. TlsSkipVerify bool `protobuf:"varint,4,opt,name=tls_skip_verify,json=tlsSkipVerify,proto3" json:"tls_skip_verify,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartActionRequest_PostgreSQLShowCreateTableParams) Reset() { @@ -4130,10 +4243,7 @@ func (x *StartActionRequest_PostgreSQLShowCreateTableParams) GetTlsSkipVerify() // PostgreSQLShowIndexParams describes PostgreSQL SHOW INDEX action parameters. type StartActionRequest_PostgreSQLShowIndexParams struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // DSN for the service. May contain connection (dial) timeout. Dsn string `protobuf:"bytes,1,opt,name=dsn,proto3" json:"dsn,omitempty"` Table string `protobuf:"bytes,2,opt,name=table,proto3" json:"table,omitempty"` @@ -4141,6 +4251,8 @@ type StartActionRequest_PostgreSQLShowIndexParams struct { TlsFiles *TextFiles `protobuf:"bytes,3,opt,name=tls_files,json=tlsFiles,proto3" json:"tls_files,omitempty"` // TLS certificate wont be verified. TlsSkipVerify bool `protobuf:"varint,4,opt,name=tls_skip_verify,json=tlsSkipVerify,proto3" json:"tls_skip_verify,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartActionRequest_PostgreSQLShowIndexParams) Reset() { @@ -4203,16 +4315,15 @@ func (x *StartActionRequest_PostgreSQLShowIndexParams) GetTlsSkipVerify() bool { // MongoDBExplainParams describes MongoDB EXPLAIN action parameters. type StartActionRequest_MongoDBExplainParams struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // DSN for the service. May contain connection (dial) timeout. // May contain placeholders for file paths in DSN. Dsn string `protobuf:"bytes,1,opt,name=dsn,proto3" json:"dsn,omitempty"` Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` // Contains files and their contents which can be used in DSN. - TextFiles *TextFiles `protobuf:"bytes,3,opt,name=text_files,json=textFiles,proto3" json:"text_files,omitempty"` + TextFiles *TextFiles `protobuf:"bytes,3,opt,name=text_files,json=textFiles,proto3" json:"text_files,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartActionRequest_MongoDBExplainParams) Reset() { @@ -4268,9 +4379,9 @@ func (x *StartActionRequest_MongoDBExplainParams) GetTextFiles() *TextFiles { // PTSummaryParams describes parameters for PT summary. type StartActionRequest_PTSummaryParams struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartActionRequest_PTSummaryParams) Reset() { @@ -4305,14 +4416,13 @@ func (*StartActionRequest_PTSummaryParams) Descriptor() ([]byte, []int) { // PTPgSummaryParams describes parameters for PT PG summary. type StartActionRequest_PTPgSummaryParams struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` + Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` + Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` + Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` unknownFields protoimpl.UnknownFields - - Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` - Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` - Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` - Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` + sizeCache protoimpl.SizeCache } func (x *StartActionRequest_PTPgSummaryParams) Reset() { @@ -4375,14 +4485,13 @@ func (x *StartActionRequest_PTPgSummaryParams) GetPassword() string { // PTMongoDBSummaryParams describes parameters for PT MongoDB summary. type StartActionRequest_PTMongoDBSummaryParams struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` + Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` + Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` + Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` unknownFields protoimpl.UnknownFields - - Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` - Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` - Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` - Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` + sizeCache protoimpl.SizeCache } func (x *StartActionRequest_PTMongoDBSummaryParams) Reset() { @@ -4445,15 +4554,14 @@ func (x *StartActionRequest_PTMongoDBSummaryParams) GetPassword() string { // PTMySQLSummaryParams describes parameters for PT MySQL summary. type StartActionRequest_PTMySQLSummaryParams struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` + Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` + Socket string `protobuf:"bytes,3,opt,name=socket,proto3" json:"socket,omitempty"` + Username string `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"` + Password string `protobuf:"bytes,5,opt,name=password,proto3" json:"password,omitempty"` unknownFields protoimpl.UnknownFields - - Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"` - Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` - Socket string `protobuf:"bytes,3,opt,name=socket,proto3" json:"socket,omitempty"` - Username string `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"` - Password string `protobuf:"bytes,5,opt,name=password,proto3" json:"password,omitempty"` + sizeCache protoimpl.SizeCache } func (x *StartActionRequest_PTMySQLSummaryParams) Reset() { @@ -4523,10 +4631,7 @@ func (x *StartActionRequest_PTMySQLSummaryParams) GetPassword() string { // MySQLQueryShowParams describes MySQL SHOW query action parameters. type StartActionRequest_MySQLQueryShowParams struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // DSN for the service. May contain connection (dial) timeout. Dsn string `protobuf:"bytes,1,opt,name=dsn,proto3" json:"dsn,omitempty"` // Query suffix (without leading SHOW). @@ -4535,6 +4640,8 @@ type StartActionRequest_MySQLQueryShowParams struct { TlsFiles *TextFiles `protobuf:"bytes,3,opt,name=tls_files,json=tlsFiles,proto3" json:"tls_files,omitempty"` // TLS certificate wont be verified. TlsSkipVerify bool `protobuf:"varint,4,opt,name=tls_skip_verify,json=tlsSkipVerify,proto3" json:"tls_skip_verify,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartActionRequest_MySQLQueryShowParams) Reset() { @@ -4597,10 +4704,7 @@ func (x *StartActionRequest_MySQLQueryShowParams) GetTlsSkipVerify() bool { // MySQLQuerySelectParams describes MySQL SELECT query action parameters. type StartActionRequest_MySQLQuerySelectParams struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // DSN for the service. May contain connection (dial) timeout. Dsn string `protobuf:"bytes,1,opt,name=dsn,proto3" json:"dsn,omitempty"` // Query suffix (without leading SELECT). @@ -4609,6 +4713,8 @@ type StartActionRequest_MySQLQuerySelectParams struct { TlsFiles *TextFiles `protobuf:"bytes,3,opt,name=tls_files,json=tlsFiles,proto3" json:"tls_files,omitempty"` // TLS certificate wont be verified. TlsSkipVerify bool `protobuf:"varint,4,opt,name=tls_skip_verify,json=tlsSkipVerify,proto3" json:"tls_skip_verify,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartActionRequest_MySQLQuerySelectParams) Reset() { @@ -4671,16 +4777,15 @@ func (x *StartActionRequest_MySQLQuerySelectParams) GetTlsSkipVerify() bool { // PostgreSQLQueryShowParams describes PostgreSQL SHOW query action parameters. type StartActionRequest_PostgreSQLQueryShowParams struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // DSN for the service. May contain connection (dial) timeout. Dsn string `protobuf:"bytes,1,opt,name=dsn,proto3" json:"dsn,omitempty"` // Contains files and their contents which can be used in DSN. TlsFiles *TextFiles `protobuf:"bytes,2,opt,name=tls_files,json=tlsFiles,proto3" json:"tls_files,omitempty"` // TLS certificate wont be verified. TlsSkipVerify bool `protobuf:"varint,3,opt,name=tls_skip_verify,json=tlsSkipVerify,proto3" json:"tls_skip_verify,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartActionRequest_PostgreSQLQueryShowParams) Reset() { @@ -4736,10 +4841,7 @@ func (x *StartActionRequest_PostgreSQLQueryShowParams) GetTlsSkipVerify() bool { // PostgreSQLQuerySelectParams describes PostgreSQL SELECT query action parameters. type StartActionRequest_PostgreSQLQuerySelectParams struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // DSN for the service. May contain connection (dial) timeout. Dsn string `protobuf:"bytes,1,opt,name=dsn,proto3" json:"dsn,omitempty"` // Query suffix (without leading SELECT). @@ -4748,6 +4850,8 @@ type StartActionRequest_PostgreSQLQuerySelectParams struct { TlsFiles *TextFiles `protobuf:"bytes,3,opt,name=tls_files,json=tlsFiles,proto3" json:"tls_files,omitempty"` // TLS certificate wont be verified. TlsSkipVerify bool `protobuf:"varint,4,opt,name=tls_skip_verify,json=tlsSkipVerify,proto3" json:"tls_skip_verify,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartActionRequest_PostgreSQLQuerySelectParams) Reset() { @@ -4810,15 +4914,14 @@ func (x *StartActionRequest_PostgreSQLQuerySelectParams) GetTlsSkipVerify() bool // MongoDBQueryGetParameterParams describes MongoDB getParameter query action parameters. type StartActionRequest_MongoDBQueryGetParameterParams struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // DSN for the service. May contain connection (dial) timeout. // May contain placeholders for file paths in DSN. Dsn string `protobuf:"bytes,1,opt,name=dsn,proto3" json:"dsn,omitempty"` // Contains files and their contents which can be used in DSN. - TextFiles *TextFiles `protobuf:"bytes,2,opt,name=text_files,json=textFiles,proto3" json:"text_files,omitempty"` + TextFiles *TextFiles `protobuf:"bytes,2,opt,name=text_files,json=textFiles,proto3" json:"text_files,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartActionRequest_MongoDBQueryGetParameterParams) Reset() { @@ -4867,15 +4970,14 @@ func (x *StartActionRequest_MongoDBQueryGetParameterParams) GetTextFiles() *Text // MongoDBQueryBuildInfoParams describes MongoDB buildInfo query action parameters. type StartActionRequest_MongoDBQueryBuildInfoParams struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // DSN for the service. May contain connection (dial) timeout. // May contain placeholders for file paths in DSN. Dsn string `protobuf:"bytes,1,opt,name=dsn,proto3" json:"dsn,omitempty"` // Contains files and their contents which can be used in DSN. - TextFiles *TextFiles `protobuf:"bytes,2,opt,name=text_files,json=textFiles,proto3" json:"text_files,omitempty"` + TextFiles *TextFiles `protobuf:"bytes,2,opt,name=text_files,json=textFiles,proto3" json:"text_files,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartActionRequest_MongoDBQueryBuildInfoParams) Reset() { @@ -4924,15 +5026,14 @@ func (x *StartActionRequest_MongoDBQueryBuildInfoParams) GetTextFiles() *TextFil // MongoDBQueryGetCmdLineOptsParams describes MongoDB getCmdLineOpts query action parameters. type StartActionRequest_MongoDBQueryGetCmdLineOptsParams struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // DSN for the service. May contain connection (dial) timeout. // May contain placeholders for file paths in DSN. Dsn string `protobuf:"bytes,1,opt,name=dsn,proto3" json:"dsn,omitempty"` // Contains files and their contents which can be used in DSN. - TextFiles *TextFiles `protobuf:"bytes,2,opt,name=text_files,json=textFiles,proto3" json:"text_files,omitempty"` + TextFiles *TextFiles `protobuf:"bytes,2,opt,name=text_files,json=textFiles,proto3" json:"text_files,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartActionRequest_MongoDBQueryGetCmdLineOptsParams) Reset() { @@ -4981,15 +5082,14 @@ func (x *StartActionRequest_MongoDBQueryGetCmdLineOptsParams) GetTextFiles() *Te // MongoDBQueryReplSetGetStatusParams describes MongoDB replSetGetStatus query action parameters. type StartActionRequest_MongoDBQueryReplSetGetStatusParams struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // DSN for the service. May contain connection (dial) timeout. // May contain placeholders for file paths in DSN. Dsn string `protobuf:"bytes,1,opt,name=dsn,proto3" json:"dsn,omitempty"` // Contains files and their contents which can be used in DSN. - TextFiles *TextFiles `protobuf:"bytes,2,opt,name=text_files,json=textFiles,proto3" json:"text_files,omitempty"` + TextFiles *TextFiles `protobuf:"bytes,2,opt,name=text_files,json=textFiles,proto3" json:"text_files,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartActionRequest_MongoDBQueryReplSetGetStatusParams) Reset() { @@ -5038,15 +5138,14 @@ func (x *StartActionRequest_MongoDBQueryReplSetGetStatusParams) GetTextFiles() * // MongoDBQueryGetDiagnosticDataParams describes MongoDB getDiagnosticData query action parameters. type StartActionRequest_MongoDBQueryGetDiagnosticDataParams struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // DSN for the service. May contain connection (dial) timeout. // May contain placeholders for file paths in DSN. Dsn string `protobuf:"bytes,1,opt,name=dsn,proto3" json:"dsn,omitempty"` // Contains files and their contents which can be used in DSN. - TextFiles *TextFiles `protobuf:"bytes,2,opt,name=text_files,json=textFiles,proto3" json:"text_files,omitempty"` + TextFiles *TextFiles `protobuf:"bytes,2,opt,name=text_files,json=textFiles,proto3" json:"text_files,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartActionRequest_MongoDBQueryGetDiagnosticDataParams) Reset() { @@ -5095,11 +5194,10 @@ func (x *StartActionRequest_MongoDBQueryGetDiagnosticDataParams) GetTextFiles() // RestartSystemServiceParams describes an action request to restart a systemctl service on a node. type StartActionRequest_RestartSystemServiceParams struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` SystemService StartActionRequest_RestartSystemServiceParams_SystemService `protobuf:"varint,1,opt,name=system_service,json=systemService,proto3,enum=agent.StartActionRequest_RestartSystemServiceParams_SystemService" json:"system_service,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartActionRequest_RestartSystemServiceParams) Reset() { @@ -5141,12 +5239,11 @@ func (x *StartActionRequest_RestartSystemServiceParams) GetSystemService() Start // Stats contains various Service statistics. type CheckConnectionResponse_Stats struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // A number of tables, 0 if unknown. - TableCount int32 `protobuf:"varint,1,opt,name=table_count,json=tableCount,proto3" json:"table_count,omitempty"` + TableCount int32 `protobuf:"varint,1,opt,name=table_count,json=tableCount,proto3" json:"table_count,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CheckConnectionResponse_Stats) Reset() { @@ -5188,10 +5285,7 @@ func (x *CheckConnectionResponse_Stats) GetTableCount() int32 { // MySQLBackup is job for backup MySQL service. type StartJobRequest_MySQLBackup struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Database user; User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // Database password. @@ -5206,12 +5300,14 @@ type StartJobRequest_MySQLBackup struct { Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` // Backup target location. // - // Types that are assignable to LocationConfig: + // Types that are valid to be assigned to LocationConfig: // // *StartJobRequest_MySQLBackup_S3Config LocationConfig isStartJobRequest_MySQLBackup_LocationConfig `protobuf_oneof:"location_config"` // Folder to store artifact on a storage. - Folder string `protobuf:"bytes,12,opt,name=folder,proto3" json:"folder,omitempty"` + Folder string `protobuf:"bytes,12,opt,name=folder,proto3" json:"folder,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartJobRequest_MySQLBackup) Reset() { @@ -5286,16 +5382,18 @@ func (x *StartJobRequest_MySQLBackup) GetName() string { return "" } -func (m *StartJobRequest_MySQLBackup) GetLocationConfig() isStartJobRequest_MySQLBackup_LocationConfig { - if m != nil { - return m.LocationConfig +func (x *StartJobRequest_MySQLBackup) GetLocationConfig() isStartJobRequest_MySQLBackup_LocationConfig { + if x != nil { + return x.LocationConfig } return nil } func (x *StartJobRequest_MySQLBackup) GetS3Config() *S3LocationConfig { - if x, ok := x.GetLocationConfig().(*StartJobRequest_MySQLBackup_S3Config); ok { - return x.S3Config + if x != nil { + if x, ok := x.LocationConfig.(*StartJobRequest_MySQLBackup_S3Config); ok { + return x.S3Config + } } return nil } @@ -5319,22 +5417,21 @@ func (*StartJobRequest_MySQLBackup_S3Config) isStartJobRequest_MySQLBackup_Locat // MySQLRestoreBackup is job for MySQL restore backup service. type StartJobRequest_MySQLRestoreBackup struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Service identifier where the backup should be restored. ServiceId string `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` // Backup name. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Where backup is stored. // - // Types that are assignable to LocationConfig: + // Types that are valid to be assigned to LocationConfig: // // *StartJobRequest_MySQLRestoreBackup_S3Config LocationConfig isStartJobRequest_MySQLRestoreBackup_LocationConfig `protobuf_oneof:"location_config"` // Folder to store artifact on a storage. - Folder string `protobuf:"bytes,12,opt,name=folder,proto3" json:"folder,omitempty"` + Folder string `protobuf:"bytes,12,opt,name=folder,proto3" json:"folder,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartJobRequest_MySQLRestoreBackup) Reset() { @@ -5381,16 +5478,18 @@ func (x *StartJobRequest_MySQLRestoreBackup) GetName() string { return "" } -func (m *StartJobRequest_MySQLRestoreBackup) GetLocationConfig() isStartJobRequest_MySQLRestoreBackup_LocationConfig { - if m != nil { - return m.LocationConfig +func (x *StartJobRequest_MySQLRestoreBackup) GetLocationConfig() isStartJobRequest_MySQLRestoreBackup_LocationConfig { + if x != nil { + return x.LocationConfig } return nil } func (x *StartJobRequest_MySQLRestoreBackup) GetS3Config() *S3LocationConfig { - if x, ok := x.GetLocationConfig().(*StartJobRequest_MySQLRestoreBackup_S3Config); ok { - return x.S3Config + if x != nil { + if x, ok := x.LocationConfig.(*StartJobRequest_MySQLRestoreBackup_S3Config); ok { + return x.S3Config + } } return nil } @@ -5415,10 +5514,7 @@ func (*StartJobRequest_MySQLRestoreBackup_S3Config) isStartJobRequest_MySQLResto // MongoDBBackup is job for backup MongoDB service. type StartJobRequest_MongoDBBackup struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Database user; // // Deprecated: Marked as deprecated in agentpb/agent.proto. @@ -5447,7 +5543,7 @@ type StartJobRequest_MongoDBBackup struct { DataModel backup.DataModel `protobuf:"varint,8,opt,name=data_model,json=dataModel,proto3,enum=backup.v1.DataModel" json:"data_model,omitempty"` // Backup target location. // - // Types that are assignable to LocationConfig: + // Types that are valid to be assigned to LocationConfig: // // *StartJobRequest_MongoDBBackup_S3Config // *StartJobRequest_MongoDBBackup_FilesystemConfig @@ -5458,7 +5554,9 @@ type StartJobRequest_MongoDBBackup struct { // May contain placeholders for file paths in DSN. Dsn string `protobuf:"bytes,13,opt,name=dsn,proto3" json:"dsn,omitempty"` // Contains files and their contents which can be used in DSN. - TextFiles *TextFiles `protobuf:"bytes,14,opt,name=text_files,json=textFiles,proto3" json:"text_files,omitempty"` + TextFiles *TextFiles `protobuf:"bytes,14,opt,name=text_files,json=textFiles,proto3" json:"text_files,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartJobRequest_MongoDBBackup) Reset() { @@ -5552,23 +5650,27 @@ func (x *StartJobRequest_MongoDBBackup) GetDataModel() backup.DataModel { return backup.DataModel(0) } -func (m *StartJobRequest_MongoDBBackup) GetLocationConfig() isStartJobRequest_MongoDBBackup_LocationConfig { - if m != nil { - return m.LocationConfig +func (x *StartJobRequest_MongoDBBackup) GetLocationConfig() isStartJobRequest_MongoDBBackup_LocationConfig { + if x != nil { + return x.LocationConfig } return nil } func (x *StartJobRequest_MongoDBBackup) GetS3Config() *S3LocationConfig { - if x, ok := x.GetLocationConfig().(*StartJobRequest_MongoDBBackup_S3Config); ok { - return x.S3Config + if x != nil { + if x, ok := x.LocationConfig.(*StartJobRequest_MongoDBBackup_S3Config); ok { + return x.S3Config + } } return nil } func (x *StartJobRequest_MongoDBBackup) GetFilesystemConfig() *FilesystemLocationConfig { - if x, ok := x.GetLocationConfig().(*StartJobRequest_MongoDBBackup_FilesystemConfig); ok { - return x.FilesystemConfig + if x != nil { + if x, ok := x.LocationConfig.(*StartJobRequest_MongoDBBackup_FilesystemConfig); ok { + return x.FilesystemConfig + } } return nil } @@ -5613,10 +5715,7 @@ func (*StartJobRequest_MongoDBBackup_FilesystemConfig) isStartJobRequest_MongoDB // MongoDBRestoreBackup is job for MongoDB restore backup service. type StartJobRequest_MongoDBRestoreBackup struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Database user; // // Deprecated: Marked as deprecated in agentpb/agent.proto. @@ -5643,7 +5742,7 @@ type StartJobRequest_MongoDBRestoreBackup struct { PitrTimestamp *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=pitr_timestamp,json=pitrTimestamp,proto3" json:"pitr_timestamp,omitempty"` // Where backup is stored. // - // Types that are assignable to LocationConfig: + // Types that are valid to be assigned to LocationConfig: // // *StartJobRequest_MongoDBRestoreBackup_S3Config // *StartJobRequest_MongoDBRestoreBackup_FilesystemConfig @@ -5656,7 +5755,9 @@ type StartJobRequest_MongoDBRestoreBackup struct { // May contain placeholders for file paths in DSN. Dsn string `protobuf:"bytes,14,opt,name=dsn,proto3" json:"dsn,omitempty"` // Contains files and their contents which can be used in DSN. - TextFiles *TextFiles `protobuf:"bytes,15,opt,name=text_files,json=textFiles,proto3" json:"text_files,omitempty"` + TextFiles *TextFiles `protobuf:"bytes,15,opt,name=text_files,json=textFiles,proto3" json:"text_files,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartJobRequest_MongoDBRestoreBackup) Reset() { @@ -5743,23 +5844,27 @@ func (x *StartJobRequest_MongoDBRestoreBackup) GetPitrTimestamp() *timestamppb.T return nil } -func (m *StartJobRequest_MongoDBRestoreBackup) GetLocationConfig() isStartJobRequest_MongoDBRestoreBackup_LocationConfig { - if m != nil { - return m.LocationConfig +func (x *StartJobRequest_MongoDBRestoreBackup) GetLocationConfig() isStartJobRequest_MongoDBRestoreBackup_LocationConfig { + if x != nil { + return x.LocationConfig } return nil } func (x *StartJobRequest_MongoDBRestoreBackup) GetS3Config() *S3LocationConfig { - if x, ok := x.GetLocationConfig().(*StartJobRequest_MongoDBRestoreBackup_S3Config); ok { - return x.S3Config + if x != nil { + if x, ok := x.LocationConfig.(*StartJobRequest_MongoDBRestoreBackup_S3Config); ok { + return x.S3Config + } } return nil } func (x *StartJobRequest_MongoDBRestoreBackup) GetFilesystemConfig() *FilesystemLocationConfig { - if x, ok := x.GetLocationConfig().(*StartJobRequest_MongoDBRestoreBackup_FilesystemConfig); ok { - return x.FilesystemConfig + if x != nil { + if x, ok := x.LocationConfig.(*StartJobRequest_MongoDBRestoreBackup_FilesystemConfig); ok { + return x.FilesystemConfig + } } return nil } @@ -5812,11 +5917,10 @@ func (*StartJobRequest_MongoDBRestoreBackup_FilesystemConfig) isStartJobRequest_ // Error contains job error message. type JobResult_Error struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` unknownFields protoimpl.UnknownFields - - Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` + sizeCache protoimpl.SizeCache } func (x *JobResult_Error) Reset() { @@ -5858,13 +5962,12 @@ func (x *JobResult_Error) GetMessage() string { // MongoDBBackup contains result for MongoDB backup job. type JobResult_MongoDBBackup struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - IsShardedCluster bool `protobuf:"varint,1,opt,name=is_sharded_cluster,json=isShardedCluster,proto3" json:"is_sharded_cluster,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + IsShardedCluster bool `protobuf:"varint,1,opt,name=is_sharded_cluster,json=isShardedCluster,proto3" json:"is_sharded_cluster,omitempty"` // Contains additional data describing artifact. - Metadata *backup.Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` + Metadata *backup.Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *JobResult_MongoDBBackup) Reset() { @@ -5913,12 +6016,11 @@ func (x *JobResult_MongoDBBackup) GetMetadata() *backup.Metadata { // MySQLBackup contains result for MySQL backup job. type JobResult_MySQLBackup struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Contains additional data describing artifact. - Metadata *backup.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` + Metadata *backup.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *JobResult_MySQLBackup) Reset() { @@ -5960,9 +6062,9 @@ func (x *JobResult_MySQLBackup) GetMetadata() *backup.Metadata { // MySQLRestoreBackup contains result for MySQL restore backup job. type JobResult_MySQLRestoreBackup struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *JobResult_MySQLRestoreBackup) Reset() { @@ -5997,9 +6099,9 @@ func (*JobResult_MySQLRestoreBackup) Descriptor() ([]byte, []int) { // MongoDBRestoreBackup contains result for MongoDB restore backup job. type JobResult_MongoDBRestoreBackup struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *JobResult_MongoDBRestoreBackup) Reset() { @@ -6034,9 +6136,9 @@ func (*JobResult_MongoDBRestoreBackup) Descriptor() ([]byte, []int) { // MySQLBackup contains backup job status update. type JobProgress_MySQLBackup struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *JobProgress_MySQLBackup) Reset() { @@ -6071,9 +6173,9 @@ func (*JobProgress_MySQLBackup) Descriptor() ([]byte, []int) { // MySQLRestoreBackup contains restore backup job status update. type JobProgress_MySQLRestoreBackup struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *JobProgress_MySQLRestoreBackup) Reset() { @@ -6108,13 +6210,12 @@ func (*JobProgress_MySQLRestoreBackup) Descriptor() ([]byte, []int) { // Logs contains generic logs from job. type JobProgress_Logs struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + ChunkId uint32 `protobuf:"varint,1,opt,name=chunk_id,json=chunkId,proto3" json:"chunk_id,omitempty"` + Data string `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` + Done bool `protobuf:"varint,3,opt,name=done,proto3" json:"done,omitempty"` unknownFields protoimpl.UnknownFields - - ChunkId uint32 `protobuf:"varint,1,opt,name=chunk_id,json=chunkId,proto3" json:"chunk_id,omitempty"` - Data string `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` - Done bool `protobuf:"varint,3,opt,name=done,proto3" json:"done,omitempty"` + sizeCache protoimpl.SizeCache } func (x *JobProgress_Logs) Reset() { @@ -6170,9 +6271,9 @@ func (x *JobProgress_Logs) GetDone() bool { // MySQLd is used for mysqld binary version retrieving using `mysqld --version`. type GetVersionsRequest_MySQLd struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetVersionsRequest_MySQLd) Reset() { @@ -6207,9 +6308,9 @@ func (*GetVersionsRequest_MySQLd) Descriptor() ([]byte, []int) { // Xtrabackup is used for xtrabackup binary version retrieving. type GetVersionsRequest_Xtrabackup struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetVersionsRequest_Xtrabackup) Reset() { @@ -6244,9 +6345,9 @@ func (*GetVersionsRequest_Xtrabackup) Descriptor() ([]byte, []int) { // Xbcloud is used for xbcloud binary version retrieving. type GetVersionsRequest_Xbcloud struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetVersionsRequest_Xbcloud) Reset() { @@ -6281,9 +6382,9 @@ func (*GetVersionsRequest_Xbcloud) Descriptor() ([]byte, []int) { // Qpress is used for qpress binary version retrieving. type GetVersionsRequest_Qpress struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetVersionsRequest_Qpress) Reset() { @@ -6318,9 +6419,9 @@ func (*GetVersionsRequest_Qpress) Descriptor() ([]byte, []int) { // MongoDB is used for mongod binary version retrieving. type GetVersionsRequest_MongoDB struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetVersionsRequest_MongoDB) Reset() { @@ -6355,9 +6456,9 @@ func (*GetVersionsRequest_MongoDB) Descriptor() ([]byte, []int) { // PBM is used for pbm (Percona Backup for MongoDB) binary version retrieving. type GetVersionsRequest_PBM struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetVersionsRequest_PBM) Reset() { @@ -6392,11 +6493,8 @@ func (*GetVersionsRequest_PBM) Descriptor() ([]byte, []int) { // Software is used to select software for which retrieve version. type GetVersionsRequest_Software struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Software: + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to Software: // // *GetVersionsRequest_Software_Mysqld // *GetVersionsRequest_Software_Xtrabackup @@ -6404,7 +6502,9 @@ type GetVersionsRequest_Software struct { // *GetVersionsRequest_Software_Qpress // *GetVersionsRequest_Software_Mongod // *GetVersionsRequest_Software_Pbm - Software isGetVersionsRequest_Software_Software `protobuf_oneof:"software"` + Software isGetVersionsRequest_Software_Software `protobuf_oneof:"software"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetVersionsRequest_Software) Reset() { @@ -6437,51 +6537,63 @@ func (*GetVersionsRequest_Software) Descriptor() ([]byte, []int) { return file_agentpb_agent_proto_rawDescGZIP(), []int{38, 6} } -func (m *GetVersionsRequest_Software) GetSoftware() isGetVersionsRequest_Software_Software { - if m != nil { - return m.Software +func (x *GetVersionsRequest_Software) GetSoftware() isGetVersionsRequest_Software_Software { + if x != nil { + return x.Software } return nil } func (x *GetVersionsRequest_Software) GetMysqld() *GetVersionsRequest_MySQLd { - if x, ok := x.GetSoftware().(*GetVersionsRequest_Software_Mysqld); ok { - return x.Mysqld + if x != nil { + if x, ok := x.Software.(*GetVersionsRequest_Software_Mysqld); ok { + return x.Mysqld + } } return nil } func (x *GetVersionsRequest_Software) GetXtrabackup() *GetVersionsRequest_Xtrabackup { - if x, ok := x.GetSoftware().(*GetVersionsRequest_Software_Xtrabackup); ok { - return x.Xtrabackup + if x != nil { + if x, ok := x.Software.(*GetVersionsRequest_Software_Xtrabackup); ok { + return x.Xtrabackup + } } return nil } func (x *GetVersionsRequest_Software) GetXbcloud() *GetVersionsRequest_Xbcloud { - if x, ok := x.GetSoftware().(*GetVersionsRequest_Software_Xbcloud); ok { - return x.Xbcloud + if x != nil { + if x, ok := x.Software.(*GetVersionsRequest_Software_Xbcloud); ok { + return x.Xbcloud + } } return nil } func (x *GetVersionsRequest_Software) GetQpress() *GetVersionsRequest_Qpress { - if x, ok := x.GetSoftware().(*GetVersionsRequest_Software_Qpress); ok { - return x.Qpress + if x != nil { + if x, ok := x.Software.(*GetVersionsRequest_Software_Qpress); ok { + return x.Qpress + } } return nil } func (x *GetVersionsRequest_Software) GetMongod() *GetVersionsRequest_MongoDB { - if x, ok := x.GetSoftware().(*GetVersionsRequest_Software_Mongod); ok { - return x.Mongod + if x != nil { + if x, ok := x.Software.(*GetVersionsRequest_Software_Mongod); ok { + return x.Mongod + } } return nil } func (x *GetVersionsRequest_Software) GetPbm() *GetVersionsRequest_PBM { - if x, ok := x.GetSoftware().(*GetVersionsRequest_Software_Pbm); ok { - return x.Pbm + if x != nil { + if x, ok := x.Software.(*GetVersionsRequest_Software_Pbm); ok { + return x.Pbm + } } return nil } @@ -6529,12 +6641,11 @@ func (*GetVersionsRequest_Software_Pbm) isGetVersionsRequest_Software_Software() // Version contains the version field of the requested software and // the error field which is set in case of version retrieving error. type GetVersionsResponse_Version struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` + Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` unknownFields protoimpl.UnknownFields - - Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` - Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetVersionsResponse_Version) Reset() { diff --git a/api/agentpb/collector.pb.go b/api/agentpb/collector.pb.go index ad9f9a31b6..1411907280 100644 --- a/api/agentpb/collector.pb.go +++ b/api/agentpb/collector.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: agentpb/collector.proto @@ -137,14 +137,13 @@ func (ExampleType) EnumDescriptor() ([]byte, []int) { // MetricsBucket is aggregated message created by pmm-agent. // Contains information about one query selected in defined way from query class in specific period of time. type MetricsBucket struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Common *MetricsBucket_Common `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"` + Mysql *MetricsBucket_MySQL `protobuf:"bytes,2,opt,name=mysql,proto3" json:"mysql,omitempty"` + Mongodb *MetricsBucket_MongoDB `protobuf:"bytes,3,opt,name=mongodb,proto3" json:"mongodb,omitempty"` + Postgresql *MetricsBucket_PostgreSQL `protobuf:"bytes,4,opt,name=postgresql,proto3" json:"postgresql,omitempty"` unknownFields protoimpl.UnknownFields - - Common *MetricsBucket_Common `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"` - Mysql *MetricsBucket_MySQL `protobuf:"bytes,2,opt,name=mysql,proto3" json:"mysql,omitempty"` - Mongodb *MetricsBucket_MongoDB `protobuf:"bytes,3,opt,name=mongodb,proto3" json:"mongodb,omitempty"` - Postgresql *MetricsBucket_PostgreSQL `protobuf:"bytes,4,opt,name=postgresql,proto3" json:"postgresql,omitempty"` + sizeCache protoimpl.SizeCache } func (x *MetricsBucket) Reset() { @@ -207,12 +206,11 @@ func (x *MetricsBucket) GetPostgresql() *MetricsBucket_PostgreSQL { // HistogramItem represents one item in histogram. type HistogramItem struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Range string `protobuf:"bytes,1,opt,name=range,proto3" json:"range,omitempty"` + Frequency uint32 `protobuf:"varint,2,opt,name=frequency,proto3" json:"frequency,omitempty"` unknownFields protoimpl.UnknownFields - - Range string `protobuf:"bytes,1,opt,name=range,proto3" json:"range,omitempty"` - Frequency uint32 `protobuf:"varint,2,opt,name=frequency,proto3" json:"frequency,omitempty"` + sizeCache protoimpl.SizeCache } func (x *HistogramItem) Reset() { @@ -261,10 +259,7 @@ func (x *HistogramItem) GetFrequency() uint32 { // Common contains common fields for all DBs. type MetricsBucket_Common struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // md5 of digest_text/fingerprint. Queryid string `protobuf:"bytes,1,opt,name=queryid,proto3" json:"queryid,omitempty"` // contains fingerprint prepared by sql parser, which can be different than fingerprint. @@ -272,7 +267,7 @@ type MetricsBucket_Common struct { // ammount of variables in query. PlaceholdersCount uint32 `protobuf:"varint,26,opt,name=placeholders_count,json=placeholdersCount,proto3" json:"placeholders_count,omitempty"` // List of keys and values of comments. - Comments map[string]string `protobuf:"bytes,27,rep,name=comments,proto3" json:"comments,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Comments map[string]string `protobuf:"bytes,27,rep,name=comments,proto3" json:"comments,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // digest_text - query signature. Query without values. Fingerprint string `protobuf:"bytes,2,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"` // Dimension Group. @@ -311,7 +306,7 @@ type MetricsBucket_Common struct { // How many queries was with error in bucket. NumQueriesWithErrors float32 `protobuf:"fixed32,16,opt,name=num_queries_with_errors,json=numQueriesWithErrors,proto3" json:"num_queries_with_errors,omitempty"` // List of errors: {code: count}. - Errors map[uint64]uint64 `protobuf:"bytes,17,rep,name=errors,proto3" json:"errors,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + Errors map[uint64]uint64 `protobuf:"bytes,17,rep,name=errors,proto3" json:"errors,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` // Amount queries in this bucket. NumQueries float32 `protobuf:"fixed32,18,opt,name=num_queries,json=numQueries,proto3" json:"num_queries,omitempty"` // How many times query_time was found. @@ -324,6 +319,8 @@ type MetricsBucket_Common struct { MQueryTimeMax float32 `protobuf:"fixed32,22,opt,name=m_query_time_max,json=mQueryTimeMax,proto3" json:"m_query_time_max,omitempty"` // 99 percentile of value of query_time in bucket. MQueryTimeP99 float32 `protobuf:"fixed32,23,opt,name=m_query_time_p99,json=mQueryTimeP99,proto3" json:"m_query_time_p99,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MetricsBucket_Common) Reset() { @@ -548,11 +545,8 @@ func (x *MetricsBucket_Common) GetMQueryTimeP99() float32 { // MySQL contains metrics for MySQL. type MetricsBucket_MySQL struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - MLockTimeCnt float32 `protobuf:"fixed32,1,opt,name=m_lock_time_cnt,json=mLockTimeCnt,proto3" json:"m_lock_time_cnt,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + MLockTimeCnt float32 `protobuf:"fixed32,1,opt,name=m_lock_time_cnt,json=mLockTimeCnt,proto3" json:"m_lock_time_cnt,omitempty"` // The time to acquire locks in seconds. MLockTimeSum float32 `protobuf:"fixed32,2,opt,name=m_lock_time_sum,json=mLockTimeSum,proto3" json:"m_lock_time_sum,omitempty"` MLockTimeMin float32 `protobuf:"fixed32,3,opt,name=m_lock_time_min,json=mLockTimeMin,proto3" json:"m_lock_time_min,omitempty"` @@ -702,6 +696,8 @@ type MetricsBucket_MySQL struct { MNoGoodIndexUsedCnt float32 `protobuf:"fixed32,114,opt,name=m_no_good_index_used_cnt,json=mNoGoodIndexUsedCnt,proto3" json:"m_no_good_index_used_cnt,omitempty"` // The number of queries without good index. MNoGoodIndexUsedSum float32 `protobuf:"fixed32,115,opt,name=m_no_good_index_used_sum,json=mNoGoodIndexUsedSum,proto3" json:"m_no_good_index_used_sum,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MetricsBucket_MySQL) Reset() { @@ -1541,11 +1537,8 @@ func (x *MetricsBucket_MySQL) GetMNoGoodIndexUsedSum() float32 { // MongoDB contains metrics for Mongo DB. type MetricsBucket_MongoDB struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - MDocsReturnedCnt float32 `protobuf:"fixed32,1,opt,name=m_docs_returned_cnt,json=mDocsReturnedCnt,proto3" json:"m_docs_returned_cnt,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + MDocsReturnedCnt float32 `protobuf:"fixed32,1,opt,name=m_docs_returned_cnt,json=mDocsReturnedCnt,proto3" json:"m_docs_returned_cnt,omitempty"` // The number of returned documents. MDocsReturnedSum float32 `protobuf:"fixed32,2,opt,name=m_docs_returned_sum,json=mDocsReturnedSum,proto3" json:"m_docs_returned_sum,omitempty"` MDocsReturnedMin float32 `protobuf:"fixed32,3,opt,name=m_docs_returned_min,json=mDocsReturnedMin,proto3" json:"m_docs_returned_min,omitempty"` @@ -1563,6 +1556,8 @@ type MetricsBucket_MongoDB struct { MDocsScannedMin float32 `protobuf:"fixed32,13,opt,name=m_docs_scanned_min,json=mDocsScannedMin,proto3" json:"m_docs_scanned_min,omitempty"` MDocsScannedMax float32 `protobuf:"fixed32,14,opt,name=m_docs_scanned_max,json=mDocsScannedMax,proto3" json:"m_docs_scanned_max,omitempty"` MDocsScannedP99 float32 `protobuf:"fixed32,15,opt,name=m_docs_scanned_p99,json=mDocsScannedP99,proto3" json:"m_docs_scanned_p99,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MetricsBucket_MongoDB) Reset() { @@ -1702,11 +1697,8 @@ func (x *MetricsBucket_MongoDB) GetMDocsScannedP99() float32 { // PostgreSQL contains metrics for PostgreSQL. type MetricsBucket_PostgreSQL struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - MRowsCnt float32 `protobuf:"fixed32,1,opt,name=m_rows_cnt,json=mRowsCnt,proto3" json:"m_rows_cnt,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + MRowsCnt float32 `protobuf:"fixed32,1,opt,name=m_rows_cnt,json=mRowsCnt,proto3" json:"m_rows_cnt,omitempty"` // The number of rows sent to the client. MRowsSum float32 `protobuf:"fixed32,2,opt,name=m_rows_sum,json=mRowsSum,proto3" json:"m_rows_sum,omitempty"` MSharedBlksHitCnt float32 `protobuf:"fixed32,3,opt,name=m_shared_blks_hit_cnt,json=mSharedBlksHitCnt,proto3" json:"m_shared_blks_hit_cnt,omitempty"` @@ -1790,6 +1782,8 @@ type MetricsBucket_PostgreSQL struct { Planid string `protobuf:"bytes,46,opt,name=planid,proto3" json:"planid,omitempty"` QueryPlan string `protobuf:"bytes,48,opt,name=query_plan,json=queryPlan,proto3" json:"query_plan,omitempty"` HistogramItems []*HistogramItem `protobuf:"bytes,49,rep,name=histogram_items,json=histogramItems,proto3" json:"histogram_items,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MetricsBucket_PostgreSQL) Reset() { diff --git a/api/common/metrics_resolutions.pb.go b/api/common/metrics_resolutions.pb.go index b2f0e094c4..099c9d78f3 100644 --- a/api/common/metrics_resolutions.pb.go +++ b/api/common/metrics_resolutions.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: common/metrics_resolutions.proto @@ -24,16 +24,15 @@ const ( // MetricsResolutions represents Prometheus exporters metrics resolutions. type MetricsResolutions struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // High resolution. In JSON should be represented as a string with number of seconds with `s` suffix. Hr *durationpb.Duration `protobuf:"bytes,1,opt,name=hr,proto3" json:"hr,omitempty"` // Medium resolution. In JSON should be represented as a string with number of seconds with `s` suffix. Mr *durationpb.Duration `protobuf:"bytes,2,opt,name=mr,proto3" json:"mr,omitempty"` // Low resolution. In JSON should be represented as a string with number of seconds with `s` suffix. - Lr *durationpb.Duration `protobuf:"bytes,3,opt,name=lr,proto3" json:"lr,omitempty"` + Lr *durationpb.Duration `protobuf:"bytes,3,opt,name=lr,proto3" json:"lr,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MetricsResolutions) Reset() { diff --git a/api/inventorypb/agent_status.pb.go b/api/inventorypb/agent_status.pb.go index fb05246a19..be2d55b343 100644 --- a/api/inventorypb/agent_status.pb.go +++ b/api/inventorypb/agent_status.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: inventorypb/agent_status.proto diff --git a/api/inventorypb/agents.pb.go b/api/inventorypb/agents.pb.go index 66f2d113f5..6206fe69b6 100644 --- a/api/inventorypb/agents.pb.go +++ b/api/inventorypb/agents.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: inventorypb/agents.proto @@ -117,20 +117,19 @@ func (AgentType) EnumDescriptor() ([]byte, []int) { // PMMAgent runs on Generic or Container Node. type PMMAgent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique randomly generated instance identifier. AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` // Node identifier where this instance runs. RunsOnNodeId string `protobuf:"bytes,2,opt,name=runs_on_node_id,json=runsOnNodeId,proto3" json:"runs_on_node_id,omitempty"` // Custom user-assigned labels. - CustomLabels map[string]string `protobuf:"bytes,3,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,3,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // True if Agent is running and connected to pmm-managed. Connected bool `protobuf:"varint,4,opt,name=connected,proto3" json:"connected,omitempty"` // Path to exec process. ProcessExecPath string `protobuf:"bytes,5,opt,name=process_exec_path,json=processExecPath,proto3" json:"process_exec_path,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PMMAgent) Reset() { @@ -202,10 +201,7 @@ func (x *PMMAgent) GetProcessExecPath() string { // It scrapes other exporter Agents that are configured with push_metrics_enabled // and uses Prometheus remote write protocol to push metrics to PMM Server. type VMAgent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique randomly generated instance identifier. AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` // The pmm-agent identifier which runs this instance. @@ -215,7 +211,9 @@ type VMAgent struct { // Path to exec process. ProcessExecPath string `protobuf:"bytes,6,opt,name=process_exec_path,json=processExecPath,proto3" json:"process_exec_path,omitempty"` // Listen port for scraping metrics. - ListenPort uint32 `protobuf:"varint,7,opt,name=listen_port,json=listenPort,proto3" json:"listen_port,omitempty"` + ListenPort uint32 `protobuf:"varint,7,opt,name=listen_port,json=listenPort,proto3" json:"listen_port,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *VMAgent) Reset() { @@ -285,10 +283,7 @@ func (x *VMAgent) GetListenPort() uint32 { // NodeExporter runs on Generic or Container Node and exposes its metrics. type NodeExporter struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique randomly generated instance identifier. AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` // The pmm-agent identifier which runs this instance. @@ -296,7 +291,7 @@ type NodeExporter struct { // Desired Agent status: enabled (false) or disabled (true). Disabled bool `protobuf:"varint,3,opt,name=disabled,proto3" json:"disabled,omitempty"` // Custom user-assigned labels. - CustomLabels map[string]string `protobuf:"bytes,4,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,4,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // True if exporter uses push metrics mode. PushMetricsEnabled bool `protobuf:"varint,7,opt,name=push_metrics_enabled,json=pushMetricsEnabled,proto3" json:"push_metrics_enabled,omitempty"` // List of disabled collector names. @@ -313,6 +308,8 @@ type NodeExporter struct { ExposeExporter bool `protobuf:"varint,11,opt,name=expose_exporter,json=exposeExporter,proto3" json:"expose_exporter,omitempty"` // Metrics resolution for this agent. MetricsResolutions *common.MetricsResolutions `protobuf:"bytes,12,opt,name=metrics_resolutions,json=metricsResolutions,proto3" json:"metrics_resolutions,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *NodeExporter) Reset() { @@ -431,10 +428,7 @@ func (x *NodeExporter) GetMetricsResolutions() *common.MetricsResolutions { // MySQLdExporter runs on Generic or Container Node and exposes MySQL Service metrics. type MySQLdExporter struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique randomly generated instance identifier. AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` // The pmm-agent identifier which runs this instance. @@ -460,7 +454,7 @@ type MySQLdExporter struct { // Negative value means tablestats group collectors are always disabled. TablestatsGroupTableLimit int32 `protobuf:"varint,11,opt,name=tablestats_group_table_limit,json=tablestatsGroupTableLimit,proto3" json:"tablestats_group_table_limit,omitempty"` // Custom user-assigned labels. - CustomLabels map[string]string `protobuf:"bytes,8,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,8,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // True if exporter uses push metrics mode. PushMetricsEnabled bool `protobuf:"varint,13,opt,name=push_metrics_enabled,json=pushMetricsEnabled,proto3" json:"push_metrics_enabled,omitempty"` // List of disabled collector names. @@ -479,6 +473,8 @@ type MySQLdExporter struct { ExposeExporter bool `protobuf:"varint,20,opt,name=expose_exporter,json=exposeExporter,proto3" json:"expose_exporter,omitempty"` // Metrics resolution for this agent. MetricsResolutions *common.MetricsResolutions `protobuf:"bytes,21,opt,name=metrics_resolutions,json=metricsResolutions,proto3" json:"metrics_resolutions,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MySQLdExporter) Reset() { @@ -660,10 +656,7 @@ func (x *MySQLdExporter) GetMetricsResolutions() *common.MetricsResolutions { // MongoDBExporter runs on Generic or Container Node and exposes MongoDB Service metrics. type MongoDBExporter struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique randomly generated instance identifier. AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` // The pmm-agent identifier which runs this instance. @@ -679,7 +672,7 @@ type MongoDBExporter struct { // Skip TLS certificate and hostname validation. TlsSkipVerify bool `protobuf:"varint,7,opt,name=tls_skip_verify,json=tlsSkipVerify,proto3" json:"tls_skip_verify,omitempty"` // Custom user-assigned labels. - CustomLabels map[string]string `protobuf:"bytes,8,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,8,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // True if exporter uses push metrics mode. PushMetricsEnabled bool `protobuf:"varint,11,opt,name=push_metrics_enabled,json=pushMetricsEnabled,proto3" json:"push_metrics_enabled,omitempty"` // List of disabled collector names. @@ -703,6 +696,8 @@ type MongoDBExporter struct { ExposeExporter bool `protobuf:"varint,18,opt,name=expose_exporter,json=exposeExporter,proto3" json:"expose_exporter,omitempty"` // Metrics resolution for this agent. MetricsResolutions *common.MetricsResolutions `protobuf:"bytes,19,opt,name=metrics_resolutions,json=metricsResolutions,proto3" json:"metrics_resolutions,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MongoDBExporter) Reset() { @@ -870,10 +865,7 @@ func (x *MongoDBExporter) GetMetricsResolutions() *common.MetricsResolutions { // PostgresExporter runs on Generic or Container Node and exposes PostgreSQL Service metrics. type PostgresExporter struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique randomly generated instance identifier. AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` // The pmm-agent identifier which runs this instance. @@ -889,7 +881,7 @@ type PostgresExporter struct { // Skip TLS certificate and hostname validation. Uses sslmode=required instead of verify-full. TlsSkipVerify bool `protobuf:"varint,7,opt,name=tls_skip_verify,json=tlsSkipVerify,proto3" json:"tls_skip_verify,omitempty"` // Custom user-assigned labels. - CustomLabels map[string]string `protobuf:"bytes,8,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,8,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // True if exporter uses push metrics mode. PushMetricsEnabled bool `protobuf:"varint,11,opt,name=push_metrics_enabled,json=pushMetricsEnabled,proto3" json:"push_metrics_enabled,omitempty"` // List of disabled collector names. @@ -910,6 +902,8 @@ type PostgresExporter struct { MaxExporterConnections int32 `protobuf:"varint,17,opt,name=max_exporter_connections,json=maxExporterConnections,proto3" json:"max_exporter_connections,omitempty"` // Metrics resolution for this agent. MetricsResolutions *common.MetricsResolutions `protobuf:"bytes,18,opt,name=metrics_resolutions,json=metricsResolutions,proto3" json:"metrics_resolutions,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PostgresExporter) Reset() { @@ -1070,10 +1064,7 @@ func (x *PostgresExporter) GetMetricsResolutions() *common.MetricsResolutions { // ProxySQLExporter runs on Generic or Container Node and exposes ProxySQL Service metrics. type ProxySQLExporter struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique randomly generated instance identifier. AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` // The pmm-agent identifier which runs this instance. @@ -1089,7 +1080,7 @@ type ProxySQLExporter struct { // Skip TLS certificate and hostname validation. TlsSkipVerify bool `protobuf:"varint,7,opt,name=tls_skip_verify,json=tlsSkipVerify,proto3" json:"tls_skip_verify,omitempty"` // Custom user-assigned labels. - CustomLabels map[string]string `protobuf:"bytes,8,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,8,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // True if exporter uses push metrics mode. PushMetricsEnabled bool `protobuf:"varint,11,opt,name=push_metrics_enabled,json=pushMetricsEnabled,proto3" json:"push_metrics_enabled,omitempty"` // List of disabled collector names. @@ -1106,6 +1097,8 @@ type ProxySQLExporter struct { ExposeExporter bool `protobuf:"varint,15,opt,name=expose_exporter,json=exposeExporter,proto3" json:"expose_exporter,omitempty"` // Metrics resolution for this agent. MetricsResolutions *common.MetricsResolutions `protobuf:"bytes,16,opt,name=metrics_resolutions,json=metricsResolutions,proto3" json:"metrics_resolutions,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ProxySQLExporter) Reset() { @@ -1252,10 +1245,7 @@ func (x *ProxySQLExporter) GetMetricsResolutions() *common.MetricsResolutions { // QANMySQLPerfSchemaAgent runs within pmm-agent and sends MySQL Query Analytics data to the PMM Server. type QANMySQLPerfSchemaAgent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique randomly generated instance identifier. AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` // The pmm-agent identifier which runs this instance. @@ -1283,13 +1273,15 @@ type QANMySQLPerfSchemaAgent struct { // True if query examples are disabled. QueryExamplesDisabled bool `protobuf:"varint,8,opt,name=query_examples_disabled,json=queryExamplesDisabled,proto3" json:"query_examples_disabled,omitempty"` // Custom user-assigned labels. - CustomLabels map[string]string `protobuf:"bytes,9,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,9,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Actual Agent status. Status AgentStatus `protobuf:"varint,10,opt,name=status,proto3,enum=inventory.AgentStatus" json:"status,omitempty"` // Path to exec process. ProcessExecPath string `protobuf:"bytes,14,opt,name=process_exec_path,json=processExecPath,proto3" json:"process_exec_path,omitempty"` // Log level for exporter. - LogLevel LogLevel `protobuf:"varint,15,opt,name=log_level,json=logLevel,proto3,enum=inventory.LogLevel" json:"log_level,omitempty"` + LogLevel LogLevel `protobuf:"varint,15,opt,name=log_level,json=logLevel,proto3,enum=inventory.LogLevel" json:"log_level,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *QANMySQLPerfSchemaAgent) Reset() { @@ -1443,10 +1435,7 @@ func (x *QANMySQLPerfSchemaAgent) GetLogLevel() LogLevel { // QANMySQLSlowlogAgent runs within pmm-agent and sends MySQL Query Analytics data to the PMM Server. type QANMySQLSlowlogAgent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique randomly generated instance identifier. AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` // The pmm-agent identifier which runs this instance. @@ -1476,13 +1465,15 @@ type QANMySQLSlowlogAgent struct { // Slowlog file is rotated at this size if > 0. MaxSlowlogFileSize int64 `protobuf:"varint,9,opt,name=max_slowlog_file_size,json=maxSlowlogFileSize,proto3" json:"max_slowlog_file_size,omitempty"` // Custom user-assigned labels. - CustomLabels map[string]string `protobuf:"bytes,10,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,10,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Actual Agent status. Status AgentStatus `protobuf:"varint,11,opt,name=status,proto3,enum=inventory.AgentStatus" json:"status,omitempty"` // mod tidy ProcessExecPath string `protobuf:"bytes,15,opt,name=process_exec_path,json=processExecPath,proto3" json:"process_exec_path,omitempty"` // Log level for exporter. - LogLevel LogLevel `protobuf:"varint,16,opt,name=log_level,json=logLevel,proto3,enum=inventory.LogLevel" json:"log_level,omitempty"` + LogLevel LogLevel `protobuf:"varint,16,opt,name=log_level,json=logLevel,proto3,enum=inventory.LogLevel" json:"log_level,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *QANMySQLSlowlogAgent) Reset() { @@ -1643,10 +1634,7 @@ func (x *QANMySQLSlowlogAgent) GetLogLevel() LogLevel { // QANMongoDBProfilerAgent runs within pmm-agent and sends MongoDB Query Analytics data to the PMM Server. type QANMongoDBProfilerAgent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique randomly generated instance identifier. AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` // The pmm-agent identifier which runs this instance. @@ -1664,13 +1652,15 @@ type QANMongoDBProfilerAgent struct { // Limit query length in QAN (default: server-defined; -1: no limit). MaxQueryLength int32 `protobuf:"varint,13,opt,name=max_query_length,json=maxQueryLength,proto3" json:"max_query_length,omitempty"` // Custom user-assigned labels. - CustomLabels map[string]string `protobuf:"bytes,9,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,9,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Actual Agent status. Status AgentStatus `protobuf:"varint,10,opt,name=status,proto3,enum=inventory.AgentStatus" json:"status,omitempty"` // Path to exec process. ProcessExecPath string `protobuf:"bytes,11,opt,name=process_exec_path,json=processExecPath,proto3" json:"process_exec_path,omitempty"` // Log level for exporter. - LogLevel LogLevel `protobuf:"varint,12,opt,name=log_level,json=logLevel,proto3,enum=inventory.LogLevel" json:"log_level,omitempty"` + LogLevel LogLevel `protobuf:"varint,12,opt,name=log_level,json=logLevel,proto3,enum=inventory.LogLevel" json:"log_level,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *QANMongoDBProfilerAgent) Reset() { @@ -1789,10 +1779,7 @@ func (x *QANMongoDBProfilerAgent) GetLogLevel() LogLevel { // QANPostgreSQLPgStatementsAgent runs within pmm-agent and sends PostgreSQL Query Analytics data to the PMM Server. type QANPostgreSQLPgStatementsAgent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique randomly generated instance identifier. AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` // The pmm-agent identifier which runs this instance. @@ -1812,13 +1799,15 @@ type QANPostgreSQLPgStatementsAgent struct { // Skip TLS certificate and hostname validation. TlsSkipVerify bool `protobuf:"varint,7,opt,name=tls_skip_verify,json=tlsSkipVerify,proto3" json:"tls_skip_verify,omitempty"` // Custom user-assigned labels. - CustomLabels map[string]string `protobuf:"bytes,8,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,8,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Actual Agent status. Status AgentStatus `protobuf:"varint,9,opt,name=status,proto3,enum=inventory.AgentStatus" json:"status,omitempty"` // Path to exec process. ProcessExecPath string `protobuf:"bytes,10,opt,name=process_exec_path,json=processExecPath,proto3" json:"process_exec_path,omitempty"` // Log level for exporter. - LogLevel LogLevel `protobuf:"varint,11,opt,name=log_level,json=logLevel,proto3,enum=inventory.LogLevel" json:"log_level,omitempty"` + LogLevel LogLevel `protobuf:"varint,11,opt,name=log_level,json=logLevel,proto3,enum=inventory.LogLevel" json:"log_level,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *QANPostgreSQLPgStatementsAgent) Reset() { @@ -1944,10 +1933,7 @@ func (x *QANPostgreSQLPgStatementsAgent) GetLogLevel() LogLevel { // QANPostgreSQLPgStatMonitorAgent runs within pmm-agent and sends PostgreSQL Query Analytics data to the PMM Server. type QANPostgreSQLPgStatMonitorAgent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique randomly generated instance identifier. AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` // The pmm-agent identifier which runs this instance. @@ -1969,13 +1955,15 @@ type QANPostgreSQLPgStatMonitorAgent struct { // True if query examples are disabled. QueryExamplesDisabled bool `protobuf:"varint,8,opt,name=query_examples_disabled,json=queryExamplesDisabled,proto3" json:"query_examples_disabled,omitempty"` // Custom user-assigned labels. - CustomLabels map[string]string `protobuf:"bytes,9,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,9,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Actual Agent status. Status AgentStatus `protobuf:"varint,10,opt,name=status,proto3,enum=inventory.AgentStatus" json:"status,omitempty"` // Path to exec process. ProcessExecPath string `protobuf:"bytes,11,opt,name=process_exec_path,json=processExecPath,proto3" json:"process_exec_path,omitempty"` // Log level for exporter. - LogLevel LogLevel `protobuf:"varint,12,opt,name=log_level,json=logLevel,proto3,enum=inventory.LogLevel" json:"log_level,omitempty"` + LogLevel LogLevel `protobuf:"varint,12,opt,name=log_level,json=logLevel,proto3,enum=inventory.LogLevel" json:"log_level,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *QANPostgreSQLPgStatMonitorAgent) Reset() { @@ -2108,10 +2096,7 @@ func (x *QANPostgreSQLPgStatMonitorAgent) GetLogLevel() LogLevel { // RDSExporter runs on Generic or Container Node and exposes RemoteRDS Node metrics. type RDSExporter struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique randomly generated instance identifier. AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` // The pmm-agent identifier which runs this instance. @@ -2123,7 +2108,7 @@ type RDSExporter struct { // AWS Access Key. AwsAccessKey string `protobuf:"bytes,5,opt,name=aws_access_key,json=awsAccessKey,proto3" json:"aws_access_key,omitempty"` // Custom user-assigned labels. - CustomLabels map[string]string `protobuf:"bytes,6,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,6,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Actual Agent status (the same for several configurations). Status AgentStatus `protobuf:"varint,7,opt,name=status,proto3,enum=inventory.AgentStatus" json:"status,omitempty"` // Listen port for scraping metrics (the same for several configurations). @@ -2142,6 +2127,8 @@ type RDSExporter struct { AutoDiscoveryLimit int32 `protobuf:"varint,14,opt,name=auto_discovery_limit,json=autoDiscoveryLimit,proto3" json:"auto_discovery_limit,omitempty"` // Metrics resolution for this agent. MetricsResolutions *common.MetricsResolutions `protobuf:"bytes,15,opt,name=metrics_resolutions,json=metricsResolutions,proto3" json:"metrics_resolutions,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RDSExporter) Reset() { @@ -2281,10 +2268,7 @@ func (x *RDSExporter) GetMetricsResolutions() *common.MetricsResolutions { // ExternalExporter runs on any Node type, including Remote Node. type ExternalExporter struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique randomly generated instance identifier. AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` // Node identifier where this instance runs. @@ -2300,7 +2284,7 @@ type ExternalExporter struct { // Path under which metrics are exposed, used to generate URI. MetricsPath string `protobuf:"bytes,7,opt,name=metrics_path,json=metricsPath,proto3" json:"metrics_path,omitempty"` // Custom user-assigned labels. - CustomLabels map[string]string `protobuf:"bytes,10,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,10,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Listen port for scraping metrics. ListenPort uint32 `protobuf:"varint,8,opt,name=listen_port,json=listenPort,proto3" json:"listen_port,omitempty"` // True if exporter uses push metrics mode. @@ -2309,6 +2293,8 @@ type ExternalExporter struct { ProcessExecPath string `protobuf:"bytes,12,opt,name=process_exec_path,json=processExecPath,proto3" json:"process_exec_path,omitempty"` // Metrics resolution for this agent. MetricsResolutions *common.MetricsResolutions `protobuf:"bytes,13,opt,name=metrics_resolutions,json=metricsResolutions,proto3" json:"metrics_resolutions,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ExternalExporter) Reset() { @@ -2427,10 +2413,7 @@ func (x *ExternalExporter) GetMetricsResolutions() *common.MetricsResolutions { // AzureDatabaseExporter runs on Generic or Container Node and exposes RemoteAzure Node metrics. type AzureDatabaseExporter struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique randomly generated instance identifier. AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` // The pmm-agent identifier which runs this instance. @@ -2444,7 +2427,7 @@ type AzureDatabaseExporter struct { // Azure database resource type (mysql, maria, postgres) AzureDatabaseResourceType string `protobuf:"bytes,6,opt,name=azure_database_resource_type,json=azureDatabaseResourceType,proto3" json:"azure_database_resource_type,omitempty"` // Custom user-assigned labels. - CustomLabels map[string]string `protobuf:"bytes,7,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,7,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Actual Agent status (the same for several configurations). Status AgentStatus `protobuf:"varint,8,opt,name=status,proto3,enum=inventory.AgentStatus" json:"status,omitempty"` // Listen port for scraping metrics (the same for several configurations). @@ -2457,6 +2440,8 @@ type AzureDatabaseExporter struct { LogLevel LogLevel `protobuf:"varint,12,opt,name=log_level,json=logLevel,proto3,enum=inventory.LogLevel" json:"log_level,omitempty"` // Metrics resolution for this agent. MetricsResolutions *common.MetricsResolutions `protobuf:"bytes,13,opt,name=metrics_resolutions,json=metricsResolutions,proto3" json:"metrics_resolutions,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AzureDatabaseExporter) Reset() { @@ -2582,16 +2567,13 @@ func (x *AzureDatabaseExporter) GetMetricsResolutions() *common.MetricsResolutio // ChangeCommonAgentParams contains parameters that can be changed for all Agents. type ChangeCommonAgentParams struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Enable this Agent. Can't be used with disabled. Enable bool `protobuf:"varint,1,opt,name=enable,proto3" json:"enable,omitempty"` // Disable this Agent. Can't be used with enabled. Disable bool `protobuf:"varint,2,opt,name=disable,proto3" json:"disable,omitempty"` // Replace all custom user-assigned labels. - CustomLabels map[string]string `protobuf:"bytes,3,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,3,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Remove all custom user-assigned labels. RemoveCustomLabels bool `protobuf:"varint,4,opt,name=remove_custom_labels,json=removeCustomLabels,proto3" json:"remove_custom_labels,omitempty"` // Enables push metrics with vmagent, can't be used with disable_push_metrics. @@ -2601,6 +2583,8 @@ type ChangeCommonAgentParams struct { DisablePushMetrics bool `protobuf:"varint,6,opt,name=disable_push_metrics,json=disablePushMetrics,proto3" json:"disable_push_metrics,omitempty"` // Metrics resolution for this agent. MetricsResolutions *common.MetricsResolutions `protobuf:"bytes,7,opt,name=metrics_resolutions,json=metricsResolutions,proto3" json:"metrics_resolutions,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ChangeCommonAgentParams) Reset() { @@ -2683,10 +2667,7 @@ func (x *ChangeCommonAgentParams) GetMetricsResolutions() *common.MetricsResolut } type ListAgentsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Return only Agents started by this pmm-agent. // Exactly one of these parameters should be present: pmm_agent_id, node_id, service_id. PmmAgentId string `protobuf:"bytes,1,opt,name=pmm_agent_id,json=pmmAgentId,proto3" json:"pmm_agent_id,omitempty"` @@ -2697,7 +2678,9 @@ type ListAgentsRequest struct { // Exactly one of these parameters should be present: pmm_agent_id, node_id, service_id. ServiceId string `protobuf:"bytes,3,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` // Return only agents of a particular type. - AgentType AgentType `protobuf:"varint,4,opt,name=agent_type,json=agentType,proto3,enum=inventory.AgentType" json:"agent_type,omitempty"` + AgentType AgentType `protobuf:"varint,4,opt,name=agent_type,json=agentType,proto3,enum=inventory.AgentType" json:"agent_type,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListAgentsRequest) Reset() { @@ -2759,10 +2742,7 @@ func (x *ListAgentsRequest) GetAgentType() AgentType { } type ListAgentsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` PmmAgent []*PMMAgent `protobuf:"bytes,1,rep,name=pmm_agent,json=pmmAgent,proto3" json:"pmm_agent,omitempty"` VmAgent []*VMAgent `protobuf:"bytes,14,rep,name=vm_agent,json=vmAgent,proto3" json:"vm_agent,omitempty"` NodeExporter []*NodeExporter `protobuf:"bytes,2,rep,name=node_exporter,json=nodeExporter,proto3" json:"node_exporter,omitempty"` @@ -2778,6 +2758,8 @@ type ListAgentsResponse struct { RdsExporter []*RDSExporter `protobuf:"bytes,11,rep,name=rds_exporter,json=rdsExporter,proto3" json:"rds_exporter,omitempty"` ExternalExporter []*ExternalExporter `protobuf:"bytes,12,rep,name=external_exporter,json=externalExporter,proto3" json:"external_exporter,omitempty"` AzureDatabaseExporter []*AzureDatabaseExporter `protobuf:"bytes,15,rep,name=azure_database_exporter,json=azureDatabaseExporter,proto3" json:"azure_database_exporter,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListAgentsResponse) Reset() { @@ -2916,12 +2898,11 @@ func (x *ListAgentsResponse) GetAzureDatabaseExporter() []*AzureDatabaseExporter } type GetAgentRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique randomly generated instance identifier. - AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` + AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetAgentRequest) Reset() { @@ -2962,11 +2943,8 @@ func (x *GetAgentRequest) GetAgentId() string { } type GetAgentResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Agent: + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to Agent: // // *GetAgentResponse_PmmAgent // *GetAgentResponse_Vmagent @@ -2983,7 +2961,9 @@ type GetAgentResponse struct { // *GetAgentResponse_RdsExporter // *GetAgentResponse_ExternalExporter // *GetAgentResponse_AzureDatabaseExporter - Agent isGetAgentResponse_Agent `protobuf_oneof:"agent"` + Agent isGetAgentResponse_Agent `protobuf_oneof:"agent"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetAgentResponse) Reset() { @@ -3016,114 +2996,144 @@ func (*GetAgentResponse) Descriptor() ([]byte, []int) { return file_inventorypb_agents_proto_rawDescGZIP(), []int{19} } -func (m *GetAgentResponse) GetAgent() isGetAgentResponse_Agent { - if m != nil { - return m.Agent +func (x *GetAgentResponse) GetAgent() isGetAgentResponse_Agent { + if x != nil { + return x.Agent } return nil } func (x *GetAgentResponse) GetPmmAgent() *PMMAgent { - if x, ok := x.GetAgent().(*GetAgentResponse_PmmAgent); ok { - return x.PmmAgent + if x != nil { + if x, ok := x.Agent.(*GetAgentResponse_PmmAgent); ok { + return x.PmmAgent + } } return nil } func (x *GetAgentResponse) GetVmagent() *VMAgent { - if x, ok := x.GetAgent().(*GetAgentResponse_Vmagent); ok { - return x.Vmagent + if x != nil { + if x, ok := x.Agent.(*GetAgentResponse_Vmagent); ok { + return x.Vmagent + } } return nil } func (x *GetAgentResponse) GetNodeExporter() *NodeExporter { - if x, ok := x.GetAgent().(*GetAgentResponse_NodeExporter); ok { - return x.NodeExporter + if x != nil { + if x, ok := x.Agent.(*GetAgentResponse_NodeExporter); ok { + return x.NodeExporter + } } return nil } func (x *GetAgentResponse) GetMysqldExporter() *MySQLdExporter { - if x, ok := x.GetAgent().(*GetAgentResponse_MysqldExporter); ok { - return x.MysqldExporter + if x != nil { + if x, ok := x.Agent.(*GetAgentResponse_MysqldExporter); ok { + return x.MysqldExporter + } } return nil } func (x *GetAgentResponse) GetMongodbExporter() *MongoDBExporter { - if x, ok := x.GetAgent().(*GetAgentResponse_MongodbExporter); ok { - return x.MongodbExporter + if x != nil { + if x, ok := x.Agent.(*GetAgentResponse_MongodbExporter); ok { + return x.MongodbExporter + } } return nil } func (x *GetAgentResponse) GetPostgresExporter() *PostgresExporter { - if x, ok := x.GetAgent().(*GetAgentResponse_PostgresExporter); ok { - return x.PostgresExporter + if x != nil { + if x, ok := x.Agent.(*GetAgentResponse_PostgresExporter); ok { + return x.PostgresExporter + } } return nil } func (x *GetAgentResponse) GetProxysqlExporter() *ProxySQLExporter { - if x, ok := x.GetAgent().(*GetAgentResponse_ProxysqlExporter); ok { - return x.ProxysqlExporter + if x != nil { + if x, ok := x.Agent.(*GetAgentResponse_ProxysqlExporter); ok { + return x.ProxysqlExporter + } } return nil } func (x *GetAgentResponse) GetQanMysqlPerfschemaAgent() *QANMySQLPerfSchemaAgent { - if x, ok := x.GetAgent().(*GetAgentResponse_QanMysqlPerfschemaAgent); ok { - return x.QanMysqlPerfschemaAgent + if x != nil { + if x, ok := x.Agent.(*GetAgentResponse_QanMysqlPerfschemaAgent); ok { + return x.QanMysqlPerfschemaAgent + } } return nil } func (x *GetAgentResponse) GetQanMysqlSlowlogAgent() *QANMySQLSlowlogAgent { - if x, ok := x.GetAgent().(*GetAgentResponse_QanMysqlSlowlogAgent); ok { - return x.QanMysqlSlowlogAgent + if x != nil { + if x, ok := x.Agent.(*GetAgentResponse_QanMysqlSlowlogAgent); ok { + return x.QanMysqlSlowlogAgent + } } return nil } func (x *GetAgentResponse) GetQanMongodbProfilerAgent() *QANMongoDBProfilerAgent { - if x, ok := x.GetAgent().(*GetAgentResponse_QanMongodbProfilerAgent); ok { - return x.QanMongodbProfilerAgent + if x != nil { + if x, ok := x.Agent.(*GetAgentResponse_QanMongodbProfilerAgent); ok { + return x.QanMongodbProfilerAgent + } } return nil } func (x *GetAgentResponse) GetQanPostgresqlPgstatementsAgent() *QANPostgreSQLPgStatementsAgent { - if x, ok := x.GetAgent().(*GetAgentResponse_QanPostgresqlPgstatementsAgent); ok { - return x.QanPostgresqlPgstatementsAgent + if x != nil { + if x, ok := x.Agent.(*GetAgentResponse_QanPostgresqlPgstatementsAgent); ok { + return x.QanPostgresqlPgstatementsAgent + } } return nil } func (x *GetAgentResponse) GetQanPostgresqlPgstatmonitorAgent() *QANPostgreSQLPgStatMonitorAgent { - if x, ok := x.GetAgent().(*GetAgentResponse_QanPostgresqlPgstatmonitorAgent); ok { - return x.QanPostgresqlPgstatmonitorAgent + if x != nil { + if x, ok := x.Agent.(*GetAgentResponse_QanPostgresqlPgstatmonitorAgent); ok { + return x.QanPostgresqlPgstatmonitorAgent + } } return nil } func (x *GetAgentResponse) GetRdsExporter() *RDSExporter { - if x, ok := x.GetAgent().(*GetAgentResponse_RdsExporter); ok { - return x.RdsExporter + if x != nil { + if x, ok := x.Agent.(*GetAgentResponse_RdsExporter); ok { + return x.RdsExporter + } } return nil } func (x *GetAgentResponse) GetExternalExporter() *ExternalExporter { - if x, ok := x.GetAgent().(*GetAgentResponse_ExternalExporter); ok { - return x.ExternalExporter + if x != nil { + if x, ok := x.Agent.(*GetAgentResponse_ExternalExporter); ok { + return x.ExternalExporter + } } return nil } func (x *GetAgentResponse) GetAzureDatabaseExporter() *AzureDatabaseExporter { - if x, ok := x.GetAgent().(*GetAgentResponse_AzureDatabaseExporter); ok { - return x.AzureDatabaseExporter + if x != nil { + if x, ok := x.Agent.(*GetAgentResponse_AzureDatabaseExporter); ok { + return x.AzureDatabaseExporter + } } return nil } @@ -3223,14 +3233,13 @@ func (*GetAgentResponse_ExternalExporter) isGetAgentResponse_Agent() {} func (*GetAgentResponse_AzureDatabaseExporter) isGetAgentResponse_Agent() {} type GetAgentLogsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique randomly generated instance identifier. AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` // is less than this value. 0: no limit - Limit uint32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` + Limit uint32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetAgentLogsRequest) Reset() { @@ -3278,12 +3287,11 @@ func (x *GetAgentLogsRequest) GetLimit() uint32 { } type GetAgentLogsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Logs []string `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"` - AgentConfigLogLinesCount uint32 `protobuf:"varint,2,opt,name=agent_config_log_lines_count,json=agentConfigLogLinesCount,proto3" json:"agent_config_log_lines_count,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Logs []string `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"` + AgentConfigLogLinesCount uint32 `protobuf:"varint,2,opt,name=agent_config_log_lines_count,json=agentConfigLogLinesCount,proto3" json:"agent_config_log_lines_count,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetAgentLogsResponse) Reset() { @@ -3331,14 +3339,13 @@ func (x *GetAgentLogsResponse) GetAgentConfigLogLinesCount() uint32 { } type AddPMMAgentRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Node identifier where this instance runs. RunsOnNodeId string `protobuf:"bytes,1,opt,name=runs_on_node_id,json=runsOnNodeId,proto3" json:"runs_on_node_id,omitempty"` // Custom user-assigned labels. - CustomLabels map[string]string `protobuf:"bytes,2,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,2,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddPMMAgentRequest) Reset() { @@ -3386,11 +3393,10 @@ func (x *AddPMMAgentRequest) GetCustomLabels() map[string]string { } type AddPMMAgentResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + PmmAgent *PMMAgent `protobuf:"bytes,1,opt,name=pmm_agent,json=pmmAgent,proto3" json:"pmm_agent,omitempty"` unknownFields protoimpl.UnknownFields - - PmmAgent *PMMAgent `protobuf:"bytes,1,opt,name=pmm_agent,json=pmmAgent,proto3" json:"pmm_agent,omitempty"` + sizeCache protoimpl.SizeCache } func (x *AddPMMAgentResponse) Reset() { @@ -3431,14 +3437,11 @@ func (x *AddPMMAgentResponse) GetPmmAgent() *PMMAgent { } type AddNodeExporterRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The pmm-agent identifier which runs this instance. PmmAgentId string `protobuf:"bytes,1,opt,name=pmm_agent_id,json=pmmAgentId,proto3" json:"pmm_agent_id,omitempty"` // Custom user-assigned labels. - CustomLabels map[string]string `protobuf:"bytes,2,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,2,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Enables push metrics mode for exporter. PushMetrics bool `protobuf:"varint,3,opt,name=push_metrics,json=pushMetrics,proto3" json:"push_metrics,omitempty"` // List of collector names to disable in this exporter. @@ -3447,6 +3450,8 @@ type AddNodeExporterRequest struct { LogLevel LogLevel `protobuf:"varint,5,opt,name=log_level,json=logLevel,proto3,enum=inventory.LogLevel" json:"log_level,omitempty"` // Expose the node_exporter process on all public interfaces ExposeExporter bool `protobuf:"varint,6,opt,name=expose_exporter,json=exposeExporter,proto3" json:"expose_exporter,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddNodeExporterRequest) Reset() { @@ -3522,11 +3527,10 @@ func (x *AddNodeExporterRequest) GetExposeExporter() bool { } type AddNodeExporterResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + NodeExporter *NodeExporter `protobuf:"bytes,1,opt,name=node_exporter,json=nodeExporter,proto3" json:"node_exporter,omitempty"` unknownFields protoimpl.UnknownFields - - NodeExporter *NodeExporter `protobuf:"bytes,1,opt,name=node_exporter,json=nodeExporter,proto3" json:"node_exporter,omitempty"` + sizeCache protoimpl.SizeCache } func (x *AddNodeExporterResponse) Reset() { @@ -3567,12 +3571,11 @@ func (x *AddNodeExporterResponse) GetNodeExporter() *NodeExporter { } type ChangeNodeExporterRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` + Common *ChangeCommonAgentParams `protobuf:"bytes,2,opt,name=common,proto3" json:"common,omitempty"` unknownFields protoimpl.UnknownFields - - AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` - Common *ChangeCommonAgentParams `protobuf:"bytes,2,opt,name=common,proto3" json:"common,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ChangeNodeExporterRequest) Reset() { @@ -3620,11 +3623,10 @@ func (x *ChangeNodeExporterRequest) GetCommon() *ChangeCommonAgentParams { } type ChangeNodeExporterResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + NodeExporter *NodeExporter `protobuf:"bytes,1,opt,name=node_exporter,json=nodeExporter,proto3" json:"node_exporter,omitempty"` unknownFields protoimpl.UnknownFields - - NodeExporter *NodeExporter `protobuf:"bytes,1,opt,name=node_exporter,json=nodeExporter,proto3" json:"node_exporter,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ChangeNodeExporterResponse) Reset() { @@ -3665,10 +3667,7 @@ func (x *ChangeNodeExporterResponse) GetNodeExporter() *NodeExporter { } type AddMySQLdExporterRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The pmm-agent identifier which runs this instance. PmmAgentId string `protobuf:"bytes,1,opt,name=pmm_agent_id,json=pmmAgentId,proto3" json:"pmm_agent_id,omitempty"` // Service identifier. @@ -3692,7 +3691,7 @@ type AddMySQLdExporterRequest struct { // Negative value means tablestats group collectors are always disabled. TablestatsGroupTableLimit int32 `protobuf:"varint,9,opt,name=tablestats_group_table_limit,json=tablestatsGroupTableLimit,proto3" json:"tablestats_group_table_limit,omitempty"` // Custom user-assigned labels. - CustomLabels map[string]string `protobuf:"bytes,7,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,7,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Skip connection check. SkipConnectionCheck bool `protobuf:"varint,8,opt,name=skip_connection_check,json=skipConnectionCheck,proto3" json:"skip_connection_check,omitempty"` // Enables push metrics mode for exporter. @@ -3705,6 +3704,8 @@ type AddMySQLdExporterRequest struct { LogLevel LogLevel `protobuf:"varint,16,opt,name=log_level,json=logLevel,proto3,enum=inventory.LogLevel" json:"log_level,omitempty"` // Optionally expose the exporter process on all public interfaces ExposeExporter bool `protobuf:"varint,17,opt,name=expose_exporter,json=exposeExporter,proto3" json:"expose_exporter,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddMySQLdExporterRequest) Reset() { @@ -3857,13 +3858,12 @@ func (x *AddMySQLdExporterRequest) GetExposeExporter() bool { } type AddMySQLdExporterResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - MysqldExporter *MySQLdExporter `protobuf:"bytes,1,opt,name=mysqld_exporter,json=mysqldExporter,proto3" json:"mysqld_exporter,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + MysqldExporter *MySQLdExporter `protobuf:"bytes,1,opt,name=mysqld_exporter,json=mysqldExporter,proto3" json:"mysqld_exporter,omitempty"` // Actual table count at the moment of adding. - TableCount int32 `protobuf:"varint,2,opt,name=table_count,json=tableCount,proto3" json:"table_count,omitempty"` + TableCount int32 `protobuf:"varint,2,opt,name=table_count,json=tableCount,proto3" json:"table_count,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddMySQLdExporterResponse) Reset() { @@ -3911,12 +3911,11 @@ func (x *AddMySQLdExporterResponse) GetTableCount() int32 { } type ChangeMySQLdExporterRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` + Common *ChangeCommonAgentParams `protobuf:"bytes,2,opt,name=common,proto3" json:"common,omitempty"` unknownFields protoimpl.UnknownFields - - AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` - Common *ChangeCommonAgentParams `protobuf:"bytes,2,opt,name=common,proto3" json:"common,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ChangeMySQLdExporterRequest) Reset() { @@ -3964,11 +3963,10 @@ func (x *ChangeMySQLdExporterRequest) GetCommon() *ChangeCommonAgentParams { } type ChangeMySQLdExporterResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - MysqldExporter *MySQLdExporter `protobuf:"bytes,1,opt,name=mysqld_exporter,json=mysqldExporter,proto3" json:"mysqld_exporter,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + MysqldExporter *MySQLdExporter `protobuf:"bytes,1,opt,name=mysqld_exporter,json=mysqldExporter,proto3" json:"mysqld_exporter,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ChangeMySQLdExporterResponse) Reset() { @@ -4009,10 +4007,7 @@ func (x *ChangeMySQLdExporterResponse) GetMysqldExporter() *MySQLdExporter { } type AddMongoDBExporterRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The pmm-agent identifier which runs this instance. PmmAgentId string `protobuf:"bytes,1,opt,name=pmm_agent_id,json=pmmAgentId,proto3" json:"pmm_agent_id,omitempty"` // Service identifier. @@ -4032,7 +4027,7 @@ type AddMongoDBExporterRequest struct { // Certificate Authority certificate chain. TlsCa string `protobuf:"bytes,12,opt,name=tls_ca,json=tlsCa,proto3" json:"tls_ca,omitempty"` // Custom user-assigned labels. - CustomLabels map[string]string `protobuf:"bytes,7,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,7,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Skip connection check. SkipConnectionCheck bool `protobuf:"varint,8,opt,name=skip_connection_check,json=skipConnectionCheck,proto3" json:"skip_connection_check,omitempty"` // Enables push metrics mode for exporter. @@ -4056,6 +4051,8 @@ type AddMongoDBExporterRequest struct { LogLevel LogLevel `protobuf:"varint,19,opt,name=log_level,json=logLevel,proto3,enum=inventory.LogLevel" json:"log_level,omitempty"` // Optionally expose the exporter process on all public interfaces ExposeExporter bool `protobuf:"varint,20,opt,name=expose_exporter,json=exposeExporter,proto3" json:"expose_exporter,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddMongoDBExporterRequest) Reset() { @@ -4229,11 +4226,10 @@ func (x *AddMongoDBExporterRequest) GetExposeExporter() bool { } type AddMongoDBExporterResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - MongodbExporter *MongoDBExporter `protobuf:"bytes,1,opt,name=mongodb_exporter,json=mongodbExporter,proto3" json:"mongodb_exporter,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + MongodbExporter *MongoDBExporter `protobuf:"bytes,1,opt,name=mongodb_exporter,json=mongodbExporter,proto3" json:"mongodb_exporter,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddMongoDBExporterResponse) Reset() { @@ -4274,12 +4270,11 @@ func (x *AddMongoDBExporterResponse) GetMongodbExporter() *MongoDBExporter { } type ChangeMongoDBExporterRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` + Common *ChangeCommonAgentParams `protobuf:"bytes,2,opt,name=common,proto3" json:"common,omitempty"` unknownFields protoimpl.UnknownFields - - AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` - Common *ChangeCommonAgentParams `protobuf:"bytes,2,opt,name=common,proto3" json:"common,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ChangeMongoDBExporterRequest) Reset() { @@ -4327,11 +4322,10 @@ func (x *ChangeMongoDBExporterRequest) GetCommon() *ChangeCommonAgentParams { } type ChangeMongoDBExporterResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - MongodbExporter *MongoDBExporter `protobuf:"bytes,1,opt,name=mongodb_exporter,json=mongodbExporter,proto3" json:"mongodb_exporter,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + MongodbExporter *MongoDBExporter `protobuf:"bytes,1,opt,name=mongodb_exporter,json=mongodbExporter,proto3" json:"mongodb_exporter,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ChangeMongoDBExporterResponse) Reset() { @@ -4372,10 +4366,7 @@ func (x *ChangeMongoDBExporterResponse) GetMongodbExporter() *MongoDBExporter { } type AddPostgresExporterRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The pmm-agent identifier which runs this instance. PmmAgentId string `protobuf:"bytes,1,opt,name=pmm_agent_id,json=pmmAgentId,proto3" json:"pmm_agent_id,omitempty"` // Service identifier. @@ -4389,7 +4380,7 @@ type AddPostgresExporterRequest struct { // Skip TLS certificate and hostname validation. Uses sslmode=required instead of verify-full. TlsSkipVerify bool `protobuf:"varint,6,opt,name=tls_skip_verify,json=tlsSkipVerify,proto3" json:"tls_skip_verify,omitempty"` // Custom user-assigned labels. - CustomLabels map[string]string `protobuf:"bytes,7,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,7,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Skip connection check. SkipConnectionCheck bool `protobuf:"varint,8,opt,name=skip_connection_check,json=skipConnectionCheck,proto3" json:"skip_connection_check,omitempty"` // Enables push metrics mode for exporter. @@ -4412,6 +4403,8 @@ type AddPostgresExporterRequest struct { ExposeExporter bool `protobuf:"varint,17,opt,name=expose_exporter,json=exposeExporter,proto3" json:"expose_exporter,omitempty"` // Maximum number of connections that exporter can open to the database instance. MaxExporterConnections int32 `protobuf:"varint,18,opt,name=max_exporter_connections,json=maxExporterConnections,proto3" json:"max_exporter_connections,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddPostgresExporterRequest) Reset() { @@ -4571,11 +4564,10 @@ func (x *AddPostgresExporterRequest) GetMaxExporterConnections() int32 { } type AddPostgresExporterResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - PostgresExporter *PostgresExporter `protobuf:"bytes,1,opt,name=postgres_exporter,json=postgresExporter,proto3" json:"postgres_exporter,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + PostgresExporter *PostgresExporter `protobuf:"bytes,1,opt,name=postgres_exporter,json=postgresExporter,proto3" json:"postgres_exporter,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddPostgresExporterResponse) Reset() { @@ -4616,12 +4608,11 @@ func (x *AddPostgresExporterResponse) GetPostgresExporter() *PostgresExporter { } type ChangePostgresExporterRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` + Common *ChangeCommonAgentParams `protobuf:"bytes,2,opt,name=common,proto3" json:"common,omitempty"` unknownFields protoimpl.UnknownFields - - AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` - Common *ChangeCommonAgentParams `protobuf:"bytes,2,opt,name=common,proto3" json:"common,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ChangePostgresExporterRequest) Reset() { @@ -4669,11 +4660,10 @@ func (x *ChangePostgresExporterRequest) GetCommon() *ChangeCommonAgentParams { } type ChangePostgresExporterResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - PostgresExporter *PostgresExporter `protobuf:"bytes,1,opt,name=postgres_exporter,json=postgresExporter,proto3" json:"postgres_exporter,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + PostgresExporter *PostgresExporter `protobuf:"bytes,1,opt,name=postgres_exporter,json=postgresExporter,proto3" json:"postgres_exporter,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ChangePostgresExporterResponse) Reset() { @@ -4714,10 +4704,7 @@ func (x *ChangePostgresExporterResponse) GetPostgresExporter() *PostgresExporter } type AddProxySQLExporterRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The pmm-agent identifier which runs this instance. PmmAgentId string `protobuf:"bytes,1,opt,name=pmm_agent_id,json=pmmAgentId,proto3" json:"pmm_agent_id,omitempty"` // Service identifier. @@ -4731,7 +4718,7 @@ type AddProxySQLExporterRequest struct { // Skip TLS certificate and hostname validation. TlsSkipVerify bool `protobuf:"varint,6,opt,name=tls_skip_verify,json=tlsSkipVerify,proto3" json:"tls_skip_verify,omitempty"` // Custom user-assigned labels. - CustomLabels map[string]string `protobuf:"bytes,7,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,7,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Skip connection check. SkipConnectionCheck bool `protobuf:"varint,8,opt,name=skip_connection_check,json=skipConnectionCheck,proto3" json:"skip_connection_check,omitempty"` // Enables push metrics mode for exporter. @@ -4744,6 +4731,8 @@ type AddProxySQLExporterRequest struct { LogLevel LogLevel `protobuf:"varint,12,opt,name=log_level,json=logLevel,proto3,enum=inventory.LogLevel" json:"log_level,omitempty"` // Optionally expose the exporter process on all public interfaces ExposeExporter bool `protobuf:"varint,13,opt,name=expose_exporter,json=exposeExporter,proto3" json:"expose_exporter,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddProxySQLExporterRequest) Reset() { @@ -4868,11 +4857,10 @@ func (x *AddProxySQLExporterRequest) GetExposeExporter() bool { } type AddProxySQLExporterResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ProxysqlExporter *ProxySQLExporter `protobuf:"bytes,1,opt,name=proxysql_exporter,json=proxysqlExporter,proto3" json:"proxysql_exporter,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + ProxysqlExporter *ProxySQLExporter `protobuf:"bytes,1,opt,name=proxysql_exporter,json=proxysqlExporter,proto3" json:"proxysql_exporter,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddProxySQLExporterResponse) Reset() { @@ -4913,12 +4901,11 @@ func (x *AddProxySQLExporterResponse) GetProxysqlExporter() *ProxySQLExporter { } type ChangeProxySQLExporterRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` + Common *ChangeCommonAgentParams `protobuf:"bytes,2,opt,name=common,proto3" json:"common,omitempty"` unknownFields protoimpl.UnknownFields - - AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` - Common *ChangeCommonAgentParams `protobuf:"bytes,2,opt,name=common,proto3" json:"common,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ChangeProxySQLExporterRequest) Reset() { @@ -4966,11 +4953,10 @@ func (x *ChangeProxySQLExporterRequest) GetCommon() *ChangeCommonAgentParams { } type ChangeProxySQLExporterResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ProxysqlExporter *ProxySQLExporter `protobuf:"bytes,1,opt,name=proxysql_exporter,json=proxysqlExporter,proto3" json:"proxysql_exporter,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + ProxysqlExporter *ProxySQLExporter `protobuf:"bytes,1,opt,name=proxysql_exporter,json=proxysqlExporter,proto3" json:"proxysql_exporter,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ChangeProxySQLExporterResponse) Reset() { @@ -5011,10 +4997,7 @@ func (x *ChangeProxySQLExporterResponse) GetProxysqlExporter() *ProxySQLExporter } type AddQANMySQLPerfSchemaAgentRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The pmm-agent identifier which runs this instance. PmmAgentId string `protobuf:"bytes,1,opt,name=pmm_agent_id,json=pmmAgentId,proto3" json:"pmm_agent_id,omitempty"` // Service identifier. @@ -5038,13 +5021,15 @@ type AddQANMySQLPerfSchemaAgentRequest struct { // Disable query examples. DisableQueryExamples bool `protobuf:"varint,7,opt,name=disable_query_examples,json=disableQueryExamples,proto3" json:"disable_query_examples,omitempty"` // Custom user-assigned labels. - CustomLabels map[string]string `protobuf:"bytes,8,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,8,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Skip connection check. SkipConnectionCheck bool `protobuf:"varint,9,opt,name=skip_connection_check,json=skipConnectionCheck,proto3" json:"skip_connection_check,omitempty"` // Disable parsing comments from queries and showing them in QAN. DisableCommentsParsing bool `protobuf:"varint,15,opt,name=disable_comments_parsing,json=disableCommentsParsing,proto3" json:"disable_comments_parsing,omitempty"` // Log level for exporter. - LogLevel LogLevel `protobuf:"varint,13,opt,name=log_level,json=logLevel,proto3,enum=inventory.LogLevel" json:"log_level,omitempty"` + LogLevel LogLevel `protobuf:"varint,13,opt,name=log_level,json=logLevel,proto3,enum=inventory.LogLevel" json:"log_level,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddQANMySQLPerfSchemaAgentRequest) Reset() { @@ -5183,11 +5168,10 @@ func (x *AddQANMySQLPerfSchemaAgentRequest) GetLogLevel() LogLevel { } type AddQANMySQLPerfSchemaAgentResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` QanMysqlPerfschemaAgent *QANMySQLPerfSchemaAgent `protobuf:"bytes,1,opt,name=qan_mysql_perfschema_agent,json=qanMysqlPerfschemaAgent,proto3" json:"qan_mysql_perfschema_agent,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddQANMySQLPerfSchemaAgentResponse) Reset() { @@ -5228,12 +5212,11 @@ func (x *AddQANMySQLPerfSchemaAgentResponse) GetQanMysqlPerfschemaAgent() *QANMy } type ChangeQANMySQLPerfSchemaAgentRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` + Common *ChangeCommonAgentParams `protobuf:"bytes,2,opt,name=common,proto3" json:"common,omitempty"` unknownFields protoimpl.UnknownFields - - AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` - Common *ChangeCommonAgentParams `protobuf:"bytes,2,opt,name=common,proto3" json:"common,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ChangeQANMySQLPerfSchemaAgentRequest) Reset() { @@ -5281,11 +5264,10 @@ func (x *ChangeQANMySQLPerfSchemaAgentRequest) GetCommon() *ChangeCommonAgentPar } type ChangeQANMySQLPerfSchemaAgentResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` QanMysqlPerfschemaAgent *QANMySQLPerfSchemaAgent `protobuf:"bytes,1,opt,name=qan_mysql_perfschema_agent,json=qanMysqlPerfschemaAgent,proto3" json:"qan_mysql_perfschema_agent,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ChangeQANMySQLPerfSchemaAgentResponse) Reset() { @@ -5326,10 +5308,7 @@ func (x *ChangeQANMySQLPerfSchemaAgentResponse) GetQanMysqlPerfschemaAgent() *QA } type AddQANMySQLSlowlogAgentRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The pmm-agent identifier which runs this instance. PmmAgentId string `protobuf:"bytes,1,opt,name=pmm_agent_id,json=pmmAgentId,proto3" json:"pmm_agent_id,omitempty"` // Service identifier. @@ -5356,13 +5335,15 @@ type AddQANMySQLSlowlogAgentRequest struct { // Use zero or negative value to disable rotation. MaxSlowlogFileSize int64 `protobuf:"varint,8,opt,name=max_slowlog_file_size,json=maxSlowlogFileSize,proto3" json:"max_slowlog_file_size,omitempty"` // Custom user-assigned labels. - CustomLabels map[string]string `protobuf:"bytes,9,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,9,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Skip connection check. SkipConnectionCheck bool `protobuf:"varint,10,opt,name=skip_connection_check,json=skipConnectionCheck,proto3" json:"skip_connection_check,omitempty"` // Disable parsing comments from queries and showing them in QAN. DisableCommentsParsing bool `protobuf:"varint,16,opt,name=disable_comments_parsing,json=disableCommentsParsing,proto3" json:"disable_comments_parsing,omitempty"` // Log level for exporter. - LogLevel LogLevel `protobuf:"varint,14,opt,name=log_level,json=logLevel,proto3,enum=inventory.LogLevel" json:"log_level,omitempty"` + LogLevel LogLevel `protobuf:"varint,14,opt,name=log_level,json=logLevel,proto3,enum=inventory.LogLevel" json:"log_level,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddQANMySQLSlowlogAgentRequest) Reset() { @@ -5508,11 +5489,10 @@ func (x *AddQANMySQLSlowlogAgentRequest) GetLogLevel() LogLevel { } type AddQANMySQLSlowlogAgentResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - QanMysqlSlowlogAgent *QANMySQLSlowlogAgent `protobuf:"bytes,1,opt,name=qan_mysql_slowlog_agent,json=qanMysqlSlowlogAgent,proto3" json:"qan_mysql_slowlog_agent,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + QanMysqlSlowlogAgent *QANMySQLSlowlogAgent `protobuf:"bytes,1,opt,name=qan_mysql_slowlog_agent,json=qanMysqlSlowlogAgent,proto3" json:"qan_mysql_slowlog_agent,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddQANMySQLSlowlogAgentResponse) Reset() { @@ -5553,12 +5533,11 @@ func (x *AddQANMySQLSlowlogAgentResponse) GetQanMysqlSlowlogAgent() *QANMySQLSlo } type ChangeQANMySQLSlowlogAgentRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` + Common *ChangeCommonAgentParams `protobuf:"bytes,2,opt,name=common,proto3" json:"common,omitempty"` unknownFields protoimpl.UnknownFields - - AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` - Common *ChangeCommonAgentParams `protobuf:"bytes,2,opt,name=common,proto3" json:"common,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ChangeQANMySQLSlowlogAgentRequest) Reset() { @@ -5606,11 +5585,10 @@ func (x *ChangeQANMySQLSlowlogAgentRequest) GetCommon() *ChangeCommonAgentParams } type ChangeQANMySQLSlowlogAgentResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - QanMysqlSlowlogAgent *QANMySQLSlowlogAgent `protobuf:"bytes,1,opt,name=qan_mysql_slowlog_agent,json=qanMysqlSlowlogAgent,proto3" json:"qan_mysql_slowlog_agent,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + QanMysqlSlowlogAgent *QANMySQLSlowlogAgent `protobuf:"bytes,1,opt,name=qan_mysql_slowlog_agent,json=qanMysqlSlowlogAgent,proto3" json:"qan_mysql_slowlog_agent,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ChangeQANMySQLSlowlogAgentResponse) Reset() { @@ -5651,10 +5629,7 @@ func (x *ChangeQANMySQLSlowlogAgentResponse) GetQanMysqlSlowlogAgent() *QANMySQL } type AddQANMongoDBProfilerAgentRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The pmm-agent identifier which runs this instance. PmmAgentId string `protobuf:"bytes,1,opt,name=pmm_agent_id,json=pmmAgentId,proto3" json:"pmm_agent_id,omitempty"` // Service identifier. @@ -5676,7 +5651,7 @@ type AddQANMongoDBProfilerAgentRequest struct { // Limit query length in QAN (default: server-defined; -1: no limit). MaxQueryLength int32 `protobuf:"varint,15,opt,name=max_query_length,json=maxQueryLength,proto3" json:"max_query_length,omitempty"` // Custom user-assigned labels. - CustomLabels map[string]string `protobuf:"bytes,7,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,7,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Skip connection check. SkipConnectionCheck bool `protobuf:"varint,8,opt,name=skip_connection_check,json=skipConnectionCheck,proto3" json:"skip_connection_check,omitempty"` // Authentication mechanism. @@ -5686,7 +5661,9 @@ type AddQANMongoDBProfilerAgentRequest struct { // Authentication database. AuthenticationDatabase string `protobuf:"bytes,13,opt,name=authentication_database,json=authenticationDatabase,proto3" json:"authentication_database,omitempty"` // Log level for exporter. - LogLevel LogLevel `protobuf:"varint,14,opt,name=log_level,json=logLevel,proto3,enum=inventory.LogLevel" json:"log_level,omitempty"` + LogLevel LogLevel `protobuf:"varint,14,opt,name=log_level,json=logLevel,proto3,enum=inventory.LogLevel" json:"log_level,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddQANMongoDBProfilerAgentRequest) Reset() { @@ -5825,11 +5802,10 @@ func (x *AddQANMongoDBProfilerAgentRequest) GetLogLevel() LogLevel { } type AddQANMongoDBProfilerAgentResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` QanMongodbProfilerAgent *QANMongoDBProfilerAgent `protobuf:"bytes,1,opt,name=qan_mongodb_profiler_agent,json=qanMongodbProfilerAgent,proto3" json:"qan_mongodb_profiler_agent,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddQANMongoDBProfilerAgentResponse) Reset() { @@ -5870,12 +5846,11 @@ func (x *AddQANMongoDBProfilerAgentResponse) GetQanMongodbProfilerAgent() *QANMo } type ChangeQANMongoDBProfilerAgentRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` + Common *ChangeCommonAgentParams `protobuf:"bytes,2,opt,name=common,proto3" json:"common,omitempty"` unknownFields protoimpl.UnknownFields - - AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` - Common *ChangeCommonAgentParams `protobuf:"bytes,2,opt,name=common,proto3" json:"common,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ChangeQANMongoDBProfilerAgentRequest) Reset() { @@ -5923,11 +5898,10 @@ func (x *ChangeQANMongoDBProfilerAgentRequest) GetCommon() *ChangeCommonAgentPar } type ChangeQANMongoDBProfilerAgentResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` QanMongodbProfilerAgent *QANMongoDBProfilerAgent `protobuf:"bytes,1,opt,name=qan_mongodb_profiler_agent,json=qanMongodbProfilerAgent,proto3" json:"qan_mongodb_profiler_agent,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ChangeQANMongoDBProfilerAgentResponse) Reset() { @@ -5968,10 +5942,7 @@ func (x *ChangeQANMongoDBProfilerAgentResponse) GetQanMongodbProfilerAgent() *QA } type AddQANPostgreSQLPgStatementsAgentRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The pmm-agent identifier which runs this instance. PmmAgentId string `protobuf:"bytes,1,opt,name=pmm_agent_id,json=pmmAgentId,proto3" json:"pmm_agent_id,omitempty"` // Service identifier. @@ -5985,7 +5956,7 @@ type AddQANPostgreSQLPgStatementsAgentRequest struct { // Skip TLS certificate and hostname validation. TlsSkipVerify bool `protobuf:"varint,6,opt,name=tls_skip_verify,json=tlsSkipVerify,proto3" json:"tls_skip_verify,omitempty"` // Custom user-assigned labels. - CustomLabels map[string]string `protobuf:"bytes,7,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,7,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Skip connection check. SkipConnectionCheck bool `protobuf:"varint,8,opt,name=skip_connection_check,json=skipConnectionCheck,proto3" json:"skip_connection_check,omitempty"` // Disable parsing comments from queries and showing them in QAN. @@ -5999,7 +5970,9 @@ type AddQANPostgreSQLPgStatementsAgentRequest struct { // TLS Certificate Key. TlsKey string `protobuf:"bytes,11,opt,name=tls_key,json=tlsKey,proto3" json:"tls_key,omitempty"` // Log level for exporter. - LogLevel LogLevel `protobuf:"varint,12,opt,name=log_level,json=logLevel,proto3,enum=inventory.LogLevel" json:"log_level,omitempty"` + LogLevel LogLevel `protobuf:"varint,12,opt,name=log_level,json=logLevel,proto3,enum=inventory.LogLevel" json:"log_level,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddQANPostgreSQLPgStatementsAgentRequest) Reset() { @@ -6131,11 +6104,10 @@ func (x *AddQANPostgreSQLPgStatementsAgentRequest) GetLogLevel() LogLevel { } type AddQANPostgreSQLPgStatementsAgentResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` QanPostgresqlPgstatementsAgent *QANPostgreSQLPgStatementsAgent `protobuf:"bytes,1,opt,name=qan_postgresql_pgstatements_agent,json=qanPostgresqlPgstatementsAgent,proto3" json:"qan_postgresql_pgstatements_agent,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddQANPostgreSQLPgStatementsAgentResponse) Reset() { @@ -6176,12 +6148,11 @@ func (x *AddQANPostgreSQLPgStatementsAgentResponse) GetQanPostgresqlPgstatements } type ChangeQANPostgreSQLPgStatementsAgentRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` + Common *ChangeCommonAgentParams `protobuf:"bytes,2,opt,name=common,proto3" json:"common,omitempty"` unknownFields protoimpl.UnknownFields - - AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` - Common *ChangeCommonAgentParams `protobuf:"bytes,2,opt,name=common,proto3" json:"common,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ChangeQANPostgreSQLPgStatementsAgentRequest) Reset() { @@ -6229,11 +6200,10 @@ func (x *ChangeQANPostgreSQLPgStatementsAgentRequest) GetCommon() *ChangeCommonA } type ChangeQANPostgreSQLPgStatementsAgentResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` QanPostgresqlPgstatementsAgent *QANPostgreSQLPgStatementsAgent `protobuf:"bytes,1,opt,name=qan_postgresql_pgstatements_agent,json=qanPostgresqlPgstatementsAgent,proto3" json:"qan_postgresql_pgstatements_agent,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ChangeQANPostgreSQLPgStatementsAgentResponse) Reset() { @@ -6274,10 +6244,7 @@ func (x *ChangeQANPostgreSQLPgStatementsAgentResponse) GetQanPostgresqlPgstateme } type AddQANPostgreSQLPgStatMonitorAgentRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The pmm-agent identifier which runs this instance. PmmAgentId string `protobuf:"bytes,1,opt,name=pmm_agent_id,json=pmmAgentId,proto3" json:"pmm_agent_id,omitempty"` // Service identifier. @@ -6295,7 +6262,7 @@ type AddQANPostgreSQLPgStatMonitorAgentRequest struct { // Disable query examples. DisableQueryExamples bool `protobuf:"varint,7,opt,name=disable_query_examples,json=disableQueryExamples,proto3" json:"disable_query_examples,omitempty"` // Custom user-assigned labels. - CustomLabels map[string]string `protobuf:"bytes,8,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,8,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Skip connection check. SkipConnectionCheck bool `protobuf:"varint,9,opt,name=skip_connection_check,json=skipConnectionCheck,proto3" json:"skip_connection_check,omitempty"` // Disable parsing comments from queries and showing them in QAN. @@ -6307,7 +6274,9 @@ type AddQANPostgreSQLPgStatMonitorAgentRequest struct { // TLS Certificate Key. TlsKey string `protobuf:"bytes,12,opt,name=tls_key,json=tlsKey,proto3" json:"tls_key,omitempty"` // Log level for exporter. - LogLevel LogLevel `protobuf:"varint,13,opt,name=log_level,json=logLevel,proto3,enum=inventory.LogLevel" json:"log_level,omitempty"` + LogLevel LogLevel `protobuf:"varint,13,opt,name=log_level,json=logLevel,proto3,enum=inventory.LogLevel" json:"log_level,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddQANPostgreSQLPgStatMonitorAgentRequest) Reset() { @@ -6446,11 +6415,10 @@ func (x *AddQANPostgreSQLPgStatMonitorAgentRequest) GetLogLevel() LogLevel { } type AddQANPostgreSQLPgStatMonitorAgentResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` QanPostgresqlPgstatmonitorAgent *QANPostgreSQLPgStatMonitorAgent `protobuf:"bytes,1,opt,name=qan_postgresql_pgstatmonitor_agent,json=qanPostgresqlPgstatmonitorAgent,proto3" json:"qan_postgresql_pgstatmonitor_agent,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddQANPostgreSQLPgStatMonitorAgentResponse) Reset() { @@ -6491,12 +6459,11 @@ func (x *AddQANPostgreSQLPgStatMonitorAgentResponse) GetQanPostgresqlPgstatmonit } type ChangeQANPostgreSQLPgStatMonitorAgentRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` + Common *ChangeCommonAgentParams `protobuf:"bytes,2,opt,name=common,proto3" json:"common,omitempty"` unknownFields protoimpl.UnknownFields - - AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` - Common *ChangeCommonAgentParams `protobuf:"bytes,2,opt,name=common,proto3" json:"common,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ChangeQANPostgreSQLPgStatMonitorAgentRequest) Reset() { @@ -6544,11 +6511,10 @@ func (x *ChangeQANPostgreSQLPgStatMonitorAgentRequest) GetCommon() *ChangeCommon } type ChangeQANPostgreSQLPgStatMonitorAgentResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` QanPostgresqlPgstatmonitorAgent *QANPostgreSQLPgStatMonitorAgent `protobuf:"bytes,1,opt,name=qan_postgresql_pgstatmonitor_agent,json=qanPostgresqlPgstatmonitorAgent,proto3" json:"qan_postgresql_pgstatmonitor_agent,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ChangeQANPostgreSQLPgStatMonitorAgentResponse) Reset() { @@ -6589,10 +6555,7 @@ func (x *ChangeQANPostgreSQLPgStatMonitorAgentResponse) GetQanPostgresqlPgstatmo } type AddRDSExporterRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The pmm-agent identifier which runs this instance. PmmAgentId string `protobuf:"bytes,1,opt,name=pmm_agent_id,json=pmmAgentId,proto3" json:"pmm_agent_id,omitempty"` // Node identifier. @@ -6602,7 +6565,7 @@ type AddRDSExporterRequest struct { // AWS Secret Key. AwsSecretKey string `protobuf:"bytes,4,opt,name=aws_secret_key,json=awsSecretKey,proto3" json:"aws_secret_key,omitempty"` // Custom user-assigned labels. - CustomLabels map[string]string `protobuf:"bytes,5,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,5,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Skip connection check. SkipConnectionCheck bool `protobuf:"varint,6,opt,name=skip_connection_check,json=skipConnectionCheck,proto3" json:"skip_connection_check,omitempty"` // Disable basic metrics. @@ -6612,7 +6575,9 @@ type AddRDSExporterRequest struct { // Enables push metrics mode for exporter. PushMetrics bool `protobuf:"varint,9,opt,name=push_metrics,json=pushMetrics,proto3" json:"push_metrics,omitempty"` // Log level for exporter. - LogLevel LogLevel `protobuf:"varint,10,opt,name=log_level,json=logLevel,proto3,enum=inventory.LogLevel" json:"log_level,omitempty"` + LogLevel LogLevel `protobuf:"varint,10,opt,name=log_level,json=logLevel,proto3,enum=inventory.LogLevel" json:"log_level,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddRDSExporterRequest) Reset() { @@ -6716,11 +6681,10 @@ func (x *AddRDSExporterRequest) GetLogLevel() LogLevel { } type AddRDSExporterResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + RdsExporter *RDSExporter `protobuf:"bytes,1,opt,name=rds_exporter,json=rdsExporter,proto3" json:"rds_exporter,omitempty"` unknownFields protoimpl.UnknownFields - - RdsExporter *RDSExporter `protobuf:"bytes,1,opt,name=rds_exporter,json=rdsExporter,proto3" json:"rds_exporter,omitempty"` + sizeCache protoimpl.SizeCache } func (x *AddRDSExporterResponse) Reset() { @@ -6761,12 +6725,11 @@ func (x *AddRDSExporterResponse) GetRdsExporter() *RDSExporter { } type ChangeRDSExporterRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` + Common *ChangeCommonAgentParams `protobuf:"bytes,2,opt,name=common,proto3" json:"common,omitempty"` unknownFields protoimpl.UnknownFields - - AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` - Common *ChangeCommonAgentParams `protobuf:"bytes,2,opt,name=common,proto3" json:"common,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ChangeRDSExporterRequest) Reset() { @@ -6814,11 +6777,10 @@ func (x *ChangeRDSExporterRequest) GetCommon() *ChangeCommonAgentParams { } type ChangeRDSExporterResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + RdsExporter *RDSExporter `protobuf:"bytes,1,opt,name=rds_exporter,json=rdsExporter,proto3" json:"rds_exporter,omitempty"` unknownFields protoimpl.UnknownFields - - RdsExporter *RDSExporter `protobuf:"bytes,1,opt,name=rds_exporter,json=rdsExporter,proto3" json:"rds_exporter,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ChangeRDSExporterResponse) Reset() { @@ -6859,10 +6821,7 @@ func (x *ChangeRDSExporterResponse) GetRdsExporter() *RDSExporter { } type AddExternalExporterRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The node identifier where this instance is run. RunsOnNodeId string `protobuf:"bytes,1,opt,name=runs_on_node_id,json=runsOnNodeId,proto3" json:"runs_on_node_id,omitempty"` // Service identifier. @@ -6878,9 +6837,11 @@ type AddExternalExporterRequest struct { // Listen port for scraping metrics. ListenPort uint32 `protobuf:"varint,8,opt,name=listen_port,json=listenPort,proto3" json:"listen_port,omitempty"` // Custom user-assigned labels. - CustomLabels map[string]string `protobuf:"bytes,10,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,10,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Enables push metrics mode for exporter. - PushMetrics bool `protobuf:"varint,11,opt,name=push_metrics,json=pushMetrics,proto3" json:"push_metrics,omitempty"` + PushMetrics bool `protobuf:"varint,11,opt,name=push_metrics,json=pushMetrics,proto3" json:"push_metrics,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddExternalExporterRequest) Reset() { @@ -6977,11 +6938,10 @@ func (x *AddExternalExporterRequest) GetPushMetrics() bool { } type AddExternalExporterResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ExternalExporter *ExternalExporter `protobuf:"bytes,1,opt,name=external_exporter,json=externalExporter,proto3" json:"external_exporter,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + ExternalExporter *ExternalExporter `protobuf:"bytes,1,opt,name=external_exporter,json=externalExporter,proto3" json:"external_exporter,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddExternalExporterResponse) Reset() { @@ -7022,12 +6982,11 @@ func (x *AddExternalExporterResponse) GetExternalExporter() *ExternalExporter { } type ChangeExternalExporterRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` + Common *ChangeCommonAgentParams `protobuf:"bytes,2,opt,name=common,proto3" json:"common,omitempty"` unknownFields protoimpl.UnknownFields - - AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` - Common *ChangeCommonAgentParams `protobuf:"bytes,2,opt,name=common,proto3" json:"common,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ChangeExternalExporterRequest) Reset() { @@ -7075,11 +7034,10 @@ func (x *ChangeExternalExporterRequest) GetCommon() *ChangeCommonAgentParams { } type ChangeExternalExporterResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ExternalExporter *ExternalExporter `protobuf:"bytes,1,opt,name=external_exporter,json=externalExporter,proto3" json:"external_exporter,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + ExternalExporter *ExternalExporter `protobuf:"bytes,1,opt,name=external_exporter,json=externalExporter,proto3" json:"external_exporter,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ChangeExternalExporterResponse) Reset() { @@ -7120,10 +7078,7 @@ func (x *ChangeExternalExporterResponse) GetExternalExporter() *ExternalExporter } type AddAzureDatabaseExporterRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The pmm-agent identifier which runs this instance. PmmAgentId string `protobuf:"bytes,1,opt,name=pmm_agent_id,json=pmmAgentId,proto3" json:"pmm_agent_id,omitempty"` // Node identifier. @@ -7141,13 +7096,15 @@ type AddAzureDatabaseExporterRequest struct { // Azure resource type (mysql, maria, postgres) AzureDatabaseResourceType string `protobuf:"bytes,7,opt,name=azure_database_resource_type,json=azureDatabaseResourceType,proto3" json:"azure_database_resource_type,omitempty"` // Custom user-assigned labels. - CustomLabels map[string]string `protobuf:"bytes,8,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,8,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Skip connection check. SkipConnectionCheck bool `protobuf:"varint,9,opt,name=skip_connection_check,json=skipConnectionCheck,proto3" json:"skip_connection_check,omitempty"` // Enables push metrics mode for exporter. PushMetrics bool `protobuf:"varint,10,opt,name=push_metrics,json=pushMetrics,proto3" json:"push_metrics,omitempty"` // Log level for exporter. - LogLevel LogLevel `protobuf:"varint,12,opt,name=log_level,json=logLevel,proto3,enum=inventory.LogLevel" json:"log_level,omitempty"` + LogLevel LogLevel `protobuf:"varint,12,opt,name=log_level,json=logLevel,proto3,enum=inventory.LogLevel" json:"log_level,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddAzureDatabaseExporterRequest) Reset() { @@ -7265,11 +7222,10 @@ func (x *AddAzureDatabaseExporterRequest) GetLogLevel() LogLevel { } type AddAzureDatabaseExporterResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` AzureDatabaseExporter *AzureDatabaseExporter `protobuf:"bytes,1,opt,name=azure_database_exporter,json=azureDatabaseExporter,proto3" json:"azure_database_exporter,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddAzureDatabaseExporterResponse) Reset() { @@ -7310,12 +7266,11 @@ func (x *AddAzureDatabaseExporterResponse) GetAzureDatabaseExporter() *AzureData } type ChangeAzureDatabaseExporterRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` + Common *ChangeCommonAgentParams `protobuf:"bytes,2,opt,name=common,proto3" json:"common,omitempty"` unknownFields protoimpl.UnknownFields - - AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` - Common *ChangeCommonAgentParams `protobuf:"bytes,2,opt,name=common,proto3" json:"common,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ChangeAzureDatabaseExporterRequest) Reset() { @@ -7363,11 +7318,10 @@ func (x *ChangeAzureDatabaseExporterRequest) GetCommon() *ChangeCommonAgentParam } type ChangeAzureDatabaseExporterResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` AzureDatabaseExporter *AzureDatabaseExporter `protobuf:"bytes,1,opt,name=azure_database_exporter,json=azureDatabaseExporter,proto3" json:"azure_database_exporter,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ChangeAzureDatabaseExporterResponse) Reset() { @@ -7408,13 +7362,12 @@ func (x *ChangeAzureDatabaseExporterResponse) GetAzureDatabaseExporter() *AzureD } type RemoveAgentRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` // Remove agent with all dependencies. - Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` + Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RemoveAgentRequest) Reset() { @@ -7462,9 +7415,9 @@ func (x *RemoveAgentRequest) GetForce() bool { } type RemoveAgentResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RemoveAgentResponse) Reset() { diff --git a/api/inventorypb/log_level.pb.go b/api/inventorypb/log_level.pb.go index 19b30e0c5a..33f020eb5f 100644 --- a/api/inventorypb/log_level.pb.go +++ b/api/inventorypb/log_level.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: inventorypb/log_level.proto diff --git a/api/inventorypb/nodes.pb.go b/api/inventorypb/nodes.pb.go index 236838e0b9..53d45375ff 100644 --- a/api/inventorypb/nodes.pb.go +++ b/api/inventorypb/nodes.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: inventorypb/nodes.proto @@ -85,10 +85,7 @@ func (NodeType) EnumDescriptor() ([]byte, []int) { // GenericNode represents a bare metal server or virtual machine. type GenericNode struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique randomly generated instance identifier. NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` // Unique across all Nodes user-defined name. @@ -106,7 +103,9 @@ type GenericNode struct { // Node availability zone. Az string `protobuf:"bytes,8,opt,name=az,proto3" json:"az,omitempty"` // Custom user-assigned labels. - CustomLabels map[string]string `protobuf:"bytes,9,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,9,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GenericNode) Reset() { @@ -204,10 +203,7 @@ func (x *GenericNode) GetCustomLabels() map[string]string { // ContainerNode represents a Docker container. type ContainerNode struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique randomly generated instance identifier. NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` // Unique across all Nodes user-defined name. @@ -227,7 +223,9 @@ type ContainerNode struct { // Node availability zone. Az string `protobuf:"bytes,9,opt,name=az,proto3" json:"az,omitempty"` // Custom user-assigned labels. - CustomLabels map[string]string `protobuf:"bytes,10,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,10,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ContainerNode) Reset() { @@ -332,10 +330,7 @@ func (x *ContainerNode) GetCustomLabels() map[string]string { // RemoteNode represents generic remote Node. It's a node where we don't run pmm-agents. Only external exporters can run on Remote Nodes. type RemoteNode struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique randomly generated instance identifier. NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` // Unique across all Nodes user-defined name. @@ -349,7 +344,9 @@ type RemoteNode struct { // Node availability zone. Az string `protobuf:"bytes,6,opt,name=az,proto3" json:"az,omitempty"` // Custom user-assigned labels. - CustomLabels map[string]string `protobuf:"bytes,7,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,7,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RemoteNode) Reset() { @@ -433,10 +430,7 @@ func (x *RemoteNode) GetCustomLabels() map[string]string { // RemoteRDSNode represents remote RDS Node. Agents can't run on Remote RDS Nodes. type RemoteRDSNode struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique randomly generated instance identifier. NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` // Unique across all Nodes user-defined name. @@ -450,7 +444,9 @@ type RemoteRDSNode struct { // Node availability zone. Az string `protobuf:"bytes,6,opt,name=az,proto3" json:"az,omitempty"` // Custom user-assigned labels. - CustomLabels map[string]string `protobuf:"bytes,7,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,7,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RemoteRDSNode) Reset() { @@ -534,10 +530,7 @@ func (x *RemoteRDSNode) GetCustomLabels() map[string]string { // RemoteAzureDatabaseNode represents remote AzureDatabase Node. Agents can't run on Remote AzureDatabase Nodes. type RemoteAzureDatabaseNode struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique randomly generated instance identifier. NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` // Unique across all Nodes user-defined name. @@ -551,7 +544,9 @@ type RemoteAzureDatabaseNode struct { // Node availability zone. Az string `protobuf:"bytes,6,opt,name=az,proto3" json:"az,omitempty"` // Custom user-assigned labels. - CustomLabels map[string]string `protobuf:"bytes,7,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,7,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RemoteAzureDatabaseNode) Reset() { @@ -634,12 +629,11 @@ func (x *RemoteAzureDatabaseNode) GetCustomLabels() map[string]string { } type ListNodesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Return only Nodes with matching Node type. - NodeType NodeType `protobuf:"varint,1,opt,name=node_type,json=nodeType,proto3,enum=inventory.NodeType" json:"node_type,omitempty"` + NodeType NodeType `protobuf:"varint,1,opt,name=node_type,json=nodeType,proto3,enum=inventory.NodeType" json:"node_type,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListNodesRequest) Reset() { @@ -680,15 +674,14 @@ func (x *ListNodesRequest) GetNodeType() NodeType { } type ListNodesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` Generic []*GenericNode `protobuf:"bytes,1,rep,name=generic,proto3" json:"generic,omitempty"` Container []*ContainerNode `protobuf:"bytes,2,rep,name=container,proto3" json:"container,omitempty"` Remote []*RemoteNode `protobuf:"bytes,3,rep,name=remote,proto3" json:"remote,omitempty"` RemoteRds []*RemoteRDSNode `protobuf:"bytes,4,rep,name=remote_rds,json=remoteRds,proto3" json:"remote_rds,omitempty"` RemoteAzureDatabase []*RemoteAzureDatabaseNode `protobuf:"bytes,5,rep,name=remote_azure_database,json=remoteAzureDatabase,proto3" json:"remote_azure_database,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListNodesResponse) Reset() { @@ -757,12 +750,11 @@ func (x *ListNodesResponse) GetRemoteAzureDatabase() []*RemoteAzureDatabaseNode } type GetNodeRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique randomly generated instance identifier. - NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` + NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetNodeRequest) Reset() { @@ -803,18 +795,17 @@ func (x *GetNodeRequest) GetNodeId() string { } type GetNodeResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Node: + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to Node: // // *GetNodeResponse_Generic // *GetNodeResponse_Container // *GetNodeResponse_Remote // *GetNodeResponse_RemoteRds // *GetNodeResponse_RemoteAzureDatabase - Node isGetNodeResponse_Node `protobuf_oneof:"node"` + Node isGetNodeResponse_Node `protobuf_oneof:"node"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetNodeResponse) Reset() { @@ -847,44 +838,54 @@ func (*GetNodeResponse) Descriptor() ([]byte, []int) { return file_inventorypb_nodes_proto_rawDescGZIP(), []int{8} } -func (m *GetNodeResponse) GetNode() isGetNodeResponse_Node { - if m != nil { - return m.Node +func (x *GetNodeResponse) GetNode() isGetNodeResponse_Node { + if x != nil { + return x.Node } return nil } func (x *GetNodeResponse) GetGeneric() *GenericNode { - if x, ok := x.GetNode().(*GetNodeResponse_Generic); ok { - return x.Generic + if x != nil { + if x, ok := x.Node.(*GetNodeResponse_Generic); ok { + return x.Generic + } } return nil } func (x *GetNodeResponse) GetContainer() *ContainerNode { - if x, ok := x.GetNode().(*GetNodeResponse_Container); ok { - return x.Container + if x != nil { + if x, ok := x.Node.(*GetNodeResponse_Container); ok { + return x.Container + } } return nil } func (x *GetNodeResponse) GetRemote() *RemoteNode { - if x, ok := x.GetNode().(*GetNodeResponse_Remote); ok { - return x.Remote + if x != nil { + if x, ok := x.Node.(*GetNodeResponse_Remote); ok { + return x.Remote + } } return nil } func (x *GetNodeResponse) GetRemoteRds() *RemoteRDSNode { - if x, ok := x.GetNode().(*GetNodeResponse_RemoteRds); ok { - return x.RemoteRds + if x != nil { + if x, ok := x.Node.(*GetNodeResponse_RemoteRds); ok { + return x.RemoteRds + } } return nil } func (x *GetNodeResponse) GetRemoteAzureDatabase() *RemoteAzureDatabaseNode { - if x, ok := x.GetNode().(*GetNodeResponse_RemoteAzureDatabase); ok { - return x.RemoteAzureDatabase + if x != nil { + if x, ok := x.Node.(*GetNodeResponse_RemoteAzureDatabase); ok { + return x.RemoteAzureDatabase + } } return nil } @@ -924,18 +925,17 @@ func (*GetNodeResponse_RemoteRds) isGetNodeResponse_Node() {} func (*GetNodeResponse_RemoteAzureDatabase) isGetNodeResponse_Node() {} type AddNodeRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Request: + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to Request: // // *AddNodeRequest_Generic // *AddNodeRequest_Container // *AddNodeRequest_Remote // *AddNodeRequest_RemoteRds // *AddNodeRequest_RemoteAzure - Request isAddNodeRequest_Request `protobuf_oneof:"request"` + Request isAddNodeRequest_Request `protobuf_oneof:"request"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddNodeRequest) Reset() { @@ -968,44 +968,54 @@ func (*AddNodeRequest) Descriptor() ([]byte, []int) { return file_inventorypb_nodes_proto_rawDescGZIP(), []int{9} } -func (m *AddNodeRequest) GetRequest() isAddNodeRequest_Request { - if m != nil { - return m.Request +func (x *AddNodeRequest) GetRequest() isAddNodeRequest_Request { + if x != nil { + return x.Request } return nil } func (x *AddNodeRequest) GetGeneric() *AddGenericNodeRequest { - if x, ok := x.GetRequest().(*AddNodeRequest_Generic); ok { - return x.Generic + if x != nil { + if x, ok := x.Request.(*AddNodeRequest_Generic); ok { + return x.Generic + } } return nil } func (x *AddNodeRequest) GetContainer() *AddContainerNodeRequest { - if x, ok := x.GetRequest().(*AddNodeRequest_Container); ok { - return x.Container + if x != nil { + if x, ok := x.Request.(*AddNodeRequest_Container); ok { + return x.Container + } } return nil } func (x *AddNodeRequest) GetRemote() *AddRemoteNodeRequest { - if x, ok := x.GetRequest().(*AddNodeRequest_Remote); ok { - return x.Remote + if x != nil { + if x, ok := x.Request.(*AddNodeRequest_Remote); ok { + return x.Remote + } } return nil } func (x *AddNodeRequest) GetRemoteRds() *AddRemoteRDSNodeRequest { - if x, ok := x.GetRequest().(*AddNodeRequest_RemoteRds); ok { - return x.RemoteRds + if x != nil { + if x, ok := x.Request.(*AddNodeRequest_RemoteRds); ok { + return x.RemoteRds + } } return nil } func (x *AddNodeRequest) GetRemoteAzure() *AddRemoteAzureDatabaseNodeRequest { - if x, ok := x.GetRequest().(*AddNodeRequest_RemoteAzure); ok { - return x.RemoteAzure + if x != nil { + if x, ok := x.Request.(*AddNodeRequest_RemoteAzure); ok { + return x.RemoteAzure + } } return nil } @@ -1045,18 +1055,17 @@ func (*AddNodeRequest_RemoteRds) isAddNodeRequest_Request() {} func (*AddNodeRequest_RemoteAzure) isAddNodeRequest_Request() {} type AddNodeResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Node: + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to Node: // // *AddNodeResponse_Generic // *AddNodeResponse_Container // *AddNodeResponse_Remote // *AddNodeResponse_RemoteRds // *AddNodeResponse_RemoteAzureDatabase - Node isAddNodeResponse_Node `protobuf_oneof:"node"` + Node isAddNodeResponse_Node `protobuf_oneof:"node"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddNodeResponse) Reset() { @@ -1089,44 +1098,54 @@ func (*AddNodeResponse) Descriptor() ([]byte, []int) { return file_inventorypb_nodes_proto_rawDescGZIP(), []int{10} } -func (m *AddNodeResponse) GetNode() isAddNodeResponse_Node { - if m != nil { - return m.Node +func (x *AddNodeResponse) GetNode() isAddNodeResponse_Node { + if x != nil { + return x.Node } return nil } func (x *AddNodeResponse) GetGeneric() *GenericNode { - if x, ok := x.GetNode().(*AddNodeResponse_Generic); ok { - return x.Generic + if x != nil { + if x, ok := x.Node.(*AddNodeResponse_Generic); ok { + return x.Generic + } } return nil } func (x *AddNodeResponse) GetContainer() *ContainerNode { - if x, ok := x.GetNode().(*AddNodeResponse_Container); ok { - return x.Container + if x != nil { + if x, ok := x.Node.(*AddNodeResponse_Container); ok { + return x.Container + } } return nil } func (x *AddNodeResponse) GetRemote() *RemoteNode { - if x, ok := x.GetNode().(*AddNodeResponse_Remote); ok { - return x.Remote + if x != nil { + if x, ok := x.Node.(*AddNodeResponse_Remote); ok { + return x.Remote + } } return nil } func (x *AddNodeResponse) GetRemoteRds() *RemoteRDSNode { - if x, ok := x.GetNode().(*AddNodeResponse_RemoteRds); ok { - return x.RemoteRds + if x != nil { + if x, ok := x.Node.(*AddNodeResponse_RemoteRds); ok { + return x.RemoteRds + } } return nil } func (x *AddNodeResponse) GetRemoteAzureDatabase() *RemoteAzureDatabaseNode { - if x, ok := x.GetNode().(*AddNodeResponse_RemoteAzureDatabase); ok { - return x.RemoteAzureDatabase + if x != nil { + if x, ok := x.Node.(*AddNodeResponse_RemoteAzureDatabase); ok { + return x.RemoteAzureDatabase + } } return nil } @@ -1166,10 +1185,7 @@ func (*AddNodeResponse_RemoteRds) isAddNodeResponse_Node() {} func (*AddNodeResponse_RemoteAzureDatabase) isAddNodeResponse_Node() {} type AddGenericNodeRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique across all Nodes user-defined name. NodeName string `protobuf:"bytes,1,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"` // Node address (DNS name or IP). @@ -1185,7 +1201,9 @@ type AddGenericNodeRequest struct { // Node availability zone. Az string `protobuf:"bytes,7,opt,name=az,proto3" json:"az,omitempty"` // Custom user-assigned labels. - CustomLabels map[string]string `protobuf:"bytes,8,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,8,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddGenericNodeRequest) Reset() { @@ -1276,11 +1294,10 @@ func (x *AddGenericNodeRequest) GetCustomLabels() map[string]string { // Deprecated: Marked as deprecated in inventorypb/nodes.proto. type AddGenericNodeResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Generic *GenericNode `protobuf:"bytes,1,opt,name=generic,proto3" json:"generic,omitempty"` unknownFields protoimpl.UnknownFields - - Generic *GenericNode `protobuf:"bytes,1,opt,name=generic,proto3" json:"generic,omitempty"` + sizeCache protoimpl.SizeCache } func (x *AddGenericNodeResponse) Reset() { @@ -1321,10 +1338,7 @@ func (x *AddGenericNodeResponse) GetGeneric() *GenericNode { } type AddContainerNodeRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique across all Nodes user-defined name. NodeName string `protobuf:"bytes,1,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"` // Node address (DNS name or IP). @@ -1342,7 +1356,9 @@ type AddContainerNodeRequest struct { // Node availability zone. Az string `protobuf:"bytes,8,opt,name=az,proto3" json:"az,omitempty"` // Custom user-assigned labels. - CustomLabels map[string]string `protobuf:"bytes,9,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,9,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddContainerNodeRequest) Reset() { @@ -1440,11 +1456,10 @@ func (x *AddContainerNodeRequest) GetCustomLabels() map[string]string { // Deprecated: Marked as deprecated in inventorypb/nodes.proto. type AddContainerNodeResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Container *ContainerNode `protobuf:"bytes,1,opt,name=container,proto3" json:"container,omitempty"` unknownFields protoimpl.UnknownFields - - Container *ContainerNode `protobuf:"bytes,1,opt,name=container,proto3" json:"container,omitempty"` + sizeCache protoimpl.SizeCache } func (x *AddContainerNodeResponse) Reset() { @@ -1485,10 +1500,7 @@ func (x *AddContainerNodeResponse) GetContainer() *ContainerNode { } type AddRemoteNodeRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique across all Nodes user-defined name. NodeName string `protobuf:"bytes,1,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"` // Node address (DNS name or IP). @@ -1500,7 +1512,9 @@ type AddRemoteNodeRequest struct { // Node availability zone. Az string `protobuf:"bytes,5,opt,name=az,proto3" json:"az,omitempty"` // Custom user-assigned labels. - CustomLabels map[string]string `protobuf:"bytes,6,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,6,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddRemoteNodeRequest) Reset() { @@ -1577,11 +1591,10 @@ func (x *AddRemoteNodeRequest) GetCustomLabels() map[string]string { // Deprecated: Marked as deprecated in inventorypb/nodes.proto. type AddRemoteNodeResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Remote *RemoteNode `protobuf:"bytes,1,opt,name=remote,proto3" json:"remote,omitempty"` unknownFields protoimpl.UnknownFields - - Remote *RemoteNode `protobuf:"bytes,1,opt,name=remote,proto3" json:"remote,omitempty"` + sizeCache protoimpl.SizeCache } func (x *AddRemoteNodeResponse) Reset() { @@ -1622,10 +1635,7 @@ func (x *AddRemoteNodeResponse) GetRemote() *RemoteNode { } type AddRemoteRDSNodeRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique across all Nodes user-defined name. NodeName string `protobuf:"bytes,1,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"` // DB instance identifier. @@ -1637,7 +1647,9 @@ type AddRemoteRDSNodeRequest struct { // Node availability zone. Az string `protobuf:"bytes,5,opt,name=az,proto3" json:"az,omitempty"` // Custom user-assigned labels. - CustomLabels map[string]string `protobuf:"bytes,6,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,6,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddRemoteRDSNodeRequest) Reset() { @@ -1714,11 +1726,10 @@ func (x *AddRemoteRDSNodeRequest) GetCustomLabels() map[string]string { // Deprecated: Marked as deprecated in inventorypb/nodes.proto. type AddRemoteRDSNodeResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + RemoteRds *RemoteRDSNode `protobuf:"bytes,1,opt,name=remote_rds,json=remoteRds,proto3" json:"remote_rds,omitempty"` unknownFields protoimpl.UnknownFields - - RemoteRds *RemoteRDSNode `protobuf:"bytes,1,opt,name=remote_rds,json=remoteRds,proto3" json:"remote_rds,omitempty"` + sizeCache protoimpl.SizeCache } func (x *AddRemoteRDSNodeResponse) Reset() { @@ -1759,10 +1770,7 @@ func (x *AddRemoteRDSNodeResponse) GetRemoteRds() *RemoteRDSNode { } type AddRemoteAzureDatabaseNodeRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique across all Nodes user-defined name. NodeName string `protobuf:"bytes,1,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"` // DB instance identifier. @@ -1774,7 +1782,9 @@ type AddRemoteAzureDatabaseNodeRequest struct { // Node availability zone. Az string `protobuf:"bytes,5,opt,name=az,proto3" json:"az,omitempty"` // Custom user-assigned labels. - CustomLabels map[string]string `protobuf:"bytes,6,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,6,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddRemoteAzureDatabaseNodeRequest) Reset() { @@ -1851,11 +1861,10 @@ func (x *AddRemoteAzureDatabaseNodeRequest) GetCustomLabels() map[string]string // Deprecated: Marked as deprecated in inventorypb/nodes.proto. type AddRemoteAzureDatabaseNodeResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` RemoteAzureDatabase *RemoteAzureDatabaseNode `protobuf:"bytes,1,opt,name=remote_azure_database,json=remoteAzureDatabase,proto3" json:"remote_azure_database,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddRemoteAzureDatabaseNodeResponse) Reset() { @@ -1896,14 +1905,13 @@ func (x *AddRemoteAzureDatabaseNodeResponse) GetRemoteAzureDatabase() *RemoteAzu } type RemoveNodeRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique randomly generated instance identifier. NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` // Remove node with all dependencies. - Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` + Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RemoveNodeRequest) Reset() { @@ -1951,9 +1959,9 @@ func (x *RemoveNodeRequest) GetForce() bool { } type RemoveNodeResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RemoveNodeResponse) Reset() { diff --git a/api/inventorypb/services.pb.go b/api/inventorypb/services.pb.go index a36c7d380a..60ffe7a1fe 100644 --- a/api/inventorypb/services.pb.go +++ b/api/inventorypb/services.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: inventorypb/services.proto @@ -88,10 +88,7 @@ func (ServiceType) EnumDescriptor() ([]byte, []int) { // MySQLService represents a generic MySQL instance. type MySQLService struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique randomly generated instance identifier. ServiceId string `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` // Unique across all Services user-defined name. @@ -114,9 +111,11 @@ type MySQLService struct { // Replication set name. ReplicationSet string `protobuf:"bytes,8,opt,name=replication_set,json=replicationSet,proto3" json:"replication_set,omitempty"` // Custom user-assigned labels. - CustomLabels map[string]string `protobuf:"bytes,9,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,9,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // MySQL version. - Version string `protobuf:"bytes,11,opt,name=version,proto3" json:"version,omitempty"` + Version string `protobuf:"bytes,11,opt,name=version,proto3" json:"version,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MySQLService) Reset() { @@ -228,10 +227,7 @@ func (x *MySQLService) GetVersion() string { // MongoDBService represents a generic MongoDB instance. type MongoDBService struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique randomly generated instance identifier. ServiceId string `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` // Unique across all Services user-defined name. @@ -254,9 +250,11 @@ type MongoDBService struct { // Replication set name. ReplicationSet string `protobuf:"bytes,8,opt,name=replication_set,json=replicationSet,proto3" json:"replication_set,omitempty"` // Custom user-assigned labels. - CustomLabels map[string]string `protobuf:"bytes,9,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,9,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // MongoDB version. - Version string `protobuf:"bytes,11,opt,name=version,proto3" json:"version,omitempty"` + Version string `protobuf:"bytes,11,opt,name=version,proto3" json:"version,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MongoDBService) Reset() { @@ -368,10 +366,7 @@ func (x *MongoDBService) GetVersion() string { // PostgreSQLService represents a generic PostgreSQL instance. type PostgreSQLService struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique randomly generated instance identifier. ServiceId string `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` // Unique across all Services user-defined name. @@ -396,11 +391,13 @@ type PostgreSQLService struct { // Replication set name. ReplicationSet string `protobuf:"bytes,8,opt,name=replication_set,json=replicationSet,proto3" json:"replication_set,omitempty"` // Custom user-assigned labels. - CustomLabels map[string]string `protobuf:"bytes,9,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,9,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // PostgreSQL version. Version string `protobuf:"bytes,12,opt,name=version,proto3" json:"version,omitempty"` // Limit of databases for auto-discovery. AutoDiscoveryLimit int32 `protobuf:"varint,13,opt,name=auto_discovery_limit,json=autoDiscoveryLimit,proto3" json:"auto_discovery_limit,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PostgreSQLService) Reset() { @@ -526,10 +523,7 @@ func (x *PostgreSQLService) GetAutoDiscoveryLimit() int32 { // ProxySQLService represents a generic ProxySQL instance. type ProxySQLService struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique randomly generated instance identifier. ServiceId string `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` // Unique across all Services user-defined name. @@ -552,9 +546,11 @@ type ProxySQLService struct { // Replication set name. ReplicationSet string `protobuf:"bytes,8,opt,name=replication_set,json=replicationSet,proto3" json:"replication_set,omitempty"` // Custom user-assigned labels. - CustomLabels map[string]string `protobuf:"bytes,9,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,9,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // ProxySQL version. - Version string `protobuf:"bytes,11,opt,name=version,proto3" json:"version,omitempty"` + Version string `protobuf:"bytes,11,opt,name=version,proto3" json:"version,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ProxySQLService) Reset() { @@ -666,10 +662,7 @@ func (x *ProxySQLService) GetVersion() string { // HAProxyService represents a generic HAProxy service instance. type HAProxyService struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique randomly generated instance identifier. ServiceId string `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` // Unique across all Services user-defined name. @@ -683,7 +676,9 @@ type HAProxyService struct { // Replication set name. ReplicationSet string `protobuf:"bytes,6,opt,name=replication_set,json=replicationSet,proto3" json:"replication_set,omitempty"` // Custom user-assigned labels. - CustomLabels map[string]string `protobuf:"bytes,7,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,7,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *HAProxyService) Reset() { @@ -767,10 +762,7 @@ func (x *HAProxyService) GetCustomLabels() map[string]string { // ExternalService represents a generic External service instance. type ExternalService struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique randomly generated instance identifier. ServiceId string `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` // Unique across all Services user-defined name. @@ -784,9 +776,11 @@ type ExternalService struct { // Replication set name. ReplicationSet string `protobuf:"bytes,6,opt,name=replication_set,json=replicationSet,proto3" json:"replication_set,omitempty"` // Custom user-assigned labels. - CustomLabels map[string]string `protobuf:"bytes,7,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,7,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Group name of external service. - Group string `protobuf:"bytes,8,opt,name=group,proto3" json:"group,omitempty"` + Group string `protobuf:"bytes,8,opt,name=group,proto3" json:"group,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ExternalService) Reset() { @@ -876,16 +870,15 @@ func (x *ExternalService) GetGroup() string { } type ListServicesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Return only Services running on that Node. NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` // Return only services filtered by service type. ServiceType ServiceType `protobuf:"varint,2,opt,name=service_type,json=serviceType,proto3,enum=inventory.ServiceType" json:"service_type,omitempty"` // Return only services in this external group. ExternalGroup string `protobuf:"bytes,3,opt,name=external_group,json=externalGroup,proto3" json:"external_group,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListServicesRequest) Reset() { @@ -940,16 +933,15 @@ func (x *ListServicesRequest) GetExternalGroup() string { } type ListServicesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Mysql []*MySQLService `protobuf:"bytes,1,rep,name=mysql,proto3" json:"mysql,omitempty"` + Mongodb []*MongoDBService `protobuf:"bytes,3,rep,name=mongodb,proto3" json:"mongodb,omitempty"` + Postgresql []*PostgreSQLService `protobuf:"bytes,4,rep,name=postgresql,proto3" json:"postgresql,omitempty"` + Proxysql []*ProxySQLService `protobuf:"bytes,5,rep,name=proxysql,proto3" json:"proxysql,omitempty"` + Haproxy []*HAProxyService `protobuf:"bytes,7,rep,name=haproxy,proto3" json:"haproxy,omitempty"` + External []*ExternalService `protobuf:"bytes,6,rep,name=external,proto3" json:"external,omitempty"` unknownFields protoimpl.UnknownFields - - Mysql []*MySQLService `protobuf:"bytes,1,rep,name=mysql,proto3" json:"mysql,omitempty"` - Mongodb []*MongoDBService `protobuf:"bytes,3,rep,name=mongodb,proto3" json:"mongodb,omitempty"` - Postgresql []*PostgreSQLService `protobuf:"bytes,4,rep,name=postgresql,proto3" json:"postgresql,omitempty"` - Proxysql []*ProxySQLService `protobuf:"bytes,5,rep,name=proxysql,proto3" json:"proxysql,omitempty"` - Haproxy []*HAProxyService `protobuf:"bytes,7,rep,name=haproxy,proto3" json:"haproxy,omitempty"` - External []*ExternalService `protobuf:"bytes,6,rep,name=external,proto3" json:"external,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListServicesResponse) Reset() { @@ -1025,9 +1017,9 @@ func (x *ListServicesResponse) GetExternal() []*ExternalService { } type ListActiveServiceTypesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListActiveServiceTypesRequest) Reset() { @@ -1061,11 +1053,10 @@ func (*ListActiveServiceTypesRequest) Descriptor() ([]byte, []int) { } type ListActiveServiceTypesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + ServiceTypes []ServiceType `protobuf:"varint,1,rep,packed,name=service_types,json=serviceTypes,proto3,enum=inventory.ServiceType" json:"service_types,omitempty"` unknownFields protoimpl.UnknownFields - - ServiceTypes []ServiceType `protobuf:"varint,1,rep,packed,name=service_types,json=serviceTypes,proto3,enum=inventory.ServiceType" json:"service_types,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListActiveServiceTypesResponse) Reset() { @@ -1106,12 +1097,11 @@ func (x *ListActiveServiceTypesResponse) GetServiceTypes() []ServiceType { } type GetServiceRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique randomly generated instance identifier. - ServiceId string `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` + ServiceId string `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetServiceRequest) Reset() { @@ -1152,11 +1142,8 @@ func (x *GetServiceRequest) GetServiceId() string { } type GetServiceResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // Types that are assignable to Service: + state protoimpl.MessageState `protogen:"open.v1"` + // Types that are valid to be assigned to Service: // // *GetServiceResponse_Mysql // *GetServiceResponse_Mongodb @@ -1164,7 +1151,9 @@ type GetServiceResponse struct { // *GetServiceResponse_Proxysql // *GetServiceResponse_Haproxy // *GetServiceResponse_External - Service isGetServiceResponse_Service `protobuf_oneof:"service"` + Service isGetServiceResponse_Service `protobuf_oneof:"service"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetServiceResponse) Reset() { @@ -1197,51 +1186,63 @@ func (*GetServiceResponse) Descriptor() ([]byte, []int) { return file_inventorypb_services_proto_rawDescGZIP(), []int{11} } -func (m *GetServiceResponse) GetService() isGetServiceResponse_Service { - if m != nil { - return m.Service +func (x *GetServiceResponse) GetService() isGetServiceResponse_Service { + if x != nil { + return x.Service } return nil } func (x *GetServiceResponse) GetMysql() *MySQLService { - if x, ok := x.GetService().(*GetServiceResponse_Mysql); ok { - return x.Mysql + if x != nil { + if x, ok := x.Service.(*GetServiceResponse_Mysql); ok { + return x.Mysql + } } return nil } func (x *GetServiceResponse) GetMongodb() *MongoDBService { - if x, ok := x.GetService().(*GetServiceResponse_Mongodb); ok { - return x.Mongodb + if x != nil { + if x, ok := x.Service.(*GetServiceResponse_Mongodb); ok { + return x.Mongodb + } } return nil } func (x *GetServiceResponse) GetPostgresql() *PostgreSQLService { - if x, ok := x.GetService().(*GetServiceResponse_Postgresql); ok { - return x.Postgresql + if x != nil { + if x, ok := x.Service.(*GetServiceResponse_Postgresql); ok { + return x.Postgresql + } } return nil } func (x *GetServiceResponse) GetProxysql() *ProxySQLService { - if x, ok := x.GetService().(*GetServiceResponse_Proxysql); ok { - return x.Proxysql + if x != nil { + if x, ok := x.Service.(*GetServiceResponse_Proxysql); ok { + return x.Proxysql + } } return nil } func (x *GetServiceResponse) GetHaproxy() *HAProxyService { - if x, ok := x.GetService().(*GetServiceResponse_Haproxy); ok { - return x.Haproxy + if x != nil { + if x, ok := x.Service.(*GetServiceResponse_Haproxy); ok { + return x.Haproxy + } } return nil } func (x *GetServiceResponse) GetExternal() *ExternalService { - if x, ok := x.GetService().(*GetServiceResponse_External); ok { - return x.External + if x != nil { + if x, ok := x.Service.(*GetServiceResponse_External); ok { + return x.External + } } return nil } @@ -1287,10 +1288,7 @@ func (*GetServiceResponse_Haproxy) isGetServiceResponse_Service() {} func (*GetServiceResponse_External) isGetServiceResponse_Service() {} type AddMySQLServiceRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique across all Services user-defined name. Required. ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` // Node identifier where this instance runs. Required. @@ -1311,7 +1309,9 @@ type AddMySQLServiceRequest struct { // Replication set name. ReplicationSet string `protobuf:"bytes,7,opt,name=replication_set,json=replicationSet,proto3" json:"replication_set,omitempty"` // Custom user-assigned labels. - CustomLabels map[string]string `protobuf:"bytes,8,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,8,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddMySQLServiceRequest) Reset() { @@ -1408,11 +1408,10 @@ func (x *AddMySQLServiceRequest) GetCustomLabels() map[string]string { } type AddMySQLServiceResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Mysql *MySQLService `protobuf:"bytes,1,opt,name=mysql,proto3" json:"mysql,omitempty"` unknownFields protoimpl.UnknownFields - - Mysql *MySQLService `protobuf:"bytes,1,opt,name=mysql,proto3" json:"mysql,omitempty"` + sizeCache protoimpl.SizeCache } func (x *AddMySQLServiceResponse) Reset() { @@ -1453,10 +1452,7 @@ func (x *AddMySQLServiceResponse) GetMysql() *MySQLService { } type AddMongoDBServiceRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique across all Services user-defined name. Required. ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` // Node identifier where this instance runs. Required. @@ -1477,7 +1473,9 @@ type AddMongoDBServiceRequest struct { // Replication set name. ReplicationSet string `protobuf:"bytes,7,opt,name=replication_set,json=replicationSet,proto3" json:"replication_set,omitempty"` // Custom user-assigned labels. - CustomLabels map[string]string `protobuf:"bytes,8,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,8,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddMongoDBServiceRequest) Reset() { @@ -1574,11 +1572,10 @@ func (x *AddMongoDBServiceRequest) GetCustomLabels() map[string]string { } type AddMongoDBServiceResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Mongodb *MongoDBService `protobuf:"bytes,1,opt,name=mongodb,proto3" json:"mongodb,omitempty"` unknownFields protoimpl.UnknownFields - - Mongodb *MongoDBService `protobuf:"bytes,1,opt,name=mongodb,proto3" json:"mongodb,omitempty"` + sizeCache protoimpl.SizeCache } func (x *AddMongoDBServiceResponse) Reset() { @@ -1619,10 +1616,7 @@ func (x *AddMongoDBServiceResponse) GetMongodb() *MongoDBService { } type AddPostgreSQLServiceRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique across all Services user-defined name. Required. ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` // Node identifier where this instance runs. Required. @@ -1643,9 +1637,11 @@ type AddPostgreSQLServiceRequest struct { // Replication set name. ReplicationSet string `protobuf:"bytes,7,opt,name=replication_set,json=replicationSet,proto3" json:"replication_set,omitempty"` // Custom user-assigned labels. - CustomLabels map[string]string `protobuf:"bytes,8,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,8,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Limit of databases for auto-discovery. AutoDiscoveryLimit int32 `protobuf:"varint,10,opt,name=auto_discovery_limit,json=autoDiscoveryLimit,proto3" json:"auto_discovery_limit,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddPostgreSQLServiceRequest) Reset() { @@ -1749,11 +1745,10 @@ func (x *AddPostgreSQLServiceRequest) GetAutoDiscoveryLimit() int32 { } type AddPostgreSQLServiceResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Postgresql *PostgreSQLService `protobuf:"bytes,1,opt,name=postgresql,proto3" json:"postgresql,omitempty"` unknownFields protoimpl.UnknownFields - - Postgresql *PostgreSQLService `protobuf:"bytes,1,opt,name=postgresql,proto3" json:"postgresql,omitempty"` + sizeCache protoimpl.SizeCache } func (x *AddPostgreSQLServiceResponse) Reset() { @@ -1794,10 +1789,7 @@ func (x *AddPostgreSQLServiceResponse) GetPostgresql() *PostgreSQLService { } type AddProxySQLServiceRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique across all Services user-defined name. Required. ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` // Node identifier where this instance runs. Required. @@ -1818,7 +1810,9 @@ type AddProxySQLServiceRequest struct { // Replication set name. ReplicationSet string `protobuf:"bytes,7,opt,name=replication_set,json=replicationSet,proto3" json:"replication_set,omitempty"` // Custom user-assigned labels. - CustomLabels map[string]string `protobuf:"bytes,8,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,8,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddProxySQLServiceRequest) Reset() { @@ -1915,11 +1909,10 @@ func (x *AddProxySQLServiceRequest) GetCustomLabels() map[string]string { } type AddProxySQLServiceResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Proxysql *ProxySQLService `protobuf:"bytes,1,opt,name=proxysql,proto3" json:"proxysql,omitempty"` unknownFields protoimpl.UnknownFields - - Proxysql *ProxySQLService `protobuf:"bytes,1,opt,name=proxysql,proto3" json:"proxysql,omitempty"` + sizeCache protoimpl.SizeCache } func (x *AddProxySQLServiceResponse) Reset() { @@ -1960,10 +1953,7 @@ func (x *AddProxySQLServiceResponse) GetProxysql() *ProxySQLService { } type AddHAProxyServiceRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique across all Services user-defined name. Required. ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` // Node identifier where this instance runs. Required. @@ -1975,7 +1965,9 @@ type AddHAProxyServiceRequest struct { // Replication set name. ReplicationSet string `protobuf:"bytes,5,opt,name=replication_set,json=replicationSet,proto3" json:"replication_set,omitempty"` // Custom user-assigned labels. - CustomLabels map[string]string `protobuf:"bytes,6,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,6,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddHAProxyServiceRequest) Reset() { @@ -2051,11 +2043,10 @@ func (x *AddHAProxyServiceRequest) GetCustomLabels() map[string]string { } type AddHAProxyServiceResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Haproxy *HAProxyService `protobuf:"bytes,1,opt,name=haproxy,proto3" json:"haproxy,omitempty"` unknownFields protoimpl.UnknownFields - - Haproxy *HAProxyService `protobuf:"bytes,1,opt,name=haproxy,proto3" json:"haproxy,omitempty"` + sizeCache protoimpl.SizeCache } func (x *AddHAProxyServiceResponse) Reset() { @@ -2096,10 +2087,7 @@ func (x *AddHAProxyServiceResponse) GetHaproxy() *HAProxyService { } type AddExternalServiceRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique across all Services user-defined name. Required. ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` // Node identifier where this instance runs. Required. @@ -2111,9 +2099,11 @@ type AddExternalServiceRequest struct { // Replication set name. ReplicationSet string `protobuf:"bytes,5,opt,name=replication_set,json=replicationSet,proto3" json:"replication_set,omitempty"` // Custom user-assigned labels. - CustomLabels map[string]string `protobuf:"bytes,6,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,6,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Group name of external service. - Group string `protobuf:"bytes,7,opt,name=group,proto3" json:"group,omitempty"` + Group string `protobuf:"bytes,7,opt,name=group,proto3" json:"group,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddExternalServiceRequest) Reset() { @@ -2196,11 +2186,10 @@ func (x *AddExternalServiceRequest) GetGroup() string { } type AddExternalServiceResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + External *ExternalService `protobuf:"bytes,1,opt,name=external,proto3" json:"external,omitempty"` unknownFields protoimpl.UnknownFields - - External *ExternalService `protobuf:"bytes,1,opt,name=external,proto3" json:"external,omitempty"` + sizeCache protoimpl.SizeCache } func (x *AddExternalServiceResponse) Reset() { @@ -2241,14 +2230,13 @@ func (x *AddExternalServiceResponse) GetExternal() *ExternalService { } type RemoveServiceRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique randomly generated instance identifier. Required. ServiceId string `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` // Remove service with all dependencies. - Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` + Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RemoveServiceRequest) Reset() { @@ -2296,9 +2284,9 @@ func (x *RemoveServiceRequest) GetForce() bool { } type RemoveServiceResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RemoveServiceResponse) Reset() { @@ -2332,14 +2320,13 @@ func (*RemoveServiceResponse) Descriptor() ([]byte, []int) { } type AddCustomLabelsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique Service ID. ServiceId string `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` // Custom user-assigned labels to be added. - CustomLabels map[string]string `protobuf:"bytes,2,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,2,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddCustomLabelsRequest) Reset() { @@ -2387,9 +2374,9 @@ func (x *AddCustomLabelsRequest) GetCustomLabels() map[string]string { } type AddCustomLabelsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddCustomLabelsResponse) Reset() { @@ -2423,14 +2410,13 @@ func (*AddCustomLabelsResponse) Descriptor() ([]byte, []int) { } type RemoveCustomLabelsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique Service ID. ServiceId string `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` // Custom user-assigned label keys to be removed. CustomLabelKeys []string `protobuf:"bytes,2,rep,name=custom_label_keys,json=customLabelKeys,proto3" json:"custom_label_keys,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RemoveCustomLabelsRequest) Reset() { @@ -2478,9 +2464,9 @@ func (x *RemoveCustomLabelsRequest) GetCustomLabelKeys() []string { } type RemoveCustomLabelsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RemoveCustomLabelsResponse) Reset() { @@ -2514,15 +2500,14 @@ func (*RemoveCustomLabelsResponse) Descriptor() ([]byte, []int) { } type ChangeServiceRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ServiceId string `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` - Environment *string `protobuf:"bytes,2,opt,name=environment,proto3,oneof" json:"environment,omitempty"` - Cluster *string `protobuf:"bytes,3,opt,name=cluster,proto3,oneof" json:"cluster,omitempty"` - ReplicationSet *string `protobuf:"bytes,4,opt,name=replication_set,json=replicationSet,proto3,oneof" json:"replication_set,omitempty"` - ExternalGroup *string `protobuf:"bytes,5,opt,name=external_group,json=externalGroup,proto3,oneof" json:"external_group,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + ServiceId string `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` + Environment *string `protobuf:"bytes,2,opt,name=environment,proto3,oneof" json:"environment,omitempty"` + Cluster *string `protobuf:"bytes,3,opt,name=cluster,proto3,oneof" json:"cluster,omitempty"` + ReplicationSet *string `protobuf:"bytes,4,opt,name=replication_set,json=replicationSet,proto3,oneof" json:"replication_set,omitempty"` + ExternalGroup *string `protobuf:"bytes,5,opt,name=external_group,json=externalGroup,proto3,oneof" json:"external_group,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ChangeServiceRequest) Reset() { @@ -2591,9 +2576,9 @@ func (x *ChangeServiceRequest) GetExternalGroup() string { } type ChangeServiceResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ChangeServiceResponse) Reset() { diff --git a/api/managementpb/actions.pb.go b/api/managementpb/actions.pb.go index 83fb19a3db..ffa4e0b2d7 100644 --- a/api/managementpb/actions.pb.go +++ b/api/managementpb/actions.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: managementpb/actions.proto @@ -102,12 +102,11 @@ func (ActionType) EnumDescriptor() ([]byte, []int) { } type GetActionRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique Action ID. - ActionId string `protobuf:"bytes,1,opt,name=action_id,json=actionId,proto3" json:"action_id,omitempty"` + ActionId string `protobuf:"bytes,1,opt,name=action_id,json=actionId,proto3" json:"action_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetActionRequest) Reset() { @@ -148,10 +147,7 @@ func (x *GetActionRequest) GetActionId() string { } type GetActionResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique Action ID. ActionId string `protobuf:"bytes,1,opt,name=action_id,json=actionId,proto3" json:"action_id,omitempty"` // pmm-agent ID where this Action is running / was run. @@ -161,7 +157,9 @@ type GetActionResponse struct { // True if Action is finished. Done bool `protobuf:"varint,4,opt,name=done,proto3" json:"done,omitempty"` // Error message if Action failed. - Error string `protobuf:"bytes,5,opt,name=error,proto3" json:"error,omitempty"` + Error string `protobuf:"bytes,5,opt,name=error,proto3" json:"error,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetActionResponse) Reset() { @@ -230,10 +228,7 @@ func (x *GetActionResponse) GetError() string { } type StartMySQLExplainActionRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // pmm-agent ID where to run this Action. PmmAgentId string `protobuf:"bytes,1,opt,name=pmm_agent_id,json=pmmAgentId,proto3" json:"pmm_agent_id,omitempty"` // Service ID for this Action. Required. @@ -246,7 +241,9 @@ type StartMySQLExplainActionRequest struct { // Array of placeholder values Placeholders []string `protobuf:"bytes,5,rep,name=placeholders,proto3" json:"placeholders,omitempty"` // Database name. Required if it can't be deduced from the query ID. - Database string `protobuf:"bytes,4,opt,name=database,proto3" json:"database,omitempty"` + Database string `protobuf:"bytes,4,opt,name=database,proto3" json:"database,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartMySQLExplainActionRequest) Reset() { @@ -322,14 +319,13 @@ func (x *StartMySQLExplainActionRequest) GetDatabase() string { } type StartMySQLExplainActionResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique Action ID. ActionId string `protobuf:"bytes,1,opt,name=action_id,json=actionId,proto3" json:"action_id,omitempty"` // pmm-agent ID where to this Action was started. - PmmAgentId string `protobuf:"bytes,2,opt,name=pmm_agent_id,json=pmmAgentId,proto3" json:"pmm_agent_id,omitempty"` + PmmAgentId string `protobuf:"bytes,2,opt,name=pmm_agent_id,json=pmmAgentId,proto3" json:"pmm_agent_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartMySQLExplainActionResponse) Reset() { @@ -377,10 +373,7 @@ func (x *StartMySQLExplainActionResponse) GetPmmAgentId() string { } type StartMySQLExplainJSONActionRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // pmm-agent ID where to run this Action. PmmAgentId string `protobuf:"bytes,1,opt,name=pmm_agent_id,json=pmmAgentId,proto3" json:"pmm_agent_id,omitempty"` // Service ID for this Action. Required. @@ -393,7 +386,9 @@ type StartMySQLExplainJSONActionRequest struct { // Array of placeholder values Placeholders []string `protobuf:"bytes,5,rep,name=placeholders,proto3" json:"placeholders,omitempty"` // Database name. Required if it can't be deduced from the query ID. - Database string `protobuf:"bytes,4,opt,name=database,proto3" json:"database,omitempty"` + Database string `protobuf:"bytes,4,opt,name=database,proto3" json:"database,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartMySQLExplainJSONActionRequest) Reset() { @@ -469,14 +464,13 @@ func (x *StartMySQLExplainJSONActionRequest) GetDatabase() string { } type StartMySQLExplainJSONActionResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique Action ID. ActionId string `protobuf:"bytes,1,opt,name=action_id,json=actionId,proto3" json:"action_id,omitempty"` // pmm-agent ID where to this Action was started. - PmmAgentId string `protobuf:"bytes,2,opt,name=pmm_agent_id,json=pmmAgentId,proto3" json:"pmm_agent_id,omitempty"` + PmmAgentId string `protobuf:"bytes,2,opt,name=pmm_agent_id,json=pmmAgentId,proto3" json:"pmm_agent_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartMySQLExplainJSONActionResponse) Reset() { @@ -524,10 +518,7 @@ func (x *StartMySQLExplainJSONActionResponse) GetPmmAgentId() string { } type StartMySQLExplainTraditionalJSONActionRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // pmm-agent ID where to run this Action. PmmAgentId string `protobuf:"bytes,1,opt,name=pmm_agent_id,json=pmmAgentId,proto3" json:"pmm_agent_id,omitempty"` // Service ID for this Action. Required. @@ -540,7 +531,9 @@ type StartMySQLExplainTraditionalJSONActionRequest struct { // Array of placeholder values Placeholders []string `protobuf:"bytes,5,rep,name=placeholders,proto3" json:"placeholders,omitempty"` // Database name. Required if it can't be deduced from the query ID. - Database string `protobuf:"bytes,4,opt,name=database,proto3" json:"database,omitempty"` + Database string `protobuf:"bytes,4,opt,name=database,proto3" json:"database,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartMySQLExplainTraditionalJSONActionRequest) Reset() { @@ -616,14 +609,13 @@ func (x *StartMySQLExplainTraditionalJSONActionRequest) GetDatabase() string { } type StartMySQLExplainTraditionalJSONActionResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique Action ID. ActionId string `protobuf:"bytes,1,opt,name=action_id,json=actionId,proto3" json:"action_id,omitempty"` // pmm-agent ID where to this Action was started. - PmmAgentId string `protobuf:"bytes,2,opt,name=pmm_agent_id,json=pmmAgentId,proto3" json:"pmm_agent_id,omitempty"` + PmmAgentId string `protobuf:"bytes,2,opt,name=pmm_agent_id,json=pmmAgentId,proto3" json:"pmm_agent_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartMySQLExplainTraditionalJSONActionResponse) Reset() { @@ -671,10 +663,7 @@ func (x *StartMySQLExplainTraditionalJSONActionResponse) GetPmmAgentId() string } type StartMySQLShowCreateTableActionRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // pmm-agent ID where to run this Action. PmmAgentId string `protobuf:"bytes,1,opt,name=pmm_agent_id,json=pmmAgentId,proto3" json:"pmm_agent_id,omitempty"` // Service ID for this Action. Required. @@ -682,7 +671,9 @@ type StartMySQLShowCreateTableActionRequest struct { // Table name. Required. May additionally contain a database name. TableName string `protobuf:"bytes,3,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"` // Database name. Required if not given in the table_name field. - Database string `protobuf:"bytes,4,opt,name=database,proto3" json:"database,omitempty"` + Database string `protobuf:"bytes,4,opt,name=database,proto3" json:"database,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartMySQLShowCreateTableActionRequest) Reset() { @@ -744,14 +735,13 @@ func (x *StartMySQLShowCreateTableActionRequest) GetDatabase() string { } type StartMySQLShowCreateTableActionResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique Action ID. ActionId string `protobuf:"bytes,1,opt,name=action_id,json=actionId,proto3" json:"action_id,omitempty"` // pmm-agent ID where to this Action was started. - PmmAgentId string `protobuf:"bytes,2,opt,name=pmm_agent_id,json=pmmAgentId,proto3" json:"pmm_agent_id,omitempty"` + PmmAgentId string `protobuf:"bytes,2,opt,name=pmm_agent_id,json=pmmAgentId,proto3" json:"pmm_agent_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartMySQLShowCreateTableActionResponse) Reset() { @@ -799,10 +789,7 @@ func (x *StartMySQLShowCreateTableActionResponse) GetPmmAgentId() string { } type StartMySQLShowTableStatusActionRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // pmm-agent ID where to run this Action. PmmAgentId string `protobuf:"bytes,1,opt,name=pmm_agent_id,json=pmmAgentId,proto3" json:"pmm_agent_id,omitempty"` // Service ID for this Action. Required. @@ -810,7 +797,9 @@ type StartMySQLShowTableStatusActionRequest struct { // Table name. Required. May additionally contain a database name. TableName string `protobuf:"bytes,3,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"` // Database name. Required if not given in the table_name field. - Database string `protobuf:"bytes,4,opt,name=database,proto3" json:"database,omitempty"` + Database string `protobuf:"bytes,4,opt,name=database,proto3" json:"database,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartMySQLShowTableStatusActionRequest) Reset() { @@ -872,14 +861,13 @@ func (x *StartMySQLShowTableStatusActionRequest) GetDatabase() string { } type StartMySQLShowTableStatusActionResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique Action ID. ActionId string `protobuf:"bytes,1,opt,name=action_id,json=actionId,proto3" json:"action_id,omitempty"` // pmm-agent ID where to this Action was started. - PmmAgentId string `protobuf:"bytes,2,opt,name=pmm_agent_id,json=pmmAgentId,proto3" json:"pmm_agent_id,omitempty"` + PmmAgentId string `protobuf:"bytes,2,opt,name=pmm_agent_id,json=pmmAgentId,proto3" json:"pmm_agent_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartMySQLShowTableStatusActionResponse) Reset() { @@ -927,10 +915,7 @@ func (x *StartMySQLShowTableStatusActionResponse) GetPmmAgentId() string { } type StartMySQLShowIndexActionRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // pmm-agent ID where to run this Action. PmmAgentId string `protobuf:"bytes,1,opt,name=pmm_agent_id,json=pmmAgentId,proto3" json:"pmm_agent_id,omitempty"` // Service ID for this Action. Required. @@ -938,7 +923,9 @@ type StartMySQLShowIndexActionRequest struct { // Table name. Required. May additionally contain a database name. TableName string `protobuf:"bytes,3,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"` // Database name. Required if not given in the table_name field. - Database string `protobuf:"bytes,4,opt,name=database,proto3" json:"database,omitempty"` + Database string `protobuf:"bytes,4,opt,name=database,proto3" json:"database,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartMySQLShowIndexActionRequest) Reset() { @@ -1000,14 +987,13 @@ func (x *StartMySQLShowIndexActionRequest) GetDatabase() string { } type StartMySQLShowIndexActionResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique Action ID. ActionId string `protobuf:"bytes,1,opt,name=action_id,json=actionId,proto3" json:"action_id,omitempty"` // pmm-agent ID where to this Action was started. - PmmAgentId string `protobuf:"bytes,2,opt,name=pmm_agent_id,json=pmmAgentId,proto3" json:"pmm_agent_id,omitempty"` + PmmAgentId string `protobuf:"bytes,2,opt,name=pmm_agent_id,json=pmmAgentId,proto3" json:"pmm_agent_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartMySQLShowIndexActionResponse) Reset() { @@ -1055,10 +1041,7 @@ func (x *StartMySQLShowIndexActionResponse) GetPmmAgentId() string { } type StartPostgreSQLShowCreateTableActionRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // pmm-agent ID where to run this Action. PmmAgentId string `protobuf:"bytes,1,opt,name=pmm_agent_id,json=pmmAgentId,proto3" json:"pmm_agent_id,omitempty"` // Service ID for this Action. Required. @@ -1066,7 +1049,9 @@ type StartPostgreSQLShowCreateTableActionRequest struct { // Table name. Required. May additionally contain a database name. TableName string `protobuf:"bytes,3,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"` // Database name. Required if not given in the table_name field. - Database string `protobuf:"bytes,4,opt,name=database,proto3" json:"database,omitempty"` + Database string `protobuf:"bytes,4,opt,name=database,proto3" json:"database,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartPostgreSQLShowCreateTableActionRequest) Reset() { @@ -1128,14 +1113,13 @@ func (x *StartPostgreSQLShowCreateTableActionRequest) GetDatabase() string { } type StartPostgreSQLShowCreateTableActionResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique Action ID. ActionId string `protobuf:"bytes,1,opt,name=action_id,json=actionId,proto3" json:"action_id,omitempty"` // pmm-agent ID where to this Action was started. - PmmAgentId string `protobuf:"bytes,2,opt,name=pmm_agent_id,json=pmmAgentId,proto3" json:"pmm_agent_id,omitempty"` + PmmAgentId string `protobuf:"bytes,2,opt,name=pmm_agent_id,json=pmmAgentId,proto3" json:"pmm_agent_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartPostgreSQLShowCreateTableActionResponse) Reset() { @@ -1183,10 +1167,7 @@ func (x *StartPostgreSQLShowCreateTableActionResponse) GetPmmAgentId() string { } type StartPostgreSQLShowIndexActionRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // pmm-agent ID where to run this Action. PmmAgentId string `protobuf:"bytes,1,opt,name=pmm_agent_id,json=pmmAgentId,proto3" json:"pmm_agent_id,omitempty"` // Service ID for this Action. Required. @@ -1194,7 +1175,9 @@ type StartPostgreSQLShowIndexActionRequest struct { // Table name. Required. May additionally contain a database name. TableName string `protobuf:"bytes,3,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"` // Database name. Required if not given in the table_name field. - Database string `protobuf:"bytes,4,opt,name=database,proto3" json:"database,omitempty"` + Database string `protobuf:"bytes,4,opt,name=database,proto3" json:"database,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartPostgreSQLShowIndexActionRequest) Reset() { @@ -1256,14 +1239,13 @@ func (x *StartPostgreSQLShowIndexActionRequest) GetDatabase() string { } type StartPostgreSQLShowIndexActionResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique Action ID. ActionId string `protobuf:"bytes,1,opt,name=action_id,json=actionId,proto3" json:"action_id,omitempty"` // pmm-agent ID where to this Action was started. - PmmAgentId string `protobuf:"bytes,2,opt,name=pmm_agent_id,json=pmmAgentId,proto3" json:"pmm_agent_id,omitempty"` + PmmAgentId string `protobuf:"bytes,2,opt,name=pmm_agent_id,json=pmmAgentId,proto3" json:"pmm_agent_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartPostgreSQLShowIndexActionResponse) Reset() { @@ -1311,16 +1293,15 @@ func (x *StartPostgreSQLShowIndexActionResponse) GetPmmAgentId() string { } type StartMongoDBExplainActionRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // pmm-agent ID where to run this Action. PmmAgentId string `protobuf:"bytes,1,opt,name=pmm_agent_id,json=pmmAgentId,proto3" json:"pmm_agent_id,omitempty"` // Service ID for this Action. Required. ServiceId string `protobuf:"bytes,2,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` // Query. Required. - Query string `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"` + Query string `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartMongoDBExplainActionRequest) Reset() { @@ -1375,14 +1356,13 @@ func (x *StartMongoDBExplainActionRequest) GetQuery() string { } type StartMongoDBExplainActionResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique Action ID. ActionId string `protobuf:"bytes,1,opt,name=action_id,json=actionId,proto3" json:"action_id,omitempty"` // pmm-agent ID where to this Action was started. - PmmAgentId string `protobuf:"bytes,2,opt,name=pmm_agent_id,json=pmmAgentId,proto3" json:"pmm_agent_id,omitempty"` + PmmAgentId string `protobuf:"bytes,2,opt,name=pmm_agent_id,json=pmmAgentId,proto3" json:"pmm_agent_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartMongoDBExplainActionResponse) Reset() { @@ -1430,14 +1410,13 @@ func (x *StartMongoDBExplainActionResponse) GetPmmAgentId() string { } type StartPTSummaryActionRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // pmm-agent ID where to run this Action. PmmAgentId string `protobuf:"bytes,1,opt,name=pmm_agent_id,json=pmmAgentId,proto3" json:"pmm_agent_id,omitempty"` // Node ID for this Action. - NodeId string `protobuf:"bytes,2,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` + NodeId string `protobuf:"bytes,2,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartPTSummaryActionRequest) Reset() { @@ -1485,14 +1464,13 @@ func (x *StartPTSummaryActionRequest) GetNodeId() string { } type StartPTSummaryActionResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique Action ID. ActionId string `protobuf:"bytes,1,opt,name=action_id,json=actionId,proto3" json:"action_id,omitempty"` // pmm-agent ID where to this Action was started. - PmmAgentId string `protobuf:"bytes,2,opt,name=pmm_agent_id,json=pmmAgentId,proto3" json:"pmm_agent_id,omitempty"` + PmmAgentId string `protobuf:"bytes,2,opt,name=pmm_agent_id,json=pmmAgentId,proto3" json:"pmm_agent_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartPTSummaryActionResponse) Reset() { @@ -1541,14 +1519,13 @@ func (x *StartPTSummaryActionResponse) GetPmmAgentId() string { // Message to prepare pt-pg-summary data type StartPTPgSummaryActionRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // pmm-agent ID where to run this Action. PmmAgentId string `protobuf:"bytes,1,opt,name=pmm_agent_id,json=pmmAgentId,proto3" json:"pmm_agent_id,omitempty"` // Service ID for this Action. - ServiceId string `protobuf:"bytes,2,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` + ServiceId string `protobuf:"bytes,2,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartPTPgSummaryActionRequest) Reset() { @@ -1597,14 +1574,13 @@ func (x *StartPTPgSummaryActionRequest) GetServiceId() string { // Message to retrieve the prepared pt-pg-summary data type StartPTPgSummaryActionResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique Action ID. ActionId string `protobuf:"bytes,1,opt,name=action_id,json=actionId,proto3" json:"action_id,omitempty"` // pmm-agent ID where to this Action was started. - PmmAgentId string `protobuf:"bytes,2,opt,name=pmm_agent_id,json=pmmAgentId,proto3" json:"pmm_agent_id,omitempty"` + PmmAgentId string `protobuf:"bytes,2,opt,name=pmm_agent_id,json=pmmAgentId,proto3" json:"pmm_agent_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartPTPgSummaryActionResponse) Reset() { @@ -1653,14 +1629,13 @@ func (x *StartPTPgSummaryActionResponse) GetPmmAgentId() string { // Message to prepare pt-mongodb-summary data type StartPTMongoDBSummaryActionRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // pmm-agent ID where to run this Action. PmmAgentId string `protobuf:"bytes,1,opt,name=pmm_agent_id,json=pmmAgentId,proto3" json:"pmm_agent_id,omitempty"` // Service ID for this Action. - ServiceId string `protobuf:"bytes,2,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` + ServiceId string `protobuf:"bytes,2,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartPTMongoDBSummaryActionRequest) Reset() { @@ -1709,14 +1684,13 @@ func (x *StartPTMongoDBSummaryActionRequest) GetServiceId() string { // Message to retrieve the prepared pt-mongodb-summary data type StartPTMongoDBSummaryActionResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique Action ID. ActionId string `protobuf:"bytes,1,opt,name=action_id,json=actionId,proto3" json:"action_id,omitempty"` // pmm-agent ID where to this Action was started. - PmmAgentId string `protobuf:"bytes,2,opt,name=pmm_agent_id,json=pmmAgentId,proto3" json:"pmm_agent_id,omitempty"` + PmmAgentId string `protobuf:"bytes,2,opt,name=pmm_agent_id,json=pmmAgentId,proto3" json:"pmm_agent_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartPTMongoDBSummaryActionResponse) Reset() { @@ -1765,14 +1739,13 @@ func (x *StartPTMongoDBSummaryActionResponse) GetPmmAgentId() string { // Message to prepare pt-mysql-summary data type StartPTMySQLSummaryActionRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // pmm-agent ID where to run this Action. PmmAgentId string `protobuf:"bytes,1,opt,name=pmm_agent_id,json=pmmAgentId,proto3" json:"pmm_agent_id,omitempty"` // Service ID for this Action. - ServiceId string `protobuf:"bytes,2,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` + ServiceId string `protobuf:"bytes,2,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartPTMySQLSummaryActionRequest) Reset() { @@ -1821,14 +1794,13 @@ func (x *StartPTMySQLSummaryActionRequest) GetServiceId() string { // Message to retrieve the prepared pt-mysql-summary data type StartPTMySQLSummaryActionResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique Action ID. ActionId string `protobuf:"bytes,1,opt,name=action_id,json=actionId,proto3" json:"action_id,omitempty"` // pmm-agent ID where to this Action was started. - PmmAgentId string `protobuf:"bytes,2,opt,name=pmm_agent_id,json=pmmAgentId,proto3" json:"pmm_agent_id,omitempty"` + PmmAgentId string `protobuf:"bytes,2,opt,name=pmm_agent_id,json=pmmAgentId,proto3" json:"pmm_agent_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartPTMySQLSummaryActionResponse) Reset() { @@ -1876,12 +1848,11 @@ func (x *StartPTMySQLSummaryActionResponse) GetPmmAgentId() string { } type CancelActionRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique Action ID. Required. - ActionId string `protobuf:"bytes,1,opt,name=action_id,json=actionId,proto3" json:"action_id,omitempty"` + ActionId string `protobuf:"bytes,1,opt,name=action_id,json=actionId,proto3" json:"action_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CancelActionRequest) Reset() { @@ -1922,9 +1893,9 @@ func (x *CancelActionRequest) GetActionId() string { } type CancelActionResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CancelActionResponse) Reset() { diff --git a/api/managementpb/agent/agent.pb.go b/api/managementpb/agent/agent.pb.go index 6f4ec7c3f7..59e3444f48 100644 --- a/api/managementpb/agent/agent.pb.go +++ b/api/managementpb/agent/agent.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: managementpb/agent/agent.proto @@ -26,10 +26,7 @@ const ( ) type UniversalAgent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique agent identifier. AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` // True if the agent password is set. @@ -45,7 +42,7 @@ type UniversalAgent struct { // Creation timestamp. CreatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // Custom user-assigned labels. - CustomLabels map[string]string `protobuf:"bytes,8,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,8,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Desired Agent status: enabled (false) or disabled (true). Disabled bool `protobuf:"varint,9,opt,name=disabled,proto3" json:"disabled,omitempty"` // List of disabled collector names. @@ -112,6 +109,8 @@ type UniversalAgent struct { IsConnected bool `protobuf:"varint,38,opt,name=is_connected,json=isConnected,proto3" json:"is_connected,omitempty"` // True if an exporter agent is exposed on all host addresses. ExposeExporter bool `protobuf:"varint,40,opt,name=expose_exporter,json=exposeExporter,proto3" json:"expose_exporter,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UniversalAgent) Reset() { @@ -425,14 +424,13 @@ func (x *UniversalAgent) GetExposeExporter() bool { } type ListAgentRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Return only Agents that relate to a specific ServiceID. ServiceId string `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` // Return only Agents that relate to a specific NodeID. - NodeId string `protobuf:"bytes,2,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` + NodeId string `protobuf:"bytes,2,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListAgentRequest) Reset() { @@ -480,12 +478,11 @@ func (x *ListAgentRequest) GetNodeId() string { } type ListAgentResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // List of Agents. - Agents []*UniversalAgent `protobuf:"bytes,1,rep,name=agents,proto3" json:"agents,omitempty"` + Agents []*UniversalAgent `protobuf:"bytes,1,rep,name=agents,proto3" json:"agents,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListAgentResponse) Reset() { @@ -526,12 +523,11 @@ func (x *ListAgentResponse) GetAgents() []*UniversalAgent { } type UniversalAgent_MySQLOptions struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // True if TLS key is set. - IsTlsKeySet bool `protobuf:"varint,3,opt,name=is_tls_key_set,json=isTlsKeySet,proto3" json:"is_tls_key_set,omitempty"` + IsTlsKeySet bool `protobuf:"varint,3,opt,name=is_tls_key_set,json=isTlsKeySet,proto3" json:"is_tls_key_set,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UniversalAgent_MySQLOptions) Reset() { @@ -572,10 +568,7 @@ func (x *UniversalAgent_MySQLOptions) GetIsTlsKeySet() bool { } type UniversalAgent_AzureOptions struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Azure client ID. ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` // True if Azure client secret is set. @@ -585,7 +578,9 @@ type UniversalAgent_AzureOptions struct { // Azure subscription ID. SubscriptionId string `protobuf:"bytes,4,opt,name=subscription_id,json=subscriptionId,proto3" json:"subscription_id,omitempty"` // Azure tenant ID. - TenantId string `protobuf:"bytes,5,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"` + TenantId string `protobuf:"bytes,5,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UniversalAgent_AzureOptions) Reset() { @@ -654,10 +649,7 @@ func (x *UniversalAgent_AzureOptions) GetTenantId() string { } type UniversalAgent_MongoDBOptions struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // True if TLS certificate is set. IsTlsCertificateKeySet bool `protobuf:"varint,1,opt,name=is_tls_certificate_key_set,json=isTlsCertificateKeySet,proto3" json:"is_tls_certificate_key_set,omitempty"` // True if TLS certificate file password is set. @@ -672,6 +664,8 @@ type UniversalAgent_MongoDBOptions struct { CollectionsLimit int32 `protobuf:"varint,7,opt,name=collections_limit,json=collectionsLimit,proto3" json:"collections_limit,omitempty"` // True if all collectors are enabled. EnableAllCollectors bool `protobuf:"varint,8,opt,name=enable_all_collectors,json=enableAllCollectors,proto3" json:"enable_all_collectors,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UniversalAgent_MongoDBOptions) Reset() { @@ -754,16 +748,15 @@ func (x *UniversalAgent_MongoDBOptions) GetEnableAllCollectors() bool { } type UniversalAgent_PostgreSQLOptions struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // True if TLS key is set. IsSslKeySet bool `protobuf:"varint,3,opt,name=is_ssl_key_set,json=isSslKeySet,proto3" json:"is_ssl_key_set,omitempty"` // Limit of databases for auto-discovery. AutoDiscoveryLimit int32 `protobuf:"varint,4,opt,name=auto_discovery_limit,json=autoDiscoveryLimit,proto3" json:"auto_discovery_limit,omitempty"` // Maximum number of connections from exporter to PostgreSQL instance. MaxExporterConnections int32 `protobuf:"varint,5,opt,name=max_exporter_connections,json=maxExporterConnections,proto3" json:"max_exporter_connections,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UniversalAgent_PostgreSQLOptions) Reset() { diff --git a/api/managementpb/alerting/alerting.pb.go b/api/managementpb/alerting/alerting.pb.go index 5aa25feed2..b519852c3c 100644 --- a/api/managementpb/alerting/alerting.pb.go +++ b/api/managementpb/alerting/alerting.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: managementpb/alerting/alerting.proto @@ -139,11 +139,10 @@ func (FilterType) EnumDescriptor() ([]byte, []int) { // BoolParamDefinition represents boolean parameter's default value. type BoolParamDefinition struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Default managementpb.BooleanFlag `protobuf:"varint,1,opt,name=default,proto3,enum=managementpb.BooleanFlag" json:"default,omitempty"` unknownFields protoimpl.UnknownFields - - Default managementpb.BooleanFlag `protobuf:"varint,1,opt,name=default,proto3,enum=managementpb.BooleanFlag" json:"default,omitempty"` + sizeCache protoimpl.SizeCache } func (x *BoolParamDefinition) Reset() { @@ -185,10 +184,7 @@ func (x *BoolParamDefinition) GetDefault() managementpb.BooleanFlag { // FloatParamDefinition represents float parameter's default value and valid range. type FloatParamDefinition struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // True if default value is set. HasDefault bool `protobuf:"varint,1,opt,name=has_default,json=hasDefault,proto3" json:"has_default,omitempty"` // Default value if has_default is true. @@ -200,7 +196,9 @@ type FloatParamDefinition struct { // True if maximal valid value is set. HasMax bool `protobuf:"varint,5,opt,name=has_max,json=hasMax,proto3" json:"has_max,omitempty"` // Maximal valid value (inclusive) if has_max is true. - Max float64 `protobuf:"fixed64,6,opt,name=max,proto3" json:"max,omitempty"` + Max float64 `protobuf:"fixed64,6,opt,name=max,proto3" json:"max,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *FloatParamDefinition) Reset() { @@ -277,14 +275,13 @@ func (x *FloatParamDefinition) GetMax() float64 { // StringParamDefinition represents string parameter's default value. type StringParamDefinition struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // True if default value is set. HasDefault bool `protobuf:"varint,1,opt,name=has_default,json=hasDefault,proto3" json:"has_default,omitempty"` // Default value if has_default is true. - Default string `protobuf:"bytes,2,opt,name=default,proto3" json:"default,omitempty"` + Default string `protobuf:"bytes,2,opt,name=default,proto3" json:"default,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StringParamDefinition) Reset() { @@ -333,10 +330,7 @@ func (x *StringParamDefinition) GetDefault() string { // ParamDefinition represents a single query parameter. type ParamDefinition struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Machine-readable name (ID) that is used in expression. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Short human-readable parameter summary. @@ -347,12 +341,14 @@ type ParamDefinition struct { Type ParamType `protobuf:"varint,4,opt,name=type,proto3,enum=alerting.v1.ParamType" json:"type,omitempty"` // Parameter value. // - // Types that are assignable to Value: + // Types that are valid to be assigned to Value: // // *ParamDefinition_Bool // *ParamDefinition_Float // *ParamDefinition_String_ - Value isParamDefinition_Value `protobuf_oneof:"value"` + Value isParamDefinition_Value `protobuf_oneof:"value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ParamDefinition) Reset() { @@ -413,30 +409,36 @@ func (x *ParamDefinition) GetType() ParamType { return ParamType_PARAM_TYPE_INVALID } -func (m *ParamDefinition) GetValue() isParamDefinition_Value { - if m != nil { - return m.Value +func (x *ParamDefinition) GetValue() isParamDefinition_Value { + if x != nil { + return x.Value } return nil } func (x *ParamDefinition) GetBool() *BoolParamDefinition { - if x, ok := x.GetValue().(*ParamDefinition_Bool); ok { - return x.Bool + if x != nil { + if x, ok := x.Value.(*ParamDefinition_Bool); ok { + return x.Bool + } } return nil } func (x *ParamDefinition) GetFloat() *FloatParamDefinition { - if x, ok := x.GetValue().(*ParamDefinition_Float); ok { - return x.Float + if x != nil { + if x, ok := x.Value.(*ParamDefinition_Float); ok { + return x.Float + } } return nil } func (x *ParamDefinition) GetString_() *StringParamDefinition { - if x, ok := x.GetValue().(*ParamDefinition_String_); ok { - return x.String_ + if x != nil { + if x, ok := x.Value.(*ParamDefinition_String_); ok { + return x.String_ + } } return nil } @@ -468,10 +470,7 @@ func (*ParamDefinition_String_) isParamDefinition_Value() {} // Template represents Alert Template that is used to create Alert Rule. type Template struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Machine-readable name (ID). Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Short human-readable summary. @@ -485,15 +484,17 @@ type Template struct { // Severity. Severity managementpb.Severity `protobuf:"varint,6,opt,name=severity,proto3,enum=management.Severity" json:"severity,omitempty"` // Labels. - Labels map[string]string `protobuf:"bytes,7,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Labels map[string]string `protobuf:"bytes,7,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Annotations. - Annotations map[string]string `protobuf:"bytes,8,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Annotations map[string]string `protobuf:"bytes,8,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Template source. Only templates created via API can be updated or deleted via API. Source TemplateSource `protobuf:"varint,9,opt,name=source,proto3,enum=alerting.v1.TemplateSource" json:"source,omitempty"` // Template creation time. Empty for built-in and SaaS templates. CreatedAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // YAML template file content. Empty for built-in and SaaS templates. - Yaml string `protobuf:"bytes,11,opt,name=yaml,proto3" json:"yaml,omitempty"` + Yaml string `protobuf:"bytes,11,opt,name=yaml,proto3" json:"yaml,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Template) Reset() { @@ -604,14 +605,13 @@ func (x *Template) GetYaml() string { } type ListTemplatesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // If true, template files will be re-read from disk. Reload bool `protobuf:"varint,1,opt,name=reload,proto3" json:"reload,omitempty"` // Page request. - PageParams *managementpb.PageParams `protobuf:"bytes,2,opt,name=page_params,json=pageParams,proto3" json:"page_params,omitempty"` + PageParams *managementpb.PageParams `protobuf:"bytes,2,opt,name=page_params,json=pageParams,proto3" json:"page_params,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListTemplatesRequest) Reset() { @@ -659,13 +659,12 @@ func (x *ListTemplatesRequest) GetPageParams() *managementpb.PageParams { } type ListTemplatesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Templates []*Template `protobuf:"bytes,1,rep,name=templates,proto3" json:"templates,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Templates []*Template `protobuf:"bytes,1,rep,name=templates,proto3" json:"templates,omitempty"` // Total items and pages. - Totals *managementpb.PageTotals `protobuf:"bytes,2,opt,name=totals,proto3" json:"totals,omitempty"` + Totals *managementpb.PageTotals `protobuf:"bytes,2,opt,name=totals,proto3" json:"totals,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListTemplatesResponse) Reset() { @@ -713,12 +712,11 @@ func (x *ListTemplatesResponse) GetTotals() *managementpb.PageTotals { } type CreateTemplateRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // YAML template file content. - Yaml string `protobuf:"bytes,1,opt,name=yaml,proto3" json:"yaml,omitempty"` + Yaml string `protobuf:"bytes,1,opt,name=yaml,proto3" json:"yaml,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateTemplateRequest) Reset() { @@ -759,9 +757,9 @@ func (x *CreateTemplateRequest) GetYaml() string { } type CreateTemplateResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateTemplateResponse) Reset() { @@ -795,14 +793,13 @@ func (*CreateTemplateResponse) Descriptor() ([]byte, []int) { } type UpdateTemplateRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Machine-readable name (ID). Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // YAML template file content. - Yaml string `protobuf:"bytes,2,opt,name=yaml,proto3" json:"yaml,omitempty"` + Yaml string `protobuf:"bytes,2,opt,name=yaml,proto3" json:"yaml,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateTemplateRequest) Reset() { @@ -850,9 +847,9 @@ func (x *UpdateTemplateRequest) GetYaml() string { } type UpdateTemplateResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateTemplateResponse) Reset() { @@ -886,11 +883,10 @@ func (*UpdateTemplateResponse) Descriptor() ([]byte, []int) { } type DeleteTemplateRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DeleteTemplateRequest) Reset() { @@ -931,9 +927,9 @@ func (x *DeleteTemplateRequest) GetName() string { } type DeleteTemplateResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteTemplateResponse) Reset() { @@ -968,13 +964,12 @@ func (*DeleteTemplateResponse) Descriptor() ([]byte, []int) { // Filter represents a single filter condition. type Filter struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Type FilterType `protobuf:"varint,1,opt,name=type,proto3,enum=alerting.v1.FilterType" json:"type,omitempty"` + Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"` + Regexp string `protobuf:"bytes,3,opt,name=regexp,proto3" json:"regexp,omitempty"` unknownFields protoimpl.UnknownFields - - Type FilterType `protobuf:"varint,1,opt,name=type,proto3,enum=alerting.v1.FilterType" json:"type,omitempty"` - Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"` - Regexp string `protobuf:"bytes,3,opt,name=regexp,proto3" json:"regexp,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Filter) Reset() { @@ -1030,22 +1025,21 @@ func (x *Filter) GetRegexp() string { // ParamValue represents a single rule parameter value. type ParamValue struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Machine-readable name (ID) that is used in expression. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Parameter type. Type ParamType `protobuf:"varint,2,opt,name=type,proto3,enum=alerting.v1.ParamType" json:"type,omitempty"` // Parameter value. // - // Types that are assignable to Value: + // Types that are valid to be assigned to Value: // // *ParamValue_Bool // *ParamValue_Float // *ParamValue_String_ - Value isParamValue_Value `protobuf_oneof:"value"` + Value isParamValue_Value `protobuf_oneof:"value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ParamValue) Reset() { @@ -1092,30 +1086,36 @@ func (x *ParamValue) GetType() ParamType { return ParamType_PARAM_TYPE_INVALID } -func (m *ParamValue) GetValue() isParamValue_Value { - if m != nil { - return m.Value +func (x *ParamValue) GetValue() isParamValue_Value { + if x != nil { + return x.Value } return nil } func (x *ParamValue) GetBool() bool { - if x, ok := x.GetValue().(*ParamValue_Bool); ok { - return x.Bool + if x != nil { + if x, ok := x.Value.(*ParamValue_Bool); ok { + return x.Bool + } } return false } func (x *ParamValue) GetFloat() float64 { - if x, ok := x.GetValue().(*ParamValue_Float); ok { - return x.Float + if x != nil { + if x, ok := x.Value.(*ParamValue_Float); ok { + return x.Float + } } return 0 } func (x *ParamValue) GetString_() string { - if x, ok := x.GetValue().(*ParamValue_String_); ok { - return x.String_ + if x != nil { + if x, ok := x.Value.(*ParamValue_String_); ok { + return x.String_ + } } return "" } @@ -1146,10 +1146,7 @@ func (*ParamValue_Float) isParamValue_Value() {} func (*ParamValue_String_) isParamValue_Value() {} type CreateRuleRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Template name. TemplateName string `protobuf:"bytes,1,opt,name=template_name,json=templateName,proto3" json:"template_name,omitempty"` // Rule name. @@ -1165,9 +1162,11 @@ type CreateRuleRequest struct { // Rule severity. Should be set. Severity managementpb.Severity `protobuf:"varint,7,opt,name=severity,proto3,enum=management.Severity" json:"severity,omitempty"` // All custom labels to add or remove (with empty values) to default labels from template. - CustomLabels map[string]string `protobuf:"bytes,8,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,8,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Filters. - Filters []*Filter `protobuf:"bytes,9,rep,name=filters,proto3" json:"filters,omitempty"` + Filters []*Filter `protobuf:"bytes,9,rep,name=filters,proto3" json:"filters,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateRuleRequest) Reset() { @@ -1264,9 +1263,9 @@ func (x *CreateRuleRequest) GetFilters() []*Filter { } type CreateRuleResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateRuleResponse) Reset() { diff --git a/api/managementpb/alerting/params.pb.go b/api/managementpb/alerting/params.pb.go index 30d8950825..864377a431 100644 --- a/api/managementpb/alerting/params.pb.go +++ b/api/managementpb/alerting/params.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: managementpb/alerting/params.proto diff --git a/api/managementpb/annotation.pb.go b/api/managementpb/annotation.pb.go index 367ec470b9..7abf0f3912 100644 --- a/api/managementpb/annotation.pb.go +++ b/api/managementpb/annotation.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: managementpb/annotation.proto @@ -26,10 +26,7 @@ const ( // AddAnnotationRequest is a params to add new annotation. type AddAnnotationRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // An annotation description. Required. Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` // Tags are used to filter annotations. @@ -37,7 +34,9 @@ type AddAnnotationRequest struct { // Used for annotate node. NodeName string `protobuf:"bytes,3,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"` // Used for annotate services. - ServiceNames []string `protobuf:"bytes,4,rep,name=service_names,json=serviceNames,proto3" json:"service_names,omitempty"` + ServiceNames []string `protobuf:"bytes,4,rep,name=service_names,json=serviceNames,proto3" json:"service_names,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddAnnotationRequest) Reset() { @@ -99,9 +98,9 @@ func (x *AddAnnotationRequest) GetServiceNames() []string { } type AddAnnotationResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddAnnotationResponse) Reset() { diff --git a/api/managementpb/azure/azure.pb.go b/api/managementpb/azure/azure.pb.go index 87c855f528..931ffb4d05 100644 --- a/api/managementpb/azure/azure.pb.go +++ b/api/managementpb/azure/azure.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: managementpb/azure/azure.proto @@ -77,10 +77,7 @@ func (DiscoverAzureDatabaseType) EnumDescriptor() ([]byte, []int) { // DiscoverAzureDatabaseRequest discover azure databases request. type DiscoverAzureDatabaseRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Azure client ID. AzureClientId string `protobuf:"bytes,1,opt,name=azure_client_id,json=azureClientId,proto3" json:"azure_client_id,omitempty"` // Azure client secret. @@ -89,6 +86,8 @@ type DiscoverAzureDatabaseRequest struct { AzureTenantId string `protobuf:"bytes,3,opt,name=azure_tenant_id,json=azureTenantId,proto3" json:"azure_tenant_id,omitempty"` // Azure subscription ID. AzureSubscriptionId string `protobuf:"bytes,4,opt,name=azure_subscription_id,json=azureSubscriptionId,proto3" json:"azure_subscription_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DiscoverAzureDatabaseRequest) Reset() { @@ -151,10 +150,7 @@ func (x *DiscoverAzureDatabaseRequest) GetAzureSubscriptionId() string { // DiscoverAzureDatabaseInstance models an unique Azure Database instance for the list of instances returned by Discovery. type DiscoverAzureDatabaseInstance struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Azure database instance ID. InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` // Azure database location. @@ -175,7 +171,9 @@ type DiscoverAzureDatabaseInstance struct { Az string `protobuf:"bytes,9,opt,name=az,proto3" json:"az,omitempty"` // Represents a purchasable Stock Keeping Unit (SKU) under a product. // https://docs.microsoft.com/en-us/partner-center/develop/product-resources#sku. - NodeModel string `protobuf:"bytes,10,opt,name=node_model,json=nodeModel,proto3" json:"node_model,omitempty"` + NodeModel string `protobuf:"bytes,10,opt,name=node_model,json=nodeModel,proto3" json:"node_model,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DiscoverAzureDatabaseInstance) Reset() { @@ -280,11 +278,10 @@ func (x *DiscoverAzureDatabaseInstance) GetNodeModel() string { // DiscoverAzureDatabaseResponse discover azure databases response. type DiscoverAzureDatabaseResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` AzureDatabaseInstance []*DiscoverAzureDatabaseInstance `protobuf:"bytes,1,rep,name=azure_database_instance,json=azureDatabaseInstance,proto3" json:"azure_database_instance,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DiscoverAzureDatabaseResponse) Reset() { @@ -325,10 +322,7 @@ func (x *DiscoverAzureDatabaseResponse) GetAzureDatabaseInstance() []*DiscoverAz } type AddAzureDatabaseRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Azure database location. Region string `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"` // Azure database availability zone. @@ -367,7 +361,7 @@ type AddAzureDatabaseRequest struct { // If true, adds qan-mysql-perfschema-agent or qan-postgresql-pgstatements-agent. Qan bool `protobuf:"varint,18,opt,name=qan,proto3" json:"qan,omitempty"` // Custom user-assigned labels for Node and Service. - CustomLabels map[string]string `protobuf:"bytes,19,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,19,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Skip connection check. SkipConnectionCheck bool `protobuf:"varint,20,opt,name=skip_connection_check,json=skipConnectionCheck,proto3" json:"skip_connection_check,omitempty"` // Use TLS for database connections. @@ -381,7 +375,9 @@ type AddAzureDatabaseRequest struct { // Use negative value to disable them. TablestatsGroupTableLimit int32 `protobuf:"varint,24,opt,name=tablestats_group_table_limit,json=tablestatsGroupTableLimit,proto3" json:"tablestats_group_table_limit,omitempty"` // Azure database resource type (mysql, maria, postgres) - Type DiscoverAzureDatabaseType `protobuf:"varint,25,opt,name=type,proto3,enum=azure.v1beta1.DiscoverAzureDatabaseType" json:"type,omitempty"` + Type DiscoverAzureDatabaseType `protobuf:"varint,25,opt,name=type,proto3,enum=azure.v1beta1.DiscoverAzureDatabaseType" json:"type,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddAzureDatabaseRequest) Reset() { @@ -590,9 +586,9 @@ func (x *AddAzureDatabaseRequest) GetType() DiscoverAzureDatabaseType { } type AddAzureDatabaseResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddAzureDatabaseResponse) Reset() { diff --git a/api/managementpb/backup/artifacts.pb.go b/api/managementpb/backup/artifacts.pb.go index 191759ebbd..6f44d74567 100644 --- a/api/managementpb/backup/artifacts.pb.go +++ b/api/managementpb/backup/artifacts.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: managementpb/backup/artifacts.proto @@ -93,10 +93,7 @@ func (BackupStatus) EnumDescriptor() ([]byte, []int) { // Artifact represents single backup artifact. type Artifact struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Machine-readable artifact ID. ArtifactId string `protobuf:"bytes,1,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"` // Artifact name @@ -124,7 +121,9 @@ type Artifact struct { // Folder to store artifact on a storage. Folder string `protobuf:"bytes,13,opt,name=folder,proto3" json:"folder,omitempty"` // List of artifact metadata. - MetadataList []*Metadata `protobuf:"bytes,14,rep,name=metadata_list,json=metadataList,proto3" json:"metadata_list,omitempty"` + MetadataList []*Metadata `protobuf:"bytes,14,rep,name=metadata_list,json=metadataList,proto3" json:"metadata_list,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Artifact) Reset() { @@ -256,9 +255,9 @@ func (x *Artifact) GetMetadataList() []*Metadata { } type ListArtifactsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListArtifactsRequest) Reset() { @@ -292,11 +291,10 @@ func (*ListArtifactsRequest) Descriptor() ([]byte, []int) { } type ListArtifactsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Artifacts []*Artifact `protobuf:"bytes,1,rep,name=artifacts,proto3" json:"artifacts,omitempty"` unknownFields protoimpl.UnknownFields - - Artifacts []*Artifact `protobuf:"bytes,1,rep,name=artifacts,proto3" json:"artifacts,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListArtifactsResponse) Reset() { @@ -337,14 +335,13 @@ func (x *ListArtifactsResponse) GetArtifacts() []*Artifact { } type DeleteArtifactRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Machine-readable artifact ID. ArtifactId string `protobuf:"bytes,1,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"` // Removes all the backup files associated with artifact if flag is set. - RemoveFiles bool `protobuf:"varint,2,opt,name=remove_files,json=removeFiles,proto3" json:"remove_files,omitempty"` + RemoveFiles bool `protobuf:"varint,2,opt,name=remove_files,json=removeFiles,proto3" json:"remove_files,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteArtifactRequest) Reset() { @@ -392,9 +389,9 @@ func (x *DeleteArtifactRequest) GetRemoveFiles() bool { } type DeleteArtifactResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteArtifactResponse) Reset() { @@ -428,14 +425,13 @@ func (*DeleteArtifactResponse) Descriptor() ([]byte, []int) { } type PitrTimerange struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // start_timestamp is the time of the first event in the PITR chunk. StartTimestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_timestamp,json=startTimestamp,proto3" json:"start_timestamp,omitempty"` // end_timestamp is the time of the last event in the PITR chunk. - EndTimestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_timestamp,json=endTimestamp,proto3" json:"end_timestamp,omitempty"` + EndTimestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_timestamp,json=endTimestamp,proto3" json:"end_timestamp,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PitrTimerange) Reset() { @@ -483,12 +479,11 @@ func (x *PitrTimerange) GetEndTimestamp() *timestamppb.Timestamp { } type ListPitrTimerangesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Artifact ID represents artifact whose location has PITR timeranges to be retrieved. - ArtifactId string `protobuf:"bytes,1,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"` + ArtifactId string `protobuf:"bytes,1,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListPitrTimerangesRequest) Reset() { @@ -529,11 +524,10 @@ func (x *ListPitrTimerangesRequest) GetArtifactId() string { } type ListPitrTimerangesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Timeranges []*PitrTimerange `protobuf:"bytes,1,rep,name=timeranges,proto3" json:"timeranges,omitempty"` unknownFields protoimpl.UnknownFields - - Timeranges []*PitrTimerange `protobuf:"bytes,1,rep,name=timeranges,proto3" json:"timeranges,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListPitrTimerangesResponse) Reset() { diff --git a/api/managementpb/backup/backups.pb.go b/api/managementpb/backup/backups.pb.go index 9770d4b3cf..fac52fe24d 100644 --- a/api/managementpb/backup/backups.pb.go +++ b/api/managementpb/backup/backups.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: managementpb/backup/backups.proto @@ -30,10 +30,7 @@ const ( ) type StartBackupRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Service identifier. ServiceId string `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` // Machine-readable location ID. @@ -49,7 +46,9 @@ type StartBackupRequest struct { // DataModel represents the data model used for the backup. DataModel DataModel `protobuf:"varint,7,opt,name=data_model,json=dataModel,proto3,enum=backup.v1.DataModel" json:"data_model,omitempty"` // Folder on storage for artifact. - Folder string `protobuf:"bytes,8,opt,name=folder,proto3" json:"folder,omitempty"` + Folder string `protobuf:"bytes,8,opt,name=folder,proto3" json:"folder,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartBackupRequest) Reset() { @@ -139,12 +138,11 @@ func (x *StartBackupRequest) GetFolder() string { } type StartBackupResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique identifier. - ArtifactId string `protobuf:"bytes,1,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"` + ArtifactId string `protobuf:"bytes,1,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartBackupResponse) Reset() { @@ -185,12 +183,11 @@ func (x *StartBackupResponse) GetArtifactId() string { } type ListArtifactCompatibleServicesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Artifact id used to determine restore compatibility. - ArtifactId string `protobuf:"bytes,1,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"` + ArtifactId string `protobuf:"bytes,1,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListArtifactCompatibleServicesRequest) Reset() { @@ -231,12 +228,11 @@ func (x *ListArtifactCompatibleServicesRequest) GetArtifactId() string { } type ListArtifactCompatibleServicesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Mysql []*inventorypb.MySQLService `protobuf:"bytes,1,rep,name=mysql,proto3" json:"mysql,omitempty"` + Mongodb []*inventorypb.MongoDBService `protobuf:"bytes,2,rep,name=mongodb,proto3" json:"mongodb,omitempty"` unknownFields protoimpl.UnknownFields - - Mysql []*inventorypb.MySQLService `protobuf:"bytes,1,rep,name=mysql,proto3" json:"mysql,omitempty"` - Mongodb []*inventorypb.MongoDBService `protobuf:"bytes,2,rep,name=mongodb,proto3" json:"mongodb,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListArtifactCompatibleServicesResponse) Reset() { @@ -284,16 +280,15 @@ func (x *ListArtifactCompatibleServicesResponse) GetMongodb() []*inventorypb.Mon } type RestoreBackupRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Service identifier where backup should be restored. ServiceId string `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` // Artifact id to restore. ArtifactId string `protobuf:"bytes,2,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"` // Timestamp of PITR to restore to PitrTimestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=pitr_timestamp,json=pitrTimestamp,proto3" json:"pitr_timestamp,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RestoreBackupRequest) Reset() { @@ -348,12 +343,11 @@ func (x *RestoreBackupRequest) GetPitrTimestamp() *timestamppb.Timestamp { } type RestoreBackupResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique restore identifier. - RestoreId string `protobuf:"bytes,1,opt,name=restore_id,json=restoreId,proto3" json:"restore_id,omitempty"` + RestoreId string `protobuf:"bytes,1,opt,name=restore_id,json=restoreId,proto3" json:"restore_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RestoreBackupResponse) Reset() { @@ -395,10 +389,7 @@ func (x *RestoreBackupResponse) GetRestoreId() string { // ScheduledBackup represents scheduled task for backup. type ScheduledBackup struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Machine-readable ID. ScheduledBackupId string `protobuf:"bytes,1,opt,name=scheduled_backup_id,json=scheduledBackupId,proto3" json:"scheduled_backup_id,omitempty"` // Machine-readable service ID. @@ -436,7 +427,9 @@ type ScheduledBackup struct { // Backup mode. Mode BackupMode `protobuf:"varint,19,opt,name=mode,proto3,enum=backup.v1.BackupMode" json:"mode,omitempty"` // Folder on storage for artifact. - Folder string `protobuf:"bytes,20,opt,name=folder,proto3" json:"folder,omitempty"` + Folder string `protobuf:"bytes,20,opt,name=folder,proto3" json:"folder,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ScheduledBackup) Reset() { @@ -603,10 +596,7 @@ func (x *ScheduledBackup) GetFolder() string { } type ScheduleBackupRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Service identifier where backup should be performed. ServiceId string `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` // Machine-readable location ID. @@ -632,7 +622,9 @@ type ScheduleBackupRequest struct { // Backup data model (physical or logical). DataModel DataModel `protobuf:"varint,12,opt,name=data_model,json=dataModel,proto3,enum=backup.v1.DataModel" json:"data_model,omitempty"` // Folder on storage for artifact. - Folder string `protobuf:"bytes,13,opt,name=folder,proto3" json:"folder,omitempty"` + Folder string `protobuf:"bytes,13,opt,name=folder,proto3" json:"folder,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ScheduleBackupRequest) Reset() { @@ -757,11 +749,10 @@ func (x *ScheduleBackupRequest) GetFolder() string { } type ScheduleBackupResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ScheduledBackupId string `protobuf:"bytes,1,opt,name=scheduled_backup_id,json=scheduledBackupId,proto3" json:"scheduled_backup_id,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + ScheduledBackupId string `protobuf:"bytes,1,opt,name=scheduled_backup_id,json=scheduledBackupId,proto3" json:"scheduled_backup_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ScheduleBackupResponse) Reset() { @@ -802,9 +793,9 @@ func (x *ScheduleBackupResponse) GetScheduledBackupId() string { } type ListScheduledBackupsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListScheduledBackupsRequest) Reset() { @@ -838,11 +829,10 @@ func (*ListScheduledBackupsRequest) Descriptor() ([]byte, []int) { } type ListScheduledBackupsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ScheduledBackups []*ScheduledBackup `protobuf:"bytes,1,rep,name=scheduled_backups,json=scheduledBackups,proto3" json:"scheduled_backups,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + ScheduledBackups []*ScheduledBackup `protobuf:"bytes,1,rep,name=scheduled_backups,json=scheduledBackups,proto3" json:"scheduled_backups,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListScheduledBackupsResponse) Reset() { @@ -883,12 +873,9 @@ func (x *ListScheduledBackupsResponse) GetScheduledBackups() []*ScheduledBackup } type ChangeScheduledBackupRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ScheduledBackupId string `protobuf:"bytes,1,opt,name=scheduled_backup_id,json=scheduledBackupId,proto3" json:"scheduled_backup_id,omitempty"` - Enabled *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=enabled,proto3" json:"enabled,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + ScheduledBackupId string `protobuf:"bytes,1,opt,name=scheduled_backup_id,json=scheduledBackupId,proto3" json:"scheduled_backup_id,omitempty"` + Enabled *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=enabled,proto3" json:"enabled,omitempty"` // How often backup should be run in cron format. CronExpression *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=cron_expression,json=cronExpression,proto3" json:"cron_expression,omitempty"` // First backup wouldn't happen before this time. @@ -902,7 +889,9 @@ type ChangeScheduledBackupRequest struct { // How many times to retry a failed backup before giving up. Retries *wrapperspb.UInt32Value `protobuf:"bytes,8,opt,name=retries,proto3" json:"retries,omitempty"` // How many artifacts keep. 0 - unlimited. - Retention *wrapperspb.UInt32Value `protobuf:"bytes,9,opt,name=retention,proto3" json:"retention,omitempty"` + Retention *wrapperspb.UInt32Value `protobuf:"bytes,9,opt,name=retention,proto3" json:"retention,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ChangeScheduledBackupRequest) Reset() { @@ -999,9 +988,9 @@ func (x *ChangeScheduledBackupRequest) GetRetention() *wrapperspb.UInt32Value { } type ChangeScheduledBackupResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ChangeScheduledBackupResponse) Reset() { @@ -1035,11 +1024,10 @@ func (*ChangeScheduledBackupResponse) Descriptor() ([]byte, []int) { } type RemoveScheduledBackupRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ScheduledBackupId string `protobuf:"bytes,1,opt,name=scheduled_backup_id,json=scheduledBackupId,proto3" json:"scheduled_backup_id,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + ScheduledBackupId string `protobuf:"bytes,1,opt,name=scheduled_backup_id,json=scheduledBackupId,proto3" json:"scheduled_backup_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RemoveScheduledBackupRequest) Reset() { @@ -1080,9 +1068,9 @@ func (x *RemoveScheduledBackupRequest) GetScheduledBackupId() string { } type RemoveScheduledBackupResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RemoveScheduledBackupResponse) Reset() { @@ -1116,14 +1104,13 @@ func (*RemoveScheduledBackupResponse) Descriptor() ([]byte, []int) { } type GetLogsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + ArtifactId string `protobuf:"bytes,1,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"` + Offset uint32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` + Limit uint32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` + RestoreId string `protobuf:"bytes,4,opt,name=restore_id,json=restoreId,proto3" json:"restore_id,omitempty"` unknownFields protoimpl.UnknownFields - - ArtifactId string `protobuf:"bytes,1,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"` - Offset uint32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` - Limit uint32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` - RestoreId string `protobuf:"bytes,4,opt,name=restore_id,json=restoreId,proto3" json:"restore_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetLogsRequest) Reset() { @@ -1185,12 +1172,11 @@ func (x *GetLogsRequest) GetRestoreId() string { } type GetLogsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Logs []*LogChunk `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"` + End bool `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"` unknownFields protoimpl.UnknownFields - - Logs []*LogChunk `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"` - End bool `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetLogsResponse) Reset() { @@ -1239,12 +1225,11 @@ func (x *GetLogsResponse) GetEnd() bool { // LogChunk represent one chunk of logs. type LogChunk struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + ChunkId uint32 `protobuf:"varint,1,opt,name=chunk_id,json=chunkId,proto3" json:"chunk_id,omitempty"` + Data string `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` unknownFields protoimpl.UnknownFields - - ChunkId uint32 `protobuf:"varint,1,opt,name=chunk_id,json=chunkId,proto3" json:"chunk_id,omitempty"` - Data string `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` + sizeCache protoimpl.SizeCache } func (x *LogChunk) Reset() { diff --git a/api/managementpb/backup/common.pb.go b/api/managementpb/backup/common.pb.go index eb013ff95d..9fc7166ad9 100644 --- a/api/managementpb/backup/common.pb.go +++ b/api/managementpb/backup/common.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: managementpb/backup/common.proto @@ -128,12 +128,11 @@ func (BackupMode) EnumDescriptor() ([]byte, []int) { // File represents file or folder on a storage. type File struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + IsDirectory bool `protobuf:"varint,2,opt,name=is_directory,json=isDirectory,proto3" json:"is_directory,omitempty"` unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - IsDirectory bool `protobuf:"varint,2,opt,name=is_directory,json=isDirectory,proto3" json:"is_directory,omitempty"` + sizeCache protoimpl.SizeCache } func (x *File) Reset() { @@ -182,12 +181,11 @@ func (x *File) GetIsDirectory() bool { // PbmMetadata contains additional data for pbm cli tools. type PbmMetadata struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Name of backup in backup tool representation. - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PbmMetadata) Reset() { @@ -229,20 +227,19 @@ func (x *PbmMetadata) GetName() string { // Metadata contains extra artifact data like files it consists of, tool specific data, etc. type Metadata struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // List of files backup consists of. FileList []*File `protobuf:"bytes,1,rep,name=file_list,json=fileList,proto3" json:"file_list,omitempty"` // Exact time DB can be restored to. RestoreTo *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=restore_to,json=restoreTo,proto3" json:"restore_to,omitempty"` // Extra data for backup tools. // - // Types that are assignable to BackupToolMetadata: + // Types that are valid to be assigned to BackupToolMetadata: // // *Metadata_PbmMetadata BackupToolMetadata isMetadata_BackupToolMetadata `protobuf_oneof:"backup_tool_metadata"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Metadata) Reset() { @@ -289,16 +286,18 @@ func (x *Metadata) GetRestoreTo() *timestamppb.Timestamp { return nil } -func (m *Metadata) GetBackupToolMetadata() isMetadata_BackupToolMetadata { - if m != nil { - return m.BackupToolMetadata +func (x *Metadata) GetBackupToolMetadata() isMetadata_BackupToolMetadata { + if x != nil { + return x.BackupToolMetadata } return nil } func (x *Metadata) GetPbmMetadata() *PbmMetadata { - if x, ok := x.GetBackupToolMetadata().(*Metadata_PbmMetadata); ok { - return x.PbmMetadata + if x != nil { + if x, ok := x.BackupToolMetadata.(*Metadata_PbmMetadata); ok { + return x.PbmMetadata + } } return nil } diff --git a/api/managementpb/backup/errors.pb.go b/api/managementpb/backup/errors.pb.go index 74fca072e4..466bcc5c26 100644 --- a/api/managementpb/backup/errors.pb.go +++ b/api/managementpb/backup/errors.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: managementpb/backup/errors.proto @@ -88,11 +88,10 @@ func (ErrorCode) EnumDescriptor() ([]byte, []int) { // Error represents error message returned in the details field in the response. type Error struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Code ErrorCode `protobuf:"varint,1,opt,name=code,proto3,enum=backup.v1.ErrorCode" json:"code,omitempty"` unknownFields protoimpl.UnknownFields - - Code ErrorCode `protobuf:"varint,1,opt,name=code,proto3,enum=backup.v1.ErrorCode" json:"code,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Error) Reset() { diff --git a/api/managementpb/backup/locations.pb.go b/api/managementpb/backup/locations.pb.go index 860ca33cb9..d1f45dca6e 100644 --- a/api/managementpb/backup/locations.pb.go +++ b/api/managementpb/backup/locations.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: managementpb/backup/locations.proto @@ -25,11 +25,10 @@ const ( // FilesystemLocationConfig represents file system location config. type FilesystemLocationConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` unknownFields protoimpl.UnknownFields - - Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` + sizeCache protoimpl.SizeCache } func (x *FilesystemLocationConfig) Reset() { @@ -71,14 +70,13 @@ func (x *FilesystemLocationConfig) GetPath() string { // S3LocationConfig represents S3 bucket configuration. type S3LocationConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` + AccessKey string `protobuf:"bytes,2,opt,name=access_key,json=accessKey,proto3" json:"access_key,omitempty"` + SecretKey string `protobuf:"bytes,3,opt,name=secret_key,json=secretKey,proto3" json:"secret_key,omitempty"` + BucketName string `protobuf:"bytes,4,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` unknownFields protoimpl.UnknownFields - - Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` - AccessKey string `protobuf:"bytes,2,opt,name=access_key,json=accessKey,proto3" json:"access_key,omitempty"` - SecretKey string `protobuf:"bytes,3,opt,name=secret_key,json=secretKey,proto3" json:"secret_key,omitempty"` - BucketName string `protobuf:"bytes,4,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` + sizeCache protoimpl.SizeCache } func (x *S3LocationConfig) Reset() { @@ -141,21 +139,20 @@ func (x *S3LocationConfig) GetBucketName() string { // Location represents single Backup Location. type Location struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Machine-readable ID. LocationId string `protobuf:"bytes,1,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"` // Location name Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Short description Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` - // Types that are assignable to Config: + // Types that are valid to be assigned to Config: // // *Location_FilesystemConfig // *Location_S3Config - Config isLocation_Config `protobuf_oneof:"config"` + Config isLocation_Config `protobuf_oneof:"config"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Location) Reset() { @@ -209,23 +206,27 @@ func (x *Location) GetDescription() string { return "" } -func (m *Location) GetConfig() isLocation_Config { - if m != nil { - return m.Config +func (x *Location) GetConfig() isLocation_Config { + if x != nil { + return x.Config } return nil } func (x *Location) GetFilesystemConfig() *FilesystemLocationConfig { - if x, ok := x.GetConfig().(*Location_FilesystemConfig); ok { - return x.FilesystemConfig + if x != nil { + if x, ok := x.Config.(*Location_FilesystemConfig); ok { + return x.FilesystemConfig + } } return nil } func (x *Location) GetS3Config() *S3LocationConfig { - if x, ok := x.GetConfig().(*Location_S3Config); ok { - return x.S3Config + if x != nil { + if x, ok := x.Config.(*Location_S3Config); ok { + return x.S3Config + } } return nil } @@ -247,9 +248,9 @@ func (*Location_FilesystemConfig) isLocation_Config() {} func (*Location_S3Config) isLocation_Config() {} type ListLocationsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListLocationsRequest) Reset() { @@ -283,11 +284,10 @@ func (*ListLocationsRequest) Descriptor() ([]byte, []int) { } type ListLocationsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Locations []*Location `protobuf:"bytes,1,rep,name=locations,proto3" json:"locations,omitempty"` unknownFields protoimpl.UnknownFields - - Locations []*Location `protobuf:"bytes,1,rep,name=locations,proto3" json:"locations,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListLocationsResponse) Reset() { @@ -328,17 +328,16 @@ func (x *ListLocationsResponse) GetLocations() []*Location { } type AddLocationRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Location name Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // Filesystem location configuration. Exactly one config should be set. FilesystemConfig *FilesystemLocationConfig `protobuf:"bytes,3,opt,name=filesystem_config,json=filesystemConfig,proto3" json:"filesystem_config,omitempty"` // S3 Bucket configuration. Exactly one config should be set. - S3Config *S3LocationConfig `protobuf:"bytes,4,opt,name=s3_config,json=s3Config,proto3" json:"s3_config,omitempty"` + S3Config *S3LocationConfig `protobuf:"bytes,4,opt,name=s3_config,json=s3Config,proto3" json:"s3_config,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddLocationRequest) Reset() { @@ -400,12 +399,11 @@ func (x *AddLocationRequest) GetS3Config() *S3LocationConfig { } type AddLocationResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Machine-readable ID. - LocationId string `protobuf:"bytes,1,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"` + LocationId string `protobuf:"bytes,1,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddLocationResponse) Reset() { @@ -446,10 +444,7 @@ func (x *AddLocationResponse) GetLocationId() string { } type ChangeLocationRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Machine-readable ID. LocationId string `protobuf:"bytes,1,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"` // Location name @@ -458,7 +453,9 @@ type ChangeLocationRequest struct { // Filesystem location configuration. Exactly one config should be set. FilesystemConfig *FilesystemLocationConfig `protobuf:"bytes,4,opt,name=filesystem_config,json=filesystemConfig,proto3" json:"filesystem_config,omitempty"` // S3 Bucket configuration. Exactly one config should be set. - S3Config *S3LocationConfig `protobuf:"bytes,5,opt,name=s3_config,json=s3Config,proto3" json:"s3_config,omitempty"` + S3Config *S3LocationConfig `protobuf:"bytes,5,opt,name=s3_config,json=s3Config,proto3" json:"s3_config,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ChangeLocationRequest) Reset() { @@ -527,9 +524,9 @@ func (x *ChangeLocationRequest) GetS3Config() *S3LocationConfig { } type ChangeLocationResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ChangeLocationResponse) Reset() { @@ -563,14 +560,13 @@ func (*ChangeLocationResponse) Descriptor() ([]byte, []int) { } type RemoveLocationRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Machine-readable ID. LocationId string `protobuf:"bytes,1,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"` // Force mode - Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` + Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RemoveLocationRequest) Reset() { @@ -618,9 +614,9 @@ func (x *RemoveLocationRequest) GetForce() bool { } type RemoveLocationResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RemoveLocationResponse) Reset() { @@ -654,14 +650,13 @@ func (*RemoveLocationResponse) Descriptor() ([]byte, []int) { } type TestLocationConfigRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Filesystem location configuration. Exactly one config should be set. FilesystemConfig *FilesystemLocationConfig `protobuf:"bytes,1,opt,name=filesystem_config,json=filesystemConfig,proto3" json:"filesystem_config,omitempty"` // S3 Bucket configuration. Exactly one config should be set. - S3Config *S3LocationConfig `protobuf:"bytes,2,opt,name=s3_config,json=s3Config,proto3" json:"s3_config,omitempty"` + S3Config *S3LocationConfig `protobuf:"bytes,2,opt,name=s3_config,json=s3Config,proto3" json:"s3_config,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *TestLocationConfigRequest) Reset() { @@ -709,9 +704,9 @@ func (x *TestLocationConfigRequest) GetS3Config() *S3LocationConfig { } type TestLocationConfigResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *TestLocationConfigResponse) Reset() { diff --git a/api/managementpb/backup/restores.pb.go b/api/managementpb/backup/restores.pb.go index 3eec9c8bfb..81c3bcfb56 100644 --- a/api/managementpb/backup/restores.pb.go +++ b/api/managementpb/backup/restores.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: managementpb/backup/restores.proto @@ -78,10 +78,7 @@ func (RestoreStatus) EnumDescriptor() ([]byte, []int) { // RestoreHistoryItem represents single backup restore item. type RestoreHistoryItem struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Machine-readable restore id. RestoreId string `protobuf:"bytes,1,opt,name=restore_id,json=restoreId,proto3" json:"restore_id,omitempty"` // ID of the artifact used for restore. @@ -108,6 +105,8 @@ type RestoreHistoryItem struct { FinishedAt *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=finished_at,json=finishedAt,proto3" json:"finished_at,omitempty"` // PITR timestamp is filled for PITR restores, empty otherwise. PitrTimestamp *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=pitr_timestamp,json=pitrTimestamp,proto3" json:"pitr_timestamp,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RestoreHistoryItem) Reset() { @@ -232,9 +231,9 @@ func (x *RestoreHistoryItem) GetPitrTimestamp() *timestamppb.Timestamp { } type ListRestoreHistoryRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListRestoreHistoryRequest) Reset() { @@ -268,11 +267,10 @@ func (*ListRestoreHistoryRequest) Descriptor() ([]byte, []int) { } type ListRestoreHistoryResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Items []*RestoreHistoryItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` unknownFields protoimpl.UnknownFields - - Items []*RestoreHistoryItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListRestoreHistoryResponse) Reset() { diff --git a/api/managementpb/boolean_flag.pb.go b/api/managementpb/boolean_flag.pb.go index d01843188d..ba3c915815 100644 --- a/api/managementpb/boolean_flag.pb.go +++ b/api/managementpb/boolean_flag.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: managementpb/boolean_flag.proto diff --git a/api/managementpb/checks.pb.go b/api/managementpb/checks.pb.go index 4be9f314b9..37877eb333 100644 --- a/api/managementpb/checks.pb.go +++ b/api/managementpb/checks.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: managementpb/checks.proto @@ -130,18 +130,17 @@ func (AdvisorCheckFamily) EnumDescriptor() ([]byte, []int) { // SecurityCheckResult represents the check result returned from pmm-managed after running the check. type SecurityCheckResult struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Summary string `protobuf:"bytes,1,opt,name=summary,proto3" json:"summary,omitempty"` - Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` - Severity Severity `protobuf:"varint,3,opt,name=severity,proto3,enum=management.Severity" json:"severity,omitempty"` - Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + state protoimpl.MessageState `protogen:"open.v1"` + Summary string `protobuf:"bytes,1,opt,name=summary,proto3" json:"summary,omitempty"` + Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` + Severity Severity `protobuf:"varint,3,opt,name=severity,proto3,enum=management.Severity" json:"severity,omitempty"` + Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // URL containing information on how to resolve an issue detected by an STT check. ReadMoreUrl string `protobuf:"bytes,5,opt,name=read_more_url,json=readMoreUrl,proto3" json:"read_more_url,omitempty"` // Name of the monitored service on which the check ran. - ServiceName string `protobuf:"bytes,6,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` + ServiceName string `protobuf:"bytes,6,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SecurityCheckResult) Reset() { @@ -218,12 +217,9 @@ func (x *SecurityCheckResult) GetServiceName() string { // CheckResultSummary is a summary of check results. type CheckResultSummary struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` - ServiceId string `protobuf:"bytes,2,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` + ServiceId string `protobuf:"bytes,2,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` // Number of failed checks for this service with severity level "EMERGENCY". EmergencyCount uint32 `protobuf:"varint,3,opt,name=emergency_count,json=emergencyCount,proto3" json:"emergency_count,omitempty"` // Number of failed checks for this service with severity level "ALERT". @@ -239,7 +235,9 @@ type CheckResultSummary struct { // Number of failed checks for this service with severity level "INFO". InfoCount uint32 `protobuf:"varint,9,opt,name=info_count,json=infoCount,proto3" json:"info_count,omitempty"` // Number of failed checks for this service with severity level "DEBUG". - DebugCount uint32 `protobuf:"varint,10,opt,name=debug_count,json=debugCount,proto3" json:"debug_count,omitempty"` + DebugCount uint32 `protobuf:"varint,10,opt,name=debug_count,json=debugCount,proto3" json:"debug_count,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CheckResultSummary) Reset() { @@ -344,14 +342,11 @@ func (x *CheckResultSummary) GetDebugCount() uint32 { // CheckResult represents the check results for a given service. type CheckResult struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Summary string `protobuf:"bytes,1,opt,name=summary,proto3" json:"summary,omitempty"` - Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` - Severity Severity `protobuf:"varint,3,opt,name=severity,proto3,enum=management.Severity" json:"severity,omitempty"` - Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + state protoimpl.MessageState `protogen:"open.v1"` + Summary string `protobuf:"bytes,1,opt,name=summary,proto3" json:"summary,omitempty"` + Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` + Severity Severity `protobuf:"varint,3,opt,name=severity,proto3,enum=management.Severity" json:"severity,omitempty"` + Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // URL containing information on how to resolve an issue detected by an STT check. ReadMoreUrl string `protobuf:"bytes,5,opt,name=read_more_url,json=readMoreUrl,proto3" json:"read_more_url,omitempty"` // Name of the monitored service on which the check ran. @@ -363,7 +358,9 @@ type CheckResult struct { // ID of the check result as stored in AlertManager AlertId string `protobuf:"bytes,9,opt,name=alert_id,json=alertId,proto3" json:"alert_id,omitempty"` // Silence status of the check result - Silenced bool `protobuf:"varint,10,opt,name=silenced,proto3" json:"silenced,omitempty"` + Silenced bool `protobuf:"varint,10,opt,name=silenced,proto3" json:"silenced,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CheckResult) Reset() { @@ -468,10 +465,7 @@ func (x *CheckResult) GetSilenced() bool { // SecurityCheck contains check name and status. type SecurityCheck struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Machine-readable name (ID) that is used in expression. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // True if that check is disabled. @@ -483,7 +477,9 @@ type SecurityCheck struct { // Check execution interval. Interval SecurityCheckInterval `protobuf:"varint,5,opt,name=interval,proto3,enum=management.SecurityCheckInterval" json:"interval,omitempty"` // DB family. - Family AdvisorCheckFamily `protobuf:"varint,6,opt,name=family,proto3,enum=management.AdvisorCheckFamily" json:"family,omitempty"` + Family AdvisorCheckFamily `protobuf:"varint,6,opt,name=family,proto3,enum=management.AdvisorCheckFamily" json:"family,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SecurityCheck) Reset() { @@ -559,10 +555,7 @@ func (x *SecurityCheck) GetFamily() AdvisorCheckFamily { } type Advisor struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Machine-readable name (ID) that is used in expression. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Long human-readable description. @@ -574,7 +567,9 @@ type Advisor struct { // Category. Category string `protobuf:"bytes,5,opt,name=category,proto3" json:"category,omitempty"` // Advisor checks. - Checks []*SecurityCheck `protobuf:"bytes,6,rep,name=checks,proto3" json:"checks,omitempty"` + Checks []*SecurityCheck `protobuf:"bytes,6,rep,name=checks,proto3" json:"checks,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Advisor) Reset() { @@ -651,16 +646,15 @@ func (x *Advisor) GetChecks() []*SecurityCheck { // ChangeSecurityCheckParams specifies a single check parameters. type ChangeSecurityCheckParams struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The name of the check to change. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Enable bool `protobuf:"varint,2,opt,name=enable,proto3" json:"enable,omitempty"` Disable bool `protobuf:"varint,3,opt,name=disable,proto3" json:"disable,omitempty"` // check execution interval. - Interval SecurityCheckInterval `protobuf:"varint,4,opt,name=interval,proto3,enum=management.SecurityCheckInterval" json:"interval,omitempty"` + Interval SecurityCheckInterval `protobuf:"varint,4,opt,name=interval,proto3,enum=management.SecurityCheckInterval" json:"interval,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ChangeSecurityCheckParams) Reset() { @@ -723,9 +717,9 @@ func (x *ChangeSecurityCheckParams) GetInterval() SecurityCheckInterval { // Deprecated: Marked as deprecated in managementpb/checks.proto. type GetSecurityCheckResultsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetSecurityCheckResultsRequest) Reset() { @@ -760,11 +754,10 @@ func (*GetSecurityCheckResultsRequest) Descriptor() ([]byte, []int) { // Deprecated: Marked as deprecated in managementpb/checks.proto. type GetSecurityCheckResultsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Results []*SecurityCheckResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` unknownFields protoimpl.UnknownFields - - Results []*SecurityCheckResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetSecurityCheckResultsResponse) Reset() { @@ -805,12 +798,11 @@ func (x *GetSecurityCheckResultsResponse) GetResults() []*SecurityCheckResult { } type StartSecurityChecksRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Names of the checks that should be started. - Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` + Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartSecurityChecksRequest) Reset() { @@ -851,9 +843,9 @@ func (x *StartSecurityChecksRequest) GetNames() []string { } type StartSecurityChecksResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartSecurityChecksResponse) Reset() { @@ -887,9 +879,9 @@ func (*StartSecurityChecksResponse) Descriptor() ([]byte, []int) { } type ListSecurityChecksRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListSecurityChecksRequest) Reset() { @@ -923,11 +915,10 @@ func (*ListSecurityChecksRequest) Descriptor() ([]byte, []int) { } type ListSecurityChecksResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Checks []*SecurityCheck `protobuf:"bytes,1,rep,name=checks,proto3" json:"checks,omitempty"` unknownFields protoimpl.UnknownFields - - Checks []*SecurityCheck `protobuf:"bytes,1,rep,name=checks,proto3" json:"checks,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListSecurityChecksResponse) Reset() { @@ -968,9 +959,9 @@ func (x *ListSecurityChecksResponse) GetChecks() []*SecurityCheck { } type ListAdvisorsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListAdvisorsRequest) Reset() { @@ -1004,11 +995,10 @@ func (*ListAdvisorsRequest) Descriptor() ([]byte, []int) { } type ListAdvisorsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Advisors []*Advisor `protobuf:"bytes,1,rep,name=advisors,proto3" json:"advisors,omitempty"` unknownFields protoimpl.UnknownFields - - Advisors []*Advisor `protobuf:"bytes,1,rep,name=advisors,proto3" json:"advisors,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListAdvisorsResponse) Reset() { @@ -1049,11 +1039,10 @@ func (x *ListAdvisorsResponse) GetAdvisors() []*Advisor { } type ChangeSecurityChecksRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Params []*ChangeSecurityCheckParams `protobuf:"bytes,1,rep,name=params,proto3" json:"params,omitempty"` unknownFields protoimpl.UnknownFields - - Params []*ChangeSecurityCheckParams `protobuf:"bytes,1,rep,name=params,proto3" json:"params,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ChangeSecurityChecksRequest) Reset() { @@ -1094,9 +1083,9 @@ func (x *ChangeSecurityChecksRequest) GetParams() []*ChangeSecurityCheckParams { } type ChangeSecurityChecksResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ChangeSecurityChecksResponse) Reset() { @@ -1130,9 +1119,9 @@ func (*ChangeSecurityChecksResponse) Descriptor() ([]byte, []int) { } type ListFailedServicesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListFailedServicesRequest) Reset() { @@ -1166,11 +1155,10 @@ func (*ListFailedServicesRequest) Descriptor() ([]byte, []int) { } type ListFailedServicesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Result []*CheckResultSummary `protobuf:"bytes,1,rep,name=result,proto3" json:"result,omitempty"` unknownFields protoimpl.UnknownFields - - Result []*CheckResultSummary `protobuf:"bytes,1,rep,name=result,proto3" json:"result,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListFailedServicesResponse) Reset() { @@ -1211,12 +1199,11 @@ func (x *ListFailedServicesResponse) GetResult() []*CheckResultSummary { } type GetFailedChecksRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + ServiceId string `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` + PageParams *PageParams `protobuf:"bytes,2,opt,name=page_params,json=pageParams,proto3" json:"page_params,omitempty"` unknownFields protoimpl.UnknownFields - - ServiceId string `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` - PageParams *PageParams `protobuf:"bytes,2,opt,name=page_params,json=pageParams,proto3" json:"page_params,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetFailedChecksRequest) Reset() { @@ -1264,12 +1251,11 @@ func (x *GetFailedChecksRequest) GetPageParams() *PageParams { } type GetFailedChecksResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Results []*CheckResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` + PageTotals *PageTotals `protobuf:"bytes,2,opt,name=page_totals,json=pageTotals,proto3" json:"page_totals,omitempty"` unknownFields protoimpl.UnknownFields - - Results []*CheckResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` - PageTotals *PageTotals `protobuf:"bytes,2,opt,name=page_totals,json=pageTotals,proto3" json:"page_totals,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetFailedChecksResponse) Reset() { @@ -1317,14 +1303,13 @@ func (x *GetFailedChecksResponse) GetPageTotals() *PageTotals { } type ToggleCheckAlertRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Alert ID of the check result. AlertId string `protobuf:"bytes,1,opt,name=alert_id,json=alertId,proto3" json:"alert_id,omitempty"` // Silence the check result if set to true, unsilence otherwise. - Silence bool `protobuf:"varint,2,opt,name=silence,proto3" json:"silence,omitempty"` + Silence bool `protobuf:"varint,2,opt,name=silence,proto3" json:"silence,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ToggleCheckAlertRequest) Reset() { @@ -1372,9 +1357,9 @@ func (x *ToggleCheckAlertRequest) GetSilence() bool { } type ToggleCheckAlertResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ToggleCheckAlertResponse) Reset() { diff --git a/api/managementpb/dbaas/components.pb.go b/api/managementpb/dbaas/components.pb.go index 7379297c6f..3360dea393 100644 --- a/api/managementpb/dbaas/components.pb.go +++ b/api/managementpb/dbaas/components.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: managementpb/dbaas/components.proto @@ -25,16 +25,15 @@ const ( // Component contains information about component. type Component struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + ImagePath string `protobuf:"bytes,1,opt,name=image_path,json=imagePath,proto3" json:"image_path,omitempty"` + ImageHash string `protobuf:"bytes,2,opt,name=image_hash,json=imageHash,proto3" json:"image_hash,omitempty"` + Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` + Critical bool `protobuf:"varint,4,opt,name=critical,proto3" json:"critical,omitempty"` + Default bool `protobuf:"varint,5,opt,name=default,proto3" json:"default,omitempty"` + Disabled bool `protobuf:"varint,6,opt,name=disabled,proto3" json:"disabled,omitempty"` unknownFields protoimpl.UnknownFields - - ImagePath string `protobuf:"bytes,1,opt,name=image_path,json=imagePath,proto3" json:"image_path,omitempty"` - ImageHash string `protobuf:"bytes,2,opt,name=image_hash,json=imageHash,proto3" json:"image_hash,omitempty"` - Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` - Critical bool `protobuf:"varint,4,opt,name=critical,proto3" json:"critical,omitempty"` - Default bool `protobuf:"varint,5,opt,name=default,proto3" json:"default,omitempty"` - Disabled bool `protobuf:"varint,6,opt,name=disabled,proto3" json:"disabled,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Component) Reset() { @@ -111,18 +110,17 @@ func (x *Component) GetDisabled() bool { // Matrix contains all available components. type Matrix struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Mongod map[string]*Component `protobuf:"bytes,1,rep,name=mongod,proto3" json:"mongod,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + Pxc map[string]*Component `protobuf:"bytes,2,rep,name=pxc,proto3" json:"pxc,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + Pmm map[string]*Component `protobuf:"bytes,3,rep,name=pmm,proto3" json:"pmm,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + Proxysql map[string]*Component `protobuf:"bytes,4,rep,name=proxysql,proto3" json:"proxysql,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + Haproxy map[string]*Component `protobuf:"bytes,5,rep,name=haproxy,proto3" json:"haproxy,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + Backup map[string]*Component `protobuf:"bytes,6,rep,name=backup,proto3" json:"backup,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + Operator map[string]*Component `protobuf:"bytes,7,rep,name=operator,proto3" json:"operator,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + LogCollector map[string]*Component `protobuf:"bytes,8,rep,name=log_collector,json=logCollector,proto3" json:"log_collector,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` unknownFields protoimpl.UnknownFields - - Mongod map[string]*Component `protobuf:"bytes,1,rep,name=mongod,proto3" json:"mongod,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - Pxc map[string]*Component `protobuf:"bytes,2,rep,name=pxc,proto3" json:"pxc,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - Pmm map[string]*Component `protobuf:"bytes,3,rep,name=pmm,proto3" json:"pmm,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - Proxysql map[string]*Component `protobuf:"bytes,4,rep,name=proxysql,proto3" json:"proxysql,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - Haproxy map[string]*Component `protobuf:"bytes,5,rep,name=haproxy,proto3" json:"haproxy,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - Backup map[string]*Component `protobuf:"bytes,6,rep,name=backup,proto3" json:"backup,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - Operator map[string]*Component `protobuf:"bytes,7,rep,name=operator,proto3" json:"operator,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - LogCollector map[string]*Component `protobuf:"bytes,8,rep,name=log_collector,json=logCollector,proto3" json:"log_collector,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + sizeCache protoimpl.SizeCache } func (x *Matrix) Reset() { @@ -213,13 +211,12 @@ func (x *Matrix) GetLogCollector() map[string]*Component { // OperatorVersion contains information about operator and components matrix. type OperatorVersion struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Product string `protobuf:"bytes,1,opt,name=product,proto3" json:"product,omitempty"` + Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"` + Matrix *Matrix `protobuf:"bytes,3,opt,name=matrix,proto3" json:"matrix,omitempty"` unknownFields protoimpl.UnknownFields - - Product string `protobuf:"bytes,1,opt,name=product,proto3" json:"product,omitempty"` - Operator string `protobuf:"bytes,2,opt,name=operator,proto3" json:"operator,omitempty"` - Matrix *Matrix `protobuf:"bytes,3,opt,name=matrix,proto3" json:"matrix,omitempty"` + sizeCache protoimpl.SizeCache } func (x *OperatorVersion) Reset() { @@ -274,14 +271,13 @@ func (x *OperatorVersion) GetMatrix() *Matrix { } type GetPSMDBComponentsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Kubernetes cluster name. KubernetesClusterName string `protobuf:"bytes,1,opt,name=kubernetes_cluster_name,json=kubernetesClusterName,proto3" json:"kubernetes_cluster_name,omitempty"` // Version of DB. - DbVersion string `protobuf:"bytes,2,opt,name=db_version,json=dbVersion,proto3" json:"db_version,omitempty"` + DbVersion string `protobuf:"bytes,2,opt,name=db_version,json=dbVersion,proto3" json:"db_version,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetPSMDBComponentsRequest) Reset() { @@ -329,11 +325,10 @@ func (x *GetPSMDBComponentsRequest) GetDbVersion() string { } type GetPSMDBComponentsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Versions []*OperatorVersion `protobuf:"bytes,1,rep,name=versions,proto3" json:"versions,omitempty"` unknownFields protoimpl.UnknownFields - - Versions []*OperatorVersion `protobuf:"bytes,1,rep,name=versions,proto3" json:"versions,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetPSMDBComponentsResponse) Reset() { @@ -374,14 +369,13 @@ func (x *GetPSMDBComponentsResponse) GetVersions() []*OperatorVersion { } type GetPXCComponentsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Kubernetes cluster name. KubernetesClusterName string `protobuf:"bytes,1,opt,name=kubernetes_cluster_name,json=kubernetesClusterName,proto3" json:"kubernetes_cluster_name,omitempty"` // Version of DB. - DbVersion string `protobuf:"bytes,2,opt,name=db_version,json=dbVersion,proto3" json:"db_version,omitempty"` + DbVersion string `protobuf:"bytes,2,opt,name=db_version,json=dbVersion,proto3" json:"db_version,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetPXCComponentsRequest) Reset() { @@ -429,11 +423,10 @@ func (x *GetPXCComponentsRequest) GetDbVersion() string { } type GetPXCComponentsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Versions []*OperatorVersion `protobuf:"bytes,1,rep,name=versions,proto3" json:"versions,omitempty"` unknownFields protoimpl.UnknownFields - - Versions []*OperatorVersion `protobuf:"bytes,1,rep,name=versions,proto3" json:"versions,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetPXCComponentsResponse) Reset() { @@ -475,12 +468,11 @@ func (x *GetPXCComponentsResponse) GetVersions() []*OperatorVersion { // ChangeComponent contains fields to manage components. type ChangeComponent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` DefaultVersion string `protobuf:"bytes,1,opt,name=default_version,json=defaultVersion,proto3" json:"default_version,omitempty"` Versions []*ChangeComponent_ComponentVersion `protobuf:"bytes,2,rep,name=versions,proto3" json:"versions,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ChangeComponent) Reset() { @@ -528,13 +520,12 @@ func (x *ChangeComponent) GetVersions() []*ChangeComponent_ComponentVersion { } type ChangePSMDBComponentsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Kubernetes cluster name. KubernetesClusterName string `protobuf:"bytes,1,opt,name=kubernetes_cluster_name,json=kubernetesClusterName,proto3" json:"kubernetes_cluster_name,omitempty"` Mongod *ChangeComponent `protobuf:"bytes,2,opt,name=mongod,proto3" json:"mongod,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ChangePSMDBComponentsRequest) Reset() { @@ -582,9 +573,9 @@ func (x *ChangePSMDBComponentsRequest) GetMongod() *ChangeComponent { } type ChangePSMDBComponentsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ChangePSMDBComponentsResponse) Reset() { @@ -618,15 +609,14 @@ func (*ChangePSMDBComponentsResponse) Descriptor() ([]byte, []int) { } type ChangePXCComponentsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Kubernetes cluster name. KubernetesClusterName string `protobuf:"bytes,1,opt,name=kubernetes_cluster_name,json=kubernetesClusterName,proto3" json:"kubernetes_cluster_name,omitempty"` Pxc *ChangeComponent `protobuf:"bytes,2,opt,name=pxc,proto3" json:"pxc,omitempty"` Proxysql *ChangeComponent `protobuf:"bytes,3,opt,name=proxysql,proto3" json:"proxysql,omitempty"` Haproxy *ChangeComponent `protobuf:"bytes,4,opt,name=haproxy,proto3" json:"haproxy,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ChangePXCComponentsRequest) Reset() { @@ -688,9 +678,9 @@ func (x *ChangePXCComponentsRequest) GetHaproxy() *ChangeComponent { } type ChangePXCComponentsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ChangePXCComponentsResponse) Reset() { @@ -724,16 +714,15 @@ func (*ChangePXCComponentsResponse) Descriptor() ([]byte, []int) { } type InstallOperatorRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Kubernetes cluster name. KubernetesClusterName string `protobuf:"bytes,1,opt,name=kubernetes_cluster_name,json=kubernetesClusterName,proto3" json:"kubernetes_cluster_name,omitempty"` // operator_type tells what operator we are interested in updating. OperatorType string `protobuf:"bytes,2,opt,name=operator_type,json=operatorType,proto3" json:"operator_type,omitempty"` // version tells what version of the operator we should update to. - Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` + Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *InstallOperatorRequest) Reset() { @@ -788,12 +777,11 @@ func (x *InstallOperatorRequest) GetVersion() string { } type InstallOperatorResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Status tells if installation was successfull. - Status OperatorsStatus `protobuf:"varint,1,opt,name=status,proto3,enum=dbaas.v1beta1.OperatorsStatus" json:"status,omitempty"` + Status OperatorsStatus `protobuf:"varint,1,opt,name=status,proto3,enum=dbaas.v1beta1.OperatorsStatus" json:"status,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *InstallOperatorResponse) Reset() { @@ -834,9 +822,9 @@ func (x *InstallOperatorResponse) GetStatus() OperatorsStatus { } type CheckForOperatorUpdateRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CheckForOperatorUpdateRequest) Reset() { @@ -871,11 +859,10 @@ func (*CheckForOperatorUpdateRequest) Descriptor() ([]byte, []int) { // ComponentUpdateInformation contains version we can update to for certain component. type ComponentUpdateInformation struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - AvailableVersion string `protobuf:"bytes,1,opt,name=available_version,json=availableVersion,proto3" json:"available_version,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + AvailableVersion string `protobuf:"bytes,1,opt,name=available_version,json=availableVersion,proto3" json:"available_version,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ComponentUpdateInformation) Reset() { @@ -917,13 +904,12 @@ func (x *ComponentUpdateInformation) GetAvailableVersion() string { // ComponentsUpdateInformation contains info about components and their available latest versions. type ComponentsUpdateInformation struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // component_to_update_information stores, under the name of the component, information about the update. // "pxc-operator", "psmdb-operator" are names used by backend for our operators. - ComponentToUpdateInformation map[string]*ComponentUpdateInformation `protobuf:"bytes,1,rep,name=component_to_update_information,json=componentToUpdateInformation,proto3" json:"component_to_update_information,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + ComponentToUpdateInformation map[string]*ComponentUpdateInformation `protobuf:"bytes,1,rep,name=component_to_update_information,json=componentToUpdateInformation,proto3" json:"component_to_update_information,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ComponentsUpdateInformation) Reset() { @@ -964,12 +950,11 @@ func (x *ComponentsUpdateInformation) GetComponentToUpdateInformation() map[stri } type CheckForOperatorUpdateResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The cluster name is used as a key for this map, value contains components and their inforamtion about update. - ClusterToComponents map[string]*ComponentsUpdateInformation `protobuf:"bytes,1,rep,name=cluster_to_components,json=clusterToComponents,proto3" json:"cluster_to_components,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + ClusterToComponents map[string]*ComponentsUpdateInformation `protobuf:"bytes,1,rep,name=cluster_to_components,json=clusterToComponents,proto3" json:"cluster_to_components,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CheckForOperatorUpdateResponse) Reset() { @@ -1011,13 +996,12 @@ func (x *CheckForOperatorUpdateResponse) GetClusterToComponents() map[string]*Co // ComponentVersion contains operations which should be done with component version. type ChangeComponent_ComponentVersion struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` + Disable bool `protobuf:"varint,2,opt,name=disable,proto3" json:"disable,omitempty"` + Enable bool `protobuf:"varint,3,opt,name=enable,proto3" json:"enable,omitempty"` unknownFields protoimpl.UnknownFields - - Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` - Disable bool `protobuf:"varint,2,opt,name=disable,proto3" json:"disable,omitempty"` - Enable bool `protobuf:"varint,3,opt,name=enable,proto3" json:"enable,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ChangeComponent_ComponentVersion) Reset() { diff --git a/api/managementpb/dbaas/db_clusters.pb.go b/api/managementpb/dbaas/db_clusters.pb.go index 760dd07be7..51d920ae05 100644 --- a/api/managementpb/dbaas/db_clusters.pb.go +++ b/api/managementpb/dbaas/db_clusters.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: managementpb/dbaas/db_clusters.proto @@ -95,10 +95,7 @@ func (DBClusterState) EnumDescriptor() ([]byte, []int) { // PSMDBCluster represents PSMDB cluster information. type PSMDBCluster struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Cluster name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Cluster state. @@ -123,7 +120,9 @@ type PSMDBCluster struct { // Apply IP source ranges against the cluster. SourceRanges []string `protobuf:"bytes,12,rep,name=source_ranges,json=sourceRanges,proto3" json:"source_ranges,omitempty"` // Configuration template. - Template *Template `protobuf:"bytes,11,opt,name=template,proto3" json:"template,omitempty"` + Template *Template `protobuf:"bytes,11,opt,name=template,proto3" json:"template,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PSMDBCluster) Reset() { @@ -242,10 +241,7 @@ func (x *PSMDBCluster) GetTemplate() *Template { // PXCCluster represents PXC cluster information. type PXCCluster struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Cluster name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Cluster state. @@ -270,7 +266,9 @@ type PXCCluster struct { // Apply IP source ranges against the cluster. SourceRanges []string `protobuf:"bytes,12,rep,name=source_ranges,json=sourceRanges,proto3" json:"source_ranges,omitempty"` // Configuration template. - Template *Template `protobuf:"bytes,11,opt,name=template,proto3" json:"template,omitempty"` + Template *Template `protobuf:"bytes,11,opt,name=template,proto3" json:"template,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PXCCluster) Reset() { @@ -388,12 +386,11 @@ func (x *PXCCluster) GetTemplate() *Template { } type ListDBClustersRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Kubernetes cluster name. KubernetesClusterName string `protobuf:"bytes,1,opt,name=kubernetes_cluster_name,json=kubernetesClusterName,proto3" json:"kubernetes_cluster_name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListDBClustersRequest) Reset() { @@ -434,14 +431,13 @@ func (x *ListDBClustersRequest) GetKubernetesClusterName() string { } type ListDBClustersResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // PXC clusters information. PxcClusters []*PXCCluster `protobuf:"bytes,1,rep,name=pxc_clusters,json=pxcClusters,proto3" json:"pxc_clusters,omitempty"` // PSMDB clusters information. PsmdbClusters []*PSMDBCluster `protobuf:"bytes,2,rep,name=psmdb_clusters,json=psmdbClusters,proto3" json:"psmdb_clusters,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListDBClustersResponse) Reset() { @@ -489,16 +485,15 @@ func (x *ListDBClustersResponse) GetPsmdbClusters() []*PSMDBCluster { } type RestartDBClusterRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Kubernetes cluster name. KubernetesClusterName string `protobuf:"bytes,1,opt,name=kubernetes_cluster_name,json=kubernetesClusterName,proto3" json:"kubernetes_cluster_name,omitempty"` // PXC cluster name. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // DB cluster type. - ClusterType DBClusterType `protobuf:"varint,3,opt,name=cluster_type,json=clusterType,proto3,enum=dbaas.v1beta1.DBClusterType" json:"cluster_type,omitempty"` + ClusterType DBClusterType `protobuf:"varint,3,opt,name=cluster_type,json=clusterType,proto3,enum=dbaas.v1beta1.DBClusterType" json:"cluster_type,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RestartDBClusterRequest) Reset() { @@ -553,9 +548,9 @@ func (x *RestartDBClusterRequest) GetClusterType() DBClusterType { } type RestartDBClusterResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RestartDBClusterResponse) Reset() { @@ -589,14 +584,13 @@ func (*RestartDBClusterResponse) Descriptor() ([]byte, []int) { } type GetDBClusterRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Kubernetes cluster name. KubernetesClusterName string `protobuf:"bytes,1,opt,name=kubernetes_cluster_name,json=kubernetesClusterName,proto3" json:"kubernetes_cluster_name,omitempty"` // DB cluster name. - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetDBClusterRequest) Reset() { @@ -644,14 +638,13 @@ func (x *GetDBClusterRequest) GetName() string { } type GetDBClusterResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // PXC cluster information. PxcCluster *PXCCluster `protobuf:"bytes,1,opt,name=pxc_cluster,json=pxcCluster,proto3" json:"pxc_cluster,omitempty"` // PSMDB cluster information. - PsmdbCluster *PSMDBCluster `protobuf:"bytes,2,opt,name=psmdb_cluster,json=psmdbCluster,proto3" json:"psmdb_cluster,omitempty"` + PsmdbCluster *PSMDBCluster `protobuf:"bytes,2,opt,name=psmdb_cluster,json=psmdbCluster,proto3" json:"psmdb_cluster,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetDBClusterResponse) Reset() { @@ -699,16 +692,15 @@ func (x *GetDBClusterResponse) GetPsmdbCluster() *PSMDBCluster { } type DeleteDBClusterRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Kubernetes cluster name. KubernetesClusterName string `protobuf:"bytes,1,opt,name=kubernetes_cluster_name,json=kubernetesClusterName,proto3" json:"kubernetes_cluster_name,omitempty"` // DB cluster name. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // DB cluster type. - ClusterType DBClusterType `protobuf:"varint,3,opt,name=cluster_type,json=clusterType,proto3,enum=dbaas.v1beta1.DBClusterType" json:"cluster_type,omitempty"` + ClusterType DBClusterType `protobuf:"varint,3,opt,name=cluster_type,json=clusterType,proto3,enum=dbaas.v1beta1.DBClusterType" json:"cluster_type,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteDBClusterRequest) Reset() { @@ -763,9 +755,9 @@ func (x *DeleteDBClusterRequest) GetClusterType() DBClusterType { } type DeleteDBClusterResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteDBClusterResponse) Reset() { @@ -799,12 +791,11 @@ func (*DeleteDBClusterResponse) Descriptor() ([]byte, []int) { } type S3Item struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Key of a filename on s3. - Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *S3Item) Reset() { @@ -845,12 +836,11 @@ func (x *S3Item) GetKey() string { } type ListS3BackupsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Backup Location ID to list backups from - LocationId string `protobuf:"bytes,1,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"` + LocationId string `protobuf:"bytes,1,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListS3BackupsRequest) Reset() { @@ -891,12 +881,11 @@ func (x *ListS3BackupsRequest) GetLocationId() string { } type ListS3BackupsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Backup list. - Backups []*S3Item `protobuf:"bytes,1,rep,name=backups,proto3" json:"backups,omitempty"` + Backups []*S3Item `protobuf:"bytes,1,rep,name=backups,proto3" json:"backups,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListS3BackupsResponse) Reset() { @@ -937,12 +926,11 @@ func (x *ListS3BackupsResponse) GetBackups() []*S3Item { } type ListSecretsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Kubernetes cluster name. KubernetesClusterName string `protobuf:"bytes,1,opt,name=kubernetes_cluster_name,json=kubernetesClusterName,proto3" json:"kubernetes_cluster_name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListSecretsRequest) Reset() { @@ -983,12 +971,11 @@ func (x *ListSecretsRequest) GetKubernetesClusterName() string { } type Secret struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Name of a secret - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Secret) Reset() { @@ -1029,12 +1016,11 @@ func (x *Secret) GetName() string { } type ListSecretsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Secret list. - Secrets []*Secret `protobuf:"bytes,1,rep,name=secrets,proto3" json:"secrets,omitempty"` + Secrets []*Secret `protobuf:"bytes,1,rep,name=secrets,proto3" json:"secrets,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListSecretsResponse) Reset() { diff --git a/api/managementpb/dbaas/dbaas.pb.go b/api/managementpb/dbaas/dbaas.pb.go index 5ffdbcc36a..e5f6294134 100644 --- a/api/managementpb/dbaas/dbaas.pb.go +++ b/api/managementpb/dbaas/dbaas.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: managementpb/dbaas/dbaas.proto @@ -133,16 +133,15 @@ func (OperatorsStatus) EnumDescriptor() ([]byte, []int) { // RunningOperation respresents a long-running operation. type RunningOperation struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Finished steps of the operaion; can decrease or increase compared to the previous value. FinishedSteps int32 `protobuf:"varint,1,opt,name=finished_steps,json=finishedSteps,proto3" json:"finished_steps,omitempty"` // Text describing the current operation progress step. Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // Total steps needed to finish the operation; can decrease or increase compared to the previous value. - TotalSteps int32 `protobuf:"varint,3,opt,name=total_steps,json=totalSteps,proto3" json:"total_steps,omitempty"` + TotalSteps int32 `protobuf:"varint,3,opt,name=total_steps,json=totalSteps,proto3" json:"total_steps,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RunningOperation) Reset() { @@ -198,14 +197,13 @@ func (x *RunningOperation) GetTotalSteps() int32 { // ComputeResources represents container computer resources requests or limits. type ComputeResources struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // CPUs in milliCPUs; 1000m = 1 vCPU. CpuM int32 `protobuf:"varint,1,opt,name=cpu_m,json=cpuM,proto3" json:"cpu_m,omitempty"` // Memory in bytes. - MemoryBytes int64 `protobuf:"varint,2,opt,name=memory_bytes,json=memoryBytes,proto3" json:"memory_bytes,omitempty"` + MemoryBytes int64 `protobuf:"varint,2,opt,name=memory_bytes,json=memoryBytes,proto3" json:"memory_bytes,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ComputeResources) Reset() { @@ -254,10 +252,7 @@ func (x *ComputeResources) GetMemoryBytes() int64 { // Backup configuration for a database cluster type Backup struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Backup Location id of stored backup location in PMM. LocationId string `protobuf:"bytes,1,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"` // Keep copies represents how many copies should retain. @@ -266,6 +261,8 @@ type Backup struct { CronExpression string `protobuf:"bytes,3,opt,name=cron_expression,json=cronExpression,proto3" json:"cron_expression,omitempty"` // Service acccount used for backups ServiceAccount string `protobuf:"bytes,4,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Backup) Reset() { @@ -328,16 +325,15 @@ func (x *Backup) GetServiceAccount() string { // Restore represents restoration payload to restore a database cluster from backup type Restore struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Backup location in PMM. LocationId string `protobuf:"bytes,1,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"` // Destination filename. Destination string `protobuf:"bytes,2,opt,name=destination,proto3" json:"destination,omitempty"` // K8s Secrets name. - SecretsName string `protobuf:"bytes,3,opt,name=secrets_name,json=secretsName,proto3" json:"secrets_name,omitempty"` + SecretsName string `protobuf:"bytes,3,opt,name=secrets_name,json=secretsName,proto3" json:"secrets_name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Restore) Reset() { @@ -393,17 +389,16 @@ func (x *Restore) GetSecretsName() string { // Resources contains Kubernetes cluster resources. type Resources struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Memory in bytes. MemoryBytes uint64 `protobuf:"varint,1,opt,name=memory_bytes,json=memoryBytes,proto3" json:"memory_bytes,omitempty"` // CPU in millicpus. For example 0.1 of CPU is equivalent to 100 millicpus. // See https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#meaning-of-cpu. CpuM uint64 `protobuf:"varint,2,opt,name=cpu_m,json=cpuM,proto3" json:"cpu_m,omitempty"` // Disk size in bytes. - DiskSize uint64 `protobuf:"varint,3,opt,name=disk_size,json=diskSize,proto3" json:"disk_size,omitempty"` + DiskSize uint64 `protobuf:"varint,3,opt,name=disk_size,json=diskSize,proto3" json:"disk_size,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Resources) Reset() { diff --git a/api/managementpb/dbaas/kubernetes.pb.go b/api/managementpb/dbaas/kubernetes.pb.go index 0d1b1e0e73..370a266a02 100644 --- a/api/managementpb/dbaas/kubernetes.pb.go +++ b/api/managementpb/dbaas/kubernetes.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: managementpb/dbaas/kubernetes.proto @@ -82,12 +82,11 @@ func (KubernetesClusterStatus) EnumDescriptor() ([]byte, []int) { // KubeAuth represents Kubernetes / kubectl authentication and authorization information. type KubeAuth struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Kubeconfig file content. - Kubeconfig string `protobuf:"bytes,1,opt,name=kubeconfig,proto3" json:"kubeconfig,omitempty"` + Kubeconfig string `protobuf:"bytes,1,opt,name=kubeconfig,proto3" json:"kubeconfig,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *KubeAuth) Reset() { @@ -129,12 +128,11 @@ func (x *KubeAuth) GetKubeconfig() string { // Operator contains all information about operator installed in Kubernetes cluster. type Operator struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Status OperatorsStatus `protobuf:"varint,1,opt,name=status,proto3,enum=dbaas.v1beta1.OperatorsStatus" json:"status,omitempty"` + Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` unknownFields protoimpl.UnknownFields - - Status OperatorsStatus `protobuf:"varint,1,opt,name=status,proto3,enum=dbaas.v1beta1.OperatorsStatus" json:"status,omitempty"` - Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Operator) Reset() { @@ -183,16 +181,15 @@ func (x *Operator) GetVersion() string { // Operators contains list of operators installed in Kubernetes cluster. type Operators struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Percona PXC Cluster Operator. Pxc *Operator `protobuf:"bytes,1,opt,name=pxc,proto3" json:"pxc,omitempty"` // Percona Server for MongoDB Operator. Psmdb *Operator `protobuf:"bytes,2,opt,name=psmdb,proto3" json:"psmdb,omitempty"` // DBaaS operator. - Dbaas *Operator `protobuf:"bytes,3,opt,name=dbaas,proto3" json:"dbaas,omitempty"` + Dbaas *Operator `protobuf:"bytes,3,opt,name=dbaas,proto3" json:"dbaas,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Operators) Reset() { @@ -247,9 +244,9 @@ func (x *Operators) GetDbaas() *Operator { } type ListKubernetesClustersRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListKubernetesClustersRequest) Reset() { @@ -283,12 +280,11 @@ func (*ListKubernetesClustersRequest) Descriptor() ([]byte, []int) { } type ListKubernetesClustersResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Kubernetes clusters. KubernetesClusters []*ListKubernetesClustersResponse_Cluster `protobuf:"bytes,1,rep,name=kubernetes_clusters,json=kubernetesClusters,proto3" json:"kubernetes_clusters,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListKubernetesClustersResponse) Reset() { @@ -329,10 +325,7 @@ func (x *ListKubernetesClustersResponse) GetKubernetesClusters() []*ListKubernet } type RegisterKubernetesClusterRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Kubernetes cluster name. KubernetesClusterName string `protobuf:"bytes,1,opt,name=kubernetes_cluster_name,json=kubernetesClusterName,proto3" json:"kubernetes_cluster_name,omitempty"` // Kubernetes auth. @@ -341,6 +334,8 @@ type RegisterKubernetesClusterRequest struct { AwsAccessKeyId string `protobuf:"bytes,3,opt,name=aws_access_key_id,json=awsAccessKeyId,proto3" json:"aws_access_key_id,omitempty"` // AWS secret access key, only needed when registering EKS cluster and kubeconfig does not contain it. AwsSecretAccessKey string `protobuf:"bytes,4,opt,name=aws_secret_access_key,json=awsSecretAccessKey,proto3" json:"aws_secret_access_key,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RegisterKubernetesClusterRequest) Reset() { @@ -402,9 +397,9 @@ func (x *RegisterKubernetesClusterRequest) GetAwsSecretAccessKey() string { } type RegisterKubernetesClusterResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RegisterKubernetesClusterResponse) Reset() { @@ -438,15 +433,14 @@ func (*RegisterKubernetesClusterResponse) Descriptor() ([]byte, []int) { } type UnregisterKubernetesClusterRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Kubernetes cluster name. KubernetesClusterName string `protobuf:"bytes,1,opt,name=kubernetes_cluster_name,json=kubernetesClusterName,proto3" json:"kubernetes_cluster_name,omitempty"` // If true then Kubernetes cluster will be deleted // even if it contains database clusters. - Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` + Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UnregisterKubernetesClusterRequest) Reset() { @@ -494,9 +488,9 @@ func (x *UnregisterKubernetesClusterRequest) GetForce() bool { } type UnregisterKubernetesClusterResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UnregisterKubernetesClusterResponse) Reset() { @@ -530,12 +524,11 @@ func (*UnregisterKubernetesClusterResponse) Descriptor() ([]byte, []int) { } type GetKubernetesClusterRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Kubernetes cluster name. KubernetesClusterName string `protobuf:"bytes,1,opt,name=kubernetes_cluster_name,json=kubernetesClusterName,proto3" json:"kubernetes_cluster_name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetKubernetesClusterRequest) Reset() { @@ -576,12 +569,11 @@ func (x *GetKubernetesClusterRequest) GetKubernetesClusterName() string { } type GetKubernetesClusterResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Kubernetes auth. - KubeAuth *KubeAuth `protobuf:"bytes,1,opt,name=kube_auth,json=kubeAuth,proto3" json:"kube_auth,omitempty"` + KubeAuth *KubeAuth `protobuf:"bytes,1,opt,name=kube_auth,json=kubeAuth,proto3" json:"kube_auth,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetKubernetesClusterResponse) Reset() { @@ -622,12 +614,11 @@ func (x *GetKubernetesClusterResponse) GetKubeAuth() *KubeAuth { } type GetResourcesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Kubernetes cluster name. KubernetesClusterName string `protobuf:"bytes,1,opt,name=kubernetes_cluster_name,json=kubernetesClusterName,proto3" json:"kubernetes_cluster_name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetResourcesRequest) Reset() { @@ -668,14 +659,13 @@ func (x *GetResourcesRequest) GetKubernetesClusterName() string { } type GetResourcesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The total amount of resources of the Kubernetes cluster. All *Resources `protobuf:"bytes,1,opt,name=all,proto3" json:"all,omitempty"` // The amount of resources that is available for consumption by future Kubernetes workloads. - Available *Resources `protobuf:"bytes,2,opt,name=available,proto3" json:"available,omitempty"` + Available *Resources `protobuf:"bytes,2,opt,name=available,proto3" json:"available,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetResourcesResponse) Reset() { @@ -723,12 +713,11 @@ func (x *GetResourcesResponse) GetAvailable() *Resources { } type ListStorageClassesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Kubernetes cluster name. KubernetesClusterName string `protobuf:"bytes,1,opt,name=kubernetes_cluster_name,json=kubernetesClusterName,proto3" json:"kubernetes_cluster_name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListStorageClassesRequest) Reset() { @@ -769,12 +758,11 @@ func (x *ListStorageClassesRequest) GetKubernetesClusterName() string { } type ListStorageClassesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Kubernetes storage classes names. StorageClasses []string `protobuf:"bytes,1,rep,name=storage_classes,json=storageClasses,proto3" json:"storage_classes,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListStorageClassesResponse) Reset() { @@ -817,16 +805,15 @@ func (x *ListStorageClassesResponse) GetStorageClasses() []string { // Cluster contains public info about Kubernetes cluster. // TODO Do not use inner messages in all public APIs (for consistency). type ListKubernetesClustersResponse_Cluster struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Kubernetes cluster name. KubernetesClusterName string `protobuf:"bytes,1,opt,name=kubernetes_cluster_name,json=kubernetesClusterName,proto3" json:"kubernetes_cluster_name,omitempty"` // Installed operators. Operators *Operators `protobuf:"bytes,2,opt,name=operators,proto3" json:"operators,omitempty"` // Status of Kubernetes cluster. - Status KubernetesClusterStatus `protobuf:"varint,3,opt,name=status,proto3,enum=dbaas.v1beta1.KubernetesClusterStatus" json:"status,omitempty"` + Status KubernetesClusterStatus `protobuf:"varint,3,opt,name=status,proto3,enum=dbaas.v1beta1.KubernetesClusterStatus" json:"status,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListKubernetesClustersResponse_Cluster) Reset() { diff --git a/api/managementpb/dbaas/logs.pb.go b/api/managementpb/dbaas/logs.pb.go index e27e742750..292abb24a9 100644 --- a/api/managementpb/dbaas/logs.pb.go +++ b/api/managementpb/dbaas/logs.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: managementpb/dbaas/logs.proto @@ -26,16 +26,15 @@ const ( // Logs contain logs for certain pod's container. If container is an empty // string, logs contain pod's events. type Logs struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Pod name. Pod string `protobuf:"bytes,1,opt,name=pod,proto3" json:"pod,omitempty"` // Container name. Container string `protobuf:"bytes,2,opt,name=container,proto3" json:"container,omitempty"` // Content of container's log or pod's events. - Logs []string `protobuf:"bytes,3,rep,name=logs,proto3" json:"logs,omitempty"` + Logs []string `protobuf:"bytes,3,rep,name=logs,proto3" json:"logs,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Logs) Reset() { @@ -90,14 +89,13 @@ func (x *Logs) GetLogs() []string { } type GetLogsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Kubernetes cluster name. KubernetesClusterName string `protobuf:"bytes,1,opt,name=kubernetes_cluster_name,json=kubernetesClusterName,proto3" json:"kubernetes_cluster_name,omitempty"` // DB cluster name. - ClusterName string `protobuf:"bytes,2,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"` + ClusterName string `protobuf:"bytes,2,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetLogsRequest) Reset() { @@ -145,13 +143,12 @@ func (x *GetLogsRequest) GetClusterName() string { } type GetLogsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Log represents list of logs. Each entry contains either container's logs or, // when container field is empty, pod's events. - Logs []*Logs `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"` + Logs []*Logs `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetLogsResponse) Reset() { diff --git a/api/managementpb/dbaas/psmdb_clusters.pb.go b/api/managementpb/dbaas/psmdb_clusters.pb.go index 365a84436d..474515a7dd 100644 --- a/api/managementpb/dbaas/psmdb_clusters.pb.go +++ b/api/managementpb/dbaas/psmdb_clusters.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: managementpb/dbaas/psmdb_clusters.proto @@ -25,10 +25,7 @@ const ( // PSMDBClusterParams represents PSMDB cluster parameters that can be updated. type PSMDBClusterParams struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Cluster size. ClusterSize int32 `protobuf:"varint,1,opt,name=cluster_size,json=clusterSize,proto3" json:"cluster_size,omitempty"` // ReplicaSet container parameters. @@ -38,7 +35,9 @@ type PSMDBClusterParams struct { // Backup configuration parameters. Backup *Backup `protobuf:"bytes,4,opt,name=backup,proto3" json:"backup,omitempty"` // Restore configuration parameters. - Restore *Restore `protobuf:"bytes,5,opt,name=restore,proto3" json:"restore,omitempty"` + Restore *Restore `protobuf:"bytes,5,opt,name=restore,proto3" json:"restore,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PSMDBClusterParams) Reset() { @@ -107,14 +106,13 @@ func (x *PSMDBClusterParams) GetRestore() *Restore { } type GetPSMDBClusterCredentialsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Kubernetes cluster name. KubernetesClusterName string `protobuf:"bytes,1,opt,name=kubernetes_cluster_name,json=kubernetesClusterName,proto3" json:"kubernetes_cluster_name,omitempty"` // PSMDB cluster name. - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetPSMDBClusterCredentialsRequest) Reset() { @@ -162,11 +160,10 @@ func (x *GetPSMDBClusterCredentialsRequest) GetName() string { } type GetPSMDBClusterCredentialsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` ConnectionCredentials *GetPSMDBClusterCredentialsResponse_PSMDBCredentials `protobuf:"bytes,1,opt,name=connection_credentials,json=connectionCredentials,proto3" json:"connection_credentials,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetPSMDBClusterCredentialsResponse) Reset() { @@ -207,10 +204,7 @@ func (x *GetPSMDBClusterCredentialsResponse) GetConnectionCredentials() *GetPSMD } type CreatePSMDBClusterRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Kubernetes cluster name. KubernetesClusterName string `protobuf:"bytes,1,opt,name=kubernetes_cluster_name,json=kubernetesClusterName,proto3" json:"kubernetes_cluster_name,omitempty"` // PSMDB cluster name. @@ -227,7 +221,9 @@ type CreatePSMDBClusterRequest struct { // Apply IP source ranges against the cluster. SourceRanges []string `protobuf:"bytes,6,rep,name=source_ranges,json=sourceRanges,proto3" json:"source_ranges,omitempty"` // Configuration template. - Template *Template `protobuf:"bytes,7,opt,name=template,proto3" json:"template,omitempty"` + Template *Template `protobuf:"bytes,7,opt,name=template,proto3" json:"template,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreatePSMDBClusterRequest) Reset() { @@ -310,9 +306,9 @@ func (x *CreatePSMDBClusterRequest) GetTemplate() *Template { } type CreatePSMDBClusterResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreatePSMDBClusterResponse) Reset() { @@ -346,10 +342,7 @@ func (*CreatePSMDBClusterResponse) Descriptor() ([]byte, []int) { } type UpdatePSMDBClusterRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Kubernetes cluster name. KubernetesClusterName string `protobuf:"bytes,1,opt,name=kubernetes_cluster_name,json=kubernetesClusterName,proto3" json:"kubernetes_cluster_name,omitempty"` // PSMDB cluster name. @@ -363,7 +356,9 @@ type UpdatePSMDBClusterRequest struct { // Apply IP source ranges against the cluster. SourceRanges []string `protobuf:"bytes,6,rep,name=source_ranges,json=sourceRanges,proto3" json:"source_ranges,omitempty"` // Configuration template. - Template *Template `protobuf:"bytes,7,opt,name=template,proto3" json:"template,omitempty"` + Template *Template `protobuf:"bytes,7,opt,name=template,proto3" json:"template,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdatePSMDBClusterRequest) Reset() { @@ -446,9 +441,9 @@ func (x *UpdatePSMDBClusterRequest) GetTemplate() *Template { } type UpdatePSMDBClusterResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdatePSMDBClusterResponse) Reset() { @@ -482,12 +477,11 @@ func (*UpdatePSMDBClusterResponse) Descriptor() ([]byte, []int) { } type GetPSMDBClusterResourcesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Cluster parameters. - Params *PSMDBClusterParams `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` + Params *PSMDBClusterParams `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetPSMDBClusterResourcesRequest) Reset() { @@ -528,12 +522,11 @@ func (x *GetPSMDBClusterResourcesRequest) GetParams() *PSMDBClusterParams { } type GetPSMDBClusterResourcesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Expected resources to be consumed by the cluster. - Expected *Resources `protobuf:"bytes,1,opt,name=expected,proto3" json:"expected,omitempty"` + Expected *Resources `protobuf:"bytes,1,opt,name=expected,proto3" json:"expected,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetPSMDBClusterResourcesResponse) Reset() { @@ -576,10 +569,7 @@ func (x *GetPSMDBClusterResourcesResponse) GetExpected() *Resources { // ReplicaSet container parameters. // TODO Do not use inner messages in all public APIs (for consistency). type PSMDBClusterParams_ReplicaSet struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Requested compute resources. ComputeResources *ComputeResources `protobuf:"bytes,1,opt,name=compute_resources,json=computeResources,proto3" json:"compute_resources,omitempty"` // Disk size in bytes. @@ -587,7 +577,9 @@ type PSMDBClusterParams_ReplicaSet struct { // Configuration for PSMDB cluster Configuration string `protobuf:"bytes,4,opt,name=configuration,proto3" json:"configuration,omitempty"` // Storage Class for PSMDB cluster. - StorageClass string `protobuf:"bytes,5,opt,name=storage_class,json=storageClass,proto3" json:"storage_class,omitempty"` + StorageClass string `protobuf:"bytes,5,opt,name=storage_class,json=storageClass,proto3" json:"storage_class,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PSMDBClusterParams_ReplicaSet) Reset() { @@ -651,10 +643,7 @@ func (x *PSMDBClusterParams_ReplicaSet) GetStorageClass() string { // PSMDBCredentials is a credentials to connect to PSMDB. // TODO Do not use inner messages in all public APIs (for consistency). type GetPSMDBClusterCredentialsResponse_PSMDBCredentials struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // MongoDB username. Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` // MongoDB password. @@ -664,7 +653,9 @@ type GetPSMDBClusterCredentialsResponse_PSMDBCredentials struct { // MongoDB port. Port int32 `protobuf:"varint,4,opt,name=port,proto3" json:"port,omitempty"` // Replicaset name. - Replicaset string `protobuf:"bytes,5,opt,name=replicaset,proto3" json:"replicaset,omitempty"` + Replicaset string `protobuf:"bytes,5,opt,name=replicaset,proto3" json:"replicaset,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetPSMDBClusterCredentialsResponse_PSMDBCredentials) Reset() { @@ -734,10 +725,7 @@ func (x *GetPSMDBClusterCredentialsResponse_PSMDBCredentials) GetReplicaset() st // UpdatePSMDBClusterParams represents PSMDB cluster parameters that can be updated. type UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Cluster size. ClusterSize int32 `protobuf:"varint,1,opt,name=cluster_size,json=clusterSize,proto3" json:"cluster_size,omitempty"` // ReplicaSet container parameters. @@ -748,7 +736,9 @@ type UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams struct { Resume bool `protobuf:"varint,4,opt,name=resume,proto3" json:"resume,omitempty"` // PSMDB image to use. If it's the same image but with different version tag, upgrade of database cluster to version // in given tag is triggered. If entirely different image is given, error is returned. - Image string `protobuf:"bytes,5,opt,name=image,proto3" json:"image,omitempty"` + Image string `protobuf:"bytes,5,opt,name=image,proto3" json:"image,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams) Reset() { @@ -818,16 +808,15 @@ func (x *UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams) GetImage() string { // ReplicaSet container parameters. type UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams_ReplicaSet struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Requested compute resources. ComputeResources *ComputeResources `protobuf:"bytes,1,opt,name=compute_resources,json=computeResources,proto3" json:"compute_resources,omitempty"` // Configuration for PSMDB cluster Configuration string `protobuf:"bytes,4,opt,name=configuration,proto3" json:"configuration,omitempty"` // Storage Class for PSMDB cluster. - StorageClass string `protobuf:"bytes,5,opt,name=storage_class,json=storageClass,proto3" json:"storage_class,omitempty"` + StorageClass string `protobuf:"bytes,5,opt,name=storage_class,json=storageClass,proto3" json:"storage_class,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams_ReplicaSet) Reset() { diff --git a/api/managementpb/dbaas/pxc_clusters.pb.go b/api/managementpb/dbaas/pxc_clusters.pb.go index e77ce963f1..28d1d510f5 100644 --- a/api/managementpb/dbaas/pxc_clusters.pb.go +++ b/api/managementpb/dbaas/pxc_clusters.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: managementpb/dbaas/pxc_clusters.proto @@ -82,10 +82,7 @@ func (PXCBackupState) EnumDescriptor() ([]byte, []int) { // PXCClusterParams represents PXC cluster parameters that can be updated. type PXCClusterParams struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Cluster size. ClusterSize int32 `protobuf:"varint,1,opt,name=cluster_size,json=clusterSize,proto3" json:"cluster_size,omitempty"` // PXC container parameters. @@ -98,7 +95,9 @@ type PXCClusterParams struct { // Backup configuration parameters. Backup *Backup `protobuf:"bytes,5,opt,name=backup,proto3" json:"backup,omitempty"` // Restore configuration parameters. - Restore *Restore `protobuf:"bytes,6,opt,name=restore,proto3" json:"restore,omitempty"` + Restore *Restore `protobuf:"bytes,6,opt,name=restore,proto3" json:"restore,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PXCClusterParams) Reset() { @@ -174,14 +173,13 @@ func (x *PXCClusterParams) GetRestore() *Restore { } type GetPXCClusterCredentialsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Kubernetes cluster name. KubernetesClusterName string `protobuf:"bytes,1,opt,name=kubernetes_cluster_name,json=kubernetesClusterName,proto3" json:"kubernetes_cluster_name,omitempty"` // PXC cluster name. - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetPXCClusterCredentialsRequest) Reset() { @@ -230,10 +228,7 @@ func (x *GetPXCClusterCredentialsRequest) GetName() string { // PXCClusterConnectionCredentials is cluster connection credentials. type PXCClusterConnectionCredentials struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // PXC username. Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` // PXC password. @@ -241,7 +236,9 @@ type PXCClusterConnectionCredentials struct { // PXC host. Host string `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"` // PXC port. - Port int32 `protobuf:"varint,4,opt,name=port,proto3" json:"port,omitempty"` + Port int32 `protobuf:"varint,4,opt,name=port,proto3" json:"port,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PXCClusterConnectionCredentials) Reset() { @@ -303,12 +300,11 @@ func (x *PXCClusterConnectionCredentials) GetPort() int32 { } type GetPXCClusterCredentialsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Cluster connection credentials. ConnectionCredentials *PXCClusterConnectionCredentials `protobuf:"bytes,1,opt,name=connection_credentials,json=connectionCredentials,proto3" json:"connection_credentials,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetPXCClusterCredentialsResponse) Reset() { @@ -349,10 +345,7 @@ func (x *GetPXCClusterCredentialsResponse) GetConnectionCredentials() *PXCCluste } type CreatePXCClusterRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Kubernetes cluster name. KubernetesClusterName string `protobuf:"bytes,1,opt,name=kubernetes_cluster_name,json=kubernetesClusterName,proto3" json:"kubernetes_cluster_name,omitempty"` // PXC cluster name. @@ -369,7 +362,9 @@ type CreatePXCClusterRequest struct { // Apply IP source ranges against the cluster. SourceRanges []string `protobuf:"bytes,6,rep,name=source_ranges,json=sourceRanges,proto3" json:"source_ranges,omitempty"` // Configuration template. - Template *Template `protobuf:"bytes,7,opt,name=template,proto3" json:"template,omitempty"` + Template *Template `protobuf:"bytes,7,opt,name=template,proto3" json:"template,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreatePXCClusterRequest) Reset() { @@ -452,9 +447,9 @@ func (x *CreatePXCClusterRequest) GetTemplate() *Template { } type CreatePXCClusterResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreatePXCClusterResponse) Reset() { @@ -488,10 +483,7 @@ func (*CreatePXCClusterResponse) Descriptor() ([]byte, []int) { } type UpdatePXCClusterRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Kubernetes cluster name. KubernetesClusterName string `protobuf:"bytes,1,opt,name=kubernetes_cluster_name,json=kubernetesClusterName,proto3" json:"kubernetes_cluster_name,omitempty"` // PXC cluster name. @@ -505,7 +497,9 @@ type UpdatePXCClusterRequest struct { // Apply IP source ranges against the cluster. SourceRanges []string `protobuf:"bytes,6,rep,name=source_ranges,json=sourceRanges,proto3" json:"source_ranges,omitempty"` // Configuration template. - Template *Template `protobuf:"bytes,7,opt,name=template,proto3" json:"template,omitempty"` + Template *Template `protobuf:"bytes,7,opt,name=template,proto3" json:"template,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdatePXCClusterRequest) Reset() { @@ -588,9 +582,9 @@ func (x *UpdatePXCClusterRequest) GetTemplate() *Template { } type UpdatePXCClusterResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdatePXCClusterResponse) Reset() { @@ -624,12 +618,11 @@ func (*UpdatePXCClusterResponse) Descriptor() ([]byte, []int) { } type GetPXCClusterResourcesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Cluster parameters. - Params *PXCClusterParams `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` + Params *PXCClusterParams `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetPXCClusterResourcesRequest) Reset() { @@ -670,12 +663,11 @@ func (x *GetPXCClusterResourcesRequest) GetParams() *PXCClusterParams { } type GetPXCClusterResourcesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Expected resources to be consumed by the cluster. - Expected *Resources `protobuf:"bytes,1,opt,name=expected,proto3" json:"expected,omitempty"` + Expected *Resources `protobuf:"bytes,1,opt,name=expected,proto3" json:"expected,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetPXCClusterResourcesResponse) Reset() { @@ -718,10 +710,7 @@ func (x *GetPXCClusterResourcesResponse) GetExpected() *Resources { // PXC container parameters. // TODO Do not use inner messages in all public APIs (for consistency). type PXCClusterParams_PXC struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Docker image used for PXC. Image string `protobuf:"bytes,3,opt,name=image,proto3" json:"image,omitempty"` // Requested compute resources. @@ -731,7 +720,9 @@ type PXCClusterParams_PXC struct { // Configuration for PXC cluster Configuration string `protobuf:"bytes,4,opt,name=configuration,proto3" json:"configuration,omitempty"` // Storage Class for PXC cluster. - StorageClass string `protobuf:"bytes,5,opt,name=storage_class,json=storageClass,proto3" json:"storage_class,omitempty"` + StorageClass string `protobuf:"bytes,5,opt,name=storage_class,json=storageClass,proto3" json:"storage_class,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PXCClusterParams_PXC) Reset() { @@ -802,16 +793,15 @@ func (x *PXCClusterParams_PXC) GetStorageClass() string { // ProxySQL container parameters. // TODO Do not use inner messages in all public APIs (for consistency). type PXCClusterParams_ProxySQL struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Docker image used for ProxySQL. Image string `protobuf:"bytes,3,opt,name=image,proto3" json:"image,omitempty"` // Requested compute resources. ComputeResources *ComputeResources `protobuf:"bytes,1,opt,name=compute_resources,json=computeResources,proto3" json:"compute_resources,omitempty"` // Disk size in bytes. - DiskSize int64 `protobuf:"varint,2,opt,name=disk_size,json=diskSize,proto3" json:"disk_size,omitempty"` + DiskSize int64 `protobuf:"varint,2,opt,name=disk_size,json=diskSize,proto3" json:"disk_size,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PXCClusterParams_ProxySQL) Reset() { @@ -868,14 +858,13 @@ func (x *PXCClusterParams_ProxySQL) GetDiskSize() int64 { // HAProxy container parameters. // NOTE: HAProxy does not need disk size as ProxySQL does because the container does not require it. type PXCClusterParams_HAProxy struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Docker image used for HAProxy. Image string `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` // Requested compute resources. ComputeResources *ComputeResources `protobuf:"bytes,2,opt,name=compute_resources,json=computeResources,proto3" json:"compute_resources,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PXCClusterParams_HAProxy) Reset() { @@ -924,10 +913,7 @@ func (x *PXCClusterParams_HAProxy) GetComputeResources() *ComputeResources { // UpdatePXCClusterParams represents PXC cluster parameters that can be updated. type UpdatePXCClusterRequest_UpdatePXCClusterParams struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Cluster size. ClusterSize int32 `protobuf:"varint,1,opt,name=cluster_size,json=clusterSize,proto3" json:"cluster_size,omitempty"` // PXC container parameters. @@ -939,7 +925,9 @@ type UpdatePXCClusterRequest_UpdatePXCClusterParams struct { // Resume cluster `pause: false`. Resume bool `protobuf:"varint,5,opt,name=resume,proto3" json:"resume,omitempty"` // HAProxy container parameters. - Haproxy *UpdatePXCClusterRequest_UpdatePXCClusterParams_HAProxy `protobuf:"bytes,6,opt,name=haproxy,proto3" json:"haproxy,omitempty"` + Haproxy *UpdatePXCClusterRequest_UpdatePXCClusterParams_HAProxy `protobuf:"bytes,6,opt,name=haproxy,proto3" json:"haproxy,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdatePXCClusterRequest_UpdatePXCClusterParams) Reset() { @@ -1016,10 +1004,7 @@ func (x *UpdatePXCClusterRequest_UpdatePXCClusterParams) GetHaproxy() *UpdatePXC // PXC container parameters. type UpdatePXCClusterRequest_UpdatePXCClusterParams_PXC struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Requested compute resources. ComputeResources *ComputeResources `protobuf:"bytes,1,opt,name=compute_resources,json=computeResources,proto3" json:"compute_resources,omitempty"` // Image to use. If it's the same image but with different version tag, upgrade of database cluster to version @@ -1028,7 +1013,9 @@ type UpdatePXCClusterRequest_UpdatePXCClusterParams_PXC struct { // Configuration for PXC cluster Configuration string `protobuf:"bytes,4,opt,name=configuration,proto3" json:"configuration,omitempty"` // Storage Class for PXC cluster. - StorageClass string `protobuf:"bytes,5,opt,name=storage_class,json=storageClass,proto3" json:"storage_class,omitempty"` + StorageClass string `protobuf:"bytes,5,opt,name=storage_class,json=storageClass,proto3" json:"storage_class,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdatePXCClusterRequest_UpdatePXCClusterParams_PXC) Reset() { @@ -1091,12 +1078,11 @@ func (x *UpdatePXCClusterRequest_UpdatePXCClusterParams_PXC) GetStorageClass() s // ProxySQL container parameters. type UpdatePXCClusterRequest_UpdatePXCClusterParams_ProxySQL struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Requested compute resources. ComputeResources *ComputeResources `protobuf:"bytes,1,opt,name=compute_resources,json=computeResources,proto3" json:"compute_resources,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdatePXCClusterRequest_UpdatePXCClusterParams_ProxySQL) Reset() { @@ -1138,12 +1124,11 @@ func (x *UpdatePXCClusterRequest_UpdatePXCClusterParams_ProxySQL) GetComputeReso // HAProxy container parameters. type UpdatePXCClusterRequest_UpdatePXCClusterParams_HAProxy struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Requested compute resources. ComputeResources *ComputeResources `protobuf:"bytes,1,opt,name=compute_resources,json=computeResources,proto3" json:"compute_resources,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdatePXCClusterRequest_UpdatePXCClusterParams_HAProxy) Reset() { diff --git a/api/managementpb/dbaas/templates.pb.go b/api/managementpb/dbaas/templates.pb.go index 45925f006e..3247db8673 100644 --- a/api/managementpb/dbaas/templates.pb.go +++ b/api/managementpb/dbaas/templates.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: managementpb/dbaas/templates.proto @@ -24,14 +24,13 @@ const ( ) type Template struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Template CR name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Template CR kind. - Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` + Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Template) Reset() { @@ -79,14 +78,13 @@ func (x *Template) GetKind() string { } type ListTemplatesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Kubernetes cluster name. KubernetesClusterName string `protobuf:"bytes,1,opt,name=kubernetes_cluster_name,json=kubernetesClusterName,proto3" json:"kubernetes_cluster_name,omitempty"` // DB cluster type. - ClusterType DBClusterType `protobuf:"varint,2,opt,name=cluster_type,json=clusterType,proto3,enum=dbaas.v1beta1.DBClusterType" json:"cluster_type,omitempty"` + ClusterType DBClusterType `protobuf:"varint,2,opt,name=cluster_type,json=clusterType,proto3,enum=dbaas.v1beta1.DBClusterType" json:"cluster_type,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListTemplatesRequest) Reset() { @@ -134,11 +132,10 @@ func (x *ListTemplatesRequest) GetClusterType() DBClusterType { } type ListTemplatesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Templates []*Template `protobuf:"bytes,1,rep,name=templates,proto3" json:"templates,omitempty"` unknownFields protoimpl.UnknownFields - - Templates []*Template `protobuf:"bytes,1,rep,name=templates,proto3" json:"templates,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListTemplatesResponse) Reset() { diff --git a/api/managementpb/dump/dump.pb.go b/api/managementpb/dump/dump.pb.go index 934d280dbb..c08741aaec 100644 --- a/api/managementpb/dump/dump.pb.go +++ b/api/managementpb/dump/dump.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: managementpb/dump/dump.proto @@ -78,16 +78,15 @@ func (DumpStatus) EnumDescriptor() ([]byte, []int) { } type Dump struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + DumpId string `protobuf:"bytes,1,opt,name=dump_id,json=dumpId,proto3" json:"dump_id,omitempty"` + Status DumpStatus `protobuf:"varint,2,opt,name=status,proto3,enum=dump.v1beta1.DumpStatus" json:"status,omitempty"` + ServiceNames []string `protobuf:"bytes,3,rep,name=service_names,json=serviceNames,proto3" json:"service_names,omitempty"` + StartTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + EndTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + CreatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` unknownFields protoimpl.UnknownFields - - DumpId string `protobuf:"bytes,1,opt,name=dump_id,json=dumpId,proto3" json:"dump_id,omitempty"` - Status DumpStatus `protobuf:"varint,2,opt,name=status,proto3,enum=dump.v1beta1.DumpStatus" json:"status,omitempty"` - ServiceNames []string `protobuf:"bytes,3,rep,name=service_names,json=serviceNames,proto3" json:"service_names,omitempty"` - StartTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - EndTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` - CreatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Dump) Reset() { @@ -163,15 +162,14 @@ func (x *Dump) GetCreatedAt() *timestamppb.Timestamp { } type StartDumpRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + ServiceNames []string `protobuf:"bytes,1,rep,name=service_names,json=serviceNames,proto3" json:"service_names,omitempty"` + StartTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` + EndTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` + ExportQan bool `protobuf:"varint,4,opt,name=export_qan,json=exportQan,proto3" json:"export_qan,omitempty"` + IgnoreLoad bool `protobuf:"varint,5,opt,name=ignore_load,json=ignoreLoad,proto3" json:"ignore_load,omitempty"` unknownFields protoimpl.UnknownFields - - ServiceNames []string `protobuf:"bytes,1,rep,name=service_names,json=serviceNames,proto3" json:"service_names,omitempty"` - StartTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` - EndTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` - ExportQan bool `protobuf:"varint,4,opt,name=export_qan,json=exportQan,proto3" json:"export_qan,omitempty"` - IgnoreLoad bool `protobuf:"varint,5,opt,name=ignore_load,json=ignoreLoad,proto3" json:"ignore_load,omitempty"` + sizeCache protoimpl.SizeCache } func (x *StartDumpRequest) Reset() { @@ -240,11 +238,10 @@ func (x *StartDumpRequest) GetIgnoreLoad() bool { } type StartDumpResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + DumpId string `protobuf:"bytes,1,opt,name=dump_id,json=dumpId,proto3" json:"dump_id,omitempty"` unknownFields protoimpl.UnknownFields - - DumpId string `protobuf:"bytes,1,opt,name=dump_id,json=dumpId,proto3" json:"dump_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *StartDumpResponse) Reset() { @@ -285,9 +282,9 @@ func (x *StartDumpResponse) GetDumpId() string { } type ListDumpsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListDumpsRequest) Reset() { @@ -321,11 +318,10 @@ func (*ListDumpsRequest) Descriptor() ([]byte, []int) { } type ListDumpsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Dumps []*Dump `protobuf:"bytes,1,rep,name=dumps,proto3" json:"dumps,omitempty"` unknownFields protoimpl.UnknownFields - - Dumps []*Dump `protobuf:"bytes,1,rep,name=dumps,proto3" json:"dumps,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListDumpsResponse) Reset() { @@ -366,11 +362,10 @@ func (x *ListDumpsResponse) GetDumps() []*Dump { } type DeleteDumpRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + DumpIds []string `protobuf:"bytes,1,rep,name=dump_ids,json=dumpIds,proto3" json:"dump_ids,omitempty"` unknownFields protoimpl.UnknownFields - - DumpIds []string `protobuf:"bytes,1,rep,name=dump_ids,json=dumpIds,proto3" json:"dump_ids,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DeleteDumpRequest) Reset() { @@ -411,9 +406,9 @@ func (x *DeleteDumpRequest) GetDumpIds() []string { } type DeleteDumpResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteDumpResponse) Reset() { @@ -447,13 +442,12 @@ func (*DeleteDumpResponse) Descriptor() ([]byte, []int) { } type GetLogsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + DumpId string `protobuf:"bytes,1,opt,name=dump_id,json=dumpId,proto3" json:"dump_id,omitempty"` + Offset uint32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` + Limit uint32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` unknownFields protoimpl.UnknownFields - - DumpId string `protobuf:"bytes,1,opt,name=dump_id,json=dumpId,proto3" json:"dump_id,omitempty"` - Offset uint32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` - Limit uint32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetLogsRequest) Reset() { @@ -508,12 +502,11 @@ func (x *GetLogsRequest) GetLimit() uint32 { } type GetLogsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Logs []*LogChunk `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"` + End bool `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"` unknownFields protoimpl.UnknownFields - - Logs []*LogChunk `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"` - End bool `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetLogsResponse) Reset() { @@ -562,12 +555,11 @@ func (x *GetLogsResponse) GetEnd() bool { // LogChunk represent one chunk of logs. type LogChunk struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + ChunkId uint32 `protobuf:"varint,1,opt,name=chunk_id,json=chunkId,proto3" json:"chunk_id,omitempty"` + Data string `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` unknownFields protoimpl.UnknownFields - - ChunkId uint32 `protobuf:"varint,1,opt,name=chunk_id,json=chunkId,proto3" json:"chunk_id,omitempty"` - Data string `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` + sizeCache protoimpl.SizeCache } func (x *LogChunk) Reset() { @@ -615,14 +607,13 @@ func (x *LogChunk) GetData() string { } type SFTPParameters struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` + User string `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` + Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` + Directory string `protobuf:"bytes,4,opt,name=directory,proto3" json:"directory,omitempty"` unknownFields protoimpl.UnknownFields - - Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` - User string `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` - Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` - Directory string `protobuf:"bytes,4,opt,name=directory,proto3" json:"directory,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SFTPParameters) Reset() { @@ -684,13 +675,12 @@ func (x *SFTPParameters) GetDirectory() string { } type UploadDumpRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - DumpIds []string `protobuf:"bytes,1,rep,name=dump_ids,json=dumpIds,proto3" json:"dump_ids,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + DumpIds []string `protobuf:"bytes,1,rep,name=dump_ids,json=dumpIds,proto3" json:"dump_ids,omitempty"` // SFTP upload parameters. SftpParameters *SFTPParameters `protobuf:"bytes,2,opt,name=sftp_parameters,json=sftpParameters,proto3" json:"sftp_parameters,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UploadDumpRequest) Reset() { @@ -738,9 +728,9 @@ func (x *UploadDumpRequest) GetSftpParameters() *SFTPParameters { } type UploadDumpResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UploadDumpResponse) Reset() { diff --git a/api/managementpb/external.pb.go b/api/managementpb/external.pb.go index 85552902cc..7ae7da41d3 100644 --- a/api/managementpb/external.pb.go +++ b/api/managementpb/external.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: managementpb/external.proto @@ -27,10 +27,7 @@ const ( ) type AddExternalRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Node identifier on which an external exporter is been running. // runs_on_node_id always should be passed with node_id. // Exactly one of these parameters should be present: node_id, node_name, add_node. @@ -67,7 +64,7 @@ type AddExternalRequest struct { // Replication set name. ReplicationSet string `protobuf:"bytes,11,opt,name=replication_set,json=replicationSet,proto3" json:"replication_set,omitempty"` // Custom user-assigned labels for Service. - CustomLabels map[string]string `protobuf:"bytes,15,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,15,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Group name of external service. Group string `protobuf:"bytes,16,opt,name=group,proto3" json:"group,omitempty"` // Defines metrics flow model for this exporter. @@ -78,6 +75,8 @@ type AddExternalRequest struct { MetricsMode MetricsMode `protobuf:"varint,17,opt,name=metrics_mode,json=metricsMode,proto3,enum=management.MetricsMode" json:"metrics_mode,omitempty"` // Skip connection check. SkipConnectionCheck bool `protobuf:"varint,21,opt,name=skip_connection_check,json=skipConnectionCheck,proto3" json:"skip_connection_check,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddExternalRequest) Reset() { @@ -237,12 +236,11 @@ func (x *AddExternalRequest) GetSkipConnectionCheck() bool { } type AddExternalResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` Service *inventorypb.ExternalService `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` ExternalExporter *inventorypb.ExternalExporter `protobuf:"bytes,2,opt,name=external_exporter,json=externalExporter,proto3" json:"external_exporter,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddExternalResponse) Reset() { diff --git a/api/managementpb/haproxy.pb.go b/api/managementpb/haproxy.pb.go index 996642ef0c..485b68a022 100644 --- a/api/managementpb/haproxy.pb.go +++ b/api/managementpb/haproxy.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: managementpb/haproxy.proto @@ -27,10 +27,7 @@ const ( ) type AddHAProxyRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Node identifier on which an external exporter is been running. // Exactly one of these parameters should be present: node_id, node_name, add_node. NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` @@ -63,7 +60,7 @@ type AddHAProxyRequest struct { // Replication set name. ReplicationSet string `protobuf:"bytes,11,opt,name=replication_set,json=replicationSet,proto3" json:"replication_set,omitempty"` // Custom user-assigned labels for Service. - CustomLabels map[string]string `protobuf:"bytes,15,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,15,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Defines metrics flow model for this exporter. // Metrics could be pushed to the server with vmagent, // pulled by the server, or the server could choose behavior automatically. @@ -72,6 +69,8 @@ type AddHAProxyRequest struct { MetricsMode MetricsMode `protobuf:"varint,16,opt,name=metrics_mode,json=metricsMode,proto3,enum=management.MetricsMode" json:"metrics_mode,omitempty"` // Skip connection check. SkipConnectionCheck bool `protobuf:"varint,21,opt,name=skip_connection_check,json=skipConnectionCheck,proto3" json:"skip_connection_check,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddHAProxyRequest) Reset() { @@ -217,12 +216,11 @@ func (x *AddHAProxyRequest) GetSkipConnectionCheck() bool { } type AddHAProxyResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` Service *inventorypb.HAProxyService `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` ExternalExporter *inventorypb.ExternalExporter `protobuf:"bytes,2,opt,name=external_exporter,json=externalExporter,proto3" json:"external_exporter,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddHAProxyResponse) Reset() { diff --git a/api/managementpb/ia/alerts.pb.go b/api/managementpb/ia/alerts.pb.go index dd71b297f7..df53676f94 100644 --- a/api/managementpb/ia/alerts.pb.go +++ b/api/managementpb/ia/alerts.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: managementpb/ia/alerts.proto @@ -30,10 +30,7 @@ const ( // // Deprecated: Marked as deprecated in managementpb/ia/alerts.proto. type Alert struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // ID. AlertId string `protobuf:"bytes,1,opt,name=alert_id,json=alertId,proto3" json:"alert_id,omitempty"` // Human-readable summary. @@ -43,13 +40,15 @@ type Alert struct { // Status. Status Status `protobuf:"varint,4,opt,name=status,proto3,enum=ia.v1beta1.Status" json:"status,omitempty"` // Combined labels. - Labels map[string]string `protobuf:"bytes,5,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Labels map[string]string `protobuf:"bytes,5,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // The current Alert Rule. Rule *Rule `protobuf:"bytes,6,opt,name=rule,proto3" json:"rule,omitempty"` // Alert creation time. CreatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // Alert last update time. - UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` + UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Alert) Reset() { @@ -140,12 +139,11 @@ func (x *Alert) GetUpdatedAt() *timestamppb.Timestamp { // Deprecated: Marked as deprecated in managementpb/ia/alerts.proto. type ListAlertsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Page request. - PageParams *managementpb.PageParams `protobuf:"bytes,1,opt,name=page_params,json=pageParams,proto3" json:"page_params,omitempty"` + PageParams *managementpb.PageParams `protobuf:"bytes,1,opt,name=page_params,json=pageParams,proto3" json:"page_params,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListAlertsRequest) Reset() { @@ -187,13 +185,12 @@ func (x *ListAlertsRequest) GetPageParams() *managementpb.PageParams { // Deprecated: Marked as deprecated in managementpb/ia/alerts.proto. type ListAlertsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Alerts []*Alert `protobuf:"bytes,1,rep,name=alerts,proto3" json:"alerts,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Alerts []*Alert `protobuf:"bytes,1,rep,name=alerts,proto3" json:"alerts,omitempty"` // Total items and pages. - Totals *managementpb.PageTotals `protobuf:"bytes,2,opt,name=totals,proto3" json:"totals,omitempty"` + Totals *managementpb.PageTotals `protobuf:"bytes,2,opt,name=totals,proto3" json:"totals,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListAlertsResponse) Reset() { @@ -242,15 +239,14 @@ func (x *ListAlertsResponse) GetTotals() *managementpb.PageTotals { // Deprecated: Marked as deprecated in managementpb/ia/alerts.proto. type ToggleAlertsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // List of alerts that silence state should be switched. If provided array is empty than all // existing alerts are switched. AlertIds []string `protobuf:"bytes,1,rep,name=alert_ids,json=alertIds,proto3" json:"alert_ids,omitempty"` // Silences or unsilences alert if set. - Silenced managementpb.BooleanFlag `protobuf:"varint,2,opt,name=silenced,proto3,enum=managementpb.BooleanFlag" json:"silenced,omitempty"` + Silenced managementpb.BooleanFlag `protobuf:"varint,2,opt,name=silenced,proto3,enum=managementpb.BooleanFlag" json:"silenced,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ToggleAlertsRequest) Reset() { @@ -299,9 +295,9 @@ func (x *ToggleAlertsRequest) GetSilenced() managementpb.BooleanFlag { // Deprecated: Marked as deprecated in managementpb/ia/alerts.proto. type ToggleAlertsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ToggleAlertsResponse) Reset() { diff --git a/api/managementpb/ia/channels.pb.go b/api/managementpb/ia/channels.pb.go index 4001c25db9..a5cc333fea 100644 --- a/api/managementpb/ia/channels.pb.go +++ b/api/managementpb/ia/channels.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: managementpb/ia/channels.proto @@ -30,13 +30,12 @@ const ( // // Deprecated: Marked as deprecated in managementpb/ia/channels.proto. type BasicAuth struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` + Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` + PasswordFile string `protobuf:"bytes,3,opt,name=password_file,json=passwordFile,proto3" json:"password_file,omitempty"` unknownFields protoimpl.UnknownFields - - Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` - Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` - PasswordFile string `protobuf:"bytes,3,opt,name=password_file,json=passwordFile,proto3" json:"password_file,omitempty"` + sizeCache protoimpl.SizeCache } func (x *BasicAuth) Reset() { @@ -95,10 +94,7 @@ func (x *BasicAuth) GetPasswordFile() string { // // Deprecated: Marked as deprecated in managementpb/ia/channels.proto. type TLSConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // A path to the CA certificate file to validate the server certificate with. // ca_file and ca_file_content should not be set at the same time. CaFile string `protobuf:"bytes,1,opt,name=ca_file,json=caFile,proto3" json:"ca_file,omitempty"` @@ -121,6 +117,8 @@ type TLSConfig struct { // A key for client cert authentication to the server. // key_file and key_file_content should not be set at the same time. KeyFileContent string `protobuf:"bytes,8,opt,name=key_file_content,json=keyFileContent,proto3" json:"key_file_content,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *TLSConfig) Reset() { @@ -213,17 +211,16 @@ func (x *TLSConfig) GetKeyFileContent() string { // // Deprecated: Marked as deprecated in managementpb/ia/channels.proto. type HTTPConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Basic HTTP auth configuration. Zero value will remove it. BasicAuth *BasicAuth `protobuf:"bytes,1,opt,name=basic_auth,json=basicAuth,proto3" json:"basic_auth,omitempty"` BearerToken string `protobuf:"bytes,2,opt,name=bearer_token,json=bearerToken,proto3" json:"bearer_token,omitempty"` BearerTokenFile string `protobuf:"bytes,3,opt,name=bearer_token_file,json=bearerTokenFile,proto3" json:"bearer_token_file,omitempty"` // TLS configuration. Zero value will remove it. - TlsConfig *TLSConfig `protobuf:"bytes,4,opt,name=tls_config,json=tlsConfig,proto3" json:"tls_config,omitempty"` - ProxyUrl string `protobuf:"bytes,5,opt,name=proxy_url,json=proxyUrl,proto3" json:"proxy_url,omitempty"` + TlsConfig *TLSConfig `protobuf:"bytes,4,opt,name=tls_config,json=tlsConfig,proto3" json:"tls_config,omitempty"` + ProxyUrl string `protobuf:"bytes,5,opt,name=proxy_url,json=proxyUrl,proto3" json:"proxy_url,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *HTTPConfig) Reset() { @@ -295,12 +292,11 @@ func (x *HTTPConfig) GetProxyUrl() string { // // Deprecated: Marked as deprecated in managementpb/ia/channels.proto. type EmailConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + SendResolved bool `protobuf:"varint,1,opt,name=send_resolved,json=sendResolved,proto3" json:"send_resolved,omitempty"` + To []string `protobuf:"bytes,2,rep,name=to,proto3" json:"to,omitempty"` unknownFields protoimpl.UnknownFields - - SendResolved bool `protobuf:"varint,1,opt,name=send_resolved,json=sendResolved,proto3" json:"send_resolved,omitempty"` - To []string `protobuf:"bytes,2,rep,name=to,proto3" json:"to,omitempty"` + sizeCache protoimpl.SizeCache } func (x *EmailConfig) Reset() { @@ -351,15 +347,14 @@ func (x *EmailConfig) GetTo() []string { // // Deprecated: Marked as deprecated in managementpb/ia/channels.proto. type PagerDutyConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SendResolved bool `protobuf:"varint,1,opt,name=send_resolved,json=sendResolved,proto3" json:"send_resolved,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + SendResolved bool `protobuf:"varint,1,opt,name=send_resolved,json=sendResolved,proto3" json:"send_resolved,omitempty"` // The PagerDuty key for "Events API v2" integration type. Exactly one key should be set. RoutingKey string `protobuf:"bytes,2,opt,name=routing_key,json=routingKey,proto3" json:"routing_key,omitempty"` // The PagerDuty key for "Prometheus" integration type. Exactly one key should be set. - ServiceKey string `protobuf:"bytes,3,opt,name=service_key,json=serviceKey,proto3" json:"service_key,omitempty"` + ServiceKey string `protobuf:"bytes,3,opt,name=service_key,json=serviceKey,proto3" json:"service_key,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PagerDutyConfig) Reset() { @@ -417,12 +412,11 @@ func (x *PagerDutyConfig) GetServiceKey() string { // // Deprecated: Marked as deprecated in managementpb/ia/channels.proto. type SlackConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + SendResolved bool `protobuf:"varint,1,opt,name=send_resolved,json=sendResolved,proto3" json:"send_resolved,omitempty"` + Channel string `protobuf:"bytes,2,opt,name=channel,proto3" json:"channel,omitempty"` unknownFields protoimpl.UnknownFields - - SendResolved bool `protobuf:"varint,1,opt,name=send_resolved,json=sendResolved,proto3" json:"send_resolved,omitempty"` - Channel string `protobuf:"bytes,2,opt,name=channel,proto3" json:"channel,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SlackConfig) Reset() { @@ -473,14 +467,13 @@ func (x *SlackConfig) GetChannel() string { // // Deprecated: Marked as deprecated in managementpb/ia/channels.proto. type WebhookConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + SendResolved bool `protobuf:"varint,1,opt,name=send_resolved,json=sendResolved,proto3" json:"send_resolved,omitempty"` + Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` + HttpConfig *HTTPConfig `protobuf:"bytes,3,opt,name=http_config,json=httpConfig,proto3" json:"http_config,omitempty"` + MaxAlerts int32 `protobuf:"varint,4,opt,name=max_alerts,json=maxAlerts,proto3" json:"max_alerts,omitempty"` unknownFields protoimpl.UnknownFields - - SendResolved bool `protobuf:"varint,1,opt,name=send_resolved,json=sendResolved,proto3" json:"send_resolved,omitempty"` - Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` - HttpConfig *HTTPConfig `protobuf:"bytes,3,opt,name=http_config,json=httpConfig,proto3" json:"http_config,omitempty"` - MaxAlerts int32 `protobuf:"varint,4,opt,name=max_alerts,json=maxAlerts,proto3" json:"max_alerts,omitempty"` + sizeCache protoimpl.SizeCache } func (x *WebhookConfig) Reset() { @@ -545,15 +538,12 @@ func (x *WebhookConfig) GetMaxAlerts() int32 { // // Deprecated: Marked as deprecated in managementpb/ia/channels.proto. type Channel struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Machine-readable ID. ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` // Short human-readable summary. Summary string `protobuf:"bytes,2,opt,name=summary,proto3" json:"summary,omitempty"` - // Types that are assignable to Channel: + // Types that are valid to be assigned to Channel: // // *Channel_EmailConfig // *Channel_PagerdutyConfig @@ -561,7 +551,9 @@ type Channel struct { // *Channel_WebhookConfig Channel isChannel_Channel `protobuf_oneof:"channel"` // True if that channel is disabled. - Disabled bool `protobuf:"varint,11,opt,name=disabled,proto3" json:"disabled,omitempty"` + Disabled bool `protobuf:"varint,11,opt,name=disabled,proto3" json:"disabled,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Channel) Reset() { @@ -608,37 +600,45 @@ func (x *Channel) GetSummary() string { return "" } -func (m *Channel) GetChannel() isChannel_Channel { - if m != nil { - return m.Channel +func (x *Channel) GetChannel() isChannel_Channel { + if x != nil { + return x.Channel } return nil } func (x *Channel) GetEmailConfig() *EmailConfig { - if x, ok := x.GetChannel().(*Channel_EmailConfig); ok { - return x.EmailConfig + if x != nil { + if x, ok := x.Channel.(*Channel_EmailConfig); ok { + return x.EmailConfig + } } return nil } func (x *Channel) GetPagerdutyConfig() *PagerDutyConfig { - if x, ok := x.GetChannel().(*Channel_PagerdutyConfig); ok { - return x.PagerdutyConfig + if x != nil { + if x, ok := x.Channel.(*Channel_PagerdutyConfig); ok { + return x.PagerdutyConfig + } } return nil } func (x *Channel) GetSlackConfig() *SlackConfig { - if x, ok := x.GetChannel().(*Channel_SlackConfig); ok { - return x.SlackConfig + if x != nil { + if x, ok := x.Channel.(*Channel_SlackConfig); ok { + return x.SlackConfig + } } return nil } func (x *Channel) GetWebhookConfig() *WebhookConfig { - if x, ok := x.GetChannel().(*Channel_WebhookConfig); ok { - return x.WebhookConfig + if x != nil { + if x, ok := x.Channel.(*Channel_WebhookConfig); ok { + return x.WebhookConfig + } } return nil } @@ -680,12 +680,11 @@ func (*Channel_WebhookConfig) isChannel_Channel() {} // Deprecated: Marked as deprecated in managementpb/ia/channels.proto. type ListChannelsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Page request. - PageParams *managementpb.PageParams `protobuf:"bytes,1,opt,name=page_params,json=pageParams,proto3" json:"page_params,omitempty"` + PageParams *managementpb.PageParams `protobuf:"bytes,1,opt,name=page_params,json=pageParams,proto3" json:"page_params,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListChannelsRequest) Reset() { @@ -727,13 +726,12 @@ func (x *ListChannelsRequest) GetPageParams() *managementpb.PageParams { // Deprecated: Marked as deprecated in managementpb/ia/channels.proto. type ListChannelsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Channels []*Channel `protobuf:"bytes,1,rep,name=channels,proto3" json:"channels,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Channels []*Channel `protobuf:"bytes,1,rep,name=channels,proto3" json:"channels,omitempty"` // Total items and pages. - Totals *managementpb.PageTotals `protobuf:"bytes,2,opt,name=totals,proto3" json:"totals,omitempty"` + Totals *managementpb.PageTotals `protobuf:"bytes,2,opt,name=totals,proto3" json:"totals,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListChannelsResponse) Reset() { @@ -782,10 +780,7 @@ func (x *ListChannelsResponse) GetTotals() *managementpb.PageTotals { // Deprecated: Marked as deprecated in managementpb/ia/channels.proto. type AddChannelRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Short human-readable summary. Summary string `protobuf:"bytes,2,opt,name=summary,proto3" json:"summary,omitempty"` // Email configuration. Exactly one config should be set. @@ -797,7 +792,9 @@ type AddChannelRequest struct { // Webhook configuration. Exactly one config should be set. WebhookConfig *WebhookConfig `protobuf:"bytes,8,opt,name=webhook_config,json=webhookConfig,proto3" json:"webhook_config,omitempty"` // New channel status. - Disabled bool `protobuf:"varint,11,opt,name=disabled,proto3" json:"disabled,omitempty"` + Disabled bool `protobuf:"varint,11,opt,name=disabled,proto3" json:"disabled,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddChannelRequest) Reset() { @@ -874,12 +871,11 @@ func (x *AddChannelRequest) GetDisabled() bool { // Deprecated: Marked as deprecated in managementpb/ia/channels.proto. type AddChannelResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Machine-readable ID. - ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` + ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddChannelResponse) Reset() { @@ -921,10 +917,7 @@ func (x *AddChannelResponse) GetChannelId() string { // Deprecated: Marked as deprecated in managementpb/ia/channels.proto. type ChangeChannelRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Machine-readable ID. ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` // Short human-readable summary. Empty value will not change it. @@ -938,7 +931,9 @@ type ChangeChannelRequest struct { // Webhook configuration. Exactly one config should be set. WebhookConfig *WebhookConfig `protobuf:"bytes,8,opt,name=webhook_config,json=webhookConfig,proto3" json:"webhook_config,omitempty"` // Enables or disables that channel. Should be set. - Disabled bool `protobuf:"varint,11,opt,name=disabled,proto3" json:"disabled,omitempty"` + Disabled bool `protobuf:"varint,11,opt,name=disabled,proto3" json:"disabled,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ChangeChannelRequest) Reset() { @@ -1022,9 +1017,9 @@ func (x *ChangeChannelRequest) GetDisabled() bool { // Deprecated: Marked as deprecated in managementpb/ia/channels.proto. type ChangeChannelResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ChangeChannelResponse) Reset() { @@ -1059,11 +1054,10 @@ func (*ChangeChannelResponse) Descriptor() ([]byte, []int) { // Deprecated: Marked as deprecated in managementpb/ia/channels.proto. type RemoveChannelRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` unknownFields protoimpl.UnknownFields - - ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *RemoveChannelRequest) Reset() { @@ -1105,9 +1099,9 @@ func (x *RemoveChannelRequest) GetChannelId() string { // Deprecated: Marked as deprecated in managementpb/ia/channels.proto. type RemoveChannelResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RemoveChannelResponse) Reset() { diff --git a/api/managementpb/ia/rules.pb.go b/api/managementpb/ia/rules.pb.go index 0b2a9c5c17..b3ed07032f 100644 --- a/api/managementpb/ia/rules.pb.go +++ b/api/managementpb/ia/rules.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: managementpb/ia/rules.proto @@ -87,13 +87,12 @@ func (FilterType) EnumDescriptor() ([]byte, []int) { // // Deprecated: Marked as deprecated in managementpb/ia/rules.proto. type Filter struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Type FilterType `protobuf:"varint,1,opt,name=type,proto3,enum=ia.v1beta1.FilterType" json:"type,omitempty"` + Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` + Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` unknownFields protoimpl.UnknownFields - - Type FilterType `protobuf:"varint,1,opt,name=type,proto3,enum=ia.v1beta1.FilterType" json:"type,omitempty"` - Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` - Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Filter) Reset() { @@ -151,22 +150,21 @@ func (x *Filter) GetValue() string { // // Deprecated: Marked as deprecated in managementpb/ia/rules.proto. type ParamValue struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Machine-readable name (ID) that is used in expression. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Parameter type. Type alerting.ParamType `protobuf:"varint,2,opt,name=type,proto3,enum=alerting.v1.ParamType" json:"type,omitempty"` // Parameter value. // - // Types that are assignable to Value: + // Types that are valid to be assigned to Value: // // *ParamValue_Bool // *ParamValue_Float // *ParamValue_String_ - Value isParamValue_Value `protobuf_oneof:"value"` + Value isParamValue_Value `protobuf_oneof:"value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ParamValue) Reset() { @@ -213,30 +211,36 @@ func (x *ParamValue) GetType() alerting.ParamType { return alerting.ParamType(0) } -func (m *ParamValue) GetValue() isParamValue_Value { - if m != nil { - return m.Value +func (x *ParamValue) GetValue() isParamValue_Value { + if x != nil { + return x.Value } return nil } func (x *ParamValue) GetBool() bool { - if x, ok := x.GetValue().(*ParamValue_Bool); ok { - return x.Bool + if x != nil { + if x, ok := x.Value.(*ParamValue_Bool); ok { + return x.Bool + } } return false } func (x *ParamValue) GetFloat() float64 { - if x, ok := x.GetValue().(*ParamValue_Float); ok { - return x.Float + if x != nil { + if x, ok := x.Value.(*ParamValue_Float); ok { + return x.Float + } } return 0 } func (x *ParamValue) GetString_() string { - if x, ok := x.GetValue().(*ParamValue_String_); ok { - return x.String_ + if x != nil { + if x, ok := x.Value.(*ParamValue_String_); ok { + return x.String_ + } } return "" } @@ -270,10 +274,7 @@ func (*ParamValue_String_) isParamValue_Value() {} // // Deprecated: Marked as deprecated in managementpb/ia/rules.proto. type Rule struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Rule ID. RuleId string `protobuf:"bytes,1,opt,name=rule_id,json=ruleId,proto3" json:"rule_id,omitempty"` // Rule name. @@ -301,17 +302,19 @@ type Rule struct { // Severity. Severity managementpb.Severity `protobuf:"varint,13,opt,name=severity,proto3,enum=management.Severity" json:"severity,omitempty"` // Custom labels. - CustomLabels map[string]string `protobuf:"bytes,14,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,14,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Labels. - Labels map[string]string `protobuf:"bytes,15,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Labels map[string]string `protobuf:"bytes,15,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Annotations. - Annotations map[string]string `protobuf:"bytes,16,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Annotations map[string]string `protobuf:"bytes,16,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Filters. Filters []*Filter `protobuf:"bytes,17,rep,name=filters,proto3" json:"filters,omitempty"` // Channels. Channels []*Channel `protobuf:"bytes,18,rep,name=channels,proto3" json:"channels,omitempty"` // Rule creation time. - CreatedAt *timestamppb.Timestamp `protobuf:"bytes,19,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` + CreatedAt *timestamppb.Timestamp `protobuf:"bytes,19,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Rule) Reset() { @@ -479,12 +482,11 @@ func (x *Rule) GetCreatedAt() *timestamppb.Timestamp { // Deprecated: Marked as deprecated in managementpb/ia/rules.proto. type ListAlertRulesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Page request. - PageParams *managementpb.PageParams `protobuf:"bytes,1,opt,name=page_params,json=pageParams,proto3" json:"page_params,omitempty"` + PageParams *managementpb.PageParams `protobuf:"bytes,1,opt,name=page_params,json=pageParams,proto3" json:"page_params,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListAlertRulesRequest) Reset() { @@ -526,13 +528,12 @@ func (x *ListAlertRulesRequest) GetPageParams() *managementpb.PageParams { // Deprecated: Marked as deprecated in managementpb/ia/rules.proto. type ListAlertRulesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Rules []*Rule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Rules []*Rule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"` // Total items and pages. - Totals *managementpb.PageTotals `protobuf:"bytes,2,opt,name=totals,proto3" json:"totals,omitempty"` + Totals *managementpb.PageTotals `protobuf:"bytes,2,opt,name=totals,proto3" json:"totals,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListAlertRulesResponse) Reset() { @@ -581,10 +582,7 @@ func (x *ListAlertRulesResponse) GetTotals() *managementpb.PageTotals { // Deprecated: Marked as deprecated in managementpb/ia/rules.proto. type CreateAlertRuleRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Template name. Can't be specified simultaneously with source_rule_id. TemplateName string `protobuf:"bytes,1,opt,name=template_name,json=templateName,proto3" json:"template_name,omitempty"` // ID of the rule that will be used as source. Can't be specified simultaneously with template_name. @@ -600,11 +598,13 @@ type CreateAlertRuleRequest struct { // Rule severity. Should be set. Severity managementpb.Severity `protobuf:"varint,7,opt,name=severity,proto3,enum=management.Severity" json:"severity,omitempty"` // All custom labels to add or remove (with empty values) to default labels from template. - CustomLabels map[string]string `protobuf:"bytes,8,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,8,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Filters. Should be set. Filters []*Filter `protobuf:"bytes,9,rep,name=filters,proto3" json:"filters,omitempty"` // Channels. Should be set. - ChannelIds []string `protobuf:"bytes,10,rep,name=channel_ids,json=channelIds,proto3" json:"channel_ids,omitempty"` + ChannelIds []string `protobuf:"bytes,10,rep,name=channel_ids,json=channelIds,proto3" json:"channel_ids,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateAlertRuleRequest) Reset() { @@ -709,12 +709,11 @@ func (x *CreateAlertRuleRequest) GetChannelIds() []string { // Deprecated: Marked as deprecated in managementpb/ia/rules.proto. type CreateAlertRuleResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Rule ID. - RuleId string `protobuf:"bytes,1,opt,name=rule_id,json=ruleId,proto3" json:"rule_id,omitempty"` + RuleId string `protobuf:"bytes,1,opt,name=rule_id,json=ruleId,proto3" json:"rule_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CreateAlertRuleResponse) Reset() { @@ -756,10 +755,7 @@ func (x *CreateAlertRuleResponse) GetRuleId() string { // Deprecated: Marked as deprecated in managementpb/ia/rules.proto. type UpdateAlertRuleRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Rule ID. RuleId string `protobuf:"bytes,1,opt,name=rule_id,json=ruleId,proto3" json:"rule_id,omitempty"` // Rule name. Should be set. @@ -773,11 +769,13 @@ type UpdateAlertRuleRequest struct { // Rule severity. Should be set. Severity managementpb.Severity `protobuf:"varint,6,opt,name=severity,proto3,enum=management.Severity" json:"severity,omitempty"` // All custom labels to add or remove (with empty values) to default labels from template. - CustomLabels map[string]string `protobuf:"bytes,7,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,7,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Filters. Should be set. Filters []*Filter `protobuf:"bytes,8,rep,name=filters,proto3" json:"filters,omitempty"` // Channels. Should be set. - ChannelIds []string `protobuf:"bytes,9,rep,name=channel_ids,json=channelIds,proto3" json:"channel_ids,omitempty"` + ChannelIds []string `protobuf:"bytes,9,rep,name=channel_ids,json=channelIds,proto3" json:"channel_ids,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateAlertRuleRequest) Reset() { @@ -875,9 +873,9 @@ func (x *UpdateAlertRuleRequest) GetChannelIds() []string { // Deprecated: Marked as deprecated in managementpb/ia/rules.proto. type UpdateAlertRuleResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateAlertRuleResponse) Reset() { @@ -912,14 +910,13 @@ func (*UpdateAlertRuleResponse) Descriptor() ([]byte, []int) { // Deprecated: Marked as deprecated in managementpb/ia/rules.proto. type ToggleAlertRuleRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Rule ID. RuleId string `protobuf:"bytes,1,opt,name=rule_id,json=ruleId,proto3" json:"rule_id,omitempty"` // New rule status, if set. - Disabled managementpb.BooleanFlag `protobuf:"varint,2,opt,name=disabled,proto3,enum=managementpb.BooleanFlag" json:"disabled,omitempty"` + Disabled managementpb.BooleanFlag `protobuf:"varint,2,opt,name=disabled,proto3,enum=managementpb.BooleanFlag" json:"disabled,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ToggleAlertRuleRequest) Reset() { @@ -968,9 +965,9 @@ func (x *ToggleAlertRuleRequest) GetDisabled() managementpb.BooleanFlag { // Deprecated: Marked as deprecated in managementpb/ia/rules.proto. type ToggleAlertRuleResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ToggleAlertRuleResponse) Reset() { @@ -1005,12 +1002,11 @@ func (*ToggleAlertRuleResponse) Descriptor() ([]byte, []int) { // Deprecated: Marked as deprecated in managementpb/ia/rules.proto. type DeleteAlertRuleRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Rule ID. - RuleId string `protobuf:"bytes,1,opt,name=rule_id,json=ruleId,proto3" json:"rule_id,omitempty"` + RuleId string `protobuf:"bytes,1,opt,name=rule_id,json=ruleId,proto3" json:"rule_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteAlertRuleRequest) Reset() { @@ -1052,9 +1048,9 @@ func (x *DeleteAlertRuleRequest) GetRuleId() string { // Deprecated: Marked as deprecated in managementpb/ia/rules.proto. type DeleteAlertRuleResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteAlertRuleResponse) Reset() { diff --git a/api/managementpb/ia/status.pb.go b/api/managementpb/ia/status.pb.go index 32351f997d..5f52c061b7 100644 --- a/api/managementpb/ia/status.pb.go +++ b/api/managementpb/ia/status.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: managementpb/ia/status.proto diff --git a/api/managementpb/metrics.pb.go b/api/managementpb/metrics.pb.go index fc2a4b2c56..aadaa79dd8 100644 --- a/api/managementpb/metrics.pb.go +++ b/api/managementpb/metrics.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: managementpb/metrics.proto diff --git a/api/managementpb/mongodb.pb.go b/api/managementpb/mongodb.pb.go index 21a3da3e2a..d1ece44290 100644 --- a/api/managementpb/mongodb.pb.go +++ b/api/managementpb/mongodb.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: managementpb/mongodb.proto @@ -27,10 +27,7 @@ const ( ) type AddMongoDBRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Node identifier on which a service is been running. // Exactly one of these parameters should be present: node_id, node_name, add_node. NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` @@ -66,7 +63,7 @@ type AddMongoDBRequest struct { // If true, adds qan-mongodb-profiler-agent for provided service. QanMongodbProfiler bool `protobuf:"varint,13,opt,name=qan_mongodb_profiler,json=qanMongodbProfiler,proto3" json:"qan_mongodb_profiler,omitempty"` // Custom user-assigned labels for Service. - CustomLabels map[string]string `protobuf:"bytes,14,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,14,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Skip connection check. SkipConnectionCheck bool `protobuf:"varint,15,opt,name=skip_connection_check,json=skipConnectionCheck,proto3" json:"skip_connection_check,omitempty"` // Use TLS for database connections. @@ -106,6 +103,8 @@ type AddMongoDBRequest struct { LogLevel inventorypb.LogLevel `protobuf:"varint,31,opt,name=log_level,json=logLevel,proto3,enum=inventory.LogLevel" json:"log_level,omitempty"` // Optionally expose the exporter process on all public interfaces ExposeExporter bool `protobuf:"varint,33,opt,name=expose_exporter,json=exposeExporter,proto3" json:"expose_exporter,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddMongoDBRequest) Reset() { @@ -363,13 +362,12 @@ func (x *AddMongoDBRequest) GetExposeExporter() bool { } type AddMongoDBResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` Service *inventorypb.MongoDBService `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` MongodbExporter *inventorypb.MongoDBExporter `protobuf:"bytes,2,opt,name=mongodb_exporter,json=mongodbExporter,proto3" json:"mongodb_exporter,omitempty"` QanMongodbProfiler *inventorypb.QANMongoDBProfilerAgent `protobuf:"bytes,3,opt,name=qan_mongodb_profiler,json=qanMongodbProfiler,proto3" json:"qan_mongodb_profiler,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddMongoDBResponse) Reset() { diff --git a/api/managementpb/mysql.pb.go b/api/managementpb/mysql.pb.go index 72205c9c10..b3e1e35af2 100644 --- a/api/managementpb/mysql.pb.go +++ b/api/managementpb/mysql.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: managementpb/mysql.proto @@ -27,10 +27,7 @@ const ( ) type AddMySQLRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Node identifier on which a service is been running. // Exactly one of these parameters should be present: node_id, node_name, add_node. NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` @@ -68,7 +65,7 @@ type AddMySQLRequest struct { // If true, adds qan-mysql-slowlog-agent for provided service. QanMysqlSlowlog bool `protobuf:"varint,14,opt,name=qan_mysql_slowlog,json=qanMysqlSlowlog,proto3" json:"qan_mysql_slowlog,omitempty"` // Custom user-assigned labels for Service. - CustomLabels map[string]string `protobuf:"bytes,15,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,15,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Skip connection check. SkipConnectionCheck bool `protobuf:"varint,16,opt,name=skip_connection_check,json=skipConnectionCheck,proto3" json:"skip_connection_check,omitempty"` // Disable parsing comments from queries and showing them in QAN. @@ -107,6 +104,8 @@ type AddMySQLRequest struct { LogLevel inventorypb.LogLevel `protobuf:"varint,29,opt,name=log_level,json=logLevel,proto3,enum=inventory.LogLevel" json:"log_level,omitempty"` // Optionally expose the exporter process on all public interfaces ExposeExporter bool `protobuf:"varint,32,opt,name=expose_exporter,json=exposeExporter,proto3" json:"expose_exporter,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddMySQLRequest) Reset() { @@ -364,16 +363,15 @@ func (x *AddMySQLRequest) GetExposeExporter() bool { } type AddMySQLResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` Service *inventorypb.MySQLService `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` MysqldExporter *inventorypb.MySQLdExporter `protobuf:"bytes,2,opt,name=mysqld_exporter,json=mysqldExporter,proto3" json:"mysqld_exporter,omitempty"` QanMysqlPerfschema *inventorypb.QANMySQLPerfSchemaAgent `protobuf:"bytes,3,opt,name=qan_mysql_perfschema,json=qanMysqlPerfschema,proto3" json:"qan_mysql_perfschema,omitempty"` QanMysqlSlowlog *inventorypb.QANMySQLSlowlogAgent `protobuf:"bytes,4,opt,name=qan_mysql_slowlog,json=qanMysqlSlowlog,proto3" json:"qan_mysql_slowlog,omitempty"` // Actual table count at the moment of adding. - TableCount int32 `protobuf:"varint,5,opt,name=table_count,json=tableCount,proto3" json:"table_count,omitempty"` + TableCount int32 `protobuf:"varint,5,opt,name=table_count,json=tableCount,proto3" json:"table_count,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddMySQLResponse) Reset() { diff --git a/api/managementpb/node.pb.go b/api/managementpb/node.pb.go index 4ec40e28a1..342f7caef4 100644 --- a/api/managementpb/node.pb.go +++ b/api/managementpb/node.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: managementpb/node.proto @@ -27,10 +27,7 @@ const ( ) type RegisterNodeRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Node type to be registered. NodeType inventorypb.NodeType `protobuf:"varint,1,opt,name=node_type,json=nodeType,proto3,enum=inventory.NodeType" json:"node_type,omitempty"` // Unique across all Nodes user-defined name. @@ -52,7 +49,7 @@ type RegisterNodeRequest struct { // Node availability zone. Az string `protobuf:"bytes,10,opt,name=az,proto3" json:"az,omitempty"` // Custom user-assigned labels for Node. - CustomLabels map[string]string `protobuf:"bytes,11,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,11,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // If true, and Node with that name already exist, it will be removed with all dependent Services and Agents. Reregister bool `protobuf:"varint,12,opt,name=reregister,proto3" json:"reregister,omitempty"` // Defines metrics flow model for node_exporter being added by this request. @@ -65,6 +62,8 @@ type RegisterNodeRequest struct { AgentPassword string `protobuf:"bytes,15,opt,name=agent_password,json=agentPassword,proto3" json:"agent_password,omitempty"` // Optionally expose the exporter process on all public interfaces ExposeExporter bool `protobuf:"varint,16,opt,name=expose_exporter,json=exposeExporter,proto3" json:"expose_exporter,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RegisterNodeRequest) Reset() { @@ -210,17 +209,16 @@ func (x *RegisterNodeRequest) GetExposeExporter() bool { } type RegisterNodeResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` GenericNode *inventorypb.GenericNode `protobuf:"bytes,1,opt,name=generic_node,json=genericNode,proto3" json:"generic_node,omitempty"` ContainerNode *inventorypb.ContainerNode `protobuf:"bytes,2,opt,name=container_node,json=containerNode,proto3" json:"container_node,omitempty"` PmmAgent *inventorypb.PMMAgent `protobuf:"bytes,3,opt,name=pmm_agent,json=pmmAgent,proto3" json:"pmm_agent,omitempty"` // Token represents token for vmagent auth config. Token string `protobuf:"bytes,4,opt,name=token,proto3" json:"token,omitempty"` // Warning message. - Warning string `protobuf:"bytes,5,opt,name=warning,proto3" json:"warning,omitempty"` + Warning string `protobuf:"bytes,5,opt,name=warning,proto3" json:"warning,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RegisterNodeResponse) Reset() { diff --git a/api/managementpb/node/node.pb.go b/api/managementpb/node/node.pb.go index e58866d599..67ef806a12 100644 --- a/api/managementpb/node/node.pb.go +++ b/api/managementpb/node/node.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: managementpb/node/node.proto @@ -86,10 +86,7 @@ func (UniversalNode_Status) EnumDescriptor() ([]byte, []int) { } type UniversalNode struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique Node identifier. NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` // Node type. @@ -113,7 +110,7 @@ type UniversalNode struct { // Node availability zone. Az string `protobuf:"bytes,11,opt,name=az,proto3" json:"az,omitempty"` // Custom user-assigned labels for Node. - CustomLabels map[string]string `protobuf:"bytes,12,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,12,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Creation timestamp. CreatedAt *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // Last update timestamp. @@ -123,7 +120,9 @@ type UniversalNode struct { // List of agents related to this node. Agents []*UniversalNode_Agent `protobuf:"bytes,16,rep,name=agents,proto3" json:"agents,omitempty"` // List of services running on this node. - Services []*UniversalNode_Service `protobuf:"bytes,17,rep,name=services,proto3" json:"services,omitempty"` + Services []*UniversalNode_Service `protobuf:"bytes,17,rep,name=services,proto3" json:"services,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UniversalNode) Reset() { @@ -276,12 +275,11 @@ func (x *UniversalNode) GetServices() []*UniversalNode_Service { } type ListNodeRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Node type to be filtered out. - NodeType inventorypb.NodeType `protobuf:"varint,1,opt,name=node_type,json=nodeType,proto3,enum=inventory.NodeType" json:"node_type,omitempty"` + NodeType inventorypb.NodeType `protobuf:"varint,1,opt,name=node_type,json=nodeType,proto3,enum=inventory.NodeType" json:"node_type,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListNodeRequest) Reset() { @@ -322,11 +320,10 @@ func (x *ListNodeRequest) GetNodeType() inventorypb.NodeType { } type ListNodeResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Nodes []*UniversalNode `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"` unknownFields protoimpl.UnknownFields - - Nodes []*UniversalNode `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListNodeResponse) Reset() { @@ -367,12 +364,11 @@ func (x *ListNodeResponse) GetNodes() []*UniversalNode { } type GetNodeRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique Node identifier. - NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` + NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetNodeRequest) Reset() { @@ -413,11 +409,10 @@ func (x *GetNodeRequest) GetNodeId() string { } type GetNodeResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Node *UniversalNode `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"` unknownFields protoimpl.UnknownFields - - Node *UniversalNode `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetNodeResponse) Reset() { @@ -459,16 +454,15 @@ func (x *GetNodeResponse) GetNode() *UniversalNode { // Service represents a service running on a node. type UniversalNode_Service struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique Service identifier. ServiceId string `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` // Service type. ServiceType string `protobuf:"bytes,2,opt,name=service_type,json=serviceType,proto3" json:"service_type,omitempty"` // Service name. - ServiceName string `protobuf:"bytes,3,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` + ServiceName string `protobuf:"bytes,3,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UniversalNode_Service) Reset() { @@ -523,10 +517,7 @@ func (x *UniversalNode_Service) GetServiceName() string { } type UniversalNode_Agent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique Agent identifier. AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"` // Agent type. @@ -534,7 +525,9 @@ type UniversalNode_Agent struct { // Actual Agent status. Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` // True if Agent is running and connected to pmm-managed. - IsConnected bool `protobuf:"varint,4,opt,name=is_connected,json=isConnected,proto3" json:"is_connected,omitempty"` + IsConnected bool `protobuf:"varint,4,opt,name=is_connected,json=isConnected,proto3" json:"is_connected,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UniversalNode_Agent) Reset() { diff --git a/api/managementpb/pagination.pb.go b/api/managementpb/pagination.pb.go index da26bb47b1..f17932aa4f 100644 --- a/api/managementpb/pagination.pb.go +++ b/api/managementpb/pagination.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: managementpb/pagination.proto @@ -24,14 +24,13 @@ const ( // PageParams represents page request parameters for pagination. type PageParams struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Maximum number of results per page. PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Index of the requested page, starts from 0. - Index int32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` + Index int32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PageParams) Reset() { @@ -80,14 +79,13 @@ func (x *PageParams) GetIndex() int32 { // PageTotals represents total values for pagination. type PageTotals struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Total number of results. TotalItems int32 `protobuf:"varint,1,opt,name=total_items,json=totalItems,proto3" json:"total_items,omitempty"` // Total number of pages. - TotalPages int32 `protobuf:"varint,2,opt,name=total_pages,json=totalPages,proto3" json:"total_pages,omitempty"` + TotalPages int32 `protobuf:"varint,2,opt,name=total_pages,json=totalPages,proto3" json:"total_pages,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *PageTotals) Reset() { diff --git a/api/managementpb/postgresql.pb.go b/api/managementpb/postgresql.pb.go index bc9bef181c..d575c5c640 100644 --- a/api/managementpb/postgresql.pb.go +++ b/api/managementpb/postgresql.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: managementpb/postgresql.proto @@ -27,10 +27,7 @@ const ( ) type AddPostgreSQLRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Node identifier on which a service is been running. // Exactly one of these parameters should be present: node_id, node_name, add_node. NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` @@ -74,7 +71,7 @@ type AddPostgreSQLRequest struct { // Disable query examples. DisableQueryExamples bool `protobuf:"varint,20,opt,name=disable_query_examples,json=disableQueryExamples,proto3" json:"disable_query_examples,omitempty"` // Custom user-assigned labels for Service. - CustomLabels map[string]string `protobuf:"bytes,14,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,14,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Skip connection check. SkipConnectionCheck bool `protobuf:"varint,15,opt,name=skip_connection_check,json=skipConnectionCheck,proto3" json:"skip_connection_check,omitempty"` // Disable parsing comments from queries and showing them in QAN. @@ -105,6 +102,8 @@ type AddPostgreSQLRequest struct { ExposeExporter bool `protobuf:"varint,32,opt,name=expose_exporter,json=exposeExporter,proto3" json:"expose_exporter,omitempty"` // Maximum number of connections that exporter can open to the database instance. MaxExporterConnections int32 `protobuf:"varint,33,opt,name=max_exporter_connections,json=maxExporterConnections,proto3" json:"max_exporter_connections,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddPostgreSQLRequest) Reset() { @@ -369,16 +368,15 @@ func (x *AddPostgreSQLRequest) GetMaxExporterConnections() int32 { } type AddPostgreSQLResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` Service *inventorypb.PostgreSQLService `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` PostgresExporter *inventorypb.PostgresExporter `protobuf:"bytes,2,opt,name=postgres_exporter,json=postgresExporter,proto3" json:"postgres_exporter,omitempty"` QanPostgresqlPgstatementsAgent *inventorypb.QANPostgreSQLPgStatementsAgent `protobuf:"bytes,3,opt,name=qan_postgresql_pgstatements_agent,json=qanPostgresqlPgstatementsAgent,proto3" json:"qan_postgresql_pgstatements_agent,omitempty"` QanPostgresqlPgstatmonitorAgent *inventorypb.QANPostgreSQLPgStatMonitorAgent `protobuf:"bytes,4,opt,name=qan_postgresql_pgstatmonitor_agent,json=qanPostgresqlPgstatmonitorAgent,proto3" json:"qan_postgresql_pgstatmonitor_agent,omitempty"` // Warning message. - Warning string `protobuf:"bytes,5,opt,name=warning,proto3" json:"warning,omitempty"` + Warning string `protobuf:"bytes,5,opt,name=warning,proto3" json:"warning,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddPostgreSQLResponse) Reset() { diff --git a/api/managementpb/proxysql.pb.go b/api/managementpb/proxysql.pb.go index 0f7d5bf143..047018b1e1 100644 --- a/api/managementpb/proxysql.pb.go +++ b/api/managementpb/proxysql.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: managementpb/proxysql.proto @@ -27,10 +27,7 @@ const ( ) type AddProxySQLRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Node identifier on which a service is been running. // Exactly one of these parameters should be present: node_id, node_name, add_node. NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` @@ -64,7 +61,7 @@ type AddProxySQLRequest struct { // ProxySQL password for scraping metrics. Password string `protobuf:"bytes,12,opt,name=password,proto3" json:"password,omitempty"` // Custom user-assigned labels for Service. - CustomLabels map[string]string `protobuf:"bytes,13,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,13,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Skip connection check. SkipConnectionCheck bool `protobuf:"varint,14,opt,name=skip_connection_check,json=skipConnectionCheck,proto3" json:"skip_connection_check,omitempty"` // Use TLS for database connections. @@ -83,6 +80,8 @@ type AddProxySQLRequest struct { LogLevel inventorypb.LogLevel `protobuf:"varint,21,opt,name=log_level,json=logLevel,proto3,enum=inventory.LogLevel" json:"log_level,omitempty"` // Optionally expose the exporter process on all public interfaces ExposeExporter bool `protobuf:"varint,22,opt,name=expose_exporter,json=exposeExporter,proto3" json:"expose_exporter,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddProxySQLRequest) Reset() { @@ -270,12 +269,11 @@ func (x *AddProxySQLRequest) GetExposeExporter() bool { } type AddProxySQLResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` Service *inventorypb.ProxySQLService `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` ProxysqlExporter *inventorypb.ProxySQLExporter `protobuf:"bytes,2,opt,name=proxysql_exporter,json=proxysqlExporter,proto3" json:"proxysql_exporter,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddProxySQLResponse) Reset() { diff --git a/api/managementpb/rds.pb.go b/api/managementpb/rds.pb.go index 56e2fbe27d..99601d29f8 100644 --- a/api/managementpb/rds.pb.go +++ b/api/managementpb/rds.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: managementpb/rds.proto @@ -78,10 +78,7 @@ func (DiscoverRDSEngine) EnumDescriptor() ([]byte, []int) { // DiscoverRDSInstance models an unique RDS instance for the list of instances returned by Discovery. type DiscoverRDSInstance struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // AWS region. Region string `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"` // AWS availability zone. @@ -98,6 +95,8 @@ type DiscoverRDSInstance struct { Engine DiscoverRDSEngine `protobuf:"varint,7,opt,name=engine,proto3,enum=management.DiscoverRDSEngine" json:"engine,omitempty"` // Engine version. EngineVersion string `protobuf:"bytes,8,opt,name=engine_version,json=engineVersion,proto3" json:"engine_version,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DiscoverRDSInstance) Reset() { @@ -187,14 +186,13 @@ func (x *DiscoverRDSInstance) GetEngineVersion() string { } type DiscoverRDSRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // AWS Access key. Optional. AwsAccessKey string `protobuf:"bytes,1,opt,name=aws_access_key,json=awsAccessKey,proto3" json:"aws_access_key,omitempty"` // AWS Secret key. Optional. - AwsSecretKey string `protobuf:"bytes,2,opt,name=aws_secret_key,json=awsSecretKey,proto3" json:"aws_secret_key,omitempty"` + AwsSecretKey string `protobuf:"bytes,2,opt,name=aws_secret_key,json=awsSecretKey,proto3" json:"aws_secret_key,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DiscoverRDSRequest) Reset() { @@ -242,11 +240,10 @@ func (x *DiscoverRDSRequest) GetAwsSecretKey() string { } type DiscoverRDSResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + RdsInstances []*DiscoverRDSInstance `protobuf:"bytes,1,rep,name=rds_instances,json=rdsInstances,proto3" json:"rds_instances,omitempty"` unknownFields protoimpl.UnknownFields - - RdsInstances []*DiscoverRDSInstance `protobuf:"bytes,1,rep,name=rds_instances,json=rdsInstances,proto3" json:"rds_instances,omitempty"` + sizeCache protoimpl.SizeCache } func (x *DiscoverRDSResponse) Reset() { @@ -287,10 +284,7 @@ func (x *DiscoverRDSResponse) GetRdsInstances() []*DiscoverRDSInstance { } type AddRDSRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // AWS region. Region string `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"` // AWS availability zone. @@ -328,7 +322,7 @@ type AddRDSRequest struct { // If true, adds qan-mysql-perfschema-agent. QanMysqlPerfschema bool `protobuf:"varint,18,opt,name=qan_mysql_perfschema,json=qanMysqlPerfschema,proto3" json:"qan_mysql_perfschema,omitempty"` // Custom user-assigned labels for Node and Service. - CustomLabels map[string]string `protobuf:"bytes,19,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,19,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Skip connection check. SkipConnectionCheck bool `protobuf:"varint,20,opt,name=skip_connection_check,json=skipConnectionCheck,proto3" json:"skip_connection_check,omitempty"` // Use TLS for database connections. @@ -360,6 +354,8 @@ type AddRDSRequest struct { DisableCommentsParsing bool `protobuf:"varint,32,opt,name=disable_comments_parsing,json=disableCommentsParsing,proto3" json:"disable_comments_parsing,omitempty"` // Maximum number of exporter connections to PostgreSQL instance. MaxPostgresqlExporterConnections int32 `protobuf:"varint,33,opt,name=max_postgresql_exporter_connections,json=maxPostgresqlExporterConnections,proto3" json:"max_postgresql_exporter_connections,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddRDSRequest) Reset() { @@ -624,10 +620,7 @@ func (x *AddRDSRequest) GetMaxPostgresqlExporterConnections() int32 { } type AddRDSResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` Node *inventorypb.RemoteRDSNode `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"` RdsExporter *inventorypb.RDSExporter `protobuf:"bytes,2,opt,name=rds_exporter,json=rdsExporter,proto3" json:"rds_exporter,omitempty"` Mysql *inventorypb.MySQLService `protobuf:"bytes,3,opt,name=mysql,proto3" json:"mysql,omitempty"` @@ -638,6 +631,8 @@ type AddRDSResponse struct { Postgresql *inventorypb.PostgreSQLService `protobuf:"bytes,7,opt,name=postgresql,proto3" json:"postgresql,omitempty"` PostgresqlExporter *inventorypb.PostgresExporter `protobuf:"bytes,8,opt,name=postgresql_exporter,json=postgresqlExporter,proto3" json:"postgresql_exporter,omitempty"` QanPostgresqlPgstatements *inventorypb.QANPostgreSQLPgStatementsAgent `protobuf:"bytes,9,opt,name=qan_postgresql_pgstatements,json=qanPostgresqlPgstatements,proto3" json:"qan_postgresql_pgstatements,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddRDSResponse) Reset() { diff --git a/api/managementpb/role/role.pb.go b/api/managementpb/role/role.pb.go index 6b4a25ecca..f833229994 100644 --- a/api/managementpb/role/role.pb.go +++ b/api/managementpb/role/role.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: managementpb/role/role.proto @@ -25,13 +25,12 @@ const ( ) type CreateRoleRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` + Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` + Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` unknownFields protoimpl.UnknownFields - - Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` - Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` - Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` + sizeCache protoimpl.SizeCache } func (x *CreateRoleRequest) Reset() { @@ -86,11 +85,10 @@ func (x *CreateRoleRequest) GetDescription() string { } type CreateRoleResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + RoleId uint32 `protobuf:"varint,1,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` unknownFields protoimpl.UnknownFields - - RoleId uint32 `protobuf:"varint,1,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *CreateRoleResponse) Reset() { @@ -131,14 +129,13 @@ func (x *CreateRoleResponse) GetRoleId() uint32 { } type UpdateRoleRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + RoleId uint32 `protobuf:"varint,1,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` + Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` + Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"` + Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` unknownFields protoimpl.UnknownFields - - RoleId uint32 `protobuf:"varint,1,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` - Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` - Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"` - Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` + sizeCache protoimpl.SizeCache } func (x *UpdateRoleRequest) Reset() { @@ -200,9 +197,9 @@ func (x *UpdateRoleRequest) GetDescription() string { } type UpdateRoleResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateRoleResponse) Reset() { @@ -236,13 +233,12 @@ func (*UpdateRoleResponse) Descriptor() ([]byte, []int) { } type DeleteRoleRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RoleId uint32 `protobuf:"varint,1,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + RoleId uint32 `protobuf:"varint,1,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` // Role ID to be used as a replacement for the role. Additional logic applies. ReplacementRoleId uint32 `protobuf:"varint,2,opt,name=replacement_role_id,json=replacementRoleId,proto3" json:"replacement_role_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteRoleRequest) Reset() { @@ -290,9 +286,9 @@ func (x *DeleteRoleRequest) GetReplacementRoleId() uint32 { } type DeleteRoleResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DeleteRoleResponse) Reset() { @@ -326,11 +322,10 @@ func (*DeleteRoleResponse) Descriptor() ([]byte, []int) { } type GetRoleRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + RoleId uint32 `protobuf:"varint,1,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` unknownFields protoimpl.UnknownFields - - RoleId uint32 `protobuf:"varint,1,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetRoleRequest) Reset() { @@ -371,14 +366,13 @@ func (x *GetRoleRequest) GetRoleId() uint32 { } type GetRoleResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + RoleId uint32 `protobuf:"varint,1,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` + Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` + Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"` + Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` unknownFields protoimpl.UnknownFields - - RoleId uint32 `protobuf:"varint,1,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` - Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` - Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"` - Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetRoleResponse) Reset() { @@ -440,11 +434,10 @@ func (x *GetRoleResponse) GetDescription() string { } type SetDefaultRoleRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + RoleId uint32 `protobuf:"varint,1,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` unknownFields protoimpl.UnknownFields - - RoleId uint32 `protobuf:"varint,1,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SetDefaultRoleRequest) Reset() { @@ -485,9 +478,9 @@ func (x *SetDefaultRoleRequest) GetRoleId() uint32 { } type SetDefaultRoleResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SetDefaultRoleResponse) Reset() { @@ -521,12 +514,11 @@ func (*SetDefaultRoleResponse) Descriptor() ([]byte, []int) { } type AssignRolesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + RoleIds []uint32 `protobuf:"varint,1,rep,packed,name=role_ids,json=roleIds,proto3" json:"role_ids,omitempty"` + UserId uint32 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` unknownFields protoimpl.UnknownFields - - RoleIds []uint32 `protobuf:"varint,1,rep,packed,name=role_ids,json=roleIds,proto3" json:"role_ids,omitempty"` - UserId uint32 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *AssignRolesRequest) Reset() { @@ -574,9 +566,9 @@ func (x *AssignRolesRequest) GetUserId() uint32 { } type AssignRolesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AssignRolesResponse) Reset() { @@ -610,9 +602,9 @@ func (*AssignRolesResponse) Descriptor() ([]byte, []int) { } type ListRolesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListRolesRequest) Reset() { @@ -646,11 +638,10 @@ func (*ListRolesRequest) Descriptor() ([]byte, []int) { } type ListRolesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Roles []*ListRolesResponse_RoleData `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty"` unknownFields protoimpl.UnknownFields - - Roles []*ListRolesResponse_RoleData `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListRolesResponse) Reset() { @@ -691,14 +682,13 @@ func (x *ListRolesResponse) GetRoles() []*ListRolesResponse_RoleData { } type ListRolesResponse_RoleData struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + RoleId uint32 `protobuf:"varint,1,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` + Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` + Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"` + Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` unknownFields protoimpl.UnknownFields - - RoleId uint32 `protobuf:"varint,1,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` - Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` - Filter string `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"` - Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListRolesResponse_RoleData) Reset() { diff --git a/api/managementpb/service.pb.go b/api/managementpb/service.pb.go index 640ac44486..5d1e187107 100644 --- a/api/managementpb/service.pb.go +++ b/api/managementpb/service.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: managementpb/service.proto @@ -28,10 +28,7 @@ const ( // AddNodeParams holds node params and is used to add new node to inventory while adding new service. type AddNodeParams struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Node type to be registered. NodeType inventorypb.NodeType `protobuf:"varint,1,opt,name=node_type,json=nodeType,proto3,enum=inventory.NodeType" json:"node_type,omitempty"` // Unique across all Nodes user-defined name. @@ -51,7 +48,9 @@ type AddNodeParams struct { // Node availability zone. Az string `protobuf:"bytes,9,opt,name=az,proto3" json:"az,omitempty"` // Custom user-assigned labels for Node. - CustomLabels map[string]string `protobuf:"bytes,10,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,10,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AddNodeParams) Reset() { @@ -155,17 +154,16 @@ func (x *AddNodeParams) GetCustomLabels() map[string]string { } type RemoveServiceRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Service type. ServiceType inventorypb.ServiceType `protobuf:"varint,1,opt,name=service_type,json=serviceType,proto3,enum=inventory.ServiceType" json:"service_type,omitempty"` // Service ID or Service Name is required. // Unique randomly generated instance identifier. ServiceId string `protobuf:"bytes,2,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` // Unique across all Services user-defined name. - ServiceName string `protobuf:"bytes,3,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` + ServiceName string `protobuf:"bytes,3,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RemoveServiceRequest) Reset() { @@ -220,9 +218,9 @@ func (x *RemoveServiceRequest) GetServiceName() string { } type RemoveServiceResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *RemoveServiceResponse) Reset() { diff --git a/api/managementpb/service/service.pb.go b/api/managementpb/service/service.pb.go index 9488782361..77505cbb96 100644 --- a/api/managementpb/service/service.pb.go +++ b/api/managementpb/service/service.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: managementpb/service/service.proto @@ -85,10 +85,7 @@ func (UniversalService_Status) EnumDescriptor() ([]byte, []int) { } type UniversalService struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Unique service identifier. ServiceId string `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` // Service type. @@ -108,7 +105,7 @@ type UniversalService struct { // Replication set name. ReplicationSet string `protobuf:"bytes,9,opt,name=replication_set,json=replicationSet,proto3" json:"replication_set,omitempty"` // Custom user-assigned labels for Service. - CustomLabels map[string]string `protobuf:"bytes,10,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + CustomLabels map[string]string `protobuf:"bytes,10,rep,name=custom_labels,json=customLabels,proto3" json:"custom_labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // External group name. ExternalGroup string `protobuf:"bytes,11,opt,name=external_group,json=externalGroup,proto3" json:"external_group,omitempty"` // Access address (DNS name or IP). @@ -129,7 +126,9 @@ type UniversalService struct { // The health status of the service. Status UniversalService_Status `protobuf:"varint,18,opt,name=status,proto3,enum=service.v1beta1.UniversalService_Status" json:"status,omitempty"` // The service/database version. - Version string `protobuf:"bytes,19,opt,name=version,proto3" json:"version,omitempty"` + Version string `protobuf:"bytes,19,opt,name=version,proto3" json:"version,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UniversalService) Reset() { @@ -296,16 +295,15 @@ func (x *UniversalService) GetVersion() string { } type ListServiceRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Return only Services running on that Node. NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` // Return only services filtered by service type. ServiceType inventorypb.ServiceType `protobuf:"varint,2,opt,name=service_type,json=serviceType,proto3,enum=inventory.ServiceType" json:"service_type,omitempty"` // Return only services in this external group. ExternalGroup string `protobuf:"bytes,3,opt,name=external_group,json=externalGroup,proto3" json:"external_group,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListServiceRequest) Reset() { @@ -360,12 +358,11 @@ func (x *ListServiceRequest) GetExternalGroup() string { } type ListServiceResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // List of Services. - Services []*UniversalService `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"` + Services []*UniversalService `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListServiceResponse) Reset() { diff --git a/api/managementpb/severity.pb.go b/api/managementpb/severity.pb.go index fd3fca2538..0f3cc8b023 100644 --- a/api/managementpb/severity.pb.go +++ b/api/managementpb/severity.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: managementpb/severity.proto diff --git a/api/platformpb/platform.pb.go b/api/platformpb/platform.pb.go index 58a0fc563d..a35bde69b7 100644 --- a/api/platformpb/platform.pb.go +++ b/api/platformpb/platform.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: platformpb/platform.proto @@ -27,10 +27,7 @@ const ( ) type ConnectRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // User defined human readable PMM Server Name. ServerName string `protobuf:"bytes,1,opt,name=server_name,json=serverName,proto3" json:"server_name,omitempty"` // Existing Percona Platform user's email. @@ -43,6 +40,8 @@ type ConnectRequest struct { Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` // Personal Access Token that the user obtains from Percona Portal. PersonalAccessToken string `protobuf:"bytes,4,opt,name=personal_access_token,json=personalAccessToken,proto3" json:"personal_access_token,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ConnectRequest) Reset() { @@ -106,9 +105,9 @@ func (x *ConnectRequest) GetPersonalAccessToken() string { } type ConnectResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ConnectResponse) Reset() { @@ -142,12 +141,11 @@ func (*ConnectResponse) Descriptor() ([]byte, []int) { } type DisconnectRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Forces the cleanup process for connected PMM instances regardless of the Portal API response - Force bool `protobuf:"varint,1,opt,name=force,proto3" json:"force,omitempty"` + Force bool `protobuf:"varint,1,opt,name=force,proto3" json:"force,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DisconnectRequest) Reset() { @@ -188,9 +186,9 @@ func (x *DisconnectRequest) GetForce() bool { } type DisconnectResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DisconnectResponse) Reset() { @@ -224,9 +222,9 @@ func (*DisconnectResponse) Descriptor() ([]byte, []int) { } type SearchOrganizationTicketsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SearchOrganizationTicketsRequest) Reset() { @@ -260,12 +258,11 @@ func (*SearchOrganizationTicketsRequest) Descriptor() ([]byte, []int) { } type SearchOrganizationTicketsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Support tickets belonging to the Percona Portal Organization. - Tickets []*OrganizationTicket `protobuf:"bytes,1,rep,name=tickets,proto3" json:"tickets,omitempty"` + Tickets []*OrganizationTicket `protobuf:"bytes,1,rep,name=tickets,proto3" json:"tickets,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SearchOrganizationTicketsResponse) Reset() { @@ -307,10 +304,7 @@ func (x *SearchOrganizationTicketsResponse) GetTickets() []*OrganizationTicket { // OrganizationTicket contains information about the support ticket. type OrganizationTicket struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Ticket number. Number string `protobuf:"bytes,1,opt,name=number,proto3" json:"number,omitempty"` // Ticket short description. @@ -328,7 +322,9 @@ type OrganizationTicket struct { // Task type. TaskType string `protobuf:"bytes,8,opt,name=task_type,json=taskType,proto3" json:"task_type,omitempty"` // Ticket url. - Url string `protobuf:"bytes,9,opt,name=url,proto3" json:"url,omitempty"` + Url string `protobuf:"bytes,9,opt,name=url,proto3" json:"url,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *OrganizationTicket) Reset() { @@ -425,9 +421,9 @@ func (x *OrganizationTicket) GetUrl() string { } type SearchOrganizationEntitlementsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SearchOrganizationEntitlementsRequest) Reset() { @@ -461,11 +457,10 @@ func (*SearchOrganizationEntitlementsRequest) Descriptor() ([]byte, []int) { } type SearchOrganizationEntitlementsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Entitlements []*OrganizationEntitlement `protobuf:"bytes,1,rep,name=entitlements,proto3" json:"entitlements,omitempty"` unknownFields protoimpl.UnknownFields - - Entitlements []*OrganizationEntitlement `protobuf:"bytes,1,rep,name=entitlements,proto3" json:"entitlements,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SearchOrganizationEntitlementsResponse) Reset() { @@ -507,10 +502,7 @@ func (x *SearchOrganizationEntitlementsResponse) GetEntitlements() []*Organizati // OrganizationEntitlement contains information about Organization entitlement. type OrganizationEntitlement struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Entitlement number. Number string `protobuf:"bytes,1,opt,name=number,proto3" json:"number,omitempty"` // Entitlement name. @@ -534,7 +526,9 @@ type OrganizationEntitlement struct { // Note: only date is used here but not time. EndDate *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"` // Platform specific options covered by this entitlement. - Platform *OrganizationEntitlement_Platform `protobuf:"bytes,11,opt,name=platform,proto3" json:"platform,omitempty"` + Platform *OrganizationEntitlement_Platform `protobuf:"bytes,11,opt,name=platform,proto3" json:"platform,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *OrganizationEntitlement) Reset() { @@ -645,9 +639,9 @@ func (x *OrganizationEntitlement) GetPlatform() *OrganizationEntitlement_Platfor } type GetContactInformationRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetContactInformationRequest) Reset() { @@ -681,13 +675,12 @@ func (*GetContactInformationRequest) Descriptor() ([]byte, []int) { } type GetContactInformationResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` CustomerSuccess *GetContactInformationResponse_CustomerSuccess `protobuf:"bytes,1,opt,name=customer_success,json=customerSuccess,proto3" json:"customer_success,omitempty"` // URL to open a new support ticket. - NewTicketUrl string `protobuf:"bytes,2,opt,name=new_ticket_url,json=newTicketUrl,proto3" json:"new_ticket_url,omitempty"` + NewTicketUrl string `protobuf:"bytes,2,opt,name=new_ticket_url,json=newTicketUrl,proto3" json:"new_ticket_url,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetContactInformationResponse) Reset() { @@ -735,9 +728,9 @@ func (x *GetContactInformationResponse) GetNewTicketUrl() string { } type ServerInfoRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ServerInfoRequest) Reset() { @@ -771,14 +764,13 @@ func (*ServerInfoRequest) Descriptor() ([]byte, []int) { } type ServerInfoResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - PmmServerName string `protobuf:"bytes,1,opt,name=pmm_server_name,json=pmmServerName,proto3" json:"pmm_server_name,omitempty"` - PmmServerId string `protobuf:"bytes,2,opt,name=pmm_server_id,json=pmmServerId,proto3" json:"pmm_server_id,omitempty"` - PmmServerTelemetryId string `protobuf:"bytes,3,opt,name=pmm_server_telemetry_id,json=pmmServerTelemetryId,proto3" json:"pmm_server_telemetry_id,omitempty"` - ConnectedToPortal bool `protobuf:"varint,4,opt,name=connected_to_portal,json=connectedToPortal,proto3" json:"connected_to_portal,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + PmmServerName string `protobuf:"bytes,1,opt,name=pmm_server_name,json=pmmServerName,proto3" json:"pmm_server_name,omitempty"` + PmmServerId string `protobuf:"bytes,2,opt,name=pmm_server_id,json=pmmServerId,proto3" json:"pmm_server_id,omitempty"` + PmmServerTelemetryId string `protobuf:"bytes,3,opt,name=pmm_server_telemetry_id,json=pmmServerTelemetryId,proto3" json:"pmm_server_telemetry_id,omitempty"` + ConnectedToPortal bool `protobuf:"varint,4,opt,name=connected_to_portal,json=connectedToPortal,proto3" json:"connected_to_portal,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ServerInfoResponse) Reset() { @@ -840,9 +832,9 @@ func (x *ServerInfoResponse) GetConnectedToPortal() bool { } type UserStatusRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UserStatusRequest) Reset() { @@ -876,11 +868,10 @@ func (*UserStatusRequest) Descriptor() ([]byte, []int) { } type UserStatusResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - IsPlatformUser bool `protobuf:"varint,1,opt,name=is_platform_user,json=isPlatformUser,proto3" json:"is_platform_user,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + IsPlatformUser bool `protobuf:"varint,1,opt,name=is_platform_user,json=isPlatformUser,proto3" json:"is_platform_user,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UserStatusResponse) Reset() { @@ -922,14 +913,13 @@ func (x *UserStatusResponse) GetIsPlatformUser() bool { // Platform indicates platform specific entitlements. type OrganizationEntitlement_Platform struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Flag indicates that security advisors are covered by this entitlement. SecurityAdvisor *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=security_advisor,json=securityAdvisor,proto3" json:"security_advisor,omitempty"` // Flag indicates that config advisors are covered by this entitlement. ConfigAdvisor *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=config_advisor,json=configAdvisor,proto3" json:"config_advisor,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *OrganizationEntitlement_Platform) Reset() { @@ -978,12 +968,11 @@ func (x *OrganizationEntitlement_Platform) GetConfigAdvisor() *wrapperspb.String // CustomerSuccess contains the contanct details of the customer success employee assigned to a customer's account. type GetContactInformationResponse_CustomerSuccess struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetContactInformationResponse_CustomerSuccess) Reset() { diff --git a/api/qanpb/collector.pb.go b/api/qanpb/collector.pb.go index 0d62c9fc0d..363b4b4076 100644 --- a/api/qanpb/collector.pb.go +++ b/api/qanpb/collector.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: qanpb/collector.proto @@ -24,11 +24,10 @@ const ( ) type CollectRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + MetricsBucket []*MetricsBucket `protobuf:"bytes,1,rep,name=metrics_bucket,json=metricsBucket,proto3" json:"metrics_bucket,omitempty"` unknownFields protoimpl.UnknownFields - - MetricsBucket []*MetricsBucket `protobuf:"bytes,1,rep,name=metrics_bucket,json=metricsBucket,proto3" json:"metrics_bucket,omitempty"` + sizeCache protoimpl.SizeCache } func (x *CollectRequest) Reset() { @@ -71,10 +70,7 @@ func (x *CollectRequest) GetMetricsBucket() []*MetricsBucket { // MetricsBucket is aggregated message created by pmm-agent. // Contains information about one query selected in defined way from query class in specific period of time. type MetricsBucket struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // md5 of digest_text/fingerprint. Queryid string `protobuf:"bytes,1,opt,name=queryid,proto3" json:"queryid,omitempty"` // contains fingerprint prepared by sql parser, which can be different than fingerprint. @@ -130,7 +126,7 @@ type MetricsBucket struct { // Metrics source. AgentType inventorypb.AgentType `protobuf:"varint,12,opt,name=agent_type,json=agentType,proto3,enum=inventory.AgentType" json:"agent_type,omitempty"` // Custom labels names:values. - Labels map[string]string `protobuf:"bytes,8,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Labels map[string]string `protobuf:"bytes,8,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // Time when collection of bucket started. PeriodStartUnixSecs uint32 `protobuf:"varint,10,opt,name=period_start_unix_secs,json=periodStartUnixSecs,proto3" json:"period_start_unix_secs,omitempty"` // Duration of bucket. @@ -149,11 +145,11 @@ type MetricsBucket struct { // How many queries was with warnings in bucket. NumQueriesWithWarnings float32 `protobuf:"fixed32,18,opt,name=num_queries_with_warnings,json=numQueriesWithWarnings,proto3" json:"num_queries_with_warnings,omitempty"` // List of warnings: {code: count}. - Warnings map[uint64]uint64 `protobuf:"bytes,19,rep,name=warnings,proto3" json:"warnings,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + Warnings map[uint64]uint64 `protobuf:"bytes,19,rep,name=warnings,proto3" json:"warnings,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` // How many queries was with error in bucket. NumQueriesWithErrors float32 `protobuf:"fixed32,20,opt,name=num_queries_with_errors,json=numQueriesWithErrors,proto3" json:"num_queries_with_errors,omitempty"` // List of errors: {code: count}. - Errors map[uint64]uint64 `protobuf:"bytes,21,rep,name=errors,proto3" json:"errors,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` + Errors map[uint64]uint64 `protobuf:"bytes,21,rep,name=errors,proto3" json:"errors,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` // Amount queries in this bucket. NumQueries float32 `protobuf:"fixed32,22,opt,name=num_queries,json=numQueries,proto3" json:"num_queries,omitempty"` // How many times query_time was found. @@ -427,6 +423,8 @@ type MetricsBucket struct { Planid string `protobuf:"bytes,249,opt,name=planid,proto3" json:"planid,omitempty"` QueryPlan string `protobuf:"bytes,251,opt,name=query_plan,json=queryPlan,proto3" json:"query_plan,omitempty"` HistogramItems []string `protobuf:"bytes,252,rep,name=histogram_items,json=histogramItems,proto3" json:"histogram_items,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MetricsBucket) Reset() { @@ -2068,9 +2066,9 @@ func (x *MetricsBucket) GetHistogramItems() []string { } type CollectResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CollectResponse) Reset() { diff --git a/api/qanpb/filters.pb.go b/api/qanpb/filters.pb.go index 06c28ced64..938e5e3b3e 100644 --- a/api/qanpb/filters.pb.go +++ b/api/qanpb/filters.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: qanpb/filters.proto @@ -25,14 +25,13 @@ const ( // FiltersRequest contains period for which we need filters. type FiltersRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` PeriodStartFrom *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=period_start_from,json=periodStartFrom,proto3" json:"period_start_from,omitempty"` PeriodStartTo *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=period_start_to,json=periodStartTo,proto3" json:"period_start_to,omitempty"` MainMetricName string `protobuf:"bytes,3,opt,name=main_metric_name,json=mainMetricName,proto3" json:"main_metric_name,omitempty"` Labels []*MapFieldEntry `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *FiltersRequest) Reset() { @@ -96,11 +95,10 @@ func (x *FiltersRequest) GetLabels() []*MapFieldEntry { // FiltersReply is map of labels for given period by key. // Key is label's name and value is label's value and how many times it occur. type FiltersReply struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Labels map[string]*ListLabels `protobuf:"bytes,1,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` unknownFields protoimpl.UnknownFields - - Labels map[string]*ListLabels `protobuf:"bytes,1,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + sizeCache protoimpl.SizeCache } func (x *FiltersReply) Reset() { @@ -142,11 +140,10 @@ func (x *FiltersReply) GetLabels() map[string]*ListLabels { // ListLabels is list of label's values: duplicates are impossible. type ListLabels struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Name []*Values `protobuf:"bytes,1,rep,name=name,proto3" json:"name,omitempty"` unknownFields protoimpl.UnknownFields - - Name []*Values `protobuf:"bytes,1,rep,name=name,proto3" json:"name,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListLabels) Reset() { @@ -188,13 +185,12 @@ func (x *ListLabels) GetName() []*Values { // Values is label values and main metric percent and per second. type Values struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` - MainMetricPercent float32 `protobuf:"fixed32,2,opt,name=main_metric_percent,json=mainMetricPercent,proto3" json:"main_metric_percent,omitempty"` - MainMetricPerSec float32 `protobuf:"fixed32,3,opt,name=main_metric_per_sec,json=mainMetricPerSec,proto3" json:"main_metric_per_sec,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` + MainMetricPercent float32 `protobuf:"fixed32,2,opt,name=main_metric_percent,json=mainMetricPercent,proto3" json:"main_metric_percent,omitempty"` + MainMetricPerSec float32 `protobuf:"fixed32,3,opt,name=main_metric_per_sec,json=mainMetricPerSec,proto3" json:"main_metric_per_sec,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Values) Reset() { diff --git a/api/qanpb/metrics_names.pb.go b/api/qanpb/metrics_names.pb.go index feea5c48a5..de0a0bc25a 100644 --- a/api/qanpb/metrics_names.pb.go +++ b/api/qanpb/metrics_names.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: qanpb/metrics_names.proto @@ -24,9 +24,9 @@ const ( // MetricsNamesRequest is emty. type MetricsNamesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MetricsNamesRequest) Reset() { @@ -63,11 +63,10 @@ func (*MetricsNamesRequest) Descriptor() ([]byte, []int) { // key is root of metric name in db (Ex:. [m_]query_time[_sum]); // value - Human readable name of metrics. type MetricsNamesReply struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Data map[string]string `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` unknownFields protoimpl.UnknownFields - - Data map[string]string `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + sizeCache protoimpl.SizeCache } func (x *MetricsNamesReply) Reset() { diff --git a/api/qanpb/object_details.pb.go b/api/qanpb/object_details.pb.go index d1f4823c0e..275805ae49 100644 --- a/api/qanpb/object_details.pb.go +++ b/api/qanpb/object_details.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: qanpb/object_details.proto @@ -26,10 +26,7 @@ const ( // MetricsRequest defines filtering of metrics for specific value of dimension (ex.: host=hostname1 or queryid=1D410B4BE5060972. type MetricsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` PeriodStartFrom *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=period_start_from,json=periodStartFrom,proto3" json:"period_start_from,omitempty"` PeriodStartTo *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=period_start_to,json=periodStartTo,proto3" json:"period_start_to,omitempty"` // dimension value: ex: queryid - 1D410B4BE5060972. @@ -39,7 +36,9 @@ type MetricsRequest struct { Labels []*MapFieldEntry `protobuf:"bytes,5,rep,name=labels,proto3" json:"labels,omitempty"` IncludeOnlyFields []string `protobuf:"bytes,6,rep,name=include_only_fields,json=includeOnlyFields,proto3" json:"include_only_fields,omitempty"` // retrieve only values for totals, excluding N/A values - Totals bool `protobuf:"varint,7,opt,name=totals,proto3" json:"totals,omitempty"` + Totals bool `protobuf:"varint,7,opt,name=totals,proto3" json:"totals,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MetricsRequest) Reset() { @@ -123,16 +122,15 @@ func (x *MetricsRequest) GetTotals() bool { // MetricsReply defines metrics for specific value of dimension (ex.: host=hostname1 or queryid=1D410B4BE5060972. type MetricsReply struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Metrics map[string]*MetricValues `protobuf:"bytes,3,rep,name=metrics,proto3" json:"metrics,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + TextMetrics map[string]string `protobuf:"bytes,7,rep,name=text_metrics,json=textMetrics,proto3" json:"text_metrics,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + Sparkline []*Point `protobuf:"bytes,4,rep,name=sparkline,proto3" json:"sparkline,omitempty"` + Totals map[string]*MetricValues `protobuf:"bytes,5,rep,name=totals,proto3" json:"totals,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + Fingerprint string `protobuf:"bytes,6,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"` + Metadata *GetSelectedQueryMetadataReply `protobuf:"bytes,8,opt,name=metadata,proto3" json:"metadata,omitempty"` unknownFields protoimpl.UnknownFields - - Metrics map[string]*MetricValues `protobuf:"bytes,3,rep,name=metrics,proto3" json:"metrics,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - TextMetrics map[string]string `protobuf:"bytes,7,rep,name=text_metrics,json=textMetrics,proto3" json:"text_metrics,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - Sparkline []*Point `protobuf:"bytes,4,rep,name=sparkline,proto3" json:"sparkline,omitempty"` - Totals map[string]*MetricValues `protobuf:"bytes,5,rep,name=totals,proto3" json:"totals,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - Fingerprint string `protobuf:"bytes,6,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"` - Metadata *GetSelectedQueryMetadataReply `protobuf:"bytes,8,opt,name=metadata,proto3" json:"metadata,omitempty"` + sizeCache protoimpl.SizeCache } func (x *MetricsReply) Reset() { @@ -209,18 +207,17 @@ func (x *MetricsReply) GetMetadata() *GetSelectedQueryMetadataReply { // MetricValues is statistics of specific metric. type MetricValues struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Rate float32 `protobuf:"fixed32,1,opt,name=rate,proto3" json:"rate,omitempty"` - Cnt float32 `protobuf:"fixed32,2,opt,name=cnt,proto3" json:"cnt,omitempty"` - Sum float32 `protobuf:"fixed32,3,opt,name=sum,proto3" json:"sum,omitempty"` - Min float32 `protobuf:"fixed32,4,opt,name=min,proto3" json:"min,omitempty"` - Max float32 `protobuf:"fixed32,5,opt,name=max,proto3" json:"max,omitempty"` - Avg float32 `protobuf:"fixed32,6,opt,name=avg,proto3" json:"avg,omitempty"` - P99 float32 `protobuf:"fixed32,7,opt,name=p99,proto3" json:"p99,omitempty"` - PercentOfTotal float32 `protobuf:"fixed32,8,opt,name=percent_of_total,json=percentOfTotal,proto3" json:"percent_of_total,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Rate float32 `protobuf:"fixed32,1,opt,name=rate,proto3" json:"rate,omitempty"` + Cnt float32 `protobuf:"fixed32,2,opt,name=cnt,proto3" json:"cnt,omitempty"` + Sum float32 `protobuf:"fixed32,3,opt,name=sum,proto3" json:"sum,omitempty"` + Min float32 `protobuf:"fixed32,4,opt,name=min,proto3" json:"min,omitempty"` + Max float32 `protobuf:"fixed32,5,opt,name=max,proto3" json:"max,omitempty"` + Avg float32 `protobuf:"fixed32,6,opt,name=avg,proto3" json:"avg,omitempty"` + P99 float32 `protobuf:"fixed32,7,opt,name=p99,proto3" json:"p99,omitempty"` + PercentOfTotal float32 `protobuf:"fixed32,8,opt,name=percent_of_total,json=percentOfTotal,proto3" json:"percent_of_total,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MetricValues) Reset() { @@ -311,11 +308,10 @@ func (x *MetricValues) GetPercentOfTotal() float32 { // Labels are list of labels or dimensions values. type Labels struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Value []string `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"` unknownFields protoimpl.UnknownFields - - Value []string `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Labels) Reset() { @@ -358,18 +354,17 @@ func (x *Labels) GetValue() []string { // QueryExampleRequest defines filtering of query examples for specific value of // dimension (ex.: host=hostname1 or queryid=1D410B4BE5060972. type QueryExampleRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` PeriodStartFrom *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=period_start_from,json=periodStartFrom,proto3" json:"period_start_from,omitempty"` PeriodStartTo *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=period_start_to,json=periodStartTo,proto3" json:"period_start_to,omitempty"` // dimension value: ex: queryid - 1D410B4BE5060972. FilterBy string `protobuf:"bytes,3,opt,name=filter_by,json=filterBy,proto3" json:"filter_by,omitempty"` // one of dimension: queryid | host ... - GroupBy string `protobuf:"bytes,4,opt,name=group_by,json=groupBy,proto3" json:"group_by,omitempty"` - Labels []*MapFieldEntry `protobuf:"bytes,5,rep,name=labels,proto3" json:"labels,omitempty"` - Limit uint32 `protobuf:"varint,6,opt,name=limit,proto3" json:"limit,omitempty"` + GroupBy string `protobuf:"bytes,4,opt,name=group_by,json=groupBy,proto3" json:"group_by,omitempty"` + Labels []*MapFieldEntry `protobuf:"bytes,5,rep,name=labels,proto3" json:"labels,omitempty"` + Limit uint32 `protobuf:"varint,6,opt,name=limit,proto3" json:"limit,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *QueryExampleRequest) Reset() { @@ -446,11 +441,10 @@ func (x *QueryExampleRequest) GetLimit() uint32 { // QueryExampleReply list of query examples. type QueryExampleReply struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + QueryExamples []*QueryExample `protobuf:"bytes,1,rep,name=query_examples,json=queryExamples,proto3" json:"query_examples,omitempty"` unknownFields protoimpl.UnknownFields - - QueryExamples []*QueryExample `protobuf:"bytes,1,rep,name=query_examples,json=queryExamples,proto3" json:"query_examples,omitempty"` + sizeCache protoimpl.SizeCache } func (x *QueryExampleReply) Reset() { @@ -492,11 +486,8 @@ func (x *QueryExampleReply) GetQueryExamples() []*QueryExample { // QueryExample shows query examples and their metrics. type QueryExample struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Example string `protobuf:"bytes,1,opt,name=example,proto3" json:"example,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Example string `protobuf:"bytes,1,opt,name=example,proto3" json:"example,omitempty"` // Deprecated: should not be used, should be removed. // // Deprecated: Marked as deprecated in qanpb/object_details.proto. @@ -511,6 +502,8 @@ type QueryExample struct { ServiceType string `protobuf:"bytes,7,opt,name=service_type,json=serviceType,proto3" json:"service_type,omitempty"` Schema string `protobuf:"bytes,8,opt,name=schema,proto3" json:"schema,omitempty"` Tables []string `protobuf:"bytes,9,rep,name=tables,proto3" json:"tables,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *QueryExample) Reset() { @@ -631,16 +624,15 @@ func (x *QueryExample) GetTables() []string { // ObjectDetailsLabelsRequest defines filtering of object detail's labels for specific value of // dimension (ex.: host=hostname1 or queryid=1D410B4BE5060972. type ObjectDetailsLabelsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` PeriodStartFrom *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=period_start_from,json=periodStartFrom,proto3" json:"period_start_from,omitempty"` PeriodStartTo *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=period_start_to,json=periodStartTo,proto3" json:"period_start_to,omitempty"` // dimension value: ex: queryid - 1D410B4BE5060972. FilterBy string `protobuf:"bytes,3,opt,name=filter_by,json=filterBy,proto3" json:"filter_by,omitempty"` // one of dimension: queryid | host ... - GroupBy string `protobuf:"bytes,4,opt,name=group_by,json=groupBy,proto3" json:"group_by,omitempty"` + GroupBy string `protobuf:"bytes,4,opt,name=group_by,json=groupBy,proto3" json:"group_by,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ObjectDetailsLabelsRequest) Reset() { @@ -703,11 +695,10 @@ func (x *ObjectDetailsLabelsRequest) GetGroupBy() string { // ObjectDetailsLabelsReply is a map of labels names as keys and labels values as a list. type ObjectDetailsLabelsReply struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Labels map[string]*ListLabelValues `protobuf:"bytes,1,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` unknownFields protoimpl.UnknownFields - - Labels map[string]*ListLabelValues `protobuf:"bytes,1,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + sizeCache protoimpl.SizeCache } func (x *ObjectDetailsLabelsReply) Reset() { @@ -749,11 +740,10 @@ func (x *ObjectDetailsLabelsReply) GetLabels() map[string]*ListLabelValues { // ListLabelValues is list of label's values. type ListLabelValues struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` unknownFields protoimpl.UnknownFields - - Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListLabelValues) Reset() { @@ -795,11 +785,10 @@ func (x *ListLabelValues) GetValues() []string { // QueryPlanRequest defines filtering by queryid. type QueryPlanRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Queryid string `protobuf:"bytes,1,opt,name=queryid,proto3" json:"queryid,omitempty"` unknownFields protoimpl.UnknownFields - - Queryid string `protobuf:"bytes,1,opt,name=queryid,proto3" json:"queryid,omitempty"` + sizeCache protoimpl.SizeCache } func (x *QueryPlanRequest) Reset() { @@ -841,12 +830,11 @@ func (x *QueryPlanRequest) GetQueryid() string { // QueryPlanReply contains planid and query_plan. type QueryPlanReply struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Planid string `protobuf:"bytes,1,opt,name=planid,proto3" json:"planid,omitempty"` + QueryPlan string `protobuf:"bytes,2,opt,name=query_plan,json=queryPlan,proto3" json:"query_plan,omitempty"` unknownFields protoimpl.UnknownFields - - Planid string `protobuf:"bytes,1,opt,name=planid,proto3" json:"planid,omitempty"` - QueryPlan string `protobuf:"bytes,2,opt,name=query_plan,json=queryPlan,proto3" json:"query_plan,omitempty"` + sizeCache protoimpl.SizeCache } func (x *QueryPlanReply) Reset() { @@ -895,14 +883,13 @@ func (x *QueryPlanReply) GetQueryPlan() string { // HistogramRequest defines filtering by time range, labels and queryid. type HistogramRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` PeriodStartFrom *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=period_start_from,json=periodStartFrom,proto3" json:"period_start_from,omitempty"` PeriodStartTo *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=period_start_to,json=periodStartTo,proto3" json:"period_start_to,omitempty"` Labels []*MapFieldEntry `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty"` Queryid string `protobuf:"bytes,4,opt,name=queryid,proto3" json:"queryid,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *HistogramRequest) Reset() { @@ -965,11 +952,10 @@ func (x *HistogramRequest) GetQueryid() string { // HistogramReply is histogram items as a list. type HistogramReply struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - HistogramItems []*HistogramItem `protobuf:"bytes,1,rep,name=histogram_items,json=histogramItems,proto3" json:"histogram_items,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + HistogramItems []*HistogramItem `protobuf:"bytes,1,rep,name=histogram_items,json=histogramItems,proto3" json:"histogram_items,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *HistogramReply) Reset() { @@ -1011,12 +997,11 @@ func (x *HistogramReply) GetHistogramItems() []*HistogramItem { // HistogramItem represents one item in histogram. type HistogramItem struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Range string `protobuf:"bytes,1,opt,name=range,proto3" json:"range,omitempty"` + Frequency uint32 `protobuf:"varint,2,opt,name=frequency,proto3" json:"frequency,omitempty"` unknownFields protoimpl.UnknownFields - - Range string `protobuf:"bytes,1,opt,name=range,proto3" json:"range,omitempty"` - Frequency uint32 `protobuf:"varint,2,opt,name=frequency,proto3" json:"frequency,omitempty"` + sizeCache protoimpl.SizeCache } func (x *HistogramItem) Reset() { @@ -1065,12 +1050,11 @@ func (x *HistogramItem) GetFrequency() uint32 { // QueryExistsRequest check if provided query exists or not. type QueryExistsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Serviceid string `protobuf:"bytes,1,opt,name=serviceid,proto3" json:"serviceid,omitempty"` + Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` unknownFields protoimpl.UnknownFields - - Serviceid string `protobuf:"bytes,1,opt,name=serviceid,proto3" json:"serviceid,omitempty"` - Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` + sizeCache protoimpl.SizeCache } func (x *QueryExistsRequest) Reset() { @@ -1119,12 +1103,11 @@ func (x *QueryExistsRequest) GetQuery() string { // SchemaByQueryIDRequest returns schema for given query ID and service ID. type SchemaByQueryIDRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + ServiceId string `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` + QueryId string `protobuf:"bytes,2,opt,name=query_id,json=queryId,proto3" json:"query_id,omitempty"` unknownFields protoimpl.UnknownFields - - ServiceId string `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` - QueryId string `protobuf:"bytes,2,opt,name=query_id,json=queryId,proto3" json:"query_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SchemaByQueryIDRequest) Reset() { @@ -1173,11 +1156,10 @@ func (x *SchemaByQueryIDRequest) GetQueryId() string { // SchemaByQueryIDReply is schema for given query ID and service ID. type SchemaByQueryIDReply struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Schema string `protobuf:"bytes,1,opt,name=schema,proto3" json:"schema,omitempty"` unknownFields protoimpl.UnknownFields - - Schema string `protobuf:"bytes,1,opt,name=schema,proto3" json:"schema,omitempty"` + sizeCache protoimpl.SizeCache } func (x *SchemaByQueryIDReply) Reset() { @@ -1219,12 +1201,11 @@ func (x *SchemaByQueryIDReply) GetSchema() string { // ExplainFingerprintByQueryIDRequest get explain fingerprint for given query ID. type ExplainFingerprintByQueryIDRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Serviceid string `protobuf:"bytes,1,opt,name=serviceid,proto3" json:"serviceid,omitempty"` + QueryId string `protobuf:"bytes,2,opt,name=query_id,json=queryId,proto3" json:"query_id,omitempty"` unknownFields protoimpl.UnknownFields - - Serviceid string `protobuf:"bytes,1,opt,name=serviceid,proto3" json:"serviceid,omitempty"` - QueryId string `protobuf:"bytes,2,opt,name=query_id,json=queryId,proto3" json:"query_id,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ExplainFingerprintByQueryIDRequest) Reset() { @@ -1273,12 +1254,11 @@ func (x *ExplainFingerprintByQueryIDRequest) GetQueryId() string { // ExplainFingerprintByQueryIDReply is explain fingerprint and placeholders count for given query ID. type ExplainFingerprintByQueryIDReply struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ExplainFingerprint string `protobuf:"bytes,1,opt,name=explain_fingerprint,json=explainFingerprint,proto3" json:"explain_fingerprint,omitempty"` - PlaceholdersCount uint32 `protobuf:"varint,2,opt,name=placeholders_count,json=placeholdersCount,proto3" json:"placeholders_count,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + ExplainFingerprint string `protobuf:"bytes,1,opt,name=explain_fingerprint,json=explainFingerprint,proto3" json:"explain_fingerprint,omitempty"` + PlaceholdersCount uint32 `protobuf:"varint,2,opt,name=placeholders_count,json=placeholdersCount,proto3" json:"placeholders_count,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ExplainFingerprintByQueryIDReply) Reset() { @@ -1327,22 +1307,21 @@ func (x *ExplainFingerprintByQueryIDReply) GetPlaceholdersCount() uint32 { // GetSlecetedQueryMetadataReply consists selected query metadata to show in details for given query ID. type GetSelectedQueryMetadataReply struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` - Database string `protobuf:"bytes,2,opt,name=database,proto3" json:"database,omitempty"` - Schema string `protobuf:"bytes,3,opt,name=schema,proto3" json:"schema,omitempty"` - Username string `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"` - ReplicationSet string `protobuf:"bytes,5,opt,name=replication_set,json=replicationSet,proto3" json:"replication_set,omitempty"` - Cluster string `protobuf:"bytes,6,opt,name=cluster,proto3" json:"cluster,omitempty"` - ServiceType string `protobuf:"bytes,7,opt,name=service_type,json=serviceType,proto3" json:"service_type,omitempty"` - ServiceId string `protobuf:"bytes,8,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` - Environment string `protobuf:"bytes,9,opt,name=environment,proto3" json:"environment,omitempty"` - NodeId string `protobuf:"bytes,10,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` - NodeName string `protobuf:"bytes,11,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"` - NodeType string `protobuf:"bytes,12,opt,name=node_type,json=nodeType,proto3" json:"node_type,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` + Database string `protobuf:"bytes,2,opt,name=database,proto3" json:"database,omitempty"` + Schema string `protobuf:"bytes,3,opt,name=schema,proto3" json:"schema,omitempty"` + Username string `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"` + ReplicationSet string `protobuf:"bytes,5,opt,name=replication_set,json=replicationSet,proto3" json:"replication_set,omitempty"` + Cluster string `protobuf:"bytes,6,opt,name=cluster,proto3" json:"cluster,omitempty"` + ServiceType string `protobuf:"bytes,7,opt,name=service_type,json=serviceType,proto3" json:"service_type,omitempty"` + ServiceId string `protobuf:"bytes,8,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` + Environment string `protobuf:"bytes,9,opt,name=environment,proto3" json:"environment,omitempty"` + NodeId string `protobuf:"bytes,10,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` + NodeName string `protobuf:"bytes,11,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"` + NodeType string `protobuf:"bytes,12,opt,name=node_type,json=nodeType,proto3" json:"node_type,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetSelectedQueryMetadataReply) Reset() { diff --git a/api/qanpb/profile.pb.go b/api/qanpb/profile.pb.go index c372675048..88bb126263 100644 --- a/api/qanpb/profile.pb.go +++ b/api/qanpb/profile.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: qanpb/profile.proto @@ -25,10 +25,7 @@ const ( // ReportRequest defines filtering of metrics report for db server or other dimentions. type ReportRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` PeriodStartFrom *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=period_start_from,json=periodStartFrom,proto3" json:"period_start_from,omitempty"` PeriodStartTo *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=period_start_to,json=periodStartTo,proto3" json:"period_start_to,omitempty"` GroupBy string `protobuf:"bytes,3,opt,name=group_by,json=groupBy,proto3" json:"group_by,omitempty"` @@ -39,6 +36,8 @@ type ReportRequest struct { Limit uint32 `protobuf:"varint,8,opt,name=limit,proto3" json:"limit,omitempty"` MainMetric string `protobuf:"bytes,9,opt,name=main_metric,json=mainMetric,proto3" json:"main_metric,omitempty"` Search string `protobuf:"bytes,10,opt,name=search,proto3" json:"search,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ReportRequest) Reset() { @@ -143,12 +142,11 @@ func (x *ReportRequest) GetSearch() string { // ReportMapFieldEntry allows to pass labels/dimentions in form like {"server": ["db1", "db2"...]}. type ReportMapFieldEntry struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + Value []string `protobuf:"bytes,2,rep,name=value,proto3" json:"value,omitempty"` unknownFields protoimpl.UnknownFields - - Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - Value []string `protobuf:"bytes,2,rep,name=value,proto3" json:"value,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ReportMapFieldEntry) Reset() { @@ -197,14 +195,13 @@ func (x *ReportMapFieldEntry) GetValue() []string { // ReportReply is list of reports per quieryids, hosts etc. type ReportReply struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + TotalRows uint32 `protobuf:"varint,1,opt,name=total_rows,json=totalRows,proto3" json:"total_rows,omitempty"` + Offset uint32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` + Limit uint32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` + Rows []*Row `protobuf:"bytes,4,rep,name=rows,proto3" json:"rows,omitempty"` unknownFields protoimpl.UnknownFields - - TotalRows uint32 `protobuf:"varint,1,opt,name=total_rows,json=totalRows,proto3" json:"total_rows,omitempty"` - Offset uint32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` - Limit uint32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` - Rows []*Row `protobuf:"bytes,4,rep,name=rows,proto3" json:"rows,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ReportReply) Reset() { @@ -267,19 +264,18 @@ func (x *ReportReply) GetRows() []*Row { // Row define metrics for selected dimention. type Row struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Rank uint32 `protobuf:"varint,1,opt,name=rank,proto3" json:"rank,omitempty"` + Dimension string `protobuf:"bytes,2,opt,name=dimension,proto3" json:"dimension,omitempty"` + Database string `protobuf:"bytes,9,opt,name=database,proto3" json:"database,omitempty"` + Metrics map[string]*Metric `protobuf:"bytes,3,rep,name=metrics,proto3" json:"metrics,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` + Sparkline []*Point `protobuf:"bytes,4,rep,name=sparkline,proto3" json:"sparkline,omitempty"` + Fingerprint string `protobuf:"bytes,5,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"` + NumQueries uint32 `protobuf:"varint,6,opt,name=num_queries,json=numQueries,proto3" json:"num_queries,omitempty"` + Qps float32 `protobuf:"fixed32,7,opt,name=qps,proto3" json:"qps,omitempty"` + Load float32 `protobuf:"fixed32,8,opt,name=load,proto3" json:"load,omitempty"` unknownFields protoimpl.UnknownFields - - Rank uint32 `protobuf:"varint,1,opt,name=rank,proto3" json:"rank,omitempty"` - Dimension string `protobuf:"bytes,2,opt,name=dimension,proto3" json:"dimension,omitempty"` - Database string `protobuf:"bytes,9,opt,name=database,proto3" json:"database,omitempty"` - Metrics map[string]*Metric `protobuf:"bytes,3,rep,name=metrics,proto3" json:"metrics,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - Sparkline []*Point `protobuf:"bytes,4,rep,name=sparkline,proto3" json:"sparkline,omitempty"` - Fingerprint string `protobuf:"bytes,5,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"` - NumQueries uint32 `protobuf:"varint,6,opt,name=num_queries,json=numQueries,proto3" json:"num_queries,omitempty"` - Qps float32 `protobuf:"fixed32,7,opt,name=qps,proto3" json:"qps,omitempty"` - Load float32 `protobuf:"fixed32,8,opt,name=load,proto3" json:"load,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Row) Reset() { @@ -377,11 +373,10 @@ func (x *Row) GetLoad() float32 { // Metric cell. type Metric struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Stats *Stat `protobuf:"bytes,1,opt,name=stats,proto3" json:"stats,omitempty"` unknownFields protoimpl.UnknownFields - - Stats *Stat `protobuf:"bytes,1,opt,name=stats,proto3" json:"stats,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Metric) Reset() { @@ -423,18 +418,17 @@ func (x *Metric) GetStats() *Stat { // Stat is statistics of specific metric. type Stat struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Rate float32 `protobuf:"fixed32,1,opt,name=rate,proto3" json:"rate,omitempty"` + Cnt float32 `protobuf:"fixed32,2,opt,name=cnt,proto3" json:"cnt,omitempty"` + Sum float32 `protobuf:"fixed32,3,opt,name=sum,proto3" json:"sum,omitempty"` + Min float32 `protobuf:"fixed32,4,opt,name=min,proto3" json:"min,omitempty"` + Max float32 `protobuf:"fixed32,5,opt,name=max,proto3" json:"max,omitempty"` + P99 float32 `protobuf:"fixed32,6,opt,name=p99,proto3" json:"p99,omitempty"` + Avg float32 `protobuf:"fixed32,7,opt,name=avg,proto3" json:"avg,omitempty"` + SumPerSec float32 `protobuf:"fixed32,8,opt,name=sum_per_sec,json=sumPerSec,proto3" json:"sum_per_sec,omitempty"` unknownFields protoimpl.UnknownFields - - Rate float32 `protobuf:"fixed32,1,opt,name=rate,proto3" json:"rate,omitempty"` - Cnt float32 `protobuf:"fixed32,2,opt,name=cnt,proto3" json:"cnt,omitempty"` - Sum float32 `protobuf:"fixed32,3,opt,name=sum,proto3" json:"sum,omitempty"` - Min float32 `protobuf:"fixed32,4,opt,name=min,proto3" json:"min,omitempty"` - Max float32 `protobuf:"fixed32,5,opt,name=max,proto3" json:"max,omitempty"` - P99 float32 `protobuf:"fixed32,6,opt,name=p99,proto3" json:"p99,omitempty"` - Avg float32 `protobuf:"fixed32,7,opt,name=avg,proto3" json:"avg,omitempty"` - SumPerSec float32 `protobuf:"fixed32,8,opt,name=sum_per_sec,json=sumPerSec,proto3" json:"sum_per_sec,omitempty"` + sizeCache protoimpl.SizeCache } func (x *Stat) Reset() { diff --git a/api/qanpb/qan.pb.go b/api/qanpb/qan.pb.go index 6e9938e5d8..0f723d4499 100644 --- a/api/qanpb/qan.pb.go +++ b/api/qanpb/qan.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: qanpb/qan.proto @@ -135,10 +135,7 @@ func (ExampleType) EnumDescriptor() ([]byte, []int) { // Point contains values that represents abscissa (time) and ordinate (volume etc.) // of every point in a coordinate system of Sparklines. type Point struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // The serial number of the chart point from the largest time in the time interval to the lowest time in the time range. Point uint32 `protobuf:"varint,1,opt,name=point,proto3" json:"point,omitempty"` // Duration beetween two points. @@ -284,6 +281,8 @@ type Point struct { MWalBytesSumPerSec float32 `protobuf:"fixed32,61,opt,name=m_wal_bytes_sum_per_sec,json=mWalBytesSumPerSec,proto3" json:"m_wal_bytes_sum_per_sec,omitempty"` // Plan time in per seconds. MPlanTimeSumPerSec float32 `protobuf:"fixed32,62,opt,name=m_plan_time_sum_per_sec,json=mPlanTimeSumPerSec,proto3" json:"m_plan_time_sum_per_sec,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Point) Reset() { @@ -782,12 +781,11 @@ func (x *Point) GetMPlanTimeSumPerSec() float32 { // MapFieldEntry allows to pass labels/dimensions in form like {"server": ["db1", "db2"...]}. type MapFieldEntry struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + Value []string `protobuf:"bytes,2,rep,name=value,proto3" json:"value,omitempty"` unknownFields protoimpl.UnknownFields - - Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - Value []string `protobuf:"bytes,2,rep,name=value,proto3" json:"value,omitempty"` + sizeCache protoimpl.SizeCache } func (x *MapFieldEntry) Reset() { diff --git a/api/serverpb/httperror.pb.go b/api/serverpb/httperror.pb.go index 92858a0135..d48e51b0bb 100644 --- a/api/serverpb/httperror.pb.go +++ b/api/serverpb/httperror.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: serverpb/httperror.proto @@ -24,17 +24,16 @@ const ( // Error is the generic error returned from unary RPCs. type HttpError struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` // This is to make the error more compatible with users that expect errors to be Status objects: // https://github.com/grpc/grpc/blob/master/src/proto/grpc/status/status.proto // It should be the exact same message as the Error field. - Code int32 `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"` - Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` - Details []*anypb.Any `protobuf:"bytes,4,rep,name=details,proto3" json:"details,omitempty"` + Code int32 `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"` + Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` + Details []*anypb.Any `protobuf:"bytes,4,rep,name=details,proto3" json:"details,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *HttpError) Reset() { diff --git a/api/serverpb/server.pb.go b/api/serverpb/server.pb.go index 46bd508d42..f2c7360e3b 100644 --- a/api/serverpb/server.pb.go +++ b/api/serverpb/server.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: serverpb/server.proto @@ -87,16 +87,15 @@ func (DistributionMethod) EnumDescriptor() ([]byte, []int) { // VersionInfo describes component version, or PMM Server as a whole. type VersionInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // User-visible version. Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // Full version for debugging. FullVersion string `protobuf:"bytes,2,opt,name=full_version,json=fullVersion,proto3" json:"full_version,omitempty"` // Build or release date. - Timestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + Timestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *VersionInfo) Reset() { @@ -151,12 +150,11 @@ func (x *VersionInfo) GetTimestamp() *timestamppb.Timestamp { } type VersionRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Dummy parameter for internal testing. Do not use. - Dummy string `protobuf:"bytes,1,opt,name=dummy,proto3" json:"dummy,omitempty"` + Dummy string `protobuf:"bytes,1,opt,name=dummy,proto3" json:"dummy,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *VersionRequest) Reset() { @@ -197,10 +195,7 @@ func (x *VersionRequest) GetDummy() string { } type VersionResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // PMM Server version. Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // Detailed PMM Server version information. @@ -209,6 +204,8 @@ type VersionResponse struct { Managed *VersionInfo `protobuf:"bytes,3,opt,name=managed,proto3" json:"managed,omitempty"` // PMM Server distribution method. DistributionMethod DistributionMethod `protobuf:"varint,4,opt,name=distribution_method,json=distributionMethod,proto3,enum=server.DistributionMethod" json:"distribution_method,omitempty"` // TODO Versions and statuses of Grafana, Prometheus, PostgreSQL, qan-api2, ClickHouse, pmm-agent, etc. + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *VersionResponse) Reset() { @@ -270,9 +267,9 @@ func (x *VersionResponse) GetDistributionMethod() DistributionMethod { } type ReadinessRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ReadinessRequest) Reset() { @@ -306,9 +303,9 @@ func (*ReadinessRequest) Descriptor() ([]byte, []int) { } type ReadinessResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ReadinessResponse) Reset() { @@ -342,9 +339,9 @@ func (*ReadinessResponse) Descriptor() ([]byte, []int) { } type LeaderHealthCheckRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *LeaderHealthCheckRequest) Reset() { @@ -378,9 +375,9 @@ func (*LeaderHealthCheckRequest) Descriptor() ([]byte, []int) { } type LeaderHealthCheckResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *LeaderHealthCheckResponse) Reset() { @@ -414,14 +411,13 @@ func (*LeaderHealthCheckResponse) Descriptor() ([]byte, []int) { } type CheckUpdatesRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // If false, cached information may be returned. Force bool `protobuf:"varint,1,opt,name=force,proto3" json:"force,omitempty"` // If true, only installed version will be in response. OnlyInstalledVersion bool `protobuf:"varint,2,opt,name=only_installed_version,json=onlyInstalledVersion,proto3" json:"only_installed_version,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CheckUpdatesRequest) Reset() { @@ -469,10 +465,7 @@ func (x *CheckUpdatesRequest) GetOnlyInstalledVersion() bool { } type CheckUpdatesResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Currently installed PMM Server version. Installed *VersionInfo `protobuf:"bytes,1,opt,name=installed,proto3" json:"installed,omitempty"` // Latest available PMM Server version. @@ -482,7 +475,9 @@ type CheckUpdatesResponse struct { // Latest available PMM Server release announcement URL. LatestNewsUrl string `protobuf:"bytes,4,opt,name=latest_news_url,json=latestNewsUrl,proto3" json:"latest_news_url,omitempty"` // Last check time. - LastCheck *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=last_check,json=lastCheck,proto3" json:"last_check,omitempty"` + LastCheck *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=last_check,json=lastCheck,proto3" json:"last_check,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *CheckUpdatesResponse) Reset() { @@ -551,9 +546,9 @@ func (x *CheckUpdatesResponse) GetLastCheck() *timestamppb.Timestamp { } type StartUpdateRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartUpdateRequest) Reset() { @@ -587,14 +582,13 @@ func (*StartUpdateRequest) Descriptor() ([]byte, []int) { } type StartUpdateResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Authentication token for getting update statuses. AuthToken string `protobuf:"bytes,1,opt,name=auth_token,json=authToken,proto3" json:"auth_token,omitempty"` // Progress log offset. - LogOffset uint32 `protobuf:"varint,2,opt,name=log_offset,json=logOffset,proto3" json:"log_offset,omitempty"` + LogOffset uint32 `protobuf:"varint,2,opt,name=log_offset,json=logOffset,proto3" json:"log_offset,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StartUpdateResponse) Reset() { @@ -642,14 +636,13 @@ func (x *StartUpdateResponse) GetLogOffset() uint32 { } type UpdateStatusRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Authentication token. AuthToken string `protobuf:"bytes,1,opt,name=auth_token,json=authToken,proto3" json:"auth_token,omitempty"` // Progress log offset. - LogOffset uint32 `protobuf:"varint,2,opt,name=log_offset,json=logOffset,proto3" json:"log_offset,omitempty"` + LogOffset uint32 `protobuf:"varint,2,opt,name=log_offset,json=logOffset,proto3" json:"log_offset,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateStatusRequest) Reset() { @@ -697,16 +690,15 @@ func (x *UpdateStatusRequest) GetLogOffset() uint32 { } type UpdateStatusResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Progress log lines. LogLines []string `protobuf:"bytes,1,rep,name=log_lines,json=logLines,proto3" json:"log_lines,omitempty"` // Progress log offset for the next request. LogOffset uint32 `protobuf:"varint,2,opt,name=log_offset,json=logOffset,proto3" json:"log_offset,omitempty"` // True when update is done. - Done bool `protobuf:"varint,3,opt,name=done,proto3" json:"done,omitempty"` + Done bool `protobuf:"varint,3,opt,name=done,proto3" json:"done,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UpdateStatusResponse) Reset() { @@ -762,16 +754,15 @@ func (x *UpdateStatusResponse) GetDone() bool { // MetricsResolutions represents Prometheus exporters metrics resolutions. type MetricsResolutions struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // High resolution. Should have a suffix in JSON: 1s, 1m, 1h. Hr *durationpb.Duration `protobuf:"bytes,1,opt,name=hr,proto3" json:"hr,omitempty"` // Medium resolution. Should have a suffix in JSON: 1s, 1m, 1h. Mr *durationpb.Duration `protobuf:"bytes,2,opt,name=mr,proto3" json:"mr,omitempty"` // Low resolution. Should have a suffix in JSON: 1s, 1m, 1h. - Lr *durationpb.Duration `protobuf:"bytes,3,opt,name=lr,proto3" json:"lr,omitempty"` + Lr *durationpb.Duration `protobuf:"bytes,3,opt,name=lr,proto3" json:"lr,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *MetricsResolutions) Reset() { @@ -827,10 +818,7 @@ func (x *MetricsResolutions) GetLr() *durationpb.Duration { // EmailAlertingSettings represents email (SMTP) configuration for Alerting. type EmailAlertingSettings struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // SMTP From header field. From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` // SMTP host and port. @@ -846,7 +834,9 @@ type EmailAlertingSettings struct { // Auth using CRAM-MD5. Secret string `protobuf:"bytes,7,opt,name=secret,proto3" json:"secret,omitempty"` // Require TLS. - RequireTls bool `protobuf:"varint,8,opt,name=require_tls,json=requireTls,proto3" json:"require_tls,omitempty"` + RequireTls bool `protobuf:"varint,8,opt,name=require_tls,json=requireTls,proto3" json:"require_tls,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *EmailAlertingSettings) Reset() { @@ -937,12 +927,11 @@ func (x *EmailAlertingSettings) GetRequireTls() bool { // SlackAlertingSettings represents Slack configuration for Alerting. type SlackAlertingSettings struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Slack API (webhook) URL. - Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` + Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *SlackAlertingSettings) Reset() { @@ -984,16 +973,15 @@ func (x *SlackAlertingSettings) GetUrl() string { // STTCheckIntervals represents intervals between STT checks. type STTCheckIntervals struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Standard check interval. StandardInterval *durationpb.Duration `protobuf:"bytes,1,opt,name=standard_interval,json=standardInterval,proto3" json:"standard_interval,omitempty"` // Interval for rare check runs. RareInterval *durationpb.Duration `protobuf:"bytes,2,opt,name=rare_interval,json=rareInterval,proto3" json:"rare_interval,omitempty"` // Interval for frequent check runs. FrequentInterval *durationpb.Duration `protobuf:"bytes,3,opt,name=frequent_interval,json=frequentInterval,proto3" json:"frequent_interval,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *STTCheckIntervals) Reset() { @@ -1049,10 +1037,7 @@ func (x *STTCheckIntervals) GetFrequentInterval() *durationpb.Duration { // Settings represents PMM Server settings. type Settings struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // True if updates are disabled. UpdatesDisabled bool `protobuf:"varint,1,opt,name=updates_disabled,json=updatesDisabled,proto3" json:"updates_disabled,omitempty"` // True if telemetry is enabled. @@ -1093,6 +1078,8 @@ type Settings struct { EnableAccessControl bool `protobuf:"varint,21,opt,name=enable_access_control,json=enableAccessControl,proto3" json:"enable_access_control,omitempty"` // Default Access Control role ID for new users. DefaultRoleId uint32 `protobuf:"varint,22,opt,name=default_role_id,json=defaultRoleId,proto3" json:"default_role_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *Settings) Reset() { @@ -1280,9 +1267,9 @@ func (x *Settings) GetDefaultRoleId() uint32 { } type GetSettingsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *GetSettingsRequest) Reset() { @@ -1316,11 +1303,10 @@ func (*GetSettingsRequest) Descriptor() ([]byte, []int) { } type GetSettingsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Settings *Settings `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"` unknownFields protoimpl.UnknownFields - - Settings *Settings `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"` + sizeCache protoimpl.SizeCache } func (x *GetSettingsResponse) Reset() { @@ -1361,15 +1347,12 @@ func (x *GetSettingsResponse) GetSettings() *Settings { } type ChangeSettingsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - EnableUpdates bool `protobuf:"varint,28,opt,name=enable_updates,json=enableUpdates,proto3" json:"enable_updates,omitempty"` - DisableUpdates bool `protobuf:"varint,29,opt,name=disable_updates,json=disableUpdates,proto3" json:"disable_updates,omitempty"` - EnableTelemetry bool `protobuf:"varint,1,opt,name=enable_telemetry,json=enableTelemetry,proto3" json:"enable_telemetry,omitempty"` - DisableTelemetry bool `protobuf:"varint,2,opt,name=disable_telemetry,json=disableTelemetry,proto3" json:"disable_telemetry,omitempty"` - MetricsResolutions *MetricsResolutions `protobuf:"bytes,3,opt,name=metrics_resolutions,json=metricsResolutions,proto3" json:"metrics_resolutions,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + EnableUpdates bool `protobuf:"varint,28,opt,name=enable_updates,json=enableUpdates,proto3" json:"enable_updates,omitempty"` + DisableUpdates bool `protobuf:"varint,29,opt,name=disable_updates,json=disableUpdates,proto3" json:"disable_updates,omitempty"` + EnableTelemetry bool `protobuf:"varint,1,opt,name=enable_telemetry,json=enableTelemetry,proto3" json:"enable_telemetry,omitempty"` + DisableTelemetry bool `protobuf:"varint,2,opt,name=disable_telemetry,json=disableTelemetry,proto3" json:"disable_telemetry,omitempty"` + MetricsResolutions *MetricsResolutions `protobuf:"bytes,3,opt,name=metrics_resolutions,json=metricsResolutions,proto3" json:"metrics_resolutions,omitempty"` // A number of full days for Prometheus and QAN data retention. Should have a suffix in JSON: 2592000s, 43200m, 720h. DataRetention *durationpb.Duration `protobuf:"bytes,4,opt,name=data_retention,json=dataRetention,proto3" json:"data_retention,omitempty"` SshKey string `protobuf:"bytes,5,opt,name=ssh_key,json=sshKey,proto3" json:"ssh_key,omitempty"` @@ -1419,6 +1402,8 @@ type ChangeSettingsRequest struct { EnableAccessControl bool `protobuf:"varint,30,opt,name=enable_access_control,json=enableAccessControl,proto3" json:"enable_access_control,omitempty"` // Disable Access Control DisableAccessControl bool `protobuf:"varint,31,opt,name=disable_access_control,json=disableAccessControl,proto3" json:"disable_access_control,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ChangeSettingsRequest) Reset() { @@ -1669,11 +1654,10 @@ func (x *ChangeSettingsRequest) GetDisableAccessControl() bool { } type ChangeSettingsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Settings *Settings `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"` unknownFields protoimpl.UnknownFields - - Settings *Settings `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ChangeSettingsResponse) Reset() { @@ -1714,14 +1698,13 @@ func (x *ChangeSettingsResponse) GetSettings() *Settings { } type TestEmailAlertingSettingsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Alerting email (SMTP) settings. EmailAlertingSettings *EmailAlertingSettings `protobuf:"bytes,1,opt,name=email_alerting_settings,json=emailAlertingSettings,proto3" json:"email_alerting_settings,omitempty"` // Target email address to send the email to. - EmailTo string `protobuf:"bytes,2,opt,name=email_to,json=emailTo,proto3" json:"email_to,omitempty"` + EmailTo string `protobuf:"bytes,2,opt,name=email_to,json=emailTo,proto3" json:"email_to,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *TestEmailAlertingSettingsRequest) Reset() { @@ -1769,9 +1752,9 @@ func (x *TestEmailAlertingSettingsRequest) GetEmailTo() string { } type TestEmailAlertingSettingsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *TestEmailAlertingSettingsResponse) Reset() { @@ -1805,12 +1788,11 @@ func (*TestEmailAlertingSettingsResponse) Descriptor() ([]byte, []int) { } type AWSInstanceCheckRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // AWS EC2 instance ID (i-1234567890abcdef0). - InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` + InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AWSInstanceCheckRequest) Reset() { @@ -1851,9 +1833,9 @@ func (x *AWSInstanceCheckRequest) GetInstanceId() string { } type AWSInstanceCheckResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *AWSInstanceCheckResponse) Reset() { diff --git a/api/uieventspb/server.pb.go b/api/uieventspb/server.pb.go index f4870458df..732792a928 100644 --- a/api/uieventspb/server.pb.go +++ b/api/uieventspb/server.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: uieventspb/server.proto @@ -27,14 +27,13 @@ const ( ) type NotificationEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` - Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` - Location string `protobuf:"bytes,3,opt,name=location,proto3" json:"location,omitempty"` - LocationParams string `protobuf:"bytes,4,opt,name=location_params,json=locationParams,proto3" json:"location_params,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` + Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` + Location string `protobuf:"bytes,3,opt,name=location,proto3" json:"location,omitempty"` + LocationParams string `protobuf:"bytes,4,opt,name=location_params,json=locationParams,proto3" json:"location_params,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *NotificationEvent) Reset() { @@ -96,14 +95,13 @@ func (x *NotificationEvent) GetLocationParams() string { } type FetchingEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Component string `protobuf:"bytes,1,opt,name=component,proto3" json:"component,omitempty"` - LoadTime int32 `protobuf:"varint,2,opt,name=load_time,json=loadTime,proto3" json:"load_time,omitempty"` - Location string `protobuf:"bytes,3,opt,name=location,proto3" json:"location,omitempty"` - LocationParams string `protobuf:"bytes,4,opt,name=location_params,json=locationParams,proto3" json:"location_params,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Component string `protobuf:"bytes,1,opt,name=component,proto3" json:"component,omitempty"` + LoadTime int32 `protobuf:"varint,2,opt,name=load_time,json=loadTime,proto3" json:"load_time,omitempty"` + Location string `protobuf:"bytes,3,opt,name=location,proto3" json:"location,omitempty"` + LocationParams string `protobuf:"bytes,4,opt,name=location_params,json=locationParams,proto3" json:"location_params,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *FetchingEvent) Reset() { @@ -165,16 +163,15 @@ func (x *FetchingEvent) GetLocationParams() string { } type DashboardUsageEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"` - Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` - Tags []string `protobuf:"bytes,3,rep,name=tags,proto3" json:"tags,omitempty"` - LoadTime int32 `protobuf:"varint,4,opt,name=load_time,json=loadTime,proto3" json:"load_time,omitempty"` - Location string `protobuf:"bytes,5,opt,name=location,proto3" json:"location,omitempty"` - LocationParams string `protobuf:"bytes,6,opt,name=location_params,json=locationParams,proto3" json:"location_params,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"` + Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` + Tags []string `protobuf:"bytes,3,rep,name=tags,proto3" json:"tags,omitempty"` + LoadTime int32 `protobuf:"varint,4,opt,name=load_time,json=loadTime,proto3" json:"load_time,omitempty"` + Location string `protobuf:"bytes,5,opt,name=location,proto3" json:"location,omitempty"` + LocationParams string `protobuf:"bytes,6,opt,name=location_params,json=locationParams,proto3" json:"location_params,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *DashboardUsageEvent) Reset() { @@ -250,14 +247,13 @@ func (x *DashboardUsageEvent) GetLocationParams() string { } type UserFlowEvent struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + FlowId string `protobuf:"bytes,1,opt,name=flow_id,json=flowId,proto3" json:"flow_id,omitempty"` + StoryId string `protobuf:"bytes,2,opt,name=story_id,json=storyId,proto3" json:"story_id,omitempty"` + Event string `protobuf:"bytes,3,opt,name=event,proto3" json:"event,omitempty"` + Params map[string]string `protobuf:"bytes,4,rep,name=params,proto3" json:"params,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` unknownFields protoimpl.UnknownFields - - FlowId string `protobuf:"bytes,1,opt,name=flow_id,json=flowId,proto3" json:"flow_id,omitempty"` - StoryId string `protobuf:"bytes,2,opt,name=story_id,json=storyId,proto3" json:"story_id,omitempty"` - Event string `protobuf:"bytes,3,opt,name=event,proto3" json:"event,omitempty"` - Params map[string]string `protobuf:"bytes,4,rep,name=params,proto3" json:"params,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + sizeCache protoimpl.SizeCache } func (x *UserFlowEvent) Reset() { @@ -319,14 +315,13 @@ func (x *UserFlowEvent) GetParams() map[string]string { } type StoreRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` Notifications []*NotificationEvent `protobuf:"bytes,1,rep,name=notifications,proto3" json:"notifications,omitempty"` Fetching []*FetchingEvent `protobuf:"bytes,2,rep,name=fetching,proto3" json:"fetching,omitempty"` DashboardUsage []*DashboardUsageEvent `protobuf:"bytes,3,rep,name=dashboard_usage,json=dashboardUsage,proto3" json:"dashboard_usage,omitempty"` UserFlowEvents []*UserFlowEvent `protobuf:"bytes,4,rep,name=user_flow_events,json=userFlowEvents,proto3" json:"user_flow_events,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StoreRequest) Reset() { @@ -388,9 +383,9 @@ func (x *StoreRequest) GetUserFlowEvents() []*UserFlowEvent { } type StoreResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *StoreResponse) Reset() { diff --git a/api/userpb/user.pb.go b/api/userpb/user.pb.go index 0cb83922f2..9528d8cea5 100644 --- a/api/userpb/user.pb.go +++ b/api/userpb/user.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.35.1 +// protoc-gen-go v1.36.1 // protoc (unknown) // source: userpb/user.proto @@ -26,9 +26,9 @@ const ( ) type UserDetailsRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UserDetailsRequest) Reset() { @@ -62,16 +62,15 @@ func (*UserDetailsRequest) Descriptor() ([]byte, []int) { } type UserDetailsResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // User ID UserId uint32 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // Product Tour ProductTourCompleted bool `protobuf:"varint,2,opt,name=product_tour_completed,json=productTourCompleted,proto3" json:"product_tour_completed,omitempty"` // Alerting Tour AlertingTourCompleted bool `protobuf:"varint,3,opt,name=alerting_tour_completed,json=alertingTourCompleted,proto3" json:"alerting_tour_completed,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UserDetailsResponse) Reset() { @@ -126,14 +125,13 @@ func (x *UserDetailsResponse) GetAlertingTourCompleted() bool { } type UserUpdateRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - + state protoimpl.MessageState `protogen:"open.v1"` // Product Tour ProductTourCompleted bool `protobuf:"varint,2,opt,name=product_tour_completed,json=productTourCompleted,proto3" json:"product_tour_completed,omitempty"` // Alerting Tour AlertingTourCompleted bool `protobuf:"varint,3,opt,name=alerting_tour_completed,json=alertingTourCompleted,proto3" json:"alerting_tour_completed,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *UserUpdateRequest) Reset() { @@ -181,9 +179,9 @@ func (x *UserUpdateRequest) GetAlertingTourCompleted() bool { } type ListUsersRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListUsersRequest) Reset() { @@ -217,11 +215,10 @@ func (*ListUsersRequest) Descriptor() ([]byte, []int) { } type ListUsersResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache + state protoimpl.MessageState `protogen:"open.v1"` + Users []*ListUsersResponse_UserDetail `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` unknownFields protoimpl.UnknownFields - - Users []*ListUsersResponse_UserDetail `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` + sizeCache protoimpl.SizeCache } func (x *ListUsersResponse) Reset() { @@ -262,13 +259,12 @@ func (x *ListUsersResponse) GetUsers() []*ListUsersResponse_UserDetail { } type ListUsersResponse_UserDetail struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - UserId uint32 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + UserId uint32 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // List of role IDs assigned to the user. - RoleIds []uint32 `protobuf:"varint,2,rep,packed,name=role_ids,json=roleIds,proto3" json:"role_ids,omitempty"` + RoleIds []uint32 `protobuf:"varint,2,rep,packed,name=role_ids,json=roleIds,proto3" json:"role_ids,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ListUsersResponse_UserDetail) Reset() { diff --git a/tools/go.mod b/tools/go.mod index 7811b92722..317d5fe2c1 100644 --- a/tools/go.mod +++ b/tools/go.mod @@ -8,7 +8,7 @@ require ( github.com/BurntSushi/go-sumtype v0.0.0-20190304192233-fcb4a6205bdc github.com/Percona-Lab/swagger-order v0.0.0-20191002141859-166b3973d026 github.com/apache/skywalking-eyes v0.6.0 - github.com/bufbuild/buf v1.47.0 + github.com/bufbuild/buf v1.49.0 github.com/daixiang0/gci v0.13.0 github.com/envoyproxy/protoc-gen-validate v1.1.0 github.com/go-delve/delve v1.23.0 @@ -24,26 +24,26 @@ require ( golang.org/x/perf v0.0.0-20230717203022-1ba3a21238c9 golang.org/x/tools v0.28.0 google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.5.1 - google.golang.org/protobuf v1.35.1 + google.golang.org/protobuf v1.36.1 gopkg.in/reform.v1 v1.5.1 mvdan.cc/gofumpt v0.7.0 ) require ( - buf.build/gen/go/bufbuild/bufplugin/protocolbuffers/go v1.35.1-20241031151143-70f632351282.1 // indirect - buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.35.1-20240920164238-5a7b106cbb87.1 // indirect - buf.build/gen/go/bufbuild/registry/connectrpc/go v1.17.0-20241025140216-aa40f2c93090.1 // indirect - buf.build/gen/go/bufbuild/registry/protocolbuffers/go v1.35.1-20241025140216-aa40f2c93090.1 // indirect - buf.build/gen/go/pluginrpc/pluginrpc/protocolbuffers/go v1.35.1-20241007202033-cf42259fcbfc.1 // indirect + buf.build/gen/go/bufbuild/bufplugin/protocolbuffers/go v1.36.1-20241031151143-70f632351282.1 // indirect + buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.36.1-20241127180247-a33202765966.1 // indirect + buf.build/gen/go/bufbuild/registry/connectrpc/go v1.17.0-20241227185654-946b6dd39b27.1 // indirect + buf.build/gen/go/bufbuild/registry/protocolbuffers/go v1.36.1-20241227185654-946b6dd39b27.1 // indirect + buf.build/gen/go/pluginrpc/pluginrpc/protocolbuffers/go v1.36.1-20241007202033-cf42259fcbfc.1 // indirect buf.build/go/bufplugin v0.6.0 // indirect - buf.build/go/protoyaml v0.2.0 // indirect + buf.build/go/protoyaml v0.3.1 // indirect buf.build/go/spdx v0.2.0 // indirect - cel.dev/expr v0.18.0 // indirect + cel.dev/expr v0.19.1 // indirect code.gitea.io/sdk/gitea v0.18.0 // indirect connectrpc.com/connect v1.17.0 // indirect connectrpc.com/otelconnect v0.7.1 // indirect dario.cat/mergo v1.0.0 // indirect - github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 // indirect + github.com/Azure/go-ansiterm v0.0.0-20250102033503-faa5f7b0171c // indirect github.com/Masterminds/goutils v1.1.1 // indirect github.com/Masterminds/semver/v3 v3.2.0 // indirect github.com/Masterminds/sprig/v3 v3.2.3 // indirect @@ -58,30 +58,30 @@ require ( github.com/bmatcuk/doublestar/v2 v2.0.4 // indirect github.com/bufbuild/protocompile v0.14.1 // indirect github.com/bufbuild/protoplugin v0.0.0-20240911180120-7bb73e41a54a // indirect - github.com/bufbuild/protovalidate-go v0.7.3-0.20241015162221-1446f1e1d576 // indirect + github.com/bufbuild/protovalidate-go v0.8.2 // indirect github.com/chigopher/pathlib v0.19.1 // indirect - github.com/cilium/ebpf v0.11.0 // indirect + github.com/cilium/ebpf v0.16.0 // indirect github.com/cloudflare/circl v1.3.7 // indirect - github.com/containerd/cgroups/v3 v3.0.3 // indirect - github.com/containerd/containerd v1.7.23 // indirect - github.com/containerd/continuity v0.4.4 // indirect + github.com/containerd/cgroups/v3 v3.0.5 // indirect + github.com/containerd/containerd v1.7.24 // indirect + github.com/containerd/continuity v0.4.5 // indirect github.com/containerd/errdefs v1.0.0 // indirect github.com/containerd/errdefs/pkg v0.3.0 // indirect github.com/containerd/log v0.1.0 // indirect github.com/containerd/platforms v0.2.1 // indirect - github.com/containerd/stargz-snapshotter/estargz v0.15.1 // indirect - github.com/containerd/ttrpc v1.2.6 // indirect + github.com/containerd/stargz-snapshotter/estargz v0.16.3 // indirect + github.com/containerd/ttrpc v1.2.7 // indirect github.com/containerd/typeurl/v2 v2.2.3 // indirect github.com/cosiner/argv v0.1.0 // indirect - github.com/cpuguy83/go-md2man/v2 v2.0.5 // indirect + github.com/cpuguy83/go-md2man/v2 v2.0.6 // indirect github.com/cyphar/filepath-securejoin v0.2.4 // indirect github.com/davidmz/go-pageant v1.0.2 // indirect github.com/denisenkom/go-mssqldb v0.9.0 // indirect github.com/derekparker/trie v0.0.0-20230829180723-39f4de51ef7d // indirect github.com/distribution/reference v0.6.0 // indirect - github.com/docker/cli v27.3.1+incompatible // indirect + github.com/docker/cli v27.4.1+incompatible // indirect github.com/docker/distribution v2.8.3+incompatible // indirect - github.com/docker/docker v27.3.1+incompatible // indirect + github.com/docker/docker v27.4.1+incompatible // indirect github.com/docker/docker-credential-helpers v0.8.2 // indirect github.com/docker/go-connections v0.5.0 // indirect github.com/docker/go-units v0.5.0 // indirect @@ -89,7 +89,7 @@ require ( github.com/felixge/fgprof v0.9.5 // indirect github.com/felixge/httpsnoop v1.0.4 // indirect github.com/fsnotify/fsnotify v1.6.0 // indirect - github.com/go-chi/chi/v5 v5.1.0 // indirect + github.com/go-chi/chi/v5 v5.2.0 // indirect github.com/go-delve/liner v1.2.3-0.20231231155935-4726ab1d7f62 // indirect github.com/go-fed/httpsig v1.1.0 // indirect github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect @@ -118,8 +118,8 @@ require ( github.com/gofrs/uuid v4.4.0+incompatible // indirect github.com/gogo/protobuf v1.3.2 // indirect github.com/golang-sql/civil v0.0.0-20190719163853-cb61b32ac6fe // indirect - github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect - github.com/google/cel-go v0.22.0 // indirect + github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8 // indirect + github.com/google/cel-go v0.22.1 // indirect github.com/google/go-cmp v0.6.0 // indirect github.com/google/go-containerregistry v0.20.2 // indirect github.com/google/go-dap v0.12.0 // indirect @@ -127,7 +127,7 @@ require ( github.com/google/go-github/v62 v62.0.0 // indirect github.com/google/go-querystring v1.1.0 // indirect github.com/google/licensecheck v0.3.1 // indirect - github.com/google/pprof v0.0.0-20241101162523-b92577c0c142 // indirect + github.com/google/pprof v0.0.0-20241210010833-40e02aabc2ad // indirect github.com/google/uuid v1.6.0 // indirect github.com/gorilla/handlers v1.5.1 // indirect github.com/hashicorp/go-cleanhttp v0.5.2 // indirect @@ -176,10 +176,10 @@ require ( github.com/moby/sys/sequential v0.6.0 // indirect github.com/moby/sys/user v0.3.0 // indirect github.com/moby/sys/userns v0.1.0 // indirect - github.com/moby/term v0.5.0 // indirect + github.com/moby/term v0.5.2 // indirect github.com/morikuni/aec v1.0.0 // indirect github.com/oklog/ulid v1.3.1 // indirect - github.com/onsi/ginkgo/v2 v2.21.0 // indirect + github.com/onsi/ginkgo/v2 v2.22.2 // indirect github.com/opencontainers/go-digest v1.0.0 // indirect github.com/opencontainers/image-spec v1.1.0 // indirect github.com/opencontainers/runtime-spec v1.2.0 // indirect @@ -190,17 +190,17 @@ require ( github.com/pkg/errors v0.9.1 // indirect github.com/pkg/profile v1.7.0 // indirect github.com/quic-go/qpack v0.5.1 // indirect - github.com/quic-go/quic-go v0.48.1 // indirect + github.com/quic-go/quic-go v0.48.2 // indirect github.com/reva2/bitbucket-insights-api v1.0.0 // indirect github.com/reviewdog/errorformat v0.0.0-20240608101709-1d3280ed6bd4 // indirect github.com/reviewdog/go-bitbucket v0.0.0-20201024094602-708c3f6a7de0 // indirect github.com/rivo/uniseg v0.2.0 // indirect - github.com/rogpeppe/go-internal v1.12.0 // indirect + github.com/rogpeppe/go-internal v1.13.1 // indirect github.com/rs/cors v1.11.1 // indirect github.com/rs/zerolog v1.29.0 // indirect github.com/russross/blackfriday/v2 v2.1.0 // indirect github.com/segmentio/asm v1.2.0 // indirect - github.com/segmentio/encoding v0.4.0 // indirect + github.com/segmentio/encoding v0.4.1 // indirect github.com/sergi/go-diff v1.3.1 // indirect github.com/shopspring/decimal v1.3.1 // indirect github.com/sirupsen/logrus v1.9.3 // indirect @@ -213,7 +213,7 @@ require ( github.com/spf13/viper v1.15.0 // indirect github.com/stoewer/go-strcase v1.3.0 // indirect github.com/subosito/gotenv v1.4.2 // indirect - github.com/tetratelabs/wazero v1.8.1 // indirect + github.com/tetratelabs/wazero v1.8.2 // indirect github.com/toqueteos/webbrowser v1.2.0 // indirect github.com/vbatts/tar-split v0.11.6 // indirect github.com/xanzy/go-gitlab v0.106.0 // indirect @@ -224,12 +224,12 @@ require ( go.lsp.dev/uri v0.3.0 // indirect go.mongodb.org/mongo-driver v1.9.0 // indirect go.opencensus.io v0.24.0 // indirect - go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.57.0 // indirect - go.opentelemetry.io/otel v1.32.0 // indirect + go.opentelemetry.io/auto/sdk v1.1.0 // indirect + go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.58.0 // indirect + go.opentelemetry.io/otel v1.33.0 // indirect go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.22.0 // indirect - go.opentelemetry.io/otel/metric v1.32.0 // indirect - go.opentelemetry.io/otel/sdk v1.30.0 // indirect - go.opentelemetry.io/otel/trace v1.32.0 // indirect + go.opentelemetry.io/otel/metric v1.33.0 // indirect + go.opentelemetry.io/otel/trace v1.33.0 // indirect go.starlark.net v0.0.0-20231101134539-556fd59b42f6 // indirect go.uber.org/mock v0.5.0 // indirect go.uber.org/multierr v1.11.0 // indirect @@ -237,19 +237,19 @@ require ( go.uber.org/zap/exp v0.3.0 // indirect golang.org/x/arch v0.6.0 // indirect golang.org/x/build v0.0.0-20240712162709-0b82a206aadf // indirect - golang.org/x/crypto v0.30.0 // indirect - golang.org/x/exp v0.0.0-20241108190413-2d47ceb2692f // indirect + golang.org/x/crypto v0.31.0 // indirect + golang.org/x/exp v0.0.0-20250103183323-7d7fa50e5329 // indirect golang.org/x/mod v0.22.0 // indirect - golang.org/x/net v0.32.0 // indirect + golang.org/x/net v0.33.0 // indirect golang.org/x/oauth2 v0.23.0 // indirect golang.org/x/sync v0.10.0 // indirect - golang.org/x/sys v0.28.0 // indirect - golang.org/x/term v0.27.0 // indirect + golang.org/x/sys v0.29.0 // indirect + golang.org/x/term v0.28.0 // indirect golang.org/x/text v0.21.0 // indirect golang.org/x/time v0.5.0 // indirect - google.golang.org/genproto/googleapis/api v0.0.0-20241104194629-dd2ea8efbc28 // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20241104194629-dd2ea8efbc28 // indirect - google.golang.org/grpc v1.68.0 // indirect + google.golang.org/genproto/googleapis/api v0.0.0-20250102185135-69823020774d // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20250102185135-69823020774d // indirect + google.golang.org/grpc v1.69.2 // indirect gopkg.in/alecthomas/kingpin.v2 v2.2.6 // indirect gopkg.in/ini.v1 v1.67.0 // indirect gopkg.in/warnings.v0 v0.1.2 // indirect diff --git a/tools/go.sum b/tools/go.sum index ea22fe6c5e..0e38cd4988 100644 --- a/tools/go.sum +++ b/tools/go.sum @@ -1,21 +1,21 @@ -buf.build/gen/go/bufbuild/bufplugin/protocolbuffers/go v1.35.1-20241031151143-70f632351282.1 h1:APVDdZ4VfUvERVIj//yDjCWV7WezEOiK7+b6gvJ+iAk= -buf.build/gen/go/bufbuild/bufplugin/protocolbuffers/go v1.35.1-20241031151143-70f632351282.1/go.mod h1:rYPnjsUZ2lGpoQ/T322HWZQil9/MIZF2njP+/u/0GKg= -buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.35.1-20240920164238-5a7b106cbb87.1 h1:9wP6ZZYWnF2Z0TxmII7m3XNykxnP4/w8oXeth6ekcRI= -buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.35.1-20240920164238-5a7b106cbb87.1/go.mod h1:Duw/9JoXkXIydyASnLYIiufkzySThoqavOsF+IihqvM= -buf.build/gen/go/bufbuild/registry/connectrpc/go v1.17.0-20241025140216-aa40f2c93090.1 h1:FHQXg3T7S2jp8yc7/bQJgqEH1yza/rrDHXITUK2Tm0g= -buf.build/gen/go/bufbuild/registry/connectrpc/go v1.17.0-20241025140216-aa40f2c93090.1/go.mod h1:5iwF5l+9lKCnvr1zLvDgUHrv6X+vU5nNPjvig1sbnao= -buf.build/gen/go/bufbuild/registry/protocolbuffers/go v1.35.1-20241025140216-aa40f2c93090.1 h1:PyqnJojY+BXNuJHp5aEfN9wPiP1dzrobXVmgLrUMe+A= -buf.build/gen/go/bufbuild/registry/protocolbuffers/go v1.35.1-20241025140216-aa40f2c93090.1/go.mod h1:x5Mti5bhMO87zJxCkcEbr7Lz+bHiFsqpxnpqSB1okG0= -buf.build/gen/go/pluginrpc/pluginrpc/protocolbuffers/go v1.35.1-20241007202033-cf42259fcbfc.1 h1:rPi3qs3qpDIXIl5QW2IPOaYZhppRkvuVKwEZrfhpy78= -buf.build/gen/go/pluginrpc/pluginrpc/protocolbuffers/go v1.35.1-20241007202033-cf42259fcbfc.1/go.mod h1:4IVMTaeh4JIjBYcGFLlTorfWpKVEXDjDfHAgKTeR0Ds= +buf.build/gen/go/bufbuild/bufplugin/protocolbuffers/go v1.36.1-20241031151143-70f632351282.1 h1:DELauram5j4snPU5wB0/I7EIQiy7oRjngqbitbj4o6c= +buf.build/gen/go/bufbuild/bufplugin/protocolbuffers/go v1.36.1-20241031151143-70f632351282.1/go.mod h1:VfQZo/3dl9O9Yg1nseI0gNGDXvLrNQfBRMMIhV9fyII= +buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.36.1-20241127180247-a33202765966.1 h1:v223wh/bhlSHSc0tU9PXRWXHhkw3UWMtth7TmYGfHAQ= +buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.36.1-20241127180247-a33202765966.1/go.mod h1:/zlFuuECgFgewxwW6qQKgvMJ07YZkWlVkcSxEhJprJw= +buf.build/gen/go/bufbuild/registry/connectrpc/go v1.17.0-20241227185654-946b6dd39b27.1 h1:410axzwOITvAHu1w8pN9Gwhmk1QxrWneq6I/gowLfH8= +buf.build/gen/go/bufbuild/registry/connectrpc/go v1.17.0-20241227185654-946b6dd39b27.1/go.mod h1:i4UUrB1UIqScCCj4d+OFXpUREDDz+p1gCl9WfjpYweY= +buf.build/gen/go/bufbuild/registry/protocolbuffers/go v1.36.1-20241227185654-946b6dd39b27.1 h1:5vU2X68XNaJtF/NGS9shI/0X0jze8/5XH4RmHbsZg5w= +buf.build/gen/go/bufbuild/registry/protocolbuffers/go v1.36.1-20241227185654-946b6dd39b27.1/go.mod h1:DgqZjUk2avpwh8jiMHBOoVXUyceQ3HxNwcRLEWWwNtQ= +buf.build/gen/go/pluginrpc/pluginrpc/protocolbuffers/go v1.36.1-20241007202033-cf42259fcbfc.1 h1:0Pi0EQh6z2zJigi4UonoqczBQjvOzZ0CFYUfwPRM41M= +buf.build/gen/go/pluginrpc/pluginrpc/protocolbuffers/go v1.36.1-20241007202033-cf42259fcbfc.1/go.mod h1:Uy8SKofLXIAUjswDmz6AIN8W+bGVTF4kNczZikMPHLM= buf.build/go/bufplugin v0.6.0 h1:3lhoh+0z+IUPS3ZajTPn/27LaLIkero2BDVnV7yXD1s= buf.build/go/bufplugin v0.6.0/go.mod h1:hWCjxxv24xdR6F5pNlQavZV2oo0J3uF4Ff1XEoyV6vU= -buf.build/go/protoyaml v0.2.0 h1:2g3OHjtLDqXBREIOjpZGHmQ+U/4mkN1YiQjxNB68Ip8= -buf.build/go/protoyaml v0.2.0/go.mod h1:L/9QvTDkTWcDTzAL6HMfN+mYC6CmZRm2KnsUA054iL0= +buf.build/go/protoyaml v0.3.1 h1:ucyzE7DRnjX+mQ6AH4JzN0Kg50ByHHu+yrSKbgQn2D4= +buf.build/go/protoyaml v0.3.1/go.mod h1:0TzNpFQDXhwbkXb/ajLvxIijqbve+vMQvWY/b3/Dzxg= buf.build/go/spdx v0.2.0 h1:IItqM0/cMxvFJJumcBuP8NrsIzMs/UYjp/6WSpq8LTw= buf.build/go/spdx v0.2.0/go.mod h1:bXdwQFem9Si3nsbNy8aJKGPoaPi5DKwdeEp5/ArZ6w8= -cel.dev/expr v0.18.0 h1:CJ6drgk+Hf96lkLikr4rFf19WrU0BOWEihyZnI2TAzo= -cel.dev/expr v0.18.0/go.mod h1:MrpN08Q+lEBs+bGYdLxxHkZoUSsCp0nSKTs0nTymJgw= +cel.dev/expr v0.19.1 h1:NciYrtDRIR0lNCnH1LFJegdjspNx9fI59O7TWcua/W4= +cel.dev/expr v0.19.1/go.mod h1:MrpN08Q+lEBs+bGYdLxxHkZoUSsCp0nSKTs0nTymJgw= cloud.google.com/go v0.0.0-20170206221025-ce650573d812/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= @@ -68,8 +68,8 @@ github.com/AdaLogics/go-fuzz-headers v0.0.0-20230811130428-ced1acdcaa24 h1:bvDV9 github.com/AdaLogics/go-fuzz-headers v0.0.0-20230811130428-ced1acdcaa24/go.mod h1:8o94RPi1/7XTJvwPpRSzSUedZrtlirdB3r9Z20bi2f8= github.com/AlekSi/pointer v1.1.0 h1:SSDMPcXD9jSl8FPy9cRzoRaMJtm9g9ggGTxecRUbQoI= github.com/AlekSi/pointer v1.1.0/go.mod h1:y7BvfRI3wXPWKXEBhU71nbnIEEZX0QTSB2Bj48UJIZE= -github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 h1:L/gRVlceqvL25UVaW/CKtUDjefjrs0SPonmDGUVOYP0= -github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161/go.mod h1:xomTg63KZ2rFqZQzSB4Vz2SUXa1BpHTVz9L5PTmPC4E= +github.com/Azure/go-ansiterm v0.0.0-20250102033503-faa5f7b0171c h1:udKWzYgxTojEKWjV8V+WSxDXJ4NFATAsZjh8iIbsQIg= +github.com/Azure/go-ansiterm v0.0.0-20250102033503-faa5f7b0171c/go.mod h1:xomTg63KZ2rFqZQzSB4Vz2SUXa1BpHTVz9L5PTmPC4E= github.com/BurntSushi/go-sumtype v0.0.0-20190304192233-fcb4a6205bdc h1:nvTP+jmloR0+J4YQur/rLRdLcGVEU4SquDgH+Bo7gBY= github.com/BurntSushi/go-sumtype v0.0.0-20190304192233-fcb4a6205bdc/go.mod h1:7yTWMMG2vOm4ABVciEt4EgNVP7fxwtcKIb/EuiLiKqY= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= @@ -120,14 +120,14 @@ github.com/boombuler/barcode v1.0.0/go.mod h1:paBWMcWSl3LHKBqUq+rly7CNSldXjb2rDl github.com/boombuler/barcode v1.0.1/go.mod h1:paBWMcWSl3LHKBqUq+rly7CNSldXjb2rDl3JlRe0mD8= github.com/brianvoe/gofakeit v3.18.0+incompatible h1:wDOmHc9DLG4nRjUVVaxA+CEglKOW72Y5+4WNxUIkjM8= github.com/brianvoe/gofakeit v3.18.0+incompatible/go.mod h1:kfwdRA90vvNhPutZWfH7WPaDzUjz+CZFqG+rPkOjGOc= -github.com/bufbuild/buf v1.47.0 h1:Vy6H5yg/WYupXowhQZ4w2v8EzLNCI0DHaXGIp391PCE= -github.com/bufbuild/buf v1.47.0/go.mod h1:1Xd0QG0a1uCGk7cODUenpQ8E5l7bj2Ry9tnUfERm1YI= +github.com/bufbuild/buf v1.49.0 h1:KFSyea50xgvfnqGfK7Z4UCPTYhoCoUYAK2IoRd8/oUA= +github.com/bufbuild/buf v1.49.0/go.mod h1:PssF/YByu7WU6K3FxRmoRxi4ZViugL7rjAaoVvxknso= github.com/bufbuild/protocompile v0.14.1 h1:iA73zAf/fyljNjQKwYzUHD6AD4R8KMasmwa/FBatYVw= github.com/bufbuild/protocompile v0.14.1/go.mod h1:ppVdAIhbr2H8asPk6k4pY7t9zB1OU5DoEw9xY/FUi1c= github.com/bufbuild/protoplugin v0.0.0-20240911180120-7bb73e41a54a h1:l3RhVoG0RtC61h6TVWnkniGj4TgBebuyPQRdleFAmTg= github.com/bufbuild/protoplugin v0.0.0-20240911180120-7bb73e41a54a/go.mod h1:c5D8gWRIZ2HLWO3gXYTtUfw/hbJyD8xikv2ooPxnklQ= -github.com/bufbuild/protovalidate-go v0.7.3-0.20241015162221-1446f1e1d576 h1:A4TfjZJqApnAvGKDgxHqA1rG6BK1OswyNcTcnSrDbJc= -github.com/bufbuild/protovalidate-go v0.7.3-0.20241015162221-1446f1e1d576/go.mod h1:R/UFeIPyFAh0eH7Ic/JJbO2ABdkxFuZZKDbzsI5UiwM= +github.com/bufbuild/protovalidate-go v0.8.2 h1:sgzXHkHYP6HnAsL2Rd3I1JxkYUyEQUv9awU1PduMxbM= +github.com/bufbuild/protovalidate-go v0.8.2/go.mod h1:K6w8iPNAXBoIivVueSELbUeUl+MmeTQfCDSug85pn3M= github.com/bwesterb/go-ristretto v1.2.3/go.mod h1:fUIoIZaG73pV5biE2Blr2xEzDoMj7NFEuV9ekS419A0= github.com/cenkalti/backoff/v4 v4.3.0 h1:MyRJ/UdXutAwSAT+s3wNd7MfTIcy71VQueUuFK343L8= github.com/cenkalti/backoff/v4 v4.3.0/go.mod h1:Y3VNntkOUPxTVeUxJ/G5vcM//AlwfmyYozVcomhLiZE= @@ -143,8 +143,8 @@ github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5P github.com/chzyer/readline v1.5.1/go.mod h1:Eh+b79XXUwfKfcPLepksvw2tcLE/Ct21YObkaSkeBlk= github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= github.com/chzyer/test v1.0.0/go.mod h1:2JlltgoNkt4TW/z9V/IzDdFaMTM2JPIi26O1pF38GC8= -github.com/cilium/ebpf v0.11.0 h1:V8gS/bTCCjX9uUnkUFUpPsksM8n1lXBAvHcpiFk1X2Y= -github.com/cilium/ebpf v0.11.0/go.mod h1:WE7CZAnqOL2RouJ4f1uyNhqr2P4CCvXFIqdRDUgWsVs= +github.com/cilium/ebpf v0.16.0 h1:+BiEnHL6Z7lXnlGUsXQPPAE7+kenAd4ES8MQ5min0Ok= +github.com/cilium/ebpf v0.16.0/go.mod h1:L7u2Blt2jMM/vLAVgjxluxtBKlz3/GWjB0dMOEngfwE= github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= github.com/cloudflare/circl v1.3.3/go.mod h1:5XYMA4rFBvNIrhs50XuiBJ15vF2pZn4nnUKZrLbUZFA= github.com/cloudflare/circl v1.3.7 h1:qlCDlTPz2n9fu58M0Nh1J/JzcFpfgkFHHX3O35r5vcU= @@ -154,12 +154,12 @@ github.com/cncf/udpa/go v0.0.0-20200629203442-efcf912fb354/go.mod h1:WmhPx2Nbnht github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= github.com/cockroachdb/apd v1.1.0 h1:3LFP3629v+1aKXU5Q37mxmRxX/pIu1nijXydLShEq5I= github.com/cockroachdb/apd v1.1.0/go.mod h1:8Sl8LxpKi29FqWXR16WEFZRNSz3SoPzUzeMeY4+DwBQ= -github.com/containerd/cgroups/v3 v3.0.3 h1:S5ByHZ/h9PMe5IOQoN7E+nMc2UcLEM/V48DGDJ9kip0= -github.com/containerd/cgroups/v3 v3.0.3/go.mod h1:8HBe7V3aWGLFPd/k03swSIsGjZhHI2WzJmticMgVuz0= -github.com/containerd/containerd v1.7.23 h1:H2CClyUkmpKAGlhQp95g2WXHfLYc7whAuvZGBNYOOwQ= -github.com/containerd/containerd v1.7.23/go.mod h1:7QUzfURqZWCZV7RLNEn1XjUCQLEf0bkaK4GjUaZehxw= -github.com/containerd/continuity v0.4.4 h1:/fNVfTJ7wIl/YPMHjf+5H32uFhl63JucB34PlCpMKII= -github.com/containerd/continuity v0.4.4/go.mod h1:/lNJvtJKUQStBzpVQ1+rasXO1LAWtUQssk28EZvJ3nE= +github.com/containerd/cgroups/v3 v3.0.5 h1:44na7Ud+VwyE7LIoJ8JTNQOa549a8543BmzaJHo6Bzo= +github.com/containerd/cgroups/v3 v3.0.5/go.mod h1:SA5DLYnXO8pTGYiAHXz94qvLQTKfVM5GEVisn4jpins= +github.com/containerd/containerd v1.7.24 h1:zxszGrGjrra1yYJW/6rhm9cJ1ZQ8rkKBR48brqsa7nA= +github.com/containerd/containerd v1.7.24/go.mod h1:7QUzfURqZWCZV7RLNEn1XjUCQLEf0bkaK4GjUaZehxw= +github.com/containerd/continuity v0.4.5 h1:ZRoN1sXq9u7V6QoHMcVWGhOwDFqZ4B9i5H6un1Wh0x4= +github.com/containerd/continuity v0.4.5/go.mod h1:/lNJvtJKUQStBzpVQ1+rasXO1LAWtUQssk28EZvJ3nE= github.com/containerd/errdefs v1.0.0 h1:tg5yIfIlQIrxYtu9ajqY42W3lpS19XqdxRQeEwYG8PI= github.com/containerd/errdefs v1.0.0/go.mod h1:+YBYIdtsnF4Iw6nWZhJcqGSg/dwvV7tyJ/kCkyJ2k+M= github.com/containerd/errdefs/pkg v0.3.0 h1:9IKJ06FvyNlexW690DXuQNx2KA2cUJXx151Xdx3ZPPE= @@ -168,18 +168,18 @@ github.com/containerd/log v0.1.0 h1:TCJt7ioM2cr/tfR8GPbGf9/VRAX8D2B4PjzCpfX540I= github.com/containerd/log v0.1.0/go.mod h1:VRRf09a7mHDIRezVKTRCrOq78v577GXq3bSa3EhrzVo= github.com/containerd/platforms v0.2.1 h1:zvwtM3rz2YHPQsF2CHYM8+KtB5dvhISiXh5ZpSBQv6A= github.com/containerd/platforms v0.2.1/go.mod h1:XHCb+2/hzowdiut9rkudds9bE5yJ7npe7dG/wG+uFPw= -github.com/containerd/stargz-snapshotter/estargz v0.15.1 h1:eXJjw9RbkLFgioVaTG+G/ZW/0kEe2oEKCdS/ZxIyoCU= -github.com/containerd/stargz-snapshotter/estargz v0.15.1/go.mod h1:gr2RNwukQ/S9Nv33Lt6UC7xEx58C+LHRdoqbEKjz1Kk= -github.com/containerd/ttrpc v1.2.6 h1:zG+Kn5EZ6MUYCS1t2Hmt2J4tMVaLSFEJVOraDQwNPC4= -github.com/containerd/ttrpc v1.2.6/go.mod h1:YCXHsb32f+Sq5/72xHubdiJRQY9inL4a4ZQrAbN1q9o= +github.com/containerd/stargz-snapshotter/estargz v0.16.3 h1:7evrXtoh1mSbGj/pfRccTampEyKpjpOnS3CyiV1Ebr8= +github.com/containerd/stargz-snapshotter/estargz v0.16.3/go.mod h1:uyr4BfYfOj3G9WBVE8cOlQmXAbPN9VEQpBBeJIuOipU= +github.com/containerd/ttrpc v1.2.7 h1:qIrroQvuOL9HQ1X6KHe2ohc7p+HP/0VE6XPU7elJRqQ= +github.com/containerd/ttrpc v1.2.7/go.mod h1:YCXHsb32f+Sq5/72xHubdiJRQY9inL4a4ZQrAbN1q9o= github.com/containerd/typeurl/v2 v2.2.3 h1:yNA/94zxWdvYACdYO8zofhrTVuQY73fFU1y++dYSw40= github.com/containerd/typeurl/v2 v2.2.3/go.mod h1:95ljDnPfD3bAbDJRugOiShd/DlAAsxGtUBhJxIn7SCk= github.com/coreos/go-systemd/v22 v22.3.3-0.20220203105225-a9a7ef127534/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc= github.com/cosiner/argv v0.1.0 h1:BVDiEL32lwHukgJKP87btEPenzrrHUjajs/8yzaqcXg= github.com/cosiner/argv v0.1.0/go.mod h1:EusR6TucWKX+zFgtdUsKT2Cvg45K5rtpCcWz4hK06d8= github.com/cpuguy83/go-md2man/v2 v2.0.4/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= -github.com/cpuguy83/go-md2man/v2 v2.0.5 h1:ZtcqGrnekaHpVLArFSe4HK5DoKx1T0rq2DwVB0alcyc= -github.com/cpuguy83/go-md2man/v2 v2.0.5/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= +github.com/cpuguy83/go-md2man/v2 v2.0.6 h1:XJtiaUW6dEEqVuZiMTn1ldk455QWwEIsMIJlo5vtkx0= +github.com/cpuguy83/go-md2man/v2 v2.0.6/go.mod h1:oOW0eioCTA6cOiMLiUPZOpcVxMig6NIQQ7OS05n1F4g= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/creack/pty v1.1.20 h1:VIPb/a2s17qNeQgDnkfZC35RScx+blkKF8GV68n80J4= github.com/creack/pty v1.1.20/go.mod h1:MOBLtS5ELjhRRrroQr9kyvTxUAFNvYEK993ew/Vr4O4= @@ -198,12 +198,12 @@ github.com/derekparker/trie v0.0.0-20230829180723-39f4de51ef7d h1:hUWoLdw5kvo2xC github.com/derekparker/trie v0.0.0-20230829180723-39f4de51ef7d/go.mod h1:C7Es+DLenIpPc9J6IYw4jrK0h7S9bKj4DNl8+KxGEXU= github.com/distribution/reference v0.6.0 h1:0IXCQ5g4/QMHHkarYzh5l+u8T3t73zM5QvfrDyIgxBk= github.com/distribution/reference v0.6.0/go.mod h1:BbU0aIcezP1/5jX/8MP0YiH4SdvB5Y4f/wlDRiLyi3E= -github.com/docker/cli v27.3.1+incompatible h1:qEGdFBF3Xu6SCvCYhc7CzaQTlBmqDuzxPDpigSyeKQQ= -github.com/docker/cli v27.3.1+incompatible/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8= +github.com/docker/cli v27.4.1+incompatible h1:VzPiUlRJ/xh+otB75gva3r05isHMo5wXDfPRi5/b4hI= +github.com/docker/cli v27.4.1+incompatible/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8= github.com/docker/distribution v2.8.3+incompatible h1:AtKxIZ36LoNK51+Z6RpzLpddBirtxJnzDrHLEKxTAYk= github.com/docker/distribution v2.8.3+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w= -github.com/docker/docker v27.3.1+incompatible h1:KttF0XoteNTicmUtBO0L2tP+J7FGRFTjaEF4k6WdhfI= -github.com/docker/docker v27.3.1+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= +github.com/docker/docker v27.4.1+incompatible h1:ZJvcY7gfwHn1JF48PfbyXg7Jyt9ZCWDW+GGXOIxEwp4= +github.com/docker/docker v27.4.1+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= github.com/docker/docker-credential-helpers v0.8.2 h1:bX3YxiGzFP5sOXWc3bTPEXdEaZSeVMrFgOr3T+zrFAo= github.com/docker/docker-credential-helpers v0.8.2/go.mod h1:P3ci7E3lwkZg6XiHdRKft1KckHiO9a2rNtyFbZ/ry9M= github.com/docker/go-connections v0.5.0 h1:USnMq7hx7gwdVZq1L49hLXaFtUdTADjXGp+uj1Br63c= @@ -232,14 +232,14 @@ github.com/felixge/httpsnoop v1.0.4 h1:NFTV2Zj1bL4mc9sqWACXbQFVBBg2W3GPvqp8/ESS2 github.com/felixge/httpsnoop v1.0.4/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= github.com/fogleman/gg v1.2.1-0.20190220221249-0403632d5b90/go.mod h1:R/bRT+9gY/C5z7JzPU0zXsXHKM4/ayA+zqcVNZzPa1k= github.com/fogleman/gg v1.3.0/go.mod h1:R/bRT+9gY/C5z7JzPU0zXsXHKM4/ayA+zqcVNZzPa1k= -github.com/frankban/quicktest v1.14.5 h1:dfYrrRyLtiqT9GyKXgdh+k4inNeTvmGbuSgZ3lx3GhA= -github.com/frankban/quicktest v1.14.5/go.mod h1:4ptaffx2x8+WTWXmUCuVU6aPUX1/Mz7zb5vbUoiM6w0= +github.com/frankban/quicktest v1.14.4 h1:g2rn0vABPOOXmZUj+vbmUp0lPoXEMuhTpIluN0XL9UY= +github.com/frankban/quicktest v1.14.4/go.mod h1:4ptaffx2x8+WTWXmUCuVU6aPUX1/Mz7zb5vbUoiM6w0= github.com/fsnotify/fsnotify v1.6.0 h1:n+5WquG0fcWoWp6xPWfHdbskMCQaFnG6PfBrh1Ky4HY= github.com/fsnotify/fsnotify v1.6.0/go.mod h1:sl3t1tCWJFWoRz9R8WJCbQihKKwmorjAbSClcnxKAGw= github.com/gliderlabs/ssh v0.3.5 h1:OcaySEmAQJgyYcArR+gGGTHCyE7nvhEMTlYY+Dp8CpY= github.com/gliderlabs/ssh v0.3.5/go.mod h1:8XB4KraRrX39qHhT6yxPsHedjA08I/uBVwj4xC+/+z4= -github.com/go-chi/chi/v5 v5.1.0 h1:acVI1TYaD+hhedDJ3r54HyA6sExp3HfXq7QWEEY/xMw= -github.com/go-chi/chi/v5 v5.1.0/go.mod h1:DslCQbL2OYiznFReuXYUmQ2hGd1aDpCnlMNITLSKoi8= +github.com/go-chi/chi/v5 v5.2.0 h1:Aj1EtB0qR2Rdo2dG4O94RIU35w2lvQSj6BRA4+qwFL0= +github.com/go-chi/chi/v5 v5.2.0/go.mod h1:DslCQbL2OYiznFReuXYUmQ2hGd1aDpCnlMNITLSKoi8= github.com/go-delve/delve v1.23.0 h1:jYgZISZ14KAO3ys8kD07kjrowrygE9F9SIwnpz9xXys= github.com/go-delve/delve v1.23.0/go.mod h1:S3SLuEE2mn7wipKilTvk1p9HdTMnXXElcEpiZ+VcuqU= github.com/go-delve/liner v1.2.3-0.20231231155935-4726ab1d7f62 h1:IGtvsNyIuRjl04XAOFGACozgUD7A82UffYxZt4DWbvA= @@ -367,8 +367,8 @@ github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfU github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da h1:oI5xCqsCo564l8iNU+DwB5epxmsaqB+rhGL0m5jtYqE= -github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= +github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8 h1:f+oWsMOmNPc8JmEHVZIycC7hBoQxHH9pNKQORJNozsQ= +github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8/go.mod h1:wcDNUvekVysuuOpQKo3191zZyTpiI6se1N1ULghS0sw= github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y= @@ -400,8 +400,8 @@ github.com/gonum/lapack v0.0.0-20181123203213-e4cdc5a0bff9/go.mod h1:XA3DeT6rxh2 github.com/gonum/matrix v0.0.0-20181209220409-c518dec07be9/go.mod h1:0EXg4mc1CNP0HCqCz+K4ts155PXIlUywf0wqN+GfPZw= github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= -github.com/google/cel-go v0.22.0 h1:b3FJZxpiv1vTMo2/5RDUqAHPxkT8mmMfJIrq1llbf7g= -github.com/google/cel-go v0.22.0/go.mod h1:BuznPXXfQDpXKWQ9sPW3TzlAJN5zzFe+i9tIs0yC4s8= +github.com/google/cel-go v0.22.1 h1:AfVXx3chM2qwoSbM7Da8g8hX8OVSkBFwX+rz2+PcK40= +github.com/google/cel-go v0.22.1/go.mod h1:BuznPXXfQDpXKWQ9sPW3TzlAJN5zzFe+i9tIs0yC4s8= github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= @@ -442,8 +442,8 @@ github.com/google/pprof v0.0.0-20201203190320-1bf35d6f28c2/go.mod h1:kpwsk12EmLe github.com/google/pprof v0.0.0-20201218002935-b9804c9f04c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/pprof v0.0.0-20211214055906-6f57359322fd/go.mod h1:KgnwoLYCZ8IQu3XUZ8Nc/bM9CCZFOyjUNOSygVozoDg= github.com/google/pprof v0.0.0-20240227163752-401108e1b7e7/go.mod h1:czg5+yv1E0ZGTi6S6vVK1mke0fV+FaUhNGcd6VRS9Ik= -github.com/google/pprof v0.0.0-20241101162523-b92577c0c142 h1:sAGdeJj0bnMgUNVeUpp6AYlVdCt3/GdI3pGRqsNSQLs= -github.com/google/pprof v0.0.0-20241101162523-b92577c0c142/go.mod h1:vavhavw2zAxS5dIdcRluK6cSGGPlZynqzFM8NdvU144= +github.com/google/pprof v0.0.0-20241210010833-40e02aabc2ad h1:a6HEuzUHeKH6hwfN/ZoQgRgVIWFJljSWa/zetS2WTvg= +github.com/google/pprof v0.0.0-20241210010833-40e02aabc2ad/go.mod h1:vavhavw2zAxS5dIdcRluK6cSGGPlZynqzFM8NdvU144= github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= github.com/google/safehtml v0.0.2/go.mod h1:L4KWwDsUJdECRAEpZoBn3O64bQaywRscowZjJAzjHnU= github.com/google/subcommands v1.0.1/go.mod h1:ZjhPrFU+Olkh9WazFPsl27BQ4UPiG37m3yTrtFlrHVk= @@ -515,6 +515,10 @@ github.com/jinzhu/copier v0.3.5/go.mod h1:DfbEm0FYsaqBcKcFuvmOZb218JkPGtvSHsKg8S github.com/joho/godotenv v1.3.0/go.mod h1:7hK45KPybAkOC6peb+G5yklZfMxEjkZhHbwpqxOKXbg= github.com/josharian/intern v1.0.0 h1:vlS4z54oSdjm0bgjRigI+G1HpF+tI+9rE5LLzOg8HmY= github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y= +github.com/josharian/native v1.1.0 h1:uuaP0hAbW7Y4l0ZRQ6C9zfb7Mg1mbFKry/xzDAfmtLA= +github.com/josharian/native v1.1.0/go.mod h1:7X/raswPFr05uY3HiLlYeyQntB6OO7E/d2Cu7qoaN2w= +github.com/jsimonetti/rtnetlink/v2 v2.0.1 h1:xda7qaHDSVOsADNouv7ukSuicKZO7GgVUCXxpaIEIlM= +github.com/jsimonetti/rtnetlink/v2 v2.0.1/go.mod h1:7MoNYNbb3UaDHtF8udiJo/RH6VsTKP1pqKLUTVCvToE= github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk= github.com/jstemmer/go-junit-report v1.0.0 h1:8X1gzZpR+nVQLAht+L/foqOeX2l9DTZoaIPbEQHxsds= @@ -576,6 +580,10 @@ github.com/mattn/go-sqlite3 v1.14.0/go.mod h1:JIl7NbARA7phWnGvh0LKTyg7S9BA+6gx71 github.com/mattn/go-sqlite3 v1.14.5/go.mod h1:WVKg1VTActs4Qso6iwGbiFih2UIHo0ENGwNd0Lj+XmI= github.com/mattn/go-sqlite3 v1.14.6 h1:dNPt6NO46WmLVt2DLNpwczCmdV5boIZ6g/tlDrlRUbg= github.com/mattn/go-sqlite3 v1.14.6/go.mod h1:NyWgC/yNuGj7Q9rpYnZvas74GogHl5/Z4A/KQRfk6bU= +github.com/mdlayher/netlink v1.7.2 h1:/UtM3ofJap7Vl4QWCPDGXY8d3GIY2UGSDbK+QWmY8/g= +github.com/mdlayher/netlink v1.7.2/go.mod h1:xraEF7uJbxLhc5fpHL4cPe221LI2bdttWlU+ZGLfQSw= +github.com/mdlayher/socket v0.4.1 h1:eM9y2/jlbs1M615oshPQOHZzj6R6wMT7bX5NPiQvn2U= +github.com/mdlayher/socket v0.4.1/go.mod h1:cAqeGjoufqdxWkD7DkpyS+wcefOtmu5OQ8KuoJGIReA= github.com/mitchellh/copystructure v1.0.0/go.mod h1:SNtv71yrdKgLRyLFxmLdkAbkKEFWgYaq1OVrnRcwhnw= github.com/mitchellh/copystructure v1.2.0 h1:vpKXTN4ewci03Vljg/q9QvCGUDttBOGBIa15WveJJGw= github.com/mitchellh/copystructure v1.2.0/go.mod h1:qLl+cE2AmVv+CoeAwDPye/v+N2HKCj9FbZEVFJRxO9s= @@ -604,18 +612,18 @@ github.com/moby/sys/user v0.3.0 h1:9ni5DlcW5an3SvRSx4MouotOygvzaXbaSrc/wGDFWPo= github.com/moby/sys/user v0.3.0/go.mod h1:bG+tYYYJgaMtRKgEmuueC0hJEAZWwtIbZTB+85uoHjs= github.com/moby/sys/userns v0.1.0 h1:tVLXkFOxVu9A64/yh59slHVv9ahO9UIev4JZusOLG/g= github.com/moby/sys/userns v0.1.0/go.mod h1:IHUYgu/kao6N8YZlp9Cf444ySSvCmDlmzUcYfDHOl28= -github.com/moby/term v0.5.0 h1:xt8Q1nalod/v7BqbG21f8mQPqH+xAaC9C3N3wfWbVP0= -github.com/moby/term v0.5.0/go.mod h1:8FzsFHVUBGZdbDsJw/ot+X+d5HLUbvklYLJ9uGfcI3Y= +github.com/moby/term v0.5.2 h1:6qk3FJAFDs6i/q3W/pQ97SX192qKfZgGjCQqfCJkgzQ= +github.com/moby/term v0.5.2/go.mod h1:d3djjFCrjnB+fl8NJux+EJzu0msscUP+f8it8hPkFLc= github.com/montanaflynn/stats v0.0.0-20171201202039-1bf9dbcd8cbe/go.mod h1:wL8QJuTMNUDYhXwkmfOly8iTdp5TEcJFWZD2D7SIkUc= github.com/morikuni/aec v1.0.0 h1:nP9CBfwrvYnBRgY6qfDQkygYDmYwOilePFkwzv4dU8A= github.com/morikuni/aec v1.0.0/go.mod h1:BbKIizmSmc5MMPqRYbxO4ZU0S0+P200+tUnFx7PXmsc= github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= github.com/oklog/ulid v1.3.1 h1:EGfNDEx6MqHz8B3uNV6QAib1UR2Lm97sHi3ocA6ESJ4= github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U= -github.com/onsi/ginkgo/v2 v2.21.0 h1:7rg/4f3rB88pb5obDgNZrNHrQ4e6WpjonchcpuBRnZM= -github.com/onsi/ginkgo/v2 v2.21.0/go.mod h1:7Du3c42kxCUegi0IImZ1wUQzMBVecgIHjR1C+NkhLQo= -github.com/onsi/gomega v1.34.2 h1:pNCwDkzrsv7MS9kpaQvVb1aVLahQXyJ/Tv5oAZMI3i8= -github.com/onsi/gomega v1.34.2/go.mod h1:v1xfxRgk0KIsG+QOdm7p8UosrOzPYRo60fd3B/1Dukc= +github.com/onsi/ginkgo/v2 v2.22.2 h1:/3X8Panh8/WwhU/3Ssa6rCKqPLuAkVY2I0RoyDLySlU= +github.com/onsi/ginkgo/v2 v2.22.2/go.mod h1:oeMosUL+8LtarXBHu/c0bx2D/K9zyQ6uX3cTyztHwsk= +github.com/onsi/gomega v1.36.2 h1:koNYke6TVk6ZmnyHrCXba/T/MoLBXFjeC1PtvYgw0A8= +github.com/onsi/gomega v1.36.2/go.mod h1:DdwyADRjrc825LhMEkD76cHR5+pUnjhUN8GlHlRPHzY= github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8Oi/yOhh5U= github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM= github.com/opencontainers/image-spec v1.1.0 h1:8SG7/vwALn54lVB/0yZ/MMwhFrPYtpEHQb2IpWsCzug= @@ -654,8 +662,8 @@ github.com/quasilyte/go-consistent v0.6.0 h1:tY8DYfgM+7ADpOyr5X47i8hV/XbMNoucqnq github.com/quasilyte/go-consistent v0.6.0/go.mod h1:dKYK1JZl3150J1+Jh4cDYPCIu2MqybUBi0YVW2b2E6c= github.com/quic-go/qpack v0.5.1 h1:giqksBPnT/HDtZ6VhtFKgoLOWmlyo9Ei6u9PqzIMbhI= github.com/quic-go/qpack v0.5.1/go.mod h1:+PC4XFrEskIVkcLzpEkbLqq1uCoxPhQuvK5rH1ZgaEg= -github.com/quic-go/quic-go v0.48.1 h1:y/8xmfWI9qmGTc+lBr4jKRUWLGSlSigv847ULJ4hYXA= -github.com/quic-go/quic-go v0.48.1/go.mod h1:yBgs3rWBOADpga7F+jJsb6Ybg1LSYiQvwWlLX+/6HMs= +github.com/quic-go/quic-go v0.48.2 h1:wsKXZPeGWpMpCGSWqOcqpW2wZYic/8T3aqiOID0/KWE= +github.com/quic-go/quic-go v0.48.2/go.mod h1:yBgs3rWBOADpga7F+jJsb6Ybg1LSYiQvwWlLX+/6HMs= github.com/reva2/bitbucket-insights-api v1.0.0 h1:lpQ/Q7OmnG04w/EM77piOwZBxP41PeTlbytXxVrnplA= github.com/reva2/bitbucket-insights-api v1.0.0/go.mod h1:pLs+ki3MKUntrPryxaGIvpRLiEtBhwfJ/uvxQIMfqHU= github.com/reviewdog/errorformat v0.0.0-20240608101709-1d3280ed6bd4 h1:wFzV+/KigR9v01F8+cK/QyaMg6NgyfOOZaSquborhpY= @@ -670,8 +678,8 @@ github.com/rogpeppe/go-internal v1.1.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFR github.com/rogpeppe/go-internal v1.2.2/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs= -github.com/rogpeppe/go-internal v1.12.0 h1:exVL4IDcn6na9z1rAb56Vxr+CgyK3nn3O+epU5NdKM8= -github.com/rogpeppe/go-internal v1.12.0/go.mod h1:E+RYuTGaKKdloAfM02xzb0FW3Paa99yedzYV+kq4uf4= +github.com/rogpeppe/go-internal v1.13.1 h1:KvO1DLK/DRN07sQ1LQKScxyZJuNnedQ5/wKSR38lUII= +github.com/rogpeppe/go-internal v1.13.1/go.mod h1:uMEvuHeurkdAXX61udpOXGD/AzZDWNMNyH2VO9fmH0o= github.com/rs/cors v1.11.1 h1:eU3gRzXLRK57F5rKMGMZURNdIG4EoAmX8k94r9wXWHA= github.com/rs/cors v1.11.1/go.mod h1:XyqrcTp5zjWr1wsJ8PIRZssZ8b/WMcMf71DJnit4EMU= github.com/rs/xid v1.4.0/go.mod h1:trrq9SKmegXys3aeAKXMUTdJsYXVwGY3RLcfgqegfbg= @@ -683,8 +691,8 @@ github.com/ruudk/golang-pdf417 v0.0.0-20181029194003-1af4ab5afa58/go.mod h1:6lfF github.com/ruudk/golang-pdf417 v0.0.0-20201230142125-a7e3863a1245/go.mod h1:pQAZKsJ8yyVxGRWYNEm9oFB8ieLgKFnamEyDmSA0BRk= github.com/segmentio/asm v1.2.0 h1:9BQrFxC+YOHJlTlHGkTrFWf59nbL3XnCoFLTwDCI7ys= github.com/segmentio/asm v1.2.0/go.mod h1:BqMnlJP91P8d+4ibuonYZw9mfnzI9HfxselHZr5aAcs= -github.com/segmentio/encoding v0.4.0 h1:MEBYvRqiUB2nfR2criEXWqwdY6HJOUrCn5hboVOVmy8= -github.com/segmentio/encoding v0.4.0/go.mod h1:/d03Cd8PoaDeceuhUUUQWjU0KhWjrmYrWPgtJHYZSnI= +github.com/segmentio/encoding v0.4.1 h1:KLGaLSW0jrmhB58Nn4+98spfvPvmo4Ci1P/WIQ9wn7w= +github.com/segmentio/encoding v0.4.1/go.mod h1:/d03Cd8PoaDeceuhUUUQWjU0KhWjrmYrWPgtJHYZSnI= github.com/sergi/go-diff v1.3.1 h1:xkr+Oxo4BOQKmkn/B9eMK0g5Kg/983T9DqqPHwYqD+8= github.com/sergi/go-diff v1.3.1/go.mod h1:aMJSSKb2lpPvRNec0+w3fl7LP9IOFzdc9Pa4NFbPK1I= github.com/shopspring/decimal v1.2.0/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o= @@ -730,12 +738,12 @@ github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/ github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= -github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= -github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= +github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA= +github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= github.com/subosito/gotenv v1.4.2 h1:X1TuBLAMDFbaTAChgCBLu3DU3UPyELpnF2jjJ2cz/S8= github.com/subosito/gotenv v1.4.2/go.mod h1:ayKnFf/c6rvx/2iiLrJUk1e6plDbT3edrFNGqEflhK0= -github.com/tetratelabs/wazero v1.8.1 h1:NrcgVbWfkWvVc4UtT4LRLDf91PsOzDzefMdwhLfA550= -github.com/tetratelabs/wazero v1.8.1/go.mod h1:yAI0XTsMBhREkM/YDAK/zNou3GoiAce1P6+rp/wQhjs= +github.com/tetratelabs/wazero v1.8.2 h1:yIgLR/b2bN31bjxwXHD8a3d+BogigR952csSDdLYEv4= +github.com/tetratelabs/wazero v1.8.2/go.mod h1:yAI0XTsMBhREkM/YDAK/zNou3GoiAce1P6+rp/wQhjs= github.com/tidwall/pretty v1.0.0 h1:HsD+QiTn7sK6flMKIvNmpqz1qrpP3Ps6jOKIKMooyg4= github.com/tidwall/pretty v1.0.0/go.mod h1:XNkn88O1ChpSDQmQeStsy+sBenx6DDtFZJxhVysOjyk= github.com/toqueteos/webbrowser v1.2.0 h1:tVP/gpK69Fx+qMJKsLE7TD8LuGWPnEV71wBN9rrstGQ= @@ -779,22 +787,24 @@ go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.22.5/go.mod h1:5pWMHQbX5EPX2/62yrJeAkowc+lfs/XD7Uxpq3pI6kk= go.opencensus.io v0.24.0 h1:y73uSU6J157QMP2kn2r30vwW1A2W2WFwSCGnAVxeaD0= go.opencensus.io v0.24.0/go.mod h1:vNK8G9p7aAivkbmorf4v+7Hgx+Zs0yY+0fOtgBfjQKo= -go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.57.0 h1:DheMAlT6POBP+gh8RUH19EOTnQIor5QE0uSRPtzCpSw= -go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.57.0/go.mod h1:wZcGmeVO9nzP67aYSLDqXNWK87EZWhi7JWj1v7ZXf94= -go.opentelemetry.io/otel v1.32.0 h1:WnBN+Xjcteh0zdk01SVqV55d/m62NJLJdIyb4y/WO5U= -go.opentelemetry.io/otel v1.32.0/go.mod h1:00DCVSB0RQcnzlwyTfqtxSm+DRr9hpYrHjNGiBHVQIg= +go.opentelemetry.io/auto/sdk v1.1.0 h1:cH53jehLUN6UFLY71z+NDOiNJqDdPRaXzTel0sJySYA= +go.opentelemetry.io/auto/sdk v1.1.0/go.mod h1:3wSPjt5PWp2RhlCcmmOial7AvC4DQqZb7a7wCow3W8A= +go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.58.0 h1:yd02MEjBdJkG3uabWP9apV+OuWRIXGDuJEUJbOHmCFU= +go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.58.0/go.mod h1:umTcuxiv1n/s/S6/c2AT/g2CQ7u5C59sHDNmfSwgz7Q= +go.opentelemetry.io/otel v1.33.0 h1:/FerN9bax5LoK51X/sI0SVYrjSE0/yUL7DpxW4K3FWw= +go.opentelemetry.io/otel v1.33.0/go.mod h1:SUUkR6csvUQl+yjReHu5uM3EtVV7MBm5FHKRlNx4I8I= go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.22.0 h1:9M3+rhx7kZCIQQhQRYaZCdNu1V73tm4TvXs2ntl98C4= go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.22.0/go.mod h1:noq80iT8rrHP1SfybmPiRGc9dc5M8RPmGvtwo7Oo7tc= go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.19.0 h1:IeMeyr1aBvBiPVYihXIaeIZba6b8E1bYp7lbdxK8CQg= go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.19.0/go.mod h1:oVdCUtjq9MK9BlS7TtucsQwUcXcymNiEDjgDD2jMtZU= -go.opentelemetry.io/otel/metric v1.32.0 h1:xV2umtmNcThh2/a/aCP+h64Xx5wsj8qqnkYZktzNa0M= -go.opentelemetry.io/otel/metric v1.32.0/go.mod h1:jH7CIbbK6SH2V2wE16W05BHCtIDzauciCRLoc/SyMv8= -go.opentelemetry.io/otel/sdk v1.30.0 h1:cHdik6irO49R5IysVhdn8oaiR9m8XluDaJAs4DfOrYE= -go.opentelemetry.io/otel/sdk v1.30.0/go.mod h1:p14X4Ok8S+sygzblytT1nqG98QG2KYKv++HE0LY/mhg= -go.opentelemetry.io/otel/sdk/metric v1.19.0 h1:EJoTO5qysMsYCa+w4UghwFV/ptQgqSL/8Ni+hx+8i1k= -go.opentelemetry.io/otel/sdk/metric v1.19.0/go.mod h1:XjG0jQyFJrv2PbMvwND7LwCEhsJzCzV5210euduKcKY= -go.opentelemetry.io/otel/trace v1.32.0 h1:WIC9mYrXf8TmY/EXuULKc8hR17vE+Hjv2cssQDe03fM= -go.opentelemetry.io/otel/trace v1.32.0/go.mod h1:+i4rkvCraA+tG6AzwloGaCtkx53Fa+L+V8e9a7YvhT8= +go.opentelemetry.io/otel/metric v1.33.0 h1:r+JOocAyeRVXD8lZpjdQjzMadVZp2M4WmQ+5WtEnklQ= +go.opentelemetry.io/otel/metric v1.33.0/go.mod h1:L9+Fyctbp6HFTddIxClbQkjtubW6O9QS3Ann/M82u6M= +go.opentelemetry.io/otel/sdk v1.31.0 h1:xLY3abVHYZ5HSfOg3l2E5LUj2Cwva5Y7yGxnSW9H5Gk= +go.opentelemetry.io/otel/sdk v1.31.0/go.mod h1:TfRbMdhvxIIr/B2N2LQW2S5v9m3gOQ/08KsbbO5BPT0= +go.opentelemetry.io/otel/sdk/metric v1.31.0 h1:i9hxxLJF/9kkvfHppyLL55aW7iIJz4JjxTeYusH7zMc= +go.opentelemetry.io/otel/sdk/metric v1.31.0/go.mod h1:CRInTMVvNhUKgSAMbKyTMxqOBC0zgyxzW55lZzX43Y8= +go.opentelemetry.io/otel/trace v1.33.0 h1:cCJuF7LRjUFso9LPnEAHJDB2pqzp+hbO8eu1qqW2d/s= +go.opentelemetry.io/otel/trace v1.33.0/go.mod h1:uIcdVUZMpTAmz0tI1z04GoVSezK37CbGV4fr1f2nBck= go.opentelemetry.io/proto/otlp v1.0.0 h1:T0TX0tmXU8a3CbNXzEKGeU5mIVOdf0oykP+u2lIVU/I= go.opentelemetry.io/proto/otlp v1.0.0/go.mod h1:Sy6pihPLfYHkr3NkUbEhGHFhINUSI/v80hjKIs5JXpM= go.starlark.net v0.0.0-20231101134539-556fd59b42f6 h1:+eC0F/k4aBLC4szgOcjd7bDTEnpxADJyWJE0yowgM3E= @@ -831,8 +841,8 @@ golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa/go.mod h1:IxCIyHEi3zRg3s0 golang.org/x/crypto v0.3.0/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4= golang.org/x/crypto v0.3.1-0.20221117191849-2c476679df9a/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4= golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU= -golang.org/x/crypto v0.30.0 h1:RwoQn3GkWiMkzlX562cLB7OxWvjH1L8xutO2WoJcRoY= -golang.org/x/crypto v0.30.0/go.mod h1:kDsLvtWBEx7MV9tJOj9bnXsPbxwJQ6csT/x4KIN4Ssk= +golang.org/x/crypto v0.31.0 h1:ihbySMvVjLAeSH1IbfcRTkD/iNscyz8rGzjF/E5hV6U= +golang.org/x/crypto v0.31.0/go.mod h1:kDsLvtWBEx7MV9tJOj9bnXsPbxwJQ6csT/x4KIN4Ssk= golang.org/x/exp v0.0.0-20180321215751-8460e604b9de/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20180807140117-3d87b88a115f/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= @@ -847,8 +857,8 @@ golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u0 golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM= golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU= -golang.org/x/exp v0.0.0-20241108190413-2d47ceb2692f h1:XdNn9LlyWAhLVp6P/i8QYBW+hlyhrhei9uErw2B5GJo= -golang.org/x/exp v0.0.0-20241108190413-2d47ceb2692f/go.mod h1:D5SMRVC3C2/4+F/DB1wZsLRnSNimn2Sp/NPsCrsv8ak= +golang.org/x/exp v0.0.0-20250103183323-7d7fa50e5329 h1:9kj3STMvgqy3YA4VQXBrN7925ICMxD5wzMRcgA30588= +golang.org/x/exp v0.0.0-20250103183323-7d7fa50e5329/go.mod h1:qj5a5QZpwLU2NLQudwIN5koi3beDhSAlJwa67PuM98c= golang.org/x/image v0.0.0-20180708004352-c73c2afc3b81/go.mod h1:ux5Hcp/YLpHSI86hEcLt0YII63i6oz57MZXIpbrjZUs= golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= @@ -923,8 +933,8 @@ golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug golang.org/x/net v0.2.0/go.mod h1:KqCZLdyyvdV855qA2rE3GC2aiw5xGR5TEjj8smXukLY= golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc= -golang.org/x/net v0.32.0 h1:ZqPmj8Kzc+Y6e0+skZsuACbx+wzMgo5MQsJh9Qd6aYI= -golang.org/x/net v0.32.0/go.mod h1:CwU0IoeOlnQQWJ6ioyFrfRuomB8GKF6KbYXZVyeXNfs= +golang.org/x/net v0.33.0 h1:74SYHlV8BIgHIFC/LrYkOGIwL19eTYXQ5wc6TBuO36I= +golang.org/x/net v0.33.0/go.mod h1:HXLR5J+9DxmrqMwG9qjGCxZ+zKXxBru04zlTvWlWuN4= golang.org/x/oauth2 v0.0.0-20170207211851-4464e7848382/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= @@ -1014,16 +1024,16 @@ golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.3.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.28.0 h1:Fksou7UEQUWlKvIdsqzJmUmCX3cZuD2+P3XyyzwMhlA= -golang.org/x/sys v0.28.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.29.0 h1:TPYlXGxvx1MGTn2GiZDhnjPA9wZzZeGKHHmKhHYvgaU= +golang.org/x/sys v0.29.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.2.0/go.mod h1:TVmDHMZPmdnySmBfhjOoOdhjzdE1h4u1VwSiw2l1Nuc= golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= golang.org/x/term v0.6.0/go.mod h1:m6U89DPEgQRMq3DNkDClhWw02AUbt2daBVO4cn4Hv9U= -golang.org/x/term v0.27.0 h1:WP60Sv1nlK1T6SupCHbXzSaN0b9wUmsPoRS9b61A23Q= -golang.org/x/term v0.27.0/go.mod h1:iMsnZpn0cago0GOrHO2+Y7u7JPn5AylBrcoWkElMTSM= +golang.org/x/term v0.28.0 h1:/Ts8HFuMR2E6IP/jlo7QVLZHggjKQbhu/7H0LJFr3Gg= +golang.org/x/term v0.28.0/go.mod h1:Sw/lC2IAUZ92udQNf3WodGtn4k/XoLyZoh8v/8uiwek= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -1178,10 +1188,10 @@ google.golang.org/genproto v0.0.0-20201210142538-e3217bee35cc/go.mod h1:FWY/as6D google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20210108203827-ffc7fda8c3d7/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20210226172003-ab064af71705/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto/googleapis/api v0.0.0-20241104194629-dd2ea8efbc28 h1:M0KvPgPmDZHPlbRbaNU1APr28TvwvvdUPlSv7PUvy8g= -google.golang.org/genproto/googleapis/api v0.0.0-20241104194629-dd2ea8efbc28/go.mod h1:dguCy7UOdZhTvLzDyt15+rOrawrpM4q7DD9dQ1P11P4= -google.golang.org/genproto/googleapis/rpc v0.0.0-20241104194629-dd2ea8efbc28 h1:XVhgTWWV3kGQlwJHR3upFWZeTsei6Oks1apkZSeonIE= -google.golang.org/genproto/googleapis/rpc v0.0.0-20241104194629-dd2ea8efbc28/go.mod h1:GX3210XPVPUjJbTUbvwI8f2IpZDMZuPJWDzDuebbviI= +google.golang.org/genproto/googleapis/api v0.0.0-20250102185135-69823020774d h1:H8tOf8XM88HvKqLTxe755haY6r1fqqzLbEnfrmLXlSA= +google.golang.org/genproto/googleapis/api v0.0.0-20250102185135-69823020774d/go.mod h1:2v7Z7gP2ZUOGsaFyxATQSRoBnKygqVq2Cwnvom7QiqY= +google.golang.org/genproto/googleapis/rpc v0.0.0-20250102185135-69823020774d h1:xJJRGY7TJcvIlpSrN3K6LAWgNFUILlO+OMAqtg9aqnw= +google.golang.org/genproto/googleapis/rpc v0.0.0-20250102185135-69823020774d/go.mod h1:3ENsm/5D1mzDyhpzeRi1NR784I0BcofWBoSc5QqqMK4= google.golang.org/grpc v0.0.0-20170208002647-2a6bf6142e96/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= @@ -1199,8 +1209,8 @@ google.golang.org/grpc v1.31.1/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc= google.golang.org/grpc v1.34.0/go.mod h1:WotjhfgOW/POjDeRt8vscBtXq+2VjORFy659qA51WJ8= google.golang.org/grpc v1.35.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= -google.golang.org/grpc v1.68.0 h1:aHQeeJbo8zAkAa3pRzrVjZlbz6uSfeOXlJNQM0RAbz0= -google.golang.org/grpc v1.68.0/go.mod h1:fmSPC5AsjSBCK54MyHRx48kpOti1/jRfOlwEWywNjWA= +google.golang.org/grpc v1.69.2 h1:U3S9QEtbXC0bYNvRtcoklF3xGtLViumSYxWykJS+7AU= +google.golang.org/grpc v1.69.2/go.mod h1:vyjdE6jLBI76dgpDojsFGNaHlxdjXN9ghpnd2o7JGZ4= google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.5.1 h1:F29+wU6Ee6qgu9TddPgooOdaqsxTMunOoj8KA5yuS5A= google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.5.1/go.mod h1:5KF+wpkbTSbGcR9zteSqZV6fqFOWBl4Yde8En8MryZA= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= @@ -1213,8 +1223,8 @@ google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2 google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGjtUeSXeh4= google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= -google.golang.org/protobuf v1.35.1 h1:m3LfL6/Ca+fqnjnlqQXNpFPABW1UD7mjh8KO2mKFytA= -google.golang.org/protobuf v1.35.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= +google.golang.org/protobuf v1.36.1 h1:yBPeRvTftaleIgM3PZ/WBIZ7XM/eEYAaEyCwvyjq/gk= +google.golang.org/protobuf v1.36.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= gopkg.in/alecthomas/kingpin.v2 v2.2.6 h1:jMFz6MfLP0/4fUyZle81rXUoxOBFi19VUFKVDOQfozc= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=