MCPcopy Index your code
hub / github.com/rilldata/rill / UpdateDeploymentDesiredStatus

Method UpdateDeploymentDesiredStatus

admin/database/database.go:113–113  ·  view source on GitHub ↗
(ctx context.Context, id string, desiredStatus DeploymentStatus)

Source from the content-addressed store, hash-verified

111 DeleteDeployment(ctx context.Context, id string) error
112 UpdateDeploymentStatus(ctx context.Context, id string, status DeploymentStatus, msg string) (*Deployment, error)
113 UpdateDeploymentDesiredStatus(ctx context.Context, id string, desiredStatus DeploymentStatus) (*Deployment, error)
114 // UpdateDeploymentUnsafe updates deployment fields that must only be called from the `reconcile_deployment` background job.
115 UpdateDeploymentUnsafe(ctx context.Context, id string, opts *UpdateDeploymentUnsafeOptions) (*Deployment, error)
116 // UpdateDeploymentSafe updates deployment fields that are safe to be called from anywhere. Any call to this should subsequently trigger a reconcile_deployment job.

Callers 4

StartDeploymentMethod · 0.65
StopDeploymentMethod · 0.65
UpdateDeploymentMethod · 0.65
TeardownDeploymentMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected