Documentation ¶
Index ¶
- Constants
- Variables
- func FmtConsumer(consumer *framework.Consumer, indent int) string
- func FmtConsumers(consumers []*framework.Consumer, indent int) string
- func FmtGroup(group *framework.Group, indent int) string
- func FmtGroups(groups []*framework.Group, indent int) string
- func FrameworkAction(c *cli.Context) error
- func GroupAddAction(c *cli.Context) error
- func GroupListAction(c *cli.Context) error
- func GroupRemoveAction(c *cli.Context) error
- func GroupStartAction(c *cli.Context) error
- func GroupStopAction(c *cli.Context) error
- func GroupUpdateAction(c *cli.Context) error
- func Indent(indent int) string
- func ResolveApi(c *cli.Context) string
Constants ¶
View Source
const ( FrameworkMasterFlag = "master" FrameworkNameFlag = "framework-name" FrameworkRoleFlag = "framework-role" FrameworkTimeoutFlag = "framework-timeout" FrameworkStorageFlag = "storage" FrameworkUserFlag = "user" FrameworkBindIPFlag = "bind-ip" ApiFlag = "api" ApiEnv = "GM_API" GroupIDFlag = "id" GroupSubscriptionFlag = "subscription" GroupBootstrapBrokersFlag = "bootstrap-brokers" )
Variables ¶
View Source
var ErrApiRequired = errors.New("Unspecified gonsumer-mesos API server address. Use --api flag or GM_API env to set.")
View Source
var ErrGroupIDRequired = errors.New("Group --id flag is required.")
Functions ¶
func FrameworkAction ¶
func GroupAddAction ¶
func GroupListAction ¶
func GroupRemoveAction ¶
func GroupStartAction ¶
func GroupStopAction ¶
func GroupUpdateAction ¶
func ResolveApi ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.