key

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(s string) (resourceType, name string, ok bool)

Decode parses the given string into {resource type, resource name}, returns false if not a valid key.

func Encode

func Encode(resourceType, name string) string

Encode constructs the given {resource type, resource name} into a valid key.

Types

This section is empty.

Jump to

Keyboard shortcuts

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