class K8S::Api::Core::V1::HostAlias
- K8S::Api::Core::V1::HostAlias
- Reference
- Object
Overview
HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.
Included Modules
- JSON::Serializable
- JSON::Serializable::Unmapped
- YAML::Serializable
- YAML::Serializable::Unmapped
Defined in:
versions/v1.13/api/core/v1/host_alias.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, hostnames : Array(String)? = nil, ip : String? = nil)
Instance Method Summary
- #hostnames : Array(String)?
- #hostnames=(hostnames : Array(String)?)
- #ip : String?
- #ip=(ip : String?)