- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 88 for newobject (0.15 sec)
-
pkg/kubelet/secret/secret_manager.go
type secretManager struct { manager manager.Manager } func (s *secretManager) GetSecret(namespace, name string) (*v1.Secret, error) { object, err := s.manager.GetObject(namespace, name) if err != nil { return nil, err } if secret, ok := object.(*v1.Secret); ok { return secret, nil } return nil, fmt.Errorf("unexpected object type: %v", object) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 5.3K bytes - Viewed (0) -
docs/extensions/s3zip/README.md
- ListObjectsV2 can only list the most recent ZIP archive version of your object, applicable only for versioned buckets. - ListObjectsV2 API calls must be used to list zip file content. - Range requests for GetObject/HeadObject for individual files from zip is not supported.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed Apr 10 16:28:27 UTC 2024 - 3K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/RemoteSnapshotMetadataGenerator.java
private final Integer buildNumber; RemoteSnapshotMetadataGenerator(RepositorySystemSession session, DeployRequest request) { timestamp = (Date) ConfigUtils.getObject(session, new Date(), "maven.startTime"); Object bn = ConfigUtils.getObject(session, null, "maven.buildNumber"); if (bn instanceof Integer) { this.buildNumber = (Integer) bn; } else if (bn instanceof String) {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Apr 12 10:50:18 UTC 2024 - 4.3K bytes - Viewed (0) -
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) -
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/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) -
cmd/admin-handlers-users_test.go
policy := "mypolicy-test-user-update" policyBytes := []byte(fmt.Sprintf(`{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "s3:PutObject", "s3:GetObject", "s3:ListBucket" ], "Resource": [ "arn:aws:s3:::%s/*" ] } ] }`, bucket)) err = s.adm.AddCannedPolicy(ctx, policy, policyBytes) if err != nil {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 45.7K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/LocalSnapshotMetadataGenerator.java
private final Date timestamp; LocalSnapshotMetadataGenerator(RepositorySystemSession session, InstallRequest request) { timestamp = (Date) ConfigUtils.getObject(session, new Date(), "maven.startTime"); snapshots = new LinkedHashMap<>(); } @Override public Collection<? extends Metadata> prepare(Collection<? extends Artifact> artifacts) {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Apr 12 10:50:18 UTC 2024 - 2.7K bytes - Viewed (0) -
cmd/background-newdisks-heal-ops.go
func (h *healingTracker) setBucket(bucket string) { h.mu.Lock() defer h.mu.Unlock() h.Bucket = bucket } func (h *healingTracker) getObject() string { h.mu.RLock() defer h.mu.RUnlock() return h.Object } func (h *healingTracker) setObject(object string) { h.mu.Lock() defer h.mu.Unlock() h.Object = object }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Jun 04 15:12:32 UTC 2024 - 14.5K bytes - Viewed (0) -
cmd/sts-handlers_test.go
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 18:45:50 UTC 2024 - 90K bytes - Viewed (0)