C# Class Octopus.Cli.Commands.CleanEnvironmentCommand

Inheritance: ApiCommand
ファイルを表示 Open project: OctopusDeploy/Octo.exe Class Usage Examples

Public Methods

Method Description
CleanEnvironmentCommand ( IOctopusAsyncRepositoryFactory repositoryFactory, ILogger log, IOctopusFileSystem fileSystem, IOctopusClientFactory clientFactory ) : System

Protected Methods

Method Description
Execute ( ) : System.Threading.Tasks.Task

Private Methods

Method Description
CleanUpEnvironment ( List filteredMachines, EnvironmentResource environmentResource ) : void
FilterByEnvironment ( EnvironmentResource environmentResource ) : Task>
FilterByState ( IEnumerable environmentMachines ) : IEnumerable
GetEnvironment ( ) : Task
GetStateFilterDescription ( ) : string

Method Details

CleanEnvironmentCommand() public method

public CleanEnvironmentCommand ( IOctopusAsyncRepositoryFactory repositoryFactory, ILogger log, IOctopusFileSystem fileSystem, IOctopusClientFactory clientFactory ) : System
repositoryFactory IOctopusAsyncRepositoryFactory
log ILogger
fileSystem IOctopusFileSystem
clientFactory IOctopusClientFactory
return System

Execute() protected method

protected Execute ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task