dnsintentspublisher

package
v0.0.0-...-b5acc33 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DnsCache

type DnsCache interface {
	GetResolvedIP(dnsName string) (string, bool)
}

type Publisher

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

func InitWithManager

func InitWithManager(ctx context.Context, mgr manager.Manager, dnsCache *dnscache.DNSCache) (*Publisher, bool, error)

func NewPublisher

func NewPublisher(k8sClient client.Client, dnsCache DnsCache) *Publisher

func (*Publisher) InitIndices

func (p *Publisher) InitIndices(ctx context.Context, mgr ctrl.Manager) error

func (*Publisher) PublishDNSIntents

func (p *Publisher) PublishDNSIntents(ctx context.Context) error

func (*Publisher) RunForever

func (p *Publisher) RunForever(ctx context.Context)

Jump to

Keyboard shortcuts

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