C# Class Octopus.Cli.Commands.ApiCommand

Inheritance: ICommand
Afficher le fichier Open project: OctopusDeploy/Octo.exe

Méthodes publiques

Méthode Description
Execute ( string commandLineArguments ) : System.Threading.Tasks.Task
GetHelp ( TextWriter writer ) : void

Méthodes protégées

Méthode Description
ApiCommand ( IOctopusClientFactory clientFactory, IOctopusAsyncRepositoryFactory repositoryFactory, ILogger log, IOctopusFileSystem fileSystem ) : System
Execute ( ) : System.Threading.Tasks.Task
FormatReleasePropertiesAsStrings ( ReleaseResource release ) : IEnumerable
GetPackageVersionsAsString ( IEnumerable packages ) : string
GetPortalUrl ( string path ) : string
ReadAdditionalInputsFromConfigurationFile ( string configFile ) : List
SetFlagState ( string input, bool &setter ) : void
ValidateParameters ( ) : void

Private Methods

Méthode Description
ParseCredentials ( string username, string password ) : NetworkCredential
ServerCertificateValidationCallback ( object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors errors ) : bool

Method Details

ApiCommand() protected méthode

protected ApiCommand ( IOctopusClientFactory clientFactory, IOctopusAsyncRepositoryFactory repositoryFactory, ILogger log, IOctopusFileSystem fileSystem ) : System
clientFactory IOctopusClientFactory
repositoryFactory IOctopusAsyncRepositoryFactory
log ILogger
fileSystem IOctopusFileSystem
Résultat System

Execute() protected abstract méthode

protected abstract Execute ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task

Execute() public méthode

public Execute ( string commandLineArguments ) : System.Threading.Tasks.Task
commandLineArguments string
Résultat System.Threading.Tasks.Task

FormatReleasePropertiesAsStrings() protected static méthode

protected static FormatReleasePropertiesAsStrings ( ReleaseResource release ) : IEnumerable
release Octopus.Client.Model.ReleaseResource
Résultat IEnumerable

GetHelp() public méthode

public GetHelp ( TextWriter writer ) : void
writer System.IO.TextWriter
Résultat void

GetPackageVersionsAsString() protected static méthode

protected static GetPackageVersionsAsString ( IEnumerable packages ) : string
packages IEnumerable
Résultat string

GetPortalUrl() protected méthode

protected GetPortalUrl ( string path ) : string
path string
Résultat string

ReadAdditionalInputsFromConfigurationFile() protected méthode

protected ReadAdditionalInputsFromConfigurationFile ( string configFile ) : List
configFile string
Résultat List

SetFlagState() protected méthode

protected SetFlagState ( string input, bool &setter ) : void
input string
setter bool
Résultat void

ValidateParameters() protected méthode

protected ValidateParameters ( ) : void
Résultat void