namespace

package
v0.1.6 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NamespaceInfo

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

func NewNamespaceInfo

func NewNamespaceInfo(lister corev1Listers.NamespaceLister, rateLimitUnitAnnotation, requestsPerUnitAnnotation string) *NamespaceInfo

func (*NamespaceInfo) OnMesh added in v0.1.2

func (n *NamespaceInfo) OnMesh(namespace string) (bool, error)

func (*NamespaceInfo) RateLimit

func (n *NamespaceInfo) RateLimit(namespace string) (*sensor.RateLimit, error)

Retrieves the namespace RateLimit values if exists, nil otherwise.

Jump to

Keyboard shortcuts

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