statusupdater

package
v1.4.0-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2016 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package statusupdater implements interfaces that enable updating the status of API objects.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NodeStatusUpdater

type NodeStatusUpdater interface {
	// Gets a list of node statuses that should be updated from the actual state
	// of the world and updates them.
	UpdateNodeStatuses() error
}

NodeStatusUpdater defines a set of operations for updating the VolumesAttached field in the Node Status.

func NewFakeNodeStatusUpdater

func NewFakeNodeStatusUpdater(returnError bool) NodeStatusUpdater

func NewNodeStatusUpdater

func NewNodeStatusUpdater(
	kubeClient internalclientset.Interface,
	nodeInformer framework.SharedInformer,
	actualStateOfWorld cache.ActualStateOfWorld) NodeStatusUpdater

NewNodeStatusUpdater returns a new instance of NodeStatusUpdater.

Jump to

Keyboard shortcuts

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