- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for newWith (0.14 sec)
-
pkg/apis/resource/validation/validation.go
allErrs = append(allErrs, validateClassParameters(parameters.GeneratedFrom, field.NewPath("generatedFrom"))...) allErrs = append(allErrs, validateResourceFilters(parameters.Filters, field.NewPath("filters"), filtersStored)...) allErrs = append(allErrs, validateVendorParameters(parameters.VendorParameters, field.NewPath("vendorParameters"))...) return allErrs }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 09:18:10 UTC 2024 - 28.3K bytes - Viewed (0) -
pkg/apis/resource/validation/validation_resourceclaimtemplate_test.go
}, "missing-name": { wantFailures: field.ErrorList{field.Required(field.NewPath("metadata", "name"), "name or generateName is required")}, template: testClaimTemplate("", goodNS, goodClaimSpec), }, "bad-name": {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 09:18:10 UTC 2024 - 12.3K bytes - Viewed (0) -
pkg/test/framework/suite_test.go
}) t.Run("interface reference", func(t *testing.T) { g := NewWithT(t) var ref OtherInterface tracked := &resource.FakeResource{IDValue: "1"} err := act(&ref, tracked) g.Expect(err).To(BeNil()) g.Expect(tracked).To(Equal(ref)) }) t.Run("slice reference", func(t *testing.T) { g := NewWithT(t) existing := &resource.FakeResource{IDValue: "1"}
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/apis/resource/validation/validation_resourceclaim_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 09:18:10 UTC 2024 - 28.7K 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) -
cmd/kubeadm/app/phases/upgrade/staticpods_test.go
waitForHashChange: nil, waitForPodsWithLabel: nil, }, moveFileFunc: func(oldPath, newPath string) error { // fail for kube-apiserver move if strings.Contains(newPath, "kube-apiserver") { return errors.New("moving the kube-apiserver file failed") } return os.Rename(oldPath, newPath) }, expectedErr: true, manifestShouldChange: false, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 01 07:10:31 UTC 2024 - 32K bytes - Viewed (0) -
operator/cmd/mesh/manifest-generate_test.go
func TestManifestGenerateAllOff(t *testing.T) { g := NewWithT(t) m, _, err := generateManifest("all_off", "", liveCharts, nil) if err != nil { t.Fatal(err) } objs, err := parseObjectSetFromManifest(m) if err != nil { t.Fatal(err) } g.Expect(objs.size()).Should(Equal(0)) } func TestManifestGenerateFlagsMinimalProfile(t *testing.T) { g := NewWithT(t) // Change profile from empty to minimal using flag.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jun 04 18:05:06 UTC 2024 - 43.5K bytes - Viewed (0) -
pilot/pkg/networking/core/cluster_test.go
"inbound|10001||": overrideSettings, "inbound|10002||": basicSettings, }, }, } for name, tt := range cases { t.Run(name, func(t *testing.T) { g := NewWithT(t) clusters := xdstest.ExtractClusters(buildTestClusters(clusterTest{ t: t, serviceHostname: "*.example.org", nodeType: model.SidecarProxy, mesh: testMesh(),
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 108.8K bytes - Viewed (0) -
pilot/pkg/bootstrap/server_test.go
TLSOptions: *c.tlsOptions, } p.RegistryOptions = RegistryOptions{ FileDir: configDir, } p.ShutdownDuration = 1 * time.Millisecond }) g := NewWithT(t) s, err := NewServer(args, func(s *Server) { s.kubeClient = kube.NewFakeClient() }) g.Expect(err).To(Succeed()) stop := make(chan struct{}) g.Expect(s.Start(stop)).To(Succeed())
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 17:48:28 UTC 2024 - 23.1K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/noderesources/fit_test.go
test.args.ScoringStrategy = defaultScoringStrategy } _, ctx := ktesting.NewTestContext(t) ctx, cancel := context.WithCancel(ctx) defer cancel() p, err := NewFit(ctx, &test.args, nil, plfeature.Features{}) if err != nil { t.Fatal(err) } cycleState := framework.NewCycleState() _, preFilterStatus := p.(framework.PreFilterPlugin).PreFilter(ctx, cycleState, test.pod)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 13:26:09 UTC 2024 - 57.4K bytes - Viewed (0)