Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WrapHandler ¶
func WrapHandler(handler HandlerFunc) gin.HandlerFunc
Types ¶
type Error ¶
type Error struct { // Machine-readable error code. HTTPStatusCode int `json:"http_status_code,omitempty"` // Human-readable message. Message string `json:"message,omitempty"` Request string `json:"request,omitempty"` // Logical operation and nested error. Op string `json:"op,omitempty"` Err error `json:"error,omitempty"` }
Error defines a standard application error.
type HandlerFunc ¶
Source Files ¶
- error.go
- handler_build_create.go
- handler_build_get.go
- handler_build_list.go
- handler_build_logs.go
- handler_healthz.go
- handler_inference_create.go
- handler_inference_delete.go
- handler_inference_get.go
- handler_inference_instance.go
- handler_inference_instance_exec.go
- handler_inference_list.go
- handler_inference_logs.go
- handler_inference_proxy.go
- handler_inference_scale.go
- handler_inference_update.go
- handler_info.go
- handler_namespace_create.go
- handler_namespace_list.go
- handler_root.go
- handler_server_label_create.go
- handler_server_list.go
- middleware_callid.go
- server_factory.go
- server_handlerfunc.go
- server_init_kubernetes.go
- server_init_logs.go
- server_init_metrics.go
- server_init_route.go
- server_run.go
Click to show internal directories.
Click to hide internal directories.