helper

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IDSep             = "/"
	NamespacedNameSep = "/"
)

Variables

This section is empty.

Functions

func BuildID

func BuildID(namespace, name string) string

func BuildNamespacedName

func BuildNamespacedName(namespace, name string) string

func BuildNamespacedNameFromID

func BuildNamespacedNameFromID(id string, defaultNamespace string) (string, error)

func IDParts

func IDParts(id string) (string, string, error)

func NamespacedNameParts

func NamespacedNameParts(namespacedName string) (string, string, error)

func NamespacedNamePartsByDefault

func NamespacedNamePartsByDefault(namespacedName string, defaultNamespace string) (string, string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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