Documentation ¶
Index ¶
- func FailWithStatus(w http.ResponseWriter, req *http.Request, code int32, err error)
- func NewErrorRequestStatus(code int32, reason metav1.StatusReason, err error) *metav1.Status
- func NewSuccessStatus() *metav1.Status
- func SucceedWithObject(w http.ResponseWriter, obj interface{})
- func SucceedWithStatus(w http.ResponseWriter)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FailWithStatus ¶
func NewErrorRequestStatus ¶
func NewSuccessStatus ¶
func SucceedWithObject ¶
func SucceedWithObject(w http.ResponseWriter, obj interface{})
func SucceedWithStatus ¶
func SucceedWithStatus(w http.ResponseWriter)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.