printutils

package
v0.3.10-0-alpha2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 15, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

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 PrintInterfaceList(data interface{}, total, offset, limit int, columns []string)

func PrintInterfaceObject

func PrintInterfaceObject(obj interface{})

func PrintJSONBatchResults

func PrintJSONBatchResults(results []modulebase.SubmitResult, columns []string)

func PrintJSONList

func PrintJSONList(list *modulebase.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 PrintJSONObjectFunc

type PrintJSONObjectFunc func(string)

type PrintJSONObjectRecursiveExFunc

type PrintJSONObjectRecursiveExFunc func(jsonutils.JSONObject)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL