MCPcopy Create free account
hub / github.com/bytebase/bytebase / createRollout

Method createRollout

backend/api/mcp/tool_change.go:473–477  ·  view source on GitHub ↗

createRollout creates a rollout for a plan.

(ctx context.Context, planName string)

Source from the content-addressed store, hash-verified

471
472// createRollout creates a rollout for a plan.
473func (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.
480func deriveNextAction(approvalStatus string) string {

Callers 1

handleChangeMethod · 0.95

Calls 1

callAPIMethod · 0.95

Tested by

no test coverage detected