bean

package
v0.6.29 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ARGOCD_SYNC_ERROR = "error in syncing argoCD app"
)

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
}

type TriggerEvent

type TriggerEvent struct {
	PerformChartPush           bool
	PerformDeploymentOnCluster bool
	GetManifestInResponse      bool
	DeploymentAppType          string
	ManifestStorageType        string
	TriggeredBy                int32
	TriggerdAt                 time.Time
}

type TriggerRequest

type TriggerRequest struct {
	CdWf                  *pipelineConfig.CdWorkflow
	Pipeline              *pipelineConfig.Pipeline
	Artifact              *repository.CiArtifact
	ApplyAuth             bool
	TriggeredBy           int32
	RefCdWorkflowRunnerId int
	TriggerContext
}

Jump to

Keyboard shortcuts

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