KlusterKite  0.0.0
A framework to create scalable and redundant services based on awesome Akka.Net project.
KlusterKite.NodeManager.Launcher.Utils.IPackageRepository Interface Reference

Abstraction to work with packages More...

Inheritance diagram for KlusterKite.NodeManager.Launcher.Utils.IPackageRepository:
KlusterKite.NodeManager.Launcher.Utils.RemotePackageRepository

Public Member Functions

Task< IPackageSearchMetadata > GetAsync (string id)
 Gets the latest version package description More...
 
Task< IPackageSearchMetadata > GetAsync (string id, NuGetVersion version)
 Gets the package description More...
 
Task< IEnumerable< IPackageSearchMetadata > > SearchAsync (string terms, bool includePreRelease)
 Searches for the packages according to specified terms More...
 
Task< Dictionary< PackageIdentity, IEnumerable< string > > > ExtractPackage (IEnumerable< PackageIdentity > packages, string runtime, string frameworkName, string executionDir, string tmpDir, Action< string > logAction=null)
 Extracts package files to the specified destination More...
 

Detailed Description

Abstraction to work with packages

Definition at line 23 of file IPackageRepository.cs.

Member Function Documentation

◆ ExtractPackage()

Task<Dictionary<PackageIdentity, IEnumerable<string> > > KlusterKite.NodeManager.Launcher.Utils.IPackageRepository.ExtractPackage ( IEnumerable< PackageIdentity >  packages,
string  runtime,
string  frameworkName,
string  executionDir,
string  tmpDir,
Action< string >  logAction = null 
)

Extracts package files to the specified destination

Parameters
packagesThe list of packages to extract
runtimeThe current runtime
frameworkNameThe execution framework name
executionDirThe path to extract
tmpDirThe temporary directory name
logActionThe log writing action
Returns
The list of extracted files by package

Implemented in KlusterKite.NodeManager.Launcher.Utils.RemotePackageRepository.

◆ GetAsync() [1/2]

Task<IPackageSearchMetadata> KlusterKite.NodeManager.Launcher.Utils.IPackageRepository.GetAsync ( string  id)

Gets the latest version package description

Parameters
idThe package id
Returns
The package

Implemented in KlusterKite.NodeManager.Launcher.Utils.RemotePackageRepository.

◆ GetAsync() [2/2]

Task<IPackageSearchMetadata> KlusterKite.NodeManager.Launcher.Utils.IPackageRepository.GetAsync ( string  id,
NuGetVersion  version 
)

Gets the package description

Parameters
idThe package id
versionThe package version
Returns
The package

Implemented in KlusterKite.NodeManager.Launcher.Utils.RemotePackageRepository.

◆ SearchAsync()

Task<IEnumerable<IPackageSearchMetadata> > KlusterKite.NodeManager.Launcher.Utils.IPackageRepository.SearchAsync ( string  terms,
bool  includePreRelease 
)

Searches for the packages according to specified terms

Parameters
termsThe search terms.
includePreReleaseA value indicating whether results should include pre-release versions
Returns
The search result

Implemented in KlusterKite.NodeManager.Launcher.Utils.RemotePackageRepository.


The documentation for this interface was generated from the following file: