Discover Packages
github.com/derailed/k9s
internal
health
package
Version:
v0.23.7
Opens a new window with list of versions in this module.
Published: Nov 6, 2020
License: Apache-2.0, Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Check tracks resource health.
NewCheck returns a new health check.
DeepCopyObject returns a container copy.
GetObjectKind returns a schema object.
Inc increments a health metric.
Set sets a health metric.
Tally retrieves a given health metric.
Total stores a metric total.
Checks represents a collection of health checks.
Counts tracks health counts by category.
Level tracks health count categories.
const (
Unknown Level = 1 << iota
Corpus
S1
S2
S3
)
Message represents a health message.
Messages tracks a collection of messages.
type Vital struct {
Resource string
Total, OK, Toast int
}
Vital tracks a resource vitals.
Vitals tracks a collection of resource health.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.