Documentation ¶
Index ¶
Constants ¶
View Source
const ( BOOL_CLAUSE_VALUE = "boolean" STRING_CLAUSE_VALUE = "string" NUMBER_CLAUSE_VALUE = "number" )
View Source
const ( MAX_409_RETRIES = 5 MAX_429_RETRIES = 20 )
View Source
const ( // keys used in terraform files referencing keys in launchdarkly resource objects. // The name of each constant is the same as its value. PROJECT_KEY = "project_key" ENV_KEY = "env_key" KEY = "key" FLAG_ID = "flag_id" NAME = "name" TAGS = "tags" ENVIRONMENTS = "environments" API_KEY = "api_key" MOBILE_KEY = "mobile_key" CLIENT_SIDE_ID = "client_side_id" COLOR = "color" DEFAULT_TTL = "default_ttl" SECURE_MODE = "secure_mode" DEFAULT_TRACK_EVENTS = "default_track_events" REQUIRE_COMMENTS = "require_comments" CONFIRM_CHANGES = "confirm_changes" DESCRIPTION = "description" MAINTAINER_ID = "maintainer_id" VARIATION_TYPE = "variation_type" VARIATIONS = "variations" TEMPORARY = "temporary" INCLUDE_IN_SNIPPET = "include_in_snippet" VALUE = "value" URL = "url" SECRET = "secret" ENABLED = "enabled" ON = "on" RESOURCES = "resources" NOT_RESOURCES = "not_resources" ACTIONS = "actions" NOT_ACTIONS = "not_actions" EFFECT = "effect" POLICY = "policy" STATEMENTS = "statements" POLICY_STATEMENTS = "policy_statements" INLINE_ROLES = "inline_roles" EXCLUDED = "excluded" INCLUDED = "included" CREATION_DATE = "creation_date" CUSTOM_PROPERTIES = "custom_properties" EMAIL = "email" FIRST_NAME = "first_name" LAST_NAME = "last_name" ROLE = "role" CUSTOM_ROLES = "custom_roles" RULES = "rules" ATTRIBUTE = "attribute" OP = "op" VALUES = "values" VALUE_TYPE = "value_type" NEGATE = "negate" CLAUSES = "clauses" WEIGHT = "weight" BUCKET_BY = "bucket_by" ROLLOUT_WEIGHTS = "rollout_weights" VARIATION = "variation" USER_TARGETS = "user_targets" // deprecated TARGETS = "targets" PREREQUISITES = "prerequisites" FLAG_KEY = "flag_key" TARGETING_ENABLED = "targeting_enabled" TRACK_EVENTS = "track_events" OFF_VARIATION = "off_variation" FLAG_FALLTHROUGH = "flag_fallthrough" // deprecated FALLTHROUGH = "fallthrough" KIND = "kind" CONFIG = "config" DEFAULT_ON_VARIATION = "default_on_variation" DEFAULT_OFF_VARIATION = "default_off_variation" SERVICE_TOKEN = "service_token" DEFAULT_API_VERSION = "default_api_version" TOKEN = "token" EXPIRE = "expire" ID = "id" CLIENT_SIDE_AVAILABILITY = "client_side_availability" )
View Source
const ( LAUNCHDARKLY_ACCESS_TOKEN = "LAUNCHDARKLY_ACCESS_TOKEN" LAUNCHDARKLY_API_HOST = "LAUNCHDARKLY_API_HOST" LAUNCHDARKLY_OAUTH_TOKEN = "LAUNCHDARKLY_OAUTH_TOKEN" )
Environment Variables
View Source
const ( BOOL_VARIATION = "boolean" STRING_VARIATION = "string" NUMBER_VARIATION = "number" JSON_VARIATION = "json" )
View Source
const (
APIVersion = "20191212"
)
View Source
const CUSTOM_PROPERTY_CHAR_LIMIT = 64
https://docs.launchdarkly.com/docs/custom-properties
View Source
const CUSTOM_PROPERTY_ITEM_LIMIT = 64
Variables ¶
View Source
var ( KINESIS_CONVERSION = map[string]interface{}{ "region": "region", "role_arn": "roleArn", "stream_name": "streamName", } MPARTICLE_CONVERSION = map[string]interface{}{ "api_key": "apiKey", "secret": "secret", "user_identity": "userIdentity", "environment": "environment", } SEGMENT_CONVERSION = map[string]interface{}{ "write_key": "writeKey", } GOOGLE_PUBSUB_CONVERSION = map[string]interface{}{ "project": "project", "topic": "topic", } AZURE_EVENT_HUBS_CONVERSION = map[string]interface{}{ "namespace": "namespace", "name": "name", "policy_name": "policyName", "policy_key": "policyKey", } CONFIG_CONVERSIONS = map[string]map[string]interface{}{ "kinesis": KINESIS_CONVERSION, "mparticle": MPARTICLE_CONVERSION, "segment": SEGMENT_CONVERSION, "google-pubsub": GOOGLE_PUBSUB_CONVERSION, "azure-event-hubs": AZURE_EVENT_HUBS_CONVERSION, } )
Functions ¶
func Provider ¶
func Provider() terraform.ResourceProvider
Provider returns a terraform.ResourceProvider.
Types ¶
Source Files ¶
- clause_helper.go
- config.go
- custom_properties_helper.go
- data_source_launchdarkly_environment.go
- data_source_launchdarkly_feature_flag.go
- data_source_launchdarkly_feature_flag_environment.go
- data_source_launchdarkly_project.go
- data_source_launchdarkly_segment.go
- data_source_launchdarkly_team_member.go
- data_source_launchdarkly_webhook.go
- default_variations_helper.go
- destination_helper.go
- environments_helper.go
- fallthrough_helper.go
- feature_flag_environment_helper.go
- feature_flags_helper.go
- helper.go
- keys.go
- policies_helper.go
- policy_statements_helper.go
- prerequisite_helper.go
- project_helper.go
- provider.go
- resource_launchdarkly_access_token.go
- resource_launchdarkly_custom_role.go
- resource_launchdarkly_destination.go
- resource_launchdarkly_environment.go
- resource_launchdarkly_feature_flag.go
- resource_launchdarkly_feature_flag_environment.go
- resource_launchdarkly_project.go
- resource_launchdarkly_segment.go
- resource_launchdarkly_team_member.go
- resource_launchdarkly_webhook.go
- rollout_helper.go
- rule_helper.go
- segment_rule_helper.go
- segments_helper.go
- tags_helper.go
- target_helper.go
- team_member_helper.go
- test_utils.go
- validation_helper.go
- variations_helper.go
- webhooks_helper.go
Click to show internal directories.
Click to hide internal directories.