| 1 | // Copyright 2019 The Go Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style |
| 3 | // license that can be found in the LICENSE file. |
| 4 | |
| 5 | package wirescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/ |
| 6 | |
| 7 | // This file holds common ocagent types |
| 8 | |
| 9 | type Nodescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Node# struct { |
| 10 | Identifierscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Node#Identifier. *ProcessIdentifierscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/ProcessIdentifier# `json:"identifier,omitempty"` |
| 11 | LibraryInfoscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Node#LibraryInfo. *LibraryInfoscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/LibraryInfo# `json:"library_info,omitempty"` |
| 12 | ServiceInfoscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Node#ServiceInfo. *ServiceInfoscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/ServiceInfo# `json:"service_info,omitempty"` |
| 13 | Attributesscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Node#Attributes. map[string]string `json:"attributes,omitempty"` |
| 14 | } |
| 15 | |
| 16 | type Resourcescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Resource# struct { |
| 17 | Typescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Resource#Type. string `json:"type,omitempty"` |
| 18 | Labelsscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Resource#Labels. map[string]string `json:"labels,omitempty"` |
| 19 | } |
| 20 | |
| 21 | type TruncatableStringscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/TruncatableString# struct { |
| 22 | Valuescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/TruncatableString#Value. string `json:"value,omitempty"` |
| 23 | TruncatedByteCountscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/TruncatableString#TruncatedByteCount. int32 `json:"truncated_byte_count,omitempty"` |
| 24 | } |
| 25 | |
| 26 | type Attributesscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Attributes# struct { |
| 27 | AttributeMapscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Attributes#AttributeMap. map[string]Attributescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Attribute# `json:"attributeMap,omitempty"` |
| 28 | DroppedAttributesCountscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Attributes#DroppedAttributesCount. int32 `json:"dropped_attributes_count,omitempty"` |
| 29 | } |
| 30 | |
| 31 | type StringAttributescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/StringAttribute# struct { |
| 32 | StringValuescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/StringAttribute#StringValue. *TruncatableStringscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/TruncatableString# `json:"stringValue,omitempty"` |
| 33 | } |
| 34 | |
| 35 | type IntAttributescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/IntAttribute# struct { |
| 36 | IntValuescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/IntAttribute#IntValue. int64 `json:"intValue,omitempty"` |
| 37 | } |
| 38 | |
| 39 | type BoolAttributescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/BoolAttribute# struct { |
| 40 | BoolValuescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/BoolAttribute#BoolValue. bool `json:"boolValue,omitempty"` |
| 41 | } |
| 42 | |
| 43 | type DoubleAttributescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/DoubleAttribute# struct { |
| 44 | DoubleValuescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/DoubleAttribute#DoubleValue. float64 `json:"doubleValue,omitempty"` |
| 45 | } |
| 46 | |
| 47 | type Attributescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Attribute# interface { |
| 48 | labelAttributescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Attribute#labelAttribute.() |
| 49 | } |
| 50 | |
| 51 | func (StringAttributescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/StringAttribute#) labelAttributescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/StringAttribute#labelAttribute().() {} |
| 52 | func (IntAttributescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/IntAttribute#) labelAttributescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/IntAttribute#labelAttribute().() {} |
| 53 | func (BoolAttributescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/BoolAttribute#) labelAttributescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/BoolAttribute#labelAttribute().() {} |
| 54 | func (DoubleAttributescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/DoubleAttribute#) labelAttributescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/DoubleAttribute#labelAttribute().() {} |
| 55 | |
| 56 | type StackTracescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/StackTrace# struct { |
| 57 | StackFramesscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/StackTrace#StackFrames. *StackFramesscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/StackFrames# `json:"stack_frames,omitempty"` |
| 58 | StackTraceHashIDscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/StackTrace#StackTraceHashID. uint64 `json:"stack_trace_hash_id,omitempty"` |
| 59 | } |
| 60 | |
| 61 | type StackFramesscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/StackFrames# struct { |
| 62 | Framescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/StackFrames#Frame. []*StackFramescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/StackFrame# `json:"frame,omitempty"` |
| 63 | DroppedFramesCountscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/StackFrames#DroppedFramesCount. int32 `json:"dropped_frames_count,omitempty"` |
| 64 | } |
| 65 | |
| 66 | type StackFramescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/StackFrame# struct { |
| 67 | FunctionNamescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/StackFrame#FunctionName. *TruncatableStringscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/TruncatableString# `json:"function_name,omitempty"` |
| 68 | OriginalFunctionNamescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/StackFrame#OriginalFunctionName. *TruncatableStringscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/TruncatableString# `json:"original_function_name,omitempty"` |
| 69 | FileNamescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/StackFrame#FileName. *TruncatableStringscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/TruncatableString# `json:"file_name,omitempty"` |
| 70 | LineNumberscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/StackFrame#LineNumber. int64 `json:"line_number,omitempty"` |
| 71 | ColumnNumberscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/StackFrame#ColumnNumber. int64 `json:"column_number,omitempty"` |
| 72 | LoadModulescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/StackFrame#LoadModule. *Modulescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Module# `json:"load_module,omitempty"` |
| 73 | SourceVersionscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/StackFrame#SourceVersion. *TruncatableStringscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/TruncatableString# `json:"source_version,omitempty"` |
| 74 | } |
| 75 | |
| 76 | type Modulescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Module# struct { |
| 77 | Modulescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Module#Module. *TruncatableStringscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/TruncatableString# `json:"module,omitempty"` |
| 78 | BuildIDscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Module#BuildID. *TruncatableStringscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/TruncatableString# `json:"build_id,omitempty"` |
| 79 | } |
| 80 | |
| 81 | type ProcessIdentifierscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/ProcessIdentifier# struct { |
| 82 | HostNamescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/ProcessIdentifier#HostName. string `json:"host_name,omitempty"` |
| 83 | Pidscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/ProcessIdentifier#Pid. uint32 `json:"pid,omitempty"` |
| 84 | StartTimestampscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/ProcessIdentifier#StartTimestamp. Timestampscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Timestamp# `json:"start_timestamp,omitempty"` |
| 85 | } |
| 86 | |
| 87 | type LibraryInfoscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/LibraryInfo# struct { |
| 88 | Languagescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/LibraryInfo#Language. Languagescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Language# `json:"language,omitempty"` |
| 89 | ExporterVersionscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/LibraryInfo#ExporterVersion. string `json:"exporter_version,omitempty"` |
| 90 | CoreLibraryVersionscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/LibraryInfo#CoreLibraryVersion. string `json:"core_library_version,omitempty"` |
| 91 | } |
| 92 | |
| 93 | type Languagescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Language# int32 |
| 94 | |
| 95 | const ( |
| 96 | LanguageGoscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/LanguageGo. Languagescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/Language# = 4 |
| 97 | ) |
| 98 | |
| 99 | type ServiceInfoscip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/ServiceInfo# struct { |
| 100 | Namescip-go gomod cuelang.org/go . `cuelang.org/go/internal/golangorgx/tools/event/export/ocagent/wire`/ServiceInfo#Name. string `json:"name,omitempty"` |
| 101 | } |