Documentation ¶
Index ¶
- func PrintGetterList(data interface{}, columns []string)
- func PrintGetterObject(obj interface{})
- func PrintInterfaceList(data interface{}, total, offset, limit int, columns []string)
- func PrintInterfaceObject(obj interface{})
- func PrintJSONBatchResults(results []SubmitResult, columns []string)
- func PrintJSONList(list *ListResult, columns []string)
- func PrintJSONObject(obj jsonutils.JSONObject)
- func PrintJSONObjectRecursive(obj jsonutils.JSONObject)
- func PrintJSONObjectRecursiveEx(obj jsonutils.JSONObject, cb PrintJSONObjectRecursiveExFunc)
- type ListResult
- type PrintJSONObjectFunc
- type PrintJSONObjectRecursiveExFunc
- type SubmitResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrintGetterList ¶
func PrintGetterList(data interface{}, columns []string)
func PrintGetterObject ¶
func PrintGetterObject(obj interface{})
func PrintInterfaceList ¶
func PrintInterfaceObject ¶
func PrintInterfaceObject(obj interface{})
func PrintJSONBatchResults ¶
func PrintJSONBatchResults(results []SubmitResult, columns []string)
func PrintJSONList ¶
func PrintJSONList(list *ListResult, columns []string)
func PrintJSONObject ¶
func PrintJSONObject(obj jsonutils.JSONObject)
func PrintJSONObjectRecursive ¶
func PrintJSONObjectRecursive(obj jsonutils.JSONObject)
func PrintJSONObjectRecursiveEx ¶
func PrintJSONObjectRecursiveEx(obj jsonutils.JSONObject, cb PrintJSONObjectRecursiveExFunc)
Types ¶
type ListResult ¶
type ListResult struct { Data []jsonutils.JSONObject `json:"data,allowempty"` Total int `json:"total"` Limit int `json:"limit"` Offset int `json:"offset"` Totals jsonutils.JSONObject `json:"totals"` NextMarker string MarkerField string MarkerOrder string }
type PrintJSONObjectFunc ¶
type PrintJSONObjectFunc func(string)
type PrintJSONObjectRecursiveExFunc ¶
type PrintJSONObjectRecursiveExFunc func(jsonutils.JSONObject)
type SubmitResult ¶
type SubmitResult struct { Status int Id interface{} Data jsonutils.JSONObject }
Click to show internal directories.
Click to hide internal directories.