Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for Equals (0.14 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. 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)
  5. 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)
  6. 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)
  7. 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)
  8. cni/pkg/nodeagent/podcgroupns_test.go

    			podUID, containerID, err := getPodUIDAndContainerIDFromCGroups(makeCGroups(tt.cgroupPaths))
    
    			if tt.expectMsg != "" {
    				assert.Equal(t, tt.expectMsg, err.Error())
    				return
    			}
    			assert.Equal(t, tt.expectPodUID, podUID)
    			assert.Equal(t, tt.expectContainerID, containerID)
    		})
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  9. cni/pkg/util/podutil_test.go

    	}
    
    	podIPs := GetPodIPsIfPresent(pod)
    	assert.Equal(t, len(podIPs), 2)
    }
    
    func TestGetPodIPsIfNoPodIPPresent(t *testing.T) {
    	pod := &corev1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "test",
    			Namespace: "test",
    		},
    		Spec: corev1.PodSpec{
    			NodeName: "derp",
    		},
    		Status: corev1.PodStatus{},
    	}
    
    	podIPs := GetPodIPsIfPresent(pod)
    	assert.Equal(t, len(podIPs), 0)
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  10. cni/pkg/ipset/nldeps_linux.go

    	res, err := netlink.IpsetList(name)
    	if err != nil {
    		return fmt.Errorf("failed to list ipset %s: %w", name, err)
    	}
    
    	var delErrs []error
    
    	for _, entry := range res.Entries {
    		if entry.IP.Equal(delIP) {
    			err := netlink.IpsetDel(name, &entry)
    			if err != nil {
    				delErrs = append(delErrs, fmt.Errorf("failed to delete IP %s from ipset %s: %w", entry.IP, name, err))
    			}
    		}
    	}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 3.9K bytes
    - Viewed (0)
Back to top