output

package
v0.1.26 Latest Latest
Warning

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

Go to latest
Published: May 28, 2023 License: Apache-2.0 Imports: 14 Imported by: 32

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AsJson added in v0.1.9

func AsJson(v any) (string, error)

func AsTable added in v0.1.9

func AsTable[T any](dataList []T, dataName string, columns []string, getColumnData func(T) []map[string]string) (string, error)

func AsYaml added in v0.1.9

func AsYaml(v any) (string, error)

func FormatAccessGraph added in v0.1.13

func FormatAccessGraph(accessGraph cloudapi.AccessGraph)

func FormatClusters added in v0.1.9

func FormatClusters(clusters []cloudapi.Cluster)

func FormatEnvs added in v0.1.9

func FormatEnvs(envs []cloudapi.Environment)

func FormatIntegrations added in v0.1.9

func FormatIntegrations(integrations []cloudapi.Integration, includeCreds bool)

func FormatIntents added in v0.1.9

func FormatIntents(intents []cloudapi.Intent)

func FormatInvites added in v0.1.9

func FormatInvites(invites []cloudapi.Invite)

func FormatList added in v0.1.9

func FormatList[T any](dataList []T, dataName string, columns []string, getColumnData func(T) []map[string]string) (string, error)

func FormatNamespaces added in v0.1.9

func FormatNamespaces(namespaces []cloudapi.Namespace)

func FormatOrganizations added in v0.1.9

func FormatOrganizations(organizations []cloudapi.Organization)

func FormatServices added in v0.1.9

func FormatServices(services []cloudapi.Service)

func FormatUsers added in v0.1.9

func FormatUsers(users []cloudapi.User)

func PrintFormatList added in v0.1.9

func PrintFormatList[T any](dataList []T, dataName string, columns []string, getColumnData func(T) []map[string]string)

func PrintStderr

func PrintStderr(format string, a ...any)

func PrintStdout

func PrintStdout(format string, a ...any)

Types

This section is empty.

Jump to

Keyboard shortcuts

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