namespace

package
v0.0.0-...-40d845c Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const ALL string = "all"

ALL Namespaces constant for unified text

Variables

This section is empty.

Functions

This section is empty.

Types

type NsManager

type NsManager struct {
	NamespaceMap       map[string]bool
	IgnoreNamespaceMap map[string]bool
	// contains filtered or unexported fields
}

NsManager is a function wrapper that is used to determine if a namespace n should be included

func (*NsManager) DisableAllNamespaces

func (m *NsManager) DisableAllNamespaces()

func (*NsManager) IncludeNamespace

func (m *NsManager) IncludeNamespace(n string) bool

IncludeNamespace is exported method to determine if a namespace should be included

func (*NsManager) Init

func (m *NsManager) Init()

Init initializes NsManager's Namespaces

Jump to

Keyboard shortcuts

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