struct

Kubernetes::VolumeError

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

VolumeError captures an error encountered during a volume operation.

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

error_code

errorCode is a numeric gRPC code representing the error encountered during Attach or Detach operations. This field requires the MutableCSINodeAllocatableCount feature gate being enabled to be set.

Source
error_code=(error_code : Int32 | Nil)

errorCode is a numeric gRPC code representing the error encountered during Attach or Detach operations. This field requires the MutableCSINodeAllocatableCount feature gate being enabled to be set.

Source
message

message represents the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information.

Source
message=(message : String | Nil)

message represents the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information.

Source
time

time represents the time the error was encountered.

Source
time=(time : Time | Nil)

time represents the time the error was encountered.

Source

Macros

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

Helper macro for defining fields with automatic camelCase conversion

Source