k8snamespace

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NamespaceCache

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

func NewWatcher

func NewWatcher(ctx context.Context) (*NamespaceCache, error)

func (*NamespaceCache) Get

func (c *NamespaceCache) Get(name string) (*v1.Namespace, error)

GetNamespace finds the Namespace by its name

type NamespaceGetter

type NamespaceGetter interface {
	Get(string) (*v1.Namespace, error)
}

Jump to

Keyboard shortcuts

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