batch

package
v0.0.0-...-987a61a Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2022 License: Apache-2.0 Imports: 18 Imported by: 0

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 app.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 app.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 app.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 chart.ChartService) *DeploymentTemplateActionImpl

func (DeploymentTemplateActionImpl) Execute

type TaskAction

type TaskAction interface {
	Execute(task *v1.Task, taskType string) error
}

type TaskActionImpl

type TaskActionImpl struct {
	// contains filtered or unexported fields
}

func NewTaskAction

func NewTaskAction(logger *zap.SugaredLogger) *TaskActionImpl

func (TaskActionImpl) Execute

func (impl TaskActionImpl) Execute(task *v1.Task, taskType string) error

type WorkflowAction

type WorkflowAction interface {
	Execute(workflow *v1.Workflow, props v1.InheritedProps, ctx context.Context) error
}

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

Jump to

Keyboard shortcuts

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