reference
Class: Package
package/package.Package
Package module - an object for descriptions of the payload required by the requestor.
Table of contents
Accessors
Methods
Accessors
details
• get
details(): PackageDetails
Returns
Defined in
Methods
create
▸ Static
create(options
): Package
Parameters
Name | Type |
---|---|
options | PackageOptions |
Returns
Defined in
getImageIdentifier
▸ Static
getImageIdentifier(str
): RequireAtLeastOne
<{ imageHash
: string
; imageTag
: string
}, "imageHash"
| "imageTag"
>
Parameters
Name | Type |
---|---|
str | string |
Returns
RequireAtLeastOne
<{ imageHash
: string
; imageTag
: string
}, "imageHash"
| "imageTag"
>
Defined in
GetHashFromTag
▸ Static
GetHashFromTag(tag
): string
Parameters
Name | Type |
---|---|
tag | string |
Returns
string
Defined in
getDemandDecoration
▸ getDemandDecoration(): Promise
<MarketDecoration
>
Returns
Promise
<MarketDecoration
>