nskeeper

package
v0.0.0-...-9c723d5 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NSKeeper

type NSKeeper struct {
	client.Client
	// contains filtered or unexported fields
}

func MakeNSKeeper

func MakeNSKeeper(cli client.Client) *NSKeeper

func (*NSKeeper) AddNamespace

func (k *NSKeeper) AddNamespace(ns string) (isNew bool)

func (*NSKeeper) DeleteNamespace

func (k *NSKeeper) DeleteNamespace(ns string)

func (*NSKeeper) DeregisterNamespaceRegex

func (k *NSKeeper) DeregisterNamespaceRegex(mirror types.NamespacedName)

func (*NSKeeper) FindMatchingMirrors

func (k *NSKeeper) FindMatchingMirrors(ns string) []types.NamespacedName

func (*NSKeeper) FindMatchingNamespaces

func (k *NSKeeper) FindMatchingNamespaces(mirror types.NamespacedName) []string

func (*NSKeeper) InitNamespaces

func (k *NSKeeper) InitNamespaces(ctx context.Context)

func (*NSKeeper) RegisterNamespaceRegex

func (k *NSKeeper) RegisterNamespaceRegex(mirror types.NamespacedName, regexps []*regexp.Regexp)

Jump to

Keyboard shortcuts

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