mirror of
https://github.com/containers/podman.git
synced 2025-05-28 13:40:33 +08:00

add the openapi/swagger documentation for exec. The subcommands added are create, inspect, resize, and start. at the time of this writing, no structure is declared for the inspect response. once the libpod work for this is complete, we can inherit and swaggerize it. Signed-off-by: Brent Baude <bbaude@redhat.com>
26 lines
796 B
Go
26 lines
796 B
Go
package handlers
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
"github.com/containers/libpod/libpod/define"
|
|
"github.com/containers/libpod/pkg/api/handlers/utils"
|
|
)
|
|
|
|
func CreateExec(w http.ResponseWriter, r *http.Request) {
|
|
utils.Error(w, "function not implemented", http.StatusInternalServerError, define.ErrNotImplemented)
|
|
}
|
|
|
|
func StartExec(w http.ResponseWriter, r *http.Request) {
|
|
utils.Error(w, "function not implemented", http.StatusInternalServerError, define.ErrNotImplemented)
|
|
}
|
|
|
|
func ResizeExec(w http.ResponseWriter, r *http.Request) {
|
|
utils.Error(w, "function not implemented", http.StatusInternalServerError, define.ErrNotImplemented)
|
|
|
|
}
|
|
|
|
func InspectExec(w http.ResponseWriter, r *http.Request) {
|
|
utils.Error(w, "function not implemented", http.StatusInternalServerError, define.ErrNotImplemented)
|
|
}
|