app

package
v0.6.21 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 23, 2023 License: Apache-2.0 Imports: 45 Imported by: 0

Documentation

Index

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 added in v0.6.19

type BuildHistoryResponse struct {
	HideImageTaggingHardDelete bool                        `json:"hideImageTaggingHardDelete"`
	TagsEditable               bool                        `json:"tagsEditable"`
	AppReleaseTagNames         []string                    `json:"appReleaseTagNames"` //unique list of tags exists in the app
	CiWorkflows                []pipeline.WorkflowResponse `json:"ciWorkflows"`
}

type DeploymentHistoryResp added in v0.6.19

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 DevtronAppAutoCompleteRestHandler

type DevtronAppAutoCompleteRestHandler interface {
	GitListAutocomplete(w http.ResponseWriter, r *http.Request)
	RegistriesListAutocomplete(w http.ResponseWriter, r *http.Request)
	TeamListAutocomplete(w http.ResponseWriter, r *http.Request)
	EnvironmentListAutocomplete(w http.ResponseWriter, r *http.Request)
	GetAppListForAutocomplete(w http.ResponseWriter, r *http.Request)
}

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)
	TriggerCiPipeline(w http.ResponseWriter, r *http.Request)
	GetCiPipelineMin(w http.ResponseWriter, r *http.Request)
	GetCIPipelineById(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)
	// 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)
}

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)

	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)

	AppMetricsEnableDisable(w http.ResponseWriter, r *http.Request)
	EnvMetricsEnableDisable(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 {
	GetMigrationConfig(w http.ResponseWriter, r *http.Request)
	CreateMigrationConfig(w http.ResponseWriter, r *http.Request)
	UpdateMigrationConfig(w http.ResponseWriter, r *http.Request)
	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 added in v0.6.19

type ImageTaggingRestHandler interface {
	CreateUpdateImageTagging(w http.ResponseWriter, r *http.Request)
	GetImageTaggingData(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,
	chartService chart.ChartService,
	propertiesConfigService pipeline.PropertiesConfigService,
	dbMigrationService pipeline.DbMigrationService,
	application application.ServiceClient,
	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, envService request.EnvironmentService,
	gitRegistryConfig pipeline.GitRegistryConfig, dockerRegistryConfig pipeline.DockerRegistryConfig,
	cdHandler pipeline.CdHandler,
	appCloneService appClone.AppCloneService,
	appWorkflowService appWorkflow.AppWorkflowService,
	materialRepository pipelineConfig.MaterialRepository, policyService security2.PolicyService,
	scanResultRepository security.ImageScanResultRepository, gitProviderRepo repository.GitProviderRepository,
	argoUserService argo.ArgoUserService, ciPipelineMaterialRepository pipelineConfig.CiPipelineMaterialRepository,
	imageTaggingService pipeline.ImageTaggingService) *PipelineConfigRestHandlerImpl

func (PipelineConfigRestHandlerImpl) AppMetricsEnableDisable

func (handler PipelineConfigRestHandlerImpl) AppMetricsEnableDisable(w http.ResponseWriter, r *http.Request)

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 added in v0.6.21

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 (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) CreateMigrationConfig

func (handler PipelineConfigRestHandlerImpl) CreateMigrationConfig(w http.ResponseWriter, r *http.Request)

func (PipelineConfigRestHandlerImpl) CreateUpdateImageTagging added in v0.6.19

func (handler PipelineConfigRestHandlerImpl) CreateUpdateImageTagging(w http.ResponseWriter, r *http.Request)

func (PipelineConfigRestHandlerImpl) DeleteACDAppWithNonCascade added in v0.6.18

func (handler PipelineConfigRestHandlerImpl) DeleteACDAppWithNonCascade(w http.ResponseWriter, r *http.Request)

func (PipelineConfigRestHandlerImpl) DeleteApp

func (PipelineConfigRestHandlerImpl) DeleteMaterial added in v0.3.15

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) EnvMetricsEnableDisable

func (handler PipelineConfigRestHandlerImpl) EnvMetricsEnableDisable(w http.ResponseWriter, r *http.Request)

func (PipelineConfigRestHandlerImpl) EnvironmentListAutocomplete

func (handler PipelineConfigRestHandlerImpl) EnvironmentListAutocomplete(w http.ResponseWriter, r *http.Request)

func (PipelineConfigRestHandlerImpl) FetchAppDeploymentStatusForEnvironments added in v0.6.13

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 added in v0.6.13

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 added in v0.6.17

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 (PipelineConfigRestHandlerImpl) GetAppListForAutocomplete

func (handler PipelineConfigRestHandlerImpl) GetAppListForAutocomplete(w http.ResponseWriter, r *http.Request)

func (PipelineConfigRestHandlerImpl) GetAppOverrideForDefaultTemplate

func (handler PipelineConfigRestHandlerImpl) GetAppOverrideForDefaultTemplate(w http.ResponseWriter, r *http.Request)

func (PipelineConfigRestHandlerImpl) GetApplicationsByEnvironment added in v0.6.13

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) GetArtifactsForRollback added in v0.6.2

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) 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 added in v0.6.13

func (handler PipelineConfigRestHandlerImpl) GetCdPipelinesByEnvironment(w http.ResponseWriter, r *http.Request)

func (PipelineConfigRestHandlerImpl) GetCdPipelinesByEnvironmentMin added in v0.6.17

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 added in v0.6.13

func (handler PipelineConfigRestHandlerImpl) GetCiPipelineByEnvironment(w http.ResponseWriter, r *http.Request)

func (PipelineConfigRestHandlerImpl) GetCiPipelineByEnvironmentMin added in v0.6.17

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 added in v0.4.28

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 added in v0.6.17

func (handler PipelineConfigRestHandlerImpl) GetDefaultDeploymentPipelineStrategy(w http.ResponseWriter, r *http.Request)

func (*PipelineConfigRestHandlerImpl) GetDefaultDeploymentTemplate added in v0.6.13

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) GetEnvConfigOverride

func (handler PipelineConfigRestHandlerImpl) GetEnvConfigOverride(w http.ResponseWriter, r *http.Request)

func (PipelineConfigRestHandlerImpl) GetEnvironmentListWithAppData added in v0.6.13

func (handler PipelineConfigRestHandlerImpl) GetEnvironmentListWithAppData(w http.ResponseWriter, r *http.Request)

func (PipelineConfigRestHandlerImpl) GetExternalCi added in v0.6.9

func (handler PipelineConfigRestHandlerImpl) GetExternalCi(w http.ResponseWriter, r *http.Request)

func (PipelineConfigRestHandlerImpl) GetExternalCiByEnvironment added in v0.6.13

func (handler PipelineConfigRestHandlerImpl) GetExternalCiByEnvironment(w http.ResponseWriter, r *http.Request)

func (PipelineConfigRestHandlerImpl) GetExternalCiById added in v0.6.9

func (handler PipelineConfigRestHandlerImpl) GetExternalCiById(w http.ResponseWriter, r *http.Request)

func (PipelineConfigRestHandlerImpl) GetHistoricBuildLogs

func (handler PipelineConfigRestHandlerImpl) GetHistoricBuildLogs(w http.ResponseWriter, r *http.Request)

func (PipelineConfigRestHandlerImpl) GetImageTaggingData added in v0.6.19

func (handler PipelineConfigRestHandlerImpl) GetImageTaggingData(w http.ResponseWriter, r *http.Request)

func (PipelineConfigRestHandlerImpl) GetMigrationConfig

func (handler PipelineConfigRestHandlerImpl) GetMigrationConfig(w http.ResponseWriter, r *http.Request)

func (*PipelineConfigRestHandlerImpl) GetPrePostDeploymentLogs

func (handler *PipelineConfigRestHandlerImpl) GetPrePostDeploymentLogs(w http.ResponseWriter, r *http.Request)

func (PipelineConfigRestHandlerImpl) GetStageStatus

func (handler PipelineConfigRestHandlerImpl) GetStageStatus(w http.ResponseWriter, r *http.Request)

func (PipelineConfigRestHandlerImpl) GitListAutocomplete

func (handler PipelineConfigRestHandlerImpl) GitListAutocomplete(w http.ResponseWriter, r *http.Request)

func (PipelineConfigRestHandlerImpl) HandleChangeDeploymentRequest added in v0.6.13

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 added in v0.6.17

func (handler PipelineConfigRestHandlerImpl) HandleChangeDeploymentTypeRequest(w http.ResponseWriter, r *http.Request)

func (PipelineConfigRestHandlerImpl) HandleTriggerDeploymentAfterTypeChange added in v0.6.17

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 added in v0.6.21

func (handler PipelineConfigRestHandlerImpl) PatchCiMaterialSourceWithAppIdAndEnvironmentId(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) RegistriesListAutocomplete added in v0.6.19

func (handler PipelineConfigRestHandlerImpl) RegistriesListAutocomplete(w http.ResponseWriter, r *http.Request)

func (PipelineConfigRestHandlerImpl) TeamListAutocomplete

func (handler PipelineConfigRestHandlerImpl) TeamListAutocomplete(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 added in v0.4.28

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) UpdateMigrationConfig

func (handler PipelineConfigRestHandlerImpl) UpdateMigrationConfig(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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL