Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BucketStatsV1 ¶
type ByProfileV1ID ¶
type ByProfileV1ID []*ProfileV1
ByProfileV1ID is the accessor for sorting a list of profiles by their ID
func (ByProfileV1ID) Len ¶
func (a ByProfileV1ID) Len() int
func (ByProfileV1ID) Less ¶
func (a ByProfileV1ID) Less(i, j int) bool
func (ByProfileV1ID) Swap ¶
func (a ByProfileV1ID) Swap(i, j int)
type ObjectV1 ¶
type ObjectV1 struct { Key string LastModified time.Time OwnerName string OwnerID string Size int64 }
ObjectV1 represents an object in a bucket
type ProfileV1 ¶
type ProfileV1 struct { ID int64 `json:"id"` Name string `json:"name"` AccessKey string `json:"access_key"` SecretKey string `json:"secret_key"` Endpoint string `json:"endpoint"` SSL bool `json:"ssl"` PathStyle bool `json:"path_style"` Region string `json:"region"` Buckets []string `json:"buckets"` }
ProfileV1 contains one user profile for accessing a S3 storage
func (*ProfileV1) ToAwsOptions ¶
ToAwsOptions generates the Options from the profile required for creating a new aws client connection
type SettingsV1 ¶
SettingsV1 defines the format of the settings file
Click to show internal directories.
Click to hide internal directories.