deploy

package
v1.48.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package deploy implements a 'devenv apps deploy' command that allows developers to deploy an application to the developer environment.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmd

func NewCmd(log logrus.FieldLogger) *cli.Command

NewCmd creates a new cli.Command for the `apps deploy` command

Types

type Options

type Options struct {

	// App is the app to deploy
	App string

	// UseDevspace is a flag that determines whether to use devspace for deployment or not.
	UseDevspace bool

	// DeployDependencies is a flag that determines whether to deploy app dependencies or not.
	DeployDependencies bool
	// contains filtered or unexported fields
}

Options are various options for the `apps deploy` command

func NewOptions

func NewOptions(log logrus.FieldLogger) (*Options, error)

NewOptions create an initialized options struct for the `apps deploy` command

func (*Options) Run

func (o *Options) Run(ctx context.Context) error

Run runs the `apps deploy` command

Jump to

Keyboard shortcuts

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