Class: Binding
Extends
BaseClient
Constructors
Constructor
new Binding(
ctx
?,_id
?,_digest
?,_name
?,_typeName
?):Binding
Constructor is used for internal usage only, do not create object from it.
Parameters
ctx?
Context
_id?
_digest?
string
_name?
string
_typeName?
string
Returns
Binding
Overrides
BaseClient.constructor
Methods
asCacheVolume()
asCacheVolume():
CacheVolume
Retrieve the binding value, as type CacheVolume
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
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
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
>
name()
name():
Promise
<string
>
The binding name
Returns
Promise
<string
>
typeName()
typeName():
Promise
<string
>
The binding type
Returns
Promise
<string
>