Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 229 for Post (0.17 sec)

  1. cmd/post-policy_test.go

    	for i := range parts {
    		if errs[i] == nil {
    			if parts[i].Name == objectName+"/upload.txt" {
    				t.Errorf("Test %s: Failed to stop post policy handler from writing to minioMetaBucket", instanceType)
    			}
    		}
    	}
    }
    
    // Wrapper for calling TestPostPolicyBucketHandler tests for both Erasure multiple disks and single node setup.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  2. cmd/post-policy-fan-out.go

    Harshavardhana <******@****.***> 1705561397 -0800
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  3. tests/embedded_struct_test.go

    		t.Fatalf("no error should happen when query with embedded struct, but got %v", err)
    	}
    	expectAuthors := []string{"Edward", "George"}
    	for i, post := range egPosts {
    		t.Log(i, post.Author)
    		if want := expectAuthors[i]; post.Author.Name != want {
    			t.Errorf("expected author %s got %s", want, post.Author.Name)
    		}
    	}
    }
    
    func TestEmbeddedPointerTypeStruct(t *testing.T) {
    	type BasePost struct {
    		Id    int64
    		Title string
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu Oct 26 03:58:13 GMT 2023
    - 7.3K bytes
    - Viewed (0)
  4. cmd/auth-handler_test.go

    			req: &http.Request{
    				URL: &url.URL{
    					Host:     "127.0.0.1:9000",
    					Scheme:   httpScheme,
    					Path:     SlashSeparator,
    					RawQuery: "X-Amz-Credential=EXAMPLEINVALIDEXAMPL%2Fs3%2F20160314%2Fus-east-1",
    				},
    			},
    			authT: authTypePresigned,
    		},
    		// Test case - 5
    		// Check for post policy.
    		{
    			req: &http.Request{
    				URL: &url.URL{
    					Host:   "127.0.0.1:9000",
    					Scheme: httpScheme,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  5. internal/event/name.go

    import (
    	"encoding/json"
    	"encoding/xml"
    )
    
    // Name - event type enum.
    // Refer http://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html#notification-how-to-event-types-and-destinations
    // for most basic values we have since extend this and its not really much applicable other than a reference point.
    // "s3:Replication:OperationCompletedReplication" is a MinIO extension.
    type Name int
    
    // Values of event Name
    const (
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 08 17:45:03 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  6. cni/pkg/plugin/cnieventclient.go

    	"istio.io/istio/cni/pkg/nodeagent"
    )
    
    // newCNIClient is a unit test override variable for mocking.
    var newCNIClient = buildClient
    
    // An udsCore write entries to an UDS server with HTTP Post. Log messages will be encoded into a JSON array.
    type CNIEventClient struct {
    	client *http.Client
    	url    string
    }
    
    func buildClient(address, path string) CNIEventClient {
    	c := &http.Client{
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  7. internal/event/name_test.go

    		{ObjectCreatedAll, "s3:ObjectCreated:*"},
    		{ObjectCreatedCompleteMultipartUpload, "s3:ObjectCreated:CompleteMultipartUpload"},
    		{ObjectCreatedCopy, "s3:ObjectCreated:Copy"},
    		{ObjectCreatedPost, "s3:ObjectCreated:Post"},
    		{ObjectCreatedPut, "s3:ObjectCreated:Put"},
    		{ObjectRemovedAll, "s3:ObjectRemoved:*"},
    		{ObjectRemovedDelete, "s3:ObjectRemoved:Delete"},
    		{ObjectRemovedNoOP, "s3:ObjectRemoved:NoOP"},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Mar 21 17:21:35 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  8. docs/sts/web-identity.go

    }
    
    func implicitFlowURL(c oauth2.Config, state string) string {
    	var buf bytes.Buffer
    	buf.WriteString(c.Endpoint.AuthURL)
    	v := url.Values{
    		"response_type": {"id_token"},
    		"response_mode": {"form_post"},
    		"client_id":     {c.ClientID},
    	}
    	if c.RedirectURL != "" {
    		v.Set("redirect_uri", c.RedirectURL)
    	}
    	if len(c.Scopes) > 0 {
    		v.Set("scope", strings.Join(c.Scopes, " "))
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri May 19 09:13:33 GMT 2023
    - 7.8K bytes
    - Viewed (3)
  9. cmd/kms-handlers.go

    	if err != nil {
    		writeCustomErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrInternalError), err.Error(), r.URL)
    		return
    	}
    	writeSuccessResponseJSON(w, resp)
    }
    
    // KMSMetricsHandler - POST /minio/kms/v1/metrics
    func (a kmsAPIHandlers) KMSMetricsHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "KMSMetrics")
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  10. cmd/admin-bucket-handlers.go

    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	writeSuccessResponseJSON(w, rptData)
    }
    
    // ReplicationDiffHandler - POST returns info on unreplicated versions for a remote target ARN
    // to the connected HTTP client.
    func (a adminAPIHandlers) ReplicationDiffHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 32.5K bytes
    - Viewed (0)
Back to top