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

The repository to work with real remote nuget server More...

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

Public Member Functions

 RemotePackageRepository (string url)
 Initializes a new instance of the RemotePackageRepository class. More...
 
async 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

The repository to work with real remote nuget server

Definition at line 25 of file RemotePackageRepository.cs.

Constructor & Destructor Documentation

◆ RemotePackageRepository()

KlusterKite.NodeManager.Launcher.Utils.RemotePackageRepository.RemotePackageRepository ( string  url)

Initializes a new instance of the RemotePackageRepository class.

Parameters
urlThe url.

Definition at line 38 of file RemotePackageRepository.cs.

Member Function Documentation

◆ ExtractPackage()

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

Extracts package files to the specified destination

Implements KlusterKite.NodeManager.Launcher.Utils.IPackageRepository.

Definition at line 63 of file RemotePackageRepository.cs.

◆ GetAsync() [1/2]

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

Gets the latest version package description

Implements KlusterKite.NodeManager.Launcher.Utils.IPackageRepository.

Definition at line 44 of file RemotePackageRepository.cs.

◆ GetAsync() [2/2]

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

Gets the package description

Implements KlusterKite.NodeManager.Launcher.Utils.IPackageRepository.

Definition at line 51 of file RemotePackageRepository.cs.

◆ SearchAsync()

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

Searches for the packages according to specified terms

Implements KlusterKite.NodeManager.Launcher.Utils.IPackageRepository.

Definition at line 57 of file RemotePackageRepository.cs.


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