- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 76 for Case (0.13 sec)
-
istioctl/pkg/ztunnelconfig/ztunnelconfig.go
Aliases: []string{"certificates", "certs", "cert"}, Args: common.validateArgs, RunE: runConfigDump(ctx, common, func(cw *ztunnelDump.ConfigWriter) error { switch common.outputFormat { case summaryOutput: return cw.PrintSecretSummary() case jsonOutput, yamlOutput: return cw.PrintSecretDump(common.outputFormat) default: return fmt.Errorf("output format %q not supported", common.outputFormat) } }),
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed May 01 13:11:40 GMT 2024 - 22.2K bytes - Viewed (0) -
operator/cmd/mesh/shared.go
for { _, _ = fmt.Fprintf(writer, "%s ", msg) var response string _, err := fmt.Scanln(&response) if err != nil { return false } switch strings.ToUpper(response) { case "Y", "YES": return true case "N", "NO": return false } } } func KubernetesClients(kubeClient kube.CLIClient, l clog.Logger) (kube.CLIClient, client.Client, error) {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 29 02:29:02 GMT 2024 - 5.1K bytes - Viewed (0) -
istioctl/pkg/internaldebug/internal-debug_test.go
wantException bool } func TestInternalDebug(t *testing.T) { cases := []execTestCase{ { // case 0, no args args: []string{}, noIstiod: true, expectedOutput: "Error: debug type is required\n", wantException: true, }, { // case 1, no istiod args: []string{"adsz"}, noIstiod: true,
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 08:28:50 GMT 2024 - 4.5K bytes - Viewed (0) -
istioctl/pkg/metrics/metrics_test.go
cannedResponse map[string]prometheus_model.Value } func TestMetricsNoPrometheus(t *testing.T) { cases := []testutil.TestCase{ { // case 0 Args: []string{}, ExpectedRegexp: regexp.MustCompile("Error: metrics requires workload name\n"), WantException: true, }, { // case 1 Args: strings.Split("details", " "), ExpectedOutput: "Error: no Prometheus pods found\n", WantException: true, },
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Oct 25 02:07:44 GMT 2023 - 7.9K bytes - Viewed (0) -
cni/pkg/nodeagent/podcgroupns.go
switch { case !ok: // Cgroup did not contain a container ID. continue case containerID == "": // This is the first container ID found so far. podUID = candidatePodUID containerID = candidateContainerID case containerID != candidateContainerID: // More than one container ID found in the cgroups.
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 11K bytes - Viewed (0) -
cni/pkg/install/install.go
return nil } // If a file we are watching has a change event, yield and let caller check validity select { case <-watcher.Events: // Something changed, and we must yield return nil case err := <-watcher.Errors: // We had a watch error - that's no good return err case <-ctx.Done(): return ctx.Err() default:
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Feb 08 18:52:24 GMT 2024 - 10.8K bytes - Viewed (0) -
istioctl/pkg/multicluster/remote_secret.go
return client.ApplyYAMLContents(opt.Namespace, yaml) } func generateServiceAccountYAML(opt RemoteSecretOptions) (string, error) { // Create a renderer for the base installation. baseRenderer := helm.NewHelmRenderer(opt.ManifestsPath, "base", "Base", opt.Namespace, nil) discoveryRenderer := helm.NewHelmRenderer(opt.ManifestsPath, "istio-control/istio-discovery", "Pilot", opt.Namespace, nil)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Oct 11 01:43:17 GMT 2023 - 24K bytes - Viewed (0) -
operator/cmd/mesh/operator-dump.go
l.LogAndFatal(err) } l.Print(output) } // validateOperatorOutputFormatFlag validates if the output format is valid. func validateOperatorOutputFormatFlag(outputFormat string) error { switch outputFormat { case jsonOutput, yamlOutput: default: return fmt.Errorf("unknown output format: %s", outputFormat) } return nil
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue May 23 17:08:31 GMT 2023 - 3.6K bytes - Viewed (0) -
istioctl/pkg/authz/authz_test.go
ALLOW _anonymous_match_nothing_ 1 ALLOW httpbin.default 1 `, }, } authzCmd := checkCmd(cli.NewFakeContext(&cli.NewFakeContextOption{})) for i, c := range cases { t.Run(fmt.Sprintf("case %d %s", i, strings.Join(c.Args, " ")), func(t *testing.T) { testutil.VerifyOutput(t, authzCmd, c) }) }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Jun 21 14:20:23 GMT 2023 - 1.4K bytes - Viewed (0) -
istioctl/pkg/ztunnelconfig/ztunnelconfig_test.go
args: strings.Split("log ztunnel-9v7nw --level debug", " "), expectedString: "current log level is debug", wantException: false, }, } for i, c := range cases { t.Run(fmt.Sprintf("case %d %s", i, strings.Join(c.args, " ")), func(t *testing.T) { verifyExecTestOutput(t, ZtunnelConfig(cli.NewFakeContext(&cli.NewFakeContextOption{ Results: c.execClientConfig, Namespace: "default", })), c) })
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Apr 10 21:51:29 GMT 2024 - 3.8K bytes - Viewed (0)