Documentation ¶
Index ¶
- Variables
- type Insight
- func (*Insight) Descriptor() ([]byte, []int)deprecated
- func (x *Insight) GetInstanceId() string
- func (x *Insight) GetSapDiscovery() *system.SapDiscovery
- func (x *Insight) GetSapValidation() *SapValidation
- func (x *Insight) GetSentTime() *timestamppb.Timestamp
- func (x *Insight) GetSqlserverValidation() string
- func (*Insight) ProtoMessage()
- func (x *Insight) ProtoReflect() protoreflect.Message
- func (x *Insight) Reset()
- func (x *Insight) String() string
- type SapValidation
- func (*SapValidation) Descriptor() ([]byte, []int)deprecated
- func (x *SapValidation) GetProjectId() string
- func (x *SapValidation) GetValidationDetails() []*SapValidation_ValidationDetail
- func (x *SapValidation) GetZone() string
- func (*SapValidation) ProtoMessage()
- func (x *SapValidation) ProtoReflect() protoreflect.Message
- func (x *SapValidation) Reset()
- func (x *SapValidation) String() string
- type SapValidation_SapValidationType
- func (SapValidation_SapValidationType) Descriptor() protoreflect.EnumDescriptor
- func (x SapValidation_SapValidationType) Enum() *SapValidation_SapValidationType
- func (SapValidation_SapValidationType) EnumDescriptor() ([]byte, []int)deprecated
- func (x SapValidation_SapValidationType) Number() protoreflect.EnumNumber
- func (x SapValidation_SapValidationType) String() string
- func (SapValidation_SapValidationType) Type() protoreflect.EnumType
- type SapValidation_ValidationDetail
- func (*SapValidation_ValidationDetail) Descriptor() ([]byte, []int)deprecated
- func (x *SapValidation_ValidationDetail) GetDetails() map[string]string
- func (x *SapValidation_ValidationDetail) GetIsPresent() bool
- func (x *SapValidation_ValidationDetail) GetSapValidationType() SapValidation_SapValidationType
- func (*SapValidation_ValidationDetail) ProtoMessage()
- func (x *SapValidation_ValidationDetail) ProtoReflect() protoreflect.Message
- func (x *SapValidation_ValidationDetail) Reset()
- func (x *SapValidation_ValidationDetail) String() string
- type TorsoValidation
- func (*TorsoValidation) Descriptor() ([]byte, []int)deprecated
- func (x *TorsoValidation) GetAgentVersion() string
- func (x *TorsoValidation) GetInstanceName() string
- func (x *TorsoValidation) GetProjectId() string
- func (x *TorsoValidation) GetValidationDetails() map[string]string
- func (x *TorsoValidation) GetWorkloadType() TorsoValidation_WorkloadType
- func (*TorsoValidation) ProtoMessage()
- func (x *TorsoValidation) ProtoReflect() protoreflect.Message
- func (x *TorsoValidation) Reset()
- func (x *TorsoValidation) String() string
- type TorsoValidation_WorkloadType
- func (TorsoValidation_WorkloadType) Descriptor() protoreflect.EnumDescriptor
- func (x TorsoValidation_WorkloadType) Enum() *TorsoValidation_WorkloadType
- func (TorsoValidation_WorkloadType) EnumDescriptor() ([]byte, []int)deprecated
- func (x TorsoValidation_WorkloadType) Number() protoreflect.EnumNumber
- func (x TorsoValidation_WorkloadType) String() string
- func (TorsoValidation_WorkloadType) Type() protoreflect.EnumType
- type WriteInsightRequest
- func (*WriteInsightRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WriteInsightRequest) GetAgentVersion() string
- func (x *WriteInsightRequest) GetInsight() *Insight
- func (x *WriteInsightRequest) GetLocation() string
- func (x *WriteInsightRequest) GetRequestId() string
- func (*WriteInsightRequest) ProtoMessage()
- func (x *WriteInsightRequest) ProtoReflect() protoreflect.Message
- func (x *WriteInsightRequest) Reset()
- func (x *WriteInsightRequest) String() string
Constants ¶
This section is empty.
Variables ¶
var ( SapValidation_SapValidationType_name = map[int32]string{ 0: "SAP_VALIDATION_TYPE_UNSPECIFIED", 1: "SYSTEM", 2: "COROSYNC", 3: "PACEMAKER", 4: "HANA", 5: "NETWEAVER", 6: "HANA_SECURITY", 7: "CUSTOM", } SapValidation_SapValidationType_value = map[string]int32{ "SAP_VALIDATION_TYPE_UNSPECIFIED": 0, "SYSTEM": 1, "COROSYNC": 2, "PACEMAKER": 3, "HANA": 4, "NETWEAVER": 5, "HANA_SECURITY": 6, "CUSTOM": 7, } )
Enum value maps for SapValidation_SapValidationType.
var ( TorsoValidation_WorkloadType_name = map[int32]string{ 0: "WORKLOAD_TYPE_UNSPECIFIED", 1: "MYSQL", 2: "ORACLE", 3: "REDIS", } TorsoValidation_WorkloadType_value = map[string]int32{ "WORKLOAD_TYPE_UNSPECIFIED": 0, "MYSQL": 1, "ORACLE": 2, "REDIS": 3, } )
Enum value maps for TorsoValidation_WorkloadType.
Functions ¶
This section is empty.
Types ¶
type Insight ¶
type Insight struct { // [Output only] Create time stamp SentTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=sent_time,json=sentTime,proto3" json:"sent_time,omitempty"` // The insights data for the SAP workload validation. SapValidation *SapValidation `protobuf:"bytes,2,opt,name=sap_validation,json=sapValidation,proto3" json:"sap_validation,omitempty"` // The insights data for SAP system discovery. This is a copy of SAP System // proto and should get updated whenever that one changes. SapDiscovery *system.SapDiscovery `protobuf:"bytes,3,opt,name=sap_discovery,json=sapDiscovery,proto3" json:"sap_discovery,omitempty"` SqlserverValidation string `protobuf:"bytes,4,opt,name=sqlserver_validation,json=sqlserverValidation,proto3" json:"sqlserver_validation,omitempty"` // The instance id where the insight is generated from InstanceId string `protobuf:"bytes,5,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` // contains filtered or unexported fields }
A presentation of host resource usage where the workload runs.
func (*Insight) Descriptor
deprecated
func (*Insight) GetInstanceId ¶
func (*Insight) GetSapDiscovery ¶
func (x *Insight) GetSapDiscovery() *system.SapDiscovery
func (*Insight) GetSapValidation ¶
func (x *Insight) GetSapValidation() *SapValidation
func (*Insight) GetSentTime ¶
func (x *Insight) GetSentTime() *timestamppb.Timestamp
func (*Insight) GetSqlserverValidation ¶
func (*Insight) ProtoMessage ¶
func (*Insight) ProtoMessage()
func (*Insight) ProtoReflect ¶
func (x *Insight) ProtoReflect() protoreflect.Message
type SapValidation ¶
type SapValidation struct { // A list of SAP validation metrics data. ValidationDetails []*SapValidation_ValidationDetail `protobuf:"bytes,1,rep,name=validation_details,json=validationDetails,proto3" json:"validation_details,omitempty"` // The project_id of the cloud project that the Insight data comes from. ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // The zone of the instance that the Insight data comes from. Zone string `protobuf:"bytes,3,opt,name=zone,proto3" json:"zone,omitempty"` // contains filtered or unexported fields }
A presentation of SAP workload insight. The schema of SAP workloads validation related data.
func (*SapValidation) Descriptor
deprecated
func (*SapValidation) Descriptor() ([]byte, []int)
Deprecated: Use SapValidation.ProtoReflect.Descriptor instead.
func (*SapValidation) GetProjectId ¶
func (x *SapValidation) GetProjectId() string
func (*SapValidation) GetValidationDetails ¶
func (x *SapValidation) GetValidationDetails() []*SapValidation_ValidationDetail
func (*SapValidation) GetZone ¶
func (x *SapValidation) GetZone() string
func (*SapValidation) ProtoMessage ¶
func (*SapValidation) ProtoMessage()
func (*SapValidation) ProtoReflect ¶
func (x *SapValidation) ProtoReflect() protoreflect.Message
func (*SapValidation) Reset ¶
func (x *SapValidation) Reset()
func (*SapValidation) String ¶
func (x *SapValidation) String() string
type SapValidation_SapValidationType ¶
type SapValidation_SapValidationType int32
The different SAP validation types.
const ( // Unspecified type. SapValidation_SAP_VALIDATION_TYPE_UNSPECIFIED SapValidation_SapValidationType = 0 // The SYSTEM validation type collects underlying system data from the VM. SapValidation_SYSTEM SapValidation_SapValidationType = 1 // The COROSYNC validation type collects Corosync configuration and runtime // data. Corosync enables servers to interact as a HA cluster. SapValidation_COROSYNC SapValidation_SapValidationType = 2 // The PACEMAKER validation type collects Pacemaker configuration data. // Pacemaker is a high-availability cluster resource manager. SapValidation_PACEMAKER SapValidation_SapValidationType = 3 // The HANA validation type collects HANA configuration data. SAP HANA is an // in-memory, column-oriented, relational database management system. SapValidation_HANA SapValidation_SapValidationType = 4 // The NETWEAVER validation type collects NetWeaver configuration data. SAP // NetWeaver is a software stack for many of SAP SE's applications. SapValidation_NETWEAVER SapValidation_SapValidationType = 5 // The HANA_SECURITY validation type collects HANA configuration data as it // relates to SAP security best practices. SapValidation_HANA_SECURITY SapValidation_SapValidationType = 6 // The CUSTOM validation type collects any customer-defined data that does // not fall into any of the other categories of validations. SapValidation_CUSTOM SapValidation_SapValidationType = 7 )
func (SapValidation_SapValidationType) Descriptor ¶
func (SapValidation_SapValidationType) Descriptor() protoreflect.EnumDescriptor
func (SapValidation_SapValidationType) Enum ¶
func (x SapValidation_SapValidationType) Enum() *SapValidation_SapValidationType
func (SapValidation_SapValidationType) EnumDescriptor
deprecated
func (SapValidation_SapValidationType) EnumDescriptor() ([]byte, []int)
Deprecated: Use SapValidation_SapValidationType.Descriptor instead.
func (SapValidation_SapValidationType) Number ¶
func (x SapValidation_SapValidationType) Number() protoreflect.EnumNumber
func (SapValidation_SapValidationType) String ¶
func (x SapValidation_SapValidationType) String() string
func (SapValidation_SapValidationType) Type ¶
func (SapValidation_SapValidationType) Type() protoreflect.EnumType
type SapValidation_ValidationDetail ¶
type SapValidation_ValidationDetail struct { // The SAP system that the validation data is from. SapValidationType SapValidation_SapValidationType `` /* 221-byte string literal not displayed */ // The <k,v> pairs of metrics data: field name & field value. Details map[string]string `` /* 155-byte string literal not displayed */ // Was there a SAP system detected for this validation type. IsPresent bool `protobuf:"varint,3,opt,name=is_present,json=isPresent,proto3" json:"is_present,omitempty"` // contains filtered or unexported fields }
Message describing the SAP validation metrics.
func (*SapValidation_ValidationDetail) Descriptor
deprecated
func (*SapValidation_ValidationDetail) Descriptor() ([]byte, []int)
Deprecated: Use SapValidation_ValidationDetail.ProtoReflect.Descriptor instead.
func (*SapValidation_ValidationDetail) GetDetails ¶
func (x *SapValidation_ValidationDetail) GetDetails() map[string]string
func (*SapValidation_ValidationDetail) GetIsPresent ¶
func (x *SapValidation_ValidationDetail) GetIsPresent() bool
func (*SapValidation_ValidationDetail) GetSapValidationType ¶
func (x *SapValidation_ValidationDetail) GetSapValidationType() SapValidation_SapValidationType
func (*SapValidation_ValidationDetail) ProtoMessage ¶
func (*SapValidation_ValidationDetail) ProtoMessage()
func (*SapValidation_ValidationDetail) ProtoReflect ¶
func (x *SapValidation_ValidationDetail) ProtoReflect() protoreflect.Message
func (*SapValidation_ValidationDetail) Reset ¶
func (x *SapValidation_ValidationDetail) Reset()
func (*SapValidation_ValidationDetail) String ¶
func (x *SapValidation_ValidationDetail) String() string
type TorsoValidation ¶
type TorsoValidation struct { // workload_type specifies the type of torso workload. WorkloadType TorsoValidation_WorkloadType `` /* 201-byte string literal not displayed */ // validation_details contains the <k,v> pairs of validation data: // field name & field value. ValidationDetails map[string]string `` /* 200-byte string literal not displayed */ // agent_version lists the version of the agent that collected this data. AgentVersion string `protobuf:"bytes,3,opt,name=agent_version,json=agentVersion,proto3" json:"agent_version,omitempty"` // project_id lists the human readable cloud project that the data comes from. ProjectId string `protobuf:"bytes,4,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // instance_name lists the human readable name of the instance that the data // comes from. // (-- api-linter: core::0122::name-suffix=disabled // // aip.dev/not-precedent: Disambiguation between instance_id and // instance_name. --) InstanceName string `protobuf:"bytes,5,opt,name=instance_name,json=instanceName,proto3" json:"instance_name,omitempty"` // contains filtered or unexported fields }
The schema of torso workload validation data.
func (*TorsoValidation) Descriptor
deprecated
func (*TorsoValidation) Descriptor() ([]byte, []int)
Deprecated: Use TorsoValidation.ProtoReflect.Descriptor instead.
func (*TorsoValidation) GetAgentVersion ¶
func (x *TorsoValidation) GetAgentVersion() string
func (*TorsoValidation) GetInstanceName ¶
func (x *TorsoValidation) GetInstanceName() string
func (*TorsoValidation) GetProjectId ¶
func (x *TorsoValidation) GetProjectId() string
func (*TorsoValidation) GetValidationDetails ¶
func (x *TorsoValidation) GetValidationDetails() map[string]string
func (*TorsoValidation) GetWorkloadType ¶
func (x *TorsoValidation) GetWorkloadType() TorsoValidation_WorkloadType
func (*TorsoValidation) ProtoMessage ¶
func (*TorsoValidation) ProtoMessage()
func (*TorsoValidation) ProtoReflect ¶
func (x *TorsoValidation) ProtoReflect() protoreflect.Message
func (*TorsoValidation) Reset ¶
func (x *TorsoValidation) Reset()
func (*TorsoValidation) String ¶
func (x *TorsoValidation) String() string
type TorsoValidation_WorkloadType ¶
type TorsoValidation_WorkloadType int32
WorkloadType enumerates the types of supported torso workloads.
const ( TorsoValidation_WORKLOAD_TYPE_UNSPECIFIED TorsoValidation_WorkloadType = 0 TorsoValidation_MYSQL TorsoValidation_WorkloadType = 1 TorsoValidation_ORACLE TorsoValidation_WorkloadType = 2 TorsoValidation_REDIS TorsoValidation_WorkloadType = 3 )
func (TorsoValidation_WorkloadType) Descriptor ¶
func (TorsoValidation_WorkloadType) Descriptor() protoreflect.EnumDescriptor
func (TorsoValidation_WorkloadType) Enum ¶
func (x TorsoValidation_WorkloadType) Enum() *TorsoValidation_WorkloadType
func (TorsoValidation_WorkloadType) EnumDescriptor
deprecated
func (TorsoValidation_WorkloadType) EnumDescriptor() ([]byte, []int)
Deprecated: Use TorsoValidation_WorkloadType.Descriptor instead.
func (TorsoValidation_WorkloadType) Number ¶
func (x TorsoValidation_WorkloadType) Number() protoreflect.EnumNumber
func (TorsoValidation_WorkloadType) String ¶
func (x TorsoValidation_WorkloadType) String() string
func (TorsoValidation_WorkloadType) Type ¶
func (TorsoValidation_WorkloadType) Type() protoreflect.EnumType
type WriteInsightRequest ¶
type WriteInsightRequest struct { // The GCP location. // The format is: projects/{project}/locations/{location}. Location string `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"` // The metrics data details. Insight *Insight `protobuf:"bytes,2,opt,name=insight,proto3" json:"insight,omitempty"` // An optional request ID to identify requests. RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // The agent version collected this data point. AgentVersion string `protobuf:"bytes,5,opt,name=agent_version,json=agentVersion,proto3" json:"agent_version,omitempty"` // contains filtered or unexported fields }
Request for sending the data insights.
func (*WriteInsightRequest) Descriptor
deprecated
func (*WriteInsightRequest) Descriptor() ([]byte, []int)
Deprecated: Use WriteInsightRequest.ProtoReflect.Descriptor instead.
func (*WriteInsightRequest) GetAgentVersion ¶
func (x *WriteInsightRequest) GetAgentVersion() string
func (*WriteInsightRequest) GetInsight ¶
func (x *WriteInsightRequest) GetInsight() *Insight
func (*WriteInsightRequest) GetLocation ¶
func (x *WriteInsightRequest) GetLocation() string
func (*WriteInsightRequest) GetRequestId ¶
func (x *WriteInsightRequest) GetRequestId() string
func (*WriteInsightRequest) ProtoMessage ¶
func (*WriteInsightRequest) ProtoMessage()
func (*WriteInsightRequest) ProtoReflect ¶
func (x *WriteInsightRequest) ProtoReflect() protoreflect.Message
func (*WriteInsightRequest) Reset ¶
func (x *WriteInsightRequest) Reset()
func (*WriteInsightRequest) String ¶
func (x *WriteInsightRequest) String() string