kubernetes/pkg/kubelet/prober/results/results_manager.go

type Manager

type Result

const Unknown

const Success

const Failure

func (r Result) String() string {}

// ToPrometheusType translates a Result to a form which is better understood by prometheus.
func (r Result) ToPrometheusType() float64 {}

type Update

type manager

var _

// NewManager creates and returns an empty results manager.
func NewManager() Manager {}

func (m *manager) Get(id kubecontainer.ContainerID) (Result, bool) {}

func (m *manager) Set(id kubecontainer.ContainerID, result Result, pod *v1.Pod) {}

// Internal helper for locked portion of set. Returns whether an update should be sent.
func (m *manager) setInternal(id kubecontainer.ContainerID, result Result) bool {}

func (m *manager) Remove(id kubecontainer.ContainerID) {}

func (m *manager) Updates() <-chan Update {}