resolver

package
v0.1.9-canary Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2022 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartResolving

func StartResolving(namespace string)

Types

type ResolvedObjectInfo

type ResolvedObjectInfo struct {
	FullAddress string
	Namespace   string
}

type Resolver

type Resolver struct {
	// contains filtered or unexported fields
}
var K8sResolver *Resolver

func NewFromInCluster

func NewFromInCluster(errOut chan error, namespace string) (*Resolver, error)

func (*Resolver) CheckIsServiceIP

func (resolver *Resolver) CheckIsServiceIP(address string) bool

func (*Resolver) GetMap

func (resolver *Resolver) GetMap() cmap.ConcurrentMap

func (*Resolver) Resolve

func (resolver *Resolver) Resolve(name string) *ResolvedObjectInfo

func (*Resolver) Start

func (resolver *Resolver) Start(ctx context.Context)

Jump to

Keyboard shortcuts

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