references

package
v0.1.19787 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2022 License: MIT Imports: 3 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsDevVersion

func IsDevVersion(version string) bool

IsDevVersion returns true or false depending if `version` is of the form dev:...

func IsOrbRefWithOptionalVersion added in v0.1.2933

func IsOrbRefWithOptionalVersion(ref string) error

IsOrbRefWithOptionalVersion returns an error unless ref is a valid orb reference with optional version.

func SplitIntoOrbAndNamespace

func SplitIntoOrbAndNamespace(ref string) (namespace, orb string, err error)

SplitIntoOrbAndNamespace splits ref into 2 strings, namespace and orb.

func SplitIntoOrbNamespaceAndVersion

func SplitIntoOrbNamespaceAndVersion(ref string) (namespace, orb, version string, err error)

SplitIntoOrbNamespaceAndVersion splits ref into namespace, orb and version.

Types

This section is empty.

Jump to

Keyboard shortcuts

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