Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var PreCheckCmd = &cobra.Command{ Use: "preflight", Short: "Meshery pre-flight check", Long: `Verify environment readiness to deploy Meshery.`, Args: cobra.NoArgs, RunE: func(cmd *cobra.Command, args []string) error { _ = runDockerHealthCheck() if err := runKubernetesAPIHealthCheck(); err != nil { return err } if err := runKubernetesVersionHealthCheck(); err != nil { return err } log.Info("\n--------------\n--------------\n✓✓ Meshery prerequisites met") return nil }, }
View Source
var SystemCmd = &cobra.Command{ Use: "system", Short: "Meshery Lifecycle Management", Long: `Manage the state and configuration of Meshery server, adapters, and client.`, Args: cobra.MinimumNArgs(1), RunE: func(cmd *cobra.Command, args []string) error { if ok := utils.IsValidSubcommand(availableSubcommands, args[0]); !ok { return errors.New(utils.SystemError(fmt.Sprintf("invalid command: \"%s\"", args[0]))) } mctlCfg, err := config.GetMesheryCtl(viper.GetViper()) if err != nil { return errors.Wrap(err, "error processing config") } mctlCfg.GetBaseMesheryURL() return nil }, }
SystemCmd represents Meshery Lifecycle Management cli commands
Functions ¶
func IsBetaOrStable ¶ added in v0.5.1
IsBetaOrStable to determine which release channel is being used
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.