dns

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 27, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

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

func NewManager

func NewManager(clusterName string) (*Manager, error)

func (*Manager) AddEntry

func (m *Manager) AddEntry(ctx context.Context, nodeName string) error

func (*Manager) EnsureContainer

func (m *Manager) EnsureContainer(ctx context.Context) (string, error)

EnsureContainer creates or starts the DNS container and returns its IP.

func (*Manager) RemoveEntry

func (m *Manager) RemoveEntry(ctx context.Context, nodeName string) error

func (*Manager) StopContainer

func (m *Manager) StopContainer(ctx context.Context) error

Jump to

Keyboard shortcuts

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