Dagger
Search

launchdarkly

No long description provided.

Installation

dagger install github.com/felipepimentel/daggerverse/libraries/launchdarkly@v0.0.0

Entrypoint

Return Type
Launchdarkly
Example
dagger -m github.com/felipepimentel/daggerverse/libraries/launchdarkly@a6e2b170f4c091b039eb27100249bb19972839d7 call \
func (m *myModule) example() *Launchdarkly  {
	return dag.
			Launchdarkly()
}
@function
def example() -> dag.Launchdarkly:
	return (
		dag.launchdarkly()
	)
@func()
example(): Launchdarkly {
	return dag
		.launchdarkly()
}

Types

Launchdarkly 🔗

launchdarklyVersion() 🔗

LaunchDarkly Container version (default: latest)

Return Type
String !
Example
dagger -m github.com/felipepimentel/daggerverse/libraries/launchdarkly@a6e2b170f4c091b039eb27100249bb19972839d7 call \
 launchdarkly-version
func (m *myModule) example(ctx context.Context) string  {
	return dag.
			Launchdarkly().
			LaunchdarklyVersion(ctx)
}
@function
async def example() -> str:
	return await (
		dag.launchdarkly()
		.launchdarkly_version()
	)
@func()
async example(): Promise<string> {
	return dag
		.launchdarkly()
		.launchdarklyVersion()
}

token() 🔗

LaunchDarkly token

Return Type
Secret !
Example
dagger -m github.com/felipepimentel/daggerverse/libraries/launchdarkly@a6e2b170f4c091b039eb27100249bb19972839d7 call \
 token
func (m *myModule) example() *Secret  {
	return dag.
			Launchdarkly().
			Token()
}
@function
def example() -> dagger.Secret:
	return (
		dag.launchdarkly()
		.token()
	)
@func()
example(): Secret {
	return dag
		.launchdarkly()
		.token()
}

directory() 🔗

LaunchDarkly directory to scan (dir)

Return Type
Directory !
Example
dagger -m github.com/felipepimentel/daggerverse/libraries/launchdarkly@a6e2b170f4c091b039eb27100249bb19972839d7 call \
 directory
func (m *myModule) example() *Directory  {
	return dag.
			Launchdarkly().
			Directory()
}
@function
def example() -> dagger.Directory:
	return (
		dag.launchdarkly()
		.directory()
	)
@func()
example(): Directory {
	return dag
		.launchdarkly()
		.directory()
}

project() 🔗

LaunchDarkly project id (projKey)

Return Type
String !
Example
dagger -m github.com/felipepimentel/daggerverse/libraries/launchdarkly@a6e2b170f4c091b039eb27100249bb19972839d7 call \
 project
func (m *myModule) example(ctx context.Context) string  {
	return dag.
			Launchdarkly().
			Project(ctx)
}
@function
async def example() -> str:
	return await (
		dag.launchdarkly()
		.project()
	)
@func()
async example(): Promise<string> {
	return dag
		.launchdarkly()
		.project()
}

repo() 🔗

LaunchDarkly repo name (repoName)

Return Type
String !
Example
dagger -m github.com/felipepimentel/daggerverse/libraries/launchdarkly@a6e2b170f4c091b039eb27100249bb19972839d7 call \
 repo
func (m *myModule) example(ctx context.Context) string  {
	return dag.
			Launchdarkly().
			Repo(ctx)
}
@function
async def example() -> str:
	return await (
		dag.launchdarkly()
		.repo()
	)
@func()
async example(): Promise<string> {
	return dag
		.launchdarkly()
		.repo()
}

find() 🔗

example usage: “dagger call find –token \(LD_ACCESS_TOKEN --project \)LD_PROJ_KEY –repo $LD_REPO_NAME –directory .”

Return Type
String !
Arguments
NameTypeDefault ValueDescription
launchdarklyVersionString !-LaunchDarkly Container version (default: latest)
tokenSecret !-LaunchDarkly token
directoryDirectory !-LaunchDarkly directory to scan
projectString !-LaunchDarkly project id
repoString !-LaunchDarkly repo name
Example
dagger -m github.com/felipepimentel/daggerverse/libraries/launchdarkly@a6e2b170f4c091b039eb27100249bb19972839d7 call \
 find --launchdarkly-version string --token env:MYSECRET --directory DIR_PATH --project string --repo string
func (m *myModule) example(ctx context.Context, launchdarklyVersion string, token *Secret, directory *Directory, project string, repo string) string  {
	return dag.
			Launchdarkly().
			Find(ctx, launchdarklyVersion, token, directory, project, repo)
}
@function
async def example(launchdarkly_version: str, token: dagger.Secret, directory: dagger.Directory, project: str, repo: str) -> str:
	return await (
		dag.launchdarkly()
		.find(launchdarkly_version, token, directory, project, repo)
	)
@func()
async example(launchdarklyVersion: string, token: Secret, directory: Directory, project: string, repo: string): Promise<string> {
	return dag
		.launchdarkly()
		.find(launchdarklyVersion, token, directory, project, repo)
}