package api import ( "context" "encoding/json" "fmt" "strings" "time" "fission-console/internal/fission" "fission-console/internal/model" "fission-console/internal/runtime" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" apierrors "k8s.io/apimachinery/pkg/api/errors" ) func (s *Server) handleCreateFunction(w http.ResponseWriter, r *http.Request) { // ...existing code... } func (s *Server) handleGetFunction(w http.ResponseWriter, r *http.Request, name string) { // ...existing code... } func (s *Server) handleUpdateFunctionCode(w http.ResponseWriter, r *http.Request, name string) { // ...existing code... } func (s *Server) handleDeleteFunction(w http.ResponseWriter, r *http.Request, name string) { // ...existing code... }