dns

package
v0.0.0-...-e18f8bf Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckErrOnStartup

func CheckErrOnStartup(err error) bool

Types

type DNS

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

func New

func New(ctx context.Context, redisClient redis.UniversalClient) *DNS

func (*DNS) Add

func (d *DNS) Add(ctx context.Context, sandboxID, ip string)

func (*DNS) Close

func (d *DNS) Close(ctx context.Context) error

func (*DNS) Get

func (d *DNS) Get(ctx context.Context, sandboxID string) net.IP

func (*DNS) Remove

func (d *DNS) Remove(ctx context.Context, sandboxID, ip string)

func (*DNS) Start

func (d *DNS) Start(ctx context.Context, address string, port string)

Jump to

Keyboard shortcuts

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