objectformats

package
v0.27.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloudProviderTableFormat

func CloudProviderTableFormat() output.FormatterOptions

CloudProviderTableFormat() configures the output format of a table to display the Name and Status of a cloud provider.

func GetApplicationGatewaysTableFormat

func GetApplicationGatewaysTableFormat() output.FormatterOptions

GetApplicationGatewaysTableFormat() returns a FormatterOptions object which contains a list of columns to be used for formatting the output of a list of application gateways.

func GetApplicationStatusTableFormat

func GetApplicationStatusTableFormat() output.FormatterOptions

GetApplicationStatusTableFormat() sets up the columns and headings for a table to display application names and resource counts.

func GetCloudProviderTableFormat

func GetCloudProviderTableFormat(credentialType string) output.FormatterOptions

GetCloudProviderTableFormat function returns a FormatterOptions struct based on the credentialType parameter, which can be either "azure" or "aws".

func GetEnvironmentRecipesTableFormat

func GetEnvironmentRecipesTableFormat() output.FormatterOptions

GetEnvironmentRecipesTableFormat() returns a FormatterOptions struct containing a list of Columns with their respective Headings and JSONPaths to be used for formatting the output of environment recipes.

func GetGenericEnvErrorTableFormat

func GetGenericEnvErrorTableFormat() output.FormatterOptions

GetGenericEnvErrorTableFormat() returns a FormatterOptions struct containing a single column with the heading "errors:" and a JSONPath to the Errors field.

func GetGenericEnvironmentTableFormat

func GetGenericEnvironmentTableFormat() output.FormatterOptions

GetGenericEnvironmentTableFormat returns a FormatterOptions struct containing a slice of Columns, each of which contains a Heading and JSONPath.

func GetRecipeParamsTableFormat

func GetRecipeParamsTableFormat() output.FormatterOptions

GetRecipeParamsTableFormat returns a FormatterOptions struct containing the column headings and JSONPaths for the recipe parameters table.

func GetResourceGroupTableFormat

func GetResourceGroupTableFormat() output.FormatterOptions

GetResourceGroupTableFormat() returns a FormatterOptions object containing a list of columns with their headings and JSONPaths.

func GetResourceTableFormat

func GetResourceTableFormat() output.FormatterOptions

GetResourceTableFormat() returns a FormatterOptions struct containing two columns, one for the resource name and one for the resource type.

func GetUpdateEnvironmentTableFormat

func GetUpdateEnvironmentTableFormat() output.FormatterOptions

GetUpdateEnvironmentTableFormat() returns a FormatterOptions object containing the column headings and JSONPaths for the environment table.

func GetWorkspaceTableFormat

func GetWorkspaceTableFormat() output.FormatterOptions

"GetWorkspaceTableFormat() returns a FormatterOptions object which contains a list of columns to be used for displaying workspace information such as name, kind, kubecontext and environment."

func TrimSpaceMulti

func TrimSpaceMulti(s string) string

TrimSpaceMulti takes in a string and returns a string with all leading and trailing whitespace removed from each line.

Types

type OutputEnvObject

type OutputEnvObject struct {
	EnvName     string
	ComputeKind string
	Recipes     int
	Providers   int
}

Jump to

Keyboard shortcuts

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