Documentation ¶
Index ¶
- Constants
- Variables
- func Backend(c *logical.BackendConfig) *backend
- func CreateCodeRefsToken(config *launchdarklyConfig, project string) (*ldapi.Token, error)
- func CreateRelayToken(config *launchdarklyConfig, name string, policy ldapi.Policy) (*ldapi.RelayProxyConfig, error)
- func CreateRoleToken(config *launchdarklyConfig, role string, name string) (*ldapi.Token, error)
- func DeleteRelayToken(config *launchdarklyConfig, tokenId string) error
- func DeleteRoleToken(config *launchdarklyConfig, id string) (*ldapi.Token, error)
- func Factory(ctx context.Context, c *logical.BackendConfig) (logical.Backend, error)
- func GenericLDKeyWithAtRegex(name string) string
- type Client
- type RoleName
- type TokenKey
Constants ¶
View Source
const ( MAX_409_RETRIES = 5 MAX_429_RETRIES = 10 )
View Source
const (
//APIVersion = "20191212"
APIVersion = "beta"
)
View Source
const (
LDApiKey = "LD_API_KEY"
)
Variables ¶
View Source
var ( Version string GitCommit string )
Functions ¶
func CreateCodeRefsToken ¶
CreateCodeRefsToken uses launchdarkly API to create an API token
func CreateRelayToken ¶
func CreateRelayToken(config *launchdarklyConfig, name string, policy ldapi.Policy) (*ldapi.RelayProxyConfig, error)
CreatelaunchdarklyToken uses LaunchDarkly API to create a Relay Auto Config token
func CreateRoleToken ¶
CreatelaunchdarklyToken uses launchdarkly API to create an API token
func DeleteRelayToken ¶
DeleteRelayToken uses the LaunchDarkly API to delete a Relay Auto Congfig token
func DeleteRoleToken ¶ added in v0.2.0
func GenericLDKeyWithAtRegex ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.