Documentation
¶
Index ¶
Constants ¶
View Source
const (
ARGOCD_SYNC_ERROR = "error in syncing argoCD app"
)
View Source
const (
CronJobChartRegexExpression = "cronjob-chart_1-(2|3|4|5)-0"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeploymentType ¶
type DeploymentType = string
const ( Helm DeploymentType = "helm" ArgoCd DeploymentType = "argo_cd" ManifestDownload DeploymentType = "manifest_download" GitOpsWithoutDeployment DeploymentType = "git_ops_without_deployment" )
type TriggerContext ¶
type TriggerContext struct {
// Context is a context object to be passed to the pipeline trigger
// +optional
Context context.Context
// ReferenceId is a unique identifier for the workflow runner
// refer pipelineConfig.CdWorkflowRunner
ReferenceId *string
// manual or automatic
TriggerType TriggerType
}
type TriggerEvent ¶
type TriggerRequest ¶
type TriggerRequest struct {
CdWf *pipelineConfig.CdWorkflow
Pipeline *pipelineConfig.Pipeline
Artifact *repository.CiArtifact
ApplyAuth bool
TriggeredBy int32
RefCdWorkflowRunnerId int
RunStageInEnvNamespace string
WorkflowType bean.WorkflowType
CdWorkflowRunnerId int
TriggerContext
}
type TriggerRequirementRequestDto ¶ added in v0.7.0
type TriggerRequirementRequestDto struct {
TriggerRequest TriggerRequest
}
type TriggerType ¶ added in v1.0.0
type TriggerType int
const ( Automatic TriggerType = 1 Manual TriggerType = 2 )
type VulnerabilityCheckRequest ¶ added in v0.7.0
type VulnerabilityCheckRequest struct {
ImageDigest string
CdPipeline *pipelineConfig.Pipeline
}
Click to show internal directories.
Click to hide internal directories.