Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AccessPoint ¶
func AccessPoint(m ...AccessPointModifier) *svcapitypes.AccessPoint
AccessPoint creates a AccessPoint for use in testing
func NoSuchAccessPoint ¶
NoSuchAccessPoint creates an error for use in testing
func NoSuchAccessPointPolicy ¶
NoSuchAccessPointPolicy creates an error for use in testing
Types ¶
type AccessPointModifier ¶
type AccessPointModifier func(bucket *svcapitypes.AccessPoint)
AccessPointModifier is a function which modifies the AccessPoint for testing
func WithConditions ¶
func WithConditions(c ...xpv1.Condition) AccessPointModifier
WithConditions sets the Conditions for an AccessPoint
func WithPolicy ¶
func WithPolicy(s *common.BucketPolicyBody) AccessPointModifier
WithPolicy sets the policy for an AccessPoint
Click to show internal directories.
Click to hide internal directories.