launchdarkly

package
v1.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 29, 2020 License: MPL-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AgentVersion = "1.3.2"
	APIVersion   = "20191212"
)
View Source
const (
	MAX_409_RETRIES = 5
	MAX_429_RETRIES = 10
)
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"
	RESOURCES             = "resources"
	NOT_RESOURCES         = "not_resources"
	ACTIONS               = "actions"
	NOT_ACTIONS           = "not_actions"
	EFFECT                = "effect"
	POLICY                = "policy"
	POLICY_STATEMENTS     = "policy_statements"
	EXCLUDED              = "excluded"
	INCLUDED              = "included"
	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"
	NEGATE                = "negate"
	CLAUSES               = "clauses"
	WEIGHT                = "weight"
	BUCKET_BY             = "bucket_by"
	ROLLOUT_WEIGHTS       = "rollout_weights"
	VARIATION             = "variation"
	USER_TARGETS          = "user_targets"
	PREREQUISITES         = "prerequisites"
	FLAG_KEY              = "flag_key"
	TARGETING_ENABLED     = "targeting_enabled"
	TRACK_EVENTS          = "track_events"
	OFF_VARIATION         = "off_variation"
	FLAG_FALLTHROUGH      = "flag_fallthrough"
	KIND                  = "kind"
	CONFIG                = "config"
	DEFAULT_ON_VARIATION  = "default_on_variation"
	DEFAULT_OFF_VARIATION = "default_off_variation"
)
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 CUSTOM_PROPERTY_CHAR_LIMIT = 64

https://docs.launchdarkly.com/docs/custom-properties

View Source
const CUSTOM_PROPERTY_ITEM_LIMIT = 64

Variables

This section is empty.

Functions

func Provider

func Provider() terraform.ResourceProvider

Provider returns a terraform.ResourceProvider.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client is used by the provider to access the ld API.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL