Documentation ¶
Index ¶
- type State
- func (s *State) GetKubeletLogsPodRunning() int
- func (s *State) GetKubeletProbeFail() int
- func (s *State) IncKubeletProbeFailures()
- func (s *State) IsKubectlApplied() bool
- func (s *State) IsReady() bool
- func (s *State) SetAPIServerProbeLastError(msg string)
- func (s *State) SetDNSLastError(msg string)
- func (s *State) SetKubectlApplied()
- 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) IsKubectlApplied ¶ added in v0.6.0
IsKubectlApplied returns true when kubectl is already applied
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) SetDNSLastError ¶ added in v0.6.0
SetDNSLastError keep track of the latest error message and display only if there is a a diff from the last record
func (*State) SetKubectlApplied ¶ added in v0.6.0
func (s *State) SetKubectlApplied()
SetKubectlApplied mark the state when kubectl apply successfully returned
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