- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for hasResource (0.39 sec)
-
staging/src/k8s.io/apimachinery/pkg/api/meta/restmapper.go
resource := coerceResourceForMatching(input) hasResource := len(resource.Resource) > 0 hasGroup := len(resource.Group) > 0 hasVersion := len(resource.Version) > 0 if !hasResource { return nil, fmt.Errorf("a resource must be present, got: %v", resource) } ret := []schema.GroupVersionResource{} switch {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 17 01:55:47 UTC 2021 - 16.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/GradlePomModuleDescriptorParserBomTest.groovy
</dependency> </dependencies> </dependencyManagement> </project> """ parseContext.getMetaDataArtifact({ it.selector.module == 'parent' }, _, MAVEN_POM) >> asResource(parent) when: parsePom() then: metadata.dependencies.size() == 1 metadata.dependencies[0].constraint
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 13.5K bytes - Viewed (0) -
platforms/software/signing/src/main/java/org/gradle/plugins/signing/Sign.java
getSignatures().add(signature); } private void removeSignature(final Buildable source) { getSignatures().removeIf(hasSource(source)); } private Predicate<Signature> hasSource(Buildable source) { return signature -> signature.getSource().equals(source); } /** * Changes the signatory of the signatures. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 13.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/DependencyVerifyingModuleComponentRepository.java
if (isExternalArtifactId(artifact)) { sources.withSource(ModuleDescriptorHashModuleSource.class, hashSource -> { if (hashSource.isPresent()) { boolean changingModule = requestMetaData.isChanging() || hashSource.get().isChangingModule(); if (!changingModule) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 17:38:42 UTC 2024 - 16K bytes - Viewed (0) -
pilot/pkg/config/kube/gateway/controller.go
} return slices.Filter(cfgs, func(c config.Config) bool { return c.Namespace == namespace }) } // hasResources determines if there are any gateway-api resources created at all. // If not, we can short circuit all processing to avoid excessive work. func (kr GatewayResources) hasResources() bool { return len(kr.GatewayClass) > 0 || len(kr.Gateway) > 0 || len(kr.HTTPRoute) > 0 || len(kr.GRPCRoute) > 0 ||
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Mar 30 05:26:03 UTC 2024 - 13.5K bytes - Viewed (0)