results

package
v1.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2015 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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.

const (
	Success Result = true
	Failure Result = false
)

func (Result) String

func (r Result) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL