0.1.1 • Published 1 year ago

@kubenode/reference v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@kubenode/reference

Utilities for working with container image references.

Functions

Typedefs

parse(input) ⇒ Reference

parse() splits an image reference into its various components.

Kind: global function

ParamTypeDescription
inputstringThe image reference string to parse.

NamedRepository : Object

Kind: global typedef Properties

NameTypeDescription
domainstringThe repository host and port information.
pathstringThe image path.

Reference : Object

Kind: global typedef Properties

NameTypeDescription
namedRepositoryNamedRepositoryObject holding the image host, port, and path information.
tagstringThe image tag if one exists.
digeststringThe image digest if one exists.

Acknowledgment

This package was adapted from the Golang distribution/reference package.

0.1.1

1 year ago

0.1.0

1 year ago