Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 68 for idempotency (0.16 sec)

  1. cmd/kubeadm/app/util/apiclient/idempotency.go

    Lubomir I. Ivanov <******@****.***> 1707839730 +0200
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 18 11:14:32 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  2. pkg/volume/downwardapi/downwardapi.go

    	klog.V(3).Infof("Setting up a downwardAPI volume %v for pod %v/%v at %v", b.volName, b.pod.Namespace, b.pod.Name, dir)
    	// Wrap EmptyDir. Here we rely on the idempotency of the wrapped plugin to avoid repeatedly mounting
    	wrapped, err := b.plugin.host.NewWrapperMounter(b.volName, wrappedVolumeSpec(), b.pod, *b.opts)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. src/net/http/requestwrite_test.go

    				"X-Idempotency-Key": nil,
    			},
    		},
    
    		WantWrite: "GET /foo HTTP/1.1\r\n" +
    			"Host: \r\n" +
    			"User-Agent: Go-http-client/1.1\r\n" +
    			"X-Foo: X-Bar\r\n\r\n",
    	},
    	24: {
    		Req: Request{
    			Method: "GET",
    			URL:    mustParseURL("/foo"),
    			Header: Header{
    				"X-Foo":             []string{"X-Bar"},
    				"X-Idempotency-Key": []string{},
    			},
    		},
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 07 01:07:32 UTC 2022
    - 23.3K bytes
    - Viewed (0)
  4. src/text/scanner/scanner_test.go

    	}
    	stext := s.TokenText()
    	if stext != text {
    		t.Errorf("text = %q, want %q", stext, text)
    	} else {
    		// check idempotency of TokenText() call
    		stext = s.TokenText()
    		if stext != text {
    			t.Errorf("text = %q, want %q (idempotency check)", stext, text)
    		}
    	}
    }
    
    func checkTokErr(t *testing.T, s *Scanner, line int, want rune, text string) {
    	prevCount := s.ErrorCount
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 17 03:41:50 UTC 2022
    - 25.3K bytes
    - Viewed (0)
  5. 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)
  6. api/openapi-spec/v3/apis__authentication.k8s.io__v1alpha1_openapi.json

                "type": "string"
              },
              "generation": {
                "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:25 UTC 2023
    - 31.5K bytes
    - Viewed (0)
  7. api/openapi-spec/v3/apis__authentication.k8s.io__v1beta1_openapi.json

                "type": "string"
              },
              "generation": {
                "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:25 UTC 2023
    - 31.5K bytes
    - Viewed (0)
  8. src/text/scanner/scanner.go

    	}
    
    	// part of the token text was saved in tokBuf: save the rest in
    	// tokBuf as well and return its content
    	s.tokBuf.Write(s.srcBuf[s.tokPos:s.tokEnd])
    	s.tokPos = s.tokEnd // ensure idempotency of TokenText() call
    	return s.tokBuf.String()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:57:51 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  9. pkg/kube/inject/inject.go

    	pod := req.pod.DeepCopy()
    	prevStatus := injectionStatus(pod)
    	if prevStatus == nil {
    		return req.pod
    	}
    	// We found a previous status annotation. Possibly we are re-injecting the pod
    	// To ensure idempotency, remove our injected containers first
    	for _, c := range prevStatus.Containers {
    		pod.Spec.Containers = modifyContainers(pod.Spec.Containers, c, Remove)
    	}
    	for _, c := range prevStatus.InitContainers {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 20:35:11 UTC 2024
    - 28.8K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/phases/kubeconfig/kubeconfig_test.go

    			existingKubeConfig: invalidConfig,
    			kubeConfig:         invalidConfig,
    			expectedError:      true,
    		},
    		{ // if KubeConfig is equal to the existingKubeConfig - refers to the same cluster -, use the existing (Test idempotency)
    			name:               "KubeConfig refers to the same cluster",
    			existingKubeConfig: config,
    			kubeConfig:         config,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:04:18 UTC 2024
    - 39.5K bytes
    - Viewed (0)
Back to top