namespacemap

package
v0.9.3 Latest Latest
Warning

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

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

Documentation

Overview

Package namespacemap implements the logic to start and stop the reflection of resources for namespaces.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

Handler implements the logic to start and stop the reflection of resources.

func NewHandler

func NewHandler(localLiqoClient liqoclient.Interface, namespace string, resyncPeriod time.Duration) *Handler

NewHandler creates a new NamespaceMapEventHandler.

func (*Handler) Start

func (nh *Handler) Start(ctx context.Context, namespaceStartStopper manager.NamespaceStartStopper)

Start adds the handler to the informer, starts the informer, and waits for chache sync.

Directories

Path Synopsis
Package fake implements a fake namespace start and stopper used for testing purpouses.
Package fake implements a fake namespace start and stopper used for testing purpouses.

Jump to

Keyboard shortcuts

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