Files
Brent Baude 81296cba82 [CI:DOCS]add apiv2 endpoints for exec
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>
2020-02-03 12:40:01 -06:00

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)
}