Documentation
¶
Index ¶
- Constants
- type BuildHistoryResponse
- type DeploymentHistoryResp
- type DevtronAppBuildHistoryRestHandler
- type DevtronAppBuildMaterialRestHandler
- type DevtronAppBuildRestHandler
- type DevtronAppDeploymentConfigRestHandler
- type DevtronAppDeploymentHistoryRestHandler
- type DevtronAppDeploymentRestHandler
- type DevtronAppPrePostDeploymentRestHandler
- type DevtronAppRestHandler
- type DevtronAppWorkflowRestHandler
- type ImageTaggingRestHandler
- type PipelineConfigRestHandler
- type PipelineConfigRestHandlerImpl
- func (handler *PipelineConfigRestHandlerImpl) CancelStage(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) CancelWorkflow(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) ChangeChartRef(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) ConfigureDeploymentTemplateForApp(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) CreateApp(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) CreateCdPipeline(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) CreateCiConfig(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) CreateMaterial(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) CreateUpdateImageTagging(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) DeleteACDAppWithNonCascade(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) DeleteApp(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) DeleteMaterial(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) DownloadArtifacts(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) DownloadCiWorkflowArtifacts(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) EnvConfigOverrideCreate(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) EnvConfigOverrideCreateNamespace(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) EnvConfigOverrideReset(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) EnvConfigOverrideUpdate(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) FetchAppDeploymentStatusForEnvironments(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) FetchAppWorkflowStatusForTriggerView(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) FetchAppWorkflowStatusForTriggerViewByEnvironment(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) FetchCdWorkflowDetails(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) FetchChanges(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) FetchMaterialInfo(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) FetchMaterials(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) FetchMaterialsByMaterialId(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) FetchWorkflowDetails(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) FindAppsByTeamId(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) FindAppsByTeamName(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) GetApp(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) GetAppOverrideForDefaultTemplate(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) GetApplicationsByEnvironment(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) GetArtifactsByCDPipeline(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) GetArtifactsForCiJob(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) GetArtifactsForRollback(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) GetBuildHistory(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) GetBuildLogs(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) GetCIPipelineById(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) GetCIPipelineByPipelineId(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) GetCdPipelineById(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) GetCdPipelines(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) GetCdPipelinesByEnvironment(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) GetCdPipelinesByEnvironmentMin(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) GetCdPipelinesForAppAndEnv(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) GetCiPipeline(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) GetCiPipelineByEnvironment(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) GetCiPipelineByEnvironmentMin(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) GetCiPipelineMin(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) GetCommitMetadataForPipelineMaterial(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) GetConfigmapSecretsForDeploymentStages(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) GetDefaultDeploymentPipelineStrategy(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) GetDefaultDeploymentTemplate(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) GetDeploymentPipelineStrategy(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) GetDeploymentTemplate(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) GetDeploymentTemplateData(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) GetEnvConfigOverride(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) GetEnvironmentListWithAppData(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) GetExternalCi(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) GetExternalCiByEnvironment(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) GetExternalCiById(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) GetGitOpsConfiguration(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) GetHistoricBuildLogs(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) GetImageTaggingData(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) GetPrePostDeploymentLogs(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) GetRestartWorkloadData(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) GetSourceCiDownStreamFilters(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) GetSourceCiDownStreamInfo(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) GetStageStatus(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) GetTemplateComparisonMetadata(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) HandleChangeDeploymentRequest(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) HandleChangeDeploymentTypeRequest(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) HandleTriggerDeploymentAfterTypeChange(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) HandleWorkflowWebhook(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) IsReadyToTrigger(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) ListDeploymentHistory(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) PatchCdPipeline(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) PatchCiMaterialSourceWithAppIdAndEnvironmentId(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) PatchCiMaterialSourceWithAppIdsAndEnvironmentId(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) PatchCiPipelines(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) PipelineNameSuggestion(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) RefreshMaterials(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) SaveGitOpsConfiguration(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) TriggerCiPipeline(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) UpdateAppOverride(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) UpdateBranchCiPipelinesWithRegex(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) UpdateCiTemplate(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) UpdateMaterial(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) UpgradeForAllApps(w http.ResponseWriter, r *http.Request)
- func (handler *PipelineConfigRestHandlerImpl) ValidateGitMaterialUrl(gitProviderId int, url string) (bool, error)
- type PipelineRestHandlerEnvConfig
Constants ¶
View Source
const ( SSH_URL_PREFIX = "git@" HTTPS_URL_PREFIX = "https://" )
View Source
const GIT_MATERIAL_DELETE_SUCCESS_RESP = "Git material deleted successfully."
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildHistoryResponse ¶
type BuildHistoryResponse struct { HideImageTaggingHardDelete bool `json:"hideImageTaggingHardDelete"` TagsEditable bool `json:"tagsEditable"` AppReleaseTagNames []string `json:"appReleaseTagNames"` //unique list of tags exists in the app CiWorkflows []types.WorkflowResponse `json:"ciWorkflows"` }
type DeploymentHistoryResp ¶
type DeploymentHistoryResp struct { CdWorkflows []pipelineConfig.CdWorkflowWithArtifact `json:"cdWorkflows"` TagsEdiatable bool `json:"tagsEditable"` AppReleaseTagNames []string `json:"appReleaseTagNames"` //unique list of tags exists in the app HideImageTaggingHardDelete bool `json:"hideImageTaggingHardDelete"` }
type DevtronAppBuildHistoryRestHandler ¶
type DevtronAppBuildHistoryRestHandler interface { GetHistoricBuildLogs(w http.ResponseWriter, r *http.Request) GetBuildHistory(w http.ResponseWriter, r *http.Request) DownloadCiWorkflowArtifacts(w http.ResponseWriter, r *http.Request) }
type DevtronAppBuildMaterialRestHandler ¶
type DevtronAppBuildMaterialRestHandler interface { CreateMaterial(w http.ResponseWriter, r *http.Request) UpdateMaterial(w http.ResponseWriter, r *http.Request) FetchMaterials(w http.ResponseWriter, r *http.Request) FetchMaterialsByMaterialId(w http.ResponseWriter, r *http.Request) RefreshMaterials(w http.ResponseWriter, r *http.Request) FetchMaterialInfo(w http.ResponseWriter, r *http.Request) FetchChanges(w http.ResponseWriter, r *http.Request) DeleteMaterial(w http.ResponseWriter, r *http.Request) GetCommitMetadataForPipelineMaterial(w http.ResponseWriter, r *http.Request) }
type DevtronAppBuildRestHandler ¶
type DevtronAppBuildRestHandler interface { CreateCiConfig(w http.ResponseWriter, r *http.Request) UpdateCiTemplate(w http.ResponseWriter, r *http.Request) GetCiPipeline(w http.ResponseWriter, r *http.Request) GetExternalCi(w http.ResponseWriter, r *http.Request) GetExternalCiById(w http.ResponseWriter, r *http.Request) PatchCiPipelines(w http.ResponseWriter, r *http.Request) PatchCiMaterialSourceWithAppIdAndEnvironmentId(w http.ResponseWriter, r *http.Request) PatchCiMaterialSourceWithAppIdsAndEnvironmentId(w http.ResponseWriter, r *http.Request) TriggerCiPipeline(w http.ResponseWriter, r *http.Request) GetCiPipelineMin(w http.ResponseWriter, r *http.Request) GetCIPipelineById(w http.ResponseWriter, r *http.Request) GetCIPipelineByPipelineId(w http.ResponseWriter, r *http.Request) HandleWorkflowWebhook(w http.ResponseWriter, r *http.Request) GetBuildLogs(w http.ResponseWriter, r *http.Request) FetchWorkflowDetails(w http.ResponseWriter, r *http.Request) GetArtifactsForCiJob(w http.ResponseWriter, r *http.Request) // CancelWorkflow CancelBuild CancelWorkflow(w http.ResponseWriter, r *http.Request) UpdateBranchCiPipelinesWithRegex(w http.ResponseWriter, r *http.Request) GetCiPipelineByEnvironment(w http.ResponseWriter, r *http.Request) GetCiPipelineByEnvironmentMin(w http.ResponseWriter, r *http.Request) GetExternalCiByEnvironment(w http.ResponseWriter, r *http.Request) // GetSourceCiDownStreamFilters will fetch the environments attached to all the linked CIs for the given ciPipelineId GetSourceCiDownStreamFilters(w http.ResponseWriter, r *http.Request) // GetSourceCiDownStreamInfo will fetch the deployment information of all the linked CIs for the given ciPipelineId GetSourceCiDownStreamInfo(w http.ResponseWriter, r *http.Request) }
type DevtronAppDeploymentConfigRestHandler ¶
type DevtronAppDeploymentConfigRestHandler interface { ConfigureDeploymentTemplateForApp(w http.ResponseWriter, r *http.Request) GetDeploymentTemplate(w http.ResponseWriter, r *http.Request) GetDefaultDeploymentTemplate(w http.ResponseWriter, r *http.Request) GetAppOverrideForDefaultTemplate(w http.ResponseWriter, r *http.Request) GetTemplateComparisonMetadata(w http.ResponseWriter, r *http.Request) GetDeploymentTemplateData(w http.ResponseWriter, r *http.Request) GetRestartWorkloadData(w http.ResponseWriter, r *http.Request) SaveGitOpsConfiguration(w http.ResponseWriter, r *http.Request) GetGitOpsConfiguration(w http.ResponseWriter, r *http.Request) EnvConfigOverrideCreate(w http.ResponseWriter, r *http.Request) EnvConfigOverrideUpdate(w http.ResponseWriter, r *http.Request) GetEnvConfigOverride(w http.ResponseWriter, r *http.Request) EnvConfigOverrideReset(w http.ResponseWriter, r *http.Request) UpdateAppOverride(w http.ResponseWriter, r *http.Request) GetConfigmapSecretsForDeploymentStages(w http.ResponseWriter, r *http.Request) GetDeploymentPipelineStrategy(w http.ResponseWriter, r *http.Request) GetDefaultDeploymentPipelineStrategy(w http.ResponseWriter, r *http.Request) EnvConfigOverrideCreateNamespace(w http.ResponseWriter, r *http.Request) }
type DevtronAppDeploymentHistoryRestHandler ¶
type DevtronAppDeploymentHistoryRestHandler interface { ListDeploymentHistory(w http.ResponseWriter, r *http.Request) DownloadArtifacts(w http.ResponseWriter, r *http.Request) }
type DevtronAppDeploymentRestHandler ¶
type DevtronAppDeploymentRestHandler interface { CreateCdPipeline(w http.ResponseWriter, r *http.Request) GetCdPipelineById(w http.ResponseWriter, r *http.Request) PatchCdPipeline(w http.ResponseWriter, r *http.Request) HandleChangeDeploymentRequest(w http.ResponseWriter, r *http.Request) HandleChangeDeploymentTypeRequest(w http.ResponseWriter, r *http.Request) HandleTriggerDeploymentAfterTypeChange(w http.ResponseWriter, r *http.Request) GetCdPipelines(w http.ResponseWriter, r *http.Request) GetCdPipelinesForAppAndEnv(w http.ResponseWriter, r *http.Request) GetArtifactsByCDPipeline(w http.ResponseWriter, r *http.Request) GetArtifactsForRollback(w http.ResponseWriter, r *http.Request) UpgradeForAllApps(w http.ResponseWriter, r *http.Request) IsReadyToTrigger(w http.ResponseWriter, r *http.Request) FetchCdWorkflowDetails(w http.ResponseWriter, r *http.Request) GetCdPipelinesByEnvironment(w http.ResponseWriter, r *http.Request) GetCdPipelinesByEnvironmentMin(w http.ResponseWriter, r *http.Request) ChangeChartRef(w http.ResponseWriter, r *http.Request) }
type DevtronAppPrePostDeploymentRestHandler ¶
type DevtronAppPrePostDeploymentRestHandler interface { GetStageStatus(w http.ResponseWriter, r *http.Request) GetPrePostDeploymentLogs(w http.ResponseWriter, r *http.Request) // CancelStage Cancel Pre/Post ArgoWorkflow execution CancelStage(w http.ResponseWriter, r *http.Request) }
type DevtronAppRestHandler ¶
type DevtronAppRestHandler interface { CreateApp(w http.ResponseWriter, r *http.Request) DeleteApp(w http.ResponseWriter, r *http.Request) DeleteACDAppWithNonCascade(w http.ResponseWriter, r *http.Request) GetApp(w http.ResponseWriter, r *http.Request) FindAppsByTeamId(w http.ResponseWriter, r *http.Request) FindAppsByTeamName(w http.ResponseWriter, r *http.Request) GetEnvironmentListWithAppData(w http.ResponseWriter, r *http.Request) GetApplicationsByEnvironment(w http.ResponseWriter, r *http.Request) }
type DevtronAppWorkflowRestHandler ¶
type DevtronAppWorkflowRestHandler interface { FetchAppWorkflowStatusForTriggerView(w http.ResponseWriter, r *http.Request) FetchAppWorkflowStatusForTriggerViewByEnvironment(w http.ResponseWriter, r *http.Request) FetchAppDeploymentStatusForEnvironments(w http.ResponseWriter, r *http.Request) }
type ImageTaggingRestHandler ¶
type ImageTaggingRestHandler interface { CreateUpdateImageTagging(w http.ResponseWriter, r *http.Request) GetImageTaggingData(w http.ResponseWriter, r *http.Request) }
type PipelineConfigRestHandler ¶
type PipelineConfigRestHandler interface { DevtronAppRestHandler DevtronAppWorkflowRestHandler DevtronAppBuildRestHandler DevtronAppBuildMaterialRestHandler DevtronAppBuildHistoryRestHandler DevtronAppDeploymentRestHandler DevtronAppDeploymentHistoryRestHandler DevtronAppPrePostDeploymentRestHandler DevtronAppDeploymentConfigRestHandler ImageTaggingRestHandler PipelineNameSuggestion(w http.ResponseWriter, r *http.Request) }
type PipelineConfigRestHandlerImpl ¶
type PipelineConfigRestHandlerImpl struct { Logger *zap.SugaredLogger // contains filtered or unexported fields }
func NewPipelineRestHandlerImpl ¶
func NewPipelineRestHandlerImpl(pipelineBuilder pipeline.PipelineBuilder, Logger *zap.SugaredLogger, deploymentTemplateValidationService deploymentTemplate.DeploymentTemplateValidationService, chartService chart.ChartService, devtronAppGitOpConfigService gitOpsConfig.DevtronAppGitOpConfigService, propertiesConfigService pipeline.PropertiesConfigService, userAuthService user.UserService, teamService team.TeamService, enforcer casbin.Enforcer, ciHandler pipeline.CiHandler, validator *validator.Validate, gitSensorClient gitSensor.Client, ciPipelineRepository pipelineConfig.CiPipelineRepository, pipelineRepository pipelineConfig.PipelineRepository, enforcerUtil rbac.EnforcerUtil, dockerRegistryConfig pipeline.DockerRegistryConfig, cdHandler pipeline.CdHandler, appCloneService appClone.AppCloneService, deploymentTemplateService generateManifest.DeploymentTemplateService, appWorkflowService appWorkflow.AppWorkflowService, materialRepository pipelineConfig.MaterialRepository, policyService security2.PolicyService, scanResultRepository security.ImageScanResultRepository, gitProviderRepo repository.GitProviderRepository, argoUserService argo.ArgoUserService, ciPipelineMaterialRepository pipelineConfig.CiPipelineMaterialRepository, imageTaggingService pipeline.ImageTaggingService, ciArtifactRepository repository.CiArtifactRepository, deployedAppMetricsService deployedAppMetrics.DeployedAppMetricsService, chartRefService chartRef.ChartRefService, ciCdPipelineOrchestrator pipeline.CiCdPipelineOrchestrator) *PipelineConfigRestHandlerImpl
func (*PipelineConfigRestHandlerImpl) CancelStage ¶
func (handler *PipelineConfigRestHandlerImpl) CancelStage(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) CancelWorkflow ¶
func (handler *PipelineConfigRestHandlerImpl) CancelWorkflow(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) ChangeChartRef ¶
func (handler *PipelineConfigRestHandlerImpl) ChangeChartRef(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) ConfigureDeploymentTemplateForApp ¶
func (handler *PipelineConfigRestHandlerImpl) ConfigureDeploymentTemplateForApp(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) CreateApp ¶
func (handler *PipelineConfigRestHandlerImpl) CreateApp(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) CreateCdPipeline ¶
func (handler *PipelineConfigRestHandlerImpl) CreateCdPipeline(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) CreateCiConfig ¶
func (handler *PipelineConfigRestHandlerImpl) CreateCiConfig(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) CreateMaterial ¶
func (handler *PipelineConfigRestHandlerImpl) CreateMaterial(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) CreateUpdateImageTagging ¶
func (handler *PipelineConfigRestHandlerImpl) CreateUpdateImageTagging(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) DeleteACDAppWithNonCascade ¶
func (handler *PipelineConfigRestHandlerImpl) DeleteACDAppWithNonCascade(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) DeleteApp ¶
func (handler *PipelineConfigRestHandlerImpl) DeleteApp(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) DeleteMaterial ¶
func (handler *PipelineConfigRestHandlerImpl) DeleteMaterial(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) DownloadArtifacts ¶
func (handler *PipelineConfigRestHandlerImpl) DownloadArtifacts(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) DownloadCiWorkflowArtifacts ¶
func (handler *PipelineConfigRestHandlerImpl) DownloadCiWorkflowArtifacts(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) EnvConfigOverrideCreate ¶
func (handler *PipelineConfigRestHandlerImpl) EnvConfigOverrideCreate(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) EnvConfigOverrideCreateNamespace ¶
func (handler *PipelineConfigRestHandlerImpl) EnvConfigOverrideCreateNamespace(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) EnvConfigOverrideReset ¶
func (handler *PipelineConfigRestHandlerImpl) EnvConfigOverrideReset(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) EnvConfigOverrideUpdate ¶
func (handler *PipelineConfigRestHandlerImpl) EnvConfigOverrideUpdate(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) FetchAppDeploymentStatusForEnvironments ¶
func (handler *PipelineConfigRestHandlerImpl) FetchAppDeploymentStatusForEnvironments(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) FetchAppWorkflowStatusForTriggerView ¶
func (handler *PipelineConfigRestHandlerImpl) FetchAppWorkflowStatusForTriggerView(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) FetchAppWorkflowStatusForTriggerViewByEnvironment ¶
func (handler *PipelineConfigRestHandlerImpl) FetchAppWorkflowStatusForTriggerViewByEnvironment(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) FetchCdWorkflowDetails ¶
func (handler *PipelineConfigRestHandlerImpl) FetchCdWorkflowDetails(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) FetchChanges ¶
func (handler *PipelineConfigRestHandlerImpl) FetchChanges(w http.ResponseWriter, r *http.Request)
FetchChanges FIXME check if deprecated
func (*PipelineConfigRestHandlerImpl) FetchMaterialInfo ¶
func (handler *PipelineConfigRestHandlerImpl) FetchMaterialInfo(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) FetchMaterials ¶
func (handler *PipelineConfigRestHandlerImpl) FetchMaterials(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) FetchMaterialsByMaterialId ¶
func (handler *PipelineConfigRestHandlerImpl) FetchMaterialsByMaterialId(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) FetchWorkflowDetails ¶
func (handler *PipelineConfigRestHandlerImpl) FetchWorkflowDetails(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) FindAppsByTeamId ¶
func (handler *PipelineConfigRestHandlerImpl) FindAppsByTeamId(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) FindAppsByTeamName ¶
func (handler *PipelineConfigRestHandlerImpl) FindAppsByTeamName(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) GetApp ¶
func (handler *PipelineConfigRestHandlerImpl) GetApp(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) GetAppOverrideForDefaultTemplate ¶
func (handler *PipelineConfigRestHandlerImpl) GetAppOverrideForDefaultTemplate(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) GetApplicationsByEnvironment ¶
func (handler *PipelineConfigRestHandlerImpl) GetApplicationsByEnvironment(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) GetArtifactsByCDPipeline ¶
func (handler *PipelineConfigRestHandlerImpl) GetArtifactsByCDPipeline(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) GetArtifactsForCiJob ¶
func (handler *PipelineConfigRestHandlerImpl) GetArtifactsForCiJob(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) GetArtifactsForRollback ¶
func (handler *PipelineConfigRestHandlerImpl) GetArtifactsForRollback(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) GetBuildHistory ¶
func (handler *PipelineConfigRestHandlerImpl) GetBuildHistory(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) GetBuildLogs ¶
func (handler *PipelineConfigRestHandlerImpl) GetBuildLogs(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) GetCIPipelineById ¶
func (handler *PipelineConfigRestHandlerImpl) GetCIPipelineById(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) GetCIPipelineByPipelineId ¶
func (handler *PipelineConfigRestHandlerImpl) GetCIPipelineByPipelineId(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) GetCdPipelineById ¶
func (handler *PipelineConfigRestHandlerImpl) GetCdPipelineById(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) GetCdPipelines ¶
func (handler *PipelineConfigRestHandlerImpl) GetCdPipelines(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) GetCdPipelinesByEnvironment ¶
func (handler *PipelineConfigRestHandlerImpl) GetCdPipelinesByEnvironment(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) GetCdPipelinesByEnvironmentMin ¶
func (handler *PipelineConfigRestHandlerImpl) GetCdPipelinesByEnvironmentMin(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) GetCdPipelinesForAppAndEnv ¶
func (handler *PipelineConfigRestHandlerImpl) GetCdPipelinesForAppAndEnv(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) GetCiPipeline ¶
func (handler *PipelineConfigRestHandlerImpl) GetCiPipeline(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) GetCiPipelineByEnvironment ¶
func (handler *PipelineConfigRestHandlerImpl) GetCiPipelineByEnvironment(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) GetCiPipelineByEnvironmentMin ¶
func (handler *PipelineConfigRestHandlerImpl) GetCiPipelineByEnvironmentMin(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) GetCiPipelineMin ¶
func (handler *PipelineConfigRestHandlerImpl) GetCiPipelineMin(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) GetCommitMetadataForPipelineMaterial ¶
func (handler *PipelineConfigRestHandlerImpl) GetCommitMetadataForPipelineMaterial(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) GetConfigmapSecretsForDeploymentStages ¶
func (handler *PipelineConfigRestHandlerImpl) GetConfigmapSecretsForDeploymentStages(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) GetDefaultDeploymentPipelineStrategy ¶
func (handler *PipelineConfigRestHandlerImpl) GetDefaultDeploymentPipelineStrategy(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) GetDefaultDeploymentTemplate ¶
func (handler *PipelineConfigRestHandlerImpl) GetDefaultDeploymentTemplate(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) GetDeploymentPipelineStrategy ¶
func (handler *PipelineConfigRestHandlerImpl) GetDeploymentPipelineStrategy(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) GetDeploymentTemplate ¶
func (handler *PipelineConfigRestHandlerImpl) GetDeploymentTemplate(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) GetDeploymentTemplateData ¶
func (handler *PipelineConfigRestHandlerImpl) GetDeploymentTemplateData(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) GetEnvConfigOverride ¶
func (handler *PipelineConfigRestHandlerImpl) GetEnvConfigOverride(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) GetEnvironmentListWithAppData ¶
func (handler *PipelineConfigRestHandlerImpl) GetEnvironmentListWithAppData(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) GetExternalCi ¶
func (handler *PipelineConfigRestHandlerImpl) GetExternalCi(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) GetExternalCiByEnvironment ¶
func (handler *PipelineConfigRestHandlerImpl) GetExternalCiByEnvironment(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) GetExternalCiById ¶
func (handler *PipelineConfigRestHandlerImpl) GetExternalCiById(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) GetGitOpsConfiguration ¶
func (handler *PipelineConfigRestHandlerImpl) GetGitOpsConfiguration(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) GetHistoricBuildLogs ¶
func (handler *PipelineConfigRestHandlerImpl) GetHistoricBuildLogs(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) GetImageTaggingData ¶
func (handler *PipelineConfigRestHandlerImpl) GetImageTaggingData(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) GetPrePostDeploymentLogs ¶
func (handler *PipelineConfigRestHandlerImpl) GetPrePostDeploymentLogs(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) GetRestartWorkloadData ¶ added in v0.7.0
func (handler *PipelineConfigRestHandlerImpl) GetRestartWorkloadData(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) GetSourceCiDownStreamFilters ¶ added in v0.7.0
func (handler *PipelineConfigRestHandlerImpl) GetSourceCiDownStreamFilters(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) GetSourceCiDownStreamInfo ¶ added in v0.7.0
func (handler *PipelineConfigRestHandlerImpl) GetSourceCiDownStreamInfo(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) GetStageStatus ¶
func (handler *PipelineConfigRestHandlerImpl) GetStageStatus(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) GetTemplateComparisonMetadata ¶
func (handler *PipelineConfigRestHandlerImpl) GetTemplateComparisonMetadata(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) HandleChangeDeploymentRequest ¶
func (handler *PipelineConfigRestHandlerImpl) HandleChangeDeploymentRequest(w http.ResponseWriter, r *http.Request)
HandleChangeDeploymentRequest changes the deployment app type for all pipelines in all apps for a given environment.
func (*PipelineConfigRestHandlerImpl) HandleChangeDeploymentTypeRequest ¶
func (handler *PipelineConfigRestHandlerImpl) HandleChangeDeploymentTypeRequest(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) HandleTriggerDeploymentAfterTypeChange ¶
func (handler *PipelineConfigRestHandlerImpl) HandleTriggerDeploymentAfterTypeChange(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) HandleWorkflowWebhook ¶
func (handler *PipelineConfigRestHandlerImpl) HandleWorkflowWebhook(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) IsReadyToTrigger ¶
func (handler *PipelineConfigRestHandlerImpl) IsReadyToTrigger(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) ListDeploymentHistory ¶
func (handler *PipelineConfigRestHandlerImpl) ListDeploymentHistory(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) PatchCdPipeline ¶
func (handler *PipelineConfigRestHandlerImpl) PatchCdPipeline(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) PatchCiMaterialSourceWithAppIdAndEnvironmentId ¶
func (handler *PipelineConfigRestHandlerImpl) PatchCiMaterialSourceWithAppIdAndEnvironmentId(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) PatchCiMaterialSourceWithAppIdsAndEnvironmentId ¶
func (handler *PipelineConfigRestHandlerImpl) PatchCiMaterialSourceWithAppIdsAndEnvironmentId(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) PatchCiPipelines ¶
func (handler *PipelineConfigRestHandlerImpl) PatchCiPipelines(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) PipelineNameSuggestion ¶
func (handler *PipelineConfigRestHandlerImpl) PipelineNameSuggestion(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) RefreshMaterials ¶
func (handler *PipelineConfigRestHandlerImpl) RefreshMaterials(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) SaveGitOpsConfiguration ¶
func (handler *PipelineConfigRestHandlerImpl) SaveGitOpsConfiguration(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) TriggerCiPipeline ¶
func (handler *PipelineConfigRestHandlerImpl) TriggerCiPipeline(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) UpdateAppOverride ¶
func (handler *PipelineConfigRestHandlerImpl) UpdateAppOverride(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) UpdateBranchCiPipelinesWithRegex ¶
func (handler *PipelineConfigRestHandlerImpl) UpdateBranchCiPipelinesWithRegex(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) UpdateCiTemplate ¶
func (handler *PipelineConfigRestHandlerImpl) UpdateCiTemplate(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) UpdateMaterial ¶
func (handler *PipelineConfigRestHandlerImpl) UpdateMaterial(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) UpgradeForAllApps ¶
func (handler *PipelineConfigRestHandlerImpl) UpgradeForAllApps(w http.ResponseWriter, r *http.Request)
func (*PipelineConfigRestHandlerImpl) ValidateGitMaterialUrl ¶
func (handler *PipelineConfigRestHandlerImpl) ValidateGitMaterialUrl(gitProviderId int, url string) (bool, error)
type PipelineRestHandlerEnvConfig ¶
type PipelineRestHandlerEnvConfig struct {
UseArtifactListApiV2 bool `env:"USE_ARTIFACT_LISTING_API_V2" envDefault:"true"`
}
Click to show internal directories.
Click to hide internal directories.