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(logger klog.Logger) error // Update any pending status change for the given node UpdateNodeStatusForNode(logger klog.Logger, nodeName types.NodeName) 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.
Click to show internal directories.
Click to hide internal directories.