Documentation
¶
Overview ¶
http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html#cli-config-files
Index ¶
- func New(region string) (*session.Session, error)
- func NewWithCustomEndoint(accessKey, secretKey, region, url string) (*session.Session, error)
- func Open(nkey *[32]byte, data []byte) ([]byte, error)
- func Seal(nkey *[32]byte, blb *blob.Blob) ([]byte, error)
- type Bucket
- func (b *Bucket) Create() error
- func (b *Bucket) Exists() (bool, error)
- func (b *Bucket) GetObject(key string) *Object
- func (b *Bucket) Iter(max int, f func(*Object) error) error
- func (b *Bucket) List(marker string, max int) ([]*Object, error)
- func (b *Bucket) ListPrefix(prefix, marker string, max int) ([]*Object, error)
- type EncryptedBlob
- type Object
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewWithCustomEndoint ¶
Types ¶
type EncryptedBlob ¶
type EncryptedBlob struct {
// contains filtered or unexported fields
}
func NewEncryptedBlob ¶
func NewEncryptedBlob(o *Object, key *[32]byte) *EncryptedBlob
func (*EncryptedBlob) HashAndPlainText ¶
func (b *EncryptedBlob) HashAndPlainText() (string, []byte, error)
func (*EncryptedBlob) PlainText ¶
func (b *EncryptedBlob) PlainText() ([]byte, error)
func (*EncryptedBlob) PlainTextHash ¶
func (b *EncryptedBlob) PlainTextHash() (string, error)
Click to show internal directories.
Click to hide internal directories.