Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GetServerConfigCmd = &cobra.Command{ Use: "get-server-config", Short: "Print the current configuration of the controller", Long: ``, Run: func(cmd *cobra.Command, args []string) { cli := utils.GetClientOutOfCluster() apiExtensionsClientset := utils.GetAPIExtensionsClientOutOfCluster() config, err := utils.GetKubelessConfig(cli, apiExtensionsClientset) if err != nil { logrus.Fatalf("Unable to read the configmap: %v", err) } var lr = langruntime.New(config) lr.ReadConfigMap() logrus.Info("Current Server Config:") logrus.Infof("Supported Runtimes are: %s", strings.Join(lr.GetRuntimes(), ", ")) }, }
GetServerConfigCmd contains first-class command for displaying the current server config
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.