deploy

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2025 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package deploy implements deployment orchestration, handlers, and integration logic for managing application deployments in the daemon. It coordinates deployment workflows, lifecycle management, and high-level operations, utilizing core types from pkg/core/deploy. Concrete deployment execution and internal details are encapsulated within this package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloneRepo

func CloneRepo(remote store.RemoteObj, destDir, workDir string, config *shared.Config) error

CloneRepo clones a git repository to the specified directory

func DeployApp

func DeployApp(bp store.Blueprint) error

DeployApp handles runtime setup, build, and service installation

func SetupDir

func SetupDir(name string) (string, error)

SetupDir creates a working directory for the deployment

Types

type DeployRequest

type DeployRequest struct{}

type Deployer

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

func Init

Init creates a new Deployer instance

func (*Deployer) Deploy

func (*Deployer) GetDeployment

func (d *Deployer) GetDeployment(ctx context.Context, id string) (*store.Deployment, error)

func (*Deployer) ListDeployments

func (d *Deployer) ListDeployments(ctx context.Context, userID string, limit, offset int) ([]*store.Deployment, error)

func (*Deployer) UpdateDeploymentStatus

func (d *Deployer) UpdateDeploymentStatus(ctx context.Context, id string, status store.Status) error

type Dispatcher

type Dispatcher interface {
	Submit(id string)
}

Jump to

Keyboard shortcuts

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