Versions in this module Expand all Collapse all v2 v2.3.0 Dec 5, 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 NewBucketVersionCommand() *cli.Command + 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 NewPipeCommand() *cli.Command + func NewPipeCommandFlags() []cli.Flag + func NewPresignCommand() *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 BucketVersion struct + func (v BucketVersion) Run(ctx context.Context) error + type BucketVersionMessage struct + Bucket string + Status string + func (v BucketVersionMessage) JSON() string + func (v BucketVersionMessage) String() string + type Cat struct + func (c Cat) Run(ctx context.Context) error + type Copy struct + func NewCopy(c *cli.Context, deleteSource bool) (*Copy, error) + func (c Copy) Run(ctx context.Context) error + type Delete struct + func (d Delete) Run(ctx context.Context) error + type EnumValue struct + ConditionFunction func(str, target string) bool + Default string + Enum []string + func (e *EnumValue) Set(value string) error + func (e EnumValue) Get() interface{} + 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 MapFlag struct + Category string + DefaultText string + FilePath string + HasBeenSet bool + Hidden bool + Name string + Required bool + Usage string + Value MapValue + func (f *MapFlag) Apply(set *flag.FlagSet) error + func (f *MapFlag) GetDefaultText() string + func (f *MapFlag) GetEnvVars() []string + func (f *MapFlag) GetUsage() string + func (f *MapFlag) GetValue() string + func (f *MapFlag) IsRequired() bool + func (f *MapFlag) IsSet() bool + func (f *MapFlag) IsVisible() bool + func (f *MapFlag) Names() []string + func (f *MapFlag) String() string + func (f *MapFlag) TakesValue() bool + type MapValue map[string]string + func (m MapValue) Get() interface{} + func (m MapValue) Set(s string) error + func (m MapValue) String() string + type ObjectPair struct + type Pipe struct + func NewPipe(c *cli.Context, deleteSource bool) (*Pipe, error) + func (c Pipe) Run(ctx context.Context) error + type Presign struct + func (c Presign) Run(ctx context.Context) error + 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