Files
portainer/api/http/handler/helm/helm_delete.go
T
Richard Wei 305b874656 feat(helm): add helm chart backport to ce EE-1409 (#5425)
* EE-1311 Helm Chart Backport from EE

* backport to ce

Co-authored-by: Matt Hook <hookenz@gmail.com>
2021-09-07 13:47:03 +12:00

27 lines
648 B
Go

package helm
import (
"net/http"
httperror "github.com/portainer/libhttp/error"
)
// @id HelmDelete
// @summary Delete Helm Chart(s)
// @description
// @description **Access policy**: authorized
// @tags helm_chart
// @security jwt
// @accept json
// @produce json
// @param
// @success 204 {object} portainer.Helm "Success" - TODO
// @failure 401 "Unauthorized"
// @failure 404 "Endpoint or ServiceAccount not found"
// @failure 500 "Server error"
// @router /kubernetes/helm/{release} [delete]
func (handler *Handler) helmDelete(w http.ResponseWriter, r *http.Request) *httperror.HandlerError {
w.Write([]byte("Helm Delete"))
return nil
}