Documentation
¶
Index ¶
- func BuildImage(ctx context.Context, imageRef string, image *config.Image, configPath string) error
- func CompletionCmd() *cobra.Command
- func DeployAppCmd(configPath *string, flags *appCmdFlags) *cobra.Command
- func ExecCmd(configPath *string, flags *appCmdFlags) *cobra.Command
- func Execute() int
- func LogsCmd(configPath *string, flags *appCmdFlags) *cobra.Command
- func NewRootCmd() *cobra.Command
- func ResolveImageBuilds(targets map[string]config.TargetConfig) (map[string]*config.Image, map[string][]*config.Image, ...)
- func RollbackAppCmd(configPath *string, flags *appCmdFlags) *cobra.Command
- func RollbackTargetsCmd(configPath *string, flags *appCmdFlags) *cobra.Command
- func ServerAddCmd() *cobra.Command
- func ServerCmd(configPath *string, flags *appCmdFlags) *cobra.Command
- func ServerDeleteCmd() *cobra.Command
- func ServerListCmd() *cobra.Command
- func ServerSetupCmd() *cobra.Command
- func ServerUpgradeCmd(configPath *string, flags *appCmdFlags) *cobra.Command
- func ServerVersionCmd(configPath *string, flags *appCmdFlags) *cobra.Command
- func StatusAppCmd(configPath *string, flags *appCmdFlags) *cobra.Command
- func StopAppCmd(configPath *string, flags *appCmdFlags) *cobra.Command
- func TunnelCmd(configPath *string, flags *appCmdFlags) *cobra.Command
- func UploadImage(ctx context.Context, imageRef string, ...) error
- func ValidateDeployConfigCmd(configPath *string) *cobra.Command
- func VersionCmd() *cobra.Command
- type GitHubRelease
- type PrefixedError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildImage ¶
BuildImage builds a Docker image using the provided image configuration
func CompletionCmd ¶
NewCompletionCmd creates a new completion command
func DeployAppCmd ¶
func NewRootCmd ¶
func ResolveImageBuilds ¶
func RollbackAppCmd ¶
func RollbackTargetsCmd ¶
func ServerAddCmd ¶
func ServerDeleteCmd ¶
func ServerListCmd ¶
func ServerSetupCmd ¶
func ServerUpgradeCmd ¶
func ServerVersionCmd ¶
func StatusAppCmd ¶
func StopAppCmd ¶
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 VersionCmd ¶
Types ¶
type GitHubRelease ¶
type GitHubRelease struct {
TagName string `json:"tag_name"`
}
type PrefixedError ¶
func (*PrefixedError) Error ¶
func (e *PrefixedError) Error() string
func (*PrefixedError) GetPrefix ¶
func (e *PrefixedError) GetPrefix() string
func (*PrefixedError) Unwrap ¶
func (e *PrefixedError) Unwrap() error
Click to show internal directories.
Click to hide internal directories.