Semaphore/api/terraform.go
2024-12-16 02:30:06 +05:00

28 lines
643 B
Go

//go:build !pro
package api
import "net/http"
func TerraformInventoryAliasMiddleware(next http.Handler) http.Handler {
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
next.ServeHTTP(w, r)
})
}
func getTerraformState(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotFound)
}
func addTerraformState(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotFound)
}
func lockTerraformState(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotFound)
}
func unlockTerraformState(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusNotFound)
}