Dagger NodeJS SDK
api/client.gen.CacheVolume
A directory whose contents persist across runs.
Hierarchy
-
BaseClient↳
CacheVolume
Constructors
constructor
new CacheVolume(parent?, _id?): CacheVolume
Constructor is used for internal usage only, do not create object from it.
Parameters
| Name | Type |
|---|---|
parent? | Object |
parent.ctx | Context |
parent.queryTree? | QueryTree[] |
_id? | CacheVolumeID |
Returns
Overrides
BaseClient.constructor
Properties
_id
Private Optional Readonly _id: CacheVolumeID = undefined
Methods
id
id(): Promise<CacheVolumeID>
A unique identifier for this CacheVolume.
Returns
Promise<CacheVolumeID>