1
0
Fork 0
mirror of https://github.com/containers/ansible-podman-collections.git synced 2026-02-04 07:11:49 +00:00

Add inventory plugins for buildah and podman (#963)

Add inventory plugins for buildah and podman, unit tests and functional CI tests.
---------

Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
This commit is contained in:
Sergey 2025-08-13 16:48:50 +03:00 committed by GitHub
parent fb76891c50
commit 6ee2f3891b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
57 changed files with 3856 additions and 8899 deletions

View file

@ -0,0 +1,19 @@
package main
import (
"fmt"
"math/rand"
"net/http"
)
func predict(w http.ResponseWriter, r *http.Request) {
fmt.Fprintf(w, "prediction=%f\n", rand.Float64())
}
func main() {
http.HandleFunc("/predict", predict)
fmt.Println("Inference engine listening on :8080")
http.ListenAndServe(":8080", nil)
}