struct Kubernetes::PersistentVolumeStatus

Overview

PersistentVolumeStatus is the current status of a persistent volume.

Included Modules

Defined in:

generated/models/io_k8s_api_core_v1.cr

Constructors

Macro Summary

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

def self.new(pull : ::JSON::PullParser) #

def self.new(*, __pull_for_json_serializable pull : ::JSON::PullParser) #

def self.new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node) #

Macro Detail

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

Helper macro for defining fields with automatic camelCase conversion


Instance Method Detail

def 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.


def 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.


def message : String | Nil #

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


def message=(message : String | Nil) #

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


def 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


def 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


def 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.


def 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.