Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for policyTypes (0.19 sec)

  1. common-protos/k8s.io/api/networking/v1/generated.proto

      // (whether or not they contain an ingress section) are assumed to affect ingress.
      // If you want to write an egress-only policy, you must explicitly specify policyTypes [ "Egress" ].
      // Likewise, if you want to write a policy that specifies that no egress is allowed,
      // you must specify a policyTypes value that include "Egress" (since such a policy would not include
      // an egress section and would otherwise default to just [ "Ingress" ]).
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  2. common-protos/k8s.io/api/extensions/v1beta1/generated.proto

      // (whether or not they contain an Ingress section) are assumed to affect Ingress.
      // If you want to write an egress-only policy, you must explicitly specify policyTypes [ "Egress" ].
      // Likewise, if you want to write a policy that specifies that no egress is allowed,
      // you must specify a policyTypes value that include "Egress" (since such a policy would not include
      // an Egress section and would otherwise default to just [ "Ingress" ]).
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 45.6K bytes
    - Viewed (0)
  3. cmd/admin-handlers-users_test.go

     ]
    }`)
    
    	err := s.adm.AddCannedPolicy(ctx, policy1, policyBytes)
    	if err != nil {
    		c.Fatalf("policy add error: %v", err)
    	}
    
    	err = s.adm.AddCannedPolicy(ctx, policy2, newPolicyBytes)
    	if err != nil {
    		c.Fatalf("policy add error: %v", err)
    	}
    
    	// 2. Verify that policy json is validated by server
    	invalidPolicyBytes := policyBytes[:len(policyBytes)-1]
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 12 16:36:16 GMT 2024
    - 45.7K bytes
    - Viewed (0)
  4. cmd/bucket-handlers_test.go

    	rec := httptest.NewRecorder()
    	req, err := newTestSignedRequestV4(http.MethodPut, getPutPolicyURL("", bucketName), int64(len(policyBytes)), bytes.NewReader(policyBytes),
    		credentials.AccessKey, credentials.SecretKey, nil)
    	if err != nil {
    		t.Fatalf("Failed to create HTTP request for PutBucketPolicyHandler: <ERROR> %v", err)
    	}
    	apiRouter.ServeHTTP(rec, req)
    	if rec.Code != http.StatusNoContent {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 39.5K bytes
    - Viewed (2)
Back to top