(ctx context.Context, id string)
| 733 | } |
| 734 | |
| 735 | func (c *connection) DeleteDeployment(ctx context.Context, id string) error { |
| 736 | res, err := c.getDB(ctx).ExecContext(ctx, "DELETE FROM deployments WHERE id=$1", id) |
| 737 | return checkDeleteRow("deployment", res, err) |
| 738 | } |
| 739 | |
| 740 | func (c *connection) UpdateDeploymentStatus(ctx context.Context, id string, status database.DeploymentStatus, message string) (*database.Deployment, error) { |
| 741 | res := &database.Deployment{} |
nothing calls this directly
no test coverage detected