dns

package
v0.0.0-...-c514986 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DNSService

type DNSService struct {
	// contains filtered or unexported fields
}

func Provision

func Provision(options *ProvisionDNSOptions) (*DNSService, error)

func (*DNSService) Cleanup

func (s *DNSService) Cleanup() error

func (*DNSService) GetContainer

func (s *DNSService) GetContainer() *docker.Container

func (*DNSService) Start

func (s *DNSService) Start() error

func (*DNSService) Stop

func (s *DNSService) Stop() error

type ProvisionDNSOptions

type ProvisionDNSOptions struct {
	ZoneFileEntries []ZoneFileEntry
	LabID           string
}

type ZoneFileEntry

type ZoneFileEntry struct {
	Hostname string
	Ip       string
}

Jump to

Keyboard shortcuts

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