- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for NewCLIContext (0.18 sec)
-
operator/cmd/mesh.go
binversion "istio.io/istio/operator/version" "istio.io/istio/pkg/version" ) func main() { version.Info.Version = binversion.OperatorVersionString rootCmd := mesh.GetRootCmd(cli.NewCLIContext(nil), os.Args[1:]) if err := rootCmd.Execute(); err != nil { os.Exit(1) }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Aug 29 14:15:33 GMT 2023 - 963 bytes - Viewed (0) -
istioctl/pkg/cli/context.go
config.QPS = 50 config.Burst = 100 }) if err != nil { return nil, err } return kube.NewCLIClient(kube.NewClientConfigForRestConfig(rc), kube.WithRevision(revision)) } func NewCLIContext(rootFlags *RootFlags) Context { if rootFlags == nil { rootFlags = &RootFlags{ kubeconfig: ptr.Of[string](""), configContext: ptr.Of[string](""), namespace: ptr.Of[string](""),
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 02 08:32:06 GMT 2024 - 6.4K bytes - Viewed (0) -
istioctl/cmd/root.go
debug and diagnose their Istio mesh. `, } rootCmd.SetArgs(args) flags := rootCmd.PersistentFlags() rootOptions := cli.AddRootFlags(flags) ctx := cli.NewCLIContext(rootOptions) _ = rootCmd.RegisterFlagCompletionFunc(cli.FlagIstioNamespace, func( cmd *cobra.Command, args []string, toComplete string, ) ([]string, cobra.ShellCompDirective) {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Apr 11 20:51:30 GMT 2024 - 10K bytes - Viewed (0)