Documentation ¶
Index ¶
- Constants
- func InstanceToUnstructured(object runtime.Object) (*unstructured.Unstructured, error)
- func ResourceNotFoundError(g *gin.Context, runtimeData interface{}, err error)
- func RuntimeObjectToInstanceObj(obj runtime.Object, targetObj interface{}) error
- func ToInternalServerError(g *gin.Context, runtimeData interface{}, err error)
- func ToRequestParamsError(g *gin.Context, err error)
- func UnstructuredObjectToInstanceObj(obj *unstructured.Unstructured, targetObj interface{}) error
Constants ¶
View Source
const ( PageKey = "page" PageSize = "pageSize" )
Variables ¶
This section is empty.
Functions ¶
func InstanceToUnstructured ¶
func InstanceToUnstructured(object runtime.Object) (*unstructured.Unstructured, error)
func ResourceNotFoundError ¶
func ToInternalServerError ¶
func ToRequestParamsError ¶
func UnstructuredObjectToInstanceObj ¶
func UnstructuredObjectToInstanceObj(obj *unstructured.Unstructured, targetObj interface{}) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.