Split.SplitView (split v0.2.1-rc.0)

This module defines a struct that contains information about a feature flag.

Fields

  • :name - The name of the feature flag
  • :traffic_type - The traffic type of the feature flag
  • :killed - A boolean that indicates if the feature flag is killed
  • :treatments - The list of treatments of the feature flag
  • :change_number - The change number of the feature flag
  • :configs - The map of treatments and their configurations
  • :default_treatment - The default treatment of the feature flag
  • :sets - The list of flag sets that the feature flag belongs to
  • :impressions_disabled - A boolean that indicates if the tracking of impressions is disabled

Summary

Types

@type t() :: %Split.SplitView{
  change_number: integer(),
  configs: %{required(String.t()) => String.t() | nil},
  default_treatment: String.t(),
  impressions_disabled: boolean(),
  killed: boolean(),
  name: String.t(),
  sets: [String.t()],
  traffic_type: String.t(),
  treatments: [String.t()]
}