Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for NewResource (0.07 sec)

  1. cmd/policy_test.go

    				policy.NewActionSet(policy.GetBucketLocationAction),
    				policy.NewResourceSet(policy.NewResource("mybucket")),
    				condition.NewFunctions(),
    			),
    			policy.NewBPStatement("",
    				policy.Allow,
    				policy.NewPrincipal("*"),
    				policy.NewActionSet(policy.PutObjectAction),
    				policy.NewResourceSet(policy.NewResource("mybucket/myobject*")),
    				condition.NewFunctions(),
    			),
    		},
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultModelPathTranslator.java

                    T resource = resources.get(i);
                    T newResource = mapper.apply(resource);
                    if (newResource != null) {
                        if (newResources == null) {
                            newResources = new ArrayList<>(resources);
                        }
                        newResources.set(i, newResource);
                    }
                }
            }
            return newResources;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. cmd/bucket-policy-handlers_test.go

    			policy.NewBPStatement(
    				"",
    				policy.Allow,
    				policy.NewPrincipal("*"),
    				policy.NewActionSet(policy.GetBucketLocationAction, policy.ListBucketAction),
    				policy.NewResourceSet(policy.NewResource(bucketName)),
    				condition.NewFunctions(),
    			),
    		},
    	}
    }
    
    func getAnonWriteOnlyBucketPolicy(bucketName string) *policy.BucketPolicy {
    	return &policy.BucketPolicy{
    		Version: policy.DefaultVersion,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 32.9K bytes
    - Viewed (0)
Back to top