struct Kubernetes::StatusDetails

Overview

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.

Included Modules

Defined in:

generated/models/io_k8s_apimachinery_pkg_apis_meta_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 causes : Array(StatusCause) | Nil #

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


def causes=(causes : Array(StatusCause) | Nil) #

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


def group : String | Nil #

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


def group=(group : String | Nil) #

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


def 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


def 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


def name : String | Nil #

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


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


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


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


def 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


def 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