Documentation ¶
Index ¶
Constants ¶
View Source
const DATA_DIR_CONFIG_PATH = "data_dir"
Variables ¶
View Source
var ErrCliUpgradeRequired = fmt.Errorf( `please update your CLI to install latest version. Run the following command to upgrade: %s`, cli.UpgradeCmd)
View Source
var ErrOldManifest = fmt.Errorf(
`you can't install this old manifest with this CLI. Try to use an newer version`,
)
View Source
var ErrUnsupportedManifestVersion = fmt.Errorf( `unsupported manifest version. Please update your CLI. Run the following command to upgrade: %s`, cli.UpgradeCmd)
View Source
var RootCommand = &cobra.Command{ Use: "server", Short: "Manage local server installation of Tensorleap", Long: `Manage local server installation of Tensorleap`, Run: func(cmd *cobra.Command, args []string) { if isNotSupported { fmt.Println("This command is not supported on this platform") return } if showInfo { dataDir := getConfigureDataDir() if dataDir == "" { dataDir = local.GetServerDataDir() } fmt.Println("Installer Version: ", version.Version) fmt.Println("Data dir: ", dataDir) } else { _ = cmd.Help() } }, }
Functions ¶
func NewInstallCmd ¶
func NewReinstallCmd ¶ added in v0.0.39
func NewUninstallCmd ¶
func NewUpgradeCmd ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.