Documentation ¶
Index ¶
- func ArePoliciesSame(p1, p2 *storage.Policy) bool
- func BindRoleToMember(in v1alpha1.BucketPolicyMemberParameters, sp *storage.Policy) bool
- func GenerateBucketPolicyInstance(in v1alpha1.BucketPolicyParameters, sp *storage.Policy)
- func IsEmpty(in *storage.Policy) bool
- func IsUpToDate(in *v1alpha1.BucketPolicyParameters, observed *storage.Policy) (bool, error)
- func UnbindRoleFromMember(in v1alpha1.BucketPolicyMemberParameters, sp *storage.Policy) bool
- type Client
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ArePoliciesSame ¶
func ArePoliciesSame(p1, p2 *storage.Policy) bool
ArePoliciesSame compares and returns true if two policies are same
func BindRoleToMember ¶
func BindRoleToMember(in v1alpha1.BucketPolicyMemberParameters, sp *storage.Policy) bool
BindRoleToMember updates *storage.Policy instance with BucketPolicyMemberParameters. returns true if policy changed
func GenerateBucketPolicyInstance ¶
func GenerateBucketPolicyInstance(in v1alpha1.BucketPolicyParameters, sp *storage.Policy)
GenerateBucketPolicyInstance generates *storage.Policy instance from BucketPolicyParameters.
func IsUpToDate ¶
func IsUpToDate(in *v1alpha1.BucketPolicyParameters, observed *storage.Policy) (bool, error)
IsUpToDate checks whether current state is up-to-date compared to the given set of parameters.
func UnbindRoleFromMember ¶
func UnbindRoleFromMember(in v1alpha1.BucketPolicyMemberParameters, sp *storage.Policy) bool
UnbindRoleFromMember generates *storage.Policy instance from BucketPolicyMemberParameters. returns true if bound (i.e. policy changed)
Types ¶
Click to show internal directories.
Click to hide internal directories.