deploypipe

package
v0.0.0-...-d486674 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2026 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DockerComposeFile = "docker-compose.yml"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CleanupWorkspacePipeline

type CleanupWorkspacePipeline struct {
}

func (*CleanupWorkspacePipeline) Cancel

func (p *CleanupWorkspacePipeline) Cancel(c *DeployCtx, err error)

func (*CleanupWorkspacePipeline) Process

type CopyWorkspacePipeline

type CopyWorkspacePipeline struct {
}

func (*CopyWorkspacePipeline) Cancel

func (p *CopyWorkspacePipeline) Cancel(c *DeployCtx, err error)

func (*CopyWorkspacePipeline) Process

type CopyWriter

type CopyWriter struct {
	*sse.Writer
}

func (*CopyWriter) Write

func (c *CopyWriter) Write(p []byte) (n int, err error)

type DeployCtx

type DeployCtx struct {
	App       *model.App
	Service   *model.Service
	NodeState *node.NodeState
	// contains filtered or unexported fields
}

func NewDeployCtx

func NewDeployCtx(
	options options.IOptions,
	writer *sse.Writer,
	env map[string]string,
	appCtx *ctx.AppCtx,
) *DeployCtx

func (*DeployCtx) GetDeployInfo

func (d *DeployCtx) GetDeployInfo() map[string]string

func (*DeployCtx) GetServicePath

func (d *DeployCtx) GetServicePath() (string, error)

func (*DeployCtx) Send

func (d *DeployCtx) Send(event string, data string) error

type DockerComposeDownPipeline

type DockerComposeDownPipeline struct {
}

func (*DockerComposeDownPipeline) Cancel

func (p *DockerComposeDownPipeline) Cancel(c *DownCtx, err error)

func (*DockerComposeDownPipeline) Process

type DockerComposeFileParsePipeline

type DockerComposeFileParsePipeline struct {
}

func (*DockerComposeFileParsePipeline) Cancel

func (p *DockerComposeFileParsePipeline) Cancel(c *DeployCtx, err error)

func (*DockerComposeFileParsePipeline) Process

type DockerComposeUpPipeline

type DockerComposeUpPipeline struct {
}

func (*DockerComposeUpPipeline) Cancel

func (p *DockerComposeUpPipeline) Cancel(c *DeployCtx, err error)

func (*DockerComposeUpPipeline) Process

type DownCtx

type DownCtx struct {
	Service   *model.Service
	NodeState *node.NodeState
	// contains filtered or unexported fields
}

func NewDownCtx

func NewDownCtx(
	options options.IOptions,
	service *model.Service,
	nodeState *node.NodeState,
	deployInfo map[string]string,
) *DownCtx

func (*DownCtx) GetServicePath

func (d *DownCtx) GetServicePath() (string, error)

type DownloadInstallerPipeline

type DownloadInstallerPipeline struct {
}

func (*DownloadInstallerPipeline) Cancel

func (p *DownloadInstallerPipeline) Cancel(c *DeployCtx, err error)

func (*DownloadInstallerPipeline) Process

type LoadImagePipeline

type LoadImagePipeline struct {
}

func (*LoadImagePipeline) Cancel

func (p *LoadImagePipeline) Cancel(c *DeployCtx, err error)

func (*LoadImagePipeline) Process

func (p *LoadImagePipeline) Process(ctx context.Context, c *DeployCtx) (*DeployCtx, error)

Jump to

Keyboard shortcuts

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