Documentation
¶
Index ¶
Constants ¶
View Source
const (
PathSeparator = string('/')
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bucket ¶
type Bucket struct {
BucketMeta
Ts time.Time `json:"ts,omitzero" name:"ts" help:"Creation date of the bucket"`
}
func BucketFromAWS ¶
type BucketMeta ¶
type BucketMeta struct {
Name string `json:"name,omitempty" name:"name" help:"Name of the bucket"`
Region *string `json:"region,omitempty" name:"region" help:"Region of the bucket"`
}
func (BucketMeta) String ¶
func (b BucketMeta) String() string
type Object ¶
type Object struct {
ObjectMeta
Hash *string `json:"hash,omitempty" name:"hash" help:"Hash of the object"`
Bucket string `json:"bucket,omitempty" name:"bucket" help:"Bucket in which the object is stored"`
Size int64 `json:"size" name:"size" help:"Size of the object in bytes"`
Ts time.Time `json:"ts,omitzero" name:"ts" help:"Creation date of the object"`
}
func ObjectFromAWS ¶
type ObjectList ¶
type ObjectList struct {
Count uint64 `json:"count" name:"count" help:"Number of objects"`
Body []Object `json:"body,omitempty" name:"body" help:"List of objects"`
}
func (ObjectList) String ¶
func (o ObjectList) String() string
type ObjectMeta ¶
type ObjectMeta struct {
Key string `json:"key,omitempty" name:"key" help:"Object key"`
Type string `json:"type,omitempty" name:"type" help:"Type of the object"`
}
func (ObjectMeta) String ¶
func (o ObjectMeta) String() string
Click to show internal directories.
Click to hide internal directories.