helix
No long description provided.
Installation
dagger install github.com/helixml/dagger@v0.1.0
Types
Helix 🔗
getSecret() 🔗
example usage: “dagger call get-secret –helix-credentials ~/.helix/credentials”
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
helixCredentials | File ! | - | No description provided |
Example
func (m *myModule) example(ctx context.Context, helixCredentials *File) string {
return dag.
Helix().
GetSecret(ctx, helixCredentials)
}
withHelixSecret() 🔗
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
ctr | Container ! | - | No description provided |
helixCredentials | File ! | - | No description provided |
Example
func (m *myModule) example(ctr *Container, helixCredentials *File) *Container {
return dag.
Helix().
WithHelixSecret(ctr, helixCredentials)
}
helixCli() 🔗
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
helixCredentials | File ! | - | No description provided |
Example
func (m *myModule) 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
Name | Type | Default Value | Description |
---|---|---|---|
prompt | String ! | - | No description provided |
helixCredentials | File ! | - | No description provided |
Example
func (m *myModule) example(ctx context.Context, prompt string, helixCredentials *File) string {
return dag.
Helix().
Run(ctx, prompt, helixCredentials)
}