Documentation ¶
Index ¶
Constants ¶
View Source
const ( COMMAND_START_PLUGIN = "start-plugin" COMMAND_STOP_PLUGIN = "stop-plugin" COMMAND_ENABLE_STRATEGY = "enable-strategy" COMMAND_DISABLE_STRATEGY = "disable-strategy" COMMAND_UPDATE_DOCUMENT = "update-document" )
View Source
const ( PLUGIN_ENABLE = "enable" PLUGIN_DISABLE = "disable" STRATEGY_ENABLE = "enable" STRATEGY_DISABLE = "disable" )
Variables ¶
View Source
var ( Host string Port string DBHost string DBPort string DBUser string DBName string DBPasswd string DockerHost string AllowedDomain string )
View Source
var RootCmd = &cobra.Command{
Use: "manager",
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 ¶
Types ¶
type ContainerNumberInfo ¶
type PluginError ¶
type PluginResource ¶
type PluginResource struct {
// contains filtered or unexported fields
}
func (PluginResource) Register ¶
func (p PluginResource) Register(container *restful.Container)
type ScaleResult ¶
Click to show internal directories.
Click to hide internal directories.