C# Class Octopus.Cli.Importers.ProjectImporter

Inheritance: BaseImporter
Mostra file Open project: OctopusDeploy/Octo.exe

Protected Properties

Property Type Description
actionTemplateRepository Octopus.Cli.Repositories.ActionTemplateRepository

Public Methods

Method Description
ProjectImporter ( IOctopusAsyncRepository repository, IOctopusFileSystem fileSystem, ILogger log ) : System

Protected Methods

Method 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

Method 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 method

protected CheckActionTemplates ( List actionTemplates ) : Task>
actionTemplates List
return Task>

CheckChannelLifecycles() protected method

protected CheckChannelLifecycles ( List channelLifecycles ) : Task>
channelLifecycles List
return Task>

CheckEnvironmentsExist() protected method

protected CheckEnvironmentsExist ( List environmentList ) : Task>
environmentList List
return Task>

CheckLibraryVariableSets() protected method

protected CheckLibraryVariableSets ( List libraryVariableSets ) : Task>
libraryVariableSets List
return Task>

CheckMachinesExist() protected method

protected CheckMachinesExist ( List machineList ) : Task>
machineList List
return Task>

CheckNuGetFeedsExist() protected method

protected CheckNuGetFeedsExist ( List nugetFeeds ) : Task>
nugetFeeds List
return Task>

CheckProjectGroup() protected method

protected CheckProjectGroup ( ReferenceDataItem projectGroup ) : Task>
projectGroup Octopus.Client.Model.ReferenceDataItem
return Task>

CheckProjectLifecycle() protected method

protected CheckProjectLifecycle ( ReferenceDataItem lifecycle ) : Task
lifecycle Octopus.Client.Model.ReferenceDataItem
return Task

GetScopeValuesUsed() protected method

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

Import() protected method

protected Import ( string>.Dictionary paramDictionary ) : System.Threading.Tasks.Task
paramDictionary string>.Dictionary
return System.Threading.Tasks.Task

ProjectImporter() public method

public ProjectImporter ( IOctopusAsyncRepository repository, IOctopusFileSystem fileSystem, ILogger log ) : System
repository IOctopusAsyncRepository
fileSystem IOctopusFileSystem
log ILogger
return System

Validate() protected method

protected Validate ( string>.Dictionary paramDictionary ) : Task
paramDictionary string>.Dictionary
return Task

Property Details

actionTemplateRepository protected_oe property

protected ActionTemplateRepository,Octopus.Cli.Repositories actionTemplateRepository
return Octopus.Cli.Repositories.ActionTemplateRepository