Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for Keller (1.45 sec)

  1. istioctl/cmd/options_test.go

    )
    
    // nolint: lll
    var expectedOutput = `The following options can be passed to any command:
          --log_as_json: Whether to format output as JSON or in plain console-friendly format
          --log_caller: Comma-separated list of scopes for which to include caller information, scopes can be any of \[.*\]
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Sep 14 02:38:54 GMT 2022
    - 1.9K bytes
    - Viewed (0)
  2. operator/cmd/mesh/test-util_test.go

    func mustSelect(t test.Failer, selector map[string]string, labels map[string]string) {
    	t.Helper()
    	kselector := labels2.Set(selector).AsSelectorPreValidated()
    	if !kselector.Matches(labels2.Set(labels)) {
    		t.Fatalf("%v does not select %v", selector, labels)
    	}
    }
    
    func mustNotSelect(t test.Failer, selector map[string]string, labels map[string]string) {
    	t.Helper()
    	kselector := labels2.Set(selector).AsSelectorPreValidated()
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  3. istioctl/pkg/internaldebug/internal-debug_test.go

    				assert.NoError(t, err)
    			}
    			verifyExecTestOutput(t, DebugCommand(ctx), c)
    		})
    	}
    }
    
    func verifyExecTestOutput(t *testing.T, cmd *cobra.Command, c execTestCase) {
    	t.Helper()
    
    	var out bytes.Buffer
    	cmd.SetArgs(c.args)
    	cmd.SilenceUsage = true
    	cmd.SetOut(&out)
    	cmd.SetErr(&out)
    
    	fErr := cmd.Execute()
    	output := out.String()
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Mar 15 08:28:50 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  4. operator/cmd/mesh/manifest-generate_test.go

    	t.Helper()
    	path := mustGetPath(t, obj, "webhooks")
    	by, err := json.Marshal(path)
    	if err != nil {
    		t.Fatal(err)
    	}
    	var mwh []v1.MutatingWebhook
    	if err := json.Unmarshal(by, &mwh); err != nil {
    		t.Fatal(err)
    	}
    	return mwh
    }
    
    func getWebhooks(t *testing.T, setFlags string, webhookName string) []v1.MutatingWebhook {
    	t.Helper()
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Thu Feb 22 08:32:23 GMT 2024
    - 42K bytes
    - Viewed (0)
  5. istioctl/cmd/root.go

    	root.LoggingOptions.AttachCobraFlags(rootCmd)
    	hiddenFlags := []string{
    		"log_as_json", "log_rotate", "log_rotate_max_age", "log_rotate_max_backups",
    		"log_rotate_max_size", "log_stacktrace_level", "log_target", "log_caller", "log_output_level",
    	}
    	for _, opt := range hiddenFlags {
    		_ = rootCmd.PersistentFlags().MarkHidden(opt)
    	}
    
    	cmd.AddFlags(rootCmd)
    
    	kubeInjectCmd := kubeinject.InjectCommand(ctx)
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Apr 11 20:51:30 GMT 2024
    - 10K bytes
    - Viewed (0)
  6. istioctl/pkg/multicluster/remote_secret_test.go

    	mustFindObject(t, objs, "istio-reader-clusterrole-istio-system", "ClusterRoleBinding")
    }
    
    func mustFindObject(t test.Failer, objs object.K8sObjects, name, kind string) {
    	t.Helper()
    	var obj *object.K8sObject
    	for _, o := range objs {
    		if o.Kind == kind && o.Name == name {
    			obj = o
    			break
    		}
    	}
    	if obj == nil {
    		t.Fatalf("expected %v/%v", name, kind)
    	}
    }
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 20.6K bytes
    - Viewed (0)
  7. istioctl/cmd/options.go

    package cmd
    
    import (
    	"github.com/spf13/cobra"
    	"github.com/spf13/pflag"
    )
    
    var helpFlags = map[string]bool{
    	"log_as_json":          true,
    	"log_stacktrace_level": true,
    	"log_target":           true,
    	"log_caller":           true,
    	"log_output_level":     true,
    	// istioctl also inherits support for log_rotate, log_rotate_max_age, log_rotate_max_backups,
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  8. istioctl/pkg/util/configdump/wrapper.go

    		msg := exprpb.Type{TypeKind: &exprpb.Type_Dyn{Dyn: &emptypb.Empty{}}}
    		return msg.ProtoReflect().Type(), nil
    	}
    	return typ, nil
    }
    
    // Wrapper is a wrapper around the Envoy ConfigDump
    // It has extra helper functions for handling any/struct/marshal protobuf pain
    type Wrapper struct {
    	*admin.ConfigDump
    }
    
    // UnmarshalJSON is a custom unmarshaller to handle protobuf pain
    func (w *Wrapper) UnmarshalJSON(b []byte) error {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sun Apr 21 17:42:54 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  9. istioctl/pkg/workload/workload_test.go

    			verifyTestcaseOutput(t, Cmd(cli.NewFakeContext(nil)), c)
    		})
    	}
    }
    
    func verifyTestcaseOutput(t *testing.T, cmd *cobra.Command, c testcase) {
    	t.Helper()
    
    	var out bytes.Buffer
    	cmd.SetArgs(c.args)
    	cmd.SetOut(&out)
    	cmd.SetErr(&out)
    	cmd.SilenceUsage = true
    	if c.namespace != "" {
    		namespace = c.namespace
    	}
    
    	fErr := cmd.Execute()
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Mar 27 16:59:05 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  10. operator/cmd/mesh/profile-diff_test.go

    			verifyProfileDiffCommandCaseOutput(t, c, by.String(), err)
    		})
    	}
    }
    
    func verifyProfileDiffCommandCaseOutput(t *testing.T, c profileDiffTestcase, output string, fErr error) {
    	t.Helper()
    
    	if c.expectedString != "" && !strings.Contains(output, c.expectedString) {
    		t.Fatalf("Output didn't match for 'istioctl %s'\n got %v\nwant: %v", c.args, output, c.expectedString)
    	}
    
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Wed Jan 10 05:10:03 GMT 2024
    - 3.6K bytes
    - Viewed (1)
Back to top