(c *gin.Context)
| 68 | } |
| 69 | |
| 70 | func (handler *ClusterHandler) Get(c *gin.Context) { |
| 71 | cluster, _ := c.MustGet(consts.ContextKeyCluster).(*store.Cluster) |
| 72 | helper.ResponseOK(c, gin.H{"cluster": cluster}) |
| 73 | } |
| 74 | |
| 75 | func (handler *ClusterHandler) Create(c *gin.Context) { |
| 76 | namespace := c.Param("namespace") |