containerd

package
v0.0.0-...-8d1ac9d Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2024 License: BSD-3-Clause Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Main

func Main()

Types

type ContainerdDiscovery

type ContainerdDiscovery struct {
	Next plugin.Handler

	A    map[string]net.IP
	AAAA map[string]net.IP
	// contains filtered or unexported fields
}

ContainerdDiscovery is a plugin that conforms to the coredns plugin interface

func NewContainerdDiscovery

func NewContainerdDiscovery(containerdEndpoint, domain string) *ContainerdDiscovery

NewContainerdDiscovery constructs a new DockerDiscovery object

func (*ContainerdDiscovery) Name

func (cd *ContainerdDiscovery) Name() string

Name implements plugin.Handler

func (*ContainerdDiscovery) ServeDNS

func (cd *ContainerdDiscovery) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.Msg) (int, error)

ServeDNS implements plugin.Handler

Jump to

Keyboard shortcuts

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