- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 328 for newWith (0.2 sec)
-
subprojects/core/src/main/java/org/gradle/initialization/DefaultProjectDescriptorRegistry.java
@Override public void changeDescriptorPath(Path oldPath, Path newPath) { DefaultProjectDescriptor projectDescriptor = removeProject(oldPath.toString()); projectDescriptor.setPath(newPath); addProject(projectDescriptor); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 10:39:11 UTC 2019 - 1.1K bytes - Viewed (0) -
pkg/kubelet/kubelet_server_journal.go
allErrs = append(allErrs, field.Required(field.NewPath("query"), "cannot be empty with options")) case len(n.Files) > 0 && len(n.Services) > 0: allErrs = append(allErrs, field.Invalid(field.NewPath("query"), fmt.Sprintf("%v, %v", n.Files, n.Services), "cannot specify a file and service")) case len(n.Files) > 1: allErrs = append(allErrs, field.Invalid(field.NewPath("query"), n.Files, "cannot specify more than one file"))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 26 18:56:28 UTC 2023 - 13.5K bytes - Viewed (0) -
pkg/api/service/warnings.go
warnings = append(warnings, getWarningsForIP(field.NewPath("spec").Child("clusterIPs").Index(i), clusterIP)...) } } for i, externalIP := range service.Spec.ExternalIPs { warnings = append(warnings, getWarningsForIP(field.NewPath("spec").Child("externalIPs").Index(i), externalIP)...) } if len(service.Spec.LoadBalancerIP) > 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 26 22:57:57 UTC 2023 - 4.2K bytes - Viewed (0) -
pkg/apis/resource/validation/validation_resourceclaimparameters_test.go
}, "missing-name": { wantFailures: field.ErrorList{field.Required(field.NewPath("metadata", "name"), "name or generateName is required")}, parameters: testResourceClaimParameters("", goodName, goodRequests), }, "missing-namespace": { wantFailures: field.ErrorList{field.Required(field.NewPath("metadata", "namespace"), "")}, parameters: testResourceClaimParameters(goodName, "", goodRequests), },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 21:21:16 UTC 2024 - 11.4K bytes - Viewed (0) -
pkg/apis/discovery/validation/validation.go
allErrs = append(allErrs, validateAddressType(endpointSlice.AddressType)...) allErrs = append(allErrs, validateEndpoints(endpointSlice.Endpoints, endpointSlice.AddressType, field.NewPath("endpoints"))...) allErrs = append(allErrs, validatePorts(endpointSlice.Ports, field.NewPath("ports"))...) return allErrs }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 18 08:49:15 UTC 2021 - 7.8K bytes - Viewed (0) -
pkg/apis/resource/validation/validation_resourceclassparameters_test.go
}, "missing-name": { wantFailures: field.ErrorList{field.Required(field.NewPath("metadata", "name"), "name or generateName is required")}, parameters: testResourceClassParameters("", goodName, goodFilters), }, "missing-namespace": { wantFailures: field.ErrorList{field.Required(field.NewPath("metadata", "namespace"), "")}, parameters: testResourceClassParameters(goodName, "", goodFilters), },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 21:21:16 UTC 2024 - 11.8K bytes - Viewed (0) -
pkg/apis/resource/validation/validation_resourceclass_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 09:18:10 UTC 2024 - 10.6K bytes - Viewed (0) -
pilot/pkg/config/aggregate/config_test.go
} func TestAggregateStoreFails(t *testing.T) { g := NewWithT(t) store1 := memory.Make(collection.SchemasFor(schemaFor("OtherConfig", "istio.networking.v1alpha3.Gateway"))) stores := []model.ConfigStore{store1} store, err := makeStore(stores, nil) g.Expect(err).NotTo(HaveOccurred()) t.Run("Fails to Delete", func(t *testing.T) { g := NewWithT(t)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 02 17:36:47 UTC 2024 - 6.7K bytes - Viewed (0) -
pkg/config/analysis/analyzers/schema/validation_test.go
} return nil, nil }) a := ValidationAnalyzer{s: testSchema} t.Run("CheckMetadataInputs", func(t *testing.T) { g := NewWithT(t) g.Expect(a.Metadata().Inputs).To(ConsistOf(testCol)) }) t.Run("NoErrors", func(t *testing.T) { g := NewWithT(t) ctx := &fixtures.Context{ Resources: []*resource.Instance{ { Message: m1, }, }, } a.Analyze(ctx)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 02 08:32:06 UTC 2024 - 4.5K bytes - Viewed (0) -
pkg/scheduler/apis/config/validation/validation.go
leaderElectionPath := field.NewPath("leaderElection") errs = append(errs, field.Invalid(leaderElectionPath.Child("resourceLock"), cc.LeaderElection.ResourceLock, `resourceLock value must be "leases"`)) } profilesPath := field.NewPath("profiles") if cc.Parallelism <= 0 { errs = append(errs, field.Invalid(field.NewPath("parallelism"), cc.Parallelism, "should be an integer value greater than zero")) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 06:27:01 UTC 2024 - 11.5K bytes - Viewed (0)