Documentation ¶
Index ¶
- type Bucket
- func (b *Bucket) Assert(t *testing.T) *Bucket
- func (b *Bucket) Encryption() *encryption.Encryption
- func (b *Bucket) Lifecycle() *lifecycle.Lifecycle
- func (b *Bucket) Name(name string) *Bucket
- func (b *Bucket) Notification() *notification.Notification
- func (b *Bucket) Policy() *policy.Policy
- func (b *Bucket) PublicAccessBlock() *pubaccblk.PublicAccessBlock
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bucket ¶
type Bucket struct {
// contains filtered or unexported fields
}
Bucket contains properties for testing S3 Bucket objects
func (*Bucket) Assert ¶
Assert executes the checker method (normally s3.Head) to verify the bucket with the name give to Name exists fails if bucket doesn't exist
func (*Bucket) Encryption ¶
func (b *Bucket) Encryption() *encryption.Encryption
Encryption returns a new *encryption.Encryption instantiated with the current bucket name set by calling Name()
func (*Bucket) Lifecycle ¶
Lifecycle returns a new *lifecycle.Lifecycle instantiated with the current bucket name set by calling Name()
func (*Bucket) Notification ¶
func (b *Bucket) Notification() *notification.Notification
Notification returns a new *notification.Notification instantiated with the current bucket name set by calling Name()
func (*Bucket) Policy ¶
Policy returns a new *policy.Policy instantiated with the current bucket name set by calling Name()
func (*Bucket) PublicAccessBlock ¶
func (b *Bucket) PublicAccessBlock() *pubaccblk.PublicAccessBlock
PublicAccessBlock returns a new *pubaccblk.PublicAccessBlock instantiated with the current bucket name set by calling Name()
Directories ¶
Path | Synopsis |
---|---|
Package pubaccblk provides methods and filters to test AWS S3 PublicAccessBlocks
|
Package pubaccblk provides methods and filters to test AWS S3 PublicAccessBlocks |