Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Command = &cli.Command{ Name: "policybgp", Usage: "Inject policy routing config via BGP", Flags: []cli.Flag{ &cli.BoolFlag{ Name: "verbose", Usage: "enable verbose logging", }, }, Commands: []*cli.Command{ serve.Command, }, Before: func(ctx context.Context, cmd *cli.Command) (context.Context, error) { if err := beforeImpl(ctx, cmd); err != nil { cmd.Writer = cmd.ErrWriter cli.HelpPrinter = func(_ io.Writer, _ string, _ interface{}) {} return ctx, err } return ctx, nil }, After: func(ctx context.Context, cmd *cli.Command) error { _ = zap.L().Sync() return nil }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.