Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 65 for objectNames (0.08 sec)

  1. docs/sts/client-grants.go

    		log.Fatal(err)
    	}
    
    	d := bytes.NewReader([]byte("Hello, World"))
    	n, err := clnt.PutObject(context.Background(), "my-bucketname", "my-objectname", d, d.Size(), minio.PutObjectOptions{})
    	if err != nil {
    		log.Fatalln(err)
    	}
    
    	log.Println("Uploaded", "my-objectname", " of size: ", n, "Successfully.")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 19 01:35:22 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  2. internal/logger/audit.go

    		entry.API.Name = reqInfo.API
    		entry.API.Bucket = reqInfo.BucketName
    		entry.API.Object = reqInfo.ObjectName
    		entry.API.Objects = make([]audit.ObjectVersion, 0, len(reqInfo.Objects))
    		for _, ov := range reqInfo.Objects {
    			entry.API.Objects = append(entry.API.Objects, audit.ObjectVersion{
    				ObjectName: ov.ObjectName,
    				VersionID:  ov.VersionID,
    			})
    		}
    		entry.API.Status = http.StatusText(statusCode)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. internal/logger/reqinfo.go

    const contextLogKey = contextKeyType("miniolog")
    
    // KeyVal - appended to ReqInfo.Tags
    type KeyVal struct {
    	Key string
    	Val string
    }
    
    // ObjectVersion object version key/versionId
    type ObjectVersion struct {
    	ObjectName string
    	VersionID  string `json:"VersionId,omitempty"`
    }
    
    // ReqInfo stores the request info.
    // Reading/writing directly to struct requires appropriate R/W lock.
    type ReqInfo struct {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/storage/ApiAdminStorageAction.java

                throwValidationErrorApi(messages -> messages.addErrorsStorageAccessError(GLOBAL, "id is invalid"));
            }
            final String objectName = getObjectName(pi.getPath(), pi.getName());
            try {
                deleteObject(objectName);
                saveInfo(messages -> messages.addSuccessDeleteFile(GLOBAL, pi.getName()));
                return asJson(new ApiResult.ApiResponse().status(ApiResult.Status.OK).result());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. cmd/object-api-utils_test.go

    		isValidObjectName := IsValidObjectName(testCase.objectName)
    		if testCase.shouldPass && !isValidObjectName {
    			t.Errorf("Test case %d: Expected \"%s\" to be a valid object name", i+1, testCase.objectName)
    		}
    		if !testCase.shouldPass && isValidObjectName {
    			t.Errorf("Test case %d: Expected object name \"%s\" to be invalid", i+1, testCase.objectName)
    		}
    	}
    }
    
    // Tests getCompleteMultipartMD5
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  6. docs/erasure/storage-class/README.md

    if err != nil {
     log.Fatalln(err)
    }
    
    n, err := s3Client.PutObject("my-bucketname", "my-objectname", object, objectStat.Size(), minio.PutObjectOptions{ContentType: "application/octet-stream", StorageClass: "REDUCED_REDUNDANCY"})
    if err != nil {
     log.Fatalln(err)
    }
    log.Println("Uploaded", "my-objectname", " of size: ", n, "Successfully.")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 15 23:04:20 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/storage/StorageClient.java

                        final Item item = result.get();
                        final String objectName = item.objectName();
                        requestDataSet.add(RequestDataBuilder.newRequestData().get().url("storage://" + bucketName + "/" + objectName).build());
                    }
                    throw new ChildUrlsException(requestDataSet, this.getClass().getName() + "#getResponseData");
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  8. internal/event/rules_test.go

    	rulesCase3.Add(NewPattern("", "*.png"), TargetID{"2", "amqp"})
    
    	rulesCase4 := make(Rules)
    	rulesCase4.Add(NewPattern("2010*", ""), TargetID{"1", "webhook"})
    
    	testCases := []struct {
    		rules          Rules
    		objectName     string
    		expectedResult TargetIDSet
    	}{
    		{rulesCase1, "photos.jpg", NewTargetIDSet()},
    		{rulesCase2, "photos.jpg", NewTargetIDSet(TargetID{"1", "webhook"})},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 8.8K bytes
    - Viewed (0)
  9. internal/event/target/webhook.go

    		}
    	}
    	return err
    }
    
    // send - sends an event to the webhook.
    func (target *WebhookTarget) send(eventData event.Event) error {
    	objectName, err := url.QueryUnescape(eventData.S3.Object.Key)
    	if err != nil {
    		return err
    	}
    	key := eventData.S3.Bucket.Name + "/" + objectName
    
    	data, err := json.Marshal(event.Log{EventName: eventData.EventName, Key: key, Records: []event.Event{eventData}})
    	if err != nil {
    		return err
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  10. cmd/object-handlers-common.go

    				BucketName: bucket,
    				Object: ObjectInfo{
    					Name:      dobj.ObjectName,
    					VersionID: dobj.VersionID,
    				},
    				UserAgent: "Internal: [ILM-Expiry]",
    				Host:      globalLocalNodeName,
    			}
    			if errs[i] != nil {
    				evArgs.RespElements = map[string]string{
    					"error": fmt.Sprintf("failed to delete %s(%s), with error %v", dobj.ObjectName, dobj.VersionID, errs[i]),
    				}
    			}
    			sendEvent(evArgs)
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 06:33:53 UTC 2024
    - 15.3K bytes
    - Viewed (0)
Back to top