Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListBuckets ¶
ListBuckets prints all buckets.
Types ¶
type Cat ¶
type Cat struct {
// contains filtered or unexported fields
}
Cat holds cat operation flags and states.
type Copy ¶
type Copy struct {
// contains filtered or unexported fields
}
Copy holds copy operation flags and states.
type Delete ¶
type Delete struct {
// contains filtered or unexported fields
}
Delete holds delete operation flags and states.
type List ¶
type List struct {
// contains filtered or unexported fields
}
List holds list operation flags and states.
type ListMessage ¶
type ListMessage struct {
Object *storage.Object `json:"object"`
// contains filtered or unexported fields
}
ListMessage is a structure for logging ls results.
func (ListMessage) JSON ¶
func (l ListMessage) JSON() string
JSON returns the JSON representation of ListMessage.
func (ListMessage) String ¶
func (l ListMessage) String() string
String returns the string representation of ListMessage.
type MakeBucket ¶
type MakeBucket struct {
// contains filtered or unexported fields
}
MakeBucket holds bucket creation operation flags and states.
type Scanner ¶
Scanner is a cancelable scanner.
func NewScanner ¶
NewScanner creates a new scanner with cancellation.
type Size ¶
type Size struct {
// contains filtered or unexported fields
}
Size holds disk usage (du) operation flags and states.
type SizeMessage ¶
type SizeMessage struct {
Source string `json:"source"`
StorageClass string `json:"storage_class,omitempty"`
Count int64 `json:"count"`
Size int64 `json:"size"`
// contains filtered or unexported fields
}
SizeMessage is the structure for logging disk usage.
func (SizeMessage) JSON ¶
func (s SizeMessage) JSON() string
JSON returns the JSON representation of SizeMessage.
func (SizeMessage) String ¶
func (s SizeMessage) String() string
String returns the string representation of SizeMessage.