type ActualStateOfWorld …
type AttachedVolume …
type AttachState …
const AttachStateAttached …
const AttachStateUncertain …
const AttachStateDetached …
func (s AttachState) String() string { … }
func NewActualStateOfWorld(volumePluginMgr *volume.VolumePluginMgr) ActualStateOfWorld { … }
type actualStateOfWorld …
type attachedVolume …
type nodeAttachedTo …
type nodeToUpdateStatusFor …
func (asw *actualStateOfWorld) MarkVolumeAsUncertain(
logger klog.Logger,
uniqueName v1.UniqueVolumeName, volumeSpec *volume.Spec, nodeName types.NodeName) error { … }
func (asw *actualStateOfWorld) MarkVolumeAsAttached(
logger klog.Logger,
uniqueName v1.UniqueVolumeName, volumeSpec *volume.Spec, nodeName types.NodeName, devicePath string) error { … }
func (asw *actualStateOfWorld) MarkVolumeAsDetached(
volumeName v1.UniqueVolumeName, nodeName types.NodeName) { … }
func (asw *actualStateOfWorld) RemoveVolumeFromReportAsAttached(
volumeName v1.UniqueVolumeName, nodeName types.NodeName) error { … }
func (asw *actualStateOfWorld) AddVolumeToReportAsAttached(
logger klog.Logger,
volumeName v1.UniqueVolumeName, nodeName types.NodeName) { … }
func (asw *actualStateOfWorld) AddVolumeNode(
logger klog.Logger,
uniqueName v1.UniqueVolumeName, volumeSpec *volume.Spec, nodeName types.NodeName, devicePath string, isAttached bool) (v1.UniqueVolumeName, error) { … }
func (asw *actualStateOfWorld) SetVolumesMountedByNode(
logger klog.Logger, volumeNames []v1.UniqueVolumeName, nodeName types.NodeName) { … }
func (asw *actualStateOfWorld) ResetDetachRequestTime(
logger klog.Logger,
volumeName v1.UniqueVolumeName, nodeName types.NodeName) { … }
func (asw *actualStateOfWorld) SetDetachRequestTime(
logger klog.Logger,
volumeName v1.UniqueVolumeName, nodeName types.NodeName) (time.Duration, error) { … }
func (asw *actualStateOfWorld) getNodeAndVolume(
volumeName v1.UniqueVolumeName, nodeName types.NodeName) (attachedVolume, nodeAttachedTo, error) { … }
func (asw *actualStateOfWorld) removeVolumeFromReportAsAttached(
volumeName v1.UniqueVolumeName, nodeName types.NodeName) error { … }
func (asw *actualStateOfWorld) addVolumeToReportAsAttached(
logger klog.Logger, volumeName v1.UniqueVolumeName, nodeName types.NodeName) { … }
func (asw *actualStateOfWorld) updateNodeStatusUpdateNeeded(nodeName types.NodeName, needed bool) error { … }
func (asw *actualStateOfWorld) SetNodeStatusUpdateNeeded(logger klog.Logger, nodeName types.NodeName) { … }
func (asw *actualStateOfWorld) DeleteVolumeNode(
volumeName v1.UniqueVolumeName, nodeName types.NodeName) { … }
func (asw *actualStateOfWorld) GetAttachState(
volumeName v1.UniqueVolumeName, nodeName types.NodeName) AttachState { … }
func (asw *actualStateOfWorld) InitializeClaimSize(logger klog.Logger, volumeName v1.UniqueVolumeName, claimSize resource.Quantity) { … }
func (asw *actualStateOfWorld) GetClaimSize(volumeName v1.UniqueVolumeName) resource.Quantity { … }
func (asw *actualStateOfWorld) GetAttachedVolumes() []AttachedVolume { … }
func (asw *actualStateOfWorld) GetAttachedVolumesForNode(
nodeName types.NodeName) []AttachedVolume { … }
func (asw *actualStateOfWorld) GetAttachedVolumesPerNode() map[types.NodeName][]operationexecutor.AttachedVolume { … }
func (asw *actualStateOfWorld) GetNodesForAttachedVolume(volumeName v1.UniqueVolumeName) []types.NodeName { … }
func (asw *actualStateOfWorld) GetVolumesToReportAttached(logger klog.Logger) map[types.NodeName][]v1.AttachedVolume { … }
func (asw *actualStateOfWorld) GetVolumesToReportAttachedForNode(logger klog.Logger, nodeName types.NodeName) (bool, []v1.AttachedVolume) { … }
func (asw *actualStateOfWorld) GetNodesToUpdateStatusFor() map[types.NodeName]nodeToUpdateStatusFor { … }
func (asw *actualStateOfWorld) getAttachedVolumeFromUpdateObject(volumesToReportAsAttached map[v1.UniqueVolumeName]v1.UniqueVolumeName) []v1.AttachedVolume { … }
func (asw *actualStateOfWorld) getAttachedVolume(
attachedVolume *attachedVolume,
nodeAttachedTo *nodeAttachedTo) AttachedVolume { … }