cmds

package
v0.10.8 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2026 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RenderCmd = &cli.Command{
	Name:    "render",
	Aliases: []string{"apply"},
	Usage:   "render all elements in current inventory folder",
	Flags: []cli.Flag{
		&cli.StringFlag{
			Name:        "inventory",
			Value:       "",
			Usage:       "inventory to use",
			Destination: &initialInventoryFile,
		},
	},
	Action: func(context.Context, *cli.Command) error {
		return doRender()
	},
}
View Source
var RenderPlanCmd = &cli.Command{
	Name:  "render-plan",
	Usage: "plan all elements in current inventory folder",
	Flags: []cli.Flag{
		&cli.StringFlag{
			Name:        "inventory",
			Value:       "",
			Usage:       "inventory to use",
			Destination: &initialInventoryFile,
		},
	},
	Action: func(context.Context, *cli.Command) error {
		return doRenderPlan()
	},
}
View Source
var StackCmd = &cli.Command{
	Name:    "stack",
	Aliases: []string{"s"},
	Usage:   "manage stacks of services (up, down, status, logs, ...)",
	Flags:   stackFlags,
	Commands: []*cli.Command{
		stackUpCmd,
		stackDownCmd,
		stackRmCmd,
		stackBuildCmd,
		stackExecCmd,
		stackRestartCmd,
		stackStatusCmd,
		stackLogsCmd,
		stackHealthcheckCmd,
		stackUrlsCmd,
		stackRunCmd,
		stackListCmd,
		stackLayersCmd,
	},
}
View Source
var StacksCmd = &cli.Command{
	Name:    "stacks",
	Aliases: []string{"ls"},
	Usage:   "list available stacks from the inventory",
	Flags: []cli.Flag{
		&cli.StringFlag{
			Name:        "inventory",
			Value:       "",
			Usage:       "inventory file path",
			Destination: &stacksInventoryFile,
		},
	},
	Action: func(_ context.Context, _ *cli.Command) error {
		return doListStacks()
	},
}
View Source
var UnrenderCmd = &cli.Command{
	Name:    "unrender",
	Aliases: []string{"destroy"},
	Usage:   "unrender the generated files",
	Flags: []cli.Flag{
		&cli.StringFlag{
			Name:        "inventory",
			Value:       "",
			Usage:       "inventory to use",
			Destination: &initialInventoryFile,
		},
	},
	Action: func(context.Context, *cli.Command) error {
		return doUnrender()
	},
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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