Documentation
¶
Overview ¶
Package componentStatus implements a componentstatus checker.
Index ¶
- type Checker
- func (csc *Checker) CheckNamespace() string
- func (csc *Checker) CurrentStatus() (bool, []string)
- func (csc *Checker) Interval() time.Duration
- func (csc *Checker) Name() string
- func (csc *Checker) Run(client *kubernetes.Clientset) error
- func (csc *Checker) Shutdown() error
- func (csc *Checker) Timeout() time.Duration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Checker ¶
type Checker struct { Errors []string FailureTimeStamp map[string]time.Time MaxTimeInFailure float64 // TODO - make configurable // contains filtered or unexported fields }
Checker validates componentstatus objects within the cluster.
func (*Checker) CheckNamespace ¶
CheckNamespace returns the namespace of this checker
func (*Checker) CurrentStatus ¶
CurrentStatus returns the status of the check as of right now
func (*Checker) Run ¶
func (csc *Checker) Run(client *kubernetes.Clientset) error
Run implements the entrypoint for check execution
Click to show internal directories.
Click to hide internal directories.