cmd

package
v0.0.0-...-eecaf76 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	YARN_ZK_DIR           string
	YARN_CLUSTER_ID       string
	YARN_RM1_IP           string
	YARN_RM2_IP           string
	YARN_JOBHISTORY_IP    string
	CPU_CORE_NUM          string
	NODEMANAGER_MEMORY_MB string
)

nodemanager container config

View Source
var RootCmd = &cobra.Command{
	Use:   "magpie",
	Short: "A Yarn on Docker command line management tool.",
	Long: `Magpie is a command line tool to manage the Yarn on Docker cluster.

Magpie can be used to inspect the docker,swarm and yarn cluster status, scale the yarn cluster and decommising
nodemanagers or delete the existed containers.`,
}

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

This section is empty.

Jump to

Keyboard shortcuts

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