- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 3,493 for iLabels (0.14 sec)
-
pilot/pkg/serviceregistry/serviceentry/controller_test.go
if len(endpoints[i].Labels) == len(endpoints[j].Labels) { iLabels := labelsToSlice(endpoints[i].Labels) jLabels := labelsToSlice(endpoints[j].Labels) for k := range iLabels { if iLabels[k] < jLabels[k] { return true } } } return len(endpoints[i].Labels) < len(endpoints[j].Labels) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 15:31:09 UTC 2024 - 92.9K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/labels.go
} // newPodLabels creates pod labels from v1.Pod. func newPodLabels(pod *v1.Pod) map[string]string { labels := map[string]string{} // Get labels from v1.Pod for k, v := range pod.Labels { labels[k] = v } labels[types.KubernetesPodNameLabel] = pod.Name labels[types.KubernetesPodNamespaceLabel] = pod.Namespace labels[types.KubernetesPodUIDLabel] = string(pod.UID) return labels }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 22 02:01:31 UTC 2024 - 10.9K bytes - Viewed (0) -
src/go/types/labels.go
labels map[string]*ast.LabeledStmt // allocated lazily } // insert records a new label declaration for the current block. // The label must not have been declared before in any block. func (b *block) insert(s *ast.LabeledStmt) { name := s.Label.Name if debug { assert(b.gotoTarget(name) == nil) } labels := b.labels if labels == nil { labels = make(map[string]*ast.LabeledStmt)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 7.2K bytes - Viewed (0) -
pkg/kube/labels/labels.go
if value, ok := labels[key]; ok { return value, true } } return "", false } func HasCanonicalServiceName(labels map[string]string) bool { _, ok := lookupLabelValue(labels, nameLabels...) return ok } func HasCanonicalServiceRevision(labels map[string]string) bool { _, ok := lookupLabelValue(labels, revisionLabels...) return ok } func canonicalServiceRevision(labels map[string]string) string {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 20:38:02 UTC 2024 - 2.7K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/labels/labels.go
See the License for the specific language governing permissions and limitations under the License. */ package labels import ( "fmt" "sort" "strings" "k8s.io/apimachinery/pkg/util/validation/field" ) // Labels allows you to present labels independently from their storage. type Labels interface { // Has returns whether the provided label exists. Has(label string) (exists bool)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 14 16:39:04 UTC 2022 - 4.5K bytes - Viewed (0) -
src/internal/types/testdata/check/labels.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 3.2K bytes - Viewed (0) -
pkg/util/labels/labels.go
} if labels == nil { labels = make(map[string]string) } labels[labelKey] = labelValue return labels } // Clones the given selector and returns a new selector with the given key and value added. // Returns the given selector, if labelKey is empty. func CloneSelectorAndAddLabel(selector *metav1.LabelSelector, labelKey, labelValue string) *metav1.LabelSelector { if labelKey == "" { // Don't need to add a label.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 11 17:34:12 UTC 2017 - 3.7K bytes - Viewed (0) -
src/cmd/compile/internal/types2/labels.go
labels map[string]*syntax.LabeledStmt // allocated lazily } // insert records a new label declaration for the current block. // The label must not have been declared before in any block. func (b *block) insert(s *syntax.LabeledStmt) { name := s.Label.Value if debug { assert(b.gotoTarget(name) == nil) } labels := b.labels if labels == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 7.2K bytes - Viewed (0) -
.github/labels.json
{ "labels": { "critical": { "name": "type:critical", "colour": "#E84137", "description": "critical questions" }, "question": { "name": "type:question", "colour": "#EDEDED", "description": "general questions" }, "feature": { "name": "type:feature_request", "colour": "#43952A", "description": "feature request" }, "invalid_question": {
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Mon Oct 19 03:49:03 UTC 2020 - 3.8K bytes - Viewed (0) -
pilot/pkg/config/kube/gateway/testdata/deployment/infrastructure-labels-annotations.yaml
medium: Memory name: istio-envoy - emptyDir: {} name: istio-data - downwardAPI: items: - fieldRef: fieldPath: metadata.labels path: labels - fieldRef: fieldPath: metadata.annotations path: annotations name: istio-podinfo - name: istio-token projected: sources:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 13 21:43:20 UTC 2024 - 6.7K bytes - Viewed (0)