Skip to main content

Class: Binding

Extends

  • BaseClient

Constructors

Constructor

new Binding(ctx?, _id?, _asString?, _digest?, _isNull?, _name?, _typeName?): Binding

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

Parameters

ctx?

Context

_id?

ID

_asString?

string

_digest?

string

_isNull?

boolean

_name?

string

_typeName?

string

Returns

Binding

Overrides

BaseClient.constructor

Methods

asAddress()

asAddress(): Address

Retrieve the binding value, as type Address

Returns

Address


asCacheVolume()

asCacheVolume(): CacheVolume

Retrieve the binding value, as type CacheVolume

Returns

CacheVolume


asChangeset()

asChangeset(): Changeset

Retrieve the binding value, as type Changeset

Returns

Changeset


asCheck()

asCheck(): Check

Retrieve the binding value, as type Check

Returns

Check


asCheckGroup()

asCheckGroup(): CheckGroup

Retrieve the binding value, as type CheckGroup

Returns

CheckGroup


asCloud()

asCloud(): Cloud

Retrieve the binding value, as type Cloud

Returns

Cloud


asContainer()

asContainer(): Container

Retrieve the binding value, as type Container

Returns

Container


asDiffStat()

asDiffStat(): DiffStat

Retrieve the binding value, as type DiffStat

Returns

DiffStat


asDirectory()

asDirectory(): Directory

Retrieve the binding value, as type Directory

Returns

Directory


asEnv()

asEnv(): Env

Retrieve the binding value, as type Env

Returns

Env


asEnvFile()

asEnvFile(): EnvFile

Retrieve the binding value, as type EnvFile

Returns

EnvFile


asFile()

asFile(): File

Retrieve the binding value, as type File

Returns

File


asGenerator()

asGenerator(): Generator

Retrieve the binding value, as type Generator

Returns

Generator


asGeneratorGroup()

asGeneratorGroup(): GeneratorGroup

Retrieve the binding value, as type GeneratorGroup

Returns

GeneratorGroup


asGitRef()

asGitRef(): GitRef

Retrieve the binding value, as type GitRef

Returns

GitRef


asGitRepository()

asGitRepository(): GitRepository

Retrieve the binding value, as type GitRepository

Returns

GitRepository


asHTTPState()

asHTTPState(): HTTPState

Retrieve the binding value, as type HTTPState

Returns

HTTPState


asJSONValue()

asJSONValue(): JSONValue

Retrieve the binding value, as type JSONValue

Returns

JSONValue


asModule()

asModule(): Module_

Retrieve the binding value, as type Module

Returns

Module_


asModuleConfigClient()

asModuleConfigClient(): ModuleConfigClient

Retrieve the binding value, as type ModuleConfigClient

Returns

ModuleConfigClient


asModuleSource()

asModuleSource(): ModuleSource

Retrieve the binding value, as type ModuleSource

Returns

ModuleSource


asSearchResult()

asSearchResult(): SearchResult

Retrieve the binding value, as type SearchResult

Returns

SearchResult


asSearchSubmatch()

asSearchSubmatch(): SearchSubmatch

Retrieve the binding value, as type SearchSubmatch

Returns

SearchSubmatch


asSecret()

asSecret(): Secret

Retrieve the binding value, as type Secret

Returns

Secret


asService()

asService(): Service

Retrieve the binding value, as type Service

Returns

Service


asSocket()

asSocket(): Socket

Retrieve the binding value, as type Socket

Returns

Socket


asStat()

asStat(): Stat

Retrieve the binding value, as type Stat

Returns

Stat


asString()

asString(): Promise<string>

Returns the binding's string value

Returns

Promise<string>


asUp()

asUp(): Up

Retrieve the binding value, as type Up

Returns

Up


asUpGroup()

asUpGroup(): UpGroup

Retrieve the binding value, as type UpGroup

Returns

UpGroup


asWorkspace()

asWorkspace(): Workspace

Retrieve the binding value, as type Workspace

Returns

Workspace


digest()

digest(): Promise<string>

Returns the digest of the binding value

Returns

Promise<string>


id()

id(): Promise<ID>

A unique identifier for this Binding.

Returns

Promise<ID>


isNull()

isNull(): Promise<boolean>

Returns true if the binding is null

Returns

Promise<boolean>


name()

name(): Promise<string>

Returns the binding name

Returns

Promise<string>


typeName()

typeName(): Promise<string>

Returns the binding type

Returns

Promise<string>