Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 265 for post (0.21 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 May 05 19:28:20 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 May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  3. internal/event/name.go

    	case ObjectCreatedCompleteMultipartUpload:
    		return "s3:ObjectCreated:CompleteMultipartUpload"
    	case ObjectCreatedCopy:
    		return "s3:ObjectCreated:Copy"
    	case ObjectCreatedPost:
    		return "s3:ObjectCreated:Post"
    	case ObjectCreatedPut:
    		return "s3:ObjectCreated:Put"
    	case ObjectCreatedPutTagging:
    		return "s3:ObjectCreated:PutTagging"
    	case ObjectCreatedDeleteTagging:
    		return "s3:ObjectCreated:DeleteTagging"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  4. 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)
  5. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  6. 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 May 05 09:35:13 GMT 2024
    - Last Modified: Thu Oct 26 03:58:13 GMT 2023
    - 7.3K bytes
    - Viewed (0)
  7. cmd/license-update.go

    	// the subnet license renewal api renews the license only
    	// if required e.g. when it is expiring soon
    	url := globalSubnetConfig.BaseURL + licRenewPath
    
    	resp, err := globalSubnetConfig.Post(url, nil)
    	if err != nil {
    		subnetLogIf(ctx, fmt.Errorf("error from %s: %w", url, err))
    		return
    	}
    
    	r := gjson.Parse(resp).Get("license_v2")
    	if r.Index == 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  8. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  9. docs/sts/web-identity.go

    	flag.StringVar(&clientScopes, "cscopes", "openid", "Client Scopes")
    	flag.IntVar(&port, "port", 8080, "Port")
    }
    
    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 != "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 19 09:13:33 GMT 2023
    - 7.8K bytes
    - Viewed (3)
  10. 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"},
    		{ObjectRemovedDeleteAllVersions, "s3:ObjectRemoved:DeleteAllVersions"},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 7.4K bytes
    - Viewed (0)
Back to top