- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for helper (0.17 sec)
-
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) -
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/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) -
Makefile.core.mk
endif endef $(foreach bin,$(STANDARD_BINARIES),$(eval $(call build-linux,$(bin),$(STANDARD_TAGS)))) $(foreach bin,$(LINUX_AGENT_BINARIES),$(eval $(call build-linux,$(bin),$(AGENT_TAGS)))) # Create helper targets for each binary, like "pilot-discovery" # As an optimization, these still build everything $(foreach bin,$(BINARIES),$(shell basename $(bin))): build ifneq ($(TARGET_OUT_LINUX),$(LOCAL_OUT))
Plain Text - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed May 08 20:25:15 GMT 2024 - 22.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) -
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) -
common-protos/k8s.io/api/networking/v1beta1/generated.proto
// Requests will be matched against the Host field in the following way: // 1. If Host is precise, the request matches this rule if the http host header is equal to Host. // 2. If Host is a wildcard, then the request matches this rule if the http host header // is to equal to the suffix (removing the first label) of the wildcard rule. // +optional optional string host = 1;
Plain Text - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Mar 11 18:43:24 GMT 2024 - 14.9K bytes - Viewed (0) -
operator/cmd/mesh/manifest_shared_test.go
args += " " + flags } if fileSelect != nil { filters := []string{} filters = append(filters, fileSelect...) // Everything needs these filters = append(filters, "templates/_affinity.tpl", "templates/_helpers.tpl", "templates/zzz_profile.yaml") args += " --filter " + strings.Join(filters, ",") } args += " --set installPackagePath=" + string(chartSource) return runCommand(args) }
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)