Documentation ¶
Index ¶
- func GitLibraryInstall(ctx context.Context, req *rpc.GitLibraryInstallRequest, ...) error
- func LibraryDownload(ctx context.Context, req *rpc.LibraryDownloadRequest, ...) (*rpc.LibraryDownloadResponse, error)
- func LibraryInstall(ctx context.Context, req *rpc.LibraryInstallRequest, ...) error
- func LibraryList(ctx context.Context, req *rpc.LibraryListRequest) (*rpc.LibraryListResponse, error)
- func LibraryResolveDependencies(ctx context.Context, req *rpc.LibraryResolveDependenciesRequest) (*rpc.LibraryResolveDependenciesResponse, error)
- func LibrarySearch(ctx context.Context, req *rpc.LibrarySearchRequest) (*rpc.LibrarySearchResponse, error)
- func LibraryUninstall(ctx context.Context, req *rpc.LibraryUninstallRequest, ...) error
- func LibraryUpgrade(ctx context.Context, req *rpc.LibraryUpgradeRequest, ...) error
- func LibraryUpgradeAll(req *rpc.LibraryUpgradeAllRequest, downloadCB rpc.DownloadProgressCB, ...) error
- func MatcherFromQueryString(query string) func(*librariesindex.Library) bool
- func ZipLibraryInstall(ctx context.Context, req *rpc.ZipLibraryInstallRequest, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GitLibraryInstall ¶
func GitLibraryInstall(ctx context.Context, req *rpc.GitLibraryInstallRequest, taskCB rpc.TaskProgressCB) error
GitLibraryInstall FIXMEDOC
func LibraryDownload ¶
func LibraryDownload(ctx context.Context, req *rpc.LibraryDownloadRequest, downloadCB rpc.DownloadProgressCB) (*rpc.LibraryDownloadResponse, error)
LibraryDownload executes the download of the library. A DownloadProgressCB callback function must be passed to monitor download progress.
func LibraryInstall ¶
func LibraryInstall(ctx context.Context, req *rpc.LibraryInstallRequest, downloadCB rpc.DownloadProgressCB, taskCB rpc.TaskProgressCB) error
LibraryInstall resolves the library dependencies, then downloads and installs the libraries into the install location.
func LibraryList ¶
func LibraryList(ctx context.Context, req *rpc.LibraryListRequest) (*rpc.LibraryListResponse, error)
LibraryList FIXMEDOC
func LibraryResolveDependencies ¶
func LibraryResolveDependencies(ctx context.Context, req *rpc.LibraryResolveDependenciesRequest) (*rpc.LibraryResolveDependenciesResponse, error)
LibraryResolveDependencies FIXMEDOC
func LibrarySearch ¶
func LibrarySearch(ctx context.Context, req *rpc.LibrarySearchRequest) (*rpc.LibrarySearchResponse, error)
LibrarySearch FIXMEDOC
func LibraryUninstall ¶
func LibraryUninstall(ctx context.Context, req *rpc.LibraryUninstallRequest, taskCB rpc.TaskProgressCB) error
LibraryUninstall FIXMEDOC
func LibraryUpgrade ¶
func LibraryUpgrade(ctx context.Context, req *rpc.LibraryUpgradeRequest, downloadCB rpc.DownloadProgressCB, taskCB rpc.TaskProgressCB) error
LibraryUpgrade upgrades a library
func LibraryUpgradeAll ¶
func LibraryUpgradeAll(req *rpc.LibraryUpgradeAllRequest, downloadCB rpc.DownloadProgressCB, taskCB rpc.TaskProgressCB) error
LibraryUpgradeAll upgrades all the available libraries
func MatcherFromQueryString ¶
func MatcherFromQueryString(query string) func(*librariesindex.Library) bool
MatcherFromQueryString returns a closure that takes a library as a parameter and returns true if the library matches the query.
func ZipLibraryInstall ¶
func ZipLibraryInstall(ctx context.Context, req *rpc.ZipLibraryInstallRequest, taskCB rpc.TaskProgressCB) error
ZipLibraryInstall FIXMEDOC
Types ¶
This section is empty.