Documentation ¶
Overview ¶
Package run implements a 'devenv apps run' command that allows developers to runs their applications from source code.
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 dev` command
Types ¶
type Options ¶
type Options struct { // DeploymentProfile is the profile to use with devspace, it's passed in in an env variable $DEVENV_DEV_DEPLOYMENT_PROFILE DeploymentProfile string // AppNameOrPath is the app to dev either (in case of dev it should always be path) AppNameOrPath string // LocalImage is a flag for enabling building images from source instead of using images from CI LocalImage bool // Terminal is a flag passed to devspace as DEVENV_DEV_TERMINAL=true. It activates the profile for starting terminal instead of service. Terminal bool // SkipPortforwarding is a flag passed to devspace as DEVENV_DEV_SKIP_PORTFORWARDING=true. It skips port forwarding. SkipPortForwarding bool // DeployDependencies is flag to determine if app dependencies should be deployed as well. DeployDependencies bool // contains filtered or unexported fields }
Options are various options for the `apps dev` command
func NewOptions ¶
func NewOptions(log logrus.FieldLogger) (*Options, error)
NewOptions create an initialized options struct for the `apps dev` command
Click to show internal directories.
Click to hide internal directories.