command

package
v0.0.0-...-044f632 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2022 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CancelPipeline

type CancelPipeline struct {
	PipelineID   string
	CanceledByID string
}

type CancelPipelineHandler

type CancelPipelineHandler interface {
	Handle(ctx context.Context, cmd CancelPipeline) error
}

type CreateTestCampaign

type CreateTestCampaign struct {
	TestCampaignID string
	OwnerID        string
	ViewName       string
	Summary        string
}

type CreateTestCampaignHandler

type CreateTestCampaignHandler interface {
	Handle(ctx context.Context, cmd CreateTestCampaign) error
}

type LoadSpecification

type LoadSpecification struct {
	SpecificationID string
	TestCampaignID  string
	LoadedByID      string
	Content         []byte
}

type LoadSpecificationHandler

type LoadSpecificationHandler interface {
	Handle(ctx context.Context, cmd LoadSpecification) error
}

type RestartPipeline

type RestartPipeline struct {
	PipelineID  string
	StartedByID string
}

type RestartPipelineHandler

type RestartPipelineHandler interface {
	Handle(ctx context.Context, cmd RestartPipeline) error
}

func NewRestartPipelineHandler

func NewRestartPipelineHandler(
	pipeRepo service.PipelineRepository,
	specGetter service.SpecificationGetter,
	maintainer service.PipelineMaintainer,
	registrars ...pipeline.ExecutorRegistrar,
) RestartPipelineHandler

type StartPipeline

type StartPipeline struct {
	PipelineID     string
	TestCampaignID string
	StartedByID    string
}

type StartPipelineHandler

type StartPipelineHandler interface {
	Handle(ctx context.Context, cmd StartPipeline) error
}

Jump to

Keyboard shortcuts

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