command

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2016 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BeforeApp added in v0.1.1

func BeforeApp(c *cli.Context) error

BeforeApp is an action that is executed before any cli command.

func CommonFlags

func CommonFlags() []cli.Flag

CommonFlags defines the flags that are in common for all subcommands.

func ConvertCommandDummy added in v0.1.1

func ConvertCommandDummy() cli.Command

When user tries out `kompose -h`, the convert option should be visible so adding a dummy `convert` command, real convert commands depending on Providers mentioned are added in `BeforeApp` function

func ConvertKubernetesCommand added in v0.1.1

func ConvertKubernetesCommand() cli.Command

ConvertKubernetesCommand defines the kompose convert subcommand for Kubernetes provider

func ConvertOpenShiftCommand added in v0.1.1

func ConvertOpenShiftCommand() cli.Command

ConvertOpenShiftCommand defines the kompose convert subcommand for OpenShift provider

func DownCommand

func DownCommand() cli.Command

DownCommand defines the kompose down subcommand.

func UpCommand

func UpCommand() cli.Command

UpCommand defines the kompose up subcommand.

Types

This section is empty.

Jump to

Keyboard shortcuts

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