Module: LaunchDarkly::Migrations

Defined in:
lib/ldclient-rb/migrations.rb

Overview

Namespace for feature-flag based technology migration support.

Defined Under Namespace

Classes: MigratorBuilder, OperationResult, WriteResult

Constant Summary collapse

ORIGIN_OLD =

Symbol representing the old origin, or the old technology source you are migrating away from.

:old
ORIGIN_NEW =

Symbol representing the new origin, or the new technology source you are migrating towards.

:new
OP_READ =

Symbol defining a read-related operation

:read
OP_WRITE =

Symbol defining a write-related operation

:write
STAGE_OFF =
:off
STAGE_DUALWRITE =
:dualwrite
STAGE_SHADOW =
:shadow
STAGE_LIVE =
:live
STAGE_RAMPDOWN =
:rampdown
STAGE_COMPLETE =
:complete
VALID_OPERATIONS =
[
  OP_READ,
  OP_WRITE,
]
VALID_ORIGINS =
[
  ORIGIN_OLD,
  ORIGIN_NEW,
]
VALID_STAGES =
[
  STAGE_OFF,
  STAGE_DUALWRITE,
  STAGE_SHADOW,
  STAGE_LIVE,
  STAGE_RAMPDOWN,
  STAGE_COMPLETE,
]