package
0.0.0-20201030152735-fb2c2569e15d
Repository: https://github.com/rafalpotempa/control-plane.git
Documentation: pkg.go.dev

# Functions

CLICredentialManager returns a credential.Manager configured using the CLI global options.
New constructs a new root command for the kcp CLI.
NewKubeconfigCmd constructs a new instance of KubeconfigCommand and configures it in terms of a cobra.Command.
NewLoginCmd constructs a new instance of LoginCommand and configures it in terms of a cobra.Command.
NewOrchestrationCmd constructs a new instance of OrchestrationCommand and configures it in terms of a cobra.Command.
NewRuntimeCmd constructs a new instance of RuntimeCommand and configures it in terms of a cobra.Command.
NewTaskRunCmd constructs a new instance of TaskRunCommand and configures it in terms of a cobra.Command.
NewUpgradeCmd constructs the upgrade command and all subcommands under the upgrade command.
NewUpgradeKymaCmd constructs a new instance of UpgradeKymaCommand and configures it in terms of a cobra.Command.
SetGlobalOpts configures the global parameters on the given root command.
SetOutputOpt configures the optput type option on the given command.
SetRuntimeTargetOpts configures runtime target options on the given command.
ValidateGlobalOpts checks the presence of the required global configuration parameters.
ValidateOutputOpt checks whether the given optput type is one of the valid values.
ValidateTransformRuntimeTargetOpts checks the validity of runtime target options, and transforms them for internal usage.

# Variables

GlobalOpts is the convenience object for storing the fixed global conifguration (parameter) keys.
Version is the CLI version to be filled in by the build system.

# Structs

GlobalOptionsKey is the type for holding the configuration key for each global parameter.
KubeconfigCommand represents an execution of the kcp kubeconfig command.
LoginCommand represents an execution of the kcp login command.
OrchestrationCommand represents an execution of the kcp orchestrations command.
RuntimeCommand represents an execution of the kcp runtimes command.
TaskRunCommand represents an execution of the kcp taskrun command.
UpgradeCommand is the base type of all subcommands under the upgrade command.
UpgradeKymaCommand represents an execution of the kcp upgrade kyma command.