Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Command = &cli.Command{ Name: "gateway", Usage: "connect ingresses/gateways", Flags: []cli.Flag{ app.ScopeFlag, app.NamespacesFlag, }, Action: func(ctx context.Context, cmd *cli.Command) error { client := app.MustClient(ctx, cmd) namespaces := app.Namespaces(ctx, cmd) elevated, err := system.IsElevated() if err != nil { return err } if !elevated { cli.Fatal("This command must be run as root!") } return StartGateway(ctx, client, namespaces) }, }
Functions ¶
func StartGateway ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.