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

Method Nodes

controller/cluster/iml.go:17–22  ·  view source on GitHub ↗
(ctx *gin.Context, clusterId string)

Source from the content-addressed store, hash-verified

15}
16
17func (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
24func (p *imlCluster) ResetCluster(ctx *gin.Context, clusterId string, input *cluster_dto.ResetCluster) ([]*cluster_dto.Node, error) {
25 if clusterId == "" {

Callers

nothing calls this directly

Calls 1

ClusterNodesMethod · 0.65

Tested by

no test coverage detected