haloy

package
v0.1.0-beta.45 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2026 License: MIT Imports: 38 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildImage

func BuildImage(ctx context.Context, imageRef string, image *config.Image, configPath string) error

BuildImage builds a Docker image using the provided image configuration

func CompletionCmd

func CompletionCmd() *cobra.Command

func DeployAppCmd

func DeployAppCmd(configPath *string, flags *appCmdFlags) *cobra.Command

func ExecCmd

func ExecCmd(configPath *string, flags *appCmdFlags) *cobra.Command

func Execute

func Execute() int

func LogsCmd

func LogsCmd(configPath *string, flags *appCmdFlags) *cobra.Command

func NewRootCmd

func NewRootCmd() *cobra.Command

func PruneImagesCmd

func PruneImagesCmd(configPath *string, flags *appCmdFlags) *cobra.Command

func ResolveImageBuilds

func ResolveImageBuilds(targets map[string]config.TargetConfig) (
	builds map[string]*config.Image,
	pushes map[string][]*config.Image,
	uploads map[string][]*config.TargetConfig,
	localBuilds map[string][]*config.TargetConfig,
)

func RollbackAppCmd

func RollbackAppCmd(configPath *string, flags *appCmdFlags) *cobra.Command

func RollbackTargetsCmd

func RollbackTargetsCmd(configPath *string, flags *appCmdFlags) *cobra.Command

func ServerAddCmd

func ServerAddCmd() *cobra.Command

func ServerCmd

func ServerCmd(configPath *string, flags *appCmdFlags) *cobra.Command

func ServerDeleteCmd

func ServerDeleteCmd() *cobra.Command

func ServerListCmd

func ServerListCmd() *cobra.Command

func ServerLogsCmd

func ServerLogsCmd(configPath *string, flags *appCmdFlags) *cobra.Command

func ServerVersionCmd

func ServerVersionCmd(configPath *string, flags *appCmdFlags) *cobra.Command

func StatusAppCmd

func StatusAppCmd(configPath *string, flags *appCmdFlags) *cobra.Command

func StopAppCmd

func StopAppCmd(configPath *string, flags *appCmdFlags) *cobra.Command

func TargetsCmd

func TargetsCmd(configPath *string, flags *appCmdFlags) *cobra.Command

func TunnelCmd

func TunnelCmd(configPath *string, flags *appCmdFlags) *cobra.Command

func UploadImage

func UploadImage(ctx context.Context, imageRef string, resolvedTargetConfigs []*config.TargetConfig) error

UploadImage uploads a Docker image to the specified server It tries layer-based upload first (efficient), falls back to full tar upload

func ValidateDeployConfigCmd

func ValidateDeployConfigCmd(configPath *string) *cobra.Command

func VersionCmd

func VersionCmd() *cobra.Command

Types

type PrefixedError

type PrefixedError struct {
	Err    error
	Prefix string
}

func (*PrefixedError) Error

func (e *PrefixedError) Error() string

func (*PrefixedError) GetPrefix

func (e *PrefixedError) GetPrefix() string

func (*PrefixedError) Unwrap

func (e *PrefixedError) Unwrap() error

Jump to

Keyboard shortcuts

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