(ctx *gin.Context, clusterId string, input *cluster_dto.ResetCluster)
| 22 | } |
| 23 | |
| 24 | func (p *imlCluster) ResetCluster(ctx *gin.Context, clusterId string, input *cluster_dto.ResetCluster) ([]*cluster_dto.Node, error) { |
| 25 | if clusterId == "" { |
| 26 | clusterId = "default" |
| 27 | } |
| 28 | return p.module.ResetCluster(ctx, clusterId, input.ManagerAddress) |
| 29 | } |
| 30 | |
| 31 | func (p *imlCluster) Check(ctx *gin.Context, input *cluster_dto.CheckCluster) ([]*cluster_dto.Node, error) { |
| 32 | return p.module.CheckCluster(ctx, input.Address) |
nothing calls this directly
no test coverage detected