Utilities for working with container image references.
-
parse(input) ⇒
Reference
-
parse() splits an image reference into its various components.
-
NamedRepository :
Object
-
Reference :
Object
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. |
Kind: global typedef Properties
Name | Type | Description |
---|---|---|
[domain] | string |
The repository host and port information. |
[path] | string |
The image path. |
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. |
This package was adapted from the Golang
distribution/reference
package.