Versions in this module Expand all Collapse all v7 v7.0.65 Nov 22, 2023 Changes in this version + const BucketPolicyNone + const BucketPolicyReadOnly + const BucketPolicyReadWrite + const BucketPolicyWriteOnly + func CheckStatementsAreRemovable(statements []Statement, bucketName string, prefix string) bool + func GetPolicies(statements []Statement, bucketName, prefix string) map[string]BucketPolicy + type BucketAccessPolicy struct + Statements []Statement + Version string + type BucketPolicy string + func GetPolicy(statements []Statement, bucketName string, prefix string) BucketPolicy + func (p BucketPolicy) IsValidBucketPolicy() bool + type ConditionKeyMap map[string]set.StringSet + func CopyConditionKeyMap(condKeyMap ConditionKeyMap) ConditionKeyMap + func (ckm ConditionKeyMap) Add(key string, value set.StringSet) + func (ckm ConditionKeyMap) Remove(key string, value set.StringSet) + func (ckm ConditionKeyMap) RemoveKey(key string) + type ConditionMap map[string]ConditionKeyMap + func (cond ConditionMap) Add(condKey string, condKeyMap ConditionKeyMap) + func (cond ConditionMap) Remove(condKey string) + type Statement struct + Actions set.StringSet + Conditions ConditionMap + Effect string + Principal User + Resources set.StringSet + Sid string + func SetPolicy(statements []Statement, policy BucketPolicy, bucketName string, prefix string) []Statement + type User struct + AWS set.StringSet + CanonicalUser set.StringSet + func (u *User) UnmarshalJSON(data []byte) error v7.0.65-beta2 Nov 22, 2023 Other modules containing this package github.com/weka/minio-go