superagent
No long description provided.
Installation
dagger install github.com/shykes/x/superagent@29a8feba237850b1ab4bb2b3c528a20b77911cb6
Entrypoint
Return Type
Superagent
Example
dagger -m github.com/shykes/x/superagent@29a8feba237850b1ab4bb2b3c528a20b77911cb6 call \
func (m *myModule) example() *Superagent {
return dag.
Superagent()
}
@function
def example() -> dag.Superagent:
return (
dag.superagent()
)
@func()
example(): Superagent {
return dag
.superagent()
}
Types
Superagent 🔗
shellExamples() 🔗
Generate shell examples of a given dagger module
Return Type
Directory !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
address | String ! | - | No description provided |
token | Secret ! | - | No description provided |
Example
dagger -m github.com/shykes/x/superagent@29a8feba237850b1ab4bb2b3c528a20b77911cb6 call \
shell-examples --address string --token env:MYSECRET
func (m *myModule) example(address string, token *Secret) *Directory {
return dag.
Superagent().
ShellExamples(address, token)
}
@function
def example(address: str, token: dagger.Secret) -> dagger.Directory:
return (
dag.superagent()
.shell_examples(address, token)
)
@func()
example(address: string, token: Secret): Directory {
return dag
.superagent()
.shellExamples(address, token)
}