proto

package
v0.12.2 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use ProbeConf.ProtoReflect.Descriptor instead.

func (*ProbeConf) GetIntervalBetweenTargetsMsec

func (x *ProbeConf) GetIntervalBetweenTargetsMsec() int32

func (*ProbeConf) GetPort

func (x *ProbeConf) GetPort() int32

func (*ProbeConf) GetResolveFirst

func (x *ProbeConf) GetResolveFirst() bool

func (*ProbeConf) ProtoMessage

func (*ProbeConf) ProtoMessage()

func (*ProbeConf) ProtoReflect

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

func (*ProbeConf) Reset

func (x *ProbeConf) Reset()

func (*ProbeConf) String

func (x *ProbeConf) String() string

Jump to

Keyboard shortcuts

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