MCPcopy Create free account
hub / github.com/apache/kvrocks-controller / Remove

Method Remove

server/api/namespace.go:83–90  ·  view source on GitHub ↗
(c *gin.Context)

Source from the content-addressed store, hash-verified

81}
82
83func (handler *NamespaceHandler) Remove(c *gin.Context) {
84 namespace := c.Param("namespace")
85 if err := handler.s.RemoveNamespace(c, namespace); err != nil {
86 helper.ResponseError(c, err)
87 return
88 }
89 helper.ResponseNoContent(c)
90}

Callers 1

TestNamespaceBasicsFunction · 0.95

Calls 3

ResponseErrorFunction · 0.92
ResponseNoContentFunction · 0.92
RemoveNamespaceMethod · 0.65

Tested by 1

TestNamespaceBasicsFunction · 0.76