- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for parsedSelector (0.35 sec)
-
staging/src/k8s.io/apimachinery/pkg/labels/selector.go
// 5. A requirement with just !KEY requires that the KEY not exist. func Parse(selector string, opts ...field.PathOption) (Selector, error) { parsedSelector, err := parse(selector, field.ToPath(opts...)) if err == nil { return parsedSelector, nil } return nil, err } // parse parses the string representation of the selector and returns the internalSelector struct.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Dec 18 04:27:38 UTC 2022 - 31.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/DefaultVersionedComponentChooserTest.groovy
def selectedComponentResult = Mock(ComponentSelectionContext) when: chooser.selectNewestMatchingComponent([c, d, a, b], selectedComponentResult, versionSelectorScheme.parseSelector("1.+"), versionSelectorScheme.parseSelector("1.3"), consumerAttributes) then: _ * componentSelectionRules.rules >> [] 1 * selectedComponentResult.getContentFilter() >> null
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 17:38:42 UTC 2024 - 17.1K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/fields/selector_test.go
} func TestDeterministicParse(t *testing.T) { s1, err := ParseSelector("x=a,a=x") s2, err2 := ParseSelector("a=x,x=a") if err != nil || err2 != nil { t.Errorf("Unexpected parse error") } if s1.String() != s2.String() { t.Errorf("Non-deterministic parse") } } func expectMatch(t *testing.T, selector string, ls Set) { lq, err := ParseSelector(selector) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jul 27 08:00:38 UTC 2017 - 11.2K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/fields/selector.go
func ParseSelectorOrDie(s string) Selector { selector, err := ParseSelector(s) if err != nil { panic(err) } return selector } // ParseSelector takes a string representing a selector and returns an // object suitable for matching, or an error. func ParseSelector(selector string) (Selector, error) { return parseSelector(selector, func(lhs, rhs string) (newLhs, newRhs string, err error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 23 20:40:07 UTC 2020 - 12.3K bytes - Viewed (0) -
subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/internal/insight/DependencyResultSorter.java
String rightRequiredVersion = right.getRequiredVersion(); boolean leftDynamic = versionSelectorScheme.parseSelector(leftRequiredVersion).isDynamic(); boolean rightDynamic = versionSelectorScheme.parseSelector(rightRequiredVersion).isDynamic(); // Order dynamic selectors after static selectors if (leftDynamic && !rightDynamic) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 12 07:52:05 UTC 2021 - 10.8K bytes - Viewed (0) -
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) -
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) -
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) -
platforms/native/language-native/src/main/java/org/gradle/swiftpm/plugins/SwiftPackageManagerExportPlugin.java
} String versionSelectorString = externalDependency.getVersion(); VersionSelector versionSelector = versionSelectorScheme.parseSelector(versionSelectorString); if (versionSelector instanceof LatestVersionSelector) { LatestVersionSelector latestVersionSelector = (LatestVersionSelector) versionSelector;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 14.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/GradlePomModuleDescriptorBuilder.java
} private String convertVersionFromMavenSyntax(String version) { VersionSelector versionSelector = mavenVersionSelectorScheme.parseSelector(version); return defaultVersionSelectorScheme.renderSelector(versionSelector); } /** * Determines extension of dependency. * * @param type Type * @return Extension
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 12.7K bytes - Viewed (0)