public ZipInstallerSource(IInstallationSource installationSource, ITempDirectoryProvider tempDirectoryProvider, RuntimeOs[] osPlatforms, RuntimeArchitecture[] architectures) { OsPlatforms = osPlatforms; Architectures = architectures; _installationSource = installationSource; _tempDirectoryProvider = tempDirectoryProvider; }
public RemoteInstaller(string url, Func <IInstallationSource, IInstallerSource> localInstallFactory, ITempDirectoryProvider tempDirectoryProvider = null, int?webRequestTimeout = null) { _url = url; _localInstallFactory = localInstallFactory; _webRequestTimeout = webRequestTimeout; _tempDirectoryProvider = tempDirectoryProvider; }
public RemoteHttpSourcesEngineInstalationResolver(ITempDirectoryProvider tempDirectoryProvider = null, string urlEndPoint = "https://get.enterprisedb.com/postgresql/", string version = "9.6.2-3", int?webRequestTimeout = null) { // example of url // https://get.enterprisedb.com/postgresql/postgresql-9.6.2-3-linux-x64-binaries.tar.gz UrlEndPoint = urlEndPoint; Version = version; _webRequestTimeout = webRequestTimeout; _tempDirectoryProvider = tempDirectoryProvider ?? new TempDirectoryProvider(); }
public PostgreSqlDataBaseEngineLauncher(ISettingsProvider settingsProvider, IEngineInstalationResolver installResolver, IRuntimePlatformResolver runtimePlatformResolver = null, IPostgreLauncherResolver launcerResolver = null, ITempDirectoryProvider tempDirectoryProvider = null) { _settingsProvider = settingsProvider; _installResolver = installResolver; LauncherServiceProvider = new PostgresqlLauncherServiceProvider(_settingsProvider); _runtimePlatformResolver = runtimePlatformResolver ?? new RuntimePlatformResolver(); _launcerResolver = launcerResolver ?? new UniversalResolver(); _tempDirectoryProvider = tempDirectoryProvider ?? new TempDirectoryProvider(); }
public DefaultSourceRepoProvider( ITempDirectoryProvider tempDirectoryProvider, IOptions <BuildScriptGeneratorOptions> options, ILoggerFactory loggerFactory) { _tempDirectoryProvider = tempDirectoryProvider; var genOptions = options.Value; _sourceDirectory = genOptions.SourceDir; _loggerFactory = loggerFactory; _logger = loggerFactory.CreateLogger <DefaultSourceRepoProvider>(); }
public ZipInstallerSource(IInstallationSource installationSource, ITempDirectoryProvider tempDirectoryProvider, RuntimeOs osPlatform, RuntimeArchitecture[] architectures) : this(installationSource, tempDirectoryProvider, new[] { osPlatform }, architectures) { }
public FromZipEngineInstaller(IInstallationSource installSource, ITempDirectoryProvider tempDirectoryProvider) { _installSource = installSource; _tempDirectoryProvider = tempDirectoryProvider; }
public AllZipSourcesFromDirEngineInstalationResolver(string dir, string version, ITempDirectoryProvider tempDirectoryProvider = null) { _dir = dir; _version = version; _tempDirectoryProvider = tempDirectoryProvider ?? new TempDirectoryProvider(); }