Discover Packages
github.com/rancher/system-agent
pkg
prober
package
Version:
v0.3.11-rc.1
Opens a new window with list of versions in this module.
Published: Oct 17, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
Documentation
¶
GetSystemCertPool returns a x509.CertPool that contains the
root CA certificates if they are present at runtime
type HTTPGetAction struct {
URL string `json:"url,omitempty"`
Insecure bool `json:"insecure,omitempty"`
ClientCert string `json:"clientCert,omitempty"`
ClientKey string `json:"clientKey,omitempty"`
CACert string `json:"caCert,omitempty"`
}
type Probe struct {
Name string `json:"name,omitempty"`
InitialDelaySeconds int `json:"initialDelaySeconds,omitempty"`
TimeoutSeconds int `json:"timeoutSeconds,omitempty"`
SuccessThreshold int `json:"successThreshold,omitempty"`
FailureThreshold int `json:"failureThreshold,omitempty"`
HTTPGetAction HTTPGetAction `json:"httpGet,omitempty"`
}
type ProbeStatus struct {
Healthy bool `json:"healthy,omitempty"`
SuccessCount int `json:"successCount,omitempty"`
FailureCount int `json:"failureCount,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.