testing

package
v0.45.0-rc.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 10, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

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

func NoSuchAccessPoint() awserr.Error

NoSuchAccessPoint creates an error for use in testing

func NoSuchAccessPointPolicy

func NoSuchAccessPointPolicy() awserr.Error

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

WithPolicy sets the policy for an AccessPoint

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL