Home Identifier Source Repository
import {FS} from 'deep-fs/lib/FS.js'
public class | source

FS

Extends:

deep-kernel~Kernel.ContainerAware → FS

Deep FS implementation

Static Member Summary

Static Public Members
public static get
public static get
public static get
public static get
public static get
public static get

Constructor Summary

Public Constructor
public

constructor(tmpFsBucket: String, publicFsBucket: String, systemFsBucket: String, sharedFsBucket: String)

Defines all class private properties

Member Summary

Public Members
public get

public: fs | s3fs | S3FS | S3FsRumProxy | SimulatedS3FS | *: *

Returns mounted public folder
public get
public get

system: fs | s3fs | S3FS | S3FsRumProxy | SimulatedS3FS | *: *

Returns mounted sys folder
public get

tmp: fs | s3fs | S3FS | S3FsRumProxy | SimulatedS3FS | *: *

Returns mounted tmp folder

Method Summary

Public Methods
public

boot(kernel: Kernel, callback: Function)

Booting a certain service
public

getFolder(name: String, msIdentifier: String): fs | s3fs | S3FS | S3FsRumProxy | SimulatedS3FS | *

Returns mounted file system folder (tmp, public or system)
public

shared(microservice: Microservice | String | *): fs | s3fs | S3FS | S3FsRumProxy | SimulatedS3FS | *

Returns mounted shared folder

Static Public Members

public static get FOLDERS: Array: * source

Return:

Array

public static get PUBLIC: string: string source

Return:

string

public static get RegistryInstance: Registry: * source

Return:

Registry

public static get SHARED: String: string source

Return:

String

public static get SYSTEM: string: string source

Return:

string

public static get TMP: string: string source

Return:

string

Public Constructors

public constructor(tmpFsBucket: String, publicFsBucket: String, systemFsBucket: String, sharedFsBucket: String) source

Defines all class private properties

Params:

NameTypeAttributeDescription
tmpFsBucket String
publicFsBucket String
systemFsBucket String
sharedFsBucket String

Public Members

public get public: fs | s3fs | S3FS | S3FsRumProxy | SimulatedS3FS | *: * source

Returns mounted public folder

Return:

fs | s3fs | S3FS | S3FsRumProxy | SimulatedS3FS | *

public get registry: Registry: * source

Return:

Registry

public get system: fs | s3fs | S3FS | S3FsRumProxy | SimulatedS3FS | *: * source

Returns mounted sys folder

Return:

fs | s3fs | S3FS | S3FsRumProxy | SimulatedS3FS | *

public get tmp: fs | s3fs | S3FS | S3FsRumProxy | SimulatedS3FS | *: * source

Returns mounted tmp folder

Return:

fs | s3fs | S3FS | S3FsRumProxy | SimulatedS3FS | *

Public Methods

public boot(kernel: Kernel, callback: Function) source

Booting a certain service

Params:

NameTypeAttributeDescription
kernel Kernel
callback Function

public getFolder(name: String, msIdentifier: String): fs | s3fs | S3FS | S3FsRumProxy | SimulatedS3FS | * source

Returns mounted file system folder (tmp, public or system)

Params:

NameTypeAttributeDescription
name String
msIdentifier String

Return:

fs | s3fs | S3FS | S3FsRumProxy | SimulatedS3FS | *

public shared(microservice: Microservice | String | *): fs | s3fs | S3FS | S3FsRumProxy | SimulatedS3FS | * source

Returns mounted shared folder

Params:

NameTypeAttributeDescription
microservice Microservice | String | *

Return:

fs | s3fs | S3FS | S3FsRumProxy | SimulatedS3FS | *