class K8S::Api::Core::V1::PodDNSConfig
- K8S::Api::Core::V1::PodDNSConfig
- Reference
- Object
Overview
PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy.
Included Modules
- JSON::Serializable
- JSON::Serializable::Unmapped
- YAML::Serializable
- YAML::Serializable::Unmapped
Defined in:
versions/v1.11/api/core/v1/pod_dns_config.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, nameservers : Array(String)? = nil, options : Array(Api::Core::V1::PodDNSConfigOption)? = nil, searches : Array(String)? = nil)
Instance Method Summary
- #nameservers : Array(String)?
- #nameservers=(nameservers : Array(String)?)
- #options : Array(Api::Core::V1::PodDNSConfigOption)?
- #options=(options : Array(Api::Core::V1::PodDNSConfigOption)?)
- #searches : Array(String)?
- #searches=(searches : Array(String)?)
Constructor Detail
def self.new(*, nameservers : Array(String)? = nil, options : Array(Api::Core::V1::PodDNSConfigOption)? = nil, searches : Array(String)? = nil)
#