pb

package
v0.12.8 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_pb_metrics_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type IP2Domain added in v0.10.0

type IP2Domain struct {
	Ip     int32  `protobuf:"varint,1,opt,name=ip,proto3" json:"ip,omitempty"`
	Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"`
	// contains filtered or unexported fields
}

func (*IP2Domain) Descriptor deprecated added in v0.10.0

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

Deprecated: Use IP2Domain.ProtoReflect.Descriptor instead.

func (*IP2Domain) GetDomain added in v0.10.0

func (x *IP2Domain) GetDomain() string

func (*IP2Domain) GetIp added in v0.10.0

func (x *IP2Domain) GetIp() int32

func (*IP2Domain) ProtoMessage added in v0.10.0

func (*IP2Domain) ProtoMessage()

func (*IP2Domain) ProtoReflect added in v0.10.0

func (x *IP2Domain) ProtoReflect() protoreflect.Message

func (*IP2Domain) Reset added in v0.10.0

func (x *IP2Domain) Reset()

func (*IP2Domain) String added in v0.10.0

func (x *IP2Domain) String() string

type PodNetworkMetric

type PodNetworkMetric struct {
	SrcIp        string `protobuf:"bytes,1,opt,name=src_ip,json=srcIp,proto3" json:"src_ip,omitempty"`
	SrcPod       string `protobuf:"bytes,2,opt,name=src_pod,json=srcPod,proto3" json:"src_pod,omitempty"`
	SrcNamespace string `protobuf:"bytes,3,opt,name=src_namespace,json=srcNamespace,proto3" json:"src_namespace,omitempty"`
	SrcNode      string `protobuf:"bytes,4,opt,name=src_node,json=srcNode,proto3" json:"src_node,omitempty"`
	SrcZone      string `protobuf:"bytes,5,opt,name=src_zone,json=srcZone,proto3" json:"src_zone,omitempty"`
	DstIp        string `protobuf:"bytes,6,opt,name=dst_ip,json=dstIp,proto3" json:"dst_ip,omitempty"`
	DstPod       string `protobuf:"bytes,7,opt,name=dst_pod,json=dstPod,proto3" json:"dst_pod,omitempty"`
	DstNamespace string `protobuf:"bytes,8,opt,name=dst_namespace,json=dstNamespace,proto3" json:"dst_namespace,omitempty"`
	DstNode      string `protobuf:"bytes,9,opt,name=dst_node,json=dstNode,proto3" json:"dst_node,omitempty"`
	DstZone      string `protobuf:"bytes,10,opt,name=dst_zone,json=dstZone,proto3" json:"dst_zone,omitempty"`
	TxBytes      int64  `protobuf:"varint,11,opt,name=tx_bytes,json=txBytes,proto3" json:"tx_bytes,omitempty"`
	TxPackets    int64  `protobuf:"varint,12,opt,name=tx_packets,json=txPackets,proto3" json:"tx_packets,omitempty"`
	RxBytes      int64  `protobuf:"varint,13,opt,name=rx_bytes,json=rxBytes,proto3" json:"rx_bytes,omitempty"`
	RxPackets    int64  `protobuf:"varint,14,opt,name=rx_packets,json=rxPackets,proto3" json:"rx_packets,omitempty"`
	Proto        int32  `protobuf:"varint,15,opt,name=proto,proto3" json:"proto,omitempty"`
	DstDnsName   string `protobuf:"bytes,17,opt,name=dst_dns_name,json=dstDnsName,proto3" json:"dst_dns_name,omitempty"`
	// contains filtered or unexported fields
}

func (*PodNetworkMetric) Descriptor deprecated

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

Deprecated: Use PodNetworkMetric.ProtoReflect.Descriptor instead.

func (*PodNetworkMetric) GetDstDnsName added in v0.9.0

func (x *PodNetworkMetric) GetDstDnsName() string

func (*PodNetworkMetric) GetDstIp

func (x *PodNetworkMetric) GetDstIp() string

func (*PodNetworkMetric) GetDstNamespace

func (x *PodNetworkMetric) GetDstNamespace() string

func (*PodNetworkMetric) GetDstNode

func (x *PodNetworkMetric) GetDstNode() string

func (*PodNetworkMetric) GetDstPod

func (x *PodNetworkMetric) GetDstPod() string

func (*PodNetworkMetric) GetDstZone

func (x *PodNetworkMetric) GetDstZone() string

func (*PodNetworkMetric) GetProto

func (x *PodNetworkMetric) GetProto() int32

func (*PodNetworkMetric) GetRxBytes

func (x *PodNetworkMetric) GetRxBytes() int64

func (*PodNetworkMetric) GetRxPackets

func (x *PodNetworkMetric) GetRxPackets() int64

func (*PodNetworkMetric) GetSrcIp

func (x *PodNetworkMetric) GetSrcIp() string

func (*PodNetworkMetric) GetSrcNamespace

func (x *PodNetworkMetric) GetSrcNamespace() string

func (*PodNetworkMetric) GetSrcNode

func (x *PodNetworkMetric) GetSrcNode() string

func (*PodNetworkMetric) GetSrcPod

func (x *PodNetworkMetric) GetSrcPod() string

func (*PodNetworkMetric) GetSrcZone

func (x *PodNetworkMetric) GetSrcZone() string

func (*PodNetworkMetric) GetTxBytes

func (x *PodNetworkMetric) GetTxBytes() int64

func (*PodNetworkMetric) GetTxPackets

func (x *PodNetworkMetric) GetTxPackets() int64

func (*PodNetworkMetric) ProtoMessage

func (*PodNetworkMetric) ProtoMessage()

func (*PodNetworkMetric) ProtoReflect

func (x *PodNetworkMetric) ProtoReflect() protoreflect.Message

func (*PodNetworkMetric) Reset

func (x *PodNetworkMetric) Reset()

func (*PodNetworkMetric) String

func (x *PodNetworkMetric) String() string

type PodNetworkMetricBatch

type PodNetworkMetricBatch struct {
	Items []*PodNetworkMetric `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*PodNetworkMetricBatch) Descriptor deprecated

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

Deprecated: Use PodNetworkMetricBatch.ProtoReflect.Descriptor instead.

func (*PodNetworkMetricBatch) GetItems

func (x *PodNetworkMetricBatch) GetItems() []*PodNetworkMetric

func (*PodNetworkMetricBatch) ProtoMessage

func (*PodNetworkMetricBatch) ProtoMessage()

func (*PodNetworkMetricBatch) ProtoReflect

func (x *PodNetworkMetricBatch) ProtoReflect() protoreflect.Message

func (*PodNetworkMetricBatch) Reset

func (x *PodNetworkMetricBatch) Reset()

func (*PodNetworkMetricBatch) String

func (x *PodNetworkMetricBatch) String() string

type RawNetworkMetric

type RawNetworkMetric struct {
	SrcIp     int32 `protobuf:"varint,1,opt,name=src_ip,json=srcIp,proto3" json:"src_ip,omitempty"`
	DstIp     int32 `protobuf:"varint,2,opt,name=dst_ip,json=dstIp,proto3" json:"dst_ip,omitempty"`
	TxBytes   int64 `protobuf:"varint,3,opt,name=tx_bytes,json=txBytes,proto3" json:"tx_bytes,omitempty"`
	TxPackets int64 `protobuf:"varint,4,opt,name=tx_packets,json=txPackets,proto3" json:"tx_packets,omitempty"`
	RxBytes   int64 `protobuf:"varint,5,opt,name=rx_bytes,json=rxBytes,proto3" json:"rx_bytes,omitempty"`
	RxPackets int64 `protobuf:"varint,6,opt,name=rx_packets,json=rxPackets,proto3" json:"rx_packets,omitempty"`
	Proto     int32 `protobuf:"varint,7,opt,name=proto,proto3" json:"proto,omitempty"`
	// contains filtered or unexported fields
}

func (*RawNetworkMetric) Descriptor deprecated

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

Deprecated: Use RawNetworkMetric.ProtoReflect.Descriptor instead.

func (*RawNetworkMetric) GetDstIp

func (x *RawNetworkMetric) GetDstIp() int32

func (*RawNetworkMetric) GetProto

func (x *RawNetworkMetric) GetProto() int32

func (*RawNetworkMetric) GetRxBytes

func (x *RawNetworkMetric) GetRxBytes() int64

func (*RawNetworkMetric) GetRxPackets

func (x *RawNetworkMetric) GetRxPackets() int64

func (*RawNetworkMetric) GetSrcIp

func (x *RawNetworkMetric) GetSrcIp() int32

func (*RawNetworkMetric) GetTxBytes

func (x *RawNetworkMetric) GetTxBytes() int64

func (*RawNetworkMetric) GetTxPackets

func (x *RawNetworkMetric) GetTxPackets() int64

func (*RawNetworkMetric) ProtoMessage

func (*RawNetworkMetric) ProtoMessage()

func (*RawNetworkMetric) ProtoReflect

func (x *RawNetworkMetric) ProtoReflect() protoreflect.Message

func (*RawNetworkMetric) Reset

func (x *RawNetworkMetric) Reset()

func (*RawNetworkMetric) String

func (x *RawNetworkMetric) String() string

type RawNetworkMetricBatch

type RawNetworkMetricBatch struct {
	Items     []*RawNetworkMetric `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	Ip2Domain []*IP2Domain        `protobuf:"bytes,2,rep,name=ip2domain,proto3" json:"ip2domain,omitempty"`
	// contains filtered or unexported fields
}

func (*RawNetworkMetricBatch) Descriptor deprecated

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

Deprecated: Use RawNetworkMetricBatch.ProtoReflect.Descriptor instead.

func (*RawNetworkMetricBatch) GetIp2Domain added in v0.10.0

func (x *RawNetworkMetricBatch) GetIp2Domain() []*IP2Domain

func (*RawNetworkMetricBatch) GetItems

func (x *RawNetworkMetricBatch) GetItems() []*RawNetworkMetric

func (*RawNetworkMetricBatch) ProtoMessage

func (*RawNetworkMetricBatch) ProtoMessage()

func (*RawNetworkMetricBatch) ProtoReflect

func (x *RawNetworkMetricBatch) ProtoReflect() protoreflect.Message

func (*RawNetworkMetricBatch) Reset

func (x *RawNetworkMetricBatch) Reset()

func (*RawNetworkMetricBatch) String

func (x *RawNetworkMetricBatch) String() string

Jump to

Keyboard shortcuts

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