C# Class Octopus.Cli.Importers.ProjectImporter

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

Protected Properties

Свойство Type Description
actionTemplateRepository Octopus.Cli.Repositories.ActionTemplateRepository

Méthodes publiques

Méthode Description
ProjectImporter ( IOctopusAsyncRepository repository, IOctopusFileSystem fileSystem, ILogger log ) : System

Méthodes protégées

Méthode Description
CheckActionTemplates ( List actionTemplates ) : Task>
CheckChannelLifecycles ( List channelLifecycles ) : Task>
CheckEnvironmentsExist ( List environmentList ) : Task>
CheckLibraryVariableSets ( List libraryVariableSets ) : Task>
CheckMachinesExist ( List machineList ) : Task>
CheckNuGetFeedsExist ( List nugetFeeds ) : Task>
CheckProjectGroup ( ReferenceDataItem projectGroup ) : Task>
CheckProjectLifecycle ( ReferenceDataItem lifecycle ) : Task
GetScopeValuesUsed ( IList variables, IList steps, VariableScopeValues variableScopeValues ) : List>.Dictionary
Import ( string>.Dictionary paramDictionary ) : System.Threading.Tasks.Task
Validate ( string>.Dictionary paramDictionary ) : Task

Private Methods

Méthode Description
ImportDeploymentProcess ( DeploymentProcessResource deploymentProcess, ProjectResource importedProject, EnvironmentResource>.IDictionary environments, FeedResource>.IDictionary nugetFeeds, ActionTemplateResource>.IDictionary actionTemplates, ChannelResource>.IDictionary channels ) : System.Threading.Tasks.Task
ImportProject ( ProjectResource project, string projectGroupId, LibraryVariableSetResource>.IDictionary libraryVariableSets ) : Task
ImportProjectChannels ( List channels, ProjectResource importedProject, LifecycleResource>.IDictionary channelLifecycles ) : ChannelResource>>>.Task
ImportVariableSets ( VariableSetResource variableSet, ProjectResource importedProject, EnvironmentResource>.IDictionary environments, MachineResource>.IDictionary machines, ChannelResource>.IDictionary channels, IDictionary scopeValuesUsed ) : System.Threading.Tasks.Task
MapReleaseCreationStrategyChannel ( ProjectResource importedProject, ChannelResource>.Dictionary channelMap ) : System.Threading.Tasks.Task
UpdateScopeValues ( EnvironmentResource>.IDictionary environments, MachineResource>.IDictionary machines, ChannelResource>.IDictionary channels, IDictionary scopeValuesUsed ) : VariableScopeValues
UpdateVariables ( VariableSetResource variableSet, EnvironmentResource>.IDictionary environments, MachineResource>.IDictionary machines, ChannelResource>.IDictionary channels ) : IList

Method Details

CheckActionTemplates() protected méthode

protected CheckActionTemplates ( List actionTemplates ) : Task>
actionTemplates List
Résultat Task>

CheckChannelLifecycles() protected méthode

protected CheckChannelLifecycles ( List channelLifecycles ) : Task>
channelLifecycles List
Résultat Task>

CheckEnvironmentsExist() protected méthode

protected CheckEnvironmentsExist ( List environmentList ) : Task>
environmentList List
Résultat Task>

CheckLibraryVariableSets() protected méthode

protected CheckLibraryVariableSets ( List libraryVariableSets ) : Task>
libraryVariableSets List
Résultat Task>

CheckMachinesExist() protected méthode

protected CheckMachinesExist ( List machineList ) : Task>
machineList List
Résultat Task>

CheckNuGetFeedsExist() protected méthode

protected CheckNuGetFeedsExist ( List nugetFeeds ) : Task>
nugetFeeds List
Résultat Task>

CheckProjectGroup() protected méthode

protected CheckProjectGroup ( ReferenceDataItem projectGroup ) : Task>
projectGroup Octopus.Client.Model.ReferenceDataItem
Résultat Task>

CheckProjectLifecycle() protected méthode

protected CheckProjectLifecycle ( ReferenceDataItem lifecycle ) : Task
lifecycle Octopus.Client.Model.ReferenceDataItem
Résultat Task

GetScopeValuesUsed() protected méthode

protected GetScopeValuesUsed ( IList variables, IList steps, VariableScopeValues variableScopeValues ) : List>.Dictionary
variables IList
steps IList
variableScopeValues Octopus.Client.Model.VariableScopeValues
Résultat List>.Dictionary

Import() protected méthode

protected Import ( string>.Dictionary paramDictionary ) : System.Threading.Tasks.Task
paramDictionary string>.Dictionary
Résultat System.Threading.Tasks.Task

ProjectImporter() public méthode

public ProjectImporter ( IOctopusAsyncRepository repository, IOctopusFileSystem fileSystem, ILogger log ) : System
repository IOctopusAsyncRepository
fileSystem IOctopusFileSystem
log ILogger
Résultat System

Validate() protected méthode

protected Validate ( string>.Dictionary paramDictionary ) : Task
paramDictionary string>.Dictionary
Résultat Task

Property Details

actionTemplateRepository protected_oe property

protected ActionTemplateRepository,Octopus.Cli.Repositories actionTemplateRepository
Résultat Octopus.Cli.Repositories.ActionTemplateRepository