Documentation ¶
Index ¶
- Constants
- Variables
- type ProbeConf
- func (*ProbeConf) Descriptor() ([]byte, []int)deprecated
- func (x *ProbeConf) GetIntervalBetweenTargetsMsec() int32
- func (x *ProbeConf) GetPort() int32
- func (x *ProbeConf) GetResolveFirst() bool
- func (*ProbeConf) ProtoMessage()
- func (x *ProbeConf) ProtoReflect() protoreflect.Message
- func (x *ProbeConf) Reset()
- func (x *ProbeConf) String() string
Constants ¶
View Source
const (
Default_ProbeConf_IntervalBetweenTargetsMsec = int32(10)
)
Default values for ProbeConf fields.
Variables ¶
View Source
var File_github_com_cloudprober_cloudprober_probes_tcp_proto_config_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ProbeConf ¶
type ProbeConf struct { // Port for TCP requests. If not specfied, and port is provided by the // targets (e.g. kubernetes endpoint or service), that port is used. Port *int32 `protobuf:"varint,1,opt,name=port" json:"port,omitempty"` // Whether to resolve the target before making the request. If set to false, // we hand over the target golang's net.Dial module, Otherwise, we resolve // the target first to an IP address and make a request using that. By // default we resolve first if it's a discovered resource, e.g., a k8s // endpoint. ResolveFirst *bool `protobuf:"varint,2,opt,name=resolve_first,json=resolveFirst" json:"resolve_first,omitempty"` // Interval between targets. IntervalBetweenTargetsMsec *int32 `` /* 144-byte string literal not displayed */ // contains filtered or unexported fields }
Next tag: 4
func (*ProbeConf) Descriptor
deprecated
func (*ProbeConf) GetIntervalBetweenTargetsMsec ¶
func (*ProbeConf) GetResolveFirst ¶
func (*ProbeConf) ProtoMessage ¶
func (*ProbeConf) ProtoMessage()
func (*ProbeConf) ProtoReflect ¶
func (x *ProbeConf) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.