Documentation ¶
Index ¶
- type Fake
- func (f *Fake) CreateBucket(name string, region string, endpoint string, ...) (string, error)
- func (f *Fake) DeleteBucket(name string, region string, endpoint string, clearBucket bool) error
- func (f *Fake) GrantBucketAccess(id string, accountName string, accessPolicy string) (string, *bucket.BucketAccessCredentials, error)
- func (f *Fake) RevokeBucketAccess(id string, accountId string) error
- func (f *Fake) Start() error
- func (f *Fake) Stop() error
- func (f *Fake) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Fake ¶
type Fake struct {
// contains filtered or unexported fields
}
func (*Fake) CreateBucket ¶
func (f *Fake) CreateBucket(name string, region string, endpoint string, anonymousBucketAccessMode api.AnonymousBucketAccessMode) (string, error)
CreateBucket provisions a new in-memory bucket
func (*Fake) DeleteBucket ¶
DeleteBucket deprovisions an in-memory bucket
func (*Fake) GrantBucketAccess ¶
func (f *Fake) GrantBucketAccess(id string, accountName string, accessPolicy string) (string, *bucket.BucketAccessCredentials, error)
AccessBucket grants access to the in-memory bucket Dummy impplementation Actual implementation to be done once we have more clarity on the downstream API
func (*Fake) RevokeBucketAccess ¶
DeleteBucket deprovisions an in-memory bucketz Dummy impplementation Actual implementation to be done once we have more clarity on the downstream API
Click to show internal directories.
Click to hide internal directories.