Dagger
Search

helix

No long description provided.

Installation

dagger install github.com/helixml/dagger@v0.1.0

Entrypoint

Return Type
Helix
Example
dagger -m github.com/helixml/dagger@9e774f7e565d2b3dbc613c17690e51193786ea6b call \
func (m *myModule) example() *Helix  {
	return dag.
			Helix()
}
@function
def example() -> dag.Helix:
	return (
		dag.helix()
	)
@func()
example(): Helix {
	return dag
		.helix()
}

Types

Helix 🔗

getSecret() 🔗

example usage: “dagger call get-secret –helix-credentials ~/.helix/credentials”

Return Type
String !
Arguments
NameTypeDefault ValueDescription
helixCredentialsFile !-No description provided
Example
dagger -m github.com/helixml/dagger@9e774f7e565d2b3dbc613c17690e51193786ea6b call \
 get-secret --helix-credentials file:path
func (m *myModule) example(ctx context.Context, helixCredentials *File) string  {
	return dag.
			Helix().
			GetSecret(ctx, helixCredentials)
}
@function
async def example(helix_credentials: dagger.File) -> str:
	return await (
		dag.helix()
		.get_secret(helix_credentials)
	)
@func()
async example(helixCredentials: File): Promise<string> {
	return dag
		.helix()
		.getSecret(helixCredentials)
}

withHelixSecret() 🔗

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
ctrContainer !-No description provided
helixCredentialsFile !-No description provided
Example
dagger -m github.com/helixml/dagger@9e774f7e565d2b3dbc613c17690e51193786ea6b call \
 with-helix-secret --ctr IMAGE:TAG --helix-credentials file:path
func (m *myModule) example(ctr *Container, helixCredentials *File) *Container  {
	return dag.
			Helix().
			WithHelixSecret(ctr, helixCredentials)
}
@function
def example(ctr: dagger.Container, helix_credentials: dagger.File) -> dagger.Container:
	return (
		dag.helix()
		.with_helix_secret(ctr, helix_credentials)
	)
@func()
example(ctr: Container, helixCredentials: File): Container {
	return dag
		.helix()
		.withHelixSecret(ctr, helixCredentials)
}

helixCli() 🔗

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
helixCredentialsFile !-No description provided
Example
dagger -m github.com/helixml/dagger@9e774f7e565d2b3dbc613c17690e51193786ea6b call \
 helix-cli --helix-credentials file:path
func (m *myModule) example(helixCredentials *File) *Container  {
	return dag.
			Helix().
			HelixCli(helixCredentials)
}
@function
def example(helix_credentials: dagger.File) -> dagger.Container:
	return (
		dag.helix()
		.helix_cli(helix_credentials)
	)
@func()
example(helixCredentials: File): Container {
	return dag
		.helix()
		.helixCli(helixCredentials)
}

run() 🔗

example usage: “dagger call run –helix-credentials ~/.helix/credentials –prompt hi”

Return Type
String !
Arguments
NameTypeDefault ValueDescription
promptString !-No description provided
helixCredentialsFile !-No description provided
Example
dagger -m github.com/helixml/dagger@9e774f7e565d2b3dbc613c17690e51193786ea6b call \
 run --prompt string --helix-credentials file:path
func (m *myModule) example(ctx context.Context, prompt string, helixCredentials *File) string  {
	return dag.
			Helix().
			Run(ctx, prompt, helixCredentials)
}
@function
async def example(prompt: str, helix_credentials: dagger.File) -> str:
	return await (
		dag.helix()
		.run(prompt, helix_credentials)
	)
@func()
async example(prompt: string, helixCredentials: File): Promise<string> {
	return dag
		.helix()
		.run(prompt, helixCredentials)
}