Versions in this module Expand all Collapse all v2 v2.0.2 Mar 29, 2023 Changes in this version + func AppCommand(name string) *cli.Command + func Commands() []*cli.Command + func ListBuckets(ctx context.Context, storageOpts storage.Options) error + func Main(ctx context.Context, args []string) error + func NewCatCommand() *cli.Command + func NewCopyCommand() *cli.Command + func NewCopyCommandFlags() []cli.Flag + func NewDeleteCommand() *cli.Command + func NewListCommand() *cli.Command + func NewMakeBucketCommand() *cli.Command + func NewMoveCommand() *cli.Command + func NewRemoveBucketCommand() *cli.Command + func NewRunCommand() *cli.Command + func NewSelectCommand() *cli.Command + func NewSharedFlags() []cli.Flag + func NewSizeCommand() *cli.Command + func NewStorageOpts(c *cli.Context) storage.Options + func NewSyncCommand() *cli.Command + func NewSyncCommandFlags() []cli.Flag + func NewVersionCommand() *cli.Command + type Cat struct + func (c Cat) Run(ctx context.Context) error + type Copy struct + func NewCopy(c *cli.Context, deleteSource bool) Copy + func (c Copy) Run(ctx context.Context) error + type Delete struct + func (d Delete) Run(ctx context.Context) error + type EnumValue struct + Default string + Enum []string + func (e *EnumValue) Set(value string) error + func (e EnumValue) String() string + type List struct + func (l List) Run(ctx context.Context) error + type ListMessage struct + Object *storage.Object + func (l ListMessage) JSON() string + func (l ListMessage) String() string + type MakeBucket struct + func (b MakeBucket) Run(ctx context.Context) error + type ObjectPair struct + type Reader struct + func NewReader(ctx context.Context, r io.Reader) *Reader + func (r *Reader) Err() error + func (r *Reader) Read() <-chan string + type RemoveBucket struct + func (b RemoveBucket) Run(ctx context.Context) error + type Run struct + func NewRun(c *cli.Context, r io.Reader) Run + func (r Run) Run(ctx context.Context) error + type Select struct + func (s Select) Run(ctx context.Context) error + type Size struct + func (sz Size) Run(ctx context.Context) error + type SizeAndModificationStrategy struct + func (sm *SizeAndModificationStrategy) ShouldSync(srcObj, dstObj *storage.Object) error + type SizeMessage struct + Count int64 + Size int64 + Source string + StorageClass string + func (s SizeMessage) JSON() string + func (s SizeMessage) String() string + type SizeOnlyStrategy struct + func (s *SizeOnlyStrategy) ShouldSync(srcObj, dstObj *storage.Object) error + type Sync struct + func NewSync(c *cli.Context) Sync + func (s Sync) Run(c *cli.Context) error + type SyncStrategy interface + ShouldSync func(srcObject, dstObject *storage.Object) error + func NewStrategy(sizeOnly bool) SyncStrategy