Documentation
¶
Overview ¶
Package udp is a generated protocol buffer package.
It is generated from these files:
github.com/google/cloudprober/probes/udp/config.proto
It has these top-level messages:
ProbeConf
Package udp implements a UDP prober. It sends UDP queries to a list of targets and reports statistics on queries sent, queries received, and latency experienced.
Queries to each target are sent in parallel.
Index ¶
- Constants
- type Probe
- type ProbeConf
- func (*ProbeConf) Descriptor() ([]byte, []int)
- func (m *ProbeConf) GetIpVersion() int32
- func (m *ProbeConf) GetMaxLength() int32
- func (m *ProbeConf) GetNumTxPorts() int32
- func (m *ProbeConf) GetPort() int32
- func (m *ProbeConf) GetStatsExportIntervalMsec() int32
- func (*ProbeConf) ProtoMessage()
- func (m *ProbeConf) Reset()
- func (m *ProbeConf) String() string
Constants ¶
View Source
const Default_ProbeConf_IpVersion int32 = 4
View Source
const Default_ProbeConf_MaxLength int32 = 1300
View Source
const Default_ProbeConf_NumTxPorts int32 = 16
View Source
const Default_ProbeConf_Port int32 = 31122
View Source
const Default_ProbeConf_StatsExportIntervalMsec int32 = 10000
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Probe ¶
type Probe struct {
// contains filtered or unexported fields
}
Probe holds aggregate information about all probe runs, per-target.
type ProbeConf ¶
type ProbeConf struct { // Export stats after these many milliseconds StatsExportIntervalMsec *int32 `` /* 138-byte string literal not displayed */ // Port to send UDP Ping to (UDP Echo). Should be same as // ProberConfig.udp_echo_server_port. // TODO: Can we just read this from ProberConfig? Port *int32 `protobuf:"varint,3,opt,name=port,def=31122" json:"port,omitempty"` // Number of sending side ports to use. NumTxPorts *int32 `protobuf:"varint,4,opt,name=num_tx_ports,json=numTxPorts,def=16" json:"num_tx_ports,omitempty"` // message max to account for MTU. MaxLength *int32 `protobuf:"varint,5,opt,name=max_length,json=maxLength,def=1300" json:"max_length,omitempty"` // IP proto: v4|v6. Temporary workaround till we add support in base probe proto. IpVersion *int32 `protobuf:"varint,6,opt,name=ip_version,json=ipVersion,def=4" json:"ip_version,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*ProbeConf) Descriptor ¶
func (*ProbeConf) GetIpVersion ¶
func (*ProbeConf) GetMaxLength ¶
func (*ProbeConf) GetNumTxPorts ¶
func (*ProbeConf) GetStatsExportIntervalMsec ¶
func (*ProbeConf) ProtoMessage ¶
func (*ProbeConf) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.