Documentation ¶
Index ¶
- func CloudProviderTableFormat() output.FormatterOptions
- func GetApplicationGatewaysTableFormat() output.FormatterOptions
- func GetApplicationStatusTableFormat() output.FormatterOptions
- func GetCloudProviderTableFormat(credentialType string) output.FormatterOptions
- func GetEnvironmentRecipesTableFormat() output.FormatterOptions
- func GetGenericEnvErrorTableFormat() output.FormatterOptions
- func GetGenericEnvironmentTableFormat() output.FormatterOptions
- func GetRecipeParamsTableFormat() output.FormatterOptions
- func GetResourceGroupTableFormat() output.FormatterOptions
- func GetResourceTableFormat() output.FormatterOptions
- func GetUpdateEnvironmentTableFormat() output.FormatterOptions
- func GetWorkspaceTableFormat() output.FormatterOptions
- func TrimSpaceMulti(s string) string
- type OutputEnvObject
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 ¶
TrimSpaceMulti takes in a string and returns a string with all leading and trailing whitespace removed from each line.