fqfn

package
v0.4.8 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NamespaceDefault = "default"
)

NamespaceDefault and others represent conts for namespaces.

Variables

This section is empty.

Functions

func FromParts

func FromParts(ident, namespace, fn, version string) string

func FromURL

func FromURL(u *url.URL) (string, error)

Types

type FQFN

type FQFN struct {
	Identifier string `json:"identifier"`
	Namespace  string `json:"namespace"`
	Fn         string `json:"fn"`
	Version    string `json:"version"`
}

FQFN is a parsed fqfn.

func Parse

func Parse(name string) FQFN

func (FQFN) HeadlessURLPath

func (f FQFN) HeadlessURLPath() string

HeadlessURLPath returns the headless URL path for a function.

Jump to

Keyboard shortcuts

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