path

package
v0.14.1 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(t *v1alpha1.Trigger) string

Generate generates the Path portion of a URI to send events to the given Trigger.

Types

type NamespacedNameUID

type NamespacedNameUID struct {
	types.NamespacedName
	UID types.UID
}

func Parse

func Parse(path string) (NamespacedNameUID, error)

Parse parses the Path portion of a URI to determine which Trigger the request corresponds to. It is expected to be in the form "/triggers/namespace/name/uid".

Jump to

Keyboard shortcuts

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