nsname

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2022 License: MIT Imports: 4 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidID = errors.New("Invalid ID")

Functions

This section is empty.

Types

type NSName

type NSName struct {
	Namespace string
	Name      string
}

func ForObject

func ForObject(obj metav1.Object) NSName

func New

func New(ns, name string) NSName

func Parse

func Parse(id string) (NSName, error)

func (NSName) String

func (obj NSName) String() string

Jump to

Keyboard shortcuts

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