dns

package
v0.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 22, 2025 License: MPL-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DNSConfig

type DNSConfig struct {
	Enabled *bool   `yaml:"enabled"`
	Name    *string `yaml:"name,omitempty"`
	Address *string `yaml:"address,omitempty"`
}

DNSConfig represents the DNS configuration

func (*DNSConfig) Copy

func (c *DNSConfig) Copy() *DNSConfig

Copy creates a deep copy of the DNSConfig object

func (*DNSConfig) Merge

func (base *DNSConfig) Merge(overlay *DNSConfig)

Merge performs a deep merge of the current DNSConfig with another DNSConfig.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL