typespb

package
v0.0.0-...-8540621 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 25, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthTypes        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTypes          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group")
)
View Source
var DataType_name = map[int32]string{
	0: "DATA_TYPE_UNKNOWN",
	1: "BOOLEAN",
	2: "INT64",
	3: "UINT128",
	4: "FLOAT64",
	5: "STRING",
	6: "TIME64NS",
}
View Source
var DataType_value = map[string]int32{
	"DATA_TYPE_UNKNOWN": 0,
	"BOOLEAN":           1,
	"INT64":             2,
	"UINT128":           3,
	"FLOAT64":           4,
	"STRING":            5,
	"TIME64NS":          6,
}
View Source
var PatternType_name = map[int32]string{
	0:   "UNSPECIFIED",
	100: "GENERAL",
	101: "GENERAL_ENUM",
	200: "STRUCTURED",
	300: "METRIC_COUNTER",
	301: "METRIC_GAUGE",
}
View Source
var PatternType_value = map[string]int32{
	"UNSPECIFIED":    0,
	"GENERAL":        100,
	"GENERAL_ENUM":   101,
	"STRUCTURED":     200,
	"METRIC_COUNTER": 300,
	"METRIC_GAUGE":   301,
}
View Source
var SemanticType_name = map[int32]string{
	0:    "ST_UNSPECIFIED",
	1:    "ST_NONE",
	2:    "ST_TIME_NS",
	100:  "ST_AGENT_UID",
	101:  "ST_ASID",
	200:  "ST_UPID",
	300:  "ST_SERVICE_NAME",
	400:  "ST_POD_NAME",
	401:  "ST_POD_PHASE",
	402:  "ST_POD_STATUS",
	500:  "ST_NODE_NAME",
	600:  "ST_CONTAINER_NAME",
	601:  "ST_CONTAINER_STATE",
	602:  "ST_CONTAINER_STATUS",
	700:  "ST_NAMESPACE_NAME",
	800:  "ST_BYTES",
	900:  "ST_PERCENT",
	901:  "ST_DURATION_NS",
	902:  "ST_THROUGHPUT_PER_NS",
	903:  "ST_THROUGHPUT_BYTES_PER_NS",
	1000: "ST_QUANTILES",
	1001: "ST_DURATION_NS_QUANTILES",
	1100: "ST_IP_ADDRESS",
	1200: "ST_PORT",
	1300: "ST_HTTP_REQ_METHOD",
	1400: "ST_HTTP_RESP_STATUS",
	1500: "ST_HTTP_RESP_MESSAGE",
	3000: "ST_SCRIPT_REFERENCE",
}
View Source
var SemanticType_value = map[string]int32{
	"ST_UNSPECIFIED":             0,
	"ST_NONE":                    1,
	"ST_TIME_NS":                 2,
	"ST_AGENT_UID":               100,
	"ST_ASID":                    101,
	"ST_UPID":                    200,
	"ST_SERVICE_NAME":            300,
	"ST_POD_NAME":                400,
	"ST_POD_PHASE":               401,
	"ST_POD_STATUS":              402,
	"ST_NODE_NAME":               500,
	"ST_CONTAINER_NAME":          600,
	"ST_CONTAINER_STATE":         601,
	"ST_CONTAINER_STATUS":        602,
	"ST_NAMESPACE_NAME":          700,
	"ST_BYTES":                   800,
	"ST_PERCENT":                 900,
	"ST_DURATION_NS":             901,
	"ST_THROUGHPUT_PER_NS":       902,
	"ST_THROUGHPUT_BYTES_PER_NS": 903,
	"ST_QUANTILES":               1000,
	"ST_DURATION_NS_QUANTILES":   1001,
	"ST_IP_ADDRESS":              1100,
	"ST_PORT":                    1200,
	"ST_HTTP_REQ_METHOD":         1300,
	"ST_HTTP_RESP_STATUS":        1400,
	"ST_HTTP_RESP_MESSAGE":       1500,
	"ST_SCRIPT_REFERENCE":        3000,
}

Functions

This section is empty.

Types

type DataType

type DataType int32
const (
	DATA_TYPE_UNKNOWN DataType = 0
	BOOLEAN           DataType = 1
	INT64             DataType = 2
	UINT128           DataType = 3
	FLOAT64           DataType = 4
	STRING            DataType = 5
	TIME64NS          DataType = 6
)

func (DataType) EnumDescriptor

func (DataType) EnumDescriptor() ([]byte, []int)

func (DataType) String

func (x DataType) String() string

type PatternType

type PatternType int32
const (
	UNSPECIFIED    PatternType = 0
	GENERAL        PatternType = 100
	GENERAL_ENUM   PatternType = 101
	STRUCTURED     PatternType = 200
	METRIC_COUNTER PatternType = 300
	METRIC_GAUGE   PatternType = 301
)

func (PatternType) EnumDescriptor

func (PatternType) EnumDescriptor() ([]byte, []int)

func (PatternType) String

func (x PatternType) String() string

type SemanticType

type SemanticType int32
const (
	ST_UNSPECIFIED             SemanticType = 0
	ST_NONE                    SemanticType = 1
	ST_TIME_NS                 SemanticType = 2
	ST_AGENT_UID               SemanticType = 100
	ST_ASID                    SemanticType = 101
	ST_UPID                    SemanticType = 200
	ST_SERVICE_NAME            SemanticType = 300
	ST_POD_NAME                SemanticType = 400
	ST_POD_PHASE               SemanticType = 401
	ST_POD_STATUS              SemanticType = 402
	ST_NODE_NAME               SemanticType = 500
	ST_CONTAINER_NAME          SemanticType = 600
	ST_CONTAINER_STATE         SemanticType = 601
	ST_CONTAINER_STATUS        SemanticType = 602
	ST_NAMESPACE_NAME          SemanticType = 700
	ST_BYTES                   SemanticType = 800
	ST_PERCENT                 SemanticType = 900
	ST_DURATION_NS             SemanticType = 901
	ST_THROUGHPUT_PER_NS       SemanticType = 902
	ST_THROUGHPUT_BYTES_PER_NS SemanticType = 903
	ST_QUANTILES               SemanticType = 1000
	ST_DURATION_NS_QUANTILES   SemanticType = 1001
	ST_IP_ADDRESS              SemanticType = 1100
	ST_PORT                    SemanticType = 1200
	ST_HTTP_REQ_METHOD         SemanticType = 1300
	ST_HTTP_RESP_STATUS        SemanticType = 1400
	ST_HTTP_RESP_MESSAGE       SemanticType = 1500
	ST_SCRIPT_REFERENCE        SemanticType = 3000
)

func (SemanticType) EnumDescriptor

func (SemanticType) EnumDescriptor() ([]byte, []int)

func (SemanticType) String

func (x SemanticType) String() string

type UInt128

type UInt128 struct {
	Low  uint64 `protobuf:"varint,1,opt,name=low,proto3" json:"low,omitempty"`
	High uint64 `protobuf:"varint,2,opt,name=high,proto3" json:"high,omitempty"`
}

func (*UInt128) Descriptor

func (*UInt128) Descriptor() ([]byte, []int)

func (*UInt128) Equal

func (this *UInt128) Equal(that interface{}) bool

func (*UInt128) GetHigh

func (m *UInt128) GetHigh() uint64

func (*UInt128) GetLow

func (m *UInt128) GetLow() uint64

func (*UInt128) GoString

func (this *UInt128) GoString() string

func (*UInt128) Marshal

func (m *UInt128) Marshal() (dAtA []byte, err error)

func (*UInt128) MarshalTo

func (m *UInt128) MarshalTo(dAtA []byte) (int, error)

func (*UInt128) MarshalToSizedBuffer

func (m *UInt128) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UInt128) ProtoMessage

func (*UInt128) ProtoMessage()

func (*UInt128) Reset

func (m *UInt128) Reset()

func (*UInt128) Size

func (m *UInt128) Size() (n int)

func (*UInt128) String

func (this *UInt128) String() string

func (*UInt128) Unmarshal

func (m *UInt128) Unmarshal(dAtA []byte) error

func (*UInt128) XXX_DiscardUnknown

func (m *UInt128) XXX_DiscardUnknown()

func (*UInt128) XXX_Marshal

func (m *UInt128) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UInt128) XXX_Merge

func (m *UInt128) XXX_Merge(src proto.Message)

func (*UInt128) XXX_Size

func (m *UInt128) XXX_Size() int

func (*UInt128) XXX_Unmarshal

func (m *UInt128) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL