zbusdebug

package
v0.5.7 Latest Latest
Warning

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

Go to latest
Published: May 11, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// PossibleModules is a list of all know zos modules. the modules must match
	// the module name declared by the server. Hence, we collect them here for
	// validation
	PossibleModules = map[string]struct{}{
		"storage":   struct{}{},
		"monitor":   struct{}{},
		"identityd": struct{}{},
		"vmd":       struct{}{},
		"flist":     struct{}{},
		"network":   struct{}{},
		"container": struct{}{},
		"provision": struct{}{},
	}

	//Module entry point
	Module cli.Command = cli.Command{
		Name:  "zbusdebug",
		Usage: "show status summery for running zbus modules",
		Flags: []cli.Flag{
			&cli.StringFlag{
				Name:  "broker",
				Value: "unix:///var/run/redis.sock",
				Usage: "connection string to the message `BROKER`",
			},
			&cli.StringFlag{
				Name:  "module",
				Usage: "debug specific `MODULE`",
			},
		},
		Action: action,
	}
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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