Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildAction ¶
type BuildAction interface {
Execute(build *v1.Build, props v1.InheritedProps) error
}
type BuildActionImpl ¶
type BuildActionImpl struct {
// contains filtered or unexported fields
}
func NewBuildActionImpl ¶
func NewBuildActionImpl(pipelineBuilder pipeline.PipelineBuilder, logger *zap.SugaredLogger, appRepo pc.AppRepository, appWorkflowRepo appWorkflow.AppWorkflowRepository, ciPipelineRepository pc.CiPipelineRepository, materialRepo pc.MaterialRepository) *BuildActionImpl
func (BuildActionImpl) Execute ¶
func (impl BuildActionImpl) Execute(build *v1.Build, props v1.InheritedProps) error
type DataHolderAction ¶
type DataHolderAction interface {
Execute(holder *v1.DataHolder, props v1.InheritedProps, dataType string) error
}
type DataHolderActionImpl ¶
type DataHolderActionImpl struct {
// contains filtered or unexported fields
}
func NewDataHolderActionImpl ¶
func NewDataHolderActionImpl(appRepo pipelineConfig.AppRepository, configMapService pipeline.ConfigMapService, envService cluster.EnvironmentService, logger *zap.SugaredLogger) *DataHolderActionImpl
func (DataHolderActionImpl) Execute ¶
func (impl DataHolderActionImpl) Execute(holder *v1.DataHolder, props v1.InheritedProps, dataType string) error
type DeploymentAction ¶
type DeploymentAction interface {
Execute(deployment *v1.Deployment, props v1.InheritedProps, ctx context.Context) error
}
type DeploymentActionImpl ¶
type DeploymentActionImpl struct {
// contains filtered or unexported fields
}
func NewDeploymentActionImpl ¶
func NewDeploymentActionImpl(pipelineBuilder pipeline.PipelineBuilder, logger *zap.SugaredLogger, appRepo pc.AppRepository, envService cluster.EnvironmentService, appWorkflowRepo appWorkflow.AppWorkflowRepository, ciPipelineRepository pc.CiPipelineRepository, cdPipelineRepository pc.PipelineRepository, dataHolderAction DataHolderAction, deploymentTemplateAction DeploymentTemplateAction) *DeploymentActionImpl
func (DeploymentActionImpl) Execute ¶
func (impl DeploymentActionImpl) Execute(deployment *v1.Deployment, props v1.InheritedProps, ctx context.Context) error
type DeploymentTemplateAction ¶
type DeploymentTemplateAction interface {
Execute(template *v1.DeploymentTemplate, props v1.InheritedProps, ctx context.Context) error
}
type DeploymentTemplateActionImpl ¶
type DeploymentTemplateActionImpl struct {
// contains filtered or unexported fields
}
func NewDeploymentTemplateActionImpl ¶
func NewDeploymentTemplateActionImpl(logger *zap.SugaredLogger, appRepo pc.AppRepository, chartService pipeline.ChartService) *DeploymentTemplateActionImpl
func (DeploymentTemplateActionImpl) Execute ¶
func (impl DeploymentTemplateActionImpl) Execute(template *v1.DeploymentTemplate, props v1.InheritedProps, ctx context.Context) error
type TaskActionImpl ¶
type TaskActionImpl struct {
// contains filtered or unexported fields
}
func NewTaskAction ¶
func NewTaskAction(logger *zap.SugaredLogger) *TaskActionImpl
type WorkflowAction ¶
type WorkflowActionImpl ¶
type WorkflowActionImpl struct {
// contains filtered or unexported fields
}
func NewWorkflowActionImpl ¶
func NewWorkflowActionImpl(logger *zap.SugaredLogger, appRepo pc.AppRepository, workflowService appWorkflow.AppWorkflowService, buildAction BuildAction, deploymentAction DeploymentAction) *WorkflowActionImpl
func (WorkflowActionImpl) Execute ¶
func (impl WorkflowActionImpl) Execute(workflow *v1.Workflow, props v1.InheritedProps, ctx context.Context) error
Click to show internal directories.
Click to hide internal directories.