Documentation
¶
Index ¶
- type State
- func (s *State) GetKubeletLogsPodRunning() int
- func (s *State) GetKubeletProbeFail() int
- func (s *State) IncKubeletProbeFailures()
- func (s *State) IsReady() bool
- func (s *State) SetAPIServerProbeLastError(msg string)
- func (s *State) SetKubeletAPIPodRunning(nb int)
- func (s *State) SetKubeletLogsPodRunning(nb int)
- func (s *State) SetReady()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type State ¶
State keeps track of the current stats
func (*State) GetKubeletLogsPodRunning ¶
GetKubeletLogsPodRunning returns the number of kubelet Pods in /var/log/pods
func (*State) GetKubeletProbeFail ¶
GetKubeletProbeFail returns the number of kubelet failures
func (*State) IncKubeletProbeFailures ¶
func (s *State) IncKubeletProbeFailures()
IncKubeletProbeFailures increment the number of kubelet failures
func (*State) IsReady ¶
IsReady returns if the kube-apiserver is available and the manifests are applied
func (*State) SetAPIServerProbeLastError ¶
SetAPIServerProbeLastError keep track of the latest error message and display only if there is a a diff from the last record
func (*State) SetKubeletAPIPodRunning ¶
SetKubeletAPIPodRunning keep track of the number of kubelet Pods and display only if there is a a diff from the last record
func (*State) SetKubeletLogsPodRunning ¶
SetKubeletLogsPodRunning keep track of the number of kubelet Pods in /var/log/pods and display only if there is a a diff from the last record