Versions in this module Expand all Collapse all v0 v0.0.6 Aug 5, 2023 v0.0.5 Aug 5, 2023 v0.0.4 Aug 4, 2023 v0.0.3 Aug 4, 2023 v0.0.2 Aug 4, 2023 Changes in this version + const ComponentParentDir + const DataParentDir + const DefaultPrivateKeyName + const EnvNameComponentDataDir + const EnvNameComponentInstallDir + const EnvNameDebug + const EnvNameHome + const EnvNameInstanceDataDir + const EnvNameKeepSourceTarget + const EnvNameLogPath + const EnvNameMirrorSyncScript + const EnvNameNativeSSHClient + const EnvNameSCPPath + const EnvNameSSHPassPrompt + const EnvNameSSHPath + const EnvNameTelemetryEventUUID + const EnvNameTelemetrySecret + const EnvNameTelemetryStatus + const EnvNameTelemetryUUID + const EnvNameTiUPVersion + const EnvNameUserInputVersion + const EnvNameWorkDir + const EnvTag + const KeyInfoParentDir + const ManifestParentDir + const MetaFilename + const StorageParentDir + const TelemetryDir + var DefaultTiUPHome string + var ProfileDirName = ".tiup" + type Process struct + Args []string + Cmd *exec.Cmd + Component string + CreatedTime string + Dir string + Env []string + Exec string + Pid int + type Profile struct + Config *TiUPConfig + func InitProfile() *Profile + func NewProfile(root string, config *TiUPConfig) *Profile + func (p *Profile) ComponentInstalledPath(component string, version utils.Version) (string, error) + func (p *Profile) GetComponentInstalledVersion(component string, ver utils.Version) (utils.Version, error) + func (p *Profile) InstalledComponents() ([]string, error) + func (p *Profile) InstalledVersions(component string) ([]string, error) + func (p *Profile) Path(relpath ...string) string + func (p *Profile) ReadMetaFile(dirName string) (*Process, error) + func (p *Profile) ResetMirror(addr, root string) error + func (p *Profile) Root() string + func (p *Profile) SaveTo(path string, data []byte, perm os.FileMode) error + func (p *Profile) VersionIsInstalled(component, version string) (bool, error) + func (p *Profile) WriteJSON(path string, data interface{}) error + type TiUPConfig struct + Mirror string + func InitConfig(root string) (*TiUPConfig, error) + func (c *TiUPConfig) Flush() error