Documentation ¶
Index ¶
- type Sdk
- type SdkInfo
- type SdkTool
- type Tool
- type UserIsolatedInstaller
- func (i *UserIsolatedInstaller) GetSdk(name string) (Sdk, error)
- func (i *UserIsolatedInstaller) GetVersion(sdk Sdk) (string, error)
- func (i *UserIsolatedInstaller) Install(name string) (*SdkTool, error)
- func (i *UserIsolatedInstaller) LatestVersion(sdk Sdk) (*mirrors.VersionDesc, error)
- func (i *UserIsolatedInstaller) Link(names ...string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SdkTool ¶
func (*SdkTool) VersionDesc ¶ added in v0.0.3
func (s *SdkTool) VersionDesc(ver string) (*mirrors.VersionDesc, error)
type UserIsolatedInstaller ¶
type UserIsolatedInstaller struct { RootPath string SdkStashPath string BinPath string DataPath string ConfigPath string Sdks []Sdk }
func NewUserIsolatedInstaller ¶
func NewUserIsolatedInstaller(home string, sdks []Sdk) *UserIsolatedInstaller
func (*UserIsolatedInstaller) GetSdk ¶
func (i *UserIsolatedInstaller) GetSdk(name string) (Sdk, error)
func (*UserIsolatedInstaller) GetVersion ¶ added in v0.0.3
func (i *UserIsolatedInstaller) GetVersion(sdk Sdk) (string, error)
func (*UserIsolatedInstaller) Install ¶
func (i *UserIsolatedInstaller) Install(name string) (*SdkTool, error)
func (*UserIsolatedInstaller) LatestVersion ¶ added in v0.0.3
func (i *UserIsolatedInstaller) LatestVersion(sdk Sdk) (*mirrors.VersionDesc, error)
func (*UserIsolatedInstaller) Link ¶
func (i *UserIsolatedInstaller) Link(names ...string) error
Click to show internal directories.
Click to hide internal directories.