Documentation ¶
Index ¶
- Constants
- Variables
- func AsThreshold2(v2ATR engine.ActionTrigger) (thp *engine.ThresholdProfile, th *engine.Threshold, filter *engine.Filter, ...)
- func NewV1CDRFromCDRSql(cdrSql *engine.CDRsql) (cdr *v1Cdrs, err error)
- func NewV2SessionsCostFromSessionsCostSql(smSql *engine.SessionCostsSQL) (smV2 *v2SessionsCost, err error)
- type AcKeyValue
- type AtKeyValue
- type Migrator
- type MigratorDataDB
- type MigratorStorDB
Constants ¶
View Source
const MetaAliases = "*aliases"
Variables ¶
View Source
var ( ALIASES_PREFIX = "als_" Alias = "Alias" )
Functions ¶
func AsThreshold2 ¶
func AsThreshold2(v2ATR engine.ActionTrigger) (thp *engine.ThresholdProfile, th *engine.Threshold, filter *engine.Filter, err error)
func NewV1CDRFromCDRSql ¶
func NewV2SessionsCostFromSessionsCostSql ¶
func NewV2SessionsCostFromSessionsCostSql(smSql *engine.SessionCostsSQL) (smV2 *v2SessionsCost, err error)
Types ¶
type AcKeyValue ¶
type AcKeyValue struct { Key string Value v1Actions }
type AtKeyValue ¶
type AtKeyValue struct { Key string Value v1ActionPlans }
type Migrator ¶
type Migrator struct {
// contains filtered or unexported fields
}
func NewMigrator ¶
func NewMigrator(dmIN, dmOut MigratorDataDB, storDBIn, storDBOut MigratorStorDB, dryRun, sameDataDB, sameStorDB, sameOutDB bool) (m *Migrator, err error)
func (*Migrator) Migrate ¶
Migrate implements the tasks to migrate, used as a dispatcher to the individual methods
func (*Migrator) SasThreshold ¶
func (m *Migrator) SasThreshold(v2ATR *engine.ActionTrigger) (err error)
type MigratorDataDB ¶
type MigratorDataDB interface { DataManager() *engine.DataManager // contains filtered or unexported methods }
type MigratorStorDB ¶
func NewMigratorStorDB ¶
Source Files ¶
- accounts.go
- action.go
- action_plan.go
- action_trigger.go
- alias.go
- attributes.go
- cdrs.go
- chargers.go
- derived_chargers.go
- destinations.go
- dispatchers.go
- filters.go
- load_ids.go
- migrator.go
- migrator_datadb.go
- migrator_stordb.go
- migrator_utils.go
- rating_plan.go
- rating_profile.go
- resource.go
- session_costs.go
- sharedgroup.go
- stats.go
- storage_map_datadb.go
- storage_map_stordb.go
- storage_mongo_datadb.go
- storage_mongo_stordb.go
- storage_redis.go
- storage_sql.go
- subscribers.go
- suppliers.go
- thresholds.go
- timings.go
- tp_account_actions.go
- tp_action_plans.go
- tp_action_triggers.go
- tp_actions.go
- tp_chargers.go
- tp_destination_rates.go
- tp_destinations.go
- tp_dispatchers.go
- tp_filters.go
- tp_rates.go
- tp_rating_plans.go
- tp_rating_profiles.go
- tp_resources.go
- tp_shared_groups.go
- tp_stats.go
- tp_suppliers.go
- tp_thresholds.go
- tp_timings.go
- user.go
Click to show internal directories.
Click to hide internal directories.