struct

Kubernetes::StatusDetails

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

StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.

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

causes

The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes.

Source
causes=(causes : Array(StatusCause) | Nil)

The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes.

Source
group

The group attribute of the resource associated with the status StatusReason.

Source
group=(group : String | Nil)

The group attribute of the resource associated with the status StatusReason.

Source
kind

The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

Source
kind=(kind : String | Nil)

The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

Source
name

The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described).

Source
name=(name : String | Nil)

The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described).

Source
retry_after_seconds

If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.

Source
retry_after_seconds=(retry_after_seconds : Int32 | Nil)

If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.

Source
uid

UID of the resource. (when there is a single resource which can be described). More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids

Source
uid=(uid : String | Nil)

UID of the resource. (when there is a single resource which can be described). More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids

Source

Macros

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

Helper macro for defining fields with automatic camelCase conversion

Source