createRollout creates a rollout for a plan.
(ctx context.Context, planName string)
| 471 | |
| 472 | // createRollout creates a rollout for a plan. |
| 473 | func (s *Server) createRollout(ctx context.Context, planName string) (string, error) { |
| 474 | return s.callAPI(ctx, "/bytebase.v1.RolloutService/CreateRollout", "create rollouts", "bb.rollouts.create", map[string]any{ |
| 475 | "parent": planName, |
| 476 | }) |
| 477 | } |
| 478 | |
| 479 | // deriveNextAction maps approvalStatus to the next agent action. |
| 480 | func deriveNextAction(approvalStatus string) string { |