Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DeployPluginWithContextBase<TContext>

A basic deploy plugin that is specially based on multi file operations which uses a context, like a network connection (s. deployFileWithContext() method).

Type parameters

  • TContext

Hierarchy

Implements

Index

Constructors

constructor

Properties

Protected _context

_context: DeployContext

Stores the deploy context.

Accessors

canGetFileInfo

  • get canGetFileInfo(): boolean

canPull

  • get canPull(): boolean

context

Methods

compareFiles

Protected compareFilesWithContext

  • Compares a local file with a remote one by using a context.

    Parameters

    • ctx: TContext

      The context.

    • file: string

      The file to compare.

    • target: DeployTarget

      The source from where to download the file from.

    • Optional opts: DeployFileOptions

    Returns Promise<FileCompareResult>

    The result.

compareWorkspace

Protected Abstract createContext

Protected createDataTransformerContext

deployFile

Protected Abstract deployFileWithContext

  • Deploys a file by using a context.

    Parameters

    Returns void

deployWorkspace

Protected destroyContext

dispose

  • dispose(): void

downloadFile

Protected downloadFileWithContext

  • Downloads a file by using a context.

    Parameters

    Returns Promise<Buffer> | Buffer

    The result.

getFileInfo

Protected getFileInfoWithContext

Protected getTargetsWithPlugins

Protected loadDataTransformer

  • loadDataTransformer<TTarget>(target: TTarget, mode: DataTransformerMode, scriptProvider?: function): deploy_contracts.DataTransformer

Protected onCancelling

Protected onConfigReloaded

pullFile

Protected pullFileWithContext

  • Pulls a file by using a context.

    Parameters

    Returns void

pullWorkspace

Generated using TypeDoc