- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for Heller (0.15 sec)
-
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 08 22:53:08 GMT 2024 - Last Modified: Wed Mar 27 16:59:05 GMT 2024 - 14.6K bytes - Viewed (0) -
cni/test/install_cni.go
return value } return fallback } func setEnv(key, value string, t *testing.T) { t.Helper() err := os.Setenv(key, value) if err != nil { t.Fatalf("Couldn't set environment variable, err: %v", err) } } func mktemp(dir, prefix string, t *testing.T) string { t.Helper() tempDir, err := os.MkdirTemp(dir, prefix) if err != nil {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 12.5K bytes - Viewed (0) -
cni/pkg/iptables/iptables.go
ZtunnelInboundPort = 15008 ZtunnelOutboundPort = 15001 ZtunnelInboundPlaintextPort = 15006 ProbeIPSet = "istio-inpod-probes" ) var log = istiolog.RegisterScope("iptables", "iptables helper") type Config struct { RestoreFormat bool `json:"RESTORE_FORMAT"` TraceLogging bool `json:"IPTABLES_TRACE_LOGGING"` EnableIPv6 bool `json:"ENABLE_INBOUND_IPV6"` RedirectDNS bool `json:"REDIRECT_DNS"` }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue May 07 19:54:50 GMT 2024 - 19.7K bytes - Viewed (0) -
cni/pkg/repair/repaircontroller.go
m.With(resultLabel.Value(resultSuccess)).Increment() return nil } // MatchesFilter returns true if the pod matches the repair filter criteria func (c *Controller) matchesFilter(pod *corev1.Pod) bool { // Helper function; checks that a container's termination message matches filter matchTerminationMessage := func(state *corev1.ContainerStateTerminated) bool {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Feb 10 00:31:55 GMT 2024 - 10.4K bytes - Viewed (0) -
istioctl/pkg/describe/describe_test.go
t.Fatalf("Output didn't match for the port protocol: got %s want %s", protocol, tc.expectedProtocol) } } } func verifyExecAndK8sConfigTestCaseTestOutput(t *testing.T, c execAndK8sConfigTestCase) { t.Helper() ctx := cli.NewFakeContext(&cli.NewFakeContextOption{ Namespace: c.namespace, IstioNamespace: c.istioNamespace, Results: c.configDumps, }) client, err := ctx.CLIClient()
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Mar 28 09:54:01 GMT 2024 - 30.4K bytes - Viewed (0) -
cni/pkg/install/install.go
return err } } } return nil } // sleepWatchInstall blocks until any file change for the binaries or config are detected. // At that point, the func yields so the caller can recheck the validity of the install. // If an error occurs or context is canceled, the function will return an error. func (in *Installer) sleepWatchInstall(ctx context.Context, installedBinFiles sets.String) error {
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/validate/validate_test.go
t.Helper() validFile, err := os.CreateTemp("", "TestValidateCommand") if err != nil { t.Fatal(err) } if _, err := validFile.WriteString(data); err != nil { t.Fatal(err) } return validFile.Name(), validFile } func createTestDirectory(t *testing.T, files map[string]string) string { t.Helper() tempDir, err := os.MkdirTemp("", "TestValidateCommand")
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Jul 25 08:08:36 GMT 2023 - 21.5K bytes - Viewed (0) -
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 May 08 22:53:08 GMT 2024 - Last Modified: Tue Oct 31 14:48:28 GMT 2023 - 15.3K bytes - Viewed (0) -
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 May 08 22:53:08 GMT 2024 - Last Modified: Thu Apr 18 18:16:49 GMT 2024 - 43.5K bytes - Viewed (0) -
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 08 22:53:08 GMT 2024 - Last Modified: Thu Apr 11 20:51:30 GMT 2024 - 10K bytes - Viewed (0)