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

Method Apply

controller/publish/iml.go:73–79  ·  view source on GitHub ↗
(ctx *gin.Context, serviceId string, input *dto.ApplyInput)

Source from the content-addressed store, hash-verified

71}
72
73func (c *imlPublishController) Apply(ctx *gin.Context, serviceId string, input *dto.ApplyInput) (*dto.Publish, error) {
74 apply, err := c.publishModule.Apply(ctx, serviceId, input)
75 if err != nil {
76 return nil, err
77 }
78 return apply, nil
79}
80
81func (c *imlPublishController) CheckPublish(ctx *gin.Context, serviceId string, releaseId string) (*dto.DiffOut, error) {
82 return c.publishModule.CheckPublish(ctx, serviceId, releaseId)

Callers

nothing calls this directly

Calls 1

ApplyMethod · 0.65

Tested by

no test coverage detected