statusupdater

package
v1.13.2 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2019 License: Apache-2.0 Imports: 9 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 clientset.Interface,
	nodeLister corelisters.NodeLister,
	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