Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for labelSet (0.05 sec)

  1. cmd/metrics-v3-types.go

    	// managed values follow:
    	labelSet map[string]struct{}
    }
    
    func (md *MetricDescriptor) getLabelSet() map[string]struct{} {
    	if md.labelSet != nil {
    		return md.labelSet
    	}
    	md.labelSet = make(map[string]struct{}, len(md.VariableLabels))
    	for _, label := range md.VariableLabels {
    		md.labelSet[label] = struct{}{}
    	}
    	return md.labelSet
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 30 22:28:46 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  2. api/go1.9.txt

    pkg runtime/pprof, func Do(context.Context, LabelSet, func(context.Context))
    pkg runtime/pprof, func ForLabels(context.Context, func(string, string) bool)
    pkg runtime/pprof, func Label(context.Context, string) (string, bool)
    pkg runtime/pprof, func Labels(...string) LabelSet
    pkg runtime/pprof, func SetGoroutineLabels(context.Context)
    pkg runtime/pprof, func WithLabels(context.Context, LabelSet) context.Context
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 04 20:20:20 UTC 2021
    - 10.7K bytes
    - Viewed (0)
  3. cni/pkg/repair/repaircontroller.go

    		return nil
    	}
    
    	repairLog.Infof("Labeling pod %s/%s with label %s=%s", pod.Namespace, pod.Name, c.cfg.LabelKey, c.cfg.LabelValue)
    
    	patchBytes := fmt.Sprintf(`{"metadata":{"labels":{%q:%q}}}`, c.cfg.LabelKey, c.cfg.LabelValue)
    	// Both "pods" and "pods/status" can mutate the metadata. However, pods/status is lower privilege, so we use that instead.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Feb 10 00:31:55 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. cni/pkg/repair/repair_test.go

    				InitTerminationMsg: "Died for some reason",
    				LabelKey:           "testkey",
    				LabelValue:         "testval",
    			},
    			wantLabels: map[string]string{workingPod.Name: "", workingPodDiedPreviously.Name: "", brokenPodWaiting.Name: "testkey=testval"},
    			wantCount:  1,
    			wantTags:   map[string]string{"result": resultSuccess, "type": labelType},
    		},
    		{
    			name:   "With already labeled pod",
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Oct 24 03:31:28 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  5. istioctl/pkg/waypoint/waypoint.go

    				return fmt.Errorf("failed to create Kubernetes client: %v", err)
    			}
    			ns := ctx.NamespaceOrDefault(ctx.Namespace())
    			// If a user decides to enroll their namespace with a waypoint, verify that they have labeled their namespace as ambient.
    			// If they don't, the user will be warned and be presented with the command to label their namespace as ambient if they
    			// choose to do so.
    			//
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  6. cni/pkg/cmd/root.go

    		RepairPods:         viper.GetBool(constants.RepairRepairPods),
    		DeletePods:         viper.GetBool(constants.RepairDeletePods),
    		LabelPods:          viper.GetBool(constants.RepairLabelPods),
    		LabelKey:           viper.GetString(constants.RepairLabelKey),
    		LabelValue:         viper.GetString(constants.RepairLabelValue),
    		NodeName:           viper.GetString(constants.RepairNodeName),
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 16 15:33:47 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/informers.go

    			wasReady := kube.CheckPodReadyOrComplete(oldPod)
    			isReady := kube.CheckPodReadyOrComplete(newPod)
    			if wasReady != nil && isReady != nil && isAnnotated {
    				log.Infof("pod update event skipped: added/labeled by CNI plugin")
    				return nil
    			}
    
    			// netns == ""; at this point netns should have been added via the initial snapshot,
    			// or via the cni plugin. If it happens to get here before the cni plugin somehow,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  8. .github/workflows/build.yml

    name: build
    
    on:
      push:
        branches:
          - master
      pull_request:
        types: [opened, labeled, unlabeled, synchronize]
    
    permissions:
      contents: read
    
    env:
      GRADLE_OPTS: "-Dorg.gradle.jvmargs=-Xmx4g -Dorg.gradle.daemon=false -Dkotlin.incremental=false"
    
    jobs:
      publish:
        runs-on: ubuntu-latest
        if: github.repository == 'square/okhttp' && github.ref == 'refs/heads/master'
    
        steps:
          - name: Checkout
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Aug 17 10:05:29 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/net/InternetDomainName.java

       *
       * @return {@code true} if this domain name appears exactly on the public suffix list as part of
       *     the registry suffix section (labelled "ICANN").
       * @since 23.3
       */
      public boolean isRegistrySuffix() {
        return registrySuffixIndex() == 0;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 05 20:47:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/informers_test.go

    	handlers := setupHandlers(ctx, client, server, "istio-system")
    	client.RunAndWait(ctx.Done())
    	pods := handlers.GetActiveAmbientPodSnapshot()
    
    	// Should skip both pods - the one that's labeled but not annotated, and the one that's annotated but terminated.
    	assert.Equal(t, len(pods), 0)
    }
    
    func TestAmbientEnabledReturnsPodIfEnabled(t *testing.T) {
    	setupLogging()
    	NodeName = "testnode"
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 22.1K bytes
    - Viewed (0)
Back to top