ClusterVolumeInfo

@Serializable
data class ClusterVolumeInfo(val capacityBytes: Long? = null, val volumeContext: Map<String, String>? = null, val volumeID: String? = null, val accessibleTopology: List<Map<String, String>>? = null)

Information about the global status of the volume.

Parameters

capacityBytes

The capacity of the volume in bytes. A value of 0 indicates that the capacity is unknown.

volumeContext

A map of strings to strings returned from the storage plugin when the volume is created.

volumeID

The ID of the volume as returned by the CSI storage plugin. This is distinct from the volume's ID as provided by Docker. This ID is never used by the user when communicating with Docker to refer to this volume. If the ID is blank, then the Volume has not been successfully created in the plugin yet.

accessibleTopology

The topology this volume is actually accessible from.

Constructors

Link copied to clipboard
constructor(capacityBytes: Long? = null, volumeContext: Map<String, String>? = null, volumeID: String? = null, accessibleTopology: List<Map<String, String>>? = null)

Properties

Link copied to clipboard
@SerialName(value = "AccessibleTopology")
val accessibleTopology: List<Map<String, String>>?
Link copied to clipboard
@SerialName(value = "CapacityBytes")
val capacityBytes: Long?
Link copied to clipboard
@SerialName(value = "VolumeContext")
val volumeContext: Map<String, String>?
Link copied to clipboard
@SerialName(value = "VolumeID")
val volumeID: String?