Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Debug bool
View Source
var RootCmd = &cobra.Command{
Use: "ocf",
Short: "A tool to ease migration from Cloud Foundry to OpenShift",
Long: `A tool to ease migration from Cloud Foundry to OpenShift.
This tool provides various commands (listed below) to help migrate and
run Cloud Foundry applications on OpenShift.`,
}
RootCmd represents the base command when called without any subcommands
Functions ¶
Types ¶
type Manifest ¶
type Manifest struct {
Applications []app.Application `json:"applications"`
}
type PushConfig ¶
type PushConfig struct { Buildpack string Command string ManifestPath string Instances int Disk string Memory string Path string Image string }
PushConfig contains all the necessary configuration for the push command
func (*PushConfig) Run ¶
func (config *PushConfig) Run(args []string) error
Click to show internal directories.
Click to hide internal directories.