cliui

package
v0.7.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 28, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LocalInstalled

type LocalInstalled struct {
	SDKName        string
	CurrentVersion string
	VersionList    []string
	// contains filtered or unexported fields
}

func NewLocalInstalled

func NewLocalInstalled() (l *LocalInstalled)

func (*LocalInstalled) RegisterKeyEvents

func (l *LocalInstalled) RegisterKeyEvents(ll *table.List)

func (*LocalInstalled) Search

func (l *LocalInstalled) Search(sdkName string)

func (*LocalInstalled) Show

func (l *LocalInstalled) Show() (nextEvent, selectedItem string)

type SDKSearcher

type SDKSearcher struct {
	SdkList download.SDKList
}

func NewSDKSearcher

func NewSDKSearcher() *SDKSearcher

func (*SDKSearcher) GetInstalledSDKList added in v0.7.1

func (v *SDKSearcher) GetInstalledSDKList() (sdkList []string)

func (*SDKSearcher) GetSDKItemByName

func (v *SDKSearcher) GetSDKItemByName(sdkName string) (item download.SDK)

func (*SDKSearcher) GetShaBySDKName

func (v *SDKSearcher) GetShaBySDKName(sdkName string) (ss string)

func (*SDKSearcher) PrintInstalledSDKs added in v0.7.1

func (v *SDKSearcher) PrintInstalledSDKs()

func (*SDKSearcher) RegisterKeyEvents

func (v *SDKSearcher) RegisterKeyEvents(ll *table.List)

func (*SDKSearcher) Show

func (v *SDKSearcher) Show() (nextEvent, selectedItem string)

func (*SDKSearcher) ShowInstalledOnly

func (v *SDKSearcher) ShowInstalledOnly() (nextEvent, selectedItem string)

type VersionSearcher

type VersionSearcher struct {
	SDKName    string
	ToShowList bool

	ToSearchByConda bool
	// contains filtered or unexported fields
}

func NewVersionSearcher

func NewVersionSearcher() (sv *VersionSearcher)

func (*VersionSearcher) EnableCondaSearch added in v0.6.8

func (s *VersionSearcher) EnableCondaSearch()

func (*VersionSearcher) GetVersionByVersionName

func (s *VersionSearcher) GetVersionByVersionName(vName string) (item download.Item)

func (*VersionSearcher) RegisterKeyEvents

func (s *VersionSearcher) RegisterKeyEvents(ll *table.List)

func (*VersionSearcher) Search

func (s *VersionSearcher) Search(sdkName, newSha256 string) (nextEvent, selectedItem string)

func (*VersionSearcher) Show

func (s *VersionSearcher) Show() (nextEvent, selectedItem string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL