struct

Kubernetes::PersistentVolumeStatus

Inherits YAML::Serializable < JSON::Serializable < Kubernetes::Serializable < Struct < Value < Object

PersistentVolumeStatus is the current status of a persistent volume.

Constructors

new(pull : ::JSON::PullParser)
new(*, __pull_for_json_serializable pull : ::JSON::PullParser)
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)

Instance methods

last_phase_transition_time

lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions.

Source
last_phase_transition_time=(last_phase_transition_time : Time | Nil)

lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions.

Source
message

message is a human-readable message indicating details about why the volume is in this state.

Source
message=(message : String | Nil)

message is a human-readable message indicating details about why the volume is in this state.

Source
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

Source
phase=(phase : String | Nil)

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

Source
reason

reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI.

Source
reason=(reason : String | Nil)

reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI.

Source

Macros

field(name, type = nil, **options, &block)

Helper macro for defining fields with automatic camelCase conversion

Source