(ctx *gin.Context, serviceId string, input *dto.ApplyInput)
| 71 | } |
| 72 | |
| 73 | func (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 | |
| 81 | func (c *imlPublishController) CheckPublish(ctx *gin.Context, serviceId string, releaseId string) (*dto.DiffOut, error) { |
| 82 | return c.publishModule.CheckPublish(ctx, serviceId, releaseId) |