Versions in this module Expand all Collapse all v1 v1.2.2 Nov 28, 2024 v1.2.1 Dec 18, 2023 v1.2.0 Dec 16, 2023 v1.1.0 Apr 6, 2023 v1.0.1 Mar 15, 2023 v1.0.0 Jan 4, 2023 Changes in this version + var DefaultDNSProbe = DNSProbe + var DefaultGRPCProbe = GRPCProbe + var DefaultHTTPProbe = HTTPProbe + var DefaultICMPProbe = ICMPProbe + var DefaultICMPTTL = 64 + var DefaultModule = Module + var DefaultPingSetting = PingSetting + var DefaultTCPProbe = TCPProbe + type Config struct + Modules map[string]Module + func (s *Config) UnmarshalYAML(unmarshal func(interface{}) error) error + type DNSProbe struct + DNSOverTLS bool + IPProtocol string + IPProtocolFallback bool + QueryClass string + QueryName string + QueryType string + Recursion bool + SourceIPAddress string + TLSConfig config.TLSConfig + TransportProtocol string + ValidRcodes []string + ValidateAdditional DNSRRValidator + ValidateAnswer DNSRRValidator + ValidateAuthority DNSRRValidator + func (s *DNSProbe) UnmarshalYAML(unmarshal func(interface{}) error) error + type DNSRRValidator struct + FailIfAllMatchRegexp []string + FailIfMatchesRegexp []string + FailIfNoneMatchesRegexp []string + FailIfNotMatchesRegexp []string + func (s *DNSRRValidator) UnmarshalYAML(unmarshal func(interface{}) error) error + type GRPCProbe struct + IPProtocolFallback bool + PreferredIPProtocol string + Service string + TLS bool + TLSConfig config.TLSConfig + func (s *GRPCProbe) UnmarshalYAML(unmarshal func(interface{}) error) error + type HTTPProbe struct + Body string + BodySizeLimit units.Base2Bytes + Compression string + FailIfBodyMatchesRegexp []Regexp + FailIfBodyNotMatchesRegexp []Regexp + FailIfHeaderMatchesRegexp []HeaderMatch + FailIfHeaderNotMatchesRegexp []HeaderMatch + FailIfNotSSL bool + FailIfSSL bool + HTTPClientConfig config.HTTPClientConfig + Headers map[string]string + IPProtocol string + IPProtocolFallback bool + Method string + NoFollowRedirects *bool + SkipResolvePhaseWithProxy bool + ValidHTTPVersions []string + ValidStatusCodes []int + func (s *HTTPProbe) UnmarshalYAML(unmarshal func(interface{}) error) error + type HeaderMatch struct + AllowMissing bool + Header string + Regexp Regexp + func (s *HeaderMatch) UnmarshalYAML(unmarshal func(interface{}) error) error + type ICMPProbe struct + DontFragment bool + IPProtocol string + IPProtocolFallback bool + PayloadSize int + SourceIPAddress string + TTL int + func (s *ICMPProbe) UnmarshalYAML(unmarshal func(interface{}) error) error + type IPType string + const CLUSTERIP + const NODEIP + const OTHER + const PODIP + type Module struct + DNS DNSProbe + GRPC GRPCProbe + HTTP HTTPProbe + ICMP ICMPProbe + Prober string + TCP TCPProbe + Timeout time.Duration + func (s *Module) UnmarshalYAML(unmarshal func(interface{}) error) error + type PingMeshConfig struct + IsNew bool + Items map[string]PingMeshItem + Setting PingSetting + type PingMeshItem struct + IPs []string + Name string + Type IPType + type PingSetting struct + ConcurrentLimit uint + Delay float64 + IPProtocol string + Interval float64 + IpListLen int + SourceIPAddress string + Timeout float64 + func (s *PingSetting) UnmarshalYAML(unmarshal func(interface{}) error) error + type QueryResponse struct + Expect Regexp + Send string + StartTLS bool + func (s *QueryResponse) UnmarshalYAML(unmarshal func(interface{}) error) error + type Regexp struct + func MustNewRegexp(s string) Regexp + func NewRegexp(s string) (Regexp, error) + func (re *Regexp) UnmarshalYAML(unmarshal func(interface{}) error) error + func (re Regexp) MarshalYAML() (interface{}, error) + type SafeConfig struct + C *Config + P *PingMeshConfig + func (sc *SafeConfig) ReloadConfig(confFile string, pingmeshFile string, logger log.Logger) (err error) + type TCPProbe struct + IPProtocol string + IPProtocolFallback bool + QueryResponse []QueryResponse + SourceIPAddress string + TLS bool + TLSConfig config.TLSConfig + func (s *TCPProbe) UnmarshalYAML(unmarshal func(interface{}) error) error