struct
Kubernetes::StatusCause
- Kubernetes::StatusCause
- Struct
- Value
- Object
Overview
StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.
Included Modules
- JSON::Serializable
- Kubernetes::Serializable
- YAML::Serializable
Defined in:
generated/models/io_k8s_apimachinery_pkg_apis_meta_v1.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .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)
Macro Summary
-
field(name, type = nil, **options, &block)
Helper macro for defining fields with automatic camelCase conversion
Instance Method Summary
-
#field : String | Nil
The field of the resource that has caused this error, as named by its JSON serialization.
-
#field=(field : String | Nil)
The field of the resource that has caused this error, as named by its JSON serialization.
-
#message : String | Nil
A human-readable description of the cause of the error.
-
#message=(message : String | Nil)
A human-readable description of the cause of the error.
-
#reason : String | Nil
A machine-readable description of the cause of the error.
-
#reason=(reason : String | Nil)
A machine-readable description of the cause of the error.
Constructor Detail
Macro Detail
Helper macro for defining fields with automatic camelCase conversion
Instance Method Detail
The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional. Examples: "name" - the field "name" on the current resource "items[0].name" - the field "name" on the first array entry in "items"
The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional. Examples: "name" - the field "name" on the current resource "items[0].name" - the field "name" on the first array entry in "items"
A human-readable description of the cause of the error. This field may be presented as-is to a reader.
A human-readable description of the cause of the error. This field may be presented as-is to a reader.
A machine-readable description of the cause of the error. If this value is empty there is no information available.
A machine-readable description of the cause of the error. If this value is empty there is no information available.