printutils

package
v2.1.23+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2018 License: Apache-2.0 Imports: 8 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 []modules.SubmitResult, columns []string)

func PrintJSONList

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