feat: basic volume plugin commands

This commit is contained in:
Nicolas Meienberger
2025-08-09 12:36:16 +02:00
parent 8d86f56b87
commit e7463d34ef
13 changed files with 222 additions and 9 deletions

View File

@@ -0,0 +1,17 @@
package driver
import (
"encoding/json"
"log"
"net/http"
)
func Activate(w http.ResponseWriter, r *http.Request) {
// Log the activation request
log.Printf("Received activation request: %s", r.URL.Path)
resp := map[string]any{
"Implements": []string{"VolumeDriver"},
}
_ = json.NewEncoder(w).Encode(resp)
}