Documentation ¶
Index ¶
- func AsJson(v any) (string, error)
- func AsTable[T any](dataList []T, columns []string, getColumnData func(T) []map[string]string) (string, error)
- func AsYaml(v any) (string, error)
- func FormatAccessGraph(accessGraph cloudapi.AccessGraph)
- func FormatClusters(clusters []cloudapi.Cluster)
- func FormatEnvs(envs []cloudapi.Environment)
- func FormatIntegrations(integrations []cloudapi.Integration, includeCreds bool)
- func FormatIntents(intents []cloudapi.Intent)
- func FormatInvites(invites []cloudapi.Invite)
- func FormatList[T any](dataList []T, columns []string, getColumnData func(T) []map[string]string) (string, error)
- func FormatNamespaces(namespaces []cloudapi.Namespace)
- func FormatOrganizations(organizations []cloudapi.Organization)
- func FormatServices(services []cloudapi.Service)
- func FormatUsers(users []cloudapi.User)
- func PrintFormatList[T any](dataList []T, columns []string, getColumnData func(T) []map[string]string)
- func PrintStderr(format string, a ...any)
- func PrintStdout(format string, a ...any)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatAccessGraph ¶ added in v0.1.13
func FormatAccessGraph(accessGraph cloudapi.AccessGraph)
func FormatClusters ¶ added in v0.1.9
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 FormatInvites ¶ added in v0.1.9
func FormatList ¶ added in v0.1.9
func FormatNamespaces ¶ added in v0.1.9
func FormatOrganizations ¶ added in v0.1.9
func FormatOrganizations(organizations []cloudapi.Organization)
func FormatServices ¶ added in v0.1.9
func FormatUsers ¶ added in v0.1.9
func PrintFormatList ¶ added in v0.1.9
func PrintStderr ¶
func PrintStdout ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.