struct
Kubernetes::ResourceClaimTemplateSpec
- Kubernetes::ResourceClaimTemplateSpec
- Struct
- Value
- Object
Overview
ResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim.
Included Modules
- JSON::Serializable
- Kubernetes::Serializable
- YAML::Serializable
Defined in:
generated/models/io_k8s_api_resource_v1.crgenerated/models/io_k8s_api_resource_v1beta1.cr
generated/models/io_k8s_api_resource_v1beta2.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
-
#metadata : ObjectMeta | Nil
ObjectMeta may contain labels and annotations that will be copied into the ResourceClaim when creating it.
-
#metadata=(metadata : ObjectMeta | Nil)
ObjectMeta may contain labels and annotations that will be copied into the ResourceClaim when creating it.
-
#spec : ResourceClaimSpec | Nil
Spec for the ResourceClaim.
-
#spec=(spec : ResourceClaimSpec | Nil)
Spec for the ResourceClaim.
Constructor Detail
Macro Detail
Helper macro for defining fields with automatic camelCase conversion
Instance Method Detail
ObjectMeta may contain labels and annotations that will be copied into the ResourceClaim when creating it. No other fields are allowed and will be rejected during validation.
ObjectMeta may contain labels and annotations that will be copied into the ResourceClaim when creating it. No other fields are allowed and will be rejected during validation.
Spec for the ResourceClaim. The entire content is copied unchanged into the ResourceClaim that gets created from this template. The same fields as in a ResourceClaim are also valid here.
Spec for the ResourceClaim. The entire content is copied unchanged into the ResourceClaim that gets created from this template. The same fields as in a ResourceClaim are also valid here.