struct
Kubernetes::Status
- Kubernetes::Status
- Struct
- Value
- Object
Overview
Status is a return value for calls that don't return other objects.
Included Modules
- JSON::Serializable
- Kubernetes::Serializable
- YAML::Serializable
Defined in:
generated/models/io_k8s_apimachinery_pkg_apis_meta_v1.crserialization.cr
Constructors
- .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
-
#api_version : String | Nil
APIVersion defines the versioned schema of this representation of an object.
-
#api_version=(api_version : String | Nil)
APIVersion defines the versioned schema of this representation of an object.
-
#code : Int32 | Nil
Suggested HTTP return code for this status, 0 if not set.
-
#code=(code : Int32 | Nil)
Suggested HTTP return code for this status, 0 if not set.
-
#details : StatusDetails | Nil
Extended data associated with the reason.
-
#details=(details : StatusDetails | Nil)
Extended data associated with the reason.
-
#kind : String | Nil
Kind is a string value representing the REST resource this object represents.
-
#kind=(kind : String | Nil)
Kind is a string value representing the REST resource this object represents.
-
#message : String | Nil
A human-readable description of the status of this operation.
-
#message=(message : String | Nil)
A human-readable description of the status of this operation.
-
#metadata : ListMeta | Nil
Standard list metadata.
-
#metadata=(metadata : ListMeta | Nil)
Standard list metadata.
-
#reason : String | Nil
A machine-readable description of why this operation is in the "Failure" status.
-
#reason=(reason : String | Nil)
A machine-readable description of why this operation is in the "Failure" status.
-
#status : String | Nil
Status of the operation.
-
#status=(status : String | Nil)
Status of the operation.
Constructor Detail
Macro Detail
Helper macro for defining fields with automatic camelCase conversion
Instance Method Detail
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
Extended data associated with the reason. Each reason may define its own extended details. This field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type.
Extended data associated with the reason. Each reason may define its own extended details. This field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type.
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
A human-readable description of the status of this operation.
Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
A machine-readable description of why this operation is in the "Failure" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it.
A machine-readable description of why this operation is in the "Failure" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it.
Status of the operation. One of: "Success" or "Failure". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
Status of the operation. One of: "Success" or "Failure". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status