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