Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationDetail ¶ added in v0.7.0
type ApplicationDetail struct {
Application *v1alpha12.Application `json:"application"`
StatusTime time.Time `json:"statusTime"`
}
type ArgoPipelineStatusSyncEvent ¶ added in v0.7.0
type BulkCDDeployEvent ¶ added in v0.7.0
type BulkCDDeployEvent struct {
ValuesOverrideRequest *bean.ValuesOverrideRequest `json:"valuesOverrideRequest"` //TODO migrate this
UserId int32 `json:"userId"`
}
type BulkDeployPayload ¶ added in v0.7.0
type CdStageCompleteEvent ¶
type CdStageCompleteEvent struct {
CiProjectDetails []bean3.CiProjectDetails `json:"ciProjectDetails"`
WorkflowId int `json:"workflowId"`
WorkflowRunnerId int `json:"workflowRunnerId"`
CdPipelineId int `json:"cdPipelineId"`
TriggeredBy int32 `json:"triggeredBy"`
StageYaml string `json:"stageYaml"`
ArtifactLocation string `json:"artifactLocation"`
PipelineName string `json:"pipelineName"`
CiArtifactDTO pipelineConfig.CiArtifactDTO `json:"ciArtifactDTO"`
PluginRegistryArtifactDetails map[string][]string `json:"PluginRegistryArtifactDetails"`
}
type CiCompleteEvent ¶
type CiCompleteEvent struct {
CiProjectDetails []bean3.CiProjectDetails `json:"ciProjectDetails"`
DockerImage string `json:"dockerImage" validate:"required,image-validator"`
Digest string `json:"digest"`
PipelineId int `json:"pipelineId"`
WorkflowId *int `json:"workflowId"`
TriggeredBy int32 `json:"triggeredBy"`
PipelineName string `json:"pipelineName"`
DataSource string `json:"dataSource"`
MaterialType string `json:"materialType"`
Metrics util.CIMetrics `json:"metrics"`
AppName string `json:"appName"`
IsArtifactUploaded bool `json:"isArtifactUploaded"`
FailureReason string `json:"failureReason"`
ImageDetailsFromCR *ImageDetailsFromCR `json:"imageDetailsFromCR"`
PluginRegistryArtifactDetails map[string][]string `json:"PluginRegistryArtifactDetails"`
PluginArtifactStage string `json:"pluginArtifactStage"`
}
type DevtronAppReleaseContextType ¶ added in v0.7.0
type DevtronAppReleaseContextType struct {
CancelParentContext context.CancelFunc
CancelContext context.CancelCauseFunc
RunnerId int
}
type ImageDetailsFromCR ¶
type ImageDetailsFromCR struct {
ImageDetails []types.ImageDetail `json:"imageDetails"`
Region string `json:"region"`
}
type UserDeploymentRequest ¶ added in v0.7.1
type UserDeploymentRequest struct {
Id int `json:"id"`
ValuesOverrideRequest *bean.ValuesOverrideRequest `json:"valuesOverrideRequest"` // Internal field - will be extracted from UserDeploymentRequest, handled for backward compatibility
TriggeredAt time.Time `json:"triggeredAt"` // Internal field - will be extracted from UserDeploymentRequest, handled for backward compatibility
TriggeredBy int32 `json:"triggeredBy"` // Internal field - will be extracted from UserDeploymentRequest, handled for backward compatibility
}
func (*UserDeploymentRequest) WithCdWorkflowRunnerId ¶ added in v0.7.1
func (r *UserDeploymentRequest) WithCdWorkflowRunnerId(id int) *UserDeploymentRequest
func (*UserDeploymentRequest) WithPipelineOverrideId ¶ added in v0.7.1
func (r *UserDeploymentRequest) WithPipelineOverrideId(id int) *UserDeploymentRequest
Click to show internal directories.
Click to hide internal directories.