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?​
_asString?​
string
_digest?​
string
_isNull?​
boolean
_name?​
string
_typeName?​
string
Returns​
Binding
Overrides​
BaseClient.constructor
Methods​
asCacheVolume()​
asCacheVolume():
CacheVolume
Retrieve the binding value, as type CacheVolume
Returns​
asCloud()​
asCloud():
Cloud
Retrieve the binding value, as type Cloud
Returns​
asContainer()​
asContainer():
Container
Retrieve the binding value, as type Container
Returns​
asDirectory()​
asDirectory():
Directory
Retrieve the binding value, as type Directory
Returns​
asEnv()​
asEnv():
Env
Retrieve the binding value, as type Env
Returns​
asFile()​
asFile():
File
Retrieve the binding value, as type File
Returns​
asGitRef()​
asGitRef():
GitRef
Retrieve the binding value, as type GitRef
Returns​
asGitRepository()​
asGitRepository():
GitRepository
Retrieve the binding value, as type GitRepository
Returns​
asJSONValue()​
asJSONValue():
JSONValue
Retrieve the binding value, as type JSONValue
Returns​
asLLM()​
asLLM():
LLM
Retrieve the binding value, as type LLM
Returns​
asModule()​
asModule():
Module_
Retrieve the binding value, as type Module
Returns​
asModuleConfigClient()​
asModuleConfigClient():
ModuleConfigClient
Retrieve the binding value, as type ModuleConfigClient
Returns​
asModuleSource()​
asModuleSource():
ModuleSource
Retrieve the binding value, as type ModuleSource
Returns​
asSecret()​
asSecret():
Secret
Retrieve the binding value, as type Secret
Returns​
asService()​
asService():
Service
Retrieve the binding value, as type Service
Returns​
asSocket()​
asSocket():
Socket
Retrieve the binding value, as type Socket
Returns​
asString()​
asString():
Promise
<string
>
The binding's string value
Returns​
Promise
<string
>
digest()​
digest():
Promise
<string
>
The digest of the binding value
Returns​
Promise
<string
>
id()​
id():
Promise
<BindingID
>
A unique identifier for this Binding.
Returns​
Promise
<BindingID
>
isNull()​
isNull():
Promise
<boolean
>
Returns true if the binding is null
Returns​
Promise
<boolean
>
name()​
name():
Promise
<string
>
The binding name
Returns​
Promise
<string
>
typeName()​
typeName():
Promise
<string
>
The binding type
Returns​
Promise
<string
>