Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for Equals (0.29 sec)

  1. common-protos/k8s.io/api/policy/v1/generated.proto

    message PodDisruptionBudgetStatus {
      // Most recent generation observed when updating this PDB status. DisruptionsAllowed and other
      // status information is valid only if observedGeneration equals to PDB's object generation.
      // +optional
      optional int64 observedGeneration = 1;
    
      // DisruptedPods contains information about pods whose eviction was
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 8K bytes
    - Viewed (0)
  2. common-protos/k8s.io/api/batch/v1/generated.proto

      // Specifies the required Pod condition type. To match a pod condition
      // it is required that specified type equals the pod condition type.
      optional string type = 1;
    
      // Specifies the required Pod condition status. To match a pod condition
      // it is required that the specified status equals the pod condition status.
      // Defaults to True.
      optional string status = 2;
    }
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 21.1K bytes
    - Viewed (0)
  3. istioctl/pkg/workload/workload_test.go

    		want map[string]string
    	}{
    		{name: "empty", arg: []string{""}, want: map[string]string{"": ""}},
    		{name: "one-valid", arg: []string{"key=value"}, want: map[string]string{"key": "value"}},
    		{name: "one-valid-double-equals", arg: []string{"key==value"}, want: map[string]string{"key": "=value"}},
    		{name: "one-key-only", arg: []string{"key"}, want: map[string]string{"key": ""}},
    	}
    	for _, tt := range tests {
    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)
  4. cni/pkg/install/install_test.go

    			t.Log("Expecting an invalid configuration log:")
    			err := in.sleepWatchInstall(ctx, sets.String{})
    			if err != nil {
    				t.Fatalf("error should be nil due to invalid config, got: %v", err)
    			}
    			assert.Equal(t, isReady.Load(), false)
    
    			if len(c.invalidConfigFilename) > 0 {
    				if err := os.Remove(cniConfigFilepath); err != nil {
    					t.Fatal(err)
    				}
    			}
    
    			// Copy a valid config file into tempDir
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  5. istioctl/pkg/tag/generate_test.go

    			if tc.userManaged {
    				// User created webhooks should not have operator labels, otherwise will be pruned.
    				_, ok := wh.GetLabels()[operatorManaged]
    				assert.Equal(t, ok, false)
    			}
    
    			for _, webhook := range wh.Webhooks {
    				validationWhConf := webhook.ClientConfig
    
    				// this is nil since we've already have one with failed FailurePolicy in the fake client
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jan 16 17:43:49 GMT 2024
    - 12.1K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/authorization/v1beta1/generated.proto

      // +optional
      optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
    
      // Spec holds information about the request being evaluated.  spec.namespace must be equal to the namespace
      // you made the request against.  If empty, it is defaulted.
      optional SubjectAccessReviewSpec spec = 2;
    
      // Status is filled in by the server and indicates whether the request is allowed or not
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  7. istioctl/pkg/describe/describe_test.go

    				}`,
    			},
    			expected: "1-13-2",
    		},
    	}
    
    	for _, tc := range cases {
    		t.Run("", func(t *testing.T) {
    			got := GetRevisionFromPodAnnotation(tc.anno)
    			assert.Equal(t, tc.expected, got)
    		})
    	}
    }
    
    func TestFindProtocolForPort(t *testing.T) {
    	http := "HTTP"
    	cases := []struct {
    		port             corev1.ServicePort
    		expectedProtocol string
    	}{
    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)
  8. cni/pkg/nodeagent/ztunnelserver_test.go

    	assert.Equal(t, len(fds), 1)
    	// in theory we should close the fd, but it's just a test..
    
    	assert.Equal(t, m.Payload.(*zdsapi.WorkloadRequest_Add).Add.Uid, uid)
    	// send ack so the server doesn't wait for us.
    	sendAck(ztunClient)
    
    	// second message should be the snap sent message
    	m, fds = readRequest(t, ztunClient)
    	assert.Equal(t, len(fds), 0)
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  9. cni/pkg/nodeagent/server_test.go

    	err := m.AddPodToMesh(fakeCtx, pod, podIPs, "")
    	assert.NoError(t, err)
    
    	pod, err = fakeClientSet.CoreV1().Pods("test").Get(fakeCtx, "test", metav1.GetOptions{})
    	assert.NoError(t, err)
    	assert.Equal(t, len(pod.Annotations), 1)
    	assert.Equal(t, pod.Annotations[constants.AmbientRedirection], constants.AmbientRedirectionEnabled)
    }
    
    func TestMeshDataplaneAddsAnnotationOnAddWithPartialError(t *testing.T) {
    	pod := &corev1.Pod{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  10. operator/cmd/mesh/manifest-diff.go

    			var err error
    			var equal bool
    			if diffArgs.compareDir {
    				equal, err = compareManifestsFromDirs(diffArgs.verbose, args[0], args[1],
    					diffArgs.renameResources, diffArgs.selectResources, diffArgs.ignoreResources)
    				if err != nil {
    					return err
    				}
    				if !equal {
    					os.Exit(1)
    				}
    				return nil
    			}
    
    			equal, err = compareManifestsFromFiles(args, diffArgs.verbose,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 5.8K bytes
    - Viewed (0)
Back to top