- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 2,086 for Reflector (0.24 sec)
-
pkg/scheduler/framework/plugins/helper/spread.go
labelSet = labels.Merge(labelSet, rc.Spec.Selector) selector = labelSet.AsSelector() } case rsKind: if rs, err := rsl.ReplicaSets(pod.Namespace).Get(owner.Name); err == nil { if other, err := metav1.LabelSelectorAsSelector(rs.Spec.Selector); err == nil { if r, ok := other.Requirements(); ok { selector = selector.Add(r...) } } } case ssKind:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 25 20:04:48 UTC 2021 - 3.4K bytes - Viewed (0) -
pkg/controller/util/selectors/bimultimap_test.go
return u.selector.Empty() } func (u *useOnceSelector) String() string { return u.selector.String() } func (u *useOnceSelector) Add(r ...pkglabels.Requirement) pkglabels.Selector { u.selector = u.selector.Add(r...) return u } func (u *useOnceSelector) Requirements() (pkglabels.Requirements, bool) { return u.selector.Requirements() } func (u *useOnceSelector) DeepCopySelector() pkglabels.Selector {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 13 01:56:36 UTC 2022 - 16.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/result/ComponentSelectorSerializerTest.groovy
result.projectPath == selector.projectPath result.projectPath() == selector.projectPath() result.projectName == selector.projectName result.requestedCapabilities == selector.requestedCapabilities } def "serializes root build ProjectComponentSelector"() { given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 11.8K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/tuple.go
if t := selectors[key]; t != nil { if selector != t { selector.copyOf(t) } continue } // If the selector is in the wrong block copy it into the target // block. if selector.Block != tuple.Block { t := selector.copyInto(tuple.Block) selector.copyOf(t) selectors[key] = t continue } // The selector is in the target block. Add it to the map so it
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 26 02:52:33 UTC 2021 - 2K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.26.md
- Kubelet: fixed log spam from kubelet_getters.go `Path does not exist`. ([#112650](https://github.com/kubernetes/kubernetes/pull/112650), [@rphillips](https://github.com/rphillips)) - Kubelet: fixed nil pointer in reflector start for standalone mode. ([#113501](https://github.com/kubernetes/kubernetes/pull/113501), [@pacoxu](https://github.com/pacoxu))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 14 16:24:51 UTC 2024 - 425.7K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/helpers.go
default: return selector, fmt.Errorf("%q is not a valid selector operator", expr.Operator) } } return selector, nil } // ParseToLabelSelector parses a string representing a selector into a LabelSelector object. // Note: This function should be kept in sync with the parser in pkg/labels/selector.go func ParseToLabelSelector(selector string) (*LabelSelector, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Sep 15 10:58:36 UTC 2022 - 9.6K bytes - Viewed (0) -
pkg/apis/admissionregistration/v1beta1/defaults.go
policy := admissionregistrationv1beta1.Equivalent obj.MatchPolicy = &policy } if obj.NamespaceSelector == nil { selector := metav1.LabelSelector{} obj.NamespaceSelector = &selector } if obj.ObjectSelector == nil { selector := metav1.LabelSelector{} obj.ObjectSelector = &selector } } // SetDefaults_ValidatingWebhook sets defaults for webhook validating
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jul 20 20:24:09 UTC 2023 - 4.1K bytes - Viewed (0) -
pkg/util/labels/labels.go
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. return selector } // Clone. newSelector := new(metav1.LabelSelector)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 11 17:34:12 UTC 2017 - 3.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/strategy/UnionVersionSelector.java
public boolean requiresMetadata() { for (VersionSelector selector : selectors) { if (selector.requiresMetadata()) { return true; } } return false; } @Override public boolean matchesUniqueVersion() { for (VersionSelector selector : selectors) { if (!selector.matchesUniqueVersion()) { return false; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 3.6K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/labels/labels_test.go
}, { selector: "x y", labels: map[string]string{}, valid: false, }, } for _, test := range tests { labels, err := ConvertSelectorToLabelsMap(test.selector) if test.valid && err != nil { t.Errorf("selector: %s, expected no error but got: %s", test.selector, err) } else if !test.valid && err == nil { t.Errorf("selector: %s, expected an error", test.selector) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 11 14:09:48 UTC 2017 - 5.4K bytes - Viewed (0)