Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Properties

_useCacheCount

_useCacheCount: number = 0

bucketPath

bucketPath: string

log

log: Logger

Private lruFileCache

lruFileCache: LRUFileCache

name

name: string = "FS-Storage"

type

type: Type = Plugin.Type.STORAGE

Methods

download

  • download(key: string, destination: string, useCached: boolean): Promise<string>

getDownloadURL

  • getDownloadURL(key: string): Promise<string>

initialize

  • initialize(dimension: Dimension): Promise<void>

manipulate

  • manipulate(dimension: Dimension): Promise<void>

upload

  • upload(file: string, destination?: string): Promise<string>

uploadTournamentFile

  • uploadTournamentFile(file: string, user: User, tournament: Tournament): Promise<string>

writeFileFromBucket

  • writeFileFromBucket(key: string, dest: string): Promise<void>

writeFileToBucket

  • writeFileToBucket(file: string, dest: string): Promise<void>

Object literals

configs

configs: object

cacheDir

cacheDir: string = "cache"

loggingLevel

loggingLevel: INFO = Logger.LEVEL.INFO

maxCacheSize

maxCacheSize: number = 1024 * 1024 * 50

Generated using TypeDoc