deploy

package
v0.6.24 Latest Latest
Warning

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

Go to latest
Published: May 14, 2026 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const DockerIgnoreContent = `` /* 1163-byte string literal not displayed */

DockerIgnoreContent defines patterns to exclude from Docker builds

Variables

This section is empty.

Functions

func BuildImage added in v0.6.21

func BuildImage(name, srcDir string, cfg *shared.Config) (string, error)

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, name, logPath string, cfg *shared.Config) error

DeployApp handles runtime setup, build, and service installation

func PullImage added in v0.6.0

func PullImage(imageRef string, workDir string, config *shared.Config) error

PullImage pulls a docker image from a registry

func SetupDir

func SetupDir(name string) (string, error)

SetupDir creates a working directory for the deployment

Types

type Deployer

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

func Init

Init creates a new Deployer instance

func (*Deployer) Build added in v0.6.21

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) Publish added in v0.6.21

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