- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 185 for newobject (0.16 sec)
-
pkg/controlplane/controller/systemnamespaces/system_namespaces_controller_test.go
create := action.(k8stesting.CreateAction) namespaceInformer.Informer().GetIndexer().Add(create.GetObject()) return true, create.GetObject(), nil }) controller.sync() expectAction(t, clientset.Actions(), test.actions) namespaces, err := controller.namespaceLister.List(labels.Everything()) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 12:19:56 UTC 2024 - 4.3K bytes - Viewed (0) -
plugin/pkg/admission/certificates/ctbattest/admission.go
if !p.enabled { return nil } if a.GetResource().GroupResource() != clusterTrustBundleGroupResource { return nil } newBundle, ok := a.GetObject().(*api.ClusterTrustBundle) if !ok { return admission.NewForbidden(a, fmt.Errorf("expected type ClusterTrustBundle, got: %T", a.GetOldObject())) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 20 16:26:11 UTC 2023 - 4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/settings/ArraySettings.java
.setSource(XContentFactory.jsonBuilder().startObject().startObject("properties").startObject(FieldNames.ARRAY_KEY) .field("type", "keyword").endObject().endObject().endObject()) .execute().actionGet(settings.getIndicesTimeout()); } } catch (final IOException e) { throw new SuggestSettingsException("Failed to create mappings.");
Registered: Wed Jun 12 15:38:08 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 10.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/response_test.go
func (m *mockCacheableObject) CacheEncode(id runtime.Identifier, encode func(runtime.Object, io.Writer) error, w io.Writer) error { return encode(m.obj.DeepCopyObject(), w) } // GetObject implements runtime.CacheableObject interface. func (m *mockCacheableObject) GetObject() runtime.Object { return m.obj } type mockNamer struct{} func (*mockNamer) Namespace(_ *http.Request) (string, error) { return "", nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Oct 18 09:07:03 UTC 2023 - 6.4K bytes - Viewed (0) -
fess-crawler-es/src/main/java/org/codelibs/fess/crawler/entity/EsAccessResultData.java
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 2.2K bytes - Viewed (0) -
cmd/erasure-object_test.go
if err != toObjectErr(errErasureReadQuorum, bucket, object) { t.Errorf("Expected GetObject to fail with %v, but failed with %v", toObjectErr(errErasureReadQuorum, bucket, object), err) } } if gr != nil { _, err = io.Copy(io.Discard, gr) if err != toObjectErr(errErasureReadQuorum, bucket, object) { t.Errorf("Expected GetObject to fail with %v, but failed with %v", toObjectErr(errErasureReadQuorum, bucket, object), err) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Jan 30 20:43:25 UTC 2024 - 36.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/verification/signatures/PublicKeySerializer.java
PGPObjectFactory objectFactory = new PGPObjectFactory( PGPUtil.getDecoderStream(new ByteArrayInputStream(encoded)), new BcKeyFingerprintCalculator()); Object object = objectFactory.nextObject(); if (object instanceof PGPPublicKey) { return (PGPPublicKey) object; } else if (object instanceof PGPPublicKeyRing) { return ((PGPPublicKeyRing) object).getPublicKey(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/filter_test.go
} func endpointStatusUpdateAttributes() admission.Attributes { attrs := endpointCreateAttributes() return admission.NewAttributesRecord( attrs.GetObject(), attrs.GetObject(), attrs.GetKind(), attrs.GetNamespace(), attrs.GetName(), attrs.GetResource(), "status", admission.Update, &metav1.UpdateOptions{}, false, nil)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 40.4K bytes - Viewed (0) -
cmd/metrics-v2_test.go
import ( "testing" "time" "github.com/prometheus/client_golang/prometheus" ) func TestGetHistogramMetrics(t *testing.T) { histBuckets := []float64{0.05, 0.1, 0.25, 0.5, 0.75} labels := []string{"GetObject", "PutObject", "CopyObject", "CompleteMultipartUpload"} ttfbHist := prometheus.NewHistogramVec( prometheus.HistogramOpts{ Name: "s3_ttfb_seconds",
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Mar 04 18:05:56 UTC 2024 - 2.3K bytes - Viewed (0) -
cmd/object_api_suite_test.go
} } for key, value := range objects { var byteBuffer bytes.Buffer err = GetObject(context.Background(), obj, "bucket", key, 0, int64(len(value)), &byteBuffer, "", opts) if err != nil { t.Fatalf("%s: <ERROR> %s", instanceType, err) } if !bytes.Equal(byteBuffer.Bytes(), value) { t.Errorf("%s: Mismatch of GetObject data with the expected one.", instanceType) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:50:49 UTC 2024 - 33.4K bytes - Viewed (0)