darkibox

package
v3.59.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 14, 2026 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Addition

type Addition struct {
	driver.RootID
	APIKey string `json:"api_key" required:"true" help:"API key from your Darkibox account"`
}

type Darkibox

type Darkibox struct {
	model.Storage
	Addition
}

func (*Darkibox) ArchiveDecompress

func (d *Darkibox) ArchiveDecompress(ctx context.Context, srcObj, dstDir model.Obj, args model.ArchiveDecompressArgs) ([]model.Obj, error)

func (*Darkibox) Config

func (d *Darkibox) Config() driver.Config

func (*Darkibox) Copy

func (d *Darkibox) Copy(ctx context.Context, srcObj, dstDir model.Obj) (model.Obj, error)

func (*Darkibox) Drop

func (d *Darkibox) Drop(ctx context.Context) error

func (*Darkibox) Extract

func (d *Darkibox) Extract(ctx context.Context, obj model.Obj, args model.ArchiveInnerArgs) (*model.Link, error)

func (*Darkibox) GetAddition

func (d *Darkibox) GetAddition() driver.Additional

func (*Darkibox) GetArchiveMeta

func (d *Darkibox) GetArchiveMeta(ctx context.Context, obj model.Obj, args model.ArchiveArgs) (model.ArchiveMeta, error)

func (*Darkibox) Init

func (d *Darkibox) Init(ctx context.Context) error
func (d *Darkibox) Link(ctx context.Context, file model.Obj, args model.LinkArgs) (*model.Link, error)

func (*Darkibox) List

func (d *Darkibox) List(ctx context.Context, dir model.Obj, args model.ListArgs) ([]model.Obj, error)

func (*Darkibox) ListArchive

func (d *Darkibox) ListArchive(ctx context.Context, obj model.Obj, args model.ArchiveInnerArgs) ([]model.Obj, error)

func (*Darkibox) MakeDir

func (d *Darkibox) MakeDir(ctx context.Context, parentDir model.Obj, dirName string) (model.Obj, error)

func (*Darkibox) Move

func (d *Darkibox) Move(ctx context.Context, srcObj, dstDir model.Obj) (model.Obj, error)

func (*Darkibox) Put

func (*Darkibox) Remove

func (d *Darkibox) Remove(ctx context.Context, obj model.Obj) error

func (*Darkibox) Rename

func (d *Darkibox) Rename(ctx context.Context, srcObj model.Obj, newName string) (model.Obj, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL