File tree Expand file tree Collapse file tree
src/ModularPipelines/Context Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33
44namespace ModularPipelines . Context ;
55
6+ /// <summary>
7+ /// Provides methods for installing software from local files or web URLs.
8+ /// </summary>
69public interface IFileInstaller
710{
11+ /// <summary>
12+ /// Installs software from a local installer file.
13+ /// </summary>
14+ /// <param name="options">The options specifying the installer file path and installation parameters.</param>
15+ /// <param name="cancellationToken">A token to cancel the installation operation.</param>
16+ /// <returns>A <see cref="CommandResult"/> containing the result of the installation command.</returns>
817 Task < CommandResult > InstallFromFileAsync ( InstallerOptions options ,
918 CancellationToken cancellationToken = default ) ;
1019
20+ /// <summary>
21+ /// Downloads and installs software from a web URL.
22+ /// </summary>
23+ /// <param name="options">The options specifying the download URL and installation parameters.</param>
24+ /// <param name="cancellationToken">A token to cancel the download and installation operation.</param>
25+ /// <returns>A <see cref="CommandResult"/> containing the result of the installation command.</returns>
1126 Task < CommandResult > InstallFromWebAsync ( WebInstallerOptions options ,
1227 CancellationToken cancellationToken = default ) ;
1328}
Original file line number Diff line number Diff line change 33
44namespace ModularPipelines . Context ;
55
6+ /// <summary>
7+ /// Provides methods for installing software on Linux systems.
8+ /// </summary>
69public interface ILinuxInstaller
710{
11+ /// <summary>
12+ /// Installs a Debian package using dpkg.
13+ /// </summary>
14+ /// <param name="options">The options specifying the package file and installation parameters.</param>
15+ /// <returns>A <see cref="CommandResult"/> containing the result of the dpkg installation command.</returns>
816 Task < CommandResult > InstallFromDpkg ( DpkgInstallOptions options ) ;
917}
Original file line number Diff line number Diff line change 33
44namespace ModularPipelines . Context ;
55
6+ /// <summary>
7+ /// Provides methods for installing software on macOS systems.
8+ /// </summary>
69public interface IMacInstaller
710{
11+ /// <summary>
12+ /// Installs software using Homebrew package manager.
13+ /// </summary>
14+ /// <param name="macBrewOptions">The options specifying the package name and installation parameters.</param>
15+ /// <returns>A <see cref="CommandResult"/> containing the result of the Homebrew installation command.</returns>
816 Task < CommandResult > InstallFromBrew ( MacBrewOptions macBrewOptions ) ;
917}
Original file line number Diff line number Diff line change 33
44namespace ModularPipelines . Context ;
55
6+ /// <summary>
7+ /// Provides methods for installing software on Windows systems.
8+ /// </summary>
69public interface IWindowsInstaller
710{
11+ /// <summary>
12+ /// Installs software from an MSI (Windows Installer) package.
13+ /// </summary>
14+ /// <param name="msiInstallerOptions">The options specifying the MSI file path and installation parameters.</param>
15+ /// <returns>A <see cref="CommandResult"/> containing the result of the MSI installation command.</returns>
816 Task < CommandResult > InstallMsi ( MsiInstallerOptions msiInstallerOptions ) ;
917
18+ /// <summary>
19+ /// Installs software from an executable installer.
20+ /// </summary>
21+ /// <param name="exeInstallerOptions">The options specifying the executable file path and installation parameters.</param>
22+ /// <returns>A <see cref="CommandResult"/> containing the result of the executable installation command.</returns>
1023 Task < CommandResult > InstallExe ( ExeInstallerOptions exeInstallerOptions ) ;
1124}
You can’t perform that action at this time.
0 commit comments