namespace

package
v0.0.0-...-2332900 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InformerWatcher

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

func NewInformerWatcher

func NewInformerWatcher(clientset *kubernetes.Clientset) *InformerWatcher

func (*InformerWatcher) Start

func (w *InformerWatcher) Start(ctx context.Context, includePatterns, excludePatterns []*Pattern, handler NamespaceHandler) error

func (*InformerWatcher) Stop

func (w *InformerWatcher) Stop()

type NamespaceHandler

type NamespaceHandler interface {
	OnNamespaceAdded(namespace string) error
	OnNamespaceDeleted(namespace string) error
}

type Pattern

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

func ParsePatterns

func ParsePatterns(patterns []string) ([]*Pattern, error)

func (*Pattern) String

func (p *Pattern) String() string

Jump to

Keyboard shortcuts

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