Documentation ¶
Index ¶
- type Archive
- type Sdk
- func CurrentSdk(root string, candidate string) (Sdk, error)
- func CurrentSdks(root string) []Sdk
- func DefaultSdk(reg string, root string, candidate string) (Sdk, error)
- func GetFromVersionString(registry string, sdkHome string, versionString string) (Sdk, error)
- func InstalledSdks(root string, candidate string) []Sdk
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Archive ¶ added in v0.4.22
Archive represents downloaded compressed files in "archives" directory
type Sdk ¶
Sdk represents each version of sdk ex) Sdk{Candidate: "java", Version: "8.0.232-zulu"}
func CurrentSdk ¶
CurrentSdk returns sdk of specified candidate which is linked with "current"
func CurrentSdks ¶
CurrentSdks returns every Sdk that is linked via "current"
func GetFromVersionString ¶
GetFromVersionString versionString format: e.g. "kotlin@1.7.0", "java@17.0.3-tem"
func InstalledSdks ¶
InstalledSdks returns every installed Sdk of specified candidate
func (Sdk) CheckValidVer ¶
func (Sdk) IsArchived ¶
IsArchived returns if archive file of sdk exists or not
func (Sdk) IsInstalled ¶
IsInstalled returns if sdk is installed or not
Click to show internal directories.
Click to hide internal directories.