- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 69 for idempotent (0.3 sec)
-
pkg/kubelet/volumemanager/cache/actual_state_of_world.go
// remounted to reflect changes in the referencing pod. Atomically updating // volumes, depend on this to update the contents of the volume. // All volume mounting calls should be idempotent so a second mount call for // volumes that do not need to update contents should not fail.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 09 07:34:33 UTC 2024 - 45.8K bytes - Viewed (0) -
pilot/pkg/config/file/store.go
key := r.newKey() oldSha, found := s.shas[key] if !found || oldSha != r.sha { scope.Debugf("KubeSource.ApplyContent: Set: %v/%v", r.schema.GroupVersionKind(), r.fullName()) // apply is idempotent, but configstore is not, thus the odd logic here _, err := s.inner.Update(*r.config) if err != nil { _, err = s.inner.Create(*r.config) if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 02 17:36:47 UTC 2024 - 18.2K bytes - Viewed (0) -
pkg/kube/util.go
func IstioUserAgent() string { return adjustCommand(os.Args[0]) + "/" + istioversion.Info.Version } // SetRestDefaults is a helper function that sets default values for the given rest.Config. // This function is idempotent. func SetRestDefaults(config *rest.Config) *rest.Config { if config.GroupVersion == nil || config.GroupVersion.Empty() { config.GroupVersion = &corev1.SchemeGroupVersion } if len(config.APIPath) == 0 {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 05:10:23 UTC 2024 - 18.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashTestUtils.java
int value = random.nextInt(); HashCode hashcode1 = hashFunction.hashInt(value); HashCode hashcode2 = hashFunction.hashInt(value); Assert.assertEquals(hashcode1, hashcode2); // idempotent Assert.assertEquals(hashFunction.bits(), hashcode1.bits()); Assert.assertEquals(hashFunction.bits(), hashcode1.asBytes().length * 8); hashcodes.add(hashcode1); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 25.3K bytes - Viewed (0) -
common-protos/k8s.io/api/admissionregistration/v1beta1/generated.proto
// if the object being admitted is modified by other admission plugins after the initial webhook call. // Webhooks that specify this option *must* be idempotent, able to process objects they previously admitted. // Note: // * the number of additional invocations is not guaranteed to be exactly one.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 22.6K bytes - Viewed (0) -
src/net/rpc/server.go
type ServerCodec interface { ReadRequestHeader(*Request) error ReadRequestBody(any) error WriteResponse(*Response, any) error // Close can be called multiple times and must be idempotent. Close() error } // ServeConn runs the [DefaultServer] on a single connection. // ServeConn blocks, serving the connection until the client hangs up. // The caller typically invokes ServeConn in a go statement.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 03:29:50 UTC 2024 - 21.6K bytes - Viewed (0) -
cluster/gce/windows/common.psm1
# Hash argument with an optional Algorithm, in which case it will attempt to # validate the downloaded file against the hash. SHA512 will be used if # -Algorithm is not provided. # This function is idempotent, if OutFile already exists and has the correct Hash # then the download will be skipped. If the Hash is incorrect, the file will be # overwritten. function MustDownload-File { param (
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 19 14:47:38 UTC 2022 - 25.4K bytes - Viewed (0) -
src/cmd/go/internal/cache/cache.go
// // This differs from os.WriteFile, which truncates to 0 *before* writing // via os.O_TRUNC. Truncating only after writing ensures that a second write // of the same content to the same file is idempotent, and does not — even // temporarily! — undo the effect of the first write. err = f.Truncate(int64(len(entry))) } if closeErr := f.Close(); err == nil { err = closeErr } if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Mar 09 14:19:39 UTC 2024 - 20.3K bytes - Viewed (0) -
common-protos/k8s.io/api/admissionregistration/v1/generated.proto
// if the object being admitted is modified by other admission plugins after the initial webhook call. // Webhooks that specify this option *must* be idempotent, able to process objects they previously admitted. // Note: // * the number of additional invocations is not guaranteed to be exactly one.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 24.4K bytes - Viewed (0) -
pkg/kube/inject/inject_test.go
if actual != tc.want { t.Fatalf("Unexpected result.\nExpected:\n%v\nActual:\n%v", tc.want, actual) } t.Run("idempotency", func(t *testing.T) { actual := appendMultusNetwork(actual, "istio-cni") if actual != tc.want { t.Fatalf("Function is not idempotent.\nExpected:\n%v\nActual:\n%v", tc.want, actual) } }) }) } } func Test_updateClusterEnvs(t *testing.T) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 20:35:11 UTC 2024 - 34.1K bytes - Viewed (0)