run

package
v0.19.5 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Command *cli.Command = &cli.Command{
	Name:    commandName,
	Aliases: []string{"r"},
	Usage:   "Run your application with Docker Compose",
	Flags: []cli.Flag{
		shared.SystemNameFlag(
			"The name of your system.",
			true,
		),
		shared.HelmValuesFileFlag(),
		shared.RegistryFlag(
			"The registry to use for the image. Used for finding the image name.",
		),
	},
	Action: Run,
}

Functions

func Run

func Run(c *cli.Context) error

Types

type ComposeFileVariables

type ComposeFileVariables struct {
	ApplicationName      string
	ImageName            string
	Port                 int
	TargetPort           int
	EnvironmentVariables map[string]string
}

type HelmValues

type HelmValues struct {
	Env []struct {
		Name  string `yaml:"name"`
		Value string `yaml:"value"`
	} `yaml:"env"`
	Service struct {
		Port       int `yaml:"port"`
		TargetPort int `yaml:"targetPort"`
	} `yaml:"service"`
}

func (HelmValues) GetEnvironmentVariablesMap

func (v HelmValues) GetEnvironmentVariablesMap() map[string]string

Jump to

Keyboard shortcuts

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