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
 - YAML::Serializable
 
Defined in:
versions/v1.21/api/core/v1/host_alias.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
 - .new(pull : JSON::PullParser)
 - .new(*, hostnames : Array? = nil, ip : String? = nil)
 
Instance Method Summary
- #hostnames : Array(String)?
 - #hostnames=(hostnames : Array(String)?)
 - #ip : String?
 - #ip=(ip : String?)