Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Properties

dimensionBucket

dimensionBucket: Bucket

log

log: Logger

Private lruFileCache

lruFileCache: LRUFileCache

name

name: string = "GCloudStorage"

storage

storage: 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>

Object literals

configs

configs: object

cacheDir

cacheDir: string = "cache"

fileCacheMaxSize

fileCacheMaxSize: number = 1024 * 1024 * 1024

keyFilename

keyFilename: string = ""

loggingLevel

loggingLevel: INFO = Logger.LEVEL.INFO

projectId

projectId: string = ""

Generated using TypeDoc