Skip to main content

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

NameType
parent?Object
parent.ctxContext
parent.queryTree?QueryTree[]
_id?CacheVolumeID

Returns

CacheVolume

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>