- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 28 for flat (0.12 sec)
-
istioctl/cmd/options.go
rootCmd.PersistentFlags().VisitAll(func(flag *pflag.Flag) { if _, ok := helpFlags[flag.Name]; ok { // Currently every flag.Shorthand is "", so there is no point in showing shorthands shorthand := " " if flag.Shorthand != "" { shorthand = "-" + flag.Shorthand + "," } c.Printf(" %s --%s: %s\n", shorthand, flag.Name, flag.Usage) } }) }) return retval
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 1.8K bytes - Viewed (0) -
istioctl/pkg/proxystatus/proxystatus.go
cmd.PreRunE = func(cmd *cobra.Command, args []string) error { for _, flag := range unstableFlags { if cmd.PersistentFlags().Changed(flag) { return fmt.Errorf("--%s is experimental. Use `istioctl experimental ps --%s`", flag, flag) } } return nil } for _, flag := range unstableFlags { _ = cmd.PersistentFlags().MarkHidden(flag) } return cmd } func XdsStatusCommand(ctx cli.Context) *cobra.Command {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 6.2K bytes - Viewed (0) -
istioctl/pkg/admin/istiodconfig_test.go
}{ { name: "given --reset flag return reset command", args: args{ ctrzClient: ctrzClient, reset: true, outputLogLevel: "", stackTraceLevel: "", outputFormat: "", }, want: &istiodConfigLog{state: &resetState{ client: ctrzClient, }}, }, { name: "given --level flag return outputLogLevel command", args: args{
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 6.2K bytes - Viewed (0) -
operator/cmd/mesh/profile-diff_test.go
notExpected string // String the output must NOT contain } func TestProfileDiff(t *testing.T) { cases := []profileDiffTestcase{ { args: "profile diff demo default --unknown-flag", shouldFail: true, }, { args: "profile diff demo", shouldFail: true, }, { args: "profile diff", shouldFail: true, }, {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Jan 10 05:10:03 GMT 2024 - 3.6K bytes - Viewed (1) -
istioctl/pkg/multixds/gather.go
fmt.Fprintf(options.MessageWriter, "Some proxies may be missing from the list"+ " because the number of visited pod hits the limit %d,"+ " which can be set by `--xds-via-agents-limit` flag.\n", options.XdsViaAgentsLimit) break GetProxyLoop } namespacedName := pod.Name + "." + pod.Namespace if visited[namespacedName] { // If we already have information about the pod, skip it.
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 08 08:38:19 GMT 2024 - 13.6K bytes - Viewed (0) -
istioctl/pkg/writer/compare/sds/writer.go
type SDSWriter interface { PrintSecretItems([]SecretItem) error PrintDiffs([]SecretItemDiff) error } type Format int const ( JSON Format = iota TABULAR ) // includeConfigType is a flag to indicate whether to include the config type in the output var includeConfigType bool func SetPrintConfigTypeInSummary(p bool) { includeConfigType = p }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Apr 21 14:17:23 GMT 2023 - 4.1K bytes - Viewed (0) -
istioctl/pkg/internaldebug/internal-debug.go
istioctl x internal-debug syncz # Retrieve syncz debug information directly from the control plane, using RSA certificate security # (Certificates must be obtained before this step. The --cert-dir flag lets istioctl bypass the Kubernetes API server.) istioctl x internal-debug syncz --xds-address istio.example.com:15012 --cert-dir ~/.istio-certs
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 04:16:55 GMT 2024 - 6.9K bytes - Viewed (0) -
operator/cmd/mesh/profile-dump.go
} func profileDump(args []string, pdArgs *profileDumpArgs, l clog.Logger) error { if len(args) == 1 && pdArgs.inFilenames != nil { return fmt.Errorf("cannot specify both profile name and filename flag") } if err := validateProfileOutputFormatFlag(pdArgs.outputFormat); err != nil { return err } setFlags := applyFlagAliases(make([]string, 0), pdArgs.manifestsPath, "") if len(args) == 1 {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 7.1K bytes - Viewed (0) -
istioctl/pkg/checkinject/checkinject.go
if len(args) == 0 && labelPairs == "" || len(args) > 1 { cmd.Println(cmd.UsageString()) return fmt.Errorf("check-inject requires only [<resource-type>/]<resource-name>[.<namespace>], or specify labels flag") } return nil }, RunE: func(cmd *cobra.Command, args []string) error { kubeClient, err := ctx.CLIClient() if err != nil { return err } var podName, podNs string
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 9.3K bytes - Viewed (0) -
operator/cmd/mesh/manifest_shared_test.go
Content: manifest, } _, err := reconciler.ApplyManifest(m) return err } // runManifestCommand runs the given manifest command. If filenames is set, passes the given filenames as -f flag, // flags is passed to the command verbatim. If you set both flags and path, make sure to not use -f in flags.
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Feb 20 22:39:28 GMT 2024 - 11.7K bytes - Viewed (1)