com.coralogix.zio.k8s.model.storage.v1
VolumeAttachmentSpec
Companion object VolumeAttachmentSpec
case class VolumeAttachmentSpec(attacher: String, nodeName: String, source: VolumeAttachmentSource) extends Product with Serializable
VolumeAttachmentSpec is the specification of a VolumeAttachment request.
- attacher
Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().
- nodeName
The node that the volume should be attached to.
- Alphabetic
- By Inheritance
- VolumeAttachmentSpec
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
VolumeAttachmentSpec(attacher: String, nodeName: String, source: VolumeAttachmentSource)
- attacher
Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().
- nodeName
The node that the volume should be attached to.
Value Members
- val attacher: String
-
def
getAttacher: IO[K8sFailure, String]
Attacher indicates the name of the volume driver that MUST handle this request.
Attacher indicates the name of the volume driver that MUST handle this request. This is the name returned by GetPluginName().
This effect always succeeds, it is safe to use the field attacher directly.
-
def
getNodeName: IO[K8sFailure, String]
The node that the volume should be attached to.
The node that the volume should be attached to.
This effect always succeeds, it is safe to use the field nodeName directly.
-
def
getSource: IO[K8sFailure, VolumeAttachmentSource]
Gets source.
Gets source.
This effect always succeeds, it is safe to use the field source directly.
- val nodeName: String
- val source: VolumeAttachmentSource