cmd

package
v0.0.0-...-6515ce2 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const PLUGIN_NAME = "plugin_pipeline"

TODO plugin regist itself or through web add it manual, I think auto regist is better, web api just update a plugin info

Variables

View Source
var (
	ManagerHost string
	ManagerPort string
)
View Source
var RootCmd = &cobra.Command{
	Use:   "plugin_pipeline",
	Short: "A brief description of your application",
	Long: `A longer description that spans multiple lines and likely contains
examples and usage of using your application. For example:

Cobra is a CLI library for Go that empowers applications.
This application is a tool to generate the needed files
to quickly create a Cobra application.`,
}

RootCmd represents the base command when called without any subcommands

Functions

func Execute

func Execute()

Execute adds all child commands to the root command sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

type Job

type Job struct {
	Client client.Client
	Rule   PipelineRule
}

func (Job) Run

func (this Job) Run()

type PipelineRule

type PipelineRule struct {
	Cron string
	//Apps []client.AppScale
	Apps []client.AppScale
}

Jump to

Keyboard shortcuts

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