- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for Write (0.13 sec)
-
cni/pkg/repair/repaircontroller.go
Preconditions: preconditions, }) if err != nil { c.events.Write(pod, corev1.EventTypeWarning, ReasonDeleteBrokenPod, "pod detected as broken, but failed to delete: %v", err) m.With(resultLabel.Value(resultFail)).Increment() return err } c.events.Write(pod, corev1.EventTypeWarning, ReasonDeleteBrokenPod, "pod detected as broken, deleted")
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/tag/tag.go
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 02 08:32:06 GMT 2024 - 16.3K bytes - Viewed (0) -
common-protos/k8s.io/api/networking/v1/generated.proto
// (whether or not they contain an ingress section) are assumed to affect ingress. // If you want to write an egress-only policy, you must explicitly specify policyTypes [ "Egress" ]. // Likewise, if you want to write a policy that specifies that no egress is allowed, // you must specify a policyTypes value that include "Egress" (since such a policy would not include
Plain Text - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Mar 11 18:43:24 GMT 2024 - 25.2K bytes - Viewed (0) -
istioctl/pkg/admin/istiodconfig.go
if err != nil { return err } if ga.outputFormat == "yaml" { if outputBytes, err = yaml.JSONToYAML(outputBytes); err != nil { return err } } _, err = out.Write(outputBytes) return err default: return fmt.Errorf("output format %q not supported", ga.outputFormat) } } type istiodConfigLog struct { state flagState }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 13.5K bytes - Viewed (0) -
cni/pkg/plugin/plugin_test.go
cniAddServerCalled = true if serverErr { res.WriteHeader(http.StatusInternalServerError) res.Write([]byte("server not happy")) return } res.WriteHeader(http.StatusOK) res.Write([]byte("server happy")) })) return testServer.URL, func() bool { testServer.Close() return cniAddServerCalled } }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed May 08 15:58:51 GMT 2024 - 17.5K bytes - Viewed (0) -
cni/pkg/install/install.go
cniInstalls.With(resultLabel.Value(resultCreateKubeConfigFailure)).Increment() return copiedFiles, fmt.Errorf("write kubeconfig: %v", err) } // Install CNI netdir config (if needed) - we write/update this in the shared node CNI netdir, // which may be watched by other CNIs, and so we don't want to trigger writes to this file // unless it's missing or the contents are not what we expect.
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) -
cni/pkg/install/cniconfig.go
if err != nil { return "", err } } if err = file.AtomicWrite(cniConfigFilepath, cniConfig, os.FileMode(0o644)); err != nil { installLog.Errorf("Failed to write CNI config file %v: %v", cniConfigFilepath, err) return cniConfigFilepath, err } if cfg.chainedCNIPlugin && strings.HasSuffix(cniConfigFilepath, ".conf") {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 10.4K bytes - Viewed (0) -
cni/test/install_cni.go
data, err := os.ReadFile(src) if err != nil { t.Fatalf("Failed to read file %v, err: %v", src, err) } if err = os.WriteFile(dest, data, os.FileMode(defaultFileMode)); err != nil { t.Fatalf("Failed to write file %v, err: %v", dest, err) } } func rmDir(dir string, t *testing.T) { t.Helper() err := os.RemoveAll(dir) if err != nil { t.Fatalf("Failed to remove dir %v, err: %v", dir, err) } }
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) -
common-protos/k8s.io/api/extensions/v1beta1/generated.proto
// (whether or not they contain an Ingress section) are assumed to affect Ingress. // If you want to write an egress-only policy, you must explicitly specify policyTypes [ "Egress" ]. // Likewise, if you want to write a policy that specifies that no egress is allowed, // you must specify a policyTypes value that include "Egress" (since such a policy would not include
Plain Text - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Mar 11 18:43:24 GMT 2024 - 45.6K bytes - Viewed (0) -
istioctl/pkg/multicluster/remote_secret_test.go
t.Error("want error on local write failure") } w = &fakeOutputWriter{failAfter: 1, injectError: errors.New("error")} if err := writeEncodedObject(w, s); err == nil { t.Error("want error on remote write failure") } w = &fakeOutputWriter{failAfter: 2, injectError: errors.New("error")} if err := writeEncodedObject(w, s); err == nil { t.Error("want error on third write failure") }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Oct 31 14:48:28 GMT 2023 - 20.6K bytes - Viewed (0)