clip

package
v0.0.0-...-cdc1e65 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateAndUploadArchive

func CreateAndUploadArchive(options CreateOptions, si common.ClipStorageInfo) error

func CreateArchive

func CreateArchive(options CreateOptions) error

Create Archive

func ExtractArchive

func ExtractArchive(options ExtractOptions) error

Extract Archive

func MountArchive

func MountArchive(options MountOptions) (func() error, <-chan error, error)

Mount a clip archive to a directory

func StoreS3

func StoreS3(storeS3Opts StoreS3Options) error

Store CLIP in remote storage

Types

type CreateOptions

type CreateOptions struct {
	InputPath   string
	OutputPath  string
	Verbose     bool
	Credentials storage.ClipStorageCredentials
}

type CreateRemoteOptions

type CreateRemoteOptions struct {
	InputPath  string
	OutputPath string
	Verbose    bool
}

type ExtractOptions

type ExtractOptions struct {
	InputFile  string
	OutputPath string
	Verbose    bool
}

type MountOptions

type MountOptions struct {
	ArchivePath           string
	MountPoint            string
	Verbose               bool
	CachePath             string
	ContentCache          clipfs.ContentCache
	ContentCacheAvailable bool
	Credentials           storage.ClipStorageCredentials
}

type StoreS3Options

type StoreS3Options struct {
	ArchivePath string
	OutputFile  string
	Bucket      string
	Key         string
	CachePath   string
	Credentials storage.ClipStorageCredentials
}

Jump to

Keyboard shortcuts

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