class Pyrite::Api::Core::V1::PodDNSConfig
- Pyrite::Api::Core::V1::PodDNSConfig
- Pyrite::Kubernetes::Spec
- Reference
- Object
Overview
PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy.
Defined in:
versions/v1.14/api/core/v1/pod_dns_config.crConstructors
-
.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy.
-
.new(pull : JSON::PullParser)
PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy.
- .new(*, nameservers : Array? = nil, options : Array? = nil, searches : Array? = 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 methods inherited from class Pyrite::Kubernetes::Spec
new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)new(pull : JSON::PullParser) new
Constructor Detail
def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
#
PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy.
def self.new(pull : JSON::PullParser)
#
PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy.