Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultRootCmd ¶
func Execute ¶
func Execute()
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func NewRootCmd ¶
func NewRootCmd(opts kuma_cmd.RunCmdOpts, rootCtx *RootContext) *cobra.Command
NewRootCmd represents the base command when called without any subcommands.
Types ¶
type RootContext ¶
type RootContext struct { ComponentManager component.Manager BootstrapGenerator envoy.BootstrapConfigFactoryFunc BootstrapDynamicMetadata map[string]string Config *kumadp.Config LogLevel log.LogLevel }
RootContext contains variables, functions and components that can be overridden when extending kuma-dp or running the test.
func DefaultRootContext ¶
func DefaultRootContext() *RootContext
Click to show internal directories.
Click to hide internal directories.