(ctx *gin.Context, clusterId string)
| 15 | } |
| 16 | |
| 17 | func (p *imlCluster) Nodes(ctx *gin.Context, clusterId string) ([]*cluster_dto.Node, error) { |
| 18 | if clusterId == "" { |
| 19 | clusterId = "default" |
| 20 | } |
| 21 | return p.module.ClusterNodes(ctx, clusterId) |
| 22 | } |
| 23 | |
| 24 | func (p *imlCluster) ResetCluster(ctx *gin.Context, clusterId string, input *cluster_dto.ResetCluster) ([]*cluster_dto.Node, error) { |
| 25 | if clusterId == "" { |
nothing calls this directly
no test coverage detected