struct
Kubernetes::ConfigMapKeySelector
- Kubernetes::ConfigMapKeySelector
- Struct
- Value
- Object
Overview
Selects a key from a ConfigMap.
Included Modules
- JSON::Serializable
- Kubernetes::Serializable
- YAML::Serializable
Defined in:
generated/models/io_k8s_api_core_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
-
#key : String | Nil
The key to select.
-
#key=(key : String | Nil)
The key to select.
-
#name : String | Nil
Name of the referent.
-
#name=(name : String | Nil)
Name of the referent.
-
#optional : Bool | Nil
Specify whether the ConfigMap or its key must be defined
-
#optional=(optional : Bool | Nil)
Specify whether the ConfigMap or its key must be defined
Constructor Detail
Macro Detail
Helper macro for defining fields with automatic camelCase conversion
Instance Method Detail
Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names