cmd

package
v0.0.0-...-5072f25 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2022 License: Apache-2.0 Imports: 35 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BroadcastBlockRetryTimeout = 300 * time.Second
)

Variables

View Source
var DefaultBuilder = "heroku/buildpacks:20"

Functions

func NewActions

func NewActions(ctx context.Context, cancel context.CancelFunc) *cobra.Command

func NewDeploy

func NewDeploy(ctx context.Context, cancel context.CancelFunc) *cobra.Command

func NewDeploy2Cmd

func NewDeploy2Cmd(ctx context.Context, cancel context.CancelFunc) *cobra.Command

NewDeploy2Cmd returns a new instance of the deploy2 command

func NewDeployCreateCMD

func NewDeployCreateCMD(ctx context.Context, cancel context.CancelFunc) *cobra.Command

func NewInit

func NewInit(ctx context.Context, cancel context.CancelFunc) *cobra.Command

func NewLogs

func NewLogs(ctx context.Context, cancel context.CancelFunc) *cobra.Command

NewLogs creates a new command that logs the output of the given command

func NewPack

func NewPack(ctx context.Context, cancel context.CancelFunc) *cobra.Command

NewPackCommand creates a new pack command

func NewPublish

func NewPublish(ctx context.Context, cancel context.CancelFunc) *cobra.Command

PublishCmd is the command to publish the image

func NewRootCMD

func NewRootCMD(ctx context.Context, cancel context.CancelFunc) *cobra.Command

NewDeploy creates a new command that deploys the given application

func NewSDL

func NewSDL(ctx context.Context, cancel context.CancelFunc) *cobra.Command

func NewSendManifestCMD

func NewSendManifestCMD(ctx context.Context, cancel context.CancelFunc) *cobra.Command

func NewStatus

func NewStatus(ctx context.Context, cancel context.CancelFunc) *cobra.Command

func NewUpdateDeploymentCMD

func NewUpdateDeploymentCMD(ctx context.Context, cancel context.CancelFunc) *cobra.Command

Types

type DeployFlags

type DeployFlags struct {
	DSEQ      string
	Provider  string
	NoPack    bool
	NoUpdate  bool
	NoPublish bool
	Image     string

	PackFlags *PackFlags
	*PublishFlags
}

type GlobalFlags

type GlobalFlags struct {
	Path         string
	StateDirName string
}

type PackFlags

type PackFlags struct {
	Env      []string // Build-time environment variable, in the form 'VAR=VALUE' or 'VAR'.
	EnvFiles []string // Build-time environment variables file
	Builder  string   // Builder to use for building the image
}

PackFlags contains the flags for the pack command

type PublishFlags

type PublishFlags struct {
	Version  string
	SkipSave bool
}

PublishFlags is the set of flags used by the publish command

type SDLFlags

type SDLFlags struct{}

Jump to

Keyboard shortcuts

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