cmdcommon

package
v1.10.2 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrDockerLoginFailed = errors.New("docker login failed")

Functions

func BuildAndPushImage

func BuildAndPushImage(registry *infra.RegistryConfig) error

BuildAndPushImage builds and pushes a Docker image to the registry. Returns ErrDockerLoginFailed if login fails (credentials may be invalid).

func GetAppURL

func GetAppURL(vpsCfg *infra.VPSConfig) string

func NewVPSProvisioner

func NewVPSProvisioner(vpsCfg *infra.VPSConfig) (infra.Provisioner, error)

func NewVPSProvisionerWithKey

func NewVPSProvisionerWithKey(vpsCfg *infra.VPSConfig, privateKey []byte) (infra.Provisioner, error)

NewVPSProvisionerWithKey creates a VPS provisioner from key content (not a file path).

Types

This section is empty.

Jump to

Keyboard shortcuts

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