dns

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseNameservers added in v0.9.2

func ParseNameservers(content string) ([][]byte, error)

func ParseSearchDomains added in v0.9.2

func ParseSearchDomains(content string) ([]string, error)

func SanitizeHostname

func SanitizeHostname(vmi *v1.VirtualMachineInstance) string

Sanitize hostname according to DNS label rules If the hostname is taken from vmi.Spec.Hostname then it already passed DNS label validations.

Types

This section is empty.

Jump to

Keyboard shortcuts

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