Skip to main content

Dagger NodeJS SDK

api/client.gen.EnvVariable

An environment variable name and value.

Hierarchy

  • BaseClient

    EnvVariable

Constructors

constructor

new EnvVariable(parent?, _id?, _name?, _value?): EnvVariable

Constructor is used for internal usage only, do not create object from it.

Parameters

NameType
parent?Object
parent.ctxContext
parent.queryTree?QueryTree[]
_id?EnvVariableID
_name?string
_value?string

Returns

EnvVariable

Overrides

BaseClient.constructor

Properties

_id

Private Optional Readonly _id: EnvVariableID = undefined


_name

Private Optional Readonly _name: string = undefined


_value

Private Optional Readonly _value: string = undefined

Methods

id

id(): Promise<EnvVariableID>

A unique identifier for this EnvVariable.

Returns

Promise<EnvVariableID>


name

name(): Promise<string>

The environment variable name.

Returns

Promise<string>


value

value(): Promise<string>

The environment variable value.

Returns

Promise<string>