purefb

package
v9.4.43+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PureFBDriver

type PureFBDriver struct {
	*s3.S3Driver

	AccessKeyID     string
	SecretAccessKey string
}

PureFBDriver represents a way to interact with a Pure FlashBlade object storage backend via the AWS SDK

func New

func New(cfg *aws.Config, accessKeyID, secretAccessKey string) (*PureFBDriver, error)

New create a new PureFBDriver instance

func (*PureFBDriver) GrantBucketAccess

func (p *PureFBDriver) GrantBucketAccess(id string, accountName string, accessPolicy string) (string, *bucket.BucketAccessCredentials, error)

GrantBucketAccess gives admin access to a bucket

func (*PureFBDriver) RevokeBucketAccess

func (p *PureFBDriver) RevokeBucketAccess(id string, accountId string) error

RevokeBucketAccess is a no-op for admin access to a bucket

func (*PureFBDriver) String

func (p *PureFBDriver) String() string

String returns the driver name for Pure FlashBlade

Jump to

Keyboard shortcuts

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