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
Click to show internal directories.
Click to hide internal directories.