Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsNotFoundError ¶
func PanicIfUnauthorized ¶ added in v1.5.2
func PanicIfUnauthorized(err error)
PanicIfUnauthorized panics if the provided error is due to `http.StatusUnauthorized`. Use this helper to slow down Engine requests by triggering a CrashLoopBackoff. NOTE: This helper only works for errors returned by go-anxcloud.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.