endpoint

package
v0.13.3 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2022 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultMonitorInterval = 20 * time.Second

Variables

View Source
var IPv4RE = regexp.MustCompile(`(?:\d{1,3}\.){3}\d{1,3}`)

Functions

Types

type PublicIPWatcher added in v0.13.0

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

func NewPublicIPWatcher added in v0.13.0

func NewPublicIPWatcher(config *PublicIPWatcherConfig) *PublicIPWatcher

func (*PublicIPWatcher) Run added in v0.13.0

func (p *PublicIPWatcher) Run(stopCh <-chan struct{})

type PublicIPWatcherConfig added in v0.13.0

type PublicIPWatcherConfig struct {
	SubmSpec      *types.SubmarinerSpecification
	Interval      time.Duration
	K8sClient     kubernetes.Interface
	Endpoints     v1.EndpointInterface
	LocalEndpoint types.SubmarinerEndpoint
}

Jump to

Keyboard shortcuts

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