Search
Preparing search index...
The search index is not available
@threefold/grid_client
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@threefold/grid_client
DeploymentFactory
Class DeploymentFactory
Hierarchy
DeploymentFactory
Index
Constructors
constructor
Properties
config
Methods
Update
Deployment
create
from
Obj
Constructors
constructor
new
Deployment
Factory
(
config
:
GridClientConfig
)
:
DeploymentFactory
Parameters
config:
GridClientConfig
Returns
DeploymentFactory
Properties
config
config
:
GridClientConfig
Methods
Update
Deployment
Update
Deployment
(
oldDeployment
:
Deployment
, newDeployment
:
Deployment
, network
?:
Network
)
:
Promise
<
Deployment
>
Parameters
oldDeployment:
Deployment
newDeployment:
Deployment
network:
Network
= null
Returns
Promise
<
Deployment
>
create
create
(
workloads
:
Workload
[]
, expiration
:
number
, metadata
?:
string
, description
?:
string
, version
?:
number
)
:
Deployment
Parameters
workloads:
Workload
[]
expiration:
number
metadata:
string
= ""
description:
string
= ""
version:
number
= 0
Returns
Deployment
from
Obj
from
Obj
(
deployment
:
any
)
:
Promise
<
Deployment
>
Parameters
deployment:
any
Returns
Promise
<
Deployment
>
Exports
Deployment
Factory
constructor
config
Update
Deployment
create
from
Obj
Generated using
TypeDoc