svcdetector

package
v0.0.0-...-35b3a18 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2022 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewK8sAppStateManager

func NewK8sAppStateManager(
	svcRepository ServiceRepository,
	cleanupInterval time.Duration,
) client.AppStateManager

NewK8sAppStateManager create AppStateManager instances, that expose kubernetes services (or not, judging on their annotations)

Types

type ServiceRepository

type ServiceRepository interface {
	// contains filtered or unexported methods
}

ServiceRepository allows quering k8s server for services

func NewDefaultServiceRepository

func NewDefaultServiceRepository(client dynamic.Interface) ServiceRepository

NewDefaultServiceRepository creates ServiceRepository instances

Jump to

Keyboard shortcuts

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