Kubernetes::HTTPHeader
Inherits YAML::Serializable < JSON::Serializable < Kubernetes::Serializable < Struct < Value < Object
HTTPHeader describes a custom header to be used in HTTP probes
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
name
The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header.
The header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header.
Macros
field(name, type = nil, **options, &block)
Helper macro for defining fields with automatic camelCase conversion