Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for mergeLabels (0.19 sec)

  1. pilot/pkg/autoregistration/controller.go

    		entry.Labels = mergeLabels(entry.Labels, group.Metadata.Labels)
    	}
    	// Explicitly do not use proxy.Labels, as it is only initialized *after* we register the workload,
    	// and it would be circular, as it will set the labels based on the WorkloadEntry -- but we are creating
    	// the workload entry.
    	if proxy.Metadata.Labels != nil {
    		entry.Labels = mergeLabels(entry.Labels, proxy.Metadata.Labels)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 00:00:36 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/labels/labels_test.go

    			labels2:      map[string]string{"env": "test", "color": "blue"},
    			mergedLabels: map[string]string{"infra": "true", "env": "test", "color": "blue"},
    		},
    	}
    	for _, test := range tests {
    		mergedLabels := Merge(Set(test.labels1), Set(test.labels2))
    		if !Equals(mergedLabels, test.mergedLabels) {
    			t.Errorf("expected: %v but got: %v", test.mergedLabels, mergedLabels)
    		}
    	}
    }
    
    func TestLabelSelectorParse(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 11 14:09:48 UTC 2017
    - 5.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/TableCollectors.java

            tableSupplier,
            (table, input) ->
                mergeTables(
                    table,
                    rowFunction.apply(input),
                    columnFunction.apply(input),
                    valueFunction.apply(input),
                    mergeFunction),
            (table1, table2) -> {
              for (Table.Cell<R, C, V> cell2 : table2.cellSet()) {
                mergeTables(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Mar 09 00:21:17 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/TableCollectors.java

            tableSupplier,
            (table, input) ->
                mergeTables(
                    table,
                    rowFunction.apply(input),
                    columnFunction.apply(input),
                    valueFunction.apply(input),
                    mergeFunction),
            (table1, table2) -> {
              for (Table.Cell<R, C, V> cell2 : table2.cellSet()) {
                mergeTables(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Mar 09 00:21:17 UTC 2024
    - 7.7K bytes
    - Viewed (0)
Back to top