- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 38 for parsedSelector (0.14 sec)
-
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/strategy/UnionVersionSelector.java
ImmutableList.Builder<VersionSelector> builder = new ImmutableList.Builder<>(); for (String selector : selectors) { builder.add(scheme.parseSelector(selector)); } return new UnionVersionSelector(builder.build()); } public UnionVersionSelector(List<VersionSelector> selectors) { this.selectors = selectors; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 3.6K bytes - Viewed (0) -
pkg/test/framework/label/labels_test.go
{filter: "postsubmit,-postsubmit", labels: NewSet(), err: true}, } for i, te := range tests { t.Run(strconv.FormatInt(int64(i), 10), func(t *testing.T) { f, err := ParseSelector(te.filter) if err != nil { if te.err { return } t.Fatalf("Unexpected error: %v, filter:%q, labels:%v", err, te.filter, te.labels) } else if te.err {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Nov 18 17:08:05 UTC 2021 - 3.2K bytes - Viewed (0) -
platforms/software/version-control/src/main/java/org/gradle/vcs/internal/resolver/DefaultVcsVersionWorkingDirResolver.java
return repository.getBranch(constraint.getBranch()); } String version = constraint.getRequiredVersion(); VersionSelector versionSelector = versionSelectorScheme.parseSelector(version); if (versionSelector instanceof LatestVersionSelector && ((LatestVersionSelector) versionSelector).getSelectorStatus().equals("integration")) { return repository.getDefaultBranch(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 5K bytes - Viewed (0) -
pkg/volume/util/recyclerclient/recycler_client.go
// It will continue until stopChannel is closed func (c *realRecyclerClient) WatchPod(name, namespace string, stopChannel chan struct{}) (<-chan watch.Event, error) { podSelector, err := fields.ParseSelector("metadata.name=" + name) if err != nil { return nil, err } options := metav1.ListOptions{ FieldSelector: podSelector.String(), Watch: true, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 26 17:14:05 UTC 2022 - 8.5K bytes - Viewed (1) -
pkg/test/framework/suite_test.go
defer cleanupRT() g := NewWithT(t) var runSkipped bool runFn := func(ctx *suiteContext) int { runSkipped = ctx.skipped return 0 } sel, err := label.ParseSelector("-customsetup") g.Expect(err).To(BeNil()) settings := resource.DefaultSettings() settings.Selector = sel s := newTestSuite("tid", runFn, defaultExitFn, settingsFn(settings)) s.Label(label.CustomSetup)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 11.5K bytes - Viewed (0) -
pkg/client/tests/listwatch_test.go
restclient "k8s.io/client-go/rest" . "k8s.io/client-go/tools/cache" utiltesting "k8s.io/client-go/util/testing" ) func parseSelectorOrDie(s string) fields.Selector { selector, err := fields.ParseSelector(s) if err != nil { panic(err) } return selector } // buildQueryValues is a convenience function for knowing if a namespace should be in a query param or not
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 02 17:08:23 UTC 2022 - 5.6K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/labels/labels.go
} // Set is a map of label:value. It implements Labels. type Set map[string]string // String returns all labels listed as a human readable string. // Conveniently, exactly the format that ParseSelector takes. func (ls Set) String() string { selector := make([]string, 0, len(ls)) for key, value := range ls { selector = append(selector, key+"="+value) } // Sort for determinism.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 14 16:39:04 UTC 2022 - 4.5K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/GradlePomModuleDescriptorParser.java
ModuleDependencyMetadata moduleDependencyMetadata = toDependencyMetadata(selector); VersionSelector acceptor = mavenVersionSelectorScheme.parseSelector(selector.getVersion()); LocallyAvailableExternalResource localResource = parseContext.getMetaDataArtifact(moduleDependencyMetadata, acceptor, ArtifactType.MAVEN_POM);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 26 14:58:23 UTC 2024 - 13.5K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/conversion.go
if err != nil { return err } *out = selector return nil } func Convert_string_To_fields_Selector(in *string, out *fields.Selector, s conversion.Scope) error { selector, err := fields.ParseSelector(*in) if err != nil { return err } *out = selector return nil } func Convert_labels_Selector_To_string(in *labels.Selector, out *string, s conversion.Scope) error { if *in == nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 26 03:49:57 UTC 2020 - 8.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/strict/StrictVersionConstraintsFeatureInteractionIntegrationTest.groovy
configurations.all { resolutionStrategy { dependencySubstitution.all { def selector = VERSION_SCHEME.parseSelector("[2.1, 2.2]") if (it.requested.group.startsWith("org") && it.requested.module.startsWith("foo") && selector.accept(it.requested.version)) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 15K bytes - Viewed (0)