package results
import "k8s.io/kubernetes/pkg/kubelet/prober/results"
Index ¶
Types ¶
type Manager ¶
type Manager interface { // Get returns the cached result for the container with the given ID. Get(id kubecontainer.ContainerID) (Result, bool) // Set sets the cached result for the container with the given ID. Set(id kubecontainer.ContainerID, result Result) // Remove clears the cached result for the container with the given ID. Remove(id kubecontainer.ContainerID) }
Manager provides a probe results cache.
func NewManager ¶
func NewManager() Manager
NewManager creates ane returns an empty results manager.
type Result ¶
type Result bool
Result is the type for probe results.
func (Result) String ¶
Source Files ¶
results_manager.go
- Version
- v1.2.0-alpha.2
- Published
- Oct 19, 2015
- Platform
- js/wasm
- Imports
- 2 packages
- Last checked
- 24 minutes ago –
Tools for package owners.