Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 5,183 for lable (0.05 sec)

  1. samples/kind-lb/setupkind.sh

      waittime=$3
      # Wait for the pods to be ready in the given namespace with lable
      while : ; do
        res=$(kubectl wait --context "kind-${CLUSTERNAME}" -n "${ns}" pod \
          -l "${lb}" --for=condition=Ready --timeout="${waittime}s" 2>/dev/null ||true)
        if [[ "${res}" == *"condition met"* ]]; then
          break
        fi
        echo "Waiting for pods in namespace ${ns} with label ${lb} to be ready..."
        sleep "${waittime}"
      done
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Oct 02 19:08:19 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/interpodaffinity/plugin_test.go

    				PodAffinityExists("bbb", "hostname", st.PodAffinityWithRequiredReq).Obj(),
    			newPod:       st.MakePod().Node("fake-node").Label("aaa", "").Label("bbb", "").Obj(),
    			oldPod:       st.MakePod().Node("fake-node").Label("aaa", "a").Obj(),
    			expectedHint: framework.Queue,
    		},
    		{
    			name:         "modify pod label to change it from satisfying pod anti-affinity to not satisfying anti-affinity",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 12 03:08:44 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  3. tests/integration/README.md

            NewSuite("galley_conversion", m).
            // Test is tagged with "CustomSetup" label
            Label(label.CustomSetup).
            Run()
    ```
    
    Then you can explicitly select execution of such tests using label based selection. For example, the following expression
    will select only the tests that have the ```label.CustomSetup``` label.
    
    ```console
    $ go test ./... --istio.test.select +customsetup
    ```
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 19:04:51 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  4. pkg/printers/internalversion/printers_test.go

    				},
    				Status: batch.JobStatus{
    					Succeeded: 1,
    				},
    			},
    			options: printers.GenerateOptions{},
    			// Columns: Name, Status, Completions, Duration, Age
    			expected: []metav1.TableRow{{Cells: []interface{}{"job1", "Running", "1/2", "", "0s"}}},
    		},
    		// Generate table rows for Job with generate options "Wide".
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Table.java

      /**
       * Copies all mappings from the specified table to this table. The effect is equivalent to calling
       * {@link #put} with each row key / column key / value mapping in {@code table}.
       *
       * @param table the table to add to this table
       */
      void putAll(Table<? extends R, ? extends C, ? extends V> table);
    
      /**
       * Removes the mapping, if any, associated with the given keys.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  6. src/runtime/pprof/label.go

    		panic("uneven number of arguments to pprof.Labels")
    	}
    	list := make([]label, 0, len(args)/2)
    	for i := 0; i+1 < len(args); i += 2 {
    		list = append(list, label{key: args[i], value: args[i+1]})
    	}
    	return LabelSet{list: list}
    }
    
    // Label returns the value of the label with the given key on ctx, and a boolean indicating
    // whether that label exists.
    func Label(ctx context.Context, key string) (string, bool) {
    	ctxLabels := labelValue(ctx)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/registry/rest/table.go

    	if m, err := meta.ListAccessor(object); err == nil {
    		table.ResourceVersion = m.GetResourceVersion()
    		table.Continue = m.GetContinue()
    		table.RemainingItemCount = m.GetRemainingItemCount()
    	} else {
    		if m, err := meta.CommonAccessor(object); err == nil {
    			table.ResourceVersion = m.GetResourceVersion()
    		}
    	}
    	if opt, ok := tableOptions.(*metav1.TableOptions); !ok || !opt.NoHeaders {
    		table.ColumnDefinitions = []metav1.TableColumnDefinition{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 14 17:25:12 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  8. test/label.go

    var x int
    
    func f() {
    L1: // ERROR "label .*L1.* defined and not used"
    	for {
    	}
    L2: // ERROR "label .*L2.* defined and not used"
    	select {}
    L3: // ERROR "label .*L3.* defined and not used"
    	switch {
    	}
    L4: // ERROR "label .*L4.* defined and not used"
    	if true {
    	}
    L5: // ERROR "label .*L5.* defined and not used"
    	f()
    L6: // GCCGO_ERROR "previous"
    	f()
    L6: // ERROR "label .*L6.* already defined"
    	f()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Nov 28 02:31:54 UTC 2020
    - 1K bytes
    - Viewed (0)
  9. operator/pkg/util/label.go

    )
    
    // SetLabel is a helper function which sets the specified label and value on the specified object.
    func SetLabel(resource runtime.Object, label, value string) error {
    	resourceAccessor, err := meta.Accessor(resource)
    	if err != nil {
    		return err
    	}
    	labels := resourceAccessor.GetLabels()
    	if labels == nil {
    		labels = map[string]string{}
    	}
    	labels[label] = value
    	resourceAccessor.SetLabels(labels)
    	return nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 29 20:42:01 UTC 2020
    - 1.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Table.java

      /**
       * Copies all mappings from the specified table to this table. The effect is equivalent to calling
       * {@link #put} with each row key / column key / value mapping in {@code table}.
       *
       * @param table the table to add to this table
       */
      void putAll(Table<? extends R, ? extends C, ? extends V> table);
    
      /**
       * Removes the mapping, if any, associated with the given keys.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 10.7K bytes
    - Viewed (0)
Back to top