proto

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const Default_ProbeConf_ExportMetricsByPort bool = false
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
View Source
const Default_ProbeConf_UseAllTxPortsPerProbe bool = false

Variables

This section is empty.

Functions

This section is empty.

Types

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"`
	// Changes the exported monitoring streams to be per port:
	// 1. Changes the streams names to total-per-port, success-per-port etc.
	// 2. Adds src_port and dst_port as stream labels.
	// Note that the field name is experimental and may change in the future.
	ExportMetricsByPort *bool `protobuf:"varint,7,opt,name=export_metrics_by_port,json=exportMetricsByPort,def=0" json:"export_metrics_by_port,omitempty"`
	// Whether to use all transmit ports per probe, per target.
	// Default is to probe each target once per probe and round-robin through the
	// source ports.
	// Setting this field to true changes the behavior to send traffic from all
	// ports to all targets in each probe.
	// For example, if num_tx_ports is set to 16, in every probe cycle, we'll send
	// 16 packets to every target (1 per tx port).
	// Note that setting this field to true will increase the probe traffic.
	UseAllTxPortsPerProbe *bool    `` /* 132-byte string literal not displayed */
	XXX_NoUnkeyedLiteral  struct{} `json:"-"`
	XXX_unrecognized      []byte   `json:"-"`
	XXX_sizecache         int32    `json:"-"`
}

func (*ProbeConf) Descriptor

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

func (*ProbeConf) GetExportMetricsByPort

func (m *ProbeConf) GetExportMetricsByPort() bool

func (*ProbeConf) GetIpVersion

func (m *ProbeConf) GetIpVersion() int32

func (*ProbeConf) GetMaxLength

func (m *ProbeConf) GetMaxLength() int32

func (*ProbeConf) GetNumTxPorts

func (m *ProbeConf) GetNumTxPorts() int32

func (*ProbeConf) GetPort

func (m *ProbeConf) GetPort() int32

func (*ProbeConf) GetStatsExportIntervalMsec

func (m *ProbeConf) GetStatsExportIntervalMsec() int32

func (*ProbeConf) GetUseAllTxPortsPerProbe

func (m *ProbeConf) GetUseAllTxPortsPerProbe() bool

func (*ProbeConf) ProtoMessage

func (*ProbeConf) ProtoMessage()

func (*ProbeConf) Reset

func (m *ProbeConf) Reset()

func (*ProbeConf) String

func (m *ProbeConf) String() string

func (*ProbeConf) XXX_DiscardUnknown

func (m *ProbeConf) XXX_DiscardUnknown()

func (*ProbeConf) XXX_Marshal

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

func (*ProbeConf) XXX_Merge

func (dst *ProbeConf) XXX_Merge(src proto.Message)

func (*ProbeConf) XXX_Size

func (m *ProbeConf) XXX_Size() int

func (*ProbeConf) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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