output

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2024 License: Apache-2.0 Imports: 14 Imported by: 2 modules, 32 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 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