@kubenode/reference
v0.1.1
Published
Utilities for working with container image references
Downloads
12
Readme
@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
| Param | Type | Description | | --- | --- | --- | | input | string | The image reference string to parse. |
NamedRepository : Object
Kind: global typedef Properties
| Name | Type | Description | | --- | --- | --- | | [domain] | string | The repository host and port information. | | [path] | string | The image path. |
Reference : Object
Kind: global typedef Properties
| Name | Type | Description | | --- | --- | --- | | namedRepository | NamedRepository | Object holding the image host, port, and path information. | | [tag] | string | The image tag if one exists. | | [digest] | string | The image digest if one exists. |
Acknowledgment
This package was adapted from the Golang
distribution/reference
package.
