MCPcopy Create free account
hub / github.com/APIParkLab/APIPark / Accept

Method Accept

module/publish/iml.go:510–516  ·  view source on GitHub ↗
(ctx context.Context, serviceId string, id string, commits string)

Source from the content-addressed store, hash-verified

508}
509
510func (i *imlPublishModule) Accept(ctx context.Context, serviceId string, id string, commits string) error {
511 _, err := i.serviceService.Check(ctx, serviceId, asServer)
512 if err != nil {
513 return err
514 }
515 return i.publishService.Accept(ctx, serviceId, id, commits)
516}
517
518func (i *imlPublishModule) publish(ctx context.Context, id string, clusterId string, projectRelease *gateway.ProjectRelease) error {
519

Callers

nothing calls this directly

Calls 2

CheckMethod · 0.65
AcceptMethod · 0.65

Tested by

no test coverage detected