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

Method ResetCluster

controller/cluster/iml.go:24–29  ·  view source on GitHub ↗
(ctx *gin.Context, clusterId string, input *cluster_dto.ResetCluster)

Source from the content-addressed store, hash-verified

22}
23
24func (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
31func (p *imlCluster) Check(ctx *gin.Context, input *cluster_dto.CheckCluster) ([]*cluster_dto.Node, error) {
32 return p.module.CheckCluster(ctx, input.Address)

Callers

nothing calls this directly

Calls 1

ResetClusterMethod · 0.65

Tested by

no test coverage detected