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.