cmdutils

package
v0.0.0-test.20230316.4... Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SilenceUsageCommand

func SilenceUsageCommand() func(cmd *cobra.Command, args []string)

SilenceUsageCommand gives back a command that is just configured to skip printing of usage info. We use it as a PreRun hook to enforce the behavior of printing usage info when the command structure given by the user is faulty

func VerifyClusterGen

func VerifyClusterGen(envs manifest.Environments) error

VerifyClusterGen takes a manifestEnvironments map and tries to call the version endpoint of each environment in order to verify that the user has configured the environments correctly. Depending on the configured environment "type" the function tries to call the version endpoint of either classic gen or platform gen. The function will return an error as soon as it receives an error from calling the version endpoint of an environment

Types

This section is empty.

Jump to

Keyboard shortcuts

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