PersistentVolumeStatus constructor
const
PersistentVolumeStatus({})
Creates a new PersistentVolumeStatus.
lastPhaseTransitionTime lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions.
message message is a human-readable message indicating details about why the volume is in this state.
phase phase indicates if a volume is available, bound to a claim, or released by a claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#phase
reason reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI.
Implementation
const PersistentVolumeStatus({
this.lastPhaseTransitionTime,
this.message,
this.phase,
this.reason,
});