Class: Pangea::Kubernetes::Types::WaitForDNSConfig
- Inherits:
-
Resources::BaseAttributes
- Object
- Resources::BaseAttributes
- Pangea::Kubernetes::Types::WaitForDNSConfig
- Defined in:
- lib/pangea/kubernetes/types/wait_for_dns_config.rb
Overview
DNS wait configuration for blackmatter-kubernetes NixOS modules. Maps to ‘waitForDNS.*` options in the NixOS module.
Instance Method Summary collapse
Instance Method Details
#to_h ⇒ Object
25 26 27 28 29 30 31 |
# File 'lib/pangea/kubernetes/types/wait_for_dns_config.rb', line 25 def to_h hash = { enabled: enabled } hash[:hostname] = hostname if hostname hash[:timeout_seconds] = timeout_seconds hash[:retry_interval] = retry_interval hash end |