Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UpdateDeploymentWithReplicas ¶
func UpdateDeploymentWithReplicas(spec cfapp.CloudflowApplicationSpec, streamletName string, replicas int) (cfapp.CloudflowApplicationSpec, error)
UpdateDeploymentWithReplicas updates a deployment for a specific streamlet with a new value for replicas
func UpdateReplicas ¶
func UpdateReplicas(applicationClient *cfapp.CloudflowApplicationClient, applicationSpec cfapp.CloudflowApplicationSpec, replicasByStreamletName map[string]int) (cfapp.CloudflowApplicationSpec, error)
UpdateReplicas updates the deployment replicas in application spec with values from replicasByStreamletName
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.