platform

package
v0.0.0-...-91ad592 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Commands = []*cli.Command{
	{
		Name:    "platform",
		Aliases: []string{"p"},
		Usage:   "manage platform instances",
		Commands: []*cli.Command{
			{
				Name:    "install",
				Aliases: []string{"i"},
				Usage:   "bootstraps a platform instance",
				Flags: []cli.Flag{
					&cli.BoolFlag{
						Name:    "demo",
						Aliases: []string{"d"},
						Usage:   "install example demo version using Kind. Requires Podman or Docker daemon running",
					},
				},
				Action: func(ctx context.Context, cmd *cli.Command) error {
					Install(ctx, cmd)
					return nil
				},
			},
			{
				Name:    "uninstall",
				Aliases: []string{"u"},
				Usage:   "removes a platform instance",
				Flags: []cli.Flag{
					&cli.BoolFlag{
						Name:    "demo",
						Aliases: []string{"d"},
						Usage:   "uninstall example demo version using Kind",
					},
				}, Action: func(ctx context.Context, cmd *cli.Command) error {
					Uninstall(ctx, cmd)
					return nil
				},
			},
		},
	},
}

Functions

func Install

func Install(ctx context.Context, cmd *cli.Command) error

func InstallDemo

func InstallDemo()

func Uninstall

func Uninstall(ctx context.Context, cmd *cli.Command) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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